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

asection * elf32_aarch64_add_stub_section(char *stub_sec_name,asection *input_section)

{
  asection *section;
  lang_output_section_statement_type *output;
  bfd_boolean bVar1;
  char *fmt;
  hook_stub_info info;
  
  section = (asection *)
            bfd_make_section_anyway_with_flags(stub_file->the_bfd,stub_sec_name,0x20411f);
  if (section != (asection *)0x0) {
    section->alignment_power = 3;
    output = lang_output_section_get(input_section->output_section);
    info.input_section = input_section;
    lang_list_init(&info.add);
    lang_add_section(&info.add,section,(flag_info *)0x0,output);
    if (info.add.head != (lang_statement_union *)0x0) {
      bVar1 = hook_in_stub(&info,&(output->children).head);
      if (bVar1 != 0) {
        return section;
      }
    }
  }
  fmt = (char *)dcgettext(0,"%X%P: can not make stub section: %E\n",5);
  einfo(fmt);
  return (asection *)0x0;
}



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

int FUN_00061540(undefined4 param_1,int param_2)

{
  int iVar1;
  undefined4 uVar2;
  int iVar3;
  int local_28 [2];
  int local_20;
  undefined4 uStack_14;
  
  uStack_14 = 0x61549;
  iVar1 = bfd_make_section_anyway_with_flags(*(undefined4 *)(DAT_001c42cc + 0x10),param_1,0x20411f);
  if (iVar1 != 0) {
    *(undefined4 *)(iVar1 + 0x58) = 3;
    uVar2 = FUN_00025760(*(undefined4 *)(param_2 + 0x54));
    local_20 = param_2;
    FUN_00023ea0(local_28);
    FUN_000265f0(local_28,iVar1,0,uVar2);
    if (local_28[0] != 0) {
      iVar3 = FUN_0005f4c0();
      if (iVar3 != 0) {
        return iVar1;
      }
    }
  }
  uVar2 = dcgettext(0,"%X%P: can not make stub section: %E\n",5);
  FUN_00034dc0(uVar2);
  return 0;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00017c50
ADD EBX,0x160ab7
SUB ESP,0x20
MOV EDI,dword ptr [ESP + 0x38]
PUSH 0x20411f
PUSH dword ptr [ESP + 0x38]
MOV EAX,dword ptr [EBX + 0x22cc]
PUSH dword ptr [EAX + 0x10]
CALL 0x00016260
ADD ESP,0x10
TEST EAX,EAX
JZ 0x000615d0
SUB ESP,0xc
MOV dword ptr [EAX + 0x58],0x3
MOV EBP,EAX
PUSH dword ptr [EDI + 0x54]
CALL 0x00025760
MOV dword ptr [ESP + 0x1c],EDI
MOV ESI,EAX
POP EAX
LEA EDI,[ESP + 0x10]
PUSH EDI
CALL 0x00023ea0
PUSH ESI
PUSH 0x0
PUSH EBP
PUSH EDI
CALL 0x000265f0
ADD ESP,0x20
MOV EDX,dword ptr [ESP + 0x4]
TEST EDX,EDX
JZ 0x000615d0
LEA EDX,[ESI + 0x8]
MOV EAX,EDI
CALL 0x0005f4c0
TEST EAX,EAX
JZ 0x000615d0
ADD ESP,0x1c
MOV EAX,EBP
POP EBX
POP ESI
POP EDI
POP EBP
RET
SUB ESP,0x4
LEA EAX,[EBX + 0xffeed398]
XOR EBP,EBP
PUSH 0x5
PUSH EAX
PUSH 0x0
CALL 0x00016380
MOV dword ptr [ESP],EAX
CALL 0x00034dc0
ADD ESP,0x10
MOV EAX,EBP
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nint FUN_00061540(undefined4 param_1,int param_2)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  int iVar3;\n  int local_28 [2];\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x61549;\n  iVar1 = bfd_make_section_anyway_with_flags(*(undefined4 *)(DAT_001c42cc + 0x10),param_1,0x20411f);\n  if (iVar1 != 0) {\n    *(undefined4 *)(iVar1 + 0x58) = 3;\n    uVar2 = FUN_00025760(*(undefined4 *)(param_2 + 0x54));\n    local_20 = param_2;\n    FUN_00023ea0(local_28);\n    FUN_000265f0(local_28,iVar1,0,uVar2);\n    if (local_28[0] != 0) {\n      iVar3 = FUN_0005f4c0();\n      if (iVar3 != 0) {\n        return iVar1;\n      }\n    }\n  }\n  uVar2 = dcgettext(0,"%X%P: can not make stub section: %E\n",5);\n  FUN_00034dc0(uVar2);\n  return 0;\n}\n\n" comment (function_definition "int FUN_00061540(undefined4 param_1,int param_2)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  int iVar3;\n  int local_28 [2];\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x61549;\n  iVar1 = bfd_make_section_anyway_with_flags(*(undefined4 *)(DAT_001c42cc + 0x10),param_1,0x20411f);\n  if (iVar1 != 0) {\n    *(undefined4 *)(iVar1 + 0x58) = 3;\n    uVar2 = FUN_00025760(*(undefined4 *)(param_2 + 0x54));\n    local_20 = param_2;\n    FUN_00023ea0(local_28);\n    FUN_000265f0(local_28,iVar1,0,uVar2);\n    if (local_28[0] != 0) {\n      iVar3 = FUN_0005f4c0();\n      if (iVar3 != 0) {\n        return iVar1;\n      }\n    }\n  }\n  uVar2 = dcgettext(0,"%X%P: can not make stub section: %E\n",5);\n  FUN_00034dc0(uVar2);\n  return 0;\n}" primitive_type (function_declarator "FUN_00061540(undefined4 param_1,int param_2)" identifier (parameter_list "(undefined4 param_1,int param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  int iVar3;\n  int local_28 [2];\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x61549;\n  iVar1 = bfd_make_section_anyway_with_flags(*(undefined4 *)(DAT_001c42cc + 0x10),param_1,0x20411f);\n  if (iVar1 != 0) {\n    *(undefined4 *)(iVar1 + 0x58) = 3;\n    uVar2 = FUN_00025760(*(undefined4 *)(param_2 + 0x54));\n    local_20 = param_2;\n    FUN_00023ea0(local_28);\n    FUN_000265f0(local_28,iVar1,0,uVar2);\n    if (local_28[0] != 0) {\n      iVar3 = FUN_0005f4c0();\n      if (iVar3 != 0) {\n        return iVar1;\n      }\n    }\n  }\n  uVar2 = dcgettext(0,"%X%P: can not make stub section: %E\n",5);\n  FUN_00034dc0(uVar2);\n  return 0;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int local_28 [2];" primitive_type (array_declarator "local_28 [2]" identifier [ number_literal ]) ;) (declaration "int local_20;" primitive_type identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x61549;" (assignment_expression "uStack_14 = 0x61549" identifier = number_literal) ;) (expression_statement "iVar1 = bfd_make_section_anyway_with_flags(*(undefined4 *)(DAT_001c42cc + 0x10),param_1,0x20411f);" (assignment_expression "iVar1 = bfd_make_section_anyway_with_flags(*(undefined4 *)(DAT_001c42cc + 0x10),param_1,0x20411f)" identifier = (call_expression "bfd_make_section_anyway_with_flags(*(undefined4 *)(DAT_001c42cc + 0x10),param_1,0x20411f)" identifier (argument_list "(*(undefined4 *)(DAT_001c42cc + 0x10),param_1,0x20411f)" ( (pointer_expression "*(undefined4 *)(DAT_001c42cc + 0x10)" * (cast_expression "(undefined4 *)(DAT_001c42cc + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_001c42cc + 0x10)" ( (binary_expression "DAT_001c42cc + 0x10" identifier + number_literal) )))) , identifier , number_literal )))) ;) (if_statement "if (iVar1 != 0) {\n    *(undefined4 *)(iVar1 + 0x58) = 3;\n    uVar2 = FUN_00025760(*(undefined4 *)(param_2 + 0x54));\n    local_20 = param_2;\n    FUN_00023ea0(local_28);\n    FUN_000265f0(local_28,iVar1,0,uVar2);\n    if (local_28[0] != 0) {\n      iVar3 = FUN_0005f4c0();\n      if (iVar3 != 0) {\n        return iVar1;\n      }\n    }\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    *(undefined4 *)(iVar1 + 0x58) = 3;\n    uVar2 = FUN_00025760(*(undefined4 *)(param_2 + 0x54));\n    local_20 = param_2;\n    FUN_00023ea0(local_28);\n    FUN_000265f0(local_28,iVar1,0,uVar2);\n    if (local_28[0] != 0) {\n      iVar3 = FUN_0005f4c0();\n      if (iVar3 != 0) {\n        return iVar1;\n      }\n    }\n  }" { (expression_statement "*(undefined4 *)(iVar1 + 0x58) = 3;" (assignment_expression "*(undefined4 *)(iVar1 + 0x58) = 3" (pointer_expression "*(undefined4 *)(iVar1 + 0x58)" * (cast_expression "(undefined4 *)(iVar1 + 0x58)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x58)" ( (binary_expression "iVar1 + 0x58" identifier + number_literal) )))) = number_literal) ;) (expression_statement "uVar2 = FUN_00025760(*(undefined4 *)(param_2 + 0x54));" (assignment_expression "uVar2 = FUN_00025760(*(undefined4 *)(param_2 + 0x54))" identifier = (call_expression "FUN_00025760(*(undefined4 *)(param_2 + 0x54))" identifier (argument_list "(*(undefined4 *)(param_2 + 0x54))" ( (pointer_expression "*(undefined4 *)(param_2 + 0x54)" * (cast_expression "(undefined4 *)(param_2 + 0x54)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x54)" ( (binary_expression "param_2 + 0x54" identifier + number_literal) )))) )))) ;) (expression_statement "local_20 = param_2;" (assignment_expression "local_20 = param_2" identifier = identifier) ;) (expression_statement "FUN_00023ea0(local_28);" (call_expression "FUN_00023ea0(local_28)" identifier (argument_list "(local_28)" ( identifier ))) ;) (expression_statement "FUN_000265f0(local_28,iVar1,0,uVar2);" (call_expression "FUN_000265f0(local_28,iVar1,0,uVar2)" identifier (argument_list "(local_28,iVar1,0,uVar2)" ( identifier , identifier , number_literal , identifier ))) ;) (if_statement "if (local_28[0] != 0) {\n      iVar3 = FUN_0005f4c0();\n      if (iVar3 != 0) {\n        return iVar1;\n      }\n    }" if (parenthesized_expression "(local_28[0] != 0)" ( (binary_expression "local_28[0] != 0" (subscript_expression "local_28[0]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n      iVar3 = FUN_0005f4c0();\n      if (iVar3 != 0) {\n        return iVar1;\n      }\n    }" { (expression_statement "iVar3 = FUN_0005f4c0();" (assignment_expression "iVar3 = FUN_0005f4c0()" identifier = (call_expression "FUN_0005f4c0()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar3 != 0) {\n        return iVar1;\n      }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n        return iVar1;\n      }" { (return_statement "return iVar1;" return identifier ;) })) })) })) (expression_statement "uVar2 = dcgettext(0,"%X%P: can not make stub section: %E\n",5);" (assignment_expression "uVar2 = dcgettext(0,"%X%P: can not make stub section: %E\n",5)" identifier = (call_expression "dcgettext(0,"%X%P: can not make stub section: %E\n",5)" identifier (argument_list "(0,"%X%P: can not make stub section: %E\n",5)" ( number_literal , (string_literal ""%X%P: can not make stub section: %E\n"" " string_content escape_sequence ") , number_literal )))) ;) (expression_statement "FUN_00034dc0(uVar2);" (call_expression "FUN_00034dc0(uVar2)" identifier (argument_list "(uVar2)" ( identifier ))) ;) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\nasection * elf32_aarch64_add_stub_section(char *stub_sec_name,asection *input_section)\n\n{\n  asection *section;\n  lang_output_section_statement_type *output;\n  bfd_boolean bVar1;\n  char *fmt;\n  hook_stub_info info;\n  \n  section = (asection *)\n            bfd_make_section_anyway_with_flags(stub_file->the_bfd,stub_sec_name,0x20411f);\n  if (section != (asection *)0x0) {\n    section->alignment_power = 3;\n    output = lang_output_section_get(input_section->output_section);\n    info.input_section = input_section;\n    lang_list_init(&info.add);\n    lang_add_section(&info.add,section,(flag_info *)0x0,output);\n    if (info.add.head != (lang_statement_union *)0x0) {\n      bVar1 = hook_in_stub(&info,&(output->children).head);\n      if (bVar1 != 0) {\n        return section;\n      }\n    }\n  }\n  fmt = (char *)dcgettext(0,"%X%P: can not make stub section: %E\n",5);\n  einfo(fmt);\n  return (asection *)0x0;\n}\n\n" comment comment (function_definition "asection * elf32_aarch64_add_stub_section(char *stub_sec_name,asection *input_section)\n\n{\n  asection *section;\n  lang_output_section_statement_type *output;\n  bfd_boolean bVar1;\n  char *fmt;\n  hook_stub_info info;\n  \n  section = (asection *)\n            bfd_make_section_anyway_with_flags(stub_file->the_bfd,stub_sec_name,0x20411f);\n  if (section != (asection *)0x0) {\n    section->alignment_power = 3;\n    output = lang_output_section_get(input_section->output_section);\n    info.input_section = input_section;\n    lang_list_init(&info.add);\n    lang_add_section(&info.add,section,(flag_info *)0x0,output);\n    if (info.add.head != (lang_statement_union *)0x0) {\n      bVar1 = hook_in_stub(&info,&(output->children).head);\n      if (bVar1 != 0) {\n        return section;\n      }\n    }\n  }\n  fmt = (char *)dcgettext(0,"%X%P: can not make stub section: %E\n",5);\n  einfo(fmt);\n  return (asection *)0x0;\n}" type_identifier (pointer_declarator "* elf32_aarch64_add_stub_section(char *stub_sec_name,asection *input_section)" * (function_declarator "elf32_aarch64_add_stub_section(char *stub_sec_name,asection *input_section)" identifier (parameter_list "(char *stub_sec_name,asection *input_section)" ( (parameter_declaration "char *stub_sec_name" primitive_type (pointer_declarator "*stub_sec_name" * identifier)) , (parameter_declaration "asection *input_section" type_identifier (pointer_declarator "*input_section" * identifier)) )))) (compound_statement "{\n  asection *section;\n  lang_output_section_statement_type *output;\n  bfd_boolean bVar1;\n  char *fmt;\n  hook_stub_info info;\n  \n  section = (asection *)\n            bfd_make_section_anyway_with_flags(stub_file->the_bfd,stub_sec_name,0x20411f);\n  if (section != (asection *)0x0) {\n    section->alignment_power = 3;\n    output = lang_output_section_get(input_section->output_section);\n    info.input_section = input_section;\n    lang_list_init(&info.add);\n    lang_add_section(&info.add,section,(flag_info *)0x0,output);\n    if (info.add.head != (lang_statement_union *)0x0) {\n      bVar1 = hook_in_stub(&info,&(output->children).head);\n      if (bVar1 != 0) {\n        return section;\n      }\n    }\n  }\n  fmt = (char *)dcgettext(0,"%X%P: can not make stub section: %E\n",5);\n  einfo(fmt);\n  return (asection *)0x0;\n}" { (declaration "asection *section;" type_identifier (pointer_declarator "*section" * identifier) ;) (declaration "lang_output_section_statement_type *output;" type_identifier (pointer_declarator "*output" * identifier) ;) (declaration "bfd_boolean bVar1;" type_identifier identifier ;) (declaration "char *fmt;" primitive_type (pointer_declarator "*fmt" * identifier) ;) (declaration "hook_stub_info info;" type_identifier identifier ;) (expression_statement "section = (asection *)\n            bfd_make_section_anyway_with_flags(stub_file->the_bfd,stub_sec_name,0x20411f);" (assignment_expression "section = (asection *)\n            bfd_make_section_anyway_with_flags(stub_file->the_bfd,stub_sec_name,0x20411f)" identifier = (cast_expression "(asection *)\n            bfd_make_section_anyway_with_flags(stub_file->the_bfd,stub_sec_name,0x20411f)" ( (type_descriptor "asection *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "bfd_make_section_anyway_with_flags(stub_file->the_bfd,stub_sec_name,0x20411f)" identifier (argument_list "(stub_file->the_bfd,stub_sec_name,0x20411f)" ( (field_expression "stub_file->the_bfd" identifier -> field_identifier) , identifier , number_literal ))))) ;) (if_statement "if (section != (asection *)0x0) {\n    section->alignment_power = 3;\n    output = lang_output_section_get(input_section->output_section);\n    info.input_section = input_section;\n    lang_list_init(&info.add);\n    lang_add_section(&info.add,section,(flag_info *)0x0,output);\n    if (info.add.head != (lang_statement_union *)0x0) {\n      bVar1 = hook_in_stub(&info,&(output->children).head);\n      if (bVar1 != 0) {\n        return section;\n      }\n    }\n  }" if (parenthesized_expression "(section != (asection *)0x0)" ( (binary_expression "section != (asection *)0x0" identifier != (cast_expression "(asection *)0x0" ( (type_descriptor "asection *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    section->alignment_power = 3;\n    output = lang_output_section_get(input_section->output_section);\n    info.input_section = input_section;\n    lang_list_init(&info.add);\n    lang_add_section(&info.add,section,(flag_info *)0x0,output);\n    if (info.add.head != (lang_statement_union *)0x0) {\n      bVar1 = hook_in_stub(&info,&(output->children).head);\n      if (bVar1 != 0) {\n        return section;\n      }\n    }\n  }" { (expression_statement "section->alignment_power = 3;" (assignment_expression "section->alignment_power = 3" (field_expression "section->alignment_power" identifier -> field_identifier) = number_literal) ;) (expression_statement "output = lang_output_section_get(input_section->output_section);" (assignment_expression "output = lang_output_section_get(input_section->output_section)" identifier = (call_expression "lang_output_section_get(input_section->output_section)" identifier (argument_list "(input_section->output_section)" ( (field_expression "input_section->output_section" identifier -> field_identifier) )))) ;) (expression_statement "info.input_section = input_section;" (assignment_expression "info.input_section = input_section" (field_expression "info.input_section" identifier . field_identifier) = identifier) ;) (expression_statement "lang_list_init(&info.add);" (call_expression "lang_list_init(&info.add)" identifier (argument_list "(&info.add)" ( (pointer_expression "&info.add" & (field_expression "info.add" identifier . field_identifier)) ))) ;) (expression_statement "lang_add_section(&info.add,section,(flag_info *)0x0,output);" (call_expression "lang_add_section(&info.add,section,(flag_info *)0x0,output)" identifier (argument_list "(&info.add,section,(flag_info *)0x0,output)" ( (pointer_expression "&info.add" & (field_expression "info.add" identifier . field_identifier)) , identifier , (cast_expression "(flag_info *)0x0" ( (type_descriptor "flag_info *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) , identifier ))) ;) (if_statement "if (info.add.head != (lang_statement_union *)0x0) {\n      bVar1 = hook_in_stub(&info,&(output->children).head);\n      if (bVar1 != 0) {\n        return section;\n      }\n    }" if (parenthesized_expression "(info.add.head != (lang_statement_union *)0x0)" ( (binary_expression "info.add.head != (lang_statement_union *)0x0" (field_expression "info.add.head" (field_expression "info.add" identifier . field_identifier) . field_identifier) != (cast_expression "(lang_statement_union *)0x0" ( (type_descriptor "lang_statement_union *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      bVar1 = hook_in_stub(&info,&(output->children).head);\n      if (bVar1 != 0) {\n        return section;\n      }\n    }" { (expression_statement "bVar1 = hook_in_stub(&info,&(output->children).head);" (assignment_expression "bVar1 = hook_in_stub(&info,&(output->children).head)" identifier = (call_expression "hook_in_stub(&info,&(output->children).head)" identifier (argument_list "(&info,&(output->children).head)" ( (pointer_expression "&info" & identifier) , (pointer_expression "&(output->children).head" & (field_expression "(output->children).head" (parenthesized_expression "(output->children)" ( (field_expression "output->children" identifier -> field_identifier) )) . field_identifier)) )))) ;) (if_statement "if (bVar1 != 0) {\n        return section;\n      }" if (parenthesized_expression "(bVar1 != 0)" ( (binary_expression "bVar1 != 0" identifier != number_literal) )) (compound_statement "{\n        return section;\n      }" { (return_statement "return section;" return identifier ;) })) })) })) (expression_statement "fmt = (char *)dcgettext(0,"%X%P: can not make stub section: %E\n",5);" (assignment_expression "fmt = (char *)dcgettext(0,"%X%P: can not make stub section: %E\n",5)" identifier = (cast_expression "(char *)dcgettext(0,"%X%P: can not make stub section: %E\n",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,"%X%P: can not make stub section: %E\n",5)" identifier (argument_list "(0,"%X%P: can not make stub section: %E\n",5)" ( number_literal , (string_literal ""%X%P: can not make stub section: %E\n"" " string_content escape_sequence ") , number_literal ))))) ;) (expression_statement "einfo(fmt);" (call_expression "einfo(fmt)" identifier (argument_list "(fmt)" ( identifier ))) ;) (return_statement "return (asection *)0x0;" return (cast_expression "(asection *)0x0" ( (type_descriptor "asection *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ;) })))
(translation_unit "int FUN_00061540(undefined4 param_1,int param_2)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  int iVar3;\n  int local_28 [2];\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x61549;\n  iVar1 = bfd_make_section_anyway_with_flags(*(undefined4 *)(DAT_001c42cc + 0x10),param_1,0x20411f);\n  if (iVar1 != 0) {\n    *(undefined4 *)(iVar1 + 0x58) = 3;\n    uVar2 = FUN_00025760(*(undefined4 *)(param_2 + 0x54));\n    local_20 = param_2;\n    FUN_00023ea0(local_28);\n    FUN_000265f0(local_28,iVar1,0,uVar2);\n    if (local_28[0] != 0) {\n      iVar3 = FUN_0005f4c0();\n      if (iVar3 != 0) {\n        return iVar1;\n      }\n    }\n  }\n  uVar2 = dcgettext(0,"%X%P: can not make stub section: %E\n",5);\n  FUN_00034dc0(uVar2);\n  return 0;\n}\n\n" (function_definition "int FUN_00061540(undefined4 param_1,int param_2)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  int iVar3;\n  int local_28 [2];\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x61549;\n  iVar1 = bfd_make_section_anyway_with_flags(*(undefined4 *)(DAT_001c42cc + 0x10),param_1,0x20411f);\n  if (iVar1 != 0) {\n    *(undefined4 *)(iVar1 + 0x58) = 3;\n    uVar2 = FUN_00025760(*(undefined4 *)(param_2 + 0x54));\n    local_20 = param_2;\n    FUN_00023ea0(local_28);\n    FUN_000265f0(local_28,iVar1,0,uVar2);\n    if (local_28[0] != 0) {\n      iVar3 = FUN_0005f4c0();\n      if (iVar3 != 0) {\n        return iVar1;\n      }\n    }\n  }\n  uVar2 = dcgettext(0,"%X%P: can not make stub section: %E\n",5);\n  FUN_00034dc0(uVar2);\n  return 0;\n}" primitive_type (function_declarator "FUN_00061540(undefined4 param_1,int param_2)" identifier (parameter_list "(undefined4 param_1,int param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  int iVar3;\n  int local_28 [2];\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x61549;\n  iVar1 = bfd_make_section_anyway_with_flags(*(undefined4 *)(DAT_001c42cc + 0x10),param_1,0x20411f);\n  if (iVar1 != 0) {\n    *(undefined4 *)(iVar1 + 0x58) = 3;\n    uVar2 = FUN_00025760(*(undefined4 *)(param_2 + 0x54));\n    local_20 = param_2;\n    FUN_00023ea0(local_28);\n    FUN_000265f0(local_28,iVar1,0,uVar2);\n    if (local_28[0] != 0) {\n      iVar3 = FUN_0005f4c0();\n      if (iVar3 != 0) {\n        return iVar1;\n      }\n    }\n  }\n  uVar2 = dcgettext(0,"%X%P: can not make stub section: %E\n",5);\n  FUN_00034dc0(uVar2);\n  return 0;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int local_28 [2];" primitive_type (array_declarator "local_28 [2]" identifier [ number_literal ]) ;) (declaration "int local_20;" primitive_type identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x61549;" (assignment_expression "uStack_14 = 0x61549" identifier = number_literal) ;) (expression_statement "iVar1 = bfd_make_section_anyway_with_flags(*(undefined4 *)(DAT_001c42cc + 0x10),param_1,0x20411f);" (assignment_expression "iVar1 = bfd_make_section_anyway_with_flags(*(undefined4 *)(DAT_001c42cc + 0x10),param_1,0x20411f)" identifier = (call_expression "bfd_make_section_anyway_with_flags(*(undefined4 *)(DAT_001c42cc + 0x10),param_1,0x20411f)" identifier (argument_list "(*(undefined4 *)(DAT_001c42cc + 0x10),param_1,0x20411f)" ( (pointer_expression "*(undefined4 *)(DAT_001c42cc + 0x10)" * (cast_expression "(undefined4 *)(DAT_001c42cc + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_001c42cc + 0x10)" ( (binary_expression "DAT_001c42cc + 0x10" identifier + number_literal) )))) , identifier , number_literal )))) ;) (if_statement "if (iVar1 != 0) {\n    *(undefined4 *)(iVar1 + 0x58) = 3;\n    uVar2 = FUN_00025760(*(undefined4 *)(param_2 + 0x54));\n    local_20 = param_2;\n    FUN_00023ea0(local_28);\n    FUN_000265f0(local_28,iVar1,0,uVar2);\n    if (local_28[0] != 0) {\n      iVar3 = FUN_0005f4c0();\n      if (iVar3 != 0) {\n        return iVar1;\n      }\n    }\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    *(undefined4 *)(iVar1 + 0x58) = 3;\n    uVar2 = FUN_00025760(*(undefined4 *)(param_2 + 0x54));\n    local_20 = param_2;\n    FUN_00023ea0(local_28);\n    FUN_000265f0(local_28,iVar1,0,uVar2);\n    if (local_28[0] != 0) {\n      iVar3 = FUN_0005f4c0();\n      if (iVar3 != 0) {\n        return iVar1;\n      }\n    }\n  }" { (expression_statement "*(undefined4 *)(iVar1 + 0x58) = 3;" (assignment_expression "*(undefined4 *)(iVar1 + 0x58) = 3" (pointer_expression "*(undefined4 *)(iVar1 + 0x58)" * (cast_expression "(undefined4 *)(iVar1 + 0x58)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x58)" ( (binary_expression "iVar1 + 0x58" identifier + number_literal) )))) = number_literal) ;) (expression_statement "uVar2 = FUN_00025760(*(undefined4 *)(param_2 + 0x54));" (assignment_expression "uVar2 = FUN_00025760(*(undefined4 *)(param_2 + 0x54))" identifier = (call_expression "FUN_00025760(*(undefined4 *)(param_2 + 0x54))" identifier (argument_list "(*(undefined4 *)(param_2 + 0x54))" ( (pointer_expression "*(undefined4 *)(param_2 + 0x54)" * (cast_expression "(undefined4 *)(param_2 + 0x54)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x54)" ( (binary_expression "param_2 + 0x54" identifier + number_literal) )))) )))) ;) (expression_statement "local_20 = param_2;" (assignment_expression "local_20 = param_2" identifier = identifier) ;) (expression_statement "FUN_00023ea0(local_28);" (call_expression "FUN_00023ea0(local_28)" identifier (argument_list "(local_28)" ( identifier ))) ;) (expression_statement "FUN_000265f0(local_28,iVar1,0,uVar2);" (call_expression "FUN_000265f0(local_28,iVar1,0,uVar2)" identifier (argument_list "(local_28,iVar1,0,uVar2)" ( identifier , identifier , number_literal , identifier ))) ;) (if_statement "if (local_28[0] != 0) {\n      iVar3 = FUN_0005f4c0();\n      if (iVar3 != 0) {\n        return iVar1;\n      }\n    }" if (parenthesized_expression "(local_28[0] != 0)" ( (binary_expression "local_28[0] != 0" (subscript_expression "local_28[0]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n      iVar3 = FUN_0005f4c0();\n      if (iVar3 != 0) {\n        return iVar1;\n      }\n    }" { (expression_statement "iVar3 = FUN_0005f4c0();" (assignment_expression "iVar3 = FUN_0005f4c0()" identifier = (call_expression "FUN_0005f4c0()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar3 != 0) {\n        return iVar1;\n      }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n        return iVar1;\n      }" { (return_statement "return iVar1;" return identifier ;) })) })) })) (expression_statement "uVar2 = dcgettext(0,"%X%P: can not make stub section: %E\n",5);" (assignment_expression "uVar2 = dcgettext(0,"%X%P: can not make stub section: %E\n",5)" identifier = (call_expression "dcgettext(0,"%X%P: can not make stub section: %E\n",5)" identifier (argument_list "(0,"%X%P: can not make stub section: %E\n",5)" ( number_literal , (string_literal ""%X%P: can not make stub section: %E\n"" " string_content escape_sequence ") , number_literal )))) ;) (expression_statement "FUN_00034dc0(uVar2);" (call_expression "FUN_00034dc0(uVar2)" identifier (argument_list "(uVar2)" ( identifier ))) ;) (return_statement "return 0;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , LIT , IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (return_statement return IDENT ;) })) })) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , (string_literal " string_content escape_sequence ") , LIT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (return_statement return LIT ;) })))
(function_definition "int FUN_00061540(undefined4 param_1,int param_2)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  int iVar3;\n  int local_28 [2];\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x61549;\n  iVar1 = bfd_make_section_anyway_with_flags(*(undefined4 *)(DAT_001c42cc + 0x10),param_1,0x20411f);\n  if (iVar1 != 0) {\n    *(undefined4 *)(iVar1 + 0x58) = 3;\n    uVar2 = FUN_00025760(*(undefined4 *)(param_2 + 0x54));\n    local_20 = param_2;\n    FUN_00023ea0(local_28);\n    FUN_000265f0(local_28,iVar1,0,uVar2);\n    if (local_28[0] != 0) {\n      iVar3 = FUN_0005f4c0();\n      if (iVar3 != 0) {\n        return iVar1;\n      }\n    }\n  }\n  uVar2 = dcgettext(0,"%X%P: can not make stub section: %E\n",5);\n  FUN_00034dc0(uVar2);\n  return 0;\n}" (primitive_type "int") (function_declarator "FUN_00061540(undefined4 param_1,int param_2)" (identifier "FUN_00061540") (parameter_list "(undefined4 param_1,int param_2)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  int iVar3;\n  int local_28 [2];\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x61549;\n  iVar1 = bfd_make_section_anyway_with_flags(*(undefined4 *)(DAT_001c42cc + 0x10),param_1,0x20411f);\n  if (iVar1 != 0) {\n    *(undefined4 *)(iVar1 + 0x58) = 3;\n    uVar2 = FUN_00025760(*(undefined4 *)(param_2 + 0x54));\n    local_20 = param_2;\n    FUN_00023ea0(local_28);\n    FUN_000265f0(local_28,iVar1,0,uVar2);\n    if (local_28[0] != 0) {\n      iVar3 = FUN_0005f4c0();\n      if (iVar3 != 0) {\n        return iVar1;\n      }\n    }\n  }\n  uVar2 = dcgettext(0,"%X%P: can not make stub section: %E\n",5);\n  FUN_00034dc0(uVar2);\n  return 0;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "int local_28 [2];" (primitive_type "int") (array_declarator "local_28 [2]" (identifier "local_28") ([ "[") (number_literal "2") (] "]")) (; ";")) (declaration "int local_20;" (primitive_type "int") (identifier "local_20") (; ";")) (declaration "undefined4 uStack_14;" (type_identifier "undefined4") (identifier "uStack_14") (; ";")) (expression_statement "uStack_14 = 0x61549;" (assignment_expression "uStack_14 = 0x61549" (identifier "uStack_14") (= "=") (number_literal "0x61549")) (; ";")) (expression_statement "iVar1 = bfd_make_section_anyway_with_flags(*(undefined4 *)(DAT_001c42cc + 0x10),param_1,0x20411f);" (assignment_expression "iVar1 = bfd_make_section_anyway_with_flags(*(undefined4 *)(DAT_001c42cc + 0x10),param_1,0x20411f)" (identifier "iVar1") (= "=") (call_expression "bfd_make_section_anyway_with_flags(*(undefined4 *)(DAT_001c42cc + 0x10),param_1,0x20411f)" (identifier "bfd_make_section_anyway_with_flags") (argument_list "(*(undefined4 *)(DAT_001c42cc + 0x10),param_1,0x20411f)" (( "(") (pointer_expression "*(undefined4 *)(DAT_001c42cc + 0x10)" (* "*") (cast_expression "(undefined4 *)(DAT_001c42cc + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_001c42cc + 0x10)" (( "(") (binary_expression "DAT_001c42cc + 0x10" (identifier "DAT_001c42cc") (+ "+") (number_literal "0x10")) () ")")))) (, ",") (identifier "param_1") (, ",") (number_literal "0x20411f") () ")")))) (; ";")) (if_statement "if (iVar1 != 0) {\n    *(undefined4 *)(iVar1 + 0x58) = 3;\n    uVar2 = FUN_00025760(*(undefined4 *)(param_2 + 0x54));\n    local_20 = param_2;\n    FUN_00023ea0(local_28);\n    FUN_000265f0(local_28,iVar1,0,uVar2);\n    if (local_28[0] != 0) {\n      iVar3 = FUN_0005f4c0();\n      if (iVar3 != 0) {\n        return iVar1;\n      }\n    }\n  }" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    *(undefined4 *)(iVar1 + 0x58) = 3;\n    uVar2 = FUN_00025760(*(undefined4 *)(param_2 + 0x54));\n    local_20 = param_2;\n    FUN_00023ea0(local_28);\n    FUN_000265f0(local_28,iVar1,0,uVar2);\n    if (local_28[0] != 0) {\n      iVar3 = FUN_0005f4c0();\n      if (iVar3 != 0) {\n        return iVar1;\n      }\n    }\n  }" ({ "{") (expression_statement "*(undefined4 *)(iVar1 + 0x58) = 3;" (assignment_expression "*(undefined4 *)(iVar1 + 0x58) = 3" (pointer_expression "*(undefined4 *)(iVar1 + 0x58)" (* "*") (cast_expression "(undefined4 *)(iVar1 + 0x58)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x58)" (( "(") (binary_expression "iVar1 + 0x58" (identifier "iVar1") (+ "+") (number_literal "0x58")) () ")")))) (= "=") (number_literal "3")) (; ";")) (expression_statement "uVar2 = FUN_00025760(*(undefined4 *)(param_2 + 0x54));" (assignment_expression "uVar2 = FUN_00025760(*(undefined4 *)(param_2 + 0x54))" (identifier "uVar2") (= "=") (call_expression "FUN_00025760(*(undefined4 *)(param_2 + 0x54))" (identifier "FUN_00025760") (argument_list "(*(undefined4 *)(param_2 + 0x54))" (( "(") (pointer_expression "*(undefined4 *)(param_2 + 0x54)" (* "*") (cast_expression "(undefined4 *)(param_2 + 0x54)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x54)" (( "(") (binary_expression "param_2 + 0x54" (identifier "param_2") (+ "+") (number_literal "0x54")) () ")")))) () ")")))) (; ";")) (expression_statement "local_20 = param_2;" (assignment_expression "local_20 = param_2" (identifier "local_20") (= "=") (identifier "param_2")) (; ";")) (expression_statement "FUN_00023ea0(local_28);" (call_expression "FUN_00023ea0(local_28)" (identifier "FUN_00023ea0") (argument_list "(local_28)" (( "(") (identifier "local_28") () ")"))) (; ";")) (expression_statement "FUN_000265f0(local_28,iVar1,0,uVar2);" (call_expression "FUN_000265f0(local_28,iVar1,0,uVar2)" (identifier "FUN_000265f0") (argument_list "(local_28,iVar1,0,uVar2)" (( "(") (identifier "local_28") (, ",") (identifier "iVar1") (, ",") (number_literal "0") (, ",") (identifier "uVar2") () ")"))) (; ";")) (if_statement "if (local_28[0] != 0) {\n      iVar3 = FUN_0005f4c0();\n      if (iVar3 != 0) {\n        return iVar1;\n      }\n    }" (if "if") (parenthesized_expression "(local_28[0] != 0)" (( "(") (binary_expression "local_28[0] != 0" (subscript_expression "local_28[0]" (identifier "local_28") ([ "[") (number_literal "0") (] "]")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      iVar3 = FUN_0005f4c0();\n      if (iVar3 != 0) {\n        return iVar1;\n      }\n    }" ({ "{") (expression_statement "iVar3 = FUN_0005f4c0();" (assignment_expression "iVar3 = FUN_0005f4c0()" (identifier "iVar3") (= "=") (call_expression "FUN_0005f4c0()" (identifier "FUN_0005f4c0") (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (iVar3 != 0) {\n        return iVar1;\n      }" (if "if") (parenthesized_expression "(iVar3 != 0)" (( "(") (binary_expression "iVar3 != 0" (identifier "iVar3") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        return iVar1;\n      }" ({ "{") (return_statement "return iVar1;" (return "return") (identifier "iVar1") (; ";")) (} "}"))) (} "}"))) (} "}"))) (expression_statement "uVar2 = dcgettext(0,"%X%P: can not make stub section: %E\n",5);" (assignment_expression "uVar2 = dcgettext(0,"%X%P: can not make stub section: %E\n",5)" (identifier "uVar2") (= "=") (call_expression "dcgettext(0,"%X%P: can not make stub section: %E\n",5)" (identifier "dcgettext") (argument_list "(0,"%X%P: can not make stub section: %E\n",5)" (( "(") (number_literal "0") (, ",") (string_literal ""%X%P: can not make stub section: %E\n"" (" """) (string_content "%X%P: can not make stub section: %E") (escape_sequence "\n") (" """)) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "FUN_00034dc0(uVar2);" (call_expression "FUN_00034dc0(uVar2)" (identifier "FUN_00034dc0") (argument_list "(uVar2)" (( "(") (identifier "uVar2") () ")"))) (; ";")) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))

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

type_1 * function_1(char *stub_sec_name,type_1 *input_section)

{
  type_1 *var_2;
  type_2 *output;
  type_3 var_7;
  char *fmt;
  type_4 info;
  
  var_2 = (type_1 *)
            var_1(stub_file->the_bfd,stub_sec_name,0x20411f);
  if (var_2 != (type_1 *)0x0) {
    var_2->alignment_power = 3;
    output = var_3(input_section->output_section);
    info.input_section = input_section;
    var_4(&info.add);
    var_5(&info.add,var_2,(type_5 *)0x0,output);
    if (info.add.head != (type_6 *)0x0) {
      var_7 = var_6(&info,&(output->children).head);
      if (var_7 != 0) {
        return var_2;
      }
    }
  }
  fmt = (char *)var_8(0,"%X%P: can not make stub section: %E\n",5);
  var_9(fmt);
  return (type_1 *)0x0;
}


(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)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (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) (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (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))))) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (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))))))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (number_literal) (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement (identifier)))))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (number_literal) (string_literal (string_content) (escape_sequence)) (number_literal))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (return_statement (number_literal)))))

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

int MASKED(undefined4 param_1,int param_2)

{
  int iVar1;
  undefined4 uVar2;
  int iVar3;
  int local_28 [2];
  int local_20;
  undefined4 uStack_14;
  
  uStack_14 = 0x61549;
  iVar1 = bfd_make_section_anyway_with_flags(*(undefined4 *)(DAT_001c42cc + 0x10),param_1,0x20411f);
  if (iVar1 != 0) {
    *(undefined4 *)(iVar1 + 0x58) = 3;
    uVar2 = FUN_00025760(*(undefined4 *)(param_2 + 0x54));
    local_20 = param_2;
    FUN_00023ea0(local_28);
    FUN_000265f0(local_28,iVar1,0,uVar2);
    if (local_28[0] != 0) {
      iVar3 = FUN_0005f4c0();
      if (iVar3 != 0) {
        return iVar1;
      }
    }
  }
  uVar2 = dcgettext(0,"%X%P: can not make stub section: %E\n",5);
  FUN_00034dc0(uVar2);
  return 0;
}

