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

char * frag_var(relax_stateT type,size_t max_chars,size_t var,relax_substateT subtype,
               symbolS *symbol,offsetT offset,char *opcode)

{
  char *pcVar1;
  
  frag_grow(max_chars);
  pcVar1 = (frchain_now->frch_obstack).next_free;
  (frchain_now->frch_obstack).next_free = pcVar1 + max_chars;
  frag_var_init(type,max_chars,var,subtype,symbol,offset,opcode);
  return pcVar1;
}



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

int FUN_00024b60(undefined4 param_1,int param_2,undefined4 param_3,undefined4 param_4,
                undefined4 param_5,undefined4 param_6,undefined4 param_7,undefined4 param_8)

{
  int iVar1;
  
  FUN_000249b0(param_2);
  iVar1 = *(int *)(DAT_00089a08 + 0x24);
  *(int *)(DAT_00089a08 + 0x24) = iVar1 + param_2;
  FUN_00024a80(param_4,param_5,param_6,param_7,param_8);
  return iVar1;
}


PUSH EBP
PUSH EDI
PUSH ESI
CALL 0x0001fe0c
ADD ESI,0x5b498
PUSH EBX
SUB ESP,0x18
MOV EBX,dword ptr [ESP + 0x30]
MOV EDI,dword ptr [ESP + 0x40]
MOV EBP,dword ptr [ESP + 0x44]
PUSH EBX
CALL 0x000249b0
LEA EAX,[ESI + 0x9a08]
MOV EAX,dword ptr [EAX]
MOV ESI,dword ptr [EAX + 0x24]
LEA EDX,[ESI + EBX*0x1]
MOV dword ptr [EAX + 0x24],EDX
POP EAX
MOV EDX,EBX
PUSH dword ptr [ESP + 0x48]
PUSH EBP
PUSH EDI
PUSH dword ptr [ESP + 0x48]
PUSH dword ptr [ESP + 0x48]
MOV EAX,dword ptr [ESP + 0x40]
MOV ECX,dword ptr [ESP + 0x48]
CALL 0x00024a80
ADD ESP,0x2c
MOV EAX,ESI
POP EBX
POP ESI
POP EDI
POP EBP
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.si replaced with injection: get_pc_thunk_si */\n\nint FUN_00024b60(undefined4 param_1,int param_2,undefined4 param_3,undefined4 param_4,\n                undefined4 param_5,undefined4 param_6,undefined4 param_7,undefined4 param_8)\n\n{\n  int iVar1;\n  \n  FUN_000249b0(param_2);\n  iVar1 = *(int *)(DAT_00089a08 + 0x24);\n  *(int *)(DAT_00089a08 + 0x24) = iVar1 + param_2;\n  FUN_00024a80(param_4,param_5,param_6,param_7,param_8);\n  return iVar1;\n}\n\n" comment (function_definition "int FUN_00024b60(undefined4 param_1,int param_2,undefined4 param_3,undefined4 param_4,\n                undefined4 param_5,undefined4 param_6,undefined4 param_7,undefined4 param_8)\n\n{\n  int iVar1;\n  \n  FUN_000249b0(param_2);\n  iVar1 = *(int *)(DAT_00089a08 + 0x24);\n  *(int *)(DAT_00089a08 + 0x24) = iVar1 + param_2;\n  FUN_00024a80(param_4,param_5,param_6,param_7,param_8);\n  return iVar1;\n}" primitive_type (function_declarator "FUN_00024b60(undefined4 param_1,int param_2,undefined4 param_3,undefined4 param_4,\n                undefined4 param_5,undefined4 param_6,undefined4 param_7,undefined4 param_8)" identifier (parameter_list "(undefined4 param_1,int param_2,undefined4 param_3,undefined4 param_4,\n                undefined4 param_5,undefined4 param_6,undefined4 param_7,undefined4 param_8)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) , (parameter_declaration "undefined4 param_5" type_identifier identifier) , (parameter_declaration "undefined4 param_6" type_identifier identifier) , (parameter_declaration "undefined4 param_7" type_identifier identifier) , (parameter_declaration "undefined4 param_8" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  FUN_000249b0(param_2);\n  iVar1 = *(int *)(DAT_00089a08 + 0x24);\n  *(int *)(DAT_00089a08 + 0x24) = iVar1 + param_2;\n  FUN_00024a80(param_4,param_5,param_6,param_7,param_8);\n  return iVar1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "FUN_000249b0(param_2);" (call_expression "FUN_000249b0(param_2)" identifier (argument_list "(param_2)" ( identifier ))) ;) (expression_statement "iVar1 = *(int *)(DAT_00089a08 + 0x24);" (assignment_expression "iVar1 = *(int *)(DAT_00089a08 + 0x24)" identifier = (pointer_expression "*(int *)(DAT_00089a08 + 0x24)" * (cast_expression "(int *)(DAT_00089a08 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_00089a08 + 0x24)" ( (binary_expression "DAT_00089a08 + 0x24" identifier + number_literal) ))))) ;) (expression_statement "*(int *)(DAT_00089a08 + 0x24) = iVar1 + param_2;" (assignment_expression "*(int *)(DAT_00089a08 + 0x24) = iVar1 + param_2" (pointer_expression "*(int *)(DAT_00089a08 + 0x24)" * (cast_expression "(int *)(DAT_00089a08 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_00089a08 + 0x24)" ( (binary_expression "DAT_00089a08 + 0x24" identifier + number_literal) )))) = (binary_expression "iVar1 + param_2" identifier + identifier)) ;) (expression_statement "FUN_00024a80(param_4,param_5,param_6,param_7,param_8);" (call_expression "FUN_00024a80(param_4,param_5,param_6,param_7,param_8)" identifier (argument_list "(param_4,param_5,param_6,param_7,param_8)" ( identifier , identifier , identifier , identifier , identifier ))) ;) (return_statement "return iVar1;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.si replaced with injection: get_pc_thunk_si */\n/* WARNING: Unknown calling convention */\n\nchar * frag_var(relax_stateT type,size_t max_chars,size_t var,relax_substateT subtype,\n               symbolS *symbol,offsetT offset,char *opcode)\n\n{\n  char *pcVar1;\n  \n  frag_grow(max_chars);\n  pcVar1 = (frchain_now->frch_obstack).next_free;\n  (frchain_now->frch_obstack).next_free = pcVar1 + max_chars;\n  frag_var_init(type,max_chars,var,subtype,symbol,offset,opcode);\n  return pcVar1;\n}\n\n" comment comment (function_definition "char * frag_var(relax_stateT type,size_t max_chars,size_t var,relax_substateT subtype,\n               symbolS *symbol,offsetT offset,char *opcode)\n\n{\n  char *pcVar1;\n  \n  frag_grow(max_chars);\n  pcVar1 = (frchain_now->frch_obstack).next_free;\n  (frchain_now->frch_obstack).next_free = pcVar1 + max_chars;\n  frag_var_init(type,max_chars,var,subtype,symbol,offset,opcode);\n  return pcVar1;\n}" primitive_type (pointer_declarator "* frag_var(relax_stateT type,size_t max_chars,size_t var,relax_substateT subtype,\n               symbolS *symbol,offsetT offset,char *opcode)" * (function_declarator "frag_var(relax_stateT type,size_t max_chars,size_t var,relax_substateT subtype,\n               symbolS *symbol,offsetT offset,char *opcode)" identifier (parameter_list "(relax_stateT type,size_t max_chars,size_t var,relax_substateT subtype,\n               symbolS *symbol,offsetT offset,char *opcode)" ( (parameter_declaration "relax_stateT type" type_identifier identifier) , (parameter_declaration "size_t max_chars" primitive_type identifier) , (parameter_declaration "size_t var" primitive_type identifier) , (parameter_declaration "relax_substateT subtype" type_identifier identifier) , (parameter_declaration "symbolS *symbol" type_identifier (pointer_declarator "*symbol" * identifier)) , (parameter_declaration "offsetT offset" type_identifier identifier) , (parameter_declaration "char *opcode" primitive_type (pointer_declarator "*opcode" * identifier)) )))) (compound_statement "{\n  char *pcVar1;\n  \n  frag_grow(max_chars);\n  pcVar1 = (frchain_now->frch_obstack).next_free;\n  (frchain_now->frch_obstack).next_free = pcVar1 + max_chars;\n  frag_var_init(type,max_chars,var,subtype,symbol,offset,opcode);\n  return pcVar1;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (expression_statement "frag_grow(max_chars);" (call_expression "frag_grow(max_chars)" identifier (argument_list "(max_chars)" ( identifier ))) ;) (expression_statement "pcVar1 = (frchain_now->frch_obstack).next_free;" (assignment_expression "pcVar1 = (frchain_now->frch_obstack).next_free" identifier = (field_expression "(frchain_now->frch_obstack).next_free" (parenthesized_expression "(frchain_now->frch_obstack)" ( (field_expression "frchain_now->frch_obstack" identifier -> field_identifier) )) . field_identifier)) ;) (expression_statement "(frchain_now->frch_obstack).next_free = pcVar1 + max_chars;" (assignment_expression "(frchain_now->frch_obstack).next_free = pcVar1 + max_chars" (field_expression "(frchain_now->frch_obstack).next_free" (parenthesized_expression "(frchain_now->frch_obstack)" ( (field_expression "frchain_now->frch_obstack" identifier -> field_identifier) )) . field_identifier) = (binary_expression "pcVar1 + max_chars" identifier + identifier)) ;) (expression_statement "frag_var_init(type,max_chars,var,subtype,symbol,offset,opcode);" (call_expression "frag_var_init(type,max_chars,var,subtype,symbol,offset,opcode)" identifier (argument_list "(type,max_chars,var,subtype,symbol,offset,opcode)" ( identifier , identifier , identifier , identifier , identifier , identifier , identifier ))) ;) (return_statement "return pcVar1;" return identifier ;) })))
(translation_unit "int FUN_00024b60(undefined4 param_1,int param_2,undefined4 param_3,undefined4 param_4,\n                undefined4 param_5,undefined4 param_6,undefined4 param_7,undefined4 param_8)\n\n{\n  int iVar1;\n  \n  FUN_000249b0(param_2);\n  iVar1 = *(int *)(DAT_00089a08 + 0x24);\n  *(int *)(DAT_00089a08 + 0x24) = iVar1 + param_2;\n  FUN_00024a80(param_4,param_5,param_6,param_7,param_8);\n  return iVar1;\n}\n\n" (function_definition "int FUN_00024b60(undefined4 param_1,int param_2,undefined4 param_3,undefined4 param_4,\n                undefined4 param_5,undefined4 param_6,undefined4 param_7,undefined4 param_8)\n\n{\n  int iVar1;\n  \n  FUN_000249b0(param_2);\n  iVar1 = *(int *)(DAT_00089a08 + 0x24);\n  *(int *)(DAT_00089a08 + 0x24) = iVar1 + param_2;\n  FUN_00024a80(param_4,param_5,param_6,param_7,param_8);\n  return iVar1;\n}" primitive_type (function_declarator "FUN_00024b60(undefined4 param_1,int param_2,undefined4 param_3,undefined4 param_4,\n                undefined4 param_5,undefined4 param_6,undefined4 param_7,undefined4 param_8)" identifier (parameter_list "(undefined4 param_1,int param_2,undefined4 param_3,undefined4 param_4,\n                undefined4 param_5,undefined4 param_6,undefined4 param_7,undefined4 param_8)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) , (parameter_declaration "undefined4 param_5" type_identifier identifier) , (parameter_declaration "undefined4 param_6" type_identifier identifier) , (parameter_declaration "undefined4 param_7" type_identifier identifier) , (parameter_declaration "undefined4 param_8" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  FUN_000249b0(param_2);\n  iVar1 = *(int *)(DAT_00089a08 + 0x24);\n  *(int *)(DAT_00089a08 + 0x24) = iVar1 + param_2;\n  FUN_00024a80(param_4,param_5,param_6,param_7,param_8);\n  return iVar1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "FUN_000249b0(param_2);" (call_expression "FUN_000249b0(param_2)" identifier (argument_list "(param_2)" ( identifier ))) ;) (expression_statement "iVar1 = *(int *)(DAT_00089a08 + 0x24);" (assignment_expression "iVar1 = *(int *)(DAT_00089a08 + 0x24)" identifier = (pointer_expression "*(int *)(DAT_00089a08 + 0x24)" * (cast_expression "(int *)(DAT_00089a08 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_00089a08 + 0x24)" ( (binary_expression "DAT_00089a08 + 0x24" identifier + number_literal) ))))) ;) (expression_statement "*(int *)(DAT_00089a08 + 0x24) = iVar1 + param_2;" (assignment_expression "*(int *)(DAT_00089a08 + 0x24) = iVar1 + param_2" (pointer_expression "*(int *)(DAT_00089a08 + 0x24)" * (cast_expression "(int *)(DAT_00089a08 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_00089a08 + 0x24)" ( (binary_expression "DAT_00089a08 + 0x24" identifier + number_literal) )))) = (binary_expression "iVar1 + param_2" identifier + identifier)) ;) (expression_statement "FUN_00024a80(param_4,param_5,param_6,param_7,param_8);" (call_expression "FUN_00024a80(param_4,param_5,param_6,param_7,param_8)" identifier (argument_list "(param_4,param_5,param_6,param_7,param_8)" ( identifier , identifier , identifier , identifier , identifier ))) ;) (return_statement "return iVar1;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression IDENT + IDENT)) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , IDENT , IDENT ))) ;) (return_statement return IDENT ;) })))
(function_definition "int FUN_00024b60(undefined4 param_1,int param_2,undefined4 param_3,undefined4 param_4,\n                undefined4 param_5,undefined4 param_6,undefined4 param_7,undefined4 param_8)\n\n{\n  int iVar1;\n  \n  FUN_000249b0(param_2);\n  iVar1 = *(int *)(DAT_00089a08 + 0x24);\n  *(int *)(DAT_00089a08 + 0x24) = iVar1 + param_2;\n  FUN_00024a80(param_4,param_5,param_6,param_7,param_8);\n  return iVar1;\n}" (primitive_type "int") (function_declarator "FUN_00024b60(undefined4 param_1,int param_2,undefined4 param_3,undefined4 param_4,\n                undefined4 param_5,undefined4 param_6,undefined4 param_7,undefined4 param_8)" (identifier "FUN_00024b60") (parameter_list "(undefined4 param_1,int param_2,undefined4 param_3,undefined4 param_4,\n                undefined4 param_5,undefined4 param_6,undefined4 param_7,undefined4 param_8)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) (, ",") (parameter_declaration "undefined4 param_4" (type_identifier "undefined4") (identifier "param_4")) (, ",") (parameter_declaration "undefined4 param_5" (type_identifier "undefined4") (identifier "param_5")) (, ",") (parameter_declaration "undefined4 param_6" (type_identifier "undefined4") (identifier "param_6")) (, ",") (parameter_declaration "undefined4 param_7" (type_identifier "undefined4") (identifier "param_7")) (, ",") (parameter_declaration "undefined4 param_8" (type_identifier "undefined4") (identifier "param_8")) () ")"))) (compound_statement "{\n  int iVar1;\n  \n  FUN_000249b0(param_2);\n  iVar1 = *(int *)(DAT_00089a08 + 0x24);\n  *(int *)(DAT_00089a08 + 0x24) = iVar1 + param_2;\n  FUN_00024a80(param_4,param_5,param_6,param_7,param_8);\n  return iVar1;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (expression_statement "FUN_000249b0(param_2);" (call_expression "FUN_000249b0(param_2)" (identifier "FUN_000249b0") (argument_list "(param_2)" (( "(") (identifier "param_2") () ")"))) (; ";")) (expression_statement "iVar1 = *(int *)(DAT_00089a08 + 0x24);" (assignment_expression "iVar1 = *(int *)(DAT_00089a08 + 0x24)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(DAT_00089a08 + 0x24)" (* "*") (cast_expression "(int *)(DAT_00089a08 + 0x24)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_00089a08 + 0x24)" (( "(") (binary_expression "DAT_00089a08 + 0x24" (identifier "DAT_00089a08") (+ "+") (number_literal "0x24")) () ")"))))) (; ";")) (expression_statement "*(int *)(DAT_00089a08 + 0x24) = iVar1 + param_2;" (assignment_expression "*(int *)(DAT_00089a08 + 0x24) = iVar1 + param_2" (pointer_expression "*(int *)(DAT_00089a08 + 0x24)" (* "*") (cast_expression "(int *)(DAT_00089a08 + 0x24)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_00089a08 + 0x24)" (( "(") (binary_expression "DAT_00089a08 + 0x24" (identifier "DAT_00089a08") (+ "+") (number_literal "0x24")) () ")")))) (= "=") (binary_expression "iVar1 + param_2" (identifier "iVar1") (+ "+") (identifier "param_2"))) (; ";")) (expression_statement "FUN_00024a80(param_4,param_5,param_6,param_7,param_8);" (call_expression "FUN_00024a80(param_4,param_5,param_6,param_7,param_8)" (identifier "FUN_00024a80") (argument_list "(param_4,param_5,param_6,param_7,param_8)" (( "(") (identifier "param_4") (, ",") (identifier "param_5") (, ",") (identifier "param_6") (, ",") (identifier "param_7") (, ",") (identifier "param_8") () ")"))) (; ";")) (return_statement "return iVar1;" (return "return") (identifier "iVar1") (; ";")) (} "}")))

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

char * function_1(type_1 type,size_t var_3,size_t var,type_2 subtype,
               type_3 *symbol,type_4 offset,char *opcode)

{
  char *var_2;
  
  var_1(var_3);
  var_2 = (frchain_now->frch_obstack).next_free;
  (frchain_now->frch_obstack).next_free = var_2 + var_3;
  var_4(type,var_3,var,subtype,symbol,offset,opcode);
  return var_2;
}


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

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

int MASKED(undefined4 param_1,int param_2,undefined4 param_3,undefined4 param_4,
                undefined4 param_5,undefined4 param_6,undefined4 param_7,undefined4 param_8)

{
  int iVar1;
  
  FUN_000249b0(param_2);
  iVar1 = *(int *)(DAT_00089a08 + 0x24);
  *(int *)(DAT_00089a08 + 0x24) = iVar1 + param_2;
  FUN_00024a80(param_4,param_5,param_6,param_7,param_8);
  return iVar1;
}

