
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* std::moneypunct<wchar_t, false>::neg_format() const */

undefined4 * std::moneypunct<wchar_t,false>::neg_format(void)

{
  undefined4 *unaff_retaddr;
  undefined4 *in_stack_00000004;
  int *in_stack_00000008;
  
  if (*(code **)(*in_stack_00000008 + 0x28) == (code *)PTR_do_neg_format_003a9c10) {
    *in_stack_00000004 = *(undefined4 *)(in_stack_00000008[2] + 0x3c);
    return in_stack_00000004;
  }
  (**(code **)(*in_stack_00000008 + 0x28))();
  return unaff_retaddr;
}



/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

undefined4 * FUN_00262950(undefined4 *param_1,int *param_2)

{
  undefined4 *unaff_retaddr;
  
  if (*(code **)(*param_2 + 0x28) == (code *)PTR_FUN_003a9c10) {
    *param_1 = *(undefined4 *)(param_2[2] + 0x3c);
    return param_1;
  }
  (**(code **)(*param_2 + 0x28))(param_1,param_2);
  return unaff_retaddr;
}


PUSH EBX
CALL 0x00036db0
ADD EBX,0x1476aa
SUB ESP,0x8
MOV EDX,dword ptr [ESP + 0x14]
MOV EAX,dword ptr [ESP + 0x10]
MOV ECX,dword ptr [EDX]
MOV ECX,dword ptr [ECX + 0x28]
CMP ECX,dword ptr [EBX + 0xfffffc10]
JNZ 0x00262988
MOV EDX,dword ptr [EDX + 0x8]
MOV EDX,dword ptr [EDX + 0x3c]
MOV dword ptr [EAX],EDX
ADD ESP,0x8
POP EBX
RET 0x4
SUB ESP,0x8
PUSH EDX
PUSH EAX
MOV dword ptr [ESP + 0x20],EAX
CALL ECX
ADD ESP,0xc
MOV EAX,dword ptr [ESP + 0x10]
ADD ESP,0x8
POP EBX
RET 0x4
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined4 * FUN_00262950(undefined4 *param_1,int *param_2)\n\n{\n  undefined4 *unaff_retaddr;\n  \n  if (*(code **)(*param_2 + 0x28) == (code *)PTR_FUN_003a9c10) {\n    *param_1 = *(undefined4 *)(param_2[2] + 0x3c);\n    return param_1;\n  }\n  (**(code **)(*param_2 + 0x28))(param_1,param_2);\n  return unaff_retaddr;\n}\n\n" comment (function_definition "undefined4 * FUN_00262950(undefined4 *param_1,int *param_2)\n\n{\n  undefined4 *unaff_retaddr;\n  \n  if (*(code **)(*param_2 + 0x28) == (code *)PTR_FUN_003a9c10) {\n    *param_1 = *(undefined4 *)(param_2[2] + 0x3c);\n    return param_1;\n  }\n  (**(code **)(*param_2 + 0x28))(param_1,param_2);\n  return unaff_retaddr;\n}" type_identifier (pointer_declarator "* FUN_00262950(undefined4 *param_1,int *param_2)" * (function_declarator "FUN_00262950(undefined4 *param_1,int *param_2)" identifier (parameter_list "(undefined4 *param_1,int *param_2)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) )))) (compound_statement "{\n  undefined4 *unaff_retaddr;\n  \n  if (*(code **)(*param_2 + 0x28) == (code *)PTR_FUN_003a9c10) {\n    *param_1 = *(undefined4 *)(param_2[2] + 0x3c);\n    return param_1;\n  }\n  (**(code **)(*param_2 + 0x28))(param_1,param_2);\n  return unaff_retaddr;\n}" { (declaration "undefined4 *unaff_retaddr;" type_identifier (pointer_declarator "*unaff_retaddr" * identifier) ;) (if_statement "if (*(code **)(*param_2 + 0x28) == (code *)PTR_FUN_003a9c10) {\n    *param_1 = *(undefined4 *)(param_2[2] + 0x3c);\n    return param_1;\n  }" if (parenthesized_expression "(*(code **)(*param_2 + 0x28) == (code *)PTR_FUN_003a9c10)" ( (binary_expression "*(code **)(*param_2 + 0x28) == (code *)PTR_FUN_003a9c10" (pointer_expression "*(code **)(*param_2 + 0x28)" * (cast_expression "(code **)(*param_2 + 0x28)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_2 + 0x28)" ( (binary_expression "*param_2 + 0x28" (pointer_expression "*param_2" * identifier) + number_literal) )))) == (cast_expression "(code *)PTR_FUN_003a9c10" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (compound_statement "{\n    *param_1 = *(undefined4 *)(param_2[2] + 0x3c);\n    return param_1;\n  }" { (expression_statement "*param_1 = *(undefined4 *)(param_2[2] + 0x3c);" (assignment_expression "*param_1 = *(undefined4 *)(param_2[2] + 0x3c)" (pointer_expression "*param_1" * identifier) = (pointer_expression "*(undefined4 *)(param_2[2] + 0x3c)" * (cast_expression "(undefined4 *)(param_2[2] + 0x3c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2[2] + 0x3c)" ( (binary_expression "param_2[2] + 0x3c" (subscript_expression "param_2[2]" identifier [ number_literal ]) + number_literal) ))))) ;) (return_statement "return param_1;" return identifier ;) })) (expression_statement "(**(code **)(*param_2 + 0x28))(param_1,param_2);" (call_expression "(**(code **)(*param_2 + 0x28))(param_1,param_2)" (parenthesized_expression "(**(code **)(*param_2 + 0x28))" ( (pointer_expression "**(code **)(*param_2 + 0x28)" * (pointer_expression "*(code **)(*param_2 + 0x28)" * (cast_expression "(code **)(*param_2 + 0x28)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_2 + 0x28)" ( (binary_expression "*param_2 + 0x28" (pointer_expression "*param_2" * identifier) + number_literal) ))))) )) (argument_list "(param_1,param_2)" ( identifier , identifier ))) ;) (return_statement "return unaff_retaddr;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* std::moneypunct<wchar_t, false>::neg_format() const */\n\nundefined4 * std::moneypunct<wchar_t,false>::neg_format(void)\n\n{\n  undefined4 *unaff_retaddr;\n  undefined4 *in_stack_00000004;\n  int *in_stack_00000008;\n  \n  if (*(code **)(*in_stack_00000008 + 0x28) == (code *)PTR_do_neg_format_003a9c10) {\n    *in_stack_00000004 = *(undefined4 *)(in_stack_00000008[2] + 0x3c);\n    return in_stack_00000004;\n  }\n  (**(code **)(*in_stack_00000008 + 0x28))();\n  return unaff_retaddr;\n}\n\n" comment comment (ERROR "undefined4 * std::moneypunct<wchar_t,false>::neg_format(void)" (binary_expression "undefined4 * std::moneypunct<wchar_t,false>::neg_format(void)" (binary_expression "undefined4 * std::moneypunct<wchar_t" (binary_expression "undefined4 * std" identifier * identifier) (ERROR "::moneypunct" : : identifier) < identifier) (ERROR ",false" , false) > (ERROR "::" : :) (call_expression "neg_format(void)" identifier (argument_list "(void)" ( identifier ))))) (compound_statement "{\n  undefined4 *unaff_retaddr;\n  undefined4 *in_stack_00000004;\n  int *in_stack_00000008;\n  \n  if (*(code **)(*in_stack_00000008 + 0x28) == (code *)PTR_do_neg_format_003a9c10) {\n    *in_stack_00000004 = *(undefined4 *)(in_stack_00000008[2] + 0x3c);\n    return in_stack_00000004;\n  }\n  (**(code **)(*in_stack_00000008 + 0x28))();\n  return unaff_retaddr;\n}" { (declaration "undefined4 *unaff_retaddr;" type_identifier (pointer_declarator "*unaff_retaddr" * identifier) ;) (declaration "undefined4 *in_stack_00000004;" type_identifier (pointer_declarator "*in_stack_00000004" * identifier) ;) (declaration "int *in_stack_00000008;" primitive_type (pointer_declarator "*in_stack_00000008" * identifier) ;) (if_statement "if (*(code **)(*in_stack_00000008 + 0x28) == (code *)PTR_do_neg_format_003a9c10) {\n    *in_stack_00000004 = *(undefined4 *)(in_stack_00000008[2] + 0x3c);\n    return in_stack_00000004;\n  }" if (parenthesized_expression "(*(code **)(*in_stack_00000008 + 0x28) == (code *)PTR_do_neg_format_003a9c10)" ( (binary_expression "*(code **)(*in_stack_00000008 + 0x28) == (code *)PTR_do_neg_format_003a9c10" (pointer_expression "*(code **)(*in_stack_00000008 + 0x28)" * (cast_expression "(code **)(*in_stack_00000008 + 0x28)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*in_stack_00000008 + 0x28)" ( (binary_expression "*in_stack_00000008 + 0x28" (pointer_expression "*in_stack_00000008" * identifier) + number_literal) )))) == (cast_expression "(code *)PTR_do_neg_format_003a9c10" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (compound_statement "{\n    *in_stack_00000004 = *(undefined4 *)(in_stack_00000008[2] + 0x3c);\n    return in_stack_00000004;\n  }" { (expression_statement "*in_stack_00000004 = *(undefined4 *)(in_stack_00000008[2] + 0x3c);" (assignment_expression "*in_stack_00000004 = *(undefined4 *)(in_stack_00000008[2] + 0x3c)" (pointer_expression "*in_stack_00000004" * identifier) = (pointer_expression "*(undefined4 *)(in_stack_00000008[2] + 0x3c)" * (cast_expression "(undefined4 *)(in_stack_00000008[2] + 0x3c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_stack_00000008[2] + 0x3c)" ( (binary_expression "in_stack_00000008[2] + 0x3c" (subscript_expression "in_stack_00000008[2]" identifier [ number_literal ]) + number_literal) ))))) ;) (return_statement "return in_stack_00000004;" return identifier ;) })) (expression_statement "(**(code **)(*in_stack_00000008 + 0x28))();" (call_expression "(**(code **)(*in_stack_00000008 + 0x28))()" (parenthesized_expression "(**(code **)(*in_stack_00000008 + 0x28))" ( (pointer_expression "**(code **)(*in_stack_00000008 + 0x28)" * (pointer_expression "*(code **)(*in_stack_00000008 + 0x28)" * (cast_expression "(code **)(*in_stack_00000008 + 0x28)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*in_stack_00000008 + 0x28)" ( (binary_expression "*in_stack_00000008 + 0x28" (pointer_expression "*in_stack_00000008" * identifier) + number_literal) ))))) )) (argument_list "()" ( ))) ;) (return_statement "return unaff_retaddr;" return identifier ;) }))
(translation_unit "undefined4 * FUN_00262950(undefined4 *param_1,int *param_2)\n\n{\n  undefined4 *unaff_retaddr;\n  \n  if (*(code **)(*param_2 + 0x28) == (code *)PTR_FUN_003a9c10) {\n    *param_1 = *(undefined4 *)(param_2[2] + 0x3c);\n    return param_1;\n  }\n  (**(code **)(*param_2 + 0x28))(param_1,param_2);\n  return unaff_retaddr;\n}\n\n" (function_definition "undefined4 * FUN_00262950(undefined4 *param_1,int *param_2)\n\n{\n  undefined4 *unaff_retaddr;\n  \n  if (*(code **)(*param_2 + 0x28) == (code *)PTR_FUN_003a9c10) {\n    *param_1 = *(undefined4 *)(param_2[2] + 0x3c);\n    return param_1;\n  }\n  (**(code **)(*param_2 + 0x28))(param_1,param_2);\n  return unaff_retaddr;\n}" type_identifier (pointer_declarator "* FUN_00262950(undefined4 *param_1,int *param_2)" * (function_declarator "FUN_00262950(undefined4 *param_1,int *param_2)" identifier (parameter_list "(undefined4 *param_1,int *param_2)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) )))) (compound_statement "{\n  undefined4 *unaff_retaddr;\n  \n  if (*(code **)(*param_2 + 0x28) == (code *)PTR_FUN_003a9c10) {\n    *param_1 = *(undefined4 *)(param_2[2] + 0x3c);\n    return param_1;\n  }\n  (**(code **)(*param_2 + 0x28))(param_1,param_2);\n  return unaff_retaddr;\n}" { (declaration "undefined4 *unaff_retaddr;" type_identifier (pointer_declarator "*unaff_retaddr" * identifier) ;) (if_statement "if (*(code **)(*param_2 + 0x28) == (code *)PTR_FUN_003a9c10) {\n    *param_1 = *(undefined4 *)(param_2[2] + 0x3c);\n    return param_1;\n  }" if (parenthesized_expression "(*(code **)(*param_2 + 0x28) == (code *)PTR_FUN_003a9c10)" ( (binary_expression "*(code **)(*param_2 + 0x28) == (code *)PTR_FUN_003a9c10" (pointer_expression "*(code **)(*param_2 + 0x28)" * (cast_expression "(code **)(*param_2 + 0x28)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_2 + 0x28)" ( (binary_expression "*param_2 + 0x28" (pointer_expression "*param_2" * identifier) + number_literal) )))) == (cast_expression "(code *)PTR_FUN_003a9c10" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (compound_statement "{\n    *param_1 = *(undefined4 *)(param_2[2] + 0x3c);\n    return param_1;\n  }" { (expression_statement "*param_1 = *(undefined4 *)(param_2[2] + 0x3c);" (assignment_expression "*param_1 = *(undefined4 *)(param_2[2] + 0x3c)" (pointer_expression "*param_1" * identifier) = (pointer_expression "*(undefined4 *)(param_2[2] + 0x3c)" * (cast_expression "(undefined4 *)(param_2[2] + 0x3c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2[2] + 0x3c)" ( (binary_expression "param_2[2] + 0x3c" (subscript_expression "param_2[2]" identifier [ number_literal ]) + number_literal) ))))) ;) (return_statement "return param_1;" return identifier ;) })) (expression_statement "(**(code **)(*param_2 + 0x28))(param_1,param_2);" (call_expression "(**(code **)(*param_2 + 0x28))(param_1,param_2)" (parenthesized_expression "(**(code **)(*param_2 + 0x28))" ( (pointer_expression "**(code **)(*param_2 + 0x28)" * (pointer_expression "*(code **)(*param_2 + 0x28)" * (cast_expression "(code **)(*param_2 + 0x28)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_2 + 0x28)" ( (binary_expression "*param_2 + 0x28" (pointer_expression "*param_2" * identifier) + number_literal) ))))) )) (argument_list "(param_1,param_2)" ( identifier , identifier ))) ;) (return_statement "return unaff_retaddr;" return identifier ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) )))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) + LIT) ))))) ;) (return_statement return IDENT ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) )) (argument_list ( IDENT , IDENT ))) ;) (return_statement return IDENT ;) })))
(function_definition "undefined4 * FUN_00262950(undefined4 *param_1,int *param_2)\n\n{\n  undefined4 *unaff_retaddr;\n  \n  if (*(code **)(*param_2 + 0x28) == (code *)PTR_FUN_003a9c10) {\n    *param_1 = *(undefined4 *)(param_2[2] + 0x3c);\n    return param_1;\n  }\n  (**(code **)(*param_2 + 0x28))(param_1,param_2);\n  return unaff_retaddr;\n}" (type_identifier "undefined4") (pointer_declarator "* FUN_00262950(undefined4 *param_1,int *param_2)" (* "*") (function_declarator "FUN_00262950(undefined4 *param_1,int *param_2)" (identifier "FUN_00262950") (parameter_list "(undefined4 *param_1,int *param_2)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int *param_2" (primitive_type "int") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")")))) (compound_statement "{\n  undefined4 *unaff_retaddr;\n  \n  if (*(code **)(*param_2 + 0x28) == (code *)PTR_FUN_003a9c10) {\n    *param_1 = *(undefined4 *)(param_2[2] + 0x3c);\n    return param_1;\n  }\n  (**(code **)(*param_2 + 0x28))(param_1,param_2);\n  return unaff_retaddr;\n}" ({ "{") (declaration "undefined4 *unaff_retaddr;" (type_identifier "undefined4") (pointer_declarator "*unaff_retaddr" (* "*") (identifier "unaff_retaddr")) (; ";")) (if_statement "if (*(code **)(*param_2 + 0x28) == (code *)PTR_FUN_003a9c10) {\n    *param_1 = *(undefined4 *)(param_2[2] + 0x3c);\n    return param_1;\n  }" (if "if") (parenthesized_expression "(*(code **)(*param_2 + 0x28) == (code *)PTR_FUN_003a9c10)" (( "(") (binary_expression "*(code **)(*param_2 + 0x28) == (code *)PTR_FUN_003a9c10" (pointer_expression "*(code **)(*param_2 + 0x28)" (* "*") (cast_expression "(code **)(*param_2 + 0x28)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*param_2 + 0x28)" (( "(") (binary_expression "*param_2 + 0x28" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (+ "+") (number_literal "0x28")) () ")")))) (== "==") (cast_expression "(code *)PTR_FUN_003a9c10" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_FUN_003a9c10"))) () ")")) (compound_statement "{\n    *param_1 = *(undefined4 *)(param_2[2] + 0x3c);\n    return param_1;\n  }" ({ "{") (expression_statement "*param_1 = *(undefined4 *)(param_2[2] + 0x3c);" (assignment_expression "*param_1 = *(undefined4 *)(param_2[2] + 0x3c)" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (pointer_expression "*(undefined4 *)(param_2[2] + 0x3c)" (* "*") (cast_expression "(undefined4 *)(param_2[2] + 0x3c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2[2] + 0x3c)" (( "(") (binary_expression "param_2[2] + 0x3c" (subscript_expression "param_2[2]" (identifier "param_2") ([ "[") (number_literal "2") (] "]")) (+ "+") (number_literal "0x3c")) () ")"))))) (; ";")) (return_statement "return param_1;" (return "return") (identifier "param_1") (; ";")) (} "}"))) (expression_statement "(**(code **)(*param_2 + 0x28))(param_1,param_2);" (call_expression "(**(code **)(*param_2 + 0x28))(param_1,param_2)" (parenthesized_expression "(**(code **)(*param_2 + 0x28))" (( "(") (pointer_expression "**(code **)(*param_2 + 0x28)" (* "*") (pointer_expression "*(code **)(*param_2 + 0x28)" (* "*") (cast_expression "(code **)(*param_2 + 0x28)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*param_2 + 0x28)" (( "(") (binary_expression "*param_2 + 0x28" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (+ "+") (number_literal "0x28")) () ")"))))) () ")")) (argument_list "(param_1,param_2)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") () ")"))) (; ";")) (return_statement "return unaff_retaddr;" (return "return") (identifier "unaff_retaddr") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* std::moneypunct<wchar_t, false>::neg_format() const */

type_1 * std::moneypunct<wchar_t,false>::neg_format(void)

{
  type_1 *unaff_retaddr;
  type_1 *in_stack_00000004;
  int *in_stack_00000008;
  
  if (*(type_2 **)(*in_stack_00000008 + 0x28) == (type_2 *)PTR_do_neg_format_003a9c10) {
    *in_stack_00000004 = *(type_1 *)(in_stack_00000008[2] + 0x3c);
    return in_stack_00000004;
  }
  (**(type_2 **)(*in_stack_00000008 + 0x28))();
  return unaff_retaddr;
}


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

/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

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

{
  undefined4 *unaff_retaddr;
  
  if (*(code **)(*param_2 + 0x28) == (code *)PTR_FUN_003a9c10) {
    *param_1 = *(undefined4 *)(param_2[2] + 0x3c);
    return param_1;
  }
  (**(code **)(*param_2 + 0x28))(param_1,param_2);
  return unaff_retaddr;
}

