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

void __regparm3 lang_define_start_stop(char *symbol,asection *sec)

{
  bfd_link_hash_entry *pbVar1;
  
  pbVar1 = (*(link_info.output_bfd)->xvec->_bfd_define_start_stop)(&link_info,symbol,sec);
  if (pbVar1 != (bfd_link_hash_entry *)0x0) {
    if (start_stop_count == start_stop_alloc) {
      start_stop_alloc = (start_stop_count + 5) * 2;
      start_stop_syms = (bfd_link_hash_entry **)xrealloc(start_stop_syms,(start_stop_count + 5) * 8)
      ;
    }
    start_stop_syms[start_stop_count] = pbVar1;
    start_stop_count = start_stop_count + 1;
  }
  return;
}



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

void __regparm3 FUN_0001eaf0(undefined4 param_1,undefined4 param_2)

{
  int iVar1;
  
  iVar1 = (**(code **)(*(int *)(DAT_00091c50 + 4) + 0x1a4))(&DAT_00091c20,param_1,param_2);
  if (iVar1 != 0) {
    if (DAT_000917c8 == DAT_000917c4) {
      DAT_000917c4 = (DAT_000917c8 + 5) * 2;
      DAT_000917cc = xrealloc(DAT_000917cc,(DAT_000917c8 + 5) * 8);
    }
    *(int *)(DAT_000917cc + DAT_000917c8 * 4) = iVar1;
    DAT_000917c8 = DAT_000917c8 + 1;
  }
  return;
}


PUSH ESI
PUSH EBX
CALL 0x00015a80
ADD EBX,0x72509
SUB ESP,0x8
LEA ECX,[EBX + 0xc20]
MOV ESI,dword ptr [ECX + 0x30]
MOV ESI,dword ptr [ESI + 0x4]
PUSH EDX
PUSH EAX
PUSH ECX
CALL dword ptr [ESI + 0x1a4]
ADD ESP,0x10
TEST EAX,EAX
JZ 0x0001eb3e
MOV ESI,EAX
MOV EDX,dword ptr [EBX + 0x7c8]
MOV EAX,dword ptr [EBX + 0x7cc]
CMP EDX,dword ptr [EBX + 0x7c4]
JZ 0x0001eb48
LEA ECX,[EDX + 0x1]
MOV dword ptr [EAX + EDX*0x4],ESI
MOV dword ptr [EBX + 0x7c8],ECX
ADD ESP,0x4
POP EBX
POP ESI
RET
ADD EDX,0x5
SUB ESP,0x8
LEA ECX,[EDX + EDX*0x1]
SHL EDX,0x3
PUSH EDX
PUSH EAX
MOV dword ptr [EBX + 0x7c4],ECX
CALL 0x000143c0
MOV EDX,dword ptr [EBX + 0x7c8]
ADD ESP,0x10
MOV dword ptr [EBX + 0x7cc],EAX
JMP 0x0001eb32
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid __regparm3 FUN_0001eaf0(undefined4 param_1,undefined4 param_2)\n\n{\n  int iVar1;\n  \n  iVar1 = (**(code **)(*(int *)(DAT_00091c50 + 4) + 0x1a4))(&DAT_00091c20,param_1,param_2);\n  if (iVar1 != 0) {\n    if (DAT_000917c8 == DAT_000917c4) {\n      DAT_000917c4 = (DAT_000917c8 + 5) * 2;\n      DAT_000917cc = xrealloc(DAT_000917cc,(DAT_000917c8 + 5) * 8);\n    }\n    *(int *)(DAT_000917cc + DAT_000917c8 * 4) = iVar1;\n    DAT_000917c8 = DAT_000917c8 + 1;\n  }\n  return;\n}\n\n" comment (function_definition "void __regparm3 FUN_0001eaf0(undefined4 param_1,undefined4 param_2)\n\n{\n  int iVar1;\n  \n  iVar1 = (**(code **)(*(int *)(DAT_00091c50 + 4) + 0x1a4))(&DAT_00091c20,param_1,param_2);\n  if (iVar1 != 0) {\n    if (DAT_000917c8 == DAT_000917c4) {\n      DAT_000917c4 = (DAT_000917c8 + 5) * 2;\n      DAT_000917cc = xrealloc(DAT_000917cc,(DAT_000917c8 + 5) * 8);\n    }\n    *(int *)(DAT_000917cc + DAT_000917c8 * 4) = iVar1;\n    DAT_000917c8 = DAT_000917c8 + 1;\n  }\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_0001eaf0(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  \n  iVar1 = (**(code **)(*(int *)(DAT_00091c50 + 4) + 0x1a4))(&DAT_00091c20,param_1,param_2);\n  if (iVar1 != 0) {\n    if (DAT_000917c8 == DAT_000917c4) {\n      DAT_000917c4 = (DAT_000917c8 + 5) * 2;\n      DAT_000917cc = xrealloc(DAT_000917cc,(DAT_000917c8 + 5) * 8);\n    }\n    *(int *)(DAT_000917cc + DAT_000917c8 * 4) = iVar1;\n    DAT_000917c8 = DAT_000917c8 + 1;\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = (**(code **)(*(int *)(DAT_00091c50 + 4) + 0x1a4))(&DAT_00091c20,param_1,param_2);" (assignment_expression "iVar1 = (**(code **)(*(int *)(DAT_00091c50 + 4) + 0x1a4))(&DAT_00091c20,param_1,param_2)" identifier = (call_expression "(**(code **)(*(int *)(DAT_00091c50 + 4) + 0x1a4))(&DAT_00091c20,param_1,param_2)" (parenthesized_expression "(**(code **)(*(int *)(DAT_00091c50 + 4) + 0x1a4))" ( (pointer_expression "**(code **)(*(int *)(DAT_00091c50 + 4) + 0x1a4)" * (pointer_expression "*(code **)(*(int *)(DAT_00091c50 + 4) + 0x1a4)" * (cast_expression "(code **)(*(int *)(DAT_00091c50 + 4) + 0x1a4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(DAT_00091c50 + 4) + 0x1a4)" ( (binary_expression "*(int *)(DAT_00091c50 + 4) + 0x1a4" (pointer_expression "*(int *)(DAT_00091c50 + 4)" * (cast_expression "(int *)(DAT_00091c50 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_00091c50 + 4)" ( (binary_expression "DAT_00091c50 + 4" identifier + number_literal) )))) + number_literal) ))))) )) (argument_list "(&DAT_00091c20,param_1,param_2)" ( (pointer_expression "&DAT_00091c20" & identifier) , identifier , identifier )))) ;) (if_statement "if (iVar1 != 0) {\n    if (DAT_000917c8 == DAT_000917c4) {\n      DAT_000917c4 = (DAT_000917c8 + 5) * 2;\n      DAT_000917cc = xrealloc(DAT_000917cc,(DAT_000917c8 + 5) * 8);\n    }\n    *(int *)(DAT_000917cc + DAT_000917c8 * 4) = iVar1;\n    DAT_000917c8 = DAT_000917c8 + 1;\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    if (DAT_000917c8 == DAT_000917c4) {\n      DAT_000917c4 = (DAT_000917c8 + 5) * 2;\n      DAT_000917cc = xrealloc(DAT_000917cc,(DAT_000917c8 + 5) * 8);\n    }\n    *(int *)(DAT_000917cc + DAT_000917c8 * 4) = iVar1;\n    DAT_000917c8 = DAT_000917c8 + 1;\n  }" { (if_statement "if (DAT_000917c8 == DAT_000917c4) {\n      DAT_000917c4 = (DAT_000917c8 + 5) * 2;\n      DAT_000917cc = xrealloc(DAT_000917cc,(DAT_000917c8 + 5) * 8);\n    }" if (parenthesized_expression "(DAT_000917c8 == DAT_000917c4)" ( (binary_expression "DAT_000917c8 == DAT_000917c4" identifier == identifier) )) (compound_statement "{\n      DAT_000917c4 = (DAT_000917c8 + 5) * 2;\n      DAT_000917cc = xrealloc(DAT_000917cc,(DAT_000917c8 + 5) * 8);\n    }" { (expression_statement "DAT_000917c4 = (DAT_000917c8 + 5) * 2;" (assignment_expression "DAT_000917c4 = (DAT_000917c8 + 5) * 2" identifier = (binary_expression "(DAT_000917c8 + 5) * 2" (parenthesized_expression "(DAT_000917c8 + 5)" ( (binary_expression "DAT_000917c8 + 5" identifier + number_literal) )) * number_literal)) ;) (expression_statement "DAT_000917cc = xrealloc(DAT_000917cc,(DAT_000917c8 + 5) * 8);" (assignment_expression "DAT_000917cc = xrealloc(DAT_000917cc,(DAT_000917c8 + 5) * 8)" identifier = (call_expression "xrealloc(DAT_000917cc,(DAT_000917c8 + 5) * 8)" identifier (argument_list "(DAT_000917cc,(DAT_000917c8 + 5) * 8)" ( identifier , (binary_expression "(DAT_000917c8 + 5) * 8" (parenthesized_expression "(DAT_000917c8 + 5)" ( (binary_expression "DAT_000917c8 + 5" identifier + number_literal) )) * number_literal) )))) ;) })) (expression_statement "*(int *)(DAT_000917cc + DAT_000917c8 * 4) = iVar1;" (assignment_expression "*(int *)(DAT_000917cc + DAT_000917c8 * 4) = iVar1" (pointer_expression "*(int *)(DAT_000917cc + DAT_000917c8 * 4)" * (cast_expression "(int *)(DAT_000917cc + DAT_000917c8 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_000917cc + DAT_000917c8 * 4)" ( (binary_expression "DAT_000917cc + DAT_000917c8 * 4" identifier + (binary_expression "DAT_000917c8 * 4" identifier * number_literal)) )))) = identifier) ;) (expression_statement "DAT_000917c8 = DAT_000917c8 + 1;" (assignment_expression "DAT_000917c8 = DAT_000917c8 + 1" identifier = (binary_expression "DAT_000917c8 + 1" identifier + number_literal)) ;) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid __regparm3 lang_define_start_stop(char *symbol,asection *sec)\n\n{\n  bfd_link_hash_entry *pbVar1;\n  \n  pbVar1 = (*(link_info.output_bfd)->xvec->_bfd_define_start_stop)(&link_info,symbol,sec);\n  if (pbVar1 != (bfd_link_hash_entry *)0x0) {\n    if (start_stop_count == start_stop_alloc) {\n      start_stop_alloc = (start_stop_count + 5) * 2;\n      start_stop_syms = (bfd_link_hash_entry **)xrealloc(start_stop_syms,(start_stop_count + 5) * 8)\n      ;\n    }\n    start_stop_syms[start_stop_count] = pbVar1;\n    start_stop_count = start_stop_count + 1;\n  }\n  return;\n}\n\n" comment (function_definition "void __regparm3 lang_define_start_stop(char *symbol,asection *sec)\n\n{\n  bfd_link_hash_entry *pbVar1;\n  \n  pbVar1 = (*(link_info.output_bfd)->xvec->_bfd_define_start_stop)(&link_info,symbol,sec);\n  if (pbVar1 != (bfd_link_hash_entry *)0x0) {\n    if (start_stop_count == start_stop_alloc) {\n      start_stop_alloc = (start_stop_count + 5) * 2;\n      start_stop_syms = (bfd_link_hash_entry **)xrealloc(start_stop_syms,(start_stop_count + 5) * 8)\n      ;\n    }\n    start_stop_syms[start_stop_count] = pbVar1;\n    start_stop_count = start_stop_count + 1;\n  }\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "lang_define_start_stop(char *symbol,asection *sec)" identifier (parameter_list "(char *symbol,asection *sec)" ( (parameter_declaration "char *symbol" primitive_type (pointer_declarator "*symbol" * identifier)) , (parameter_declaration "asection *sec" type_identifier (pointer_declarator "*sec" * identifier)) ))) (compound_statement "{\n  bfd_link_hash_entry *pbVar1;\n  \n  pbVar1 = (*(link_info.output_bfd)->xvec->_bfd_define_start_stop)(&link_info,symbol,sec);\n  if (pbVar1 != (bfd_link_hash_entry *)0x0) {\n    if (start_stop_count == start_stop_alloc) {\n      start_stop_alloc = (start_stop_count + 5) * 2;\n      start_stop_syms = (bfd_link_hash_entry **)xrealloc(start_stop_syms,(start_stop_count + 5) * 8)\n      ;\n    }\n    start_stop_syms[start_stop_count] = pbVar1;\n    start_stop_count = start_stop_count + 1;\n  }\n  return;\n}" { (declaration "bfd_link_hash_entry *pbVar1;" type_identifier (pointer_declarator "*pbVar1" * identifier) ;) (expression_statement "pbVar1 = (*(link_info.output_bfd)->xvec->_bfd_define_start_stop)(&link_info,symbol,sec);" (assignment_expression "pbVar1 = (*(link_info.output_bfd)->xvec->_bfd_define_start_stop)(&link_info,symbol,sec)" identifier = (call_expression "(*(link_info.output_bfd)->xvec->_bfd_define_start_stop)(&link_info,symbol,sec)" (parenthesized_expression "(*(link_info.output_bfd)->xvec->_bfd_define_start_stop)" ( (pointer_expression "*(link_info.output_bfd)->xvec->_bfd_define_start_stop" * (field_expression "(link_info.output_bfd)->xvec->_bfd_define_start_stop" (field_expression "(link_info.output_bfd)->xvec" (parenthesized_expression "(link_info.output_bfd)" ( (field_expression "link_info.output_bfd" identifier . field_identifier) )) -> field_identifier) -> field_identifier)) )) (argument_list "(&link_info,symbol,sec)" ( (pointer_expression "&link_info" & identifier) , identifier , identifier )))) ;) (if_statement "if (pbVar1 != (bfd_link_hash_entry *)0x0) {\n    if (start_stop_count == start_stop_alloc) {\n      start_stop_alloc = (start_stop_count + 5) * 2;\n      start_stop_syms = (bfd_link_hash_entry **)xrealloc(start_stop_syms,(start_stop_count + 5) * 8)\n      ;\n    }\n    start_stop_syms[start_stop_count] = pbVar1;\n    start_stop_count = start_stop_count + 1;\n  }" if (parenthesized_expression "(pbVar1 != (bfd_link_hash_entry *)0x0)" ( (binary_expression "pbVar1 != (bfd_link_hash_entry *)0x0" identifier != (cast_expression "(bfd_link_hash_entry *)0x0" ( (type_descriptor "bfd_link_hash_entry *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    if (start_stop_count == start_stop_alloc) {\n      start_stop_alloc = (start_stop_count + 5) * 2;\n      start_stop_syms = (bfd_link_hash_entry **)xrealloc(start_stop_syms,(start_stop_count + 5) * 8)\n      ;\n    }\n    start_stop_syms[start_stop_count] = pbVar1;\n    start_stop_count = start_stop_count + 1;\n  }" { (if_statement "if (start_stop_count == start_stop_alloc) {\n      start_stop_alloc = (start_stop_count + 5) * 2;\n      start_stop_syms = (bfd_link_hash_entry **)xrealloc(start_stop_syms,(start_stop_count + 5) * 8)\n      ;\n    }" if (parenthesized_expression "(start_stop_count == start_stop_alloc)" ( (binary_expression "start_stop_count == start_stop_alloc" identifier == identifier) )) (compound_statement "{\n      start_stop_alloc = (start_stop_count + 5) * 2;\n      start_stop_syms = (bfd_link_hash_entry **)xrealloc(start_stop_syms,(start_stop_count + 5) * 8)\n      ;\n    }" { (expression_statement "start_stop_alloc = (start_stop_count + 5) * 2;" (assignment_expression "start_stop_alloc = (start_stop_count + 5) * 2" identifier = (binary_expression "(start_stop_count + 5) * 2" (parenthesized_expression "(start_stop_count + 5)" ( (binary_expression "start_stop_count + 5" identifier + number_literal) )) * number_literal)) ;) (expression_statement "start_stop_syms = (bfd_link_hash_entry **)xrealloc(start_stop_syms,(start_stop_count + 5) * 8)\n      ;" (assignment_expression "start_stop_syms = (bfd_link_hash_entry **)xrealloc(start_stop_syms,(start_stop_count + 5) * 8)" identifier = (cast_expression "(bfd_link_hash_entry **)xrealloc(start_stop_syms,(start_stop_count + 5) * 8)" ( (type_descriptor "bfd_link_hash_entry **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (call_expression "xrealloc(start_stop_syms,(start_stop_count + 5) * 8)" identifier (argument_list "(start_stop_syms,(start_stop_count + 5) * 8)" ( identifier , (binary_expression "(start_stop_count + 5) * 8" (parenthesized_expression "(start_stop_count + 5)" ( (binary_expression "start_stop_count + 5" identifier + number_literal) )) * number_literal) ))))) ;) })) (expression_statement "start_stop_syms[start_stop_count] = pbVar1;" (assignment_expression "start_stop_syms[start_stop_count] = pbVar1" (subscript_expression "start_stop_syms[start_stop_count]" identifier [ identifier ]) = identifier) ;) (expression_statement "start_stop_count = start_stop_count + 1;" (assignment_expression "start_stop_count = start_stop_count + 1" identifier = (binary_expression "start_stop_count + 1" identifier + number_literal)) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void __regparm3 FUN_0001eaf0(undefined4 param_1,undefined4 param_2)\n\n{\n  int iVar1;\n  \n  iVar1 = (**(code **)(*(int *)(DAT_00091c50 + 4) + 0x1a4))(&DAT_00091c20,param_1,param_2);\n  if (iVar1 != 0) {\n    if (DAT_000917c8 == DAT_000917c4) {\n      DAT_000917c4 = (DAT_000917c8 + 5) * 2;\n      DAT_000917cc = xrealloc(DAT_000917cc,(DAT_000917c8 + 5) * 8);\n    }\n    *(int *)(DAT_000917cc + DAT_000917c8 * 4) = iVar1;\n    DAT_000917c8 = DAT_000917c8 + 1;\n  }\n  return;\n}\n\n" (function_definition "void __regparm3 FUN_0001eaf0(undefined4 param_1,undefined4 param_2)\n\n{\n  int iVar1;\n  \n  iVar1 = (**(code **)(*(int *)(DAT_00091c50 + 4) + 0x1a4))(&DAT_00091c20,param_1,param_2);\n  if (iVar1 != 0) {\n    if (DAT_000917c8 == DAT_000917c4) {\n      DAT_000917c4 = (DAT_000917c8 + 5) * 2;\n      DAT_000917cc = xrealloc(DAT_000917cc,(DAT_000917c8 + 5) * 8);\n    }\n    *(int *)(DAT_000917cc + DAT_000917c8 * 4) = iVar1;\n    DAT_000917c8 = DAT_000917c8 + 1;\n  }\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_0001eaf0(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  \n  iVar1 = (**(code **)(*(int *)(DAT_00091c50 + 4) + 0x1a4))(&DAT_00091c20,param_1,param_2);\n  if (iVar1 != 0) {\n    if (DAT_000917c8 == DAT_000917c4) {\n      DAT_000917c4 = (DAT_000917c8 + 5) * 2;\n      DAT_000917cc = xrealloc(DAT_000917cc,(DAT_000917c8 + 5) * 8);\n    }\n    *(int *)(DAT_000917cc + DAT_000917c8 * 4) = iVar1;\n    DAT_000917c8 = DAT_000917c8 + 1;\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = (**(code **)(*(int *)(DAT_00091c50 + 4) + 0x1a4))(&DAT_00091c20,param_1,param_2);" (assignment_expression "iVar1 = (**(code **)(*(int *)(DAT_00091c50 + 4) + 0x1a4))(&DAT_00091c20,param_1,param_2)" identifier = (call_expression "(**(code **)(*(int *)(DAT_00091c50 + 4) + 0x1a4))(&DAT_00091c20,param_1,param_2)" (parenthesized_expression "(**(code **)(*(int *)(DAT_00091c50 + 4) + 0x1a4))" ( (pointer_expression "**(code **)(*(int *)(DAT_00091c50 + 4) + 0x1a4)" * (pointer_expression "*(code **)(*(int *)(DAT_00091c50 + 4) + 0x1a4)" * (cast_expression "(code **)(*(int *)(DAT_00091c50 + 4) + 0x1a4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(DAT_00091c50 + 4) + 0x1a4)" ( (binary_expression "*(int *)(DAT_00091c50 + 4) + 0x1a4" (pointer_expression "*(int *)(DAT_00091c50 + 4)" * (cast_expression "(int *)(DAT_00091c50 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_00091c50 + 4)" ( (binary_expression "DAT_00091c50 + 4" identifier + number_literal) )))) + number_literal) ))))) )) (argument_list "(&DAT_00091c20,param_1,param_2)" ( (pointer_expression "&DAT_00091c20" & identifier) , identifier , identifier )))) ;) (if_statement "if (iVar1 != 0) {\n    if (DAT_000917c8 == DAT_000917c4) {\n      DAT_000917c4 = (DAT_000917c8 + 5) * 2;\n      DAT_000917cc = xrealloc(DAT_000917cc,(DAT_000917c8 + 5) * 8);\n    }\n    *(int *)(DAT_000917cc + DAT_000917c8 * 4) = iVar1;\n    DAT_000917c8 = DAT_000917c8 + 1;\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    if (DAT_000917c8 == DAT_000917c4) {\n      DAT_000917c4 = (DAT_000917c8 + 5) * 2;\n      DAT_000917cc = xrealloc(DAT_000917cc,(DAT_000917c8 + 5) * 8);\n    }\n    *(int *)(DAT_000917cc + DAT_000917c8 * 4) = iVar1;\n    DAT_000917c8 = DAT_000917c8 + 1;\n  }" { (if_statement "if (DAT_000917c8 == DAT_000917c4) {\n      DAT_000917c4 = (DAT_000917c8 + 5) * 2;\n      DAT_000917cc = xrealloc(DAT_000917cc,(DAT_000917c8 + 5) * 8);\n    }" if (parenthesized_expression "(DAT_000917c8 == DAT_000917c4)" ( (binary_expression "DAT_000917c8 == DAT_000917c4" identifier == identifier) )) (compound_statement "{\n      DAT_000917c4 = (DAT_000917c8 + 5) * 2;\n      DAT_000917cc = xrealloc(DAT_000917cc,(DAT_000917c8 + 5) * 8);\n    }" { (expression_statement "DAT_000917c4 = (DAT_000917c8 + 5) * 2;" (assignment_expression "DAT_000917c4 = (DAT_000917c8 + 5) * 2" identifier = (binary_expression "(DAT_000917c8 + 5) * 2" (parenthesized_expression "(DAT_000917c8 + 5)" ( (binary_expression "DAT_000917c8 + 5" identifier + number_literal) )) * number_literal)) ;) (expression_statement "DAT_000917cc = xrealloc(DAT_000917cc,(DAT_000917c8 + 5) * 8);" (assignment_expression "DAT_000917cc = xrealloc(DAT_000917cc,(DAT_000917c8 + 5) * 8)" identifier = (call_expression "xrealloc(DAT_000917cc,(DAT_000917c8 + 5) * 8)" identifier (argument_list "(DAT_000917cc,(DAT_000917c8 + 5) * 8)" ( identifier , (binary_expression "(DAT_000917c8 + 5) * 8" (parenthesized_expression "(DAT_000917c8 + 5)" ( (binary_expression "DAT_000917c8 + 5" identifier + number_literal) )) * number_literal) )))) ;) })) (expression_statement "*(int *)(DAT_000917cc + DAT_000917c8 * 4) = iVar1;" (assignment_expression "*(int *)(DAT_000917cc + DAT_000917c8 * 4) = iVar1" (pointer_expression "*(int *)(DAT_000917cc + DAT_000917c8 * 4)" * (cast_expression "(int *)(DAT_000917cc + DAT_000917c8 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_000917cc + DAT_000917c8 * 4)" ( (binary_expression "DAT_000917cc + DAT_000917c8 * 4" identifier + (binary_expression "DAT_000917c8 * 4" identifier * number_literal)) )))) = identifier) ;) (expression_statement "DAT_000917c8 = DAT_000917c8 + 1;" (assignment_expression "DAT_000917c8 = DAT_000917c8 + 1" identifier = (binary_expression "DAT_000917c8 + 1" identifier + number_literal)) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (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 * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))))) )) (argument_list ( (pointer_expression & IDENT) , IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression IDENT + LIT) )) * LIT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (binary_expression (parenthesized_expression ( (binary_expression IDENT + LIT) )) * LIT) )))) ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (return_statement return ;) })))
(function_definition "void __regparm3 FUN_0001eaf0(undefined4 param_1,undefined4 param_2)\n\n{\n  int iVar1;\n  \n  iVar1 = (**(code **)(*(int *)(DAT_00091c50 + 4) + 0x1a4))(&DAT_00091c20,param_1,param_2);\n  if (iVar1 != 0) {\n    if (DAT_000917c8 == DAT_000917c4) {\n      DAT_000917c4 = (DAT_000917c8 + 5) * 2;\n      DAT_000917cc = xrealloc(DAT_000917cc,(DAT_000917c8 + 5) * 8);\n    }\n    *(int *)(DAT_000917cc + DAT_000917c8 * 4) = iVar1;\n    DAT_000917c8 = DAT_000917c8 + 1;\n  }\n  return;\n}" (primitive_type "void") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_0001eaf0(undefined4 param_1,undefined4 param_2)" (identifier "FUN_0001eaf0") (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  \n  iVar1 = (**(code **)(*(int *)(DAT_00091c50 + 4) + 0x1a4))(&DAT_00091c20,param_1,param_2);\n  if (iVar1 != 0) {\n    if (DAT_000917c8 == DAT_000917c4) {\n      DAT_000917c4 = (DAT_000917c8 + 5) * 2;\n      DAT_000917cc = xrealloc(DAT_000917cc,(DAT_000917c8 + 5) * 8);\n    }\n    *(int *)(DAT_000917cc + DAT_000917c8 * 4) = iVar1;\n    DAT_000917c8 = DAT_000917c8 + 1;\n  }\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (expression_statement "iVar1 = (**(code **)(*(int *)(DAT_00091c50 + 4) + 0x1a4))(&DAT_00091c20,param_1,param_2);" (assignment_expression "iVar1 = (**(code **)(*(int *)(DAT_00091c50 + 4) + 0x1a4))(&DAT_00091c20,param_1,param_2)" (identifier "iVar1") (= "=") (call_expression "(**(code **)(*(int *)(DAT_00091c50 + 4) + 0x1a4))(&DAT_00091c20,param_1,param_2)" (parenthesized_expression "(**(code **)(*(int *)(DAT_00091c50 + 4) + 0x1a4))" (( "(") (pointer_expression "**(code **)(*(int *)(DAT_00091c50 + 4) + 0x1a4)" (* "*") (pointer_expression "*(code **)(*(int *)(DAT_00091c50 + 4) + 0x1a4)" (* "*") (cast_expression "(code **)(*(int *)(DAT_00091c50 + 4) + 0x1a4)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*(int *)(DAT_00091c50 + 4) + 0x1a4)" (( "(") (binary_expression "*(int *)(DAT_00091c50 + 4) + 0x1a4" (pointer_expression "*(int *)(DAT_00091c50 + 4)" (* "*") (cast_expression "(int *)(DAT_00091c50 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_00091c50 + 4)" (( "(") (binary_expression "DAT_00091c50 + 4" (identifier "DAT_00091c50") (+ "+") (number_literal "4")) () ")")))) (+ "+") (number_literal "0x1a4")) () ")"))))) () ")")) (argument_list "(&DAT_00091c20,param_1,param_2)" (( "(") (pointer_expression "&DAT_00091c20" (& "&") (identifier "DAT_00091c20")) (, ",") (identifier "param_1") (, ",") (identifier "param_2") () ")")))) (; ";")) (if_statement "if (iVar1 != 0) {\n    if (DAT_000917c8 == DAT_000917c4) {\n      DAT_000917c4 = (DAT_000917c8 + 5) * 2;\n      DAT_000917cc = xrealloc(DAT_000917cc,(DAT_000917c8 + 5) * 8);\n    }\n    *(int *)(DAT_000917cc + DAT_000917c8 * 4) = iVar1;\n    DAT_000917c8 = DAT_000917c8 + 1;\n  }" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    if (DAT_000917c8 == DAT_000917c4) {\n      DAT_000917c4 = (DAT_000917c8 + 5) * 2;\n      DAT_000917cc = xrealloc(DAT_000917cc,(DAT_000917c8 + 5) * 8);\n    }\n    *(int *)(DAT_000917cc + DAT_000917c8 * 4) = iVar1;\n    DAT_000917c8 = DAT_000917c8 + 1;\n  }" ({ "{") (if_statement "if (DAT_000917c8 == DAT_000917c4) {\n      DAT_000917c4 = (DAT_000917c8 + 5) * 2;\n      DAT_000917cc = xrealloc(DAT_000917cc,(DAT_000917c8 + 5) * 8);\n    }" (if "if") (parenthesized_expression "(DAT_000917c8 == DAT_000917c4)" (( "(") (binary_expression "DAT_000917c8 == DAT_000917c4" (identifier "DAT_000917c8") (== "==") (identifier "DAT_000917c4")) () ")")) (compound_statement "{\n      DAT_000917c4 = (DAT_000917c8 + 5) * 2;\n      DAT_000917cc = xrealloc(DAT_000917cc,(DAT_000917c8 + 5) * 8);\n    }" ({ "{") (expression_statement "DAT_000917c4 = (DAT_000917c8 + 5) * 2;" (assignment_expression "DAT_000917c4 = (DAT_000917c8 + 5) * 2" (identifier "DAT_000917c4") (= "=") (binary_expression "(DAT_000917c8 + 5) * 2" (parenthesized_expression "(DAT_000917c8 + 5)" (( "(") (binary_expression "DAT_000917c8 + 5" (identifier "DAT_000917c8") (+ "+") (number_literal "5")) () ")")) (* "*") (number_literal "2"))) (; ";")) (expression_statement "DAT_000917cc = xrealloc(DAT_000917cc,(DAT_000917c8 + 5) * 8);" (assignment_expression "DAT_000917cc = xrealloc(DAT_000917cc,(DAT_000917c8 + 5) * 8)" (identifier "DAT_000917cc") (= "=") (call_expression "xrealloc(DAT_000917cc,(DAT_000917c8 + 5) * 8)" (identifier "xrealloc") (argument_list "(DAT_000917cc,(DAT_000917c8 + 5) * 8)" (( "(") (identifier "DAT_000917cc") (, ",") (binary_expression "(DAT_000917c8 + 5) * 8" (parenthesized_expression "(DAT_000917c8 + 5)" (( "(") (binary_expression "DAT_000917c8 + 5" (identifier "DAT_000917c8") (+ "+") (number_literal "5")) () ")")) (* "*") (number_literal "8")) () ")")))) (; ";")) (} "}"))) (expression_statement "*(int *)(DAT_000917cc + DAT_000917c8 * 4) = iVar1;" (assignment_expression "*(int *)(DAT_000917cc + DAT_000917c8 * 4) = iVar1" (pointer_expression "*(int *)(DAT_000917cc + DAT_000917c8 * 4)" (* "*") (cast_expression "(int *)(DAT_000917cc + DAT_000917c8 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_000917cc + DAT_000917c8 * 4)" (( "(") (binary_expression "DAT_000917cc + DAT_000917c8 * 4" (identifier "DAT_000917cc") (+ "+") (binary_expression "DAT_000917c8 * 4" (identifier "DAT_000917c8") (* "*") (number_literal "4"))) () ")")))) (= "=") (identifier "iVar1")) (; ";")) (expression_statement "DAT_000917c8 = DAT_000917c8 + 1;" (assignment_expression "DAT_000917c8 = DAT_000917c8 + 1" (identifier "DAT_000917c8") (= "=") (binary_expression "DAT_000917c8 + 1" (identifier "DAT_000917c8") (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

void __regparm3 function_1(char *symbol,type_1 *sec)

{
  type_2 *var_1;
  
  var_1 = (*(link_info.output_bfd)->xvec->_bfd_define_start_stop)(&link_info,symbol,sec);
  if (var_1 != (type_2 *)0x0) {
    if (var_2 == var_3) {
      var_3 = (var_2 + 5) * 2;
      start_stop_syms = (type_2 **)var_4(start_stop_syms,(var_2 + 5) * 8)
      ;
    }
    start_stop_syms[var_2] = var_1;
    var_2 = var_2 + 1;
  }
  return;
}


(translation_unit (function_definition type: (primitive_type) (ERROR (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)) (expression_statement (assignment_expression left: (identifier) right: (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: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))))))) arguments: (argument_list (pointer_expression argument: (identifier)) (identifier) (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) 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: (binary_expression left: (identifier) right: (number_literal)))))) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))) (return_statement))))

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

void __regparm3 MASKED(undefined4 param_1,undefined4 param_2)

{
  int iVar1;
  
  iVar1 = (**(code **)(*(int *)(DAT_00091c50 + 4) + 0x1a4))(&DAT_00091c20,param_1,param_2);
  if (iVar1 != 0) {
    if (DAT_000917c8 == DAT_000917c4) {
      DAT_000917c4 = (DAT_000917c8 + 5) * 2;
      DAT_000917cc = xrealloc(DAT_000917cc,(DAT_000917c8 + 5) * 8);
    }
    *(int *)(DAT_000917cc + DAT_000917c8 * 4) = iVar1;
    DAT_000917c8 = DAT_000917c8 + 1;
  }
  return;
}

