
int cplus_demangle_fill_extended_operator(demangle_component *p,int args,demangle_component *name)

{
  if ((name != (demangle_component *)0x0 && -1 < args) && (p != (demangle_component *)0x0)) {
    p->d_printing = 0;
    p->type = DEMANGLE_COMPONENT_EXTENDED_OPERATOR;
    (p->u).s_extended_operator.args = args;
    (p->u).s_extended_operator.name = name;
    return 1;
  }
  return 0;
}



undefined4 FUN_001db7a0(undefined4 *param_1,int param_2,int param_3)

{
  if ((param_3 != 0 && -1 < param_2) && (param_1 != (undefined4 *)0x0)) {
    param_1[1] = 0;
    *param_1 = 0x32;
    param_1[2] = param_2;
    param_1[3] = param_3;
    return 1;
  }
  return 0;
}


PUSH ESI
PUSH EBX
MOV ESI,dword ptr [ESP + 0x10]
MOV EDX,dword ptr [ESP + 0x14]
MOV EAX,dword ptr [ESP + 0xc]
MOV EBX,ESI
SHR EBX,0x1f
TEST EDX,EDX
SETZ CL
OR CL,BL
JNZ 0x001db7e0
TEST EAX,EAX
JZ 0x001db7e0
MOV dword ptr [EAX + 0x4],0x0
MOV dword ptr [EAX],0x32
MOV dword ptr [EAX + 0x8],ESI
MOV dword ptr [EAX + 0xc],EDX
MOV EAX,0x1
POP EBX
POP ESI
RET
XOR EAX,EAX
POP EBX
POP ESI
RET
(translation_unit "undefined4 FUN_001db7a0(undefined4 *param_1,int param_2,int param_3)\n\n{\n  if ((param_3 != 0 && -1 < param_2) && (param_1 != (undefined4 *)0x0)) {\n    param_1[1] = 0;\n    *param_1 = 0x32;\n    param_1[2] = param_2;\n    param_1[3] = param_3;\n    return 1;\n  }\n  return 0;\n}\n\n" (function_definition "undefined4 FUN_001db7a0(undefined4 *param_1,int param_2,int param_3)\n\n{\n  if ((param_3 != 0 && -1 < param_2) && (param_1 != (undefined4 *)0x0)) {\n    param_1[1] = 0;\n    *param_1 = 0x32;\n    param_1[2] = param_2;\n    param_1[3] = param_3;\n    return 1;\n  }\n  return 0;\n}" type_identifier (function_declarator "FUN_001db7a0(undefined4 *param_1,int param_2,int param_3)" identifier (parameter_list "(undefined4 *param_1,int param_2,int param_3)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  if ((param_3 != 0 && -1 < param_2) && (param_1 != (undefined4 *)0x0)) {\n    param_1[1] = 0;\n    *param_1 = 0x32;\n    param_1[2] = param_2;\n    param_1[3] = param_3;\n    return 1;\n  }\n  return 0;\n}" { (if_statement "if ((param_3 != 0 && -1 < param_2) && (param_1 != (undefined4 *)0x0)) {\n    param_1[1] = 0;\n    *param_1 = 0x32;\n    param_1[2] = param_2;\n    param_1[3] = param_3;\n    return 1;\n  }" if (parenthesized_expression "((param_3 != 0 && -1 < param_2) && (param_1 != (undefined4 *)0x0))" ( (binary_expression "(param_3 != 0 && -1 < param_2) && (param_1 != (undefined4 *)0x0)" (parenthesized_expression "(param_3 != 0 && -1 < param_2)" ( (binary_expression "param_3 != 0 && -1 < param_2" (binary_expression "param_3 != 0" identifier != number_literal) && (binary_expression "-1 < param_2" number_literal < identifier)) )) && (parenthesized_expression "(param_1 != (undefined4 *)0x0)" ( (binary_expression "param_1 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ))) )) (compound_statement "{\n    param_1[1] = 0;\n    *param_1 = 0x32;\n    param_1[2] = param_2;\n    param_1[3] = param_3;\n    return 1;\n  }" { (expression_statement "param_1[1] = 0;" (assignment_expression "param_1[1] = 0" (subscript_expression "param_1[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*param_1 = 0x32;" (assignment_expression "*param_1 = 0x32" (pointer_expression "*param_1" * identifier) = number_literal) ;) (expression_statement "param_1[2] = param_2;" (assignment_expression "param_1[2] = param_2" (subscript_expression "param_1[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[3] = param_3;" (assignment_expression "param_1[3] = param_3" (subscript_expression "param_1[3]" identifier [ number_literal ]) = identifier) ;) (return_statement "return 1;" return number_literal ;) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "int cplus_demangle_fill_extended_operator(demangle_component *p,int args,demangle_component *name)\n\n{\n  if ((name != (demangle_component *)0x0 && -1 < args) && (p != (demangle_component *)0x0)) {\n    p->d_printing = 0;\n    p->type = DEMANGLE_COMPONENT_EXTENDED_OPERATOR;\n    (p->u).s_extended_operator.args = args;\n    (p->u).s_extended_operator.name = name;\n    return 1;\n  }\n  return 0;\n}\n\n" (function_definition "int cplus_demangle_fill_extended_operator(demangle_component *p,int args,demangle_component *name)\n\n{\n  if ((name != (demangle_component *)0x0 && -1 < args) && (p != (demangle_component *)0x0)) {\n    p->d_printing = 0;\n    p->type = DEMANGLE_COMPONENT_EXTENDED_OPERATOR;\n    (p->u).s_extended_operator.args = args;\n    (p->u).s_extended_operator.name = name;\n    return 1;\n  }\n  return 0;\n}" primitive_type (function_declarator "cplus_demangle_fill_extended_operator(demangle_component *p,int args,demangle_component *name)" identifier (parameter_list "(demangle_component *p,int args,demangle_component *name)" ( (parameter_declaration "demangle_component *p" type_identifier (pointer_declarator "*p" * identifier)) , (parameter_declaration "int args" primitive_type identifier) , (parameter_declaration "demangle_component *name" type_identifier (pointer_declarator "*name" * identifier)) ))) (compound_statement "{\n  if ((name != (demangle_component *)0x0 && -1 < args) && (p != (demangle_component *)0x0)) {\n    p->d_printing = 0;\n    p->type = DEMANGLE_COMPONENT_EXTENDED_OPERATOR;\n    (p->u).s_extended_operator.args = args;\n    (p->u).s_extended_operator.name = name;\n    return 1;\n  }\n  return 0;\n}" { (if_statement "if ((name != (demangle_component *)0x0 && -1 < args) && (p != (demangle_component *)0x0)) {\n    p->d_printing = 0;\n    p->type = DEMANGLE_COMPONENT_EXTENDED_OPERATOR;\n    (p->u).s_extended_operator.args = args;\n    (p->u).s_extended_operator.name = name;\n    return 1;\n  }" if (parenthesized_expression "((name != (demangle_component *)0x0 && -1 < args) && (p != (demangle_component *)0x0))" ( (binary_expression "(name != (demangle_component *)0x0 && -1 < args) && (p != (demangle_component *)0x0)" (parenthesized_expression "(name != (demangle_component *)0x0 && -1 < args)" ( (binary_expression "name != (demangle_component *)0x0 && -1 < args" (binary_expression "name != (demangle_component *)0x0" identifier != (cast_expression "(demangle_component *)0x0" ( (type_descriptor "demangle_component *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) && (binary_expression "-1 < args" number_literal < identifier)) )) && (parenthesized_expression "(p != (demangle_component *)0x0)" ( (binary_expression "p != (demangle_component *)0x0" identifier != (cast_expression "(demangle_component *)0x0" ( (type_descriptor "demangle_component *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ))) )) (compound_statement "{\n    p->d_printing = 0;\n    p->type = DEMANGLE_COMPONENT_EXTENDED_OPERATOR;\n    (p->u).s_extended_operator.args = args;\n    (p->u).s_extended_operator.name = name;\n    return 1;\n  }" { (expression_statement "p->d_printing = 0;" (assignment_expression "p->d_printing = 0" (field_expression "p->d_printing" identifier -> field_identifier) = number_literal) ;) (expression_statement "p->type = DEMANGLE_COMPONENT_EXTENDED_OPERATOR;" (assignment_expression "p->type = DEMANGLE_COMPONENT_EXTENDED_OPERATOR" (field_expression "p->type" identifier -> field_identifier) = identifier) ;) (expression_statement "(p->u).s_extended_operator.args = args;" (assignment_expression "(p->u).s_extended_operator.args = args" (field_expression "(p->u).s_extended_operator.args" (field_expression "(p->u).s_extended_operator" (parenthesized_expression "(p->u)" ( (field_expression "p->u" identifier -> field_identifier) )) . field_identifier) . field_identifier) = identifier) ;) (expression_statement "(p->u).s_extended_operator.name = name;" (assignment_expression "(p->u).s_extended_operator.name = name" (field_expression "(p->u).s_extended_operator.name" (field_expression "(p->u).s_extended_operator" (parenthesized_expression "(p->u)" ( (field_expression "p->u" identifier -> field_identifier) )) . field_identifier) . field_identifier) = identifier) ;) (return_statement "return 1;" return number_literal ;) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "undefined4 FUN_001db7a0(undefined4 *param_1,int param_2,int param_3)\n\n{\n  if ((param_3 != 0 && -1 < param_2) && (param_1 != (undefined4 *)0x0)) {\n    param_1[1] = 0;\n    *param_1 = 0x32;\n    param_1[2] = param_2;\n    param_1[3] = param_3;\n    return 1;\n  }\n  return 0;\n}\n\n" (function_definition "undefined4 FUN_001db7a0(undefined4 *param_1,int param_2,int param_3)\n\n{\n  if ((param_3 != 0 && -1 < param_2) && (param_1 != (undefined4 *)0x0)) {\n    param_1[1] = 0;\n    *param_1 = 0x32;\n    param_1[2] = param_2;\n    param_1[3] = param_3;\n    return 1;\n  }\n  return 0;\n}" type_identifier (function_declarator "FUN_001db7a0(undefined4 *param_1,int param_2,int param_3)" identifier (parameter_list "(undefined4 *param_1,int param_2,int param_3)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  if ((param_3 != 0 && -1 < param_2) && (param_1 != (undefined4 *)0x0)) {\n    param_1[1] = 0;\n    *param_1 = 0x32;\n    param_1[2] = param_2;\n    param_1[3] = param_3;\n    return 1;\n  }\n  return 0;\n}" { (if_statement "if ((param_3 != 0 && -1 < param_2) && (param_1 != (undefined4 *)0x0)) {\n    param_1[1] = 0;\n    *param_1 = 0x32;\n    param_1[2] = param_2;\n    param_1[3] = param_3;\n    return 1;\n  }" if (parenthesized_expression "((param_3 != 0 && -1 < param_2) && (param_1 != (undefined4 *)0x0))" ( (binary_expression "(param_3 != 0 && -1 < param_2) && (param_1 != (undefined4 *)0x0)" (parenthesized_expression "(param_3 != 0 && -1 < param_2)" ( (binary_expression "param_3 != 0 && -1 < param_2" (binary_expression "param_3 != 0" identifier != number_literal) && (binary_expression "-1 < param_2" number_literal < identifier)) )) && (parenthesized_expression "(param_1 != (undefined4 *)0x0)" ( (binary_expression "param_1 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ))) )) (compound_statement "{\n    param_1[1] = 0;\n    *param_1 = 0x32;\n    param_1[2] = param_2;\n    param_1[3] = param_3;\n    return 1;\n  }" { (expression_statement "param_1[1] = 0;" (assignment_expression "param_1[1] = 0" (subscript_expression "param_1[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*param_1 = 0x32;" (assignment_expression "*param_1 = 0x32" (pointer_expression "*param_1" * identifier) = number_literal) ;) (expression_statement "param_1[2] = param_2;" (assignment_expression "param_1[2] = param_2" (subscript_expression "param_1[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[3] = param_3;" (assignment_expression "param_1[3] = param_3" (subscript_expression "param_1[3]" identifier [ number_literal ]) = identifier) ;) (return_statement "return 1;" return number_literal ;) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (binary_expression IDENT != LIT) && (binary_expression LIT < IDENT)) )) && (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ))) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (return_statement return LIT ;) })) (return_statement return LIT ;) })))
(function_definition "undefined4 FUN_001db7a0(undefined4 *param_1,int param_2,int param_3)\n\n{\n  if ((param_3 != 0 && -1 < param_2) && (param_1 != (undefined4 *)0x0)) {\n    param_1[1] = 0;\n    *param_1 = 0x32;\n    param_1[2] = param_2;\n    param_1[3] = param_3;\n    return 1;\n  }\n  return 0;\n}" (type_identifier "undefined4") (function_declarator "FUN_001db7a0(undefined4 *param_1,int param_2,int param_3)" (identifier "FUN_001db7a0") (parameter_list "(undefined4 *param_1,int param_2,int param_3)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) () ")"))) (compound_statement "{\n  if ((param_3 != 0 && -1 < param_2) && (param_1 != (undefined4 *)0x0)) {\n    param_1[1] = 0;\n    *param_1 = 0x32;\n    param_1[2] = param_2;\n    param_1[3] = param_3;\n    return 1;\n  }\n  return 0;\n}" ({ "{") (if_statement "if ((param_3 != 0 && -1 < param_2) && (param_1 != (undefined4 *)0x0)) {\n    param_1[1] = 0;\n    *param_1 = 0x32;\n    param_1[2] = param_2;\n    param_1[3] = param_3;\n    return 1;\n  }" (if "if") (parenthesized_expression "((param_3 != 0 && -1 < param_2) && (param_1 != (undefined4 *)0x0))" (( "(") (binary_expression "(param_3 != 0 && -1 < param_2) && (param_1 != (undefined4 *)0x0)" (parenthesized_expression "(param_3 != 0 && -1 < param_2)" (( "(") (binary_expression "param_3 != 0 && -1 < param_2" (binary_expression "param_3 != 0" (identifier "param_3") (!= "!=") (number_literal "0")) (&& "&&") (binary_expression "-1 < param_2" (number_literal "-1") (< "<") (identifier "param_2"))) () ")")) (&& "&&") (parenthesized_expression "(param_1 != (undefined4 *)0x0)" (( "(") (binary_expression "param_1 != (undefined4 *)0x0" (identifier "param_1") (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")"))) () ")")) (compound_statement "{\n    param_1[1] = 0;\n    *param_1 = 0x32;\n    param_1[2] = param_2;\n    param_1[3] = param_3;\n    return 1;\n  }" ({ "{") (expression_statement "param_1[1] = 0;" (assignment_expression "param_1[1] = 0" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*param_1 = 0x32;" (assignment_expression "*param_1 = 0x32" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (number_literal "0x32")) (; ";")) (expression_statement "param_1[2] = param_2;" (assignment_expression "param_1[2] = param_2" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "param_2")) (; ";")) (expression_statement "param_1[3] = param_3;" (assignment_expression "param_1[3] = param_3" (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")) (= "=") (identifier "param_3")) (; ";")) (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))

int function_1(type_1 *var_3,int var_2,type_1 *var_1)

{
  if ((var_1 != (type_1 *)0x0 && -1 < var_2) && (var_3 != (type_1 *)0x0)) {
    var_3->d_printing = 0;
    var_3->type = DEMANGLE_COMPONENT_EXTENDED_OPERATOR;
    (var_3->u).s_extended_operator.var_2 = var_2;
    (var_3->u).s_extended_operator.var_1 = var_1;
    return 1;
  }
  return 0;
}


(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (binary_expression left: (number_literal) right: (identifier)))) right: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))))) consequence: (compound_statement (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (return_statement (number_literal)))) (return_statement (number_literal)))))

undefined4 MASKED(undefined4 *param_1,int param_2,int param_3)

{
  if ((param_3 != 0 && -1 < param_2) && (param_1 != (undefined4 *)0x0)) {
    param_1[1] = 0;
    *param_1 = 0x32;
    param_1[2] = param_2;
    param_1[3] = param_3;
    return 1;
  }
  return 0;
}

