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

void ldlang_add_file(lang_input_statement_type *entry)

{
  bfd *pbVar1;
  
  *file_chain.tail = (lang_statement_union *)entry;
  file_chain.tail = &entry->next;
  pbVar1 = entry->the_bfd;
  if ((pbVar1->link).next != (bfd *)0x0) {
    info_assert("../../ld/ldlang.c",0x19f4);
    pbVar1 = entry->the_bfd;
  }
  if (link_info.output_bfd == pbVar1) {
    info_assert("../../ld/ldlang.c",0x19f5);
    pbVar1 = entry->the_bfd;
  }
  *link_info.input_bfds_tail = pbVar1;
  link_info.input_bfds_tail = (bfd **)&pbVar1->link;
  pbVar1->usrdata = entry;
  bfd_set_gp_size(pbVar1,g_switch_value);
  bfd_map_over_sections(entry->the_bfd,section_already_linked,entry);
  return;
}



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

void FUN_000276a0(int param_1)

{
  int iVar1;
  
  *DAT_001cf6c0 = param_1;
  DAT_001cf6c0 = (int *)(param_1 + 0x18);
  iVar1 = *(int *)(param_1 + 0x10);
  if (*(int *)(iVar1 + 0x9c) != 0) {
    FUN_00034d70("../../ld/ldlang.c",0x19f4);
    iVar1 = *(int *)(param_1 + 0x10);
  }
  if (DAT_001d0414 == iVar1) {
    FUN_00034d70("../../ld/ldlang.c",0x19f5);
    iVar1 = *(int *)(param_1 + 0x10);
  }
  *DAT_001d0420 = iVar1;
  DAT_001d0420 = (int *)(iVar1 + 0x9c);
  *(int *)(iVar1 + 0xa4) = param_1;
  bfd_set_gp_size(iVar1,DAT_001ce3a8);
  bfd_map_over_sections(*(undefined4 *)(param_1 + 0x10),FUN_000211f0,param_1);
  return;
}


PUSH EDI
PUSH ESI
PUSH EBX
MOV ESI,dword ptr [ESP + 0x10]
CALL 0x00017b80
ADD EBX,0x1a6954
MOV EAX,dword ptr [EBX + 0x16c0]
MOV dword ptr [EAX],ESI
LEA EAX,[ESI + 0x18]
MOV dword ptr [EBX + 0x16c0],EAX
MOV EAX,dword ptr [ESI + 0x10]
MOV EDX,dword ptr [EAX + 0x9c]
TEST EDX,EDX
JZ 0x000276ea
SUB ESP,0x8
LEA EAX,[EBX + 0xffeacdbe]
PUSH 0x19f4
PUSH EAX
CALL 0x00034d70
MOV EAX,dword ptr [ESI + 0x10]
ADD ESP,0x10
LEA EDI,[EBX + 0x23e0]
CMP dword ptr [EDI + 0x34],EAX
JZ 0x00027738
MOV EDX,dword ptr [EDI + 0x40]
SUB ESP,0x8
MOV dword ptr [EDX],EAX
LEA EDX,[EAX + 0x9c]
MOV dword ptr [EDI + 0x40],EDX
LEA EDX,[EBX + 0x3a8]
MOV dword ptr [EAX + 0xa4],ESI
PUSH dword ptr [EDX]
PUSH EAX
CALL 0x00016960
ADD ESP,0xc
LEA EAX,[EBX + 0xffe531f0]
PUSH ESI
PUSH EAX
PUSH dword ptr [ESI + 0x10]
CALL 0x00016c10
ADD ESP,0x10
POP EBX
POP ESI
POP EDI
RET
SUB ESP,0x8
LEA EAX,[EBX + 0xffeacdbe]
PUSH 0x19f5
PUSH EAX
CALL 0x00034d70
MOV EAX,dword ptr [ESI + 0x10]
ADD ESP,0x10
JMP 0x000276f5
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_000276a0(int param_1)\n\n{\n  int iVar1;\n  \n  *DAT_001cf6c0 = param_1;\n  DAT_001cf6c0 = (int *)(param_1 + 0x18);\n  iVar1 = *(int *)(param_1 + 0x10);\n  if (*(int *)(iVar1 + 0x9c) != 0) {\n    FUN_00034d70("../../ld/ldlang.c",0x19f4);\n    iVar1 = *(int *)(param_1 + 0x10);\n  }\n  if (DAT_001d0414 == iVar1) {\n    FUN_00034d70("../../ld/ldlang.c",0x19f5);\n    iVar1 = *(int *)(param_1 + 0x10);\n  }\n  *DAT_001d0420 = iVar1;\n  DAT_001d0420 = (int *)(iVar1 + 0x9c);\n  *(int *)(iVar1 + 0xa4) = param_1;\n  bfd_set_gp_size(iVar1,DAT_001ce3a8);\n  bfd_map_over_sections(*(undefined4 *)(param_1 + 0x10),FUN_000211f0,param_1);\n  return;\n}\n\n" comment (function_definition "void FUN_000276a0(int param_1)\n\n{\n  int iVar1;\n  \n  *DAT_001cf6c0 = param_1;\n  DAT_001cf6c0 = (int *)(param_1 + 0x18);\n  iVar1 = *(int *)(param_1 + 0x10);\n  if (*(int *)(iVar1 + 0x9c) != 0) {\n    FUN_00034d70("../../ld/ldlang.c",0x19f4);\n    iVar1 = *(int *)(param_1 + 0x10);\n  }\n  if (DAT_001d0414 == iVar1) {\n    FUN_00034d70("../../ld/ldlang.c",0x19f5);\n    iVar1 = *(int *)(param_1 + 0x10);\n  }\n  *DAT_001d0420 = iVar1;\n  DAT_001d0420 = (int *)(iVar1 + 0x9c);\n  *(int *)(iVar1 + 0xa4) = param_1;\n  bfd_set_gp_size(iVar1,DAT_001ce3a8);\n  bfd_map_over_sections(*(undefined4 *)(param_1 + 0x10),FUN_000211f0,param_1);\n  return;\n}" primitive_type (function_declarator "FUN_000276a0(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  *DAT_001cf6c0 = param_1;\n  DAT_001cf6c0 = (int *)(param_1 + 0x18);\n  iVar1 = *(int *)(param_1 + 0x10);\n  if (*(int *)(iVar1 + 0x9c) != 0) {\n    FUN_00034d70("../../ld/ldlang.c",0x19f4);\n    iVar1 = *(int *)(param_1 + 0x10);\n  }\n  if (DAT_001d0414 == iVar1) {\n    FUN_00034d70("../../ld/ldlang.c",0x19f5);\n    iVar1 = *(int *)(param_1 + 0x10);\n  }\n  *DAT_001d0420 = iVar1;\n  DAT_001d0420 = (int *)(iVar1 + 0x9c);\n  *(int *)(iVar1 + 0xa4) = param_1;\n  bfd_set_gp_size(iVar1,DAT_001ce3a8);\n  bfd_map_over_sections(*(undefined4 *)(param_1 + 0x10),FUN_000211f0,param_1);\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "*DAT_001cf6c0 = param_1;" (assignment_expression "*DAT_001cf6c0 = param_1" (pointer_expression "*DAT_001cf6c0" * identifier) = identifier) ;) (expression_statement "DAT_001cf6c0 = (int *)(param_1 + 0x18);" (assignment_expression "DAT_001cf6c0 = (int *)(param_1 + 0x18)" identifier = (cast_expression "(int *)(param_1 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) )))) ;) (expression_statement "iVar1 = *(int *)(param_1 + 0x10);" (assignment_expression "iVar1 = *(int *)(param_1 + 0x10)" identifier = (pointer_expression "*(int *)(param_1 + 0x10)" * (cast_expression "(int *)(param_1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) ))))) ;) (if_statement "if (*(int *)(iVar1 + 0x9c) != 0) {\n    FUN_00034d70("../../ld/ldlang.c",0x19f4);\n    iVar1 = *(int *)(param_1 + 0x10);\n  }" if (parenthesized_expression "(*(int *)(iVar1 + 0x9c) != 0)" ( (binary_expression "*(int *)(iVar1 + 0x9c) != 0" (pointer_expression "*(int *)(iVar1 + 0x9c)" * (cast_expression "(int *)(iVar1 + 0x9c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x9c)" ( (binary_expression "iVar1 + 0x9c" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    FUN_00034d70("../../ld/ldlang.c",0x19f4);\n    iVar1 = *(int *)(param_1 + 0x10);\n  }" { (expression_statement "FUN_00034d70("../../ld/ldlang.c",0x19f4);" (call_expression "FUN_00034d70("../../ld/ldlang.c",0x19f4)" identifier (argument_list "("../../ld/ldlang.c",0x19f4)" ( (string_literal ""../../ld/ldlang.c"" " string_content ") , number_literal ))) ;) (expression_statement "iVar1 = *(int *)(param_1 + 0x10);" (assignment_expression "iVar1 = *(int *)(param_1 + 0x10)" identifier = (pointer_expression "*(int *)(param_1 + 0x10)" * (cast_expression "(int *)(param_1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) ))))) ;) })) (if_statement "if (DAT_001d0414 == iVar1) {\n    FUN_00034d70("../../ld/ldlang.c",0x19f5);\n    iVar1 = *(int *)(param_1 + 0x10);\n  }" if (parenthesized_expression "(DAT_001d0414 == iVar1)" ( (binary_expression "DAT_001d0414 == iVar1" identifier == identifier) )) (compound_statement "{\n    FUN_00034d70("../../ld/ldlang.c",0x19f5);\n    iVar1 = *(int *)(param_1 + 0x10);\n  }" { (expression_statement "FUN_00034d70("../../ld/ldlang.c",0x19f5);" (call_expression "FUN_00034d70("../../ld/ldlang.c",0x19f5)" identifier (argument_list "("../../ld/ldlang.c",0x19f5)" ( (string_literal ""../../ld/ldlang.c"" " string_content ") , number_literal ))) ;) (expression_statement "iVar1 = *(int *)(param_1 + 0x10);" (assignment_expression "iVar1 = *(int *)(param_1 + 0x10)" identifier = (pointer_expression "*(int *)(param_1 + 0x10)" * (cast_expression "(int *)(param_1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) ))))) ;) })) (expression_statement "*DAT_001d0420 = iVar1;" (assignment_expression "*DAT_001d0420 = iVar1" (pointer_expression "*DAT_001d0420" * identifier) = identifier) ;) (expression_statement "DAT_001d0420 = (int *)(iVar1 + 0x9c);" (assignment_expression "DAT_001d0420 = (int *)(iVar1 + 0x9c)" identifier = (cast_expression "(int *)(iVar1 + 0x9c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x9c)" ( (binary_expression "iVar1 + 0x9c" identifier + number_literal) )))) ;) (expression_statement "*(int *)(iVar1 + 0xa4) = param_1;" (assignment_expression "*(int *)(iVar1 + 0xa4) = param_1" (pointer_expression "*(int *)(iVar1 + 0xa4)" * (cast_expression "(int *)(iVar1 + 0xa4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0xa4)" ( (binary_expression "iVar1 + 0xa4" identifier + number_literal) )))) = identifier) ;) (expression_statement "bfd_set_gp_size(iVar1,DAT_001ce3a8);" (call_expression "bfd_set_gp_size(iVar1,DAT_001ce3a8)" identifier (argument_list "(iVar1,DAT_001ce3a8)" ( identifier , identifier ))) ;) (expression_statement "bfd_map_over_sections(*(undefined4 *)(param_1 + 0x10),FUN_000211f0,param_1);" (call_expression "bfd_map_over_sections(*(undefined4 *)(param_1 + 0x10),FUN_000211f0,param_1)" identifier (argument_list "(*(undefined4 *)(param_1 + 0x10),FUN_000211f0,param_1)" ( (pointer_expression "*(undefined4 *)(param_1 + 0x10)" * (cast_expression "(undefined4 *)(param_1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) , identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\nvoid ldlang_add_file(lang_input_statement_type *entry)\n\n{\n  bfd *pbVar1;\n  \n  *file_chain.tail = (lang_statement_union *)entry;\n  file_chain.tail = &entry->next;\n  pbVar1 = entry->the_bfd;\n  if ((pbVar1->link).next != (bfd *)0x0) {\n    info_assert("../../ld/ldlang.c",0x19f4);\n    pbVar1 = entry->the_bfd;\n  }\n  if (link_info.output_bfd == pbVar1) {\n    info_assert("../../ld/ldlang.c",0x19f5);\n    pbVar1 = entry->the_bfd;\n  }\n  *link_info.input_bfds_tail = pbVar1;\n  link_info.input_bfds_tail = (bfd **)&pbVar1->link;\n  pbVar1->usrdata = entry;\n  bfd_set_gp_size(pbVar1,g_switch_value);\n  bfd_map_over_sections(entry->the_bfd,section_already_linked,entry);\n  return;\n}\n\n" comment comment (function_definition "void ldlang_add_file(lang_input_statement_type *entry)\n\n{\n  bfd *pbVar1;\n  \n  *file_chain.tail = (lang_statement_union *)entry;\n  file_chain.tail = &entry->next;\n  pbVar1 = entry->the_bfd;\n  if ((pbVar1->link).next != (bfd *)0x0) {\n    info_assert("../../ld/ldlang.c",0x19f4);\n    pbVar1 = entry->the_bfd;\n  }\n  if (link_info.output_bfd == pbVar1) {\n    info_assert("../../ld/ldlang.c",0x19f5);\n    pbVar1 = entry->the_bfd;\n  }\n  *link_info.input_bfds_tail = pbVar1;\n  link_info.input_bfds_tail = (bfd **)&pbVar1->link;\n  pbVar1->usrdata = entry;\n  bfd_set_gp_size(pbVar1,g_switch_value);\n  bfd_map_over_sections(entry->the_bfd,section_already_linked,entry);\n  return;\n}" primitive_type (function_declarator "ldlang_add_file(lang_input_statement_type *entry)" identifier (parameter_list "(lang_input_statement_type *entry)" ( (parameter_declaration "lang_input_statement_type *entry" type_identifier (pointer_declarator "*entry" * identifier)) ))) (compound_statement "{\n  bfd *pbVar1;\n  \n  *file_chain.tail = (lang_statement_union *)entry;\n  file_chain.tail = &entry->next;\n  pbVar1 = entry->the_bfd;\n  if ((pbVar1->link).next != (bfd *)0x0) {\n    info_assert("../../ld/ldlang.c",0x19f4);\n    pbVar1 = entry->the_bfd;\n  }\n  if (link_info.output_bfd == pbVar1) {\n    info_assert("../../ld/ldlang.c",0x19f5);\n    pbVar1 = entry->the_bfd;\n  }\n  *link_info.input_bfds_tail = pbVar1;\n  link_info.input_bfds_tail = (bfd **)&pbVar1->link;\n  pbVar1->usrdata = entry;\n  bfd_set_gp_size(pbVar1,g_switch_value);\n  bfd_map_over_sections(entry->the_bfd,section_already_linked,entry);\n  return;\n}" { (declaration "bfd *pbVar1;" type_identifier (pointer_declarator "*pbVar1" * identifier) ;) (expression_statement "*file_chain.tail = (lang_statement_union *)entry;" (assignment_expression "*file_chain.tail = (lang_statement_union *)entry" (pointer_expression "*file_chain.tail" * (field_expression "file_chain.tail" identifier . field_identifier)) = (cast_expression "(lang_statement_union *)entry" ( (type_descriptor "lang_statement_union *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "file_chain.tail = &entry->next;" (assignment_expression "file_chain.tail = &entry->next" (field_expression "file_chain.tail" identifier . field_identifier) = (pointer_expression "&entry->next" & (field_expression "entry->next" identifier -> field_identifier))) ;) (expression_statement "pbVar1 = entry->the_bfd;" (assignment_expression "pbVar1 = entry->the_bfd" identifier = (field_expression "entry->the_bfd" identifier -> field_identifier)) ;) (if_statement "if ((pbVar1->link).next != (bfd *)0x0) {\n    info_assert("../../ld/ldlang.c",0x19f4);\n    pbVar1 = entry->the_bfd;\n  }" if (parenthesized_expression "((pbVar1->link).next != (bfd *)0x0)" ( (binary_expression "(pbVar1->link).next != (bfd *)0x0" (field_expression "(pbVar1->link).next" (parenthesized_expression "(pbVar1->link)" ( (field_expression "pbVar1->link" identifier -> field_identifier) )) . field_identifier) != (cast_expression "(bfd *)0x0" ( (type_descriptor "bfd *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    info_assert("../../ld/ldlang.c",0x19f4);\n    pbVar1 = entry->the_bfd;\n  }" { (expression_statement "info_assert("../../ld/ldlang.c",0x19f4);" (call_expression "info_assert("../../ld/ldlang.c",0x19f4)" identifier (argument_list "("../../ld/ldlang.c",0x19f4)" ( (string_literal ""../../ld/ldlang.c"" " string_content ") , number_literal ))) ;) (expression_statement "pbVar1 = entry->the_bfd;" (assignment_expression "pbVar1 = entry->the_bfd" identifier = (field_expression "entry->the_bfd" identifier -> field_identifier)) ;) })) (if_statement "if (link_info.output_bfd == pbVar1) {\n    info_assert("../../ld/ldlang.c",0x19f5);\n    pbVar1 = entry->the_bfd;\n  }" if (parenthesized_expression "(link_info.output_bfd == pbVar1)" ( (binary_expression "link_info.output_bfd == pbVar1" (field_expression "link_info.output_bfd" identifier . field_identifier) == identifier) )) (compound_statement "{\n    info_assert("../../ld/ldlang.c",0x19f5);\n    pbVar1 = entry->the_bfd;\n  }" { (expression_statement "info_assert("../../ld/ldlang.c",0x19f5);" (call_expression "info_assert("../../ld/ldlang.c",0x19f5)" identifier (argument_list "("../../ld/ldlang.c",0x19f5)" ( (string_literal ""../../ld/ldlang.c"" " string_content ") , number_literal ))) ;) (expression_statement "pbVar1 = entry->the_bfd;" (assignment_expression "pbVar1 = entry->the_bfd" identifier = (field_expression "entry->the_bfd" identifier -> field_identifier)) ;) })) (expression_statement "*link_info.input_bfds_tail = pbVar1;" (assignment_expression "*link_info.input_bfds_tail = pbVar1" (pointer_expression "*link_info.input_bfds_tail" * (field_expression "link_info.input_bfds_tail" identifier . field_identifier)) = identifier) ;) (expression_statement "link_info.input_bfds_tail = (bfd **)&pbVar1->link;" (assignment_expression "link_info.input_bfds_tail = (bfd **)&pbVar1->link" (field_expression "link_info.input_bfds_tail" identifier . field_identifier) = (cast_expression "(bfd **)&pbVar1->link" ( (type_descriptor "bfd **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (pointer_expression "&pbVar1->link" & (field_expression "pbVar1->link" identifier -> field_identifier)))) ;) (expression_statement "pbVar1->usrdata = entry;" (assignment_expression "pbVar1->usrdata = entry" (field_expression "pbVar1->usrdata" identifier -> field_identifier) = identifier) ;) (expression_statement "bfd_set_gp_size(pbVar1,g_switch_value);" (call_expression "bfd_set_gp_size(pbVar1,g_switch_value)" identifier (argument_list "(pbVar1,g_switch_value)" ( identifier , identifier ))) ;) (expression_statement "bfd_map_over_sections(entry->the_bfd,section_already_linked,entry);" (call_expression "bfd_map_over_sections(entry->the_bfd,section_already_linked,entry)" identifier (argument_list "(entry->the_bfd,section_already_linked,entry)" ( (field_expression "entry->the_bfd" identifier -> field_identifier) , identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_000276a0(int param_1)\n\n{\n  int iVar1;\n  \n  *DAT_001cf6c0 = param_1;\n  DAT_001cf6c0 = (int *)(param_1 + 0x18);\n  iVar1 = *(int *)(param_1 + 0x10);\n  if (*(int *)(iVar1 + 0x9c) != 0) {\n    FUN_00034d70("../../ld/ldlang.c",0x19f4);\n    iVar1 = *(int *)(param_1 + 0x10);\n  }\n  if (DAT_001d0414 == iVar1) {\n    FUN_00034d70("../../ld/ldlang.c",0x19f5);\n    iVar1 = *(int *)(param_1 + 0x10);\n  }\n  *DAT_001d0420 = iVar1;\n  DAT_001d0420 = (int *)(iVar1 + 0x9c);\n  *(int *)(iVar1 + 0xa4) = param_1;\n  bfd_set_gp_size(iVar1,DAT_001ce3a8);\n  bfd_map_over_sections(*(undefined4 *)(param_1 + 0x10),FUN_000211f0,param_1);\n  return;\n}\n\n" (function_definition "void FUN_000276a0(int param_1)\n\n{\n  int iVar1;\n  \n  *DAT_001cf6c0 = param_1;\n  DAT_001cf6c0 = (int *)(param_1 + 0x18);\n  iVar1 = *(int *)(param_1 + 0x10);\n  if (*(int *)(iVar1 + 0x9c) != 0) {\n    FUN_00034d70("../../ld/ldlang.c",0x19f4);\n    iVar1 = *(int *)(param_1 + 0x10);\n  }\n  if (DAT_001d0414 == iVar1) {\n    FUN_00034d70("../../ld/ldlang.c",0x19f5);\n    iVar1 = *(int *)(param_1 + 0x10);\n  }\n  *DAT_001d0420 = iVar1;\n  DAT_001d0420 = (int *)(iVar1 + 0x9c);\n  *(int *)(iVar1 + 0xa4) = param_1;\n  bfd_set_gp_size(iVar1,DAT_001ce3a8);\n  bfd_map_over_sections(*(undefined4 *)(param_1 + 0x10),FUN_000211f0,param_1);\n  return;\n}" primitive_type (function_declarator "FUN_000276a0(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  *DAT_001cf6c0 = param_1;\n  DAT_001cf6c0 = (int *)(param_1 + 0x18);\n  iVar1 = *(int *)(param_1 + 0x10);\n  if (*(int *)(iVar1 + 0x9c) != 0) {\n    FUN_00034d70("../../ld/ldlang.c",0x19f4);\n    iVar1 = *(int *)(param_1 + 0x10);\n  }\n  if (DAT_001d0414 == iVar1) {\n    FUN_00034d70("../../ld/ldlang.c",0x19f5);\n    iVar1 = *(int *)(param_1 + 0x10);\n  }\n  *DAT_001d0420 = iVar1;\n  DAT_001d0420 = (int *)(iVar1 + 0x9c);\n  *(int *)(iVar1 + 0xa4) = param_1;\n  bfd_set_gp_size(iVar1,DAT_001ce3a8);\n  bfd_map_over_sections(*(undefined4 *)(param_1 + 0x10),FUN_000211f0,param_1);\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "*DAT_001cf6c0 = param_1;" (assignment_expression "*DAT_001cf6c0 = param_1" (pointer_expression "*DAT_001cf6c0" * identifier) = identifier) ;) (expression_statement "DAT_001cf6c0 = (int *)(param_1 + 0x18);" (assignment_expression "DAT_001cf6c0 = (int *)(param_1 + 0x18)" identifier = (cast_expression "(int *)(param_1 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) )))) ;) (expression_statement "iVar1 = *(int *)(param_1 + 0x10);" (assignment_expression "iVar1 = *(int *)(param_1 + 0x10)" identifier = (pointer_expression "*(int *)(param_1 + 0x10)" * (cast_expression "(int *)(param_1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) ))))) ;) (if_statement "if (*(int *)(iVar1 + 0x9c) != 0) {\n    FUN_00034d70("../../ld/ldlang.c",0x19f4);\n    iVar1 = *(int *)(param_1 + 0x10);\n  }" if (parenthesized_expression "(*(int *)(iVar1 + 0x9c) != 0)" ( (binary_expression "*(int *)(iVar1 + 0x9c) != 0" (pointer_expression "*(int *)(iVar1 + 0x9c)" * (cast_expression "(int *)(iVar1 + 0x9c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x9c)" ( (binary_expression "iVar1 + 0x9c" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    FUN_00034d70("../../ld/ldlang.c",0x19f4);\n    iVar1 = *(int *)(param_1 + 0x10);\n  }" { (expression_statement "FUN_00034d70("../../ld/ldlang.c",0x19f4);" (call_expression "FUN_00034d70("../../ld/ldlang.c",0x19f4)" identifier (argument_list "("../../ld/ldlang.c",0x19f4)" ( (string_literal ""../../ld/ldlang.c"" " string_content ") , number_literal ))) ;) (expression_statement "iVar1 = *(int *)(param_1 + 0x10);" (assignment_expression "iVar1 = *(int *)(param_1 + 0x10)" identifier = (pointer_expression "*(int *)(param_1 + 0x10)" * (cast_expression "(int *)(param_1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) ))))) ;) })) (if_statement "if (DAT_001d0414 == iVar1) {\n    FUN_00034d70("../../ld/ldlang.c",0x19f5);\n    iVar1 = *(int *)(param_1 + 0x10);\n  }" if (parenthesized_expression "(DAT_001d0414 == iVar1)" ( (binary_expression "DAT_001d0414 == iVar1" identifier == identifier) )) (compound_statement "{\n    FUN_00034d70("../../ld/ldlang.c",0x19f5);\n    iVar1 = *(int *)(param_1 + 0x10);\n  }" { (expression_statement "FUN_00034d70("../../ld/ldlang.c",0x19f5);" (call_expression "FUN_00034d70("../../ld/ldlang.c",0x19f5)" identifier (argument_list "("../../ld/ldlang.c",0x19f5)" ( (string_literal ""../../ld/ldlang.c"" " string_content ") , number_literal ))) ;) (expression_statement "iVar1 = *(int *)(param_1 + 0x10);" (assignment_expression "iVar1 = *(int *)(param_1 + 0x10)" identifier = (pointer_expression "*(int *)(param_1 + 0x10)" * (cast_expression "(int *)(param_1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) ))))) ;) })) (expression_statement "*DAT_001d0420 = iVar1;" (assignment_expression "*DAT_001d0420 = iVar1" (pointer_expression "*DAT_001d0420" * identifier) = identifier) ;) (expression_statement "DAT_001d0420 = (int *)(iVar1 + 0x9c);" (assignment_expression "DAT_001d0420 = (int *)(iVar1 + 0x9c)" identifier = (cast_expression "(int *)(iVar1 + 0x9c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x9c)" ( (binary_expression "iVar1 + 0x9c" identifier + number_literal) )))) ;) (expression_statement "*(int *)(iVar1 + 0xa4) = param_1;" (assignment_expression "*(int *)(iVar1 + 0xa4) = param_1" (pointer_expression "*(int *)(iVar1 + 0xa4)" * (cast_expression "(int *)(iVar1 + 0xa4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0xa4)" ( (binary_expression "iVar1 + 0xa4" identifier + number_literal) )))) = identifier) ;) (expression_statement "bfd_set_gp_size(iVar1,DAT_001ce3a8);" (call_expression "bfd_set_gp_size(iVar1,DAT_001ce3a8)" identifier (argument_list "(iVar1,DAT_001ce3a8)" ( identifier , identifier ))) ;) (expression_statement "bfd_map_over_sections(*(undefined4 *)(param_1 + 0x10),FUN_000211f0,param_1);" (call_expression "bfd_map_over_sections(*(undefined4 *)(param_1 + 0x10),FUN_000211f0,param_1)" identifier (argument_list "(*(undefined4 *)(param_1 + 0x10),FUN_000211f0,param_1)" ( (pointer_expression "*(undefined4 *)(param_1 + 0x10)" * (cast_expression "(undefined4 *)(param_1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) , identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT ))) ;) (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 * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = (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) )))) = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT , IDENT ))) ;) (return_statement return ;) })))
(function_definition "void FUN_000276a0(int param_1)\n\n{\n  int iVar1;\n  \n  *DAT_001cf6c0 = param_1;\n  DAT_001cf6c0 = (int *)(param_1 + 0x18);\n  iVar1 = *(int *)(param_1 + 0x10);\n  if (*(int *)(iVar1 + 0x9c) != 0) {\n    FUN_00034d70("../../ld/ldlang.c",0x19f4);\n    iVar1 = *(int *)(param_1 + 0x10);\n  }\n  if (DAT_001d0414 == iVar1) {\n    FUN_00034d70("../../ld/ldlang.c",0x19f5);\n    iVar1 = *(int *)(param_1 + 0x10);\n  }\n  *DAT_001d0420 = iVar1;\n  DAT_001d0420 = (int *)(iVar1 + 0x9c);\n  *(int *)(iVar1 + 0xa4) = param_1;\n  bfd_set_gp_size(iVar1,DAT_001ce3a8);\n  bfd_map_over_sections(*(undefined4 *)(param_1 + 0x10),FUN_000211f0,param_1);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_000276a0(int param_1)" (identifier "FUN_000276a0") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  int iVar1;\n  \n  *DAT_001cf6c0 = param_1;\n  DAT_001cf6c0 = (int *)(param_1 + 0x18);\n  iVar1 = *(int *)(param_1 + 0x10);\n  if (*(int *)(iVar1 + 0x9c) != 0) {\n    FUN_00034d70("../../ld/ldlang.c",0x19f4);\n    iVar1 = *(int *)(param_1 + 0x10);\n  }\n  if (DAT_001d0414 == iVar1) {\n    FUN_00034d70("../../ld/ldlang.c",0x19f5);\n    iVar1 = *(int *)(param_1 + 0x10);\n  }\n  *DAT_001d0420 = iVar1;\n  DAT_001d0420 = (int *)(iVar1 + 0x9c);\n  *(int *)(iVar1 + 0xa4) = param_1;\n  bfd_set_gp_size(iVar1,DAT_001ce3a8);\n  bfd_map_over_sections(*(undefined4 *)(param_1 + 0x10),FUN_000211f0,param_1);\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (expression_statement "*DAT_001cf6c0 = param_1;" (assignment_expression "*DAT_001cf6c0 = param_1" (pointer_expression "*DAT_001cf6c0" (* "*") (identifier "DAT_001cf6c0")) (= "=") (identifier "param_1")) (; ";")) (expression_statement "DAT_001cf6c0 = (int *)(param_1 + 0x18);" (assignment_expression "DAT_001cf6c0 = (int *)(param_1 + 0x18)" (identifier "DAT_001cf6c0") (= "=") (cast_expression "(int *)(param_1 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x18)" (( "(") (binary_expression "param_1 + 0x18" (identifier "param_1") (+ "+") (number_literal "0x18")) () ")")))) (; ";")) (expression_statement "iVar1 = *(int *)(param_1 + 0x10);" (assignment_expression "iVar1 = *(int *)(param_1 + 0x10)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(param_1 + 0x10)" (* "*") (cast_expression "(int *)(param_1 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (if_statement "if (*(int *)(iVar1 + 0x9c) != 0) {\n    FUN_00034d70("../../ld/ldlang.c",0x19f4);\n    iVar1 = *(int *)(param_1 + 0x10);\n  }" (if "if") (parenthesized_expression "(*(int *)(iVar1 + 0x9c) != 0)" (( "(") (binary_expression "*(int *)(iVar1 + 0x9c) != 0" (pointer_expression "*(int *)(iVar1 + 0x9c)" (* "*") (cast_expression "(int *)(iVar1 + 0x9c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x9c)" (( "(") (binary_expression "iVar1 + 0x9c" (identifier "iVar1") (+ "+") (number_literal "0x9c")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    FUN_00034d70("../../ld/ldlang.c",0x19f4);\n    iVar1 = *(int *)(param_1 + 0x10);\n  }" ({ "{") (expression_statement "FUN_00034d70("../../ld/ldlang.c",0x19f4);" (call_expression "FUN_00034d70("../../ld/ldlang.c",0x19f4)" (identifier "FUN_00034d70") (argument_list "("../../ld/ldlang.c",0x19f4)" (( "(") (string_literal ""../../ld/ldlang.c"" (" """) (string_content "../../ld/ldlang.c") (" """)) (, ",") (number_literal "0x19f4") () ")"))) (; ";")) (expression_statement "iVar1 = *(int *)(param_1 + 0x10);" (assignment_expression "iVar1 = *(int *)(param_1 + 0x10)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(param_1 + 0x10)" (* "*") (cast_expression "(int *)(param_1 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (} "}"))) (if_statement "if (DAT_001d0414 == iVar1) {\n    FUN_00034d70("../../ld/ldlang.c",0x19f5);\n    iVar1 = *(int *)(param_1 + 0x10);\n  }" (if "if") (parenthesized_expression "(DAT_001d0414 == iVar1)" (( "(") (binary_expression "DAT_001d0414 == iVar1" (identifier "DAT_001d0414") (== "==") (identifier "iVar1")) () ")")) (compound_statement "{\n    FUN_00034d70("../../ld/ldlang.c",0x19f5);\n    iVar1 = *(int *)(param_1 + 0x10);\n  }" ({ "{") (expression_statement "FUN_00034d70("../../ld/ldlang.c",0x19f5);" (call_expression "FUN_00034d70("../../ld/ldlang.c",0x19f5)" (identifier "FUN_00034d70") (argument_list "("../../ld/ldlang.c",0x19f5)" (( "(") (string_literal ""../../ld/ldlang.c"" (" """) (string_content "../../ld/ldlang.c") (" """)) (, ",") (number_literal "0x19f5") () ")"))) (; ";")) (expression_statement "iVar1 = *(int *)(param_1 + 0x10);" (assignment_expression "iVar1 = *(int *)(param_1 + 0x10)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(param_1 + 0x10)" (* "*") (cast_expression "(int *)(param_1 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (} "}"))) (expression_statement "*DAT_001d0420 = iVar1;" (assignment_expression "*DAT_001d0420 = iVar1" (pointer_expression "*DAT_001d0420" (* "*") (identifier "DAT_001d0420")) (= "=") (identifier "iVar1")) (; ";")) (expression_statement "DAT_001d0420 = (int *)(iVar1 + 0x9c);" (assignment_expression "DAT_001d0420 = (int *)(iVar1 + 0x9c)" (identifier "DAT_001d0420") (= "=") (cast_expression "(int *)(iVar1 + 0x9c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x9c)" (( "(") (binary_expression "iVar1 + 0x9c" (identifier "iVar1") (+ "+") (number_literal "0x9c")) () ")")))) (; ";")) (expression_statement "*(int *)(iVar1 + 0xa4) = param_1;" (assignment_expression "*(int *)(iVar1 + 0xa4) = param_1" (pointer_expression "*(int *)(iVar1 + 0xa4)" (* "*") (cast_expression "(int *)(iVar1 + 0xa4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0xa4)" (( "(") (binary_expression "iVar1 + 0xa4" (identifier "iVar1") (+ "+") (number_literal "0xa4")) () ")")))) (= "=") (identifier "param_1")) (; ";")) (expression_statement "bfd_set_gp_size(iVar1,DAT_001ce3a8);" (call_expression "bfd_set_gp_size(iVar1,DAT_001ce3a8)" (identifier "bfd_set_gp_size") (argument_list "(iVar1,DAT_001ce3a8)" (( "(") (identifier "iVar1") (, ",") (identifier "DAT_001ce3a8") () ")"))) (; ";")) (expression_statement "bfd_map_over_sections(*(undefined4 *)(param_1 + 0x10),FUN_000211f0,param_1);" (call_expression "bfd_map_over_sections(*(undefined4 *)(param_1 + 0x10),FUN_000211f0,param_1)" (identifier "bfd_map_over_sections") (argument_list "(*(undefined4 *)(param_1 + 0x10),FUN_000211f0,param_1)" (( "(") (pointer_expression "*(undefined4 *)(param_1 + 0x10)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")")))) (, ",") (identifier "FUN_000211f0") (, ",") (identifier "param_1") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

void function_1(type_1 *entry)

{
  type_2 *var_2;
  
  *file_chain.tail = (type_3 *)entry;
  file_chain.tail = &entry->next;
  var_2 = entry->the_bfd;
  if ((var_2->link).next != (type_2 *)0x0) {
    var_1("../../ld/ldlang.c",0x19f4);
    var_2 = entry->the_bfd;
  }
  if (link_info.output_bfd == var_2) {
    var_1("../../ld/ldlang.c",0x19f5);
    var_2 = entry->the_bfd;
  }
  *link_info.input_bfds_tail = var_2;
  link_info.input_bfds_tail = (type_2 **)&var_2->link;
  var_2->usrdata = entry;
  var_3(var_2,g_switch_value);
  var_4(entry->the_bfd,section_already_linked,entry);
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (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: (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))))))) (if_statement condition: (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))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (number_literal)))) (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))))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (number_literal)))) (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: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (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: (identifier))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) (identifier) (identifier)))) (return_statement))))

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

void MASKED(int param_1)

{
  int iVar1;
  
  *DAT_001cf6c0 = param_1;
  DAT_001cf6c0 = (int *)(param_1 + 0x18);
  iVar1 = *(int *)(param_1 + 0x10);
  if (*(int *)(iVar1 + 0x9c) != 0) {
    FUN_00034d70("../../ld/ldlang.c",0x19f4);
    iVar1 = *(int *)(param_1 + 0x10);
  }
  if (DAT_001d0414 == iVar1) {
    FUN_00034d70("../../ld/ldlang.c",0x19f5);
    iVar1 = *(int *)(param_1 + 0x10);
  }
  *DAT_001d0420 = iVar1;
  DAT_001d0420 = (int *)(iVar1 + 0x9c);
  *(int *)(iVar1 + 0xa4) = param_1;
  bfd_set_gp_size(iVar1,DAT_001ce3a8);
  bfd_map_over_sections(*(undefined4 *)(param_1 + 0x10),FUN_000211f0,param_1);
  return;
}

