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

void __regparm3 objdump_print_addr(bfd_vma vma,disassemble_info *inf,bfd_boolean skip_zeroes)

{
  undefined4 *puVar1;
  int *piVar2;
  fprintf_ftype p_Var3;
  int iVar4;
  int iVar5;
  asymbol *sym;
  char *pcVar6;
  bfd_vma in_stack_ffffffd4;
  disassemble_info *in_stack_ffffffd8;
  long *in_stack_ffffffdc;
  
  puVar1 = (undefined4 *)inf->application_data;
  if (sorted_symcount < 1) {
    (*inf->fprintf_func)(inf->stream,"0x");
    objdump_print_value(vma,inf,skip_zeroes);
    if (display_file_offsets != 0) {
      p_Var3 = inf->fprintf_func;
      iVar4 = *(int *)(puVar1[1] + 0x50);
      iVar5 = *(int *)(puVar1[1] + 0x1c);
      pcVar6 = (char *)dcgettext(0," (File Offset: 0x%lx)",5);
      (*p_Var3)(inf->stream,pcVar6,(vma + iVar4) - iVar5);
    }
  }
  else {
    if (((((int *)puVar1[6] == (int *)0x0) || (piVar2 = *(int **)puVar1[6], piVar2 == (int *)0x0))
        || (sym = (asymbol *)*piVar2, sym == (asymbol *)0x0)) ||
       (vma = vma + sym->value + sym->section->vma,
       sym->section != (bfd_section *)(PTR__bfd_std_section_0006ffd8 + 0xa8))) {
      sym = find_symbol_for_address(in_stack_ffffffd4,in_stack_ffffffd8,in_stack_ffffffdc);
    }
    objdump_print_addr_with_sym((bfd *)*puVar1,(asection *)puVar1[1],sym,vma,inf,skip_zeroes);
  }
  return;
}



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

void __regparm3 FUN_000152e0(int param_1,undefined4 *param_2,undefined4 param_3)

{
  int iVar1;
  int *piVar2;
  code *pcVar3;
  int iVar4;
  undefined4 uVar5;
  
  iVar1 = param_2[2];
  if (DAT_00071060 < 1) {
    (*(code *)*param_2)(param_2[1],"0x");
    FUN_000150a0();
    if (DAT_00071094 != 0) {
      iVar1 = *(int *)(iVar1 + 4);
      pcVar3 = (code *)*param_2;
      iVar4 = *(int *)(iVar1 + 0x50);
      iVar1 = *(int *)(iVar1 + 0x1c);
      uVar5 = dcgettext(0," (File Offset: 0x%lx)",5);
      (*pcVar3)(param_2[1],uVar5,(param_1 + iVar4) - iVar1);
    }
  }
  else {
    piVar2 = *(int **)(iVar1 + 0x18);
    if ((((piVar2 == (int *)0x0) || (piVar2 = (int *)*piVar2, piVar2 == (int *)0x0)) ||
        (iVar1 = *piVar2, iVar1 == 0)) ||
       (param_1 = param_1 + *(int *)(iVar1 + 8) + *(int *)(*(undefined **)(iVar1 + 0x10) + 0x1c),
       *(undefined **)(iVar1 + 0x10) != PTR__bfd_std_section_0006ffd8 + 0xa8)) {
      FUN_00014520();
    }
    FUN_00015110(param_1,param_2,param_3);
  }
  return;
}


PUSH EBP
PUSH EDI
MOV EDI,EAX
PUSH ESI
MOV ESI,EDX
PUSH EBX
CALL 0x000143a0
ADD EBX,0x5ad13
SUB ESP,0x1c
MOV EBP,dword ptr [EDX + 0x8]
MOV dword ptr [ESP + 0xc],ECX
MOV EDX,dword ptr [EBX + 0x1060]
TEST EDX,EDX
JLE 0x00015360
MOV EAX,dword ptr [EBP + 0x18]
TEST EAX,EAX
JZ 0x00015333
MOV EAX,dword ptr [EAX]
TEST EAX,EAX
JZ 0x00015333
MOV ECX,dword ptr [EAX]
TEST ECX,ECX
JZ 0x00015333
MOV EDX,dword ptr [EBX + 0xffffffd8]
MOV EAX,dword ptr [ECX + 0x10]
ADD EDI,dword ptr [ECX + 0x8]
ADD EDX,0xa8
ADD EDI,dword ptr [EAX + 0x1c]
CMP EAX,EDX
JZ 0x00015340
XOR ECX,ECX
MOV EDX,ESI
MOV EAX,EDI
CALL 0x00014520
MOV ECX,EAX
SUB ESP,0x4
MOV EDX,dword ptr [EBP + 0x4]
PUSH dword ptr [ESP + 0x10]
PUSH ESI
PUSH EDI
MOV EAX,dword ptr [EBP]
CALL 0x00015110
ADD ESP,0x10
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
SUB ESP,0x8
LEA EAX,[EBX + 0xfffdc7d8]
PUSH EAX
PUSH dword ptr [ESI + 0x4]
CALL dword ptr [ESI]
MOV ECX,dword ptr [ESP + 0x1c]
MOV EAX,EDI
MOV EDX,ESI
CALL 0x000150a0
MOV EAX,dword ptr [EBX + 0x1094]
ADD ESP,0x10
TEST EAX,EAX
JZ 0x00015357
MOV EAX,dword ptr [EBP + 0x4]
MOV EDX,dword ptr [ESI]
SUB ESP,0x4
MOV dword ptr [ESP + 0x10],EDX
ADD EDI,dword ptr [EAX + 0x50]
SUB EDI,dword ptr [EAX + 0x1c]
LEA EAX,[EBX + 0xfffdc508]
PUSH 0x5
PUSH EAX
PUSH 0x0
CALL 0x000131f0
ADD ESP,0xc
PUSH EDI
PUSH EAX
PUSH dword ptr [ESI + 0x4]
MOV EDX,dword ptr [ESP + 0x1c]
CALL EDX
ADD ESP,0x10
JMP 0x00015357
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid __regparm3 FUN_000152e0(int param_1,undefined4 *param_2,undefined4 param_3)\n\n{\n  int iVar1;\n  int *piVar2;\n  code *pcVar3;\n  int iVar4;\n  undefined4 uVar5;\n  \n  iVar1 = param_2[2];\n  if (DAT_00071060 < 1) {\n    (*(code *)*param_2)(param_2[1],"0x");\n    FUN_000150a0();\n    if (DAT_00071094 != 0) {\n      iVar1 = *(int *)(iVar1 + 4);\n      pcVar3 = (code *)*param_2;\n      iVar4 = *(int *)(iVar1 + 0x50);\n      iVar1 = *(int *)(iVar1 + 0x1c);\n      uVar5 = dcgettext(0," (File Offset: 0x%lx)",5);\n      (*pcVar3)(param_2[1],uVar5,(param_1 + iVar4) - iVar1);\n    }\n  }\n  else {\n    piVar2 = *(int **)(iVar1 + 0x18);\n    if ((((piVar2 == (int *)0x0) || (piVar2 = (int *)*piVar2, piVar2 == (int *)0x0)) ||\n        (iVar1 = *piVar2, iVar1 == 0)) ||\n       (param_1 = param_1 + *(int *)(iVar1 + 8) + *(int *)(*(undefined **)(iVar1 + 0x10) + 0x1c),\n       *(undefined **)(iVar1 + 0x10) != PTR__bfd_std_section_0006ffd8 + 0xa8)) {\n      FUN_00014520();\n    }\n    FUN_00015110(param_1,param_2,param_3);\n  }\n  return;\n}\n\n" comment (function_definition "void __regparm3 FUN_000152e0(int param_1,undefined4 *param_2,undefined4 param_3)\n\n{\n  int iVar1;\n  int *piVar2;\n  code *pcVar3;\n  int iVar4;\n  undefined4 uVar5;\n  \n  iVar1 = param_2[2];\n  if (DAT_00071060 < 1) {\n    (*(code *)*param_2)(param_2[1],"0x");\n    FUN_000150a0();\n    if (DAT_00071094 != 0) {\n      iVar1 = *(int *)(iVar1 + 4);\n      pcVar3 = (code *)*param_2;\n      iVar4 = *(int *)(iVar1 + 0x50);\n      iVar1 = *(int *)(iVar1 + 0x1c);\n      uVar5 = dcgettext(0," (File Offset: 0x%lx)",5);\n      (*pcVar3)(param_2[1],uVar5,(param_1 + iVar4) - iVar1);\n    }\n  }\n  else {\n    piVar2 = *(int **)(iVar1 + 0x18);\n    if ((((piVar2 == (int *)0x0) || (piVar2 = (int *)*piVar2, piVar2 == (int *)0x0)) ||\n        (iVar1 = *piVar2, iVar1 == 0)) ||\n       (param_1 = param_1 + *(int *)(iVar1 + 8) + *(int *)(*(undefined **)(iVar1 + 0x10) + 0x1c),\n       *(undefined **)(iVar1 + 0x10) != PTR__bfd_std_section_0006ffd8 + 0xa8)) {\n      FUN_00014520();\n    }\n    FUN_00015110(param_1,param_2,param_3);\n  }\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_000152e0(int param_1,undefined4 *param_2,undefined4 param_3)" identifier (parameter_list "(int param_1,undefined4 *param_2,undefined4 param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "undefined4 param_3" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  int *piVar2;\n  code *pcVar3;\n  int iVar4;\n  undefined4 uVar5;\n  \n  iVar1 = param_2[2];\n  if (DAT_00071060 < 1) {\n    (*(code *)*param_2)(param_2[1],"0x");\n    FUN_000150a0();\n    if (DAT_00071094 != 0) {\n      iVar1 = *(int *)(iVar1 + 4);\n      pcVar3 = (code *)*param_2;\n      iVar4 = *(int *)(iVar1 + 0x50);\n      iVar1 = *(int *)(iVar1 + 0x1c);\n      uVar5 = dcgettext(0," (File Offset: 0x%lx)",5);\n      (*pcVar3)(param_2[1],uVar5,(param_1 + iVar4) - iVar1);\n    }\n  }\n  else {\n    piVar2 = *(int **)(iVar1 + 0x18);\n    if ((((piVar2 == (int *)0x0) || (piVar2 = (int *)*piVar2, piVar2 == (int *)0x0)) ||\n        (iVar1 = *piVar2, iVar1 == 0)) ||\n       (param_1 = param_1 + *(int *)(iVar1 + 8) + *(int *)(*(undefined **)(iVar1 + 0x10) + 0x1c),\n       *(undefined **)(iVar1 + 0x10) != PTR__bfd_std_section_0006ffd8 + 0xa8)) {\n      FUN_00014520();\n    }\n    FUN_00015110(param_1,param_2,param_3);\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "code *pcVar3;" type_identifier (pointer_declarator "*pcVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (expression_statement "iVar1 = param_2[2];" (assignment_expression "iVar1 = param_2[2]" identifier = (subscript_expression "param_2[2]" identifier [ number_literal ])) ;) (if_statement "if (DAT_00071060 < 1) {\n    (*(code *)*param_2)(param_2[1],"0x");\n    FUN_000150a0();\n    if (DAT_00071094 != 0) {\n      iVar1 = *(int *)(iVar1 + 4);\n      pcVar3 = (code *)*param_2;\n      iVar4 = *(int *)(iVar1 + 0x50);\n      iVar1 = *(int *)(iVar1 + 0x1c);\n      uVar5 = dcgettext(0," (File Offset: 0x%lx)",5);\n      (*pcVar3)(param_2[1],uVar5,(param_1 + iVar4) - iVar1);\n    }\n  }\n  else {\n    piVar2 = *(int **)(iVar1 + 0x18);\n    if ((((piVar2 == (int *)0x0) || (piVar2 = (int *)*piVar2, piVar2 == (int *)0x0)) ||\n        (iVar1 = *piVar2, iVar1 == 0)) ||\n       (param_1 = param_1 + *(int *)(iVar1 + 8) + *(int *)(*(undefined **)(iVar1 + 0x10) + 0x1c),\n       *(undefined **)(iVar1 + 0x10) != PTR__bfd_std_section_0006ffd8 + 0xa8)) {\n      FUN_00014520();\n    }\n    FUN_00015110(param_1,param_2,param_3);\n  }" if (parenthesized_expression "(DAT_00071060 < 1)" ( (binary_expression "DAT_00071060 < 1" identifier < number_literal) )) (compound_statement "{\n    (*(code *)*param_2)(param_2[1],"0x");\n    FUN_000150a0();\n    if (DAT_00071094 != 0) {\n      iVar1 = *(int *)(iVar1 + 4);\n      pcVar3 = (code *)*param_2;\n      iVar4 = *(int *)(iVar1 + 0x50);\n      iVar1 = *(int *)(iVar1 + 0x1c);\n      uVar5 = dcgettext(0," (File Offset: 0x%lx)",5);\n      (*pcVar3)(param_2[1],uVar5,(param_1 + iVar4) - iVar1);\n    }\n  }" { (expression_statement "(*(code *)*param_2)(param_2[1],"0x");" (call_expression "(*(code *)*param_2)(param_2[1],"0x")" (parenthesized_expression "(*(code *)*param_2)" ( (pointer_expression "*(code *)*param_2" * (cast_expression "(code *)*param_2" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_2" * identifier))) )) (argument_list "(param_2[1],"0x")" ( (subscript_expression "param_2[1]" identifier [ number_literal ]) , (string_literal ""0x"" " string_content ") ))) ;) (expression_statement "FUN_000150a0();" (call_expression "FUN_000150a0()" identifier (argument_list "()" ( ))) ;) (if_statement "if (DAT_00071094 != 0) {\n      iVar1 = *(int *)(iVar1 + 4);\n      pcVar3 = (code *)*param_2;\n      iVar4 = *(int *)(iVar1 + 0x50);\n      iVar1 = *(int *)(iVar1 + 0x1c);\n      uVar5 = dcgettext(0," (File Offset: 0x%lx)",5);\n      (*pcVar3)(param_2[1],uVar5,(param_1 + iVar4) - iVar1);\n    }" if (parenthesized_expression "(DAT_00071094 != 0)" ( (binary_expression "DAT_00071094 != 0" identifier != number_literal) )) (compound_statement "{\n      iVar1 = *(int *)(iVar1 + 4);\n      pcVar3 = (code *)*param_2;\n      iVar4 = *(int *)(iVar1 + 0x50);\n      iVar1 = *(int *)(iVar1 + 0x1c);\n      uVar5 = dcgettext(0," (File Offset: 0x%lx)",5);\n      (*pcVar3)(param_2[1],uVar5,(param_1 + iVar4) - iVar1);\n    }" { (expression_statement "iVar1 = *(int *)(iVar1 + 4);" (assignment_expression "iVar1 = *(int *)(iVar1 + 4)" identifier = (pointer_expression "*(int *)(iVar1 + 4)" * (cast_expression "(int *)(iVar1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 4)" ( (binary_expression "iVar1 + 4" identifier + number_literal) ))))) ;) (expression_statement "pcVar3 = (code *)*param_2;" (assignment_expression "pcVar3 = (code *)*param_2" identifier = (cast_expression "(code *)*param_2" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_2" * identifier))) ;) (expression_statement "iVar4 = *(int *)(iVar1 + 0x50);" (assignment_expression "iVar4 = *(int *)(iVar1 + 0x50)" identifier = (pointer_expression "*(int *)(iVar1 + 0x50)" * (cast_expression "(int *)(iVar1 + 0x50)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x50)" ( (binary_expression "iVar1 + 0x50" identifier + number_literal) ))))) ;) (expression_statement "iVar1 = *(int *)(iVar1 + 0x1c);" (assignment_expression "iVar1 = *(int *)(iVar1 + 0x1c)" identifier = (pointer_expression "*(int *)(iVar1 + 0x1c)" * (cast_expression "(int *)(iVar1 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x1c)" ( (binary_expression "iVar1 + 0x1c" identifier + number_literal) ))))) ;) (expression_statement "uVar5 = dcgettext(0," (File Offset: 0x%lx)",5);" (assignment_expression "uVar5 = dcgettext(0," (File Offset: 0x%lx)",5)" identifier = (call_expression "dcgettext(0," (File Offset: 0x%lx)",5)" identifier (argument_list "(0," (File Offset: 0x%lx)",5)" ( number_literal , (string_literal "" (File Offset: 0x%lx)"" " string_content ") , number_literal )))) ;) (expression_statement "(*pcVar3)(param_2[1],uVar5,(param_1 + iVar4) - iVar1);" (call_expression "(*pcVar3)(param_2[1],uVar5,(param_1 + iVar4) - iVar1)" (parenthesized_expression "(*pcVar3)" ( (pointer_expression "*pcVar3" * identifier) )) (argument_list "(param_2[1],uVar5,(param_1 + iVar4) - iVar1)" ( (subscript_expression "param_2[1]" identifier [ number_literal ]) , identifier , (binary_expression "(param_1 + iVar4) - iVar1" (parenthesized_expression "(param_1 + iVar4)" ( (binary_expression "param_1 + iVar4" identifier + identifier) )) - identifier) ))) ;) })) }) (else_clause "else {\n    piVar2 = *(int **)(iVar1 + 0x18);\n    if ((((piVar2 == (int *)0x0) || (piVar2 = (int *)*piVar2, piVar2 == (int *)0x0)) ||\n        (iVar1 = *piVar2, iVar1 == 0)) ||\n       (param_1 = param_1 + *(int *)(iVar1 + 8) + *(int *)(*(undefined **)(iVar1 + 0x10) + 0x1c),\n       *(undefined **)(iVar1 + 0x10) != PTR__bfd_std_section_0006ffd8 + 0xa8)) {\n      FUN_00014520();\n    }\n    FUN_00015110(param_1,param_2,param_3);\n  }" else (compound_statement "{\n    piVar2 = *(int **)(iVar1 + 0x18);\n    if ((((piVar2 == (int *)0x0) || (piVar2 = (int *)*piVar2, piVar2 == (int *)0x0)) ||\n        (iVar1 = *piVar2, iVar1 == 0)) ||\n       (param_1 = param_1 + *(int *)(iVar1 + 8) + *(int *)(*(undefined **)(iVar1 + 0x10) + 0x1c),\n       *(undefined **)(iVar1 + 0x10) != PTR__bfd_std_section_0006ffd8 + 0xa8)) {\n      FUN_00014520();\n    }\n    FUN_00015110(param_1,param_2,param_3);\n  }" { (expression_statement "piVar2 = *(int **)(iVar1 + 0x18);" (assignment_expression "piVar2 = *(int **)(iVar1 + 0x18)" identifier = (pointer_expression "*(int **)(iVar1 + 0x18)" * (cast_expression "(int **)(iVar1 + 0x18)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar1 + 0x18)" ( (binary_expression "iVar1 + 0x18" identifier + number_literal) ))))) ;) (if_statement "if ((((piVar2 == (int *)0x0) || (piVar2 = (int *)*piVar2, piVar2 == (int *)0x0)) ||\n        (iVar1 = *piVar2, iVar1 == 0)) ||\n       (param_1 = param_1 + *(int *)(iVar1 + 8) + *(int *)(*(undefined **)(iVar1 + 0x10) + 0x1c),\n       *(undefined **)(iVar1 + 0x10) != PTR__bfd_std_section_0006ffd8 + 0xa8)) {\n      FUN_00014520();\n    }" if (parenthesized_expression "((((piVar2 == (int *)0x0) || (piVar2 = (int *)*piVar2, piVar2 == (int *)0x0)) ||\n        (iVar1 = *piVar2, iVar1 == 0)) ||\n       (param_1 = param_1 + *(int *)(iVar1 + 8) + *(int *)(*(undefined **)(iVar1 + 0x10) + 0x1c),\n       *(undefined **)(iVar1 + 0x10) != PTR__bfd_std_section_0006ffd8 + 0xa8))" ( (binary_expression "(((piVar2 == (int *)0x0) || (piVar2 = (int *)*piVar2, piVar2 == (int *)0x0)) ||\n        (iVar1 = *piVar2, iVar1 == 0)) ||\n       (param_1 = param_1 + *(int *)(iVar1 + 8) + *(int *)(*(undefined **)(iVar1 + 0x10) + 0x1c),\n       *(undefined **)(iVar1 + 0x10) != PTR__bfd_std_section_0006ffd8 + 0xa8)" (parenthesized_expression "(((piVar2 == (int *)0x0) || (piVar2 = (int *)*piVar2, piVar2 == (int *)0x0)) ||\n        (iVar1 = *piVar2, iVar1 == 0))" ( (binary_expression "((piVar2 == (int *)0x0) || (piVar2 = (int *)*piVar2, piVar2 == (int *)0x0)) ||\n        (iVar1 = *piVar2, iVar1 == 0)" (parenthesized_expression "((piVar2 == (int *)0x0) || (piVar2 = (int *)*piVar2, piVar2 == (int *)0x0))" ( (binary_expression "(piVar2 == (int *)0x0) || (piVar2 = (int *)*piVar2, piVar2 == (int *)0x0)" (parenthesized_expression "(piVar2 == (int *)0x0)" ( (binary_expression "piVar2 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(piVar2 = (int *)*piVar2, piVar2 == (int *)0x0)" ( (comma_expression "piVar2 = (int *)*piVar2, piVar2 == (int *)0x0" (assignment_expression "piVar2 = (int *)*piVar2" identifier = (cast_expression "(int *)*piVar2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar2" * identifier))) , (binary_expression "piVar2 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) || (parenthesized_expression "(iVar1 = *piVar2, iVar1 == 0)" ( (comma_expression "iVar1 = *piVar2, iVar1 == 0" (assignment_expression "iVar1 = *piVar2" identifier = (pointer_expression "*piVar2" * identifier)) , (binary_expression "iVar1 == 0" identifier == number_literal)) ))) )) || (parenthesized_expression "(param_1 = param_1 + *(int *)(iVar1 + 8) + *(int *)(*(undefined **)(iVar1 + 0x10) + 0x1c),\n       *(undefined **)(iVar1 + 0x10) != PTR__bfd_std_section_0006ffd8 + 0xa8)" ( (comma_expression "param_1 = param_1 + *(int *)(iVar1 + 8) + *(int *)(*(undefined **)(iVar1 + 0x10) + 0x1c),\n       *(undefined **)(iVar1 + 0x10) != PTR__bfd_std_section_0006ffd8 + 0xa8" (assignment_expression "param_1 = param_1 + *(int *)(iVar1 + 8) + *(int *)(*(undefined **)(iVar1 + 0x10) + 0x1c)" identifier = (binary_expression "param_1 + *(int *)(iVar1 + 8) + *(int *)(*(undefined **)(iVar1 + 0x10) + 0x1c)" (binary_expression "param_1 + *(int *)(iVar1 + 8)" identifier + (pointer_expression "*(int *)(iVar1 + 8)" * (cast_expression "(int *)(iVar1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 8)" ( (binary_expression "iVar1 + 8" identifier + number_literal) ))))) + (pointer_expression "*(int *)(*(undefined **)(iVar1 + 0x10) + 0x1c)" * (cast_expression "(int *)(*(undefined **)(iVar1 + 0x10) + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(undefined **)(iVar1 + 0x10) + 0x1c)" ( (binary_expression "*(undefined **)(iVar1 + 0x10) + 0x1c" (pointer_expression "*(undefined **)(iVar1 + 0x10)" * (cast_expression "(undefined **)(iVar1 + 0x10)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar1 + 0x10)" ( (binary_expression "iVar1 + 0x10" identifier + number_literal) )))) + number_literal) )))))) , (binary_expression "*(undefined **)(iVar1 + 0x10) != PTR__bfd_std_section_0006ffd8 + 0xa8" (pointer_expression "*(undefined **)(iVar1 + 0x10)" * (cast_expression "(undefined **)(iVar1 + 0x10)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar1 + 0x10)" ( (binary_expression "iVar1 + 0x10" identifier + number_literal) )))) != (binary_expression "PTR__bfd_std_section_0006ffd8 + 0xa8" identifier + number_literal))) ))) )) (compound_statement "{\n      FUN_00014520();\n    }" { (expression_statement "FUN_00014520();" (call_expression "FUN_00014520()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "FUN_00015110(param_1,param_2,param_3);" (call_expression "FUN_00015110(param_1,param_2,param_3)" identifier (argument_list "(param_1,param_2,param_3)" ( identifier , identifier , identifier ))) ;) }))) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid __regparm3 objdump_print_addr(bfd_vma vma,disassemble_info *inf,bfd_boolean skip_zeroes)\n\n{\n  undefined4 *puVar1;\n  int *piVar2;\n  fprintf_ftype p_Var3;\n  int iVar4;\n  int iVar5;\n  asymbol *sym;\n  char *pcVar6;\n  bfd_vma in_stack_ffffffd4;\n  disassemble_info *in_stack_ffffffd8;\n  long *in_stack_ffffffdc;\n  \n  puVar1 = (undefined4 *)inf->application_data;\n  if (sorted_symcount < 1) {\n    (*inf->fprintf_func)(inf->stream,"0x");\n    objdump_print_value(vma,inf,skip_zeroes);\n    if (display_file_offsets != 0) {\n      p_Var3 = inf->fprintf_func;\n      iVar4 = *(int *)(puVar1[1] + 0x50);\n      iVar5 = *(int *)(puVar1[1] + 0x1c);\n      pcVar6 = (char *)dcgettext(0," (File Offset: 0x%lx)",5);\n      (*p_Var3)(inf->stream,pcVar6,(vma + iVar4) - iVar5);\n    }\n  }\n  else {\n    if (((((int *)puVar1[6] == (int *)0x0) || (piVar2 = *(int **)puVar1[6], piVar2 == (int *)0x0))\n        || (sym = (asymbol *)*piVar2, sym == (asymbol *)0x0)) ||\n       (vma = vma + sym->value + sym->section->vma,\n       sym->section != (bfd_section *)(PTR__bfd_std_section_0006ffd8 + 0xa8))) {\n      sym = find_symbol_for_address(in_stack_ffffffd4,in_stack_ffffffd8,in_stack_ffffffdc);\n    }\n    objdump_print_addr_with_sym((bfd *)*puVar1,(asection *)puVar1[1],sym,vma,inf,skip_zeroes);\n  }\n  return;\n}\n\n" comment (function_definition "void __regparm3 objdump_print_addr(bfd_vma vma,disassemble_info *inf,bfd_boolean skip_zeroes)\n\n{\n  undefined4 *puVar1;\n  int *piVar2;\n  fprintf_ftype p_Var3;\n  int iVar4;\n  int iVar5;\n  asymbol *sym;\n  char *pcVar6;\n  bfd_vma in_stack_ffffffd4;\n  disassemble_info *in_stack_ffffffd8;\n  long *in_stack_ffffffdc;\n  \n  puVar1 = (undefined4 *)inf->application_data;\n  if (sorted_symcount < 1) {\n    (*inf->fprintf_func)(inf->stream,"0x");\n    objdump_print_value(vma,inf,skip_zeroes);\n    if (display_file_offsets != 0) {\n      p_Var3 = inf->fprintf_func;\n      iVar4 = *(int *)(puVar1[1] + 0x50);\n      iVar5 = *(int *)(puVar1[1] + 0x1c);\n      pcVar6 = (char *)dcgettext(0," (File Offset: 0x%lx)",5);\n      (*p_Var3)(inf->stream,pcVar6,(vma + iVar4) - iVar5);\n    }\n  }\n  else {\n    if (((((int *)puVar1[6] == (int *)0x0) || (piVar2 = *(int **)puVar1[6], piVar2 == (int *)0x0))\n        || (sym = (asymbol *)*piVar2, sym == (asymbol *)0x0)) ||\n       (vma = vma + sym->value + sym->section->vma,\n       sym->section != (bfd_section *)(PTR__bfd_std_section_0006ffd8 + 0xa8))) {\n      sym = find_symbol_for_address(in_stack_ffffffd4,in_stack_ffffffd8,in_stack_ffffffdc);\n    }\n    objdump_print_addr_with_sym((bfd *)*puVar1,(asection *)puVar1[1],sym,vma,inf,skip_zeroes);\n  }\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "objdump_print_addr(bfd_vma vma,disassemble_info *inf,bfd_boolean skip_zeroes)" identifier (parameter_list "(bfd_vma vma,disassemble_info *inf,bfd_boolean skip_zeroes)" ( (parameter_declaration "bfd_vma vma" type_identifier identifier) , (parameter_declaration "disassemble_info *inf" type_identifier (pointer_declarator "*inf" * identifier)) , (parameter_declaration "bfd_boolean skip_zeroes" type_identifier identifier) ))) (compound_statement "{\n  undefined4 *puVar1;\n  int *piVar2;\n  fprintf_ftype p_Var3;\n  int iVar4;\n  int iVar5;\n  asymbol *sym;\n  char *pcVar6;\n  bfd_vma in_stack_ffffffd4;\n  disassemble_info *in_stack_ffffffd8;\n  long *in_stack_ffffffdc;\n  \n  puVar1 = (undefined4 *)inf->application_data;\n  if (sorted_symcount < 1) {\n    (*inf->fprintf_func)(inf->stream,"0x");\n    objdump_print_value(vma,inf,skip_zeroes);\n    if (display_file_offsets != 0) {\n      p_Var3 = inf->fprintf_func;\n      iVar4 = *(int *)(puVar1[1] + 0x50);\n      iVar5 = *(int *)(puVar1[1] + 0x1c);\n      pcVar6 = (char *)dcgettext(0," (File Offset: 0x%lx)",5);\n      (*p_Var3)(inf->stream,pcVar6,(vma + iVar4) - iVar5);\n    }\n  }\n  else {\n    if (((((int *)puVar1[6] == (int *)0x0) || (piVar2 = *(int **)puVar1[6], piVar2 == (int *)0x0))\n        || (sym = (asymbol *)*piVar2, sym == (asymbol *)0x0)) ||\n       (vma = vma + sym->value + sym->section->vma,\n       sym->section != (bfd_section *)(PTR__bfd_std_section_0006ffd8 + 0xa8))) {\n      sym = find_symbol_for_address(in_stack_ffffffd4,in_stack_ffffffd8,in_stack_ffffffdc);\n    }\n    objdump_print_addr_with_sym((bfd *)*puVar1,(asection *)puVar1[1],sym,vma,inf,skip_zeroes);\n  }\n  return;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "fprintf_ftype p_Var3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "asymbol *sym;" type_identifier (pointer_declarator "*sym" * identifier) ;) (declaration "char *pcVar6;" primitive_type (pointer_declarator "*pcVar6" * identifier) ;) (declaration "bfd_vma in_stack_ffffffd4;" type_identifier identifier ;) (declaration "disassemble_info *in_stack_ffffffd8;" type_identifier (pointer_declarator "*in_stack_ffffffd8" * identifier) ;) (declaration "long *in_stack_ffffffdc;" (sized_type_specifier "long" long) (pointer_declarator "*in_stack_ffffffdc" * identifier) ;) (expression_statement "puVar1 = (undefined4 *)inf->application_data;" (assignment_expression "puVar1 = (undefined4 *)inf->application_data" identifier = (cast_expression "(undefined4 *)inf->application_data" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "inf->application_data" identifier -> field_identifier))) ;) (if_statement "if (sorted_symcount < 1) {\n    (*inf->fprintf_func)(inf->stream,"0x");\n    objdump_print_value(vma,inf,skip_zeroes);\n    if (display_file_offsets != 0) {\n      p_Var3 = inf->fprintf_func;\n      iVar4 = *(int *)(puVar1[1] + 0x50);\n      iVar5 = *(int *)(puVar1[1] + 0x1c);\n      pcVar6 = (char *)dcgettext(0," (File Offset: 0x%lx)",5);\n      (*p_Var3)(inf->stream,pcVar6,(vma + iVar4) - iVar5);\n    }\n  }\n  else {\n    if (((((int *)puVar1[6] == (int *)0x0) || (piVar2 = *(int **)puVar1[6], piVar2 == (int *)0x0))\n        || (sym = (asymbol *)*piVar2, sym == (asymbol *)0x0)) ||\n       (vma = vma + sym->value + sym->section->vma,\n       sym->section != (bfd_section *)(PTR__bfd_std_section_0006ffd8 + 0xa8))) {\n      sym = find_symbol_for_address(in_stack_ffffffd4,in_stack_ffffffd8,in_stack_ffffffdc);\n    }\n    objdump_print_addr_with_sym((bfd *)*puVar1,(asection *)puVar1[1],sym,vma,inf,skip_zeroes);\n  }" if (parenthesized_expression "(sorted_symcount < 1)" ( (binary_expression "sorted_symcount < 1" identifier < number_literal) )) (compound_statement "{\n    (*inf->fprintf_func)(inf->stream,"0x");\n    objdump_print_value(vma,inf,skip_zeroes);\n    if (display_file_offsets != 0) {\n      p_Var3 = inf->fprintf_func;\n      iVar4 = *(int *)(puVar1[1] + 0x50);\n      iVar5 = *(int *)(puVar1[1] + 0x1c);\n      pcVar6 = (char *)dcgettext(0," (File Offset: 0x%lx)",5);\n      (*p_Var3)(inf->stream,pcVar6,(vma + iVar4) - iVar5);\n    }\n  }" { (expression_statement "(*inf->fprintf_func)(inf->stream,"0x");" (call_expression "(*inf->fprintf_func)(inf->stream,"0x")" (parenthesized_expression "(*inf->fprintf_func)" ( (pointer_expression "*inf->fprintf_func" * (field_expression "inf->fprintf_func" identifier -> field_identifier)) )) (argument_list "(inf->stream,"0x")" ( (field_expression "inf->stream" identifier -> field_identifier) , (string_literal ""0x"" " string_content ") ))) ;) (expression_statement "objdump_print_value(vma,inf,skip_zeroes);" (call_expression "objdump_print_value(vma,inf,skip_zeroes)" identifier (argument_list "(vma,inf,skip_zeroes)" ( identifier , identifier , identifier ))) ;) (if_statement "if (display_file_offsets != 0) {\n      p_Var3 = inf->fprintf_func;\n      iVar4 = *(int *)(puVar1[1] + 0x50);\n      iVar5 = *(int *)(puVar1[1] + 0x1c);\n      pcVar6 = (char *)dcgettext(0," (File Offset: 0x%lx)",5);\n      (*p_Var3)(inf->stream,pcVar6,(vma + iVar4) - iVar5);\n    }" if (parenthesized_expression "(display_file_offsets != 0)" ( (binary_expression "display_file_offsets != 0" identifier != number_literal) )) (compound_statement "{\n      p_Var3 = inf->fprintf_func;\n      iVar4 = *(int *)(puVar1[1] + 0x50);\n      iVar5 = *(int *)(puVar1[1] + 0x1c);\n      pcVar6 = (char *)dcgettext(0," (File Offset: 0x%lx)",5);\n      (*p_Var3)(inf->stream,pcVar6,(vma + iVar4) - iVar5);\n    }" { (expression_statement "p_Var3 = inf->fprintf_func;" (assignment_expression "p_Var3 = inf->fprintf_func" identifier = (field_expression "inf->fprintf_func" identifier -> field_identifier)) ;) (expression_statement "iVar4 = *(int *)(puVar1[1] + 0x50);" (assignment_expression "iVar4 = *(int *)(puVar1[1] + 0x50)" identifier = (pointer_expression "*(int *)(puVar1[1] + 0x50)" * (cast_expression "(int *)(puVar1[1] + 0x50)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1[1] + 0x50)" ( (binary_expression "puVar1[1] + 0x50" (subscript_expression "puVar1[1]" identifier [ number_literal ]) + number_literal) ))))) ;) (expression_statement "iVar5 = *(int *)(puVar1[1] + 0x1c);" (assignment_expression "iVar5 = *(int *)(puVar1[1] + 0x1c)" identifier = (pointer_expression "*(int *)(puVar1[1] + 0x1c)" * (cast_expression "(int *)(puVar1[1] + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1[1] + 0x1c)" ( (binary_expression "puVar1[1] + 0x1c" (subscript_expression "puVar1[1]" identifier [ number_literal ]) + number_literal) ))))) ;) (expression_statement "pcVar6 = (char *)dcgettext(0," (File Offset: 0x%lx)",5);" (assignment_expression "pcVar6 = (char *)dcgettext(0," (File Offset: 0x%lx)",5)" identifier = (cast_expression "(char *)dcgettext(0," (File Offset: 0x%lx)",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0," (File Offset: 0x%lx)",5)" identifier (argument_list "(0," (File Offset: 0x%lx)",5)" ( number_literal , (string_literal "" (File Offset: 0x%lx)"" " string_content ") , number_literal ))))) ;) (expression_statement "(*p_Var3)(inf->stream,pcVar6,(vma + iVar4) - iVar5);" (call_expression "(*p_Var3)(inf->stream,pcVar6,(vma + iVar4) - iVar5)" (parenthesized_expression "(*p_Var3)" ( (pointer_expression "*p_Var3" * identifier) )) (argument_list "(inf->stream,pcVar6,(vma + iVar4) - iVar5)" ( (field_expression "inf->stream" identifier -> field_identifier) , identifier , (binary_expression "(vma + iVar4) - iVar5" (parenthesized_expression "(vma + iVar4)" ( (binary_expression "vma + iVar4" identifier + identifier) )) - identifier) ))) ;) })) }) (else_clause "else {\n    if (((((int *)puVar1[6] == (int *)0x0) || (piVar2 = *(int **)puVar1[6], piVar2 == (int *)0x0))\n        || (sym = (asymbol *)*piVar2, sym == (asymbol *)0x0)) ||\n       (vma = vma + sym->value + sym->section->vma,\n       sym->section != (bfd_section *)(PTR__bfd_std_section_0006ffd8 + 0xa8))) {\n      sym = find_symbol_for_address(in_stack_ffffffd4,in_stack_ffffffd8,in_stack_ffffffdc);\n    }\n    objdump_print_addr_with_sym((bfd *)*puVar1,(asection *)puVar1[1],sym,vma,inf,skip_zeroes);\n  }" else (compound_statement "{\n    if (((((int *)puVar1[6] == (int *)0x0) || (piVar2 = *(int **)puVar1[6], piVar2 == (int *)0x0))\n        || (sym = (asymbol *)*piVar2, sym == (asymbol *)0x0)) ||\n       (vma = vma + sym->value + sym->section->vma,\n       sym->section != (bfd_section *)(PTR__bfd_std_section_0006ffd8 + 0xa8))) {\n      sym = find_symbol_for_address(in_stack_ffffffd4,in_stack_ffffffd8,in_stack_ffffffdc);\n    }\n    objdump_print_addr_with_sym((bfd *)*puVar1,(asection *)puVar1[1],sym,vma,inf,skip_zeroes);\n  }" { (if_statement "if (((((int *)puVar1[6] == (int *)0x0) || (piVar2 = *(int **)puVar1[6], piVar2 == (int *)0x0))\n        || (sym = (asymbol *)*piVar2, sym == (asymbol *)0x0)) ||\n       (vma = vma + sym->value + sym->section->vma,\n       sym->section != (bfd_section *)(PTR__bfd_std_section_0006ffd8 + 0xa8))) {\n      sym = find_symbol_for_address(in_stack_ffffffd4,in_stack_ffffffd8,in_stack_ffffffdc);\n    }" if (parenthesized_expression "(((((int *)puVar1[6] == (int *)0x0) || (piVar2 = *(int **)puVar1[6], piVar2 == (int *)0x0))\n        || (sym = (asymbol *)*piVar2, sym == (asymbol *)0x0)) ||\n       (vma = vma + sym->value + sym->section->vma,\n       sym->section != (bfd_section *)(PTR__bfd_std_section_0006ffd8 + 0xa8)))" ( (binary_expression "((((int *)puVar1[6] == (int *)0x0) || (piVar2 = *(int **)puVar1[6], piVar2 == (int *)0x0))\n        || (sym = (asymbol *)*piVar2, sym == (asymbol *)0x0)) ||\n       (vma = vma + sym->value + sym->section->vma,\n       sym->section != (bfd_section *)(PTR__bfd_std_section_0006ffd8 + 0xa8))" (parenthesized_expression "((((int *)puVar1[6] == (int *)0x0) || (piVar2 = *(int **)puVar1[6], piVar2 == (int *)0x0))\n        || (sym = (asymbol *)*piVar2, sym == (asymbol *)0x0))" ( (binary_expression "(((int *)puVar1[6] == (int *)0x0) || (piVar2 = *(int **)puVar1[6], piVar2 == (int *)0x0))\n        || (sym = (asymbol *)*piVar2, sym == (asymbol *)0x0)" (parenthesized_expression "(((int *)puVar1[6] == (int *)0x0) || (piVar2 = *(int **)puVar1[6], piVar2 == (int *)0x0))" ( (binary_expression "((int *)puVar1[6] == (int *)0x0) || (piVar2 = *(int **)puVar1[6], piVar2 == (int *)0x0)" (parenthesized_expression "((int *)puVar1[6] == (int *)0x0)" ( (binary_expression "(int *)puVar1[6] == (int *)0x0" (cast_expression "(int *)puVar1[6]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar1[6]" identifier [ number_literal ])) == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(piVar2 = *(int **)puVar1[6], piVar2 == (int *)0x0)" ( (comma_expression "piVar2 = *(int **)puVar1[6], piVar2 == (int *)0x0" (assignment_expression "piVar2 = *(int **)puVar1[6]" identifier = (pointer_expression "*(int **)puVar1[6]" * (cast_expression "(int **)puVar1[6]" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (subscript_expression "puVar1[6]" identifier [ number_literal ])))) , (binary_expression "piVar2 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) || (parenthesized_expression "(sym = (asymbol *)*piVar2, sym == (asymbol *)0x0)" ( (comma_expression "sym = (asymbol *)*piVar2, sym == (asymbol *)0x0" (assignment_expression "sym = (asymbol *)*piVar2" identifier = (cast_expression "(asymbol *)*piVar2" ( (type_descriptor "asymbol *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar2" * identifier))) , (binary_expression "sym == (asymbol *)0x0" identifier == (cast_expression "(asymbol *)0x0" ( (type_descriptor "asymbol *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) || (parenthesized_expression "(vma = vma + sym->value + sym->section->vma,\n       sym->section != (bfd_section *)(PTR__bfd_std_section_0006ffd8 + 0xa8))" ( (comma_expression "vma = vma + sym->value + sym->section->vma,\n       sym->section != (bfd_section *)(PTR__bfd_std_section_0006ffd8 + 0xa8)" (assignment_expression "vma = vma + sym->value + sym->section->vma" identifier = (binary_expression "vma + sym->value + sym->section->vma" (binary_expression "vma + sym->value" identifier + (field_expression "sym->value" identifier -> field_identifier)) + (field_expression "sym->section->vma" (field_expression "sym->section" identifier -> field_identifier) -> field_identifier))) , (binary_expression "sym->section != (bfd_section *)(PTR__bfd_std_section_0006ffd8 + 0xa8)" (field_expression "sym->section" identifier -> field_identifier) != (cast_expression "(bfd_section *)(PTR__bfd_std_section_0006ffd8 + 0xa8)" ( (type_descriptor "bfd_section *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR__bfd_std_section_0006ffd8 + 0xa8)" ( (binary_expression "PTR__bfd_std_section_0006ffd8 + 0xa8" identifier + number_literal) ))))) ))) )) (compound_statement "{\n      sym = find_symbol_for_address(in_stack_ffffffd4,in_stack_ffffffd8,in_stack_ffffffdc);\n    }" { (expression_statement "sym = find_symbol_for_address(in_stack_ffffffd4,in_stack_ffffffd8,in_stack_ffffffdc);" (assignment_expression "sym = find_symbol_for_address(in_stack_ffffffd4,in_stack_ffffffd8,in_stack_ffffffdc)" identifier = (call_expression "find_symbol_for_address(in_stack_ffffffd4,in_stack_ffffffd8,in_stack_ffffffdc)" identifier (argument_list "(in_stack_ffffffd4,in_stack_ffffffd8,in_stack_ffffffdc)" ( identifier , identifier , identifier )))) ;) })) (expression_statement "objdump_print_addr_with_sym((bfd *)*puVar1,(asection *)puVar1[1],sym,vma,inf,skip_zeroes);" (call_expression "objdump_print_addr_with_sym((bfd *)*puVar1,(asection *)puVar1[1],sym,vma,inf,skip_zeroes)" identifier (argument_list "((bfd *)*puVar1,(asection *)puVar1[1],sym,vma,inf,skip_zeroes)" ( (cast_expression "(bfd *)*puVar1" ( (type_descriptor "bfd *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar1" * identifier)) , (cast_expression "(asection *)puVar1[1]" ( (type_descriptor "asection *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar1[1]" identifier [ number_literal ])) , identifier , identifier , identifier , identifier ))) ;) }))) (return_statement "return;" return ;) })))
(translation_unit "void __regparm3 FUN_000152e0(int param_1,undefined4 *param_2,undefined4 param_3)\n\n{\n  int iVar1;\n  int *piVar2;\n  code *pcVar3;\n  int iVar4;\n  undefined4 uVar5;\n  \n  iVar1 = param_2[2];\n  if (DAT_00071060 < 1) {\n    (*(code *)*param_2)(param_2[1],"0x");\n    FUN_000150a0();\n    if (DAT_00071094 != 0) {\n      iVar1 = *(int *)(iVar1 + 4);\n      pcVar3 = (code *)*param_2;\n      iVar4 = *(int *)(iVar1 + 0x50);\n      iVar1 = *(int *)(iVar1 + 0x1c);\n      uVar5 = dcgettext(0," (File Offset: 0x%lx)",5);\n      (*pcVar3)(param_2[1],uVar5,(param_1 + iVar4) - iVar1);\n    }\n  }\n  else {\n    piVar2 = *(int **)(iVar1 + 0x18);\n    if ((((piVar2 == (int *)0x0) || (piVar2 = (int *)*piVar2, piVar2 == (int *)0x0)) ||\n        (iVar1 = *piVar2, iVar1 == 0)) ||\n       (param_1 = param_1 + *(int *)(iVar1 + 8) + *(int *)(*(undefined **)(iVar1 + 0x10) + 0x1c),\n       *(undefined **)(iVar1 + 0x10) != PTR__bfd_std_section_0006ffd8 + 0xa8)) {\n      FUN_00014520();\n    }\n    FUN_00015110(param_1,param_2,param_3);\n  }\n  return;\n}\n\n" (function_definition "void __regparm3 FUN_000152e0(int param_1,undefined4 *param_2,undefined4 param_3)\n\n{\n  int iVar1;\n  int *piVar2;\n  code *pcVar3;\n  int iVar4;\n  undefined4 uVar5;\n  \n  iVar1 = param_2[2];\n  if (DAT_00071060 < 1) {\n    (*(code *)*param_2)(param_2[1],"0x");\n    FUN_000150a0();\n    if (DAT_00071094 != 0) {\n      iVar1 = *(int *)(iVar1 + 4);\n      pcVar3 = (code *)*param_2;\n      iVar4 = *(int *)(iVar1 + 0x50);\n      iVar1 = *(int *)(iVar1 + 0x1c);\n      uVar5 = dcgettext(0," (File Offset: 0x%lx)",5);\n      (*pcVar3)(param_2[1],uVar5,(param_1 + iVar4) - iVar1);\n    }\n  }\n  else {\n    piVar2 = *(int **)(iVar1 + 0x18);\n    if ((((piVar2 == (int *)0x0) || (piVar2 = (int *)*piVar2, piVar2 == (int *)0x0)) ||\n        (iVar1 = *piVar2, iVar1 == 0)) ||\n       (param_1 = param_1 + *(int *)(iVar1 + 8) + *(int *)(*(undefined **)(iVar1 + 0x10) + 0x1c),\n       *(undefined **)(iVar1 + 0x10) != PTR__bfd_std_section_0006ffd8 + 0xa8)) {\n      FUN_00014520();\n    }\n    FUN_00015110(param_1,param_2,param_3);\n  }\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_000152e0(int param_1,undefined4 *param_2,undefined4 param_3)" identifier (parameter_list "(int param_1,undefined4 *param_2,undefined4 param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "undefined4 param_3" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  int *piVar2;\n  code *pcVar3;\n  int iVar4;\n  undefined4 uVar5;\n  \n  iVar1 = param_2[2];\n  if (DAT_00071060 < 1) {\n    (*(code *)*param_2)(param_2[1],"0x");\n    FUN_000150a0();\n    if (DAT_00071094 != 0) {\n      iVar1 = *(int *)(iVar1 + 4);\n      pcVar3 = (code *)*param_2;\n      iVar4 = *(int *)(iVar1 + 0x50);\n      iVar1 = *(int *)(iVar1 + 0x1c);\n      uVar5 = dcgettext(0," (File Offset: 0x%lx)",5);\n      (*pcVar3)(param_2[1],uVar5,(param_1 + iVar4) - iVar1);\n    }\n  }\n  else {\n    piVar2 = *(int **)(iVar1 + 0x18);\n    if ((((piVar2 == (int *)0x0) || (piVar2 = (int *)*piVar2, piVar2 == (int *)0x0)) ||\n        (iVar1 = *piVar2, iVar1 == 0)) ||\n       (param_1 = param_1 + *(int *)(iVar1 + 8) + *(int *)(*(undefined **)(iVar1 + 0x10) + 0x1c),\n       *(undefined **)(iVar1 + 0x10) != PTR__bfd_std_section_0006ffd8 + 0xa8)) {\n      FUN_00014520();\n    }\n    FUN_00015110(param_1,param_2,param_3);\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "code *pcVar3;" type_identifier (pointer_declarator "*pcVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (expression_statement "iVar1 = param_2[2];" (assignment_expression "iVar1 = param_2[2]" identifier = (subscript_expression "param_2[2]" identifier [ number_literal ])) ;) (if_statement "if (DAT_00071060 < 1) {\n    (*(code *)*param_2)(param_2[1],"0x");\n    FUN_000150a0();\n    if (DAT_00071094 != 0) {\n      iVar1 = *(int *)(iVar1 + 4);\n      pcVar3 = (code *)*param_2;\n      iVar4 = *(int *)(iVar1 + 0x50);\n      iVar1 = *(int *)(iVar1 + 0x1c);\n      uVar5 = dcgettext(0," (File Offset: 0x%lx)",5);\n      (*pcVar3)(param_2[1],uVar5,(param_1 + iVar4) - iVar1);\n    }\n  }\n  else {\n    piVar2 = *(int **)(iVar1 + 0x18);\n    if ((((piVar2 == (int *)0x0) || (piVar2 = (int *)*piVar2, piVar2 == (int *)0x0)) ||\n        (iVar1 = *piVar2, iVar1 == 0)) ||\n       (param_1 = param_1 + *(int *)(iVar1 + 8) + *(int *)(*(undefined **)(iVar1 + 0x10) + 0x1c),\n       *(undefined **)(iVar1 + 0x10) != PTR__bfd_std_section_0006ffd8 + 0xa8)) {\n      FUN_00014520();\n    }\n    FUN_00015110(param_1,param_2,param_3);\n  }" if (parenthesized_expression "(DAT_00071060 < 1)" ( (binary_expression "DAT_00071060 < 1" identifier < number_literal) )) (compound_statement "{\n    (*(code *)*param_2)(param_2[1],"0x");\n    FUN_000150a0();\n    if (DAT_00071094 != 0) {\n      iVar1 = *(int *)(iVar1 + 4);\n      pcVar3 = (code *)*param_2;\n      iVar4 = *(int *)(iVar1 + 0x50);\n      iVar1 = *(int *)(iVar1 + 0x1c);\n      uVar5 = dcgettext(0," (File Offset: 0x%lx)",5);\n      (*pcVar3)(param_2[1],uVar5,(param_1 + iVar4) - iVar1);\n    }\n  }" { (expression_statement "(*(code *)*param_2)(param_2[1],"0x");" (call_expression "(*(code *)*param_2)(param_2[1],"0x")" (parenthesized_expression "(*(code *)*param_2)" ( (pointer_expression "*(code *)*param_2" * (cast_expression "(code *)*param_2" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_2" * identifier))) )) (argument_list "(param_2[1],"0x")" ( (subscript_expression "param_2[1]" identifier [ number_literal ]) , (string_literal ""0x"" " string_content ") ))) ;) (expression_statement "FUN_000150a0();" (call_expression "FUN_000150a0()" identifier (argument_list "()" ( ))) ;) (if_statement "if (DAT_00071094 != 0) {\n      iVar1 = *(int *)(iVar1 + 4);\n      pcVar3 = (code *)*param_2;\n      iVar4 = *(int *)(iVar1 + 0x50);\n      iVar1 = *(int *)(iVar1 + 0x1c);\n      uVar5 = dcgettext(0," (File Offset: 0x%lx)",5);\n      (*pcVar3)(param_2[1],uVar5,(param_1 + iVar4) - iVar1);\n    }" if (parenthesized_expression "(DAT_00071094 != 0)" ( (binary_expression "DAT_00071094 != 0" identifier != number_literal) )) (compound_statement "{\n      iVar1 = *(int *)(iVar1 + 4);\n      pcVar3 = (code *)*param_2;\n      iVar4 = *(int *)(iVar1 + 0x50);\n      iVar1 = *(int *)(iVar1 + 0x1c);\n      uVar5 = dcgettext(0," (File Offset: 0x%lx)",5);\n      (*pcVar3)(param_2[1],uVar5,(param_1 + iVar4) - iVar1);\n    }" { (expression_statement "iVar1 = *(int *)(iVar1 + 4);" (assignment_expression "iVar1 = *(int *)(iVar1 + 4)" identifier = (pointer_expression "*(int *)(iVar1 + 4)" * (cast_expression "(int *)(iVar1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 4)" ( (binary_expression "iVar1 + 4" identifier + number_literal) ))))) ;) (expression_statement "pcVar3 = (code *)*param_2;" (assignment_expression "pcVar3 = (code *)*param_2" identifier = (cast_expression "(code *)*param_2" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_2" * identifier))) ;) (expression_statement "iVar4 = *(int *)(iVar1 + 0x50);" (assignment_expression "iVar4 = *(int *)(iVar1 + 0x50)" identifier = (pointer_expression "*(int *)(iVar1 + 0x50)" * (cast_expression "(int *)(iVar1 + 0x50)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x50)" ( (binary_expression "iVar1 + 0x50" identifier + number_literal) ))))) ;) (expression_statement "iVar1 = *(int *)(iVar1 + 0x1c);" (assignment_expression "iVar1 = *(int *)(iVar1 + 0x1c)" identifier = (pointer_expression "*(int *)(iVar1 + 0x1c)" * (cast_expression "(int *)(iVar1 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x1c)" ( (binary_expression "iVar1 + 0x1c" identifier + number_literal) ))))) ;) (expression_statement "uVar5 = dcgettext(0," (File Offset: 0x%lx)",5);" (assignment_expression "uVar5 = dcgettext(0," (File Offset: 0x%lx)",5)" identifier = (call_expression "dcgettext(0," (File Offset: 0x%lx)",5)" identifier (argument_list "(0," (File Offset: 0x%lx)",5)" ( number_literal , (string_literal "" (File Offset: 0x%lx)"" " string_content ") , number_literal )))) ;) (expression_statement "(*pcVar3)(param_2[1],uVar5,(param_1 + iVar4) - iVar1);" (call_expression "(*pcVar3)(param_2[1],uVar5,(param_1 + iVar4) - iVar1)" (parenthesized_expression "(*pcVar3)" ( (pointer_expression "*pcVar3" * identifier) )) (argument_list "(param_2[1],uVar5,(param_1 + iVar4) - iVar1)" ( (subscript_expression "param_2[1]" identifier [ number_literal ]) , identifier , (binary_expression "(param_1 + iVar4) - iVar1" (parenthesized_expression "(param_1 + iVar4)" ( (binary_expression "param_1 + iVar4" identifier + identifier) )) - identifier) ))) ;) })) }) (else_clause "else {\n    piVar2 = *(int **)(iVar1 + 0x18);\n    if ((((piVar2 == (int *)0x0) || (piVar2 = (int *)*piVar2, piVar2 == (int *)0x0)) ||\n        (iVar1 = *piVar2, iVar1 == 0)) ||\n       (param_1 = param_1 + *(int *)(iVar1 + 8) + *(int *)(*(undefined **)(iVar1 + 0x10) + 0x1c),\n       *(undefined **)(iVar1 + 0x10) != PTR__bfd_std_section_0006ffd8 + 0xa8)) {\n      FUN_00014520();\n    }\n    FUN_00015110(param_1,param_2,param_3);\n  }" else (compound_statement "{\n    piVar2 = *(int **)(iVar1 + 0x18);\n    if ((((piVar2 == (int *)0x0) || (piVar2 = (int *)*piVar2, piVar2 == (int *)0x0)) ||\n        (iVar1 = *piVar2, iVar1 == 0)) ||\n       (param_1 = param_1 + *(int *)(iVar1 + 8) + *(int *)(*(undefined **)(iVar1 + 0x10) + 0x1c),\n       *(undefined **)(iVar1 + 0x10) != PTR__bfd_std_section_0006ffd8 + 0xa8)) {\n      FUN_00014520();\n    }\n    FUN_00015110(param_1,param_2,param_3);\n  }" { (expression_statement "piVar2 = *(int **)(iVar1 + 0x18);" (assignment_expression "piVar2 = *(int **)(iVar1 + 0x18)" identifier = (pointer_expression "*(int **)(iVar1 + 0x18)" * (cast_expression "(int **)(iVar1 + 0x18)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar1 + 0x18)" ( (binary_expression "iVar1 + 0x18" identifier + number_literal) ))))) ;) (if_statement "if ((((piVar2 == (int *)0x0) || (piVar2 = (int *)*piVar2, piVar2 == (int *)0x0)) ||\n        (iVar1 = *piVar2, iVar1 == 0)) ||\n       (param_1 = param_1 + *(int *)(iVar1 + 8) + *(int *)(*(undefined **)(iVar1 + 0x10) + 0x1c),\n       *(undefined **)(iVar1 + 0x10) != PTR__bfd_std_section_0006ffd8 + 0xa8)) {\n      FUN_00014520();\n    }" if (parenthesized_expression "((((piVar2 == (int *)0x0) || (piVar2 = (int *)*piVar2, piVar2 == (int *)0x0)) ||\n        (iVar1 = *piVar2, iVar1 == 0)) ||\n       (param_1 = param_1 + *(int *)(iVar1 + 8) + *(int *)(*(undefined **)(iVar1 + 0x10) + 0x1c),\n       *(undefined **)(iVar1 + 0x10) != PTR__bfd_std_section_0006ffd8 + 0xa8))" ( (binary_expression "(((piVar2 == (int *)0x0) || (piVar2 = (int *)*piVar2, piVar2 == (int *)0x0)) ||\n        (iVar1 = *piVar2, iVar1 == 0)) ||\n       (param_1 = param_1 + *(int *)(iVar1 + 8) + *(int *)(*(undefined **)(iVar1 + 0x10) + 0x1c),\n       *(undefined **)(iVar1 + 0x10) != PTR__bfd_std_section_0006ffd8 + 0xa8)" (parenthesized_expression "(((piVar2 == (int *)0x0) || (piVar2 = (int *)*piVar2, piVar2 == (int *)0x0)) ||\n        (iVar1 = *piVar2, iVar1 == 0))" ( (binary_expression "((piVar2 == (int *)0x0) || (piVar2 = (int *)*piVar2, piVar2 == (int *)0x0)) ||\n        (iVar1 = *piVar2, iVar1 == 0)" (parenthesized_expression "((piVar2 == (int *)0x0) || (piVar2 = (int *)*piVar2, piVar2 == (int *)0x0))" ( (binary_expression "(piVar2 == (int *)0x0) || (piVar2 = (int *)*piVar2, piVar2 == (int *)0x0)" (parenthesized_expression "(piVar2 == (int *)0x0)" ( (binary_expression "piVar2 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(piVar2 = (int *)*piVar2, piVar2 == (int *)0x0)" ( (comma_expression "piVar2 = (int *)*piVar2, piVar2 == (int *)0x0" (assignment_expression "piVar2 = (int *)*piVar2" identifier = (cast_expression "(int *)*piVar2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar2" * identifier))) , (binary_expression "piVar2 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) || (parenthesized_expression "(iVar1 = *piVar2, iVar1 == 0)" ( (comma_expression "iVar1 = *piVar2, iVar1 == 0" (assignment_expression "iVar1 = *piVar2" identifier = (pointer_expression "*piVar2" * identifier)) , (binary_expression "iVar1 == 0" identifier == number_literal)) ))) )) || (parenthesized_expression "(param_1 = param_1 + *(int *)(iVar1 + 8) + *(int *)(*(undefined **)(iVar1 + 0x10) + 0x1c),\n       *(undefined **)(iVar1 + 0x10) != PTR__bfd_std_section_0006ffd8 + 0xa8)" ( (comma_expression "param_1 = param_1 + *(int *)(iVar1 + 8) + *(int *)(*(undefined **)(iVar1 + 0x10) + 0x1c),\n       *(undefined **)(iVar1 + 0x10) != PTR__bfd_std_section_0006ffd8 + 0xa8" (assignment_expression "param_1 = param_1 + *(int *)(iVar1 + 8) + *(int *)(*(undefined **)(iVar1 + 0x10) + 0x1c)" identifier = (binary_expression "param_1 + *(int *)(iVar1 + 8) + *(int *)(*(undefined **)(iVar1 + 0x10) + 0x1c)" (binary_expression "param_1 + *(int *)(iVar1 + 8)" identifier + (pointer_expression "*(int *)(iVar1 + 8)" * (cast_expression "(int *)(iVar1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 8)" ( (binary_expression "iVar1 + 8" identifier + number_literal) ))))) + (pointer_expression "*(int *)(*(undefined **)(iVar1 + 0x10) + 0x1c)" * (cast_expression "(int *)(*(undefined **)(iVar1 + 0x10) + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(undefined **)(iVar1 + 0x10) + 0x1c)" ( (binary_expression "*(undefined **)(iVar1 + 0x10) + 0x1c" (pointer_expression "*(undefined **)(iVar1 + 0x10)" * (cast_expression "(undefined **)(iVar1 + 0x10)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar1 + 0x10)" ( (binary_expression "iVar1 + 0x10" identifier + number_literal) )))) + number_literal) )))))) , (binary_expression "*(undefined **)(iVar1 + 0x10) != PTR__bfd_std_section_0006ffd8 + 0xa8" (pointer_expression "*(undefined **)(iVar1 + 0x10)" * (cast_expression "(undefined **)(iVar1 + 0x10)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar1 + 0x10)" ( (binary_expression "iVar1 + 0x10" identifier + number_literal) )))) != (binary_expression "PTR__bfd_std_section_0006ffd8 + 0xa8" identifier + number_literal))) ))) )) (compound_statement "{\n      FUN_00014520();\n    }" { (expression_statement "FUN_00014520();" (call_expression "FUN_00014520()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "FUN_00015110(param_1,param_2,param_3);" (call_expression "FUN_00015110(param_1,param_2,param_3)" identifier (argument_list "(param_1,param_2,param_3)" ( identifier , identifier , identifier ))) ;) }))) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) )) (argument_list ( (subscript_expression IDENT [ LIT ]) , (string_literal " string_content ") ))) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (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 IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , (string_literal " string_content ") , LIT )))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( (subscript_expression IDENT [ LIT ]) , IDENT , (binary_expression (parenthesized_expression ( (binary_expression IDENT + IDENT) )) - IDENT) ))) ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) , (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT))) ))) )) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (pointer_expression * IDENT)) , (binary_expression IDENT == LIT)) ))) )) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (binary_expression (binary_expression IDENT + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))))) , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != (binary_expression IDENT + LIT))) ))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))) ;) }))) (return_statement return ;) })))
(function_definition "void __regparm3 FUN_000152e0(int param_1,undefined4 *param_2,undefined4 param_3)\n\n{\n  int iVar1;\n  int *piVar2;\n  code *pcVar3;\n  int iVar4;\n  undefined4 uVar5;\n  \n  iVar1 = param_2[2];\n  if (DAT_00071060 < 1) {\n    (*(code *)*param_2)(param_2[1],"0x");\n    FUN_000150a0();\n    if (DAT_00071094 != 0) {\n      iVar1 = *(int *)(iVar1 + 4);\n      pcVar3 = (code *)*param_2;\n      iVar4 = *(int *)(iVar1 + 0x50);\n      iVar1 = *(int *)(iVar1 + 0x1c);\n      uVar5 = dcgettext(0," (File Offset: 0x%lx)",5);\n      (*pcVar3)(param_2[1],uVar5,(param_1 + iVar4) - iVar1);\n    }\n  }\n  else {\n    piVar2 = *(int **)(iVar1 + 0x18);\n    if ((((piVar2 == (int *)0x0) || (piVar2 = (int *)*piVar2, piVar2 == (int *)0x0)) ||\n        (iVar1 = *piVar2, iVar1 == 0)) ||\n       (param_1 = param_1 + *(int *)(iVar1 + 8) + *(int *)(*(undefined **)(iVar1 + 0x10) + 0x1c),\n       *(undefined **)(iVar1 + 0x10) != PTR__bfd_std_section_0006ffd8 + 0xa8)) {\n      FUN_00014520();\n    }\n    FUN_00015110(param_1,param_2,param_3);\n  }\n  return;\n}" (primitive_type "void") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_000152e0(int param_1,undefined4 *param_2,undefined4 param_3)" (identifier "FUN_000152e0") (parameter_list "(int param_1,undefined4 *param_2,undefined4 param_3)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 *param_2" (type_identifier "undefined4") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) () ")"))) (compound_statement "{\n  int iVar1;\n  int *piVar2;\n  code *pcVar3;\n  int iVar4;\n  undefined4 uVar5;\n  \n  iVar1 = param_2[2];\n  if (DAT_00071060 < 1) {\n    (*(code *)*param_2)(param_2[1],"0x");\n    FUN_000150a0();\n    if (DAT_00071094 != 0) {\n      iVar1 = *(int *)(iVar1 + 4);\n      pcVar3 = (code *)*param_2;\n      iVar4 = *(int *)(iVar1 + 0x50);\n      iVar1 = *(int *)(iVar1 + 0x1c);\n      uVar5 = dcgettext(0," (File Offset: 0x%lx)",5);\n      (*pcVar3)(param_2[1],uVar5,(param_1 + iVar4) - iVar1);\n    }\n  }\n  else {\n    piVar2 = *(int **)(iVar1 + 0x18);\n    if ((((piVar2 == (int *)0x0) || (piVar2 = (int *)*piVar2, piVar2 == (int *)0x0)) ||\n        (iVar1 = *piVar2, iVar1 == 0)) ||\n       (param_1 = param_1 + *(int *)(iVar1 + 8) + *(int *)(*(undefined **)(iVar1 + 0x10) + 0x1c),\n       *(undefined **)(iVar1 + 0x10) != PTR__bfd_std_section_0006ffd8 + 0xa8)) {\n      FUN_00014520();\n    }\n    FUN_00015110(param_1,param_2,param_3);\n  }\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "int *piVar2;" (primitive_type "int") (pointer_declarator "*piVar2" (* "*") (identifier "piVar2")) (; ";")) (declaration "code *pcVar3;" (type_identifier "code") (pointer_declarator "*pcVar3" (* "*") (identifier "pcVar3")) (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "undefined4 uVar5;" (type_identifier "undefined4") (identifier "uVar5") (; ";")) (expression_statement "iVar1 = param_2[2];" (assignment_expression "iVar1 = param_2[2]" (identifier "iVar1") (= "=") (subscript_expression "param_2[2]" (identifier "param_2") ([ "[") (number_literal "2") (] "]"))) (; ";")) (if_statement "if (DAT_00071060 < 1) {\n    (*(code *)*param_2)(param_2[1],"0x");\n    FUN_000150a0();\n    if (DAT_00071094 != 0) {\n      iVar1 = *(int *)(iVar1 + 4);\n      pcVar3 = (code *)*param_2;\n      iVar4 = *(int *)(iVar1 + 0x50);\n      iVar1 = *(int *)(iVar1 + 0x1c);\n      uVar5 = dcgettext(0," (File Offset: 0x%lx)",5);\n      (*pcVar3)(param_2[1],uVar5,(param_1 + iVar4) - iVar1);\n    }\n  }\n  else {\n    piVar2 = *(int **)(iVar1 + 0x18);\n    if ((((piVar2 == (int *)0x0) || (piVar2 = (int *)*piVar2, piVar2 == (int *)0x0)) ||\n        (iVar1 = *piVar2, iVar1 == 0)) ||\n       (param_1 = param_1 + *(int *)(iVar1 + 8) + *(int *)(*(undefined **)(iVar1 + 0x10) + 0x1c),\n       *(undefined **)(iVar1 + 0x10) != PTR__bfd_std_section_0006ffd8 + 0xa8)) {\n      FUN_00014520();\n    }\n    FUN_00015110(param_1,param_2,param_3);\n  }" (if "if") (parenthesized_expression "(DAT_00071060 < 1)" (( "(") (binary_expression "DAT_00071060 < 1" (identifier "DAT_00071060") (< "<") (number_literal "1")) () ")")) (compound_statement "{\n    (*(code *)*param_2)(param_2[1],"0x");\n    FUN_000150a0();\n    if (DAT_00071094 != 0) {\n      iVar1 = *(int *)(iVar1 + 4);\n      pcVar3 = (code *)*param_2;\n      iVar4 = *(int *)(iVar1 + 0x50);\n      iVar1 = *(int *)(iVar1 + 0x1c);\n      uVar5 = dcgettext(0," (File Offset: 0x%lx)",5);\n      (*pcVar3)(param_2[1],uVar5,(param_1 + iVar4) - iVar1);\n    }\n  }" ({ "{") (expression_statement "(*(code *)*param_2)(param_2[1],"0x");" (call_expression "(*(code *)*param_2)(param_2[1],"0x")" (parenthesized_expression "(*(code *)*param_2)" (( "(") (pointer_expression "*(code *)*param_2" (* "*") (cast_expression "(code *)*param_2" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_2" (* "*") (identifier "param_2")))) () ")")) (argument_list "(param_2[1],"0x")" (( "(") (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]")) (, ",") (string_literal ""0x"" (" """) (string_content "0x") (" """)) () ")"))) (; ";")) (expression_statement "FUN_000150a0();" (call_expression "FUN_000150a0()" (identifier "FUN_000150a0") (argument_list "()" (( "(") () ")"))) (; ";")) (if_statement "if (DAT_00071094 != 0) {\n      iVar1 = *(int *)(iVar1 + 4);\n      pcVar3 = (code *)*param_2;\n      iVar4 = *(int *)(iVar1 + 0x50);\n      iVar1 = *(int *)(iVar1 + 0x1c);\n      uVar5 = dcgettext(0," (File Offset: 0x%lx)",5);\n      (*pcVar3)(param_2[1],uVar5,(param_1 + iVar4) - iVar1);\n    }" (if "if") (parenthesized_expression "(DAT_00071094 != 0)" (( "(") (binary_expression "DAT_00071094 != 0" (identifier "DAT_00071094") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      iVar1 = *(int *)(iVar1 + 4);\n      pcVar3 = (code *)*param_2;\n      iVar4 = *(int *)(iVar1 + 0x50);\n      iVar1 = *(int *)(iVar1 + 0x1c);\n      uVar5 = dcgettext(0," (File Offset: 0x%lx)",5);\n      (*pcVar3)(param_2[1],uVar5,(param_1 + iVar4) - iVar1);\n    }" ({ "{") (expression_statement "iVar1 = *(int *)(iVar1 + 4);" (assignment_expression "iVar1 = *(int *)(iVar1 + 4)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(iVar1 + 4)" (* "*") (cast_expression "(int *)(iVar1 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 4)" (( "(") (binary_expression "iVar1 + 4" (identifier "iVar1") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (expression_statement "pcVar3 = (code *)*param_2;" (assignment_expression "pcVar3 = (code *)*param_2" (identifier "pcVar3") (= "=") (cast_expression "(code *)*param_2" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_2" (* "*") (identifier "param_2")))) (; ";")) (expression_statement "iVar4 = *(int *)(iVar1 + 0x50);" (assignment_expression "iVar4 = *(int *)(iVar1 + 0x50)" (identifier "iVar4") (= "=") (pointer_expression "*(int *)(iVar1 + 0x50)" (* "*") (cast_expression "(int *)(iVar1 + 0x50)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x50)" (( "(") (binary_expression "iVar1 + 0x50" (identifier "iVar1") (+ "+") (number_literal "0x50")) () ")"))))) (; ";")) (expression_statement "iVar1 = *(int *)(iVar1 + 0x1c);" (assignment_expression "iVar1 = *(int *)(iVar1 + 0x1c)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(iVar1 + 0x1c)" (* "*") (cast_expression "(int *)(iVar1 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x1c)" (( "(") (binary_expression "iVar1 + 0x1c" (identifier "iVar1") (+ "+") (number_literal "0x1c")) () ")"))))) (; ";")) (expression_statement "uVar5 = dcgettext(0," (File Offset: 0x%lx)",5);" (assignment_expression "uVar5 = dcgettext(0," (File Offset: 0x%lx)",5)" (identifier "uVar5") (= "=") (call_expression "dcgettext(0," (File Offset: 0x%lx)",5)" (identifier "dcgettext") (argument_list "(0," (File Offset: 0x%lx)",5)" (( "(") (number_literal "0") (, ",") (string_literal "" (File Offset: 0x%lx)"" (" """) (string_content " (File Offset: 0x%lx)") (" """)) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "(*pcVar3)(param_2[1],uVar5,(param_1 + iVar4) - iVar1);" (call_expression "(*pcVar3)(param_2[1],uVar5,(param_1 + iVar4) - iVar1)" (parenthesized_expression "(*pcVar3)" (( "(") (pointer_expression "*pcVar3" (* "*") (identifier "pcVar3")) () ")")) (argument_list "(param_2[1],uVar5,(param_1 + iVar4) - iVar1)" (( "(") (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]")) (, ",") (identifier "uVar5") (, ",") (binary_expression "(param_1 + iVar4) - iVar1" (parenthesized_expression "(param_1 + iVar4)" (( "(") (binary_expression "param_1 + iVar4" (identifier "param_1") (+ "+") (identifier "iVar4")) () ")")) (- "-") (identifier "iVar1")) () ")"))) (; ";")) (} "}"))) (} "}")) (else_clause "else {\n    piVar2 = *(int **)(iVar1 + 0x18);\n    if ((((piVar2 == (int *)0x0) || (piVar2 = (int *)*piVar2, piVar2 == (int *)0x0)) ||\n        (iVar1 = *piVar2, iVar1 == 0)) ||\n       (param_1 = param_1 + *(int *)(iVar1 + 8) + *(int *)(*(undefined **)(iVar1 + 0x10) + 0x1c),\n       *(undefined **)(iVar1 + 0x10) != PTR__bfd_std_section_0006ffd8 + 0xa8)) {\n      FUN_00014520();\n    }\n    FUN_00015110(param_1,param_2,param_3);\n  }" (else "else") (compound_statement "{\n    piVar2 = *(int **)(iVar1 + 0x18);\n    if ((((piVar2 == (int *)0x0) || (piVar2 = (int *)*piVar2, piVar2 == (int *)0x0)) ||\n        (iVar1 = *piVar2, iVar1 == 0)) ||\n       (param_1 = param_1 + *(int *)(iVar1 + 8) + *(int *)(*(undefined **)(iVar1 + 0x10) + 0x1c),\n       *(undefined **)(iVar1 + 0x10) != PTR__bfd_std_section_0006ffd8 + 0xa8)) {\n      FUN_00014520();\n    }\n    FUN_00015110(param_1,param_2,param_3);\n  }" ({ "{") (expression_statement "piVar2 = *(int **)(iVar1 + 0x18);" (assignment_expression "piVar2 = *(int **)(iVar1 + 0x18)" (identifier "piVar2") (= "=") (pointer_expression "*(int **)(iVar1 + 0x18)" (* "*") (cast_expression "(int **)(iVar1 + 0x18)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar1 + 0x18)" (( "(") (binary_expression "iVar1 + 0x18" (identifier "iVar1") (+ "+") (number_literal "0x18")) () ")"))))) (; ";")) (if_statement "if ((((piVar2 == (int *)0x0) || (piVar2 = (int *)*piVar2, piVar2 == (int *)0x0)) ||\n        (iVar1 = *piVar2, iVar1 == 0)) ||\n       (param_1 = param_1 + *(int *)(iVar1 + 8) + *(int *)(*(undefined **)(iVar1 + 0x10) + 0x1c),\n       *(undefined **)(iVar1 + 0x10) != PTR__bfd_std_section_0006ffd8 + 0xa8)) {\n      FUN_00014520();\n    }" (if "if") (parenthesized_expression "((((piVar2 == (int *)0x0) || (piVar2 = (int *)*piVar2, piVar2 == (int *)0x0)) ||\n        (iVar1 = *piVar2, iVar1 == 0)) ||\n       (param_1 = param_1 + *(int *)(iVar1 + 8) + *(int *)(*(undefined **)(iVar1 + 0x10) + 0x1c),\n       *(undefined **)(iVar1 + 0x10) != PTR__bfd_std_section_0006ffd8 + 0xa8))" (( "(") (binary_expression "(((piVar2 == (int *)0x0) || (piVar2 = (int *)*piVar2, piVar2 == (int *)0x0)) ||\n        (iVar1 = *piVar2, iVar1 == 0)) ||\n       (param_1 = param_1 + *(int *)(iVar1 + 8) + *(int *)(*(undefined **)(iVar1 + 0x10) + 0x1c),\n       *(undefined **)(iVar1 + 0x10) != PTR__bfd_std_section_0006ffd8 + 0xa8)" (parenthesized_expression "(((piVar2 == (int *)0x0) || (piVar2 = (int *)*piVar2, piVar2 == (int *)0x0)) ||\n        (iVar1 = *piVar2, iVar1 == 0))" (( "(") (binary_expression "((piVar2 == (int *)0x0) || (piVar2 = (int *)*piVar2, piVar2 == (int *)0x0)) ||\n        (iVar1 = *piVar2, iVar1 == 0)" (parenthesized_expression "((piVar2 == (int *)0x0) || (piVar2 = (int *)*piVar2, piVar2 == (int *)0x0))" (( "(") (binary_expression "(piVar2 == (int *)0x0) || (piVar2 = (int *)*piVar2, piVar2 == (int *)0x0)" (parenthesized_expression "(piVar2 == (int *)0x0)" (( "(") (binary_expression "piVar2 == (int *)0x0" (identifier "piVar2") (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (|| "||") (parenthesized_expression "(piVar2 = (int *)*piVar2, piVar2 == (int *)0x0)" (( "(") (comma_expression "piVar2 = (int *)*piVar2, piVar2 == (int *)0x0" (assignment_expression "piVar2 = (int *)*piVar2" (identifier "piVar2") (= "=") (cast_expression "(int *)*piVar2" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*piVar2" (* "*") (identifier "piVar2")))) (, ",") (binary_expression "piVar2 == (int *)0x0" (identifier "piVar2") (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")))) () ")"))) () ")")) (|| "||") (parenthesized_expression "(iVar1 = *piVar2, iVar1 == 0)" (( "(") (comma_expression "iVar1 = *piVar2, iVar1 == 0" (assignment_expression "iVar1 = *piVar2" (identifier "iVar1") (= "=") (pointer_expression "*piVar2" (* "*") (identifier "piVar2"))) (, ",") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0"))) () ")"))) () ")")) (|| "||") (parenthesized_expression "(param_1 = param_1 + *(int *)(iVar1 + 8) + *(int *)(*(undefined **)(iVar1 + 0x10) + 0x1c),\n       *(undefined **)(iVar1 + 0x10) != PTR__bfd_std_section_0006ffd8 + 0xa8)" (( "(") (comma_expression "param_1 = param_1 + *(int *)(iVar1 + 8) + *(int *)(*(undefined **)(iVar1 + 0x10) + 0x1c),\n       *(undefined **)(iVar1 + 0x10) != PTR__bfd_std_section_0006ffd8 + 0xa8" (assignment_expression "param_1 = param_1 + *(int *)(iVar1 + 8) + *(int *)(*(undefined **)(iVar1 + 0x10) + 0x1c)" (identifier "param_1") (= "=") (binary_expression "param_1 + *(int *)(iVar1 + 8) + *(int *)(*(undefined **)(iVar1 + 0x10) + 0x1c)" (binary_expression "param_1 + *(int *)(iVar1 + 8)" (identifier "param_1") (+ "+") (pointer_expression "*(int *)(iVar1 + 8)" (* "*") (cast_expression "(int *)(iVar1 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 8)" (( "(") (binary_expression "iVar1 + 8" (identifier "iVar1") (+ "+") (number_literal "8")) () ")"))))) (+ "+") (pointer_expression "*(int *)(*(undefined **)(iVar1 + 0x10) + 0x1c)" (* "*") (cast_expression "(int *)(*(undefined **)(iVar1 + 0x10) + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(undefined **)(iVar1 + 0x10) + 0x1c)" (( "(") (binary_expression "*(undefined **)(iVar1 + 0x10) + 0x1c" (pointer_expression "*(undefined **)(iVar1 + 0x10)" (* "*") (cast_expression "(undefined **)(iVar1 + 0x10)" (( "(") (type_descriptor "undefined **" (type_identifier "undefined") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar1 + 0x10)" (( "(") (binary_expression "iVar1 + 0x10" (identifier "iVar1") (+ "+") (number_literal "0x10")) () ")")))) (+ "+") (number_literal "0x1c")) () ")")))))) (, ",") (binary_expression "*(undefined **)(iVar1 + 0x10) != PTR__bfd_std_section_0006ffd8 + 0xa8" (pointer_expression "*(undefined **)(iVar1 + 0x10)" (* "*") (cast_expression "(undefined **)(iVar1 + 0x10)" (( "(") (type_descriptor "undefined **" (type_identifier "undefined") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar1 + 0x10)" (( "(") (binary_expression "iVar1 + 0x10" (identifier "iVar1") (+ "+") (number_literal "0x10")) () ")")))) (!= "!=") (binary_expression "PTR__bfd_std_section_0006ffd8 + 0xa8" (identifier "PTR__bfd_std_section_0006ffd8") (+ "+") (number_literal "0xa8")))) () ")"))) () ")")) (compound_statement "{\n      FUN_00014520();\n    }" ({ "{") (expression_statement "FUN_00014520();" (call_expression "FUN_00014520()" (identifier "FUN_00014520") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "FUN_00015110(param_1,param_2,param_3);" (call_expression "FUN_00015110(param_1,param_2,param_3)" (identifier "FUN_00015110") (argument_list "(param_1,param_2,param_3)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") (, ",") (identifier "param_3") () ")"))) (; ";")) (} "}")))) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

void __regparm3 function_1(type_1 var_5,type_2 *inf,type_3 skip_zeroes)

{
  type_4 *puVar1;
  int *var_8;
  type_5 p_Var3;
  int var_6;
  int var_7;
  type_6 *var_9;
  char *pcVar6;
  type_1 in_stack_ffffffd4;
  type_2 *in_stack_ffffffd8;
  long *in_stack_ffffffdc;
  
  puVar1 = (type_4 *)inf->application_data;
  if (var_1 < 1) {
    (*inf->fprintf_func)(inf->stream,"0x");
    var_2(var_5,inf,skip_zeroes);
    if (var_3 != 0) {
      p_Var3 = inf->fprintf_func;
      var_6 = *(int *)(puVar1[1] + 0x50);
      var_7 = *(int *)(puVar1[1] + 0x1c);
      pcVar6 = (char *)var_4(0," (File Offset: 0x%lx)",5);
      (*p_Var3)(inf->stream,pcVar6,(var_5 + var_6) - var_7);
    }
  }
  else {
    if (((((int *)puVar1[6] == (int *)0x0) || (var_8 = *(int **)puVar1[6], var_8 == (int *)0x0))
        || (var_9 = (type_6 *)*var_8, var_9 == (type_6 *)0x0)) ||
       (var_5 = var_5 + var_9->value + var_9->section->var_5,
       var_9->section != (type_7 *)(var_10 + 0xa8))) {
      var_9 = var_11(in_stack_ffffffd4,in_stack_ffffffd8,in_stack_ffffffdc);
    }
    var_12((type_8 *)*puVar1,(type_9 *)puVar1[1],var_9,var_5,inf,skip_zeroes);
  }
  return;
}


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

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

void __regparm3 MASKED(int param_1,undefined4 *param_2,undefined4 param_3)

{
  int iVar1;
  int *piVar2;
  code *pcVar3;
  int iVar4;
  undefined4 uVar5;
  
  iVar1 = param_2[2];
  if (DAT_00071060 < 1) {
    (*(code *)*param_2)(param_2[1],"0x");
    FUN_000150a0();
    if (DAT_00071094 != 0) {
      iVar1 = *(int *)(iVar1 + 4);
      pcVar3 = (code *)*param_2;
      iVar4 = *(int *)(iVar1 + 0x50);
      iVar1 = *(int *)(iVar1 + 0x1c);
      uVar5 = dcgettext(0," (File Offset: 0x%lx)",5);
      (*pcVar3)(param_2[1],uVar5,(param_1 + iVar4) - iVar1);
    }
  }
  else {
    piVar2 = *(int **)(iVar1 + 0x18);
    if ((((piVar2 == (int *)0x0) || (piVar2 = (int *)*piVar2, piVar2 == (int *)0x0)) ||
        (iVar1 = *piVar2, iVar1 == 0)) ||
       (param_1 = param_1 + *(int *)(iVar1 + 8) + *(int *)(*(undefined **)(iVar1 + 0x10) + 0x1c),
       *(undefined **)(iVar1 + 0x10) != PTR__bfd_std_section_0006ffd8 + 0xa8)) {
      FUN_00014520();
    }
    FUN_00015110(param_1,param_2,param_3);
  }
  return;
}

