
/* WARNING: Function: __x86.get_pc_thunk.si replaced with injection: get_pc_thunk_si */
/* WARNING: Unknown calling convention */

bfd_boolean pr_complex_type(void *p,uint size)

{
  bfd_boolean bVar1;
  
  bVar1 = pr_float_type(p,size);
  if (bVar1 == 0) {
    return 0;
  }
  bVar1 = prepend_type((pr_handle *)((int)p + 8),"complex ");
  return bVar1;
}



/* WARNING: Function: __i686.get_pc_thunk.si replaced with injection: get_pc_thunk_si */

undefined4 FUN_00039ba0(undefined4 param_1,undefined4 param_2)

{
  int iVar1;
  undefined4 uVar2;
  
  iVar1 = FUN_00039b10(param_1,param_2);
  if (iVar1 == 0) {
    return 0;
  }
  uVar2 = FUN_000374e0();
  return uVar2;
}


PUSH ESI
CALL 0x0003adb8
ADD ESI,0x3945a
PUSH EBX
SUB ESP,0xc
MOV EBX,dword ptr [ESP + 0x18]
PUSH dword ptr [ESP + 0x1c]
PUSH EBX
CALL 0x00039b10
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x00039bd0
ADD ESP,0x4
XOR EAX,EAX
POP EBX
POP ESI
RET
ADD ESP,0x4
LEA EAX,[EBX + 0x8]
LEA EDX,[ESI + 0xfffe43cd]
POP EBX
POP ESI
JMP 0x000374e0
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.si replaced with injection: get_pc_thunk_si */\n\nundefined4 FUN_00039ba0(undefined4 param_1,undefined4 param_2)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = FUN_00039b10(param_1,param_2);\n  if (iVar1 == 0) {\n    return 0;\n  }\n  uVar2 = FUN_000374e0();\n  return uVar2;\n}\n\n" comment (function_definition "undefined4 FUN_00039ba0(undefined4 param_1,undefined4 param_2)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = FUN_00039b10(param_1,param_2);\n  if (iVar1 == 0) {\n    return 0;\n  }\n  uVar2 = FUN_000374e0();\n  return uVar2;\n}" type_identifier (function_declarator "FUN_00039ba0(undefined4 param_1,undefined4 param_2)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = FUN_00039b10(param_1,param_2);\n  if (iVar1 == 0) {\n    return 0;\n  }\n  uVar2 = FUN_000374e0();\n  return uVar2;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (expression_statement "iVar1 = FUN_00039b10(param_1,param_2);" (assignment_expression "iVar1 = FUN_00039b10(param_1,param_2)" identifier = (call_expression "FUN_00039b10(param_1,param_2)" identifier (argument_list "(param_1,param_2)" ( identifier , identifier )))) ;) (if_statement "if (iVar1 == 0) {\n    return 0;\n  }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "uVar2 = FUN_000374e0();" (assignment_expression "uVar2 = FUN_000374e0()" identifier = (call_expression "FUN_000374e0()" identifier (argument_list "()" ( )))) ;) (return_statement "return uVar2;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.si replaced with injection: get_pc_thunk_si */\n/* WARNING: Unknown calling convention */\n\nbfd_boolean pr_complex_type(void *p,uint size)\n\n{\n  bfd_boolean bVar1;\n  \n  bVar1 = pr_float_type(p,size);\n  if (bVar1 == 0) {\n    return 0;\n  }\n  bVar1 = prepend_type((pr_handle *)((int)p + 8),"complex ");\n  return bVar1;\n}\n\n" comment comment (function_definition "bfd_boolean pr_complex_type(void *p,uint size)\n\n{\n  bfd_boolean bVar1;\n  \n  bVar1 = pr_float_type(p,size);\n  if (bVar1 == 0) {\n    return 0;\n  }\n  bVar1 = prepend_type((pr_handle *)((int)p + 8),"complex ");\n  return bVar1;\n}" type_identifier (function_declarator "pr_complex_type(void *p,uint size)" identifier (parameter_list "(void *p,uint size)" ( (parameter_declaration "void *p" primitive_type (pointer_declarator "*p" * identifier)) , (parameter_declaration "uint size" type_identifier identifier) ))) (compound_statement "{\n  bfd_boolean bVar1;\n  \n  bVar1 = pr_float_type(p,size);\n  if (bVar1 == 0) {\n    return 0;\n  }\n  bVar1 = prepend_type((pr_handle *)((int)p + 8),"complex ");\n  return bVar1;\n}" { (declaration "bfd_boolean bVar1;" type_identifier identifier ;) (expression_statement "bVar1 = pr_float_type(p,size);" (assignment_expression "bVar1 = pr_float_type(p,size)" identifier = (call_expression "pr_float_type(p,size)" identifier (argument_list "(p,size)" ( identifier , identifier )))) ;) (if_statement "if (bVar1 == 0) {\n    return 0;\n  }" if (parenthesized_expression "(bVar1 == 0)" ( (binary_expression "bVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "bVar1 = prepend_type((pr_handle *)((int)p + 8),"complex ");" (assignment_expression "bVar1 = prepend_type((pr_handle *)((int)p + 8),"complex ")" identifier = (call_expression "prepend_type((pr_handle *)((int)p + 8),"complex ")" identifier (argument_list "((pr_handle *)((int)p + 8),"complex ")" ( (cast_expression "(pr_handle *)((int)p + 8)" ( (type_descriptor "pr_handle *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)p + 8)" ( (binary_expression "(int)p + 8" (cast_expression "(int)p" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))) , (string_literal ""complex "" " string_content ") )))) ;) (return_statement "return bVar1;" return identifier ;) })))
(translation_unit "undefined4 FUN_00039ba0(undefined4 param_1,undefined4 param_2)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = FUN_00039b10(param_1,param_2);\n  if (iVar1 == 0) {\n    return 0;\n  }\n  uVar2 = FUN_000374e0();\n  return uVar2;\n}\n\n" (function_definition "undefined4 FUN_00039ba0(undefined4 param_1,undefined4 param_2)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = FUN_00039b10(param_1,param_2);\n  if (iVar1 == 0) {\n    return 0;\n  }\n  uVar2 = FUN_000374e0();\n  return uVar2;\n}" type_identifier (function_declarator "FUN_00039ba0(undefined4 param_1,undefined4 param_2)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = FUN_00039b10(param_1,param_2);\n  if (iVar1 == 0) {\n    return 0;\n  }\n  uVar2 = FUN_000374e0();\n  return uVar2;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (expression_statement "iVar1 = FUN_00039b10(param_1,param_2);" (assignment_expression "iVar1 = FUN_00039b10(param_1,param_2)" identifier = (call_expression "FUN_00039b10(param_1,param_2)" identifier (argument_list "(param_1,param_2)" ( identifier , identifier )))) ;) (if_statement "if (iVar1 == 0) {\n    return 0;\n  }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "uVar2 = FUN_000374e0();" (assignment_expression "uVar2 = FUN_000374e0()" identifier = (call_expression "FUN_000374e0()" identifier (argument_list "()" ( )))) ;) (return_statement "return uVar2;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (return_statement return IDENT ;) })))
(function_definition "undefined4 FUN_00039ba0(undefined4 param_1,undefined4 param_2)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = FUN_00039b10(param_1,param_2);\n  if (iVar1 == 0) {\n    return 0;\n  }\n  uVar2 = FUN_000374e0();\n  return uVar2;\n}" (type_identifier "undefined4") (function_declarator "FUN_00039ba0(undefined4 param_1,undefined4 param_2)" (identifier "FUN_00039ba0") (parameter_list "(undefined4 param_1,undefined4 param_2)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) () ")"))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = FUN_00039b10(param_1,param_2);\n  if (iVar1 == 0) {\n    return 0;\n  }\n  uVar2 = FUN_000374e0();\n  return uVar2;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (expression_statement "iVar1 = FUN_00039b10(param_1,param_2);" (assignment_expression "iVar1 = FUN_00039b10(param_1,param_2)" (identifier "iVar1") (= "=") (call_expression "FUN_00039b10(param_1,param_2)" (identifier "FUN_00039b10") (argument_list "(param_1,param_2)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") () ")")))) (; ";")) (if_statement "if (iVar1 == 0) {\n    return 0;\n  }" (if "if") (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    return 0;\n  }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (expression_statement "uVar2 = FUN_000374e0();" (assignment_expression "uVar2 = FUN_000374e0()" (identifier "uVar2") (= "=") (call_expression "FUN_000374e0()" (identifier "FUN_000374e0") (argument_list "()" (( "(") () ")")))) (; ";")) (return_statement "return uVar2;" (return "return") (identifier "uVar2") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.si replaced with injection: get_pc_thunk_si */
/* WARNING: Unknown calling convention */

type_1 function_1(void *p,type_2 size)

{
  type_1 var_2;
  
  var_2 = var_1(p,size);
  if (var_2 == 0) {
    return 0;
  }
  var_2 = var_3((type_3 *)((int)p + 8),"complex ");
  return var_2;
}


(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (return_statement (identifier)))))

/* WARNING: Function: __i686.get_pc_thunk.si replaced with injection: get_pc_thunk_si */

undefined4 MASKED(undefined4 param_1,undefined4 param_2)

{
  int iVar1;
  undefined4 uVar2;
  
  iVar1 = FUN_00039b10(param_1,param_2);
  if (iVar1 == 0) {
    return 0;
  }
  uVar2 = FUN_000374e0();
  return uVar2;
}

