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

bfd_boolean load_debug_section(dwarf_section_display_enum debug,void *data)

{
  int iVar1;
  uint uVar2;
  uint *set;
  undefined4 *puVar3;
  Elf_Internal_Shdr *sec;
  bfd_boolean bVar4;
  char *reason;
  void *pvVar5;
  undefined4 uVar6;
  
  if (*(int *)((int)data + 0x5c) == 0) {
    return 0;
  }
  if ((((*(int *)((int)data + 100) == 0) && (uVar2 = *(uint *)((int)data + 0x58), uVar2 != 0)) &&
      (uVar2 < *(uint *)((int)data + 0x54))) &&
     ((iVar1 = *(int *)((int)data + 0x5c) + uVar2 * 0x48, iVar1 != 0 &&
      (*(int *)(iVar1 + 0x24) != 0 || *(int *)(iVar1 + 0x20) != 0)))) {
    reason = (char *)dcgettext(0,"string table",5);
    pvVar5 = get_data((void *)0x0,(Filedata *)data,*(ulong *)(iVar1 + 0x18),1,
                      *(bfd_size_type *)(iVar1 + 0x20),reason);
    uVar6 = 0;
    *(void **)((int)data + 100) = pvVar5;
    if (pvVar5 != (void *)0x0) {
      uVar6 = *(undefined4 *)(iVar1 + 0x20);
    }
    *(undefined4 *)((int)data + 0x68) = uVar6;
  }
  set = section_subset;
  puVar3 = (undefined4 *)(PTR_debug_displays_000b3fcc + debug * 0x40);
  sec = find_section_in_set((Filedata *)data,(char *)*puVar3,section_subset);
  if (sec == (Elf_Internal_Shdr *)0x0) {
    sec = find_section_in_set((Filedata *)data,(char *)puVar3[1],set);
    if (sec == (Elf_Internal_Shdr *)0x0) {
      return 0;
    }
    puVar3[2] = puVar3[1];
  }
  else {
    puVar3[2] = *puVar3;
  }
  if (set != (uint *)0x0) {
    free_debug_section(debug);
  }
  bVar4 = load_specific_debug_section(debug,sec,data);
  return bVar4;
}



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

undefined4 FUN_000450c0(int param_1,int param_2)

{
  int iVar1;
  uint uVar2;
  undefined4 *puVar3;
  int iVar4;
  undefined4 uVar5;
  
  if (*(int *)(param_2 + 0x5c) == 0) {
    return 0;
  }
  if ((((*(int *)(param_2 + 100) == 0) && (uVar2 = *(uint *)(param_2 + 0x58), uVar2 != 0)) &&
      (uVar2 < *(uint *)(param_2 + 0x54))) &&
     ((iVar1 = *(int *)(param_2 + 0x5c) + uVar2 * 0x48, iVar1 != 0 &&
      (*(int *)(iVar1 + 0x24) != 0 || *(int *)(iVar1 + 0x20) != 0)))) {
    uVar5 = dcgettext(0,"string table",5);
    iVar4 = FUN_0001bf90(1,0,*(undefined4 *)(iVar1 + 0x20),*(undefined4 *)(iVar1 + 0x24),uVar5);
    uVar5 = 0;
    *(int *)(param_2 + 100) = iVar4;
    if (iVar4 != 0) {
      uVar5 = *(undefined4 *)(iVar1 + 0x20);
    }
    *(undefined4 *)(param_2 + 0x68) = uVar5;
  }
  iVar1 = DAT_000b5e68;
  puVar3 = (undefined4 *)(PTR_PTR_s__debug_abbrev_000b3fcc + param_1 * 0x40);
  iVar4 = FUN_00026540();
  if (iVar4 == 0) {
    iVar4 = FUN_00026540();
    if (iVar4 == 0) {
      return 0;
    }
    puVar3[2] = puVar3[1];
  }
  else {
    puVar3[2] = *puVar3;
  }
  if (iVar1 != 0) {
    FUN_00045060(param_1);
  }
  uVar5 = FUN_000418c0();
  return uVar5;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00013f70
ADD EBX,0x6ef37
SUB ESP,0x1c
MOV ESI,dword ptr [ESP + 0x34]
MOV EDI,dword ptr [ESP + 0x30]
MOV EAX,dword ptr [ESI + 0x5c]
TEST EAX,EAX
JZ 0x00045140
MOV EDX,dword ptr [ESI + 0x64]
TEST EDX,EDX
JZ 0x00045150
MOV EAX,EDI
MOV EBP,dword ptr [EBX + 0x1e68]
SHL EAX,0x6
ADD EAX,dword ptr [EBX + 0xffffffcc]
MOV EDX,dword ptr [EAX]
MOV EBX,EAX
MOV ECX,EBP
MOV EAX,ESI
CALL 0x00026540
TEST EAX,EAX
JZ 0x000451b8
MOV EDX,dword ptr [EBX]
MOV dword ptr [EBX + 0x8],EDX
TEST EBP,EBP
JZ 0x0004512b
MOV dword ptr [ESP + 0xc],EAX
SUB ESP,0xc
PUSH EDI
CALL 0x00045060
ADD ESP,0x10
MOV EAX,dword ptr [ESP + 0xc]
ADD ESP,0x1c
MOV ECX,ESI
MOV EDX,EAX
MOV EAX,EDI
POP EBX
POP ESI
POP EDI
POP EBP
JMP 0x000418c0
ADD ESP,0x1c
XOR EAX,EAX
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EDX,dword ptr [ESI + 0x58]
TEST EDX,EDX
JZ 0x000450e8
CMP EDX,dword ptr [ESI + 0x54]
JNC 0x000450e8
LEA EDX,[EDX + EDX*0x8]
LEA EBP,[EAX + EDX*0x8]
TEST EBP,EBP
JZ 0x000450e8
MOV EAX,dword ptr [EBP + 0x24]
OR EAX,dword ptr [EBP + 0x20]
JZ 0x000450e8
SUB ESP,0x4
LEA EAX,[EBX + 0xfffc4162]
PUSH 0x5
PUSH EAX
PUSH 0x0
CALL 0x000130f0
MOV ECX,dword ptr [EBP + 0x18]
MOV EDX,ESI
MOV dword ptr [ESP],EAX
XOR EAX,EAX
PUSH dword ptr [EBP + 0x24]
PUSH dword ptr [EBP + 0x20]
PUSH 0x0
PUSH 0x1
CALL 0x0001bf90
ADD ESP,0x20
XOR EDX,EDX
MOV dword ptr [ESI + 0x64],EAX
TEST EAX,EAX
JZ 0x000451ad
MOV EDX,dword ptr [EBP + 0x20]
MOV dword ptr [ESI + 0x68],EDX
JMP 0x000450e8
MOV EDX,dword ptr [EBX + 0x4]
MOV ECX,EBP
MOV EAX,ESI
CALL 0x00026540
TEST EAX,EAX
JZ 0x00045140
MOV EDX,dword ptr [EBX + 0x4]
MOV dword ptr [EBX + 0x8],EDX
JMP 0x00045113
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined4 FUN_000450c0(int param_1,int param_2)\n\n{\n  int iVar1;\n  uint uVar2;\n  undefined4 *puVar3;\n  int iVar4;\n  undefined4 uVar5;\n  \n  if (*(int *)(param_2 + 0x5c) == 0) {\n    return 0;\n  }\n  if ((((*(int *)(param_2 + 100) == 0) && (uVar2 = *(uint *)(param_2 + 0x58), uVar2 != 0)) &&\n      (uVar2 < *(uint *)(param_2 + 0x54))) &&\n     ((iVar1 = *(int *)(param_2 + 0x5c) + uVar2 * 0x48, iVar1 != 0 &&\n      (*(int *)(iVar1 + 0x24) != 0 || *(int *)(iVar1 + 0x20) != 0)))) {\n    uVar5 = dcgettext(0,"string table",5);\n    iVar4 = FUN_0001bf90(1,0,*(undefined4 *)(iVar1 + 0x20),*(undefined4 *)(iVar1 + 0x24),uVar5);\n    uVar5 = 0;\n    *(int *)(param_2 + 100) = iVar4;\n    if (iVar4 != 0) {\n      uVar5 = *(undefined4 *)(iVar1 + 0x20);\n    }\n    *(undefined4 *)(param_2 + 0x68) = uVar5;\n  }\n  iVar1 = DAT_000b5e68;\n  puVar3 = (undefined4 *)(PTR_PTR_s__debug_abbrev_000b3fcc + param_1 * 0x40);\n  iVar4 = FUN_00026540();\n  if (iVar4 == 0) {\n    iVar4 = FUN_00026540();\n    if (iVar4 == 0) {\n      return 0;\n    }\n    puVar3[2] = puVar3[1];\n  }\n  else {\n    puVar3[2] = *puVar3;\n  }\n  if (iVar1 != 0) {\n    FUN_00045060(param_1);\n  }\n  uVar5 = FUN_000418c0();\n  return uVar5;\n}\n\n" comment (function_definition "undefined4 FUN_000450c0(int param_1,int param_2)\n\n{\n  int iVar1;\n  uint uVar2;\n  undefined4 *puVar3;\n  int iVar4;\n  undefined4 uVar5;\n  \n  if (*(int *)(param_2 + 0x5c) == 0) {\n    return 0;\n  }\n  if ((((*(int *)(param_2 + 100) == 0) && (uVar2 = *(uint *)(param_2 + 0x58), uVar2 != 0)) &&\n      (uVar2 < *(uint *)(param_2 + 0x54))) &&\n     ((iVar1 = *(int *)(param_2 + 0x5c) + uVar2 * 0x48, iVar1 != 0 &&\n      (*(int *)(iVar1 + 0x24) != 0 || *(int *)(iVar1 + 0x20) != 0)))) {\n    uVar5 = dcgettext(0,"string table",5);\n    iVar4 = FUN_0001bf90(1,0,*(undefined4 *)(iVar1 + 0x20),*(undefined4 *)(iVar1 + 0x24),uVar5);\n    uVar5 = 0;\n    *(int *)(param_2 + 100) = iVar4;\n    if (iVar4 != 0) {\n      uVar5 = *(undefined4 *)(iVar1 + 0x20);\n    }\n    *(undefined4 *)(param_2 + 0x68) = uVar5;\n  }\n  iVar1 = DAT_000b5e68;\n  puVar3 = (undefined4 *)(PTR_PTR_s__debug_abbrev_000b3fcc + param_1 * 0x40);\n  iVar4 = FUN_00026540();\n  if (iVar4 == 0) {\n    iVar4 = FUN_00026540();\n    if (iVar4 == 0) {\n      return 0;\n    }\n    puVar3[2] = puVar3[1];\n  }\n  else {\n    puVar3[2] = *puVar3;\n  }\n  if (iVar1 != 0) {\n    FUN_00045060(param_1);\n  }\n  uVar5 = FUN_000418c0();\n  return uVar5;\n}" type_identifier (function_declarator "FUN_000450c0(int param_1,int param_2)" identifier (parameter_list "(int param_1,int param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  uint uVar2;\n  undefined4 *puVar3;\n  int iVar4;\n  undefined4 uVar5;\n  \n  if (*(int *)(param_2 + 0x5c) == 0) {\n    return 0;\n  }\n  if ((((*(int *)(param_2 + 100) == 0) && (uVar2 = *(uint *)(param_2 + 0x58), uVar2 != 0)) &&\n      (uVar2 < *(uint *)(param_2 + 0x54))) &&\n     ((iVar1 = *(int *)(param_2 + 0x5c) + uVar2 * 0x48, iVar1 != 0 &&\n      (*(int *)(iVar1 + 0x24) != 0 || *(int *)(iVar1 + 0x20) != 0)))) {\n    uVar5 = dcgettext(0,"string table",5);\n    iVar4 = FUN_0001bf90(1,0,*(undefined4 *)(iVar1 + 0x20),*(undefined4 *)(iVar1 + 0x24),uVar5);\n    uVar5 = 0;\n    *(int *)(param_2 + 100) = iVar4;\n    if (iVar4 != 0) {\n      uVar5 = *(undefined4 *)(iVar1 + 0x20);\n    }\n    *(undefined4 *)(param_2 + 0x68) = uVar5;\n  }\n  iVar1 = DAT_000b5e68;\n  puVar3 = (undefined4 *)(PTR_PTR_s__debug_abbrev_000b3fcc + param_1 * 0x40);\n  iVar4 = FUN_00026540();\n  if (iVar4 == 0) {\n    iVar4 = FUN_00026540();\n    if (iVar4 == 0) {\n      return 0;\n    }\n    puVar3[2] = puVar3[1];\n  }\n  else {\n    puVar3[2] = *puVar3;\n  }\n  if (iVar1 != 0) {\n    FUN_00045060(param_1);\n  }\n  uVar5 = FUN_000418c0();\n  return uVar5;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (if_statement "if (*(int *)(param_2 + 0x5c) == 0) {\n    return 0;\n  }" if (parenthesized_expression "(*(int *)(param_2 + 0x5c) == 0)" ( (binary_expression "*(int *)(param_2 + 0x5c) == 0" (pointer_expression "*(int *)(param_2 + 0x5c)" * (cast_expression "(int *)(param_2 + 0x5c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x5c)" ( (binary_expression "param_2 + 0x5c" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (if_statement "if ((((*(int *)(param_2 + 100) == 0) && (uVar2 = *(uint *)(param_2 + 0x58), uVar2 != 0)) &&\n      (uVar2 < *(uint *)(param_2 + 0x54))) &&\n     ((iVar1 = *(int *)(param_2 + 0x5c) + uVar2 * 0x48, iVar1 != 0 &&\n      (*(int *)(iVar1 + 0x24) != 0 || *(int *)(iVar1 + 0x20) != 0)))) {\n    uVar5 = dcgettext(0,"string table",5);\n    iVar4 = FUN_0001bf90(1,0,*(undefined4 *)(iVar1 + 0x20),*(undefined4 *)(iVar1 + 0x24),uVar5);\n    uVar5 = 0;\n    *(int *)(param_2 + 100) = iVar4;\n    if (iVar4 != 0) {\n      uVar5 = *(undefined4 *)(iVar1 + 0x20);\n    }\n    *(undefined4 *)(param_2 + 0x68) = uVar5;\n  }" if (parenthesized_expression "((((*(int *)(param_2 + 100) == 0) && (uVar2 = *(uint *)(param_2 + 0x58), uVar2 != 0)) &&\n      (uVar2 < *(uint *)(param_2 + 0x54))) &&\n     ((iVar1 = *(int *)(param_2 + 0x5c) + uVar2 * 0x48, iVar1 != 0 &&\n      (*(int *)(iVar1 + 0x24) != 0 || *(int *)(iVar1 + 0x20) != 0))))" ( (binary_expression "(((*(int *)(param_2 + 100) == 0) && (uVar2 = *(uint *)(param_2 + 0x58), uVar2 != 0)) &&\n      (uVar2 < *(uint *)(param_2 + 0x54))) &&\n     ((iVar1 = *(int *)(param_2 + 0x5c) + uVar2 * 0x48, iVar1 != 0 &&\n      (*(int *)(iVar1 + 0x24) != 0 || *(int *)(iVar1 + 0x20) != 0)))" (parenthesized_expression "(((*(int *)(param_2 + 100) == 0) && (uVar2 = *(uint *)(param_2 + 0x58), uVar2 != 0)) &&\n      (uVar2 < *(uint *)(param_2 + 0x54)))" ( (binary_expression "((*(int *)(param_2 + 100) == 0) && (uVar2 = *(uint *)(param_2 + 0x58), uVar2 != 0)) &&\n      (uVar2 < *(uint *)(param_2 + 0x54))" (parenthesized_expression "((*(int *)(param_2 + 100) == 0) && (uVar2 = *(uint *)(param_2 + 0x58), uVar2 != 0))" ( (binary_expression "(*(int *)(param_2 + 100) == 0) && (uVar2 = *(uint *)(param_2 + 0x58), uVar2 != 0)" (parenthesized_expression "(*(int *)(param_2 + 100) == 0)" ( (binary_expression "*(int *)(param_2 + 100) == 0" (pointer_expression "*(int *)(param_2 + 100)" * (cast_expression "(int *)(param_2 + 100)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 100)" ( (binary_expression "param_2 + 100" identifier + number_literal) )))) == number_literal) )) && (parenthesized_expression "(uVar2 = *(uint *)(param_2 + 0x58), uVar2 != 0)" ( (comma_expression "uVar2 = *(uint *)(param_2 + 0x58), uVar2 != 0" (assignment_expression "uVar2 = *(uint *)(param_2 + 0x58)" identifier = (pointer_expression "*(uint *)(param_2 + 0x58)" * (cast_expression "(uint *)(param_2 + 0x58)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x58)" ( (binary_expression "param_2 + 0x58" identifier + number_literal) ))))) , (binary_expression "uVar2 != 0" identifier != number_literal)) ))) )) && (parenthesized_expression "(uVar2 < *(uint *)(param_2 + 0x54))" ( (binary_expression "uVar2 < *(uint *)(param_2 + 0x54)" identifier < (pointer_expression "*(uint *)(param_2 + 0x54)" * (cast_expression "(uint *)(param_2 + 0x54)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x54)" ( (binary_expression "param_2 + 0x54" identifier + number_literal) ))))) ))) )) && (parenthesized_expression "((iVar1 = *(int *)(param_2 + 0x5c) + uVar2 * 0x48, iVar1 != 0 &&\n      (*(int *)(iVar1 + 0x24) != 0 || *(int *)(iVar1 + 0x20) != 0)))" ( (parenthesized_expression "(iVar1 = *(int *)(param_2 + 0x5c) + uVar2 * 0x48, iVar1 != 0 &&\n      (*(int *)(iVar1 + 0x24) != 0 || *(int *)(iVar1 + 0x20) != 0))" ( (comma_expression "iVar1 = *(int *)(param_2 + 0x5c) + uVar2 * 0x48, iVar1 != 0 &&\n      (*(int *)(iVar1 + 0x24) != 0 || *(int *)(iVar1 + 0x20) != 0)" (assignment_expression "iVar1 = *(int *)(param_2 + 0x5c) + uVar2 * 0x48" identifier = (binary_expression "*(int *)(param_2 + 0x5c) + uVar2 * 0x48" (pointer_expression "*(int *)(param_2 + 0x5c)" * (cast_expression "(int *)(param_2 + 0x5c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x5c)" ( (binary_expression "param_2 + 0x5c" identifier + number_literal) )))) + (binary_expression "uVar2 * 0x48" identifier * number_literal))) , (binary_expression "iVar1 != 0 &&\n      (*(int *)(iVar1 + 0x24) != 0 || *(int *)(iVar1 + 0x20) != 0)" (binary_expression "iVar1 != 0" identifier != number_literal) && (parenthesized_expression "(*(int *)(iVar1 + 0x24) != 0 || *(int *)(iVar1 + 0x20) != 0)" ( (binary_expression "*(int *)(iVar1 + 0x24) != 0 || *(int *)(iVar1 + 0x20) != 0" (binary_expression "*(int *)(iVar1 + 0x24) != 0" (pointer_expression "*(int *)(iVar1 + 0x24)" * (cast_expression "(int *)(iVar1 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x24)" ( (binary_expression "iVar1 + 0x24" identifier + number_literal) )))) != number_literal) || (binary_expression "*(int *)(iVar1 + 0x20) != 0" (pointer_expression "*(int *)(iVar1 + 0x20)" * (cast_expression "(int *)(iVar1 + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x20)" ( (binary_expression "iVar1 + 0x20" identifier + number_literal) )))) != number_literal)) )))) )) ))) )) (compound_statement "{\n    uVar5 = dcgettext(0,"string table",5);\n    iVar4 = FUN_0001bf90(1,0,*(undefined4 *)(iVar1 + 0x20),*(undefined4 *)(iVar1 + 0x24),uVar5);\n    uVar5 = 0;\n    *(int *)(param_2 + 100) = iVar4;\n    if (iVar4 != 0) {\n      uVar5 = *(undefined4 *)(iVar1 + 0x20);\n    }\n    *(undefined4 *)(param_2 + 0x68) = uVar5;\n  }" { (expression_statement "uVar5 = dcgettext(0,"string table",5);" (assignment_expression "uVar5 = dcgettext(0,"string table",5)" identifier = (call_expression "dcgettext(0,"string table",5)" identifier (argument_list "(0,"string table",5)" ( number_literal , (string_literal ""string table"" " string_content ") , number_literal )))) ;) (expression_statement "iVar4 = FUN_0001bf90(1,0,*(undefined4 *)(iVar1 + 0x20),*(undefined4 *)(iVar1 + 0x24),uVar5);" (assignment_expression "iVar4 = FUN_0001bf90(1,0,*(undefined4 *)(iVar1 + 0x20),*(undefined4 *)(iVar1 + 0x24),uVar5)" identifier = (call_expression "FUN_0001bf90(1,0,*(undefined4 *)(iVar1 + 0x20),*(undefined4 *)(iVar1 + 0x24),uVar5)" identifier (argument_list "(1,0,*(undefined4 *)(iVar1 + 0x20),*(undefined4 *)(iVar1 + 0x24),uVar5)" ( number_literal , number_literal , (pointer_expression "*(undefined4 *)(iVar1 + 0x20)" * (cast_expression "(undefined4 *)(iVar1 + 0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x20)" ( (binary_expression "iVar1 + 0x20" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(iVar1 + 0x24)" * (cast_expression "(undefined4 *)(iVar1 + 0x24)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x24)" ( (binary_expression "iVar1 + 0x24" identifier + number_literal) )))) , identifier )))) ;) (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" identifier = number_literal) ;) (expression_statement "*(int *)(param_2 + 100) = iVar4;" (assignment_expression "*(int *)(param_2 + 100) = iVar4" (pointer_expression "*(int *)(param_2 + 100)" * (cast_expression "(int *)(param_2 + 100)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 100)" ( (binary_expression "param_2 + 100" identifier + number_literal) )))) = identifier) ;) (if_statement "if (iVar4 != 0) {\n      uVar5 = *(undefined4 *)(iVar1 + 0x20);\n    }" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (compound_statement "{\n      uVar5 = *(undefined4 *)(iVar1 + 0x20);\n    }" { (expression_statement "uVar5 = *(undefined4 *)(iVar1 + 0x20);" (assignment_expression "uVar5 = *(undefined4 *)(iVar1 + 0x20)" identifier = (pointer_expression "*(undefined4 *)(iVar1 + 0x20)" * (cast_expression "(undefined4 *)(iVar1 + 0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x20)" ( (binary_expression "iVar1 + 0x20" identifier + number_literal) ))))) ;) })) (expression_statement "*(undefined4 *)(param_2 + 0x68) = uVar5;" (assignment_expression "*(undefined4 *)(param_2 + 0x68) = uVar5" (pointer_expression "*(undefined4 *)(param_2 + 0x68)" * (cast_expression "(undefined4 *)(param_2 + 0x68)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x68)" ( (binary_expression "param_2 + 0x68" identifier + number_literal) )))) = identifier) ;) })) (expression_statement "iVar1 = DAT_000b5e68;" (assignment_expression "iVar1 = DAT_000b5e68" identifier = identifier) ;) (expression_statement "puVar3 = (undefined4 *)(PTR_PTR_s__debug_abbrev_000b3fcc + param_1 * 0x40);" (assignment_expression "puVar3 = (undefined4 *)(PTR_PTR_s__debug_abbrev_000b3fcc + param_1 * 0x40)" identifier = (cast_expression "(undefined4 *)(PTR_PTR_s__debug_abbrev_000b3fcc + param_1 * 0x40)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_PTR_s__debug_abbrev_000b3fcc + param_1 * 0x40)" ( (binary_expression "PTR_PTR_s__debug_abbrev_000b3fcc + param_1 * 0x40" identifier + (binary_expression "param_1 * 0x40" identifier * number_literal)) )))) ;) (expression_statement "iVar4 = FUN_00026540();" (assignment_expression "iVar4 = FUN_00026540()" identifier = (call_expression "FUN_00026540()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar4 == 0) {\n    iVar4 = FUN_00026540();\n    if (iVar4 == 0) {\n      return 0;\n    }\n    puVar3[2] = puVar3[1];\n  }\n  else {\n    puVar3[2] = *puVar3;\n  }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n    iVar4 = FUN_00026540();\n    if (iVar4 == 0) {\n      return 0;\n    }\n    puVar3[2] = puVar3[1];\n  }" { (expression_statement "iVar4 = FUN_00026540();" (assignment_expression "iVar4 = FUN_00026540()" identifier = (call_expression "FUN_00026540()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar4 == 0) {\n      return 0;\n    }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "puVar3[2] = puVar3[1];" (assignment_expression "puVar3[2] = puVar3[1]" (subscript_expression "puVar3[2]" identifier [ number_literal ]) = (subscript_expression "puVar3[1]" identifier [ number_literal ])) ;) }) (else_clause "else {\n    puVar3[2] = *puVar3;\n  }" else (compound_statement "{\n    puVar3[2] = *puVar3;\n  }" { (expression_statement "puVar3[2] = *puVar3;" (assignment_expression "puVar3[2] = *puVar3" (subscript_expression "puVar3[2]" identifier [ number_literal ]) = (pointer_expression "*puVar3" * identifier)) ;) }))) (if_statement "if (iVar1 != 0) {\n    FUN_00045060(param_1);\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    FUN_00045060(param_1);\n  }" { (expression_statement "FUN_00045060(param_1);" (call_expression "FUN_00045060(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) })) (expression_statement "uVar5 = FUN_000418c0();" (assignment_expression "uVar5 = FUN_000418c0()" identifier = (call_expression "FUN_000418c0()" identifier (argument_list "()" ( )))) ;) (return_statement "return uVar5;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\nbfd_boolean load_debug_section(dwarf_section_display_enum debug,void *data)\n\n{\n  int iVar1;\n  uint uVar2;\n  uint *set;\n  undefined4 *puVar3;\n  Elf_Internal_Shdr *sec;\n  bfd_boolean bVar4;\n  char *reason;\n  void *pvVar5;\n  undefined4 uVar6;\n  \n  if (*(int *)((int)data + 0x5c) == 0) {\n    return 0;\n  }\n  if ((((*(int *)((int)data + 100) == 0) && (uVar2 = *(uint *)((int)data + 0x58), uVar2 != 0)) &&\n      (uVar2 < *(uint *)((int)data + 0x54))) &&\n     ((iVar1 = *(int *)((int)data + 0x5c) + uVar2 * 0x48, iVar1 != 0 &&\n      (*(int *)(iVar1 + 0x24) != 0 || *(int *)(iVar1 + 0x20) != 0)))) {\n    reason = (char *)dcgettext(0,"string table",5);\n    pvVar5 = get_data((void *)0x0,(Filedata *)data,*(ulong *)(iVar1 + 0x18),1,\n                      *(bfd_size_type *)(iVar1 + 0x20),reason);\n    uVar6 = 0;\n    *(void **)((int)data + 100) = pvVar5;\n    if (pvVar5 != (void *)0x0) {\n      uVar6 = *(undefined4 *)(iVar1 + 0x20);\n    }\n    *(undefined4 *)((int)data + 0x68) = uVar6;\n  }\n  set = section_subset;\n  puVar3 = (undefined4 *)(PTR_debug_displays_000b3fcc + debug * 0x40);\n  sec = find_section_in_set((Filedata *)data,(char *)*puVar3,section_subset);\n  if (sec == (Elf_Internal_Shdr *)0x0) {\n    sec = find_section_in_set((Filedata *)data,(char *)puVar3[1],set);\n    if (sec == (Elf_Internal_Shdr *)0x0) {\n      return 0;\n    }\n    puVar3[2] = puVar3[1];\n  }\n  else {\n    puVar3[2] = *puVar3;\n  }\n  if (set != (uint *)0x0) {\n    free_debug_section(debug);\n  }\n  bVar4 = load_specific_debug_section(debug,sec,data);\n  return bVar4;\n}\n\n" comment comment (function_definition "bfd_boolean load_debug_section(dwarf_section_display_enum debug,void *data)\n\n{\n  int iVar1;\n  uint uVar2;\n  uint *set;\n  undefined4 *puVar3;\n  Elf_Internal_Shdr *sec;\n  bfd_boolean bVar4;\n  char *reason;\n  void *pvVar5;\n  undefined4 uVar6;\n  \n  if (*(int *)((int)data + 0x5c) == 0) {\n    return 0;\n  }\n  if ((((*(int *)((int)data + 100) == 0) && (uVar2 = *(uint *)((int)data + 0x58), uVar2 != 0)) &&\n      (uVar2 < *(uint *)((int)data + 0x54))) &&\n     ((iVar1 = *(int *)((int)data + 0x5c) + uVar2 * 0x48, iVar1 != 0 &&\n      (*(int *)(iVar1 + 0x24) != 0 || *(int *)(iVar1 + 0x20) != 0)))) {\n    reason = (char *)dcgettext(0,"string table",5);\n    pvVar5 = get_data((void *)0x0,(Filedata *)data,*(ulong *)(iVar1 + 0x18),1,\n                      *(bfd_size_type *)(iVar1 + 0x20),reason);\n    uVar6 = 0;\n    *(void **)((int)data + 100) = pvVar5;\n    if (pvVar5 != (void *)0x0) {\n      uVar6 = *(undefined4 *)(iVar1 + 0x20);\n    }\n    *(undefined4 *)((int)data + 0x68) = uVar6;\n  }\n  set = section_subset;\n  puVar3 = (undefined4 *)(PTR_debug_displays_000b3fcc + debug * 0x40);\n  sec = find_section_in_set((Filedata *)data,(char *)*puVar3,section_subset);\n  if (sec == (Elf_Internal_Shdr *)0x0) {\n    sec = find_section_in_set((Filedata *)data,(char *)puVar3[1],set);\n    if (sec == (Elf_Internal_Shdr *)0x0) {\n      return 0;\n    }\n    puVar3[2] = puVar3[1];\n  }\n  else {\n    puVar3[2] = *puVar3;\n  }\n  if (set != (uint *)0x0) {\n    free_debug_section(debug);\n  }\n  bVar4 = load_specific_debug_section(debug,sec,data);\n  return bVar4;\n}" type_identifier (function_declarator "load_debug_section(dwarf_section_display_enum debug,void *data)" identifier (parameter_list "(dwarf_section_display_enum debug,void *data)" ( (parameter_declaration "dwarf_section_display_enum debug" type_identifier identifier) , (parameter_declaration "void *data" primitive_type (pointer_declarator "*data" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  uint uVar2;\n  uint *set;\n  undefined4 *puVar3;\n  Elf_Internal_Shdr *sec;\n  bfd_boolean bVar4;\n  char *reason;\n  void *pvVar5;\n  undefined4 uVar6;\n  \n  if (*(int *)((int)data + 0x5c) == 0) {\n    return 0;\n  }\n  if ((((*(int *)((int)data + 100) == 0) && (uVar2 = *(uint *)((int)data + 0x58), uVar2 != 0)) &&\n      (uVar2 < *(uint *)((int)data + 0x54))) &&\n     ((iVar1 = *(int *)((int)data + 0x5c) + uVar2 * 0x48, iVar1 != 0 &&\n      (*(int *)(iVar1 + 0x24) != 0 || *(int *)(iVar1 + 0x20) != 0)))) {\n    reason = (char *)dcgettext(0,"string table",5);\n    pvVar5 = get_data((void *)0x0,(Filedata *)data,*(ulong *)(iVar1 + 0x18),1,\n                      *(bfd_size_type *)(iVar1 + 0x20),reason);\n    uVar6 = 0;\n    *(void **)((int)data + 100) = pvVar5;\n    if (pvVar5 != (void *)0x0) {\n      uVar6 = *(undefined4 *)(iVar1 + 0x20);\n    }\n    *(undefined4 *)((int)data + 0x68) = uVar6;\n  }\n  set = section_subset;\n  puVar3 = (undefined4 *)(PTR_debug_displays_000b3fcc + debug * 0x40);\n  sec = find_section_in_set((Filedata *)data,(char *)*puVar3,section_subset);\n  if (sec == (Elf_Internal_Shdr *)0x0) {\n    sec = find_section_in_set((Filedata *)data,(char *)puVar3[1],set);\n    if (sec == (Elf_Internal_Shdr *)0x0) {\n      return 0;\n    }\n    puVar3[2] = puVar3[1];\n  }\n  else {\n    puVar3[2] = *puVar3;\n  }\n  if (set != (uint *)0x0) {\n    free_debug_section(debug);\n  }\n  bVar4 = load_specific_debug_section(debug,sec,data);\n  return bVar4;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "uint *set;" type_identifier (pointer_declarator "*set" * identifier) ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "Elf_Internal_Shdr *sec;" type_identifier (pointer_declarator "*sec" * identifier) ;) (declaration "bfd_boolean bVar4;" type_identifier identifier ;) (declaration "char *reason;" primitive_type (pointer_declarator "*reason" * identifier) ;) (declaration "void *pvVar5;" primitive_type (pointer_declarator "*pvVar5" * identifier) ;) (declaration "undefined4 uVar6;" type_identifier identifier ;) (if_statement "if (*(int *)((int)data + 0x5c) == 0) {\n    return 0;\n  }" if (parenthesized_expression "(*(int *)((int)data + 0x5c) == 0)" ( (binary_expression "*(int *)((int)data + 0x5c) == 0" (pointer_expression "*(int *)((int)data + 0x5c)" * (cast_expression "(int *)((int)data + 0x5c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)data + 0x5c)" ( (binary_expression "(int)data + 0x5c" (cast_expression "(int)data" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) == number_literal) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (if_statement "if ((((*(int *)((int)data + 100) == 0) && (uVar2 = *(uint *)((int)data + 0x58), uVar2 != 0)) &&\n      (uVar2 < *(uint *)((int)data + 0x54))) &&\n     ((iVar1 = *(int *)((int)data + 0x5c) + uVar2 * 0x48, iVar1 != 0 &&\n      (*(int *)(iVar1 + 0x24) != 0 || *(int *)(iVar1 + 0x20) != 0)))) {\n    reason = (char *)dcgettext(0,"string table",5);\n    pvVar5 = get_data((void *)0x0,(Filedata *)data,*(ulong *)(iVar1 + 0x18),1,\n                      *(bfd_size_type *)(iVar1 + 0x20),reason);\n    uVar6 = 0;\n    *(void **)((int)data + 100) = pvVar5;\n    if (pvVar5 != (void *)0x0) {\n      uVar6 = *(undefined4 *)(iVar1 + 0x20);\n    }\n    *(undefined4 *)((int)data + 0x68) = uVar6;\n  }" if (parenthesized_expression "((((*(int *)((int)data + 100) == 0) && (uVar2 = *(uint *)((int)data + 0x58), uVar2 != 0)) &&\n      (uVar2 < *(uint *)((int)data + 0x54))) &&\n     ((iVar1 = *(int *)((int)data + 0x5c) + uVar2 * 0x48, iVar1 != 0 &&\n      (*(int *)(iVar1 + 0x24) != 0 || *(int *)(iVar1 + 0x20) != 0))))" ( (binary_expression "(((*(int *)((int)data + 100) == 0) && (uVar2 = *(uint *)((int)data + 0x58), uVar2 != 0)) &&\n      (uVar2 < *(uint *)((int)data + 0x54))) &&\n     ((iVar1 = *(int *)((int)data + 0x5c) + uVar2 * 0x48, iVar1 != 0 &&\n      (*(int *)(iVar1 + 0x24) != 0 || *(int *)(iVar1 + 0x20) != 0)))" (parenthesized_expression "(((*(int *)((int)data + 100) == 0) && (uVar2 = *(uint *)((int)data + 0x58), uVar2 != 0)) &&\n      (uVar2 < *(uint *)((int)data + 0x54)))" ( (binary_expression "((*(int *)((int)data + 100) == 0) && (uVar2 = *(uint *)((int)data + 0x58), uVar2 != 0)) &&\n      (uVar2 < *(uint *)((int)data + 0x54))" (parenthesized_expression "((*(int *)((int)data + 100) == 0) && (uVar2 = *(uint *)((int)data + 0x58), uVar2 != 0))" ( (binary_expression "(*(int *)((int)data + 100) == 0) && (uVar2 = *(uint *)((int)data + 0x58), uVar2 != 0)" (parenthesized_expression "(*(int *)((int)data + 100) == 0)" ( (binary_expression "*(int *)((int)data + 100) == 0" (pointer_expression "*(int *)((int)data + 100)" * (cast_expression "(int *)((int)data + 100)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)data + 100)" ( (binary_expression "(int)data + 100" (cast_expression "(int)data" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) == number_literal) )) && (parenthesized_expression "(uVar2 = *(uint *)((int)data + 0x58), uVar2 != 0)" ( (comma_expression "uVar2 = *(uint *)((int)data + 0x58), uVar2 != 0" (assignment_expression "uVar2 = *(uint *)((int)data + 0x58)" identifier = (pointer_expression "*(uint *)((int)data + 0x58)" * (cast_expression "(uint *)((int)data + 0x58)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)data + 0x58)" ( (binary_expression "(int)data + 0x58" (cast_expression "(int)data" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) , (binary_expression "uVar2 != 0" identifier != number_literal)) ))) )) && (parenthesized_expression "(uVar2 < *(uint *)((int)data + 0x54))" ( (binary_expression "uVar2 < *(uint *)((int)data + 0x54)" identifier < (pointer_expression "*(uint *)((int)data + 0x54)" * (cast_expression "(uint *)((int)data + 0x54)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)data + 0x54)" ( (binary_expression "(int)data + 0x54" (cast_expression "(int)data" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ))) )) && (parenthesized_expression "((iVar1 = *(int *)((int)data + 0x5c) + uVar2 * 0x48, iVar1 != 0 &&\n      (*(int *)(iVar1 + 0x24) != 0 || *(int *)(iVar1 + 0x20) != 0)))" ( (parenthesized_expression "(iVar1 = *(int *)((int)data + 0x5c) + uVar2 * 0x48, iVar1 != 0 &&\n      (*(int *)(iVar1 + 0x24) != 0 || *(int *)(iVar1 + 0x20) != 0))" ( (comma_expression "iVar1 = *(int *)((int)data + 0x5c) + uVar2 * 0x48, iVar1 != 0 &&\n      (*(int *)(iVar1 + 0x24) != 0 || *(int *)(iVar1 + 0x20) != 0)" (assignment_expression "iVar1 = *(int *)((int)data + 0x5c) + uVar2 * 0x48" identifier = (binary_expression "*(int *)((int)data + 0x5c) + uVar2 * 0x48" (pointer_expression "*(int *)((int)data + 0x5c)" * (cast_expression "(int *)((int)data + 0x5c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)data + 0x5c)" ( (binary_expression "(int)data + 0x5c" (cast_expression "(int)data" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) + (binary_expression "uVar2 * 0x48" identifier * number_literal))) , (binary_expression "iVar1 != 0 &&\n      (*(int *)(iVar1 + 0x24) != 0 || *(int *)(iVar1 + 0x20) != 0)" (binary_expression "iVar1 != 0" identifier != number_literal) && (parenthesized_expression "(*(int *)(iVar1 + 0x24) != 0 || *(int *)(iVar1 + 0x20) != 0)" ( (binary_expression "*(int *)(iVar1 + 0x24) != 0 || *(int *)(iVar1 + 0x20) != 0" (binary_expression "*(int *)(iVar1 + 0x24) != 0" (pointer_expression "*(int *)(iVar1 + 0x24)" * (cast_expression "(int *)(iVar1 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x24)" ( (binary_expression "iVar1 + 0x24" identifier + number_literal) )))) != number_literal) || (binary_expression "*(int *)(iVar1 + 0x20) != 0" (pointer_expression "*(int *)(iVar1 + 0x20)" * (cast_expression "(int *)(iVar1 + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x20)" ( (binary_expression "iVar1 + 0x20" identifier + number_literal) )))) != number_literal)) )))) )) ))) )) (compound_statement "{\n    reason = (char *)dcgettext(0,"string table",5);\n    pvVar5 = get_data((void *)0x0,(Filedata *)data,*(ulong *)(iVar1 + 0x18),1,\n                      *(bfd_size_type *)(iVar1 + 0x20),reason);\n    uVar6 = 0;\n    *(void **)((int)data + 100) = pvVar5;\n    if (pvVar5 != (void *)0x0) {\n      uVar6 = *(undefined4 *)(iVar1 + 0x20);\n    }\n    *(undefined4 *)((int)data + 0x68) = uVar6;\n  }" { (expression_statement "reason = (char *)dcgettext(0,"string table",5);" (assignment_expression "reason = (char *)dcgettext(0,"string table",5)" identifier = (cast_expression "(char *)dcgettext(0,"string table",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,"string table",5)" identifier (argument_list "(0,"string table",5)" ( number_literal , (string_literal ""string table"" " string_content ") , number_literal ))))) ;) (expression_statement "pvVar5 = get_data((void *)0x0,(Filedata *)data,*(ulong *)(iVar1 + 0x18),1,\n                      *(bfd_size_type *)(iVar1 + 0x20),reason);" (assignment_expression "pvVar5 = get_data((void *)0x0,(Filedata *)data,*(ulong *)(iVar1 + 0x18),1,\n                      *(bfd_size_type *)(iVar1 + 0x20),reason)" identifier = (call_expression "get_data((void *)0x0,(Filedata *)data,*(ulong *)(iVar1 + 0x18),1,\n                      *(bfd_size_type *)(iVar1 + 0x20),reason)" identifier (argument_list "((void *)0x0,(Filedata *)data,*(ulong *)(iVar1 + 0x18),1,\n                      *(bfd_size_type *)(iVar1 + 0x20),reason)" ( (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) , (cast_expression "(Filedata *)data" ( (type_descriptor "Filedata *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , (pointer_expression "*(ulong *)(iVar1 + 0x18)" * (cast_expression "(ulong *)(iVar1 + 0x18)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x18)" ( (binary_expression "iVar1 + 0x18" identifier + number_literal) )))) , number_literal , (pointer_expression "*(bfd_size_type *)(iVar1 + 0x20)" * (cast_expression "(bfd_size_type *)(iVar1 + 0x20)" ( (type_descriptor "bfd_size_type *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x20)" ( (binary_expression "iVar1 + 0x20" identifier + number_literal) )))) , identifier )))) ;) (expression_statement "uVar6 = 0;" (assignment_expression "uVar6 = 0" identifier = number_literal) ;) (expression_statement "*(void **)((int)data + 100) = pvVar5;" (assignment_expression "*(void **)((int)data + 100) = pvVar5" (pointer_expression "*(void **)((int)data + 100)" * (cast_expression "(void **)((int)data + 100)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)data + 100)" ( (binary_expression "(int)data + 100" (cast_expression "(int)data" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (if_statement "if (pvVar5 != (void *)0x0) {\n      uVar6 = *(undefined4 *)(iVar1 + 0x20);\n    }" if (parenthesized_expression "(pvVar5 != (void *)0x0)" ( (binary_expression "pvVar5 != (void *)0x0" identifier != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      uVar6 = *(undefined4 *)(iVar1 + 0x20);\n    }" { (expression_statement "uVar6 = *(undefined4 *)(iVar1 + 0x20);" (assignment_expression "uVar6 = *(undefined4 *)(iVar1 + 0x20)" identifier = (pointer_expression "*(undefined4 *)(iVar1 + 0x20)" * (cast_expression "(undefined4 *)(iVar1 + 0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x20)" ( (binary_expression "iVar1 + 0x20" identifier + number_literal) ))))) ;) })) (expression_statement "*(undefined4 *)((int)data + 0x68) = uVar6;" (assignment_expression "*(undefined4 *)((int)data + 0x68) = uVar6" (pointer_expression "*(undefined4 *)((int)data + 0x68)" * (cast_expression "(undefined4 *)((int)data + 0x68)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)data + 0x68)" ( (binary_expression "(int)data + 0x68" (cast_expression "(int)data" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) })) (expression_statement "set = section_subset;" (assignment_expression "set = section_subset" identifier = identifier) ;) (expression_statement "puVar3 = (undefined4 *)(PTR_debug_displays_000b3fcc + debug * 0x40);" (assignment_expression "puVar3 = (undefined4 *)(PTR_debug_displays_000b3fcc + debug * 0x40)" identifier = (cast_expression "(undefined4 *)(PTR_debug_displays_000b3fcc + debug * 0x40)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_debug_displays_000b3fcc + debug * 0x40)" ( (binary_expression "PTR_debug_displays_000b3fcc + debug * 0x40" identifier + (binary_expression "debug * 0x40" identifier * number_literal)) )))) ;) (expression_statement "sec = find_section_in_set((Filedata *)data,(char *)*puVar3,section_subset);" (assignment_expression "sec = find_section_in_set((Filedata *)data,(char *)*puVar3,section_subset)" identifier = (call_expression "find_section_in_set((Filedata *)data,(char *)*puVar3,section_subset)" identifier (argument_list "((Filedata *)data,(char *)*puVar3,section_subset)" ( (cast_expression "(Filedata *)data" ( (type_descriptor "Filedata *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , (cast_expression "(char *)*puVar3" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar3" * identifier)) , identifier )))) ;) (if_statement "if (sec == (Elf_Internal_Shdr *)0x0) {\n    sec = find_section_in_set((Filedata *)data,(char *)puVar3[1],set);\n    if (sec == (Elf_Internal_Shdr *)0x0) {\n      return 0;\n    }\n    puVar3[2] = puVar3[1];\n  }\n  else {\n    puVar3[2] = *puVar3;\n  }" if (parenthesized_expression "(sec == (Elf_Internal_Shdr *)0x0)" ( (binary_expression "sec == (Elf_Internal_Shdr *)0x0" identifier == (cast_expression "(Elf_Internal_Shdr *)0x0" ( (type_descriptor "Elf_Internal_Shdr *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    sec = find_section_in_set((Filedata *)data,(char *)puVar3[1],set);\n    if (sec == (Elf_Internal_Shdr *)0x0) {\n      return 0;\n    }\n    puVar3[2] = puVar3[1];\n  }" { (expression_statement "sec = find_section_in_set((Filedata *)data,(char *)puVar3[1],set);" (assignment_expression "sec = find_section_in_set((Filedata *)data,(char *)puVar3[1],set)" identifier = (call_expression "find_section_in_set((Filedata *)data,(char *)puVar3[1],set)" identifier (argument_list "((Filedata *)data,(char *)puVar3[1],set)" ( (cast_expression "(Filedata *)data" ( (type_descriptor "Filedata *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , (cast_expression "(char *)puVar3[1]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar3[1]" identifier [ number_literal ])) , identifier )))) ;) (if_statement "if (sec == (Elf_Internal_Shdr *)0x0) {\n      return 0;\n    }" if (parenthesized_expression "(sec == (Elf_Internal_Shdr *)0x0)" ( (binary_expression "sec == (Elf_Internal_Shdr *)0x0" identifier == (cast_expression "(Elf_Internal_Shdr *)0x0" ( (type_descriptor "Elf_Internal_Shdr *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "puVar3[2] = puVar3[1];" (assignment_expression "puVar3[2] = puVar3[1]" (subscript_expression "puVar3[2]" identifier [ number_literal ]) = (subscript_expression "puVar3[1]" identifier [ number_literal ])) ;) }) (else_clause "else {\n    puVar3[2] = *puVar3;\n  }" else (compound_statement "{\n    puVar3[2] = *puVar3;\n  }" { (expression_statement "puVar3[2] = *puVar3;" (assignment_expression "puVar3[2] = *puVar3" (subscript_expression "puVar3[2]" identifier [ number_literal ]) = (pointer_expression "*puVar3" * identifier)) ;) }))) (if_statement "if (set != (uint *)0x0) {\n    free_debug_section(debug);\n  }" if (parenthesized_expression "(set != (uint *)0x0)" ( (binary_expression "set != (uint *)0x0" identifier != (cast_expression "(uint *)0x0" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    free_debug_section(debug);\n  }" { (expression_statement "free_debug_section(debug);" (call_expression "free_debug_section(debug)" identifier (argument_list "(debug)" ( identifier ))) ;) })) (expression_statement "bVar4 = load_specific_debug_section(debug,sec,data);" (assignment_expression "bVar4 = load_specific_debug_section(debug,sec,data)" identifier = (call_expression "load_specific_debug_section(debug,sec,data)" identifier (argument_list "(debug,sec,data)" ( identifier , identifier , identifier )))) ;) (return_statement "return bVar4;" return identifier ;) })))
(translation_unit "undefined4 FUN_000450c0(int param_1,int param_2)\n\n{\n  int iVar1;\n  uint uVar2;\n  undefined4 *puVar3;\n  int iVar4;\n  undefined4 uVar5;\n  \n  if (*(int *)(param_2 + 0x5c) == 0) {\n    return 0;\n  }\n  if ((((*(int *)(param_2 + 100) == 0) && (uVar2 = *(uint *)(param_2 + 0x58), uVar2 != 0)) &&\n      (uVar2 < *(uint *)(param_2 + 0x54))) &&\n     ((iVar1 = *(int *)(param_2 + 0x5c) + uVar2 * 0x48, iVar1 != 0 &&\n      (*(int *)(iVar1 + 0x24) != 0 || *(int *)(iVar1 + 0x20) != 0)))) {\n    uVar5 = dcgettext(0,"string table",5);\n    iVar4 = FUN_0001bf90(1,0,*(undefined4 *)(iVar1 + 0x20),*(undefined4 *)(iVar1 + 0x24),uVar5);\n    uVar5 = 0;\n    *(int *)(param_2 + 100) = iVar4;\n    if (iVar4 != 0) {\n      uVar5 = *(undefined4 *)(iVar1 + 0x20);\n    }\n    *(undefined4 *)(param_2 + 0x68) = uVar5;\n  }\n  iVar1 = DAT_000b5e68;\n  puVar3 = (undefined4 *)(PTR_PTR_s__debug_abbrev_000b3fcc + param_1 * 0x40);\n  iVar4 = FUN_00026540();\n  if (iVar4 == 0) {\n    iVar4 = FUN_00026540();\n    if (iVar4 == 0) {\n      return 0;\n    }\n    puVar3[2] = puVar3[1];\n  }\n  else {\n    puVar3[2] = *puVar3;\n  }\n  if (iVar1 != 0) {\n    FUN_00045060(param_1);\n  }\n  uVar5 = FUN_000418c0();\n  return uVar5;\n}\n\n" (function_definition "undefined4 FUN_000450c0(int param_1,int param_2)\n\n{\n  int iVar1;\n  uint uVar2;\n  undefined4 *puVar3;\n  int iVar4;\n  undefined4 uVar5;\n  \n  if (*(int *)(param_2 + 0x5c) == 0) {\n    return 0;\n  }\n  if ((((*(int *)(param_2 + 100) == 0) && (uVar2 = *(uint *)(param_2 + 0x58), uVar2 != 0)) &&\n      (uVar2 < *(uint *)(param_2 + 0x54))) &&\n     ((iVar1 = *(int *)(param_2 + 0x5c) + uVar2 * 0x48, iVar1 != 0 &&\n      (*(int *)(iVar1 + 0x24) != 0 || *(int *)(iVar1 + 0x20) != 0)))) {\n    uVar5 = dcgettext(0,"string table",5);\n    iVar4 = FUN_0001bf90(1,0,*(undefined4 *)(iVar1 + 0x20),*(undefined4 *)(iVar1 + 0x24),uVar5);\n    uVar5 = 0;\n    *(int *)(param_2 + 100) = iVar4;\n    if (iVar4 != 0) {\n      uVar5 = *(undefined4 *)(iVar1 + 0x20);\n    }\n    *(undefined4 *)(param_2 + 0x68) = uVar5;\n  }\n  iVar1 = DAT_000b5e68;\n  puVar3 = (undefined4 *)(PTR_PTR_s__debug_abbrev_000b3fcc + param_1 * 0x40);\n  iVar4 = FUN_00026540();\n  if (iVar4 == 0) {\n    iVar4 = FUN_00026540();\n    if (iVar4 == 0) {\n      return 0;\n    }\n    puVar3[2] = puVar3[1];\n  }\n  else {\n    puVar3[2] = *puVar3;\n  }\n  if (iVar1 != 0) {\n    FUN_00045060(param_1);\n  }\n  uVar5 = FUN_000418c0();\n  return uVar5;\n}" type_identifier (function_declarator "FUN_000450c0(int param_1,int param_2)" identifier (parameter_list "(int param_1,int param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  uint uVar2;\n  undefined4 *puVar3;\n  int iVar4;\n  undefined4 uVar5;\n  \n  if (*(int *)(param_2 + 0x5c) == 0) {\n    return 0;\n  }\n  if ((((*(int *)(param_2 + 100) == 0) && (uVar2 = *(uint *)(param_2 + 0x58), uVar2 != 0)) &&\n      (uVar2 < *(uint *)(param_2 + 0x54))) &&\n     ((iVar1 = *(int *)(param_2 + 0x5c) + uVar2 * 0x48, iVar1 != 0 &&\n      (*(int *)(iVar1 + 0x24) != 0 || *(int *)(iVar1 + 0x20) != 0)))) {\n    uVar5 = dcgettext(0,"string table",5);\n    iVar4 = FUN_0001bf90(1,0,*(undefined4 *)(iVar1 + 0x20),*(undefined4 *)(iVar1 + 0x24),uVar5);\n    uVar5 = 0;\n    *(int *)(param_2 + 100) = iVar4;\n    if (iVar4 != 0) {\n      uVar5 = *(undefined4 *)(iVar1 + 0x20);\n    }\n    *(undefined4 *)(param_2 + 0x68) = uVar5;\n  }\n  iVar1 = DAT_000b5e68;\n  puVar3 = (undefined4 *)(PTR_PTR_s__debug_abbrev_000b3fcc + param_1 * 0x40);\n  iVar4 = FUN_00026540();\n  if (iVar4 == 0) {\n    iVar4 = FUN_00026540();\n    if (iVar4 == 0) {\n      return 0;\n    }\n    puVar3[2] = puVar3[1];\n  }\n  else {\n    puVar3[2] = *puVar3;\n  }\n  if (iVar1 != 0) {\n    FUN_00045060(param_1);\n  }\n  uVar5 = FUN_000418c0();\n  return uVar5;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (if_statement "if (*(int *)(param_2 + 0x5c) == 0) {\n    return 0;\n  }" if (parenthesized_expression "(*(int *)(param_2 + 0x5c) == 0)" ( (binary_expression "*(int *)(param_2 + 0x5c) == 0" (pointer_expression "*(int *)(param_2 + 0x5c)" * (cast_expression "(int *)(param_2 + 0x5c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x5c)" ( (binary_expression "param_2 + 0x5c" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (if_statement "if ((((*(int *)(param_2 + 100) == 0) && (uVar2 = *(uint *)(param_2 + 0x58), uVar2 != 0)) &&\n      (uVar2 < *(uint *)(param_2 + 0x54))) &&\n     ((iVar1 = *(int *)(param_2 + 0x5c) + uVar2 * 0x48, iVar1 != 0 &&\n      (*(int *)(iVar1 + 0x24) != 0 || *(int *)(iVar1 + 0x20) != 0)))) {\n    uVar5 = dcgettext(0,"string table",5);\n    iVar4 = FUN_0001bf90(1,0,*(undefined4 *)(iVar1 + 0x20),*(undefined4 *)(iVar1 + 0x24),uVar5);\n    uVar5 = 0;\n    *(int *)(param_2 + 100) = iVar4;\n    if (iVar4 != 0) {\n      uVar5 = *(undefined4 *)(iVar1 + 0x20);\n    }\n    *(undefined4 *)(param_2 + 0x68) = uVar5;\n  }" if (parenthesized_expression "((((*(int *)(param_2 + 100) == 0) && (uVar2 = *(uint *)(param_2 + 0x58), uVar2 != 0)) &&\n      (uVar2 < *(uint *)(param_2 + 0x54))) &&\n     ((iVar1 = *(int *)(param_2 + 0x5c) + uVar2 * 0x48, iVar1 != 0 &&\n      (*(int *)(iVar1 + 0x24) != 0 || *(int *)(iVar1 + 0x20) != 0))))" ( (binary_expression "(((*(int *)(param_2 + 100) == 0) && (uVar2 = *(uint *)(param_2 + 0x58), uVar2 != 0)) &&\n      (uVar2 < *(uint *)(param_2 + 0x54))) &&\n     ((iVar1 = *(int *)(param_2 + 0x5c) + uVar2 * 0x48, iVar1 != 0 &&\n      (*(int *)(iVar1 + 0x24) != 0 || *(int *)(iVar1 + 0x20) != 0)))" (parenthesized_expression "(((*(int *)(param_2 + 100) == 0) && (uVar2 = *(uint *)(param_2 + 0x58), uVar2 != 0)) &&\n      (uVar2 < *(uint *)(param_2 + 0x54)))" ( (binary_expression "((*(int *)(param_2 + 100) == 0) && (uVar2 = *(uint *)(param_2 + 0x58), uVar2 != 0)) &&\n      (uVar2 < *(uint *)(param_2 + 0x54))" (parenthesized_expression "((*(int *)(param_2 + 100) == 0) && (uVar2 = *(uint *)(param_2 + 0x58), uVar2 != 0))" ( (binary_expression "(*(int *)(param_2 + 100) == 0) && (uVar2 = *(uint *)(param_2 + 0x58), uVar2 != 0)" (parenthesized_expression "(*(int *)(param_2 + 100) == 0)" ( (binary_expression "*(int *)(param_2 + 100) == 0" (pointer_expression "*(int *)(param_2 + 100)" * (cast_expression "(int *)(param_2 + 100)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 100)" ( (binary_expression "param_2 + 100" identifier + number_literal) )))) == number_literal) )) && (parenthesized_expression "(uVar2 = *(uint *)(param_2 + 0x58), uVar2 != 0)" ( (comma_expression "uVar2 = *(uint *)(param_2 + 0x58), uVar2 != 0" (assignment_expression "uVar2 = *(uint *)(param_2 + 0x58)" identifier = (pointer_expression "*(uint *)(param_2 + 0x58)" * (cast_expression "(uint *)(param_2 + 0x58)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x58)" ( (binary_expression "param_2 + 0x58" identifier + number_literal) ))))) , (binary_expression "uVar2 != 0" identifier != number_literal)) ))) )) && (parenthesized_expression "(uVar2 < *(uint *)(param_2 + 0x54))" ( (binary_expression "uVar2 < *(uint *)(param_2 + 0x54)" identifier < (pointer_expression "*(uint *)(param_2 + 0x54)" * (cast_expression "(uint *)(param_2 + 0x54)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x54)" ( (binary_expression "param_2 + 0x54" identifier + number_literal) ))))) ))) )) && (parenthesized_expression "((iVar1 = *(int *)(param_2 + 0x5c) + uVar2 * 0x48, iVar1 != 0 &&\n      (*(int *)(iVar1 + 0x24) != 0 || *(int *)(iVar1 + 0x20) != 0)))" ( (parenthesized_expression "(iVar1 = *(int *)(param_2 + 0x5c) + uVar2 * 0x48, iVar1 != 0 &&\n      (*(int *)(iVar1 + 0x24) != 0 || *(int *)(iVar1 + 0x20) != 0))" ( (comma_expression "iVar1 = *(int *)(param_2 + 0x5c) + uVar2 * 0x48, iVar1 != 0 &&\n      (*(int *)(iVar1 + 0x24) != 0 || *(int *)(iVar1 + 0x20) != 0)" (assignment_expression "iVar1 = *(int *)(param_2 + 0x5c) + uVar2 * 0x48" identifier = (binary_expression "*(int *)(param_2 + 0x5c) + uVar2 * 0x48" (pointer_expression "*(int *)(param_2 + 0x5c)" * (cast_expression "(int *)(param_2 + 0x5c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x5c)" ( (binary_expression "param_2 + 0x5c" identifier + number_literal) )))) + (binary_expression "uVar2 * 0x48" identifier * number_literal))) , (binary_expression "iVar1 != 0 &&\n      (*(int *)(iVar1 + 0x24) != 0 || *(int *)(iVar1 + 0x20) != 0)" (binary_expression "iVar1 != 0" identifier != number_literal) && (parenthesized_expression "(*(int *)(iVar1 + 0x24) != 0 || *(int *)(iVar1 + 0x20) != 0)" ( (binary_expression "*(int *)(iVar1 + 0x24) != 0 || *(int *)(iVar1 + 0x20) != 0" (binary_expression "*(int *)(iVar1 + 0x24) != 0" (pointer_expression "*(int *)(iVar1 + 0x24)" * (cast_expression "(int *)(iVar1 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x24)" ( (binary_expression "iVar1 + 0x24" identifier + number_literal) )))) != number_literal) || (binary_expression "*(int *)(iVar1 + 0x20) != 0" (pointer_expression "*(int *)(iVar1 + 0x20)" * (cast_expression "(int *)(iVar1 + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x20)" ( (binary_expression "iVar1 + 0x20" identifier + number_literal) )))) != number_literal)) )))) )) ))) )) (compound_statement "{\n    uVar5 = dcgettext(0,"string table",5);\n    iVar4 = FUN_0001bf90(1,0,*(undefined4 *)(iVar1 + 0x20),*(undefined4 *)(iVar1 + 0x24),uVar5);\n    uVar5 = 0;\n    *(int *)(param_2 + 100) = iVar4;\n    if (iVar4 != 0) {\n      uVar5 = *(undefined4 *)(iVar1 + 0x20);\n    }\n    *(undefined4 *)(param_2 + 0x68) = uVar5;\n  }" { (expression_statement "uVar5 = dcgettext(0,"string table",5);" (assignment_expression "uVar5 = dcgettext(0,"string table",5)" identifier = (call_expression "dcgettext(0,"string table",5)" identifier (argument_list "(0,"string table",5)" ( number_literal , (string_literal ""string table"" " string_content ") , number_literal )))) ;) (expression_statement "iVar4 = FUN_0001bf90(1,0,*(undefined4 *)(iVar1 + 0x20),*(undefined4 *)(iVar1 + 0x24),uVar5);" (assignment_expression "iVar4 = FUN_0001bf90(1,0,*(undefined4 *)(iVar1 + 0x20),*(undefined4 *)(iVar1 + 0x24),uVar5)" identifier = (call_expression "FUN_0001bf90(1,0,*(undefined4 *)(iVar1 + 0x20),*(undefined4 *)(iVar1 + 0x24),uVar5)" identifier (argument_list "(1,0,*(undefined4 *)(iVar1 + 0x20),*(undefined4 *)(iVar1 + 0x24),uVar5)" ( number_literal , number_literal , (pointer_expression "*(undefined4 *)(iVar1 + 0x20)" * (cast_expression "(undefined4 *)(iVar1 + 0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x20)" ( (binary_expression "iVar1 + 0x20" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(iVar1 + 0x24)" * (cast_expression "(undefined4 *)(iVar1 + 0x24)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x24)" ( (binary_expression "iVar1 + 0x24" identifier + number_literal) )))) , identifier )))) ;) (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" identifier = number_literal) ;) (expression_statement "*(int *)(param_2 + 100) = iVar4;" (assignment_expression "*(int *)(param_2 + 100) = iVar4" (pointer_expression "*(int *)(param_2 + 100)" * (cast_expression "(int *)(param_2 + 100)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 100)" ( (binary_expression "param_2 + 100" identifier + number_literal) )))) = identifier) ;) (if_statement "if (iVar4 != 0) {\n      uVar5 = *(undefined4 *)(iVar1 + 0x20);\n    }" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (compound_statement "{\n      uVar5 = *(undefined4 *)(iVar1 + 0x20);\n    }" { (expression_statement "uVar5 = *(undefined4 *)(iVar1 + 0x20);" (assignment_expression "uVar5 = *(undefined4 *)(iVar1 + 0x20)" identifier = (pointer_expression "*(undefined4 *)(iVar1 + 0x20)" * (cast_expression "(undefined4 *)(iVar1 + 0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x20)" ( (binary_expression "iVar1 + 0x20" identifier + number_literal) ))))) ;) })) (expression_statement "*(undefined4 *)(param_2 + 0x68) = uVar5;" (assignment_expression "*(undefined4 *)(param_2 + 0x68) = uVar5" (pointer_expression "*(undefined4 *)(param_2 + 0x68)" * (cast_expression "(undefined4 *)(param_2 + 0x68)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x68)" ( (binary_expression "param_2 + 0x68" identifier + number_literal) )))) = identifier) ;) })) (expression_statement "iVar1 = DAT_000b5e68;" (assignment_expression "iVar1 = DAT_000b5e68" identifier = identifier) ;) (expression_statement "puVar3 = (undefined4 *)(PTR_PTR_s__debug_abbrev_000b3fcc + param_1 * 0x40);" (assignment_expression "puVar3 = (undefined4 *)(PTR_PTR_s__debug_abbrev_000b3fcc + param_1 * 0x40)" identifier = (cast_expression "(undefined4 *)(PTR_PTR_s__debug_abbrev_000b3fcc + param_1 * 0x40)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_PTR_s__debug_abbrev_000b3fcc + param_1 * 0x40)" ( (binary_expression "PTR_PTR_s__debug_abbrev_000b3fcc + param_1 * 0x40" identifier + (binary_expression "param_1 * 0x40" identifier * number_literal)) )))) ;) (expression_statement "iVar4 = FUN_00026540();" (assignment_expression "iVar4 = FUN_00026540()" identifier = (call_expression "FUN_00026540()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar4 == 0) {\n    iVar4 = FUN_00026540();\n    if (iVar4 == 0) {\n      return 0;\n    }\n    puVar3[2] = puVar3[1];\n  }\n  else {\n    puVar3[2] = *puVar3;\n  }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n    iVar4 = FUN_00026540();\n    if (iVar4 == 0) {\n      return 0;\n    }\n    puVar3[2] = puVar3[1];\n  }" { (expression_statement "iVar4 = FUN_00026540();" (assignment_expression "iVar4 = FUN_00026540()" identifier = (call_expression "FUN_00026540()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar4 == 0) {\n      return 0;\n    }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "puVar3[2] = puVar3[1];" (assignment_expression "puVar3[2] = puVar3[1]" (subscript_expression "puVar3[2]" identifier [ number_literal ]) = (subscript_expression "puVar3[1]" identifier [ number_literal ])) ;) }) (else_clause "else {\n    puVar3[2] = *puVar3;\n  }" else (compound_statement "{\n    puVar3[2] = *puVar3;\n  }" { (expression_statement "puVar3[2] = *puVar3;" (assignment_expression "puVar3[2] = *puVar3" (subscript_expression "puVar3[2]" identifier [ number_literal ]) = (pointer_expression "*puVar3" * identifier)) ;) }))) (if_statement "if (iVar1 != 0) {\n    FUN_00045060(param_1);\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    FUN_00045060(param_1);\n  }" { (expression_statement "FUN_00045060(param_1);" (call_expression "FUN_00045060(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) })) (expression_statement "uVar5 = FUN_000418c0();" (assignment_expression "uVar5 = FUN_000418c0()" identifier = (call_expression "FUN_000418c0()" identifier (argument_list "()" ( )))) ;) (return_statement "return uVar5;" return identifier ;) })))
(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 (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (compound_statement { (return_statement return LIT ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) , (binary_expression IDENT != LIT)) ))) )) && (parenthesized_expression ( (binary_expression IDENT < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ))) )) && (parenthesized_expression ( (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + (binary_expression IDENT * LIT))) , (binary_expression (binary_expression IDENT != LIT) && (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) || (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT)) )))) )) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , (string_literal " string_content ") , LIT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , LIT , (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 IDENT + LIT) )))) , IDENT )))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (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 (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == 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 LIT ;) })) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (pointer_expression * IDENT)) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (return_statement return IDENT ;) })))
(function_definition "undefined4 FUN_000450c0(int param_1,int param_2)\n\n{\n  int iVar1;\n  uint uVar2;\n  undefined4 *puVar3;\n  int iVar4;\n  undefined4 uVar5;\n  \n  if (*(int *)(param_2 + 0x5c) == 0) {\n    return 0;\n  }\n  if ((((*(int *)(param_2 + 100) == 0) && (uVar2 = *(uint *)(param_2 + 0x58), uVar2 != 0)) &&\n      (uVar2 < *(uint *)(param_2 + 0x54))) &&\n     ((iVar1 = *(int *)(param_2 + 0x5c) + uVar2 * 0x48, iVar1 != 0 &&\n      (*(int *)(iVar1 + 0x24) != 0 || *(int *)(iVar1 + 0x20) != 0)))) {\n    uVar5 = dcgettext(0,"string table",5);\n    iVar4 = FUN_0001bf90(1,0,*(undefined4 *)(iVar1 + 0x20),*(undefined4 *)(iVar1 + 0x24),uVar5);\n    uVar5 = 0;\n    *(int *)(param_2 + 100) = iVar4;\n    if (iVar4 != 0) {\n      uVar5 = *(undefined4 *)(iVar1 + 0x20);\n    }\n    *(undefined4 *)(param_2 + 0x68) = uVar5;\n  }\n  iVar1 = DAT_000b5e68;\n  puVar3 = (undefined4 *)(PTR_PTR_s__debug_abbrev_000b3fcc + param_1 * 0x40);\n  iVar4 = FUN_00026540();\n  if (iVar4 == 0) {\n    iVar4 = FUN_00026540();\n    if (iVar4 == 0) {\n      return 0;\n    }\n    puVar3[2] = puVar3[1];\n  }\n  else {\n    puVar3[2] = *puVar3;\n  }\n  if (iVar1 != 0) {\n    FUN_00045060(param_1);\n  }\n  uVar5 = FUN_000418c0();\n  return uVar5;\n}" (type_identifier "undefined4") (function_declarator "FUN_000450c0(int param_1,int param_2)" (identifier "FUN_000450c0") (parameter_list "(int param_1,int param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  int iVar1;\n  uint uVar2;\n  undefined4 *puVar3;\n  int iVar4;\n  undefined4 uVar5;\n  \n  if (*(int *)(param_2 + 0x5c) == 0) {\n    return 0;\n  }\n  if ((((*(int *)(param_2 + 100) == 0) && (uVar2 = *(uint *)(param_2 + 0x58), uVar2 != 0)) &&\n      (uVar2 < *(uint *)(param_2 + 0x54))) &&\n     ((iVar1 = *(int *)(param_2 + 0x5c) + uVar2 * 0x48, iVar1 != 0 &&\n      (*(int *)(iVar1 + 0x24) != 0 || *(int *)(iVar1 + 0x20) != 0)))) {\n    uVar5 = dcgettext(0,"string table",5);\n    iVar4 = FUN_0001bf90(1,0,*(undefined4 *)(iVar1 + 0x20),*(undefined4 *)(iVar1 + 0x24),uVar5);\n    uVar5 = 0;\n    *(int *)(param_2 + 100) = iVar4;\n    if (iVar4 != 0) {\n      uVar5 = *(undefined4 *)(iVar1 + 0x20);\n    }\n    *(undefined4 *)(param_2 + 0x68) = uVar5;\n  }\n  iVar1 = DAT_000b5e68;\n  puVar3 = (undefined4 *)(PTR_PTR_s__debug_abbrev_000b3fcc + param_1 * 0x40);\n  iVar4 = FUN_00026540();\n  if (iVar4 == 0) {\n    iVar4 = FUN_00026540();\n    if (iVar4 == 0) {\n      return 0;\n    }\n    puVar3[2] = puVar3[1];\n  }\n  else {\n    puVar3[2] = *puVar3;\n  }\n  if (iVar1 != 0) {\n    FUN_00045060(param_1);\n  }\n  uVar5 = FUN_000418c0();\n  return uVar5;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "uint uVar2;" (type_identifier "uint") (identifier "uVar2") (; ";")) (declaration "undefined4 *puVar3;" (type_identifier "undefined4") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "undefined4 uVar5;" (type_identifier "undefined4") (identifier "uVar5") (; ";")) (if_statement "if (*(int *)(param_2 + 0x5c) == 0) {\n    return 0;\n  }" (if "if") (parenthesized_expression "(*(int *)(param_2 + 0x5c) == 0)" (( "(") (binary_expression "*(int *)(param_2 + 0x5c) == 0" (pointer_expression "*(int *)(param_2 + 0x5c)" (* "*") (cast_expression "(int *)(param_2 + 0x5c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x5c)" (( "(") (binary_expression "param_2 + 0x5c" (identifier "param_2") (+ "+") (number_literal "0x5c")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    return 0;\n  }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (if_statement "if ((((*(int *)(param_2 + 100) == 0) && (uVar2 = *(uint *)(param_2 + 0x58), uVar2 != 0)) &&\n      (uVar2 < *(uint *)(param_2 + 0x54))) &&\n     ((iVar1 = *(int *)(param_2 + 0x5c) + uVar2 * 0x48, iVar1 != 0 &&\n      (*(int *)(iVar1 + 0x24) != 0 || *(int *)(iVar1 + 0x20) != 0)))) {\n    uVar5 = dcgettext(0,"string table",5);\n    iVar4 = FUN_0001bf90(1,0,*(undefined4 *)(iVar1 + 0x20),*(undefined4 *)(iVar1 + 0x24),uVar5);\n    uVar5 = 0;\n    *(int *)(param_2 + 100) = iVar4;\n    if (iVar4 != 0) {\n      uVar5 = *(undefined4 *)(iVar1 + 0x20);\n    }\n    *(undefined4 *)(param_2 + 0x68) = uVar5;\n  }" (if "if") (parenthesized_expression "((((*(int *)(param_2 + 100) == 0) && (uVar2 = *(uint *)(param_2 + 0x58), uVar2 != 0)) &&\n      (uVar2 < *(uint *)(param_2 + 0x54))) &&\n     ((iVar1 = *(int *)(param_2 + 0x5c) + uVar2 * 0x48, iVar1 != 0 &&\n      (*(int *)(iVar1 + 0x24) != 0 || *(int *)(iVar1 + 0x20) != 0))))" (( "(") (binary_expression "(((*(int *)(param_2 + 100) == 0) && (uVar2 = *(uint *)(param_2 + 0x58), uVar2 != 0)) &&\n      (uVar2 < *(uint *)(param_2 + 0x54))) &&\n     ((iVar1 = *(int *)(param_2 + 0x5c) + uVar2 * 0x48, iVar1 != 0 &&\n      (*(int *)(iVar1 + 0x24) != 0 || *(int *)(iVar1 + 0x20) != 0)))" (parenthesized_expression "(((*(int *)(param_2 + 100) == 0) && (uVar2 = *(uint *)(param_2 + 0x58), uVar2 != 0)) &&\n      (uVar2 < *(uint *)(param_2 + 0x54)))" (( "(") (binary_expression "((*(int *)(param_2 + 100) == 0) && (uVar2 = *(uint *)(param_2 + 0x58), uVar2 != 0)) &&\n      (uVar2 < *(uint *)(param_2 + 0x54))" (parenthesized_expression "((*(int *)(param_2 + 100) == 0) && (uVar2 = *(uint *)(param_2 + 0x58), uVar2 != 0))" (( "(") (binary_expression "(*(int *)(param_2 + 100) == 0) && (uVar2 = *(uint *)(param_2 + 0x58), uVar2 != 0)" (parenthesized_expression "(*(int *)(param_2 + 100) == 0)" (( "(") (binary_expression "*(int *)(param_2 + 100) == 0" (pointer_expression "*(int *)(param_2 + 100)" (* "*") (cast_expression "(int *)(param_2 + 100)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 100)" (( "(") (binary_expression "param_2 + 100" (identifier "param_2") (+ "+") (number_literal "100")) () ")")))) (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(uVar2 = *(uint *)(param_2 + 0x58), uVar2 != 0)" (( "(") (comma_expression "uVar2 = *(uint *)(param_2 + 0x58), uVar2 != 0" (assignment_expression "uVar2 = *(uint *)(param_2 + 0x58)" (identifier "uVar2") (= "=") (pointer_expression "*(uint *)(param_2 + 0x58)" (* "*") (cast_expression "(uint *)(param_2 + 0x58)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x58)" (( "(") (binary_expression "param_2 + 0x58" (identifier "param_2") (+ "+") (number_literal "0x58")) () ")"))))) (, ",") (binary_expression "uVar2 != 0" (identifier "uVar2") (!= "!=") (number_literal "0"))) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(uVar2 < *(uint *)(param_2 + 0x54))" (( "(") (binary_expression "uVar2 < *(uint *)(param_2 + 0x54)" (identifier "uVar2") (< "<") (pointer_expression "*(uint *)(param_2 + 0x54)" (* "*") (cast_expression "(uint *)(param_2 + 0x54)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x54)" (( "(") (binary_expression "param_2 + 0x54" (identifier "param_2") (+ "+") (number_literal "0x54")) () ")"))))) () ")"))) () ")")) (&& "&&") (parenthesized_expression "((iVar1 = *(int *)(param_2 + 0x5c) + uVar2 * 0x48, iVar1 != 0 &&\n      (*(int *)(iVar1 + 0x24) != 0 || *(int *)(iVar1 + 0x20) != 0)))" (( "(") (parenthesized_expression "(iVar1 = *(int *)(param_2 + 0x5c) + uVar2 * 0x48, iVar1 != 0 &&\n      (*(int *)(iVar1 + 0x24) != 0 || *(int *)(iVar1 + 0x20) != 0))" (( "(") (comma_expression "iVar1 = *(int *)(param_2 + 0x5c) + uVar2 * 0x48, iVar1 != 0 &&\n      (*(int *)(iVar1 + 0x24) != 0 || *(int *)(iVar1 + 0x20) != 0)" (assignment_expression "iVar1 = *(int *)(param_2 + 0x5c) + uVar2 * 0x48" (identifier "iVar1") (= "=") (binary_expression "*(int *)(param_2 + 0x5c) + uVar2 * 0x48" (pointer_expression "*(int *)(param_2 + 0x5c)" (* "*") (cast_expression "(int *)(param_2 + 0x5c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x5c)" (( "(") (binary_expression "param_2 + 0x5c" (identifier "param_2") (+ "+") (number_literal "0x5c")) () ")")))) (+ "+") (binary_expression "uVar2 * 0x48" (identifier "uVar2") (* "*") (number_literal "0x48")))) (, ",") (binary_expression "iVar1 != 0 &&\n      (*(int *)(iVar1 + 0x24) != 0 || *(int *)(iVar1 + 0x20) != 0)" (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) (&& "&&") (parenthesized_expression "(*(int *)(iVar1 + 0x24) != 0 || *(int *)(iVar1 + 0x20) != 0)" (( "(") (binary_expression "*(int *)(iVar1 + 0x24) != 0 || *(int *)(iVar1 + 0x20) != 0" (binary_expression "*(int *)(iVar1 + 0x24) != 0" (pointer_expression "*(int *)(iVar1 + 0x24)" (* "*") (cast_expression "(int *)(iVar1 + 0x24)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x24)" (( "(") (binary_expression "iVar1 + 0x24" (identifier "iVar1") (+ "+") (number_literal "0x24")) () ")")))) (!= "!=") (number_literal "0")) (|| "||") (binary_expression "*(int *)(iVar1 + 0x20) != 0" (pointer_expression "*(int *)(iVar1 + 0x20)" (* "*") (cast_expression "(int *)(iVar1 + 0x20)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x20)" (( "(") (binary_expression "iVar1 + 0x20" (identifier "iVar1") (+ "+") (number_literal "0x20")) () ")")))) (!= "!=") (number_literal "0"))) () ")")))) () ")")) () ")"))) () ")")) (compound_statement "{\n    uVar5 = dcgettext(0,"string table",5);\n    iVar4 = FUN_0001bf90(1,0,*(undefined4 *)(iVar1 + 0x20),*(undefined4 *)(iVar1 + 0x24),uVar5);\n    uVar5 = 0;\n    *(int *)(param_2 + 100) = iVar4;\n    if (iVar4 != 0) {\n      uVar5 = *(undefined4 *)(iVar1 + 0x20);\n    }\n    *(undefined4 *)(param_2 + 0x68) = uVar5;\n  }" ({ "{") (expression_statement "uVar5 = dcgettext(0,"string table",5);" (assignment_expression "uVar5 = dcgettext(0,"string table",5)" (identifier "uVar5") (= "=") (call_expression "dcgettext(0,"string table",5)" (identifier "dcgettext") (argument_list "(0,"string table",5)" (( "(") (number_literal "0") (, ",") (string_literal ""string table"" (" """) (string_content "string table") (" """)) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "iVar4 = FUN_0001bf90(1,0,*(undefined4 *)(iVar1 + 0x20),*(undefined4 *)(iVar1 + 0x24),uVar5);" (assignment_expression "iVar4 = FUN_0001bf90(1,0,*(undefined4 *)(iVar1 + 0x20),*(undefined4 *)(iVar1 + 0x24),uVar5)" (identifier "iVar4") (= "=") (call_expression "FUN_0001bf90(1,0,*(undefined4 *)(iVar1 + 0x20),*(undefined4 *)(iVar1 + 0x24),uVar5)" (identifier "FUN_0001bf90") (argument_list "(1,0,*(undefined4 *)(iVar1 + 0x20),*(undefined4 *)(iVar1 + 0x24),uVar5)" (( "(") (number_literal "1") (, ",") (number_literal "0") (, ",") (pointer_expression "*(undefined4 *)(iVar1 + 0x20)" (* "*") (cast_expression "(undefined4 *)(iVar1 + 0x20)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x20)" (( "(") (binary_expression "iVar1 + 0x20" (identifier "iVar1") (+ "+") (number_literal "0x20")) () ")")))) (, ",") (pointer_expression "*(undefined4 *)(iVar1 + 0x24)" (* "*") (cast_expression "(undefined4 *)(iVar1 + 0x24)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x24)" (( "(") (binary_expression "iVar1 + 0x24" (identifier "iVar1") (+ "+") (number_literal "0x24")) () ")")))) (, ",") (identifier "uVar5") () ")")))) (; ";")) (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" (identifier "uVar5") (= "=") (number_literal "0")) (; ";")) (expression_statement "*(int *)(param_2 + 100) = iVar4;" (assignment_expression "*(int *)(param_2 + 100) = iVar4" (pointer_expression "*(int *)(param_2 + 100)" (* "*") (cast_expression "(int *)(param_2 + 100)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 100)" (( "(") (binary_expression "param_2 + 100" (identifier "param_2") (+ "+") (number_literal "100")) () ")")))) (= "=") (identifier "iVar4")) (; ";")) (if_statement "if (iVar4 != 0) {\n      uVar5 = *(undefined4 *)(iVar1 + 0x20);\n    }" (if "if") (parenthesized_expression "(iVar4 != 0)" (( "(") (binary_expression "iVar4 != 0" (identifier "iVar4") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      uVar5 = *(undefined4 *)(iVar1 + 0x20);\n    }" ({ "{") (expression_statement "uVar5 = *(undefined4 *)(iVar1 + 0x20);" (assignment_expression "uVar5 = *(undefined4 *)(iVar1 + 0x20)" (identifier "uVar5") (= "=") (pointer_expression "*(undefined4 *)(iVar1 + 0x20)" (* "*") (cast_expression "(undefined4 *)(iVar1 + 0x20)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x20)" (( "(") (binary_expression "iVar1 + 0x20" (identifier "iVar1") (+ "+") (number_literal "0x20")) () ")"))))) (; ";")) (} "}"))) (expression_statement "*(undefined4 *)(param_2 + 0x68) = uVar5;" (assignment_expression "*(undefined4 *)(param_2 + 0x68) = uVar5" (pointer_expression "*(undefined4 *)(param_2 + 0x68)" (* "*") (cast_expression "(undefined4 *)(param_2 + 0x68)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x68)" (( "(") (binary_expression "param_2 + 0x68" (identifier "param_2") (+ "+") (number_literal "0x68")) () ")")))) (= "=") (identifier "uVar5")) (; ";")) (} "}"))) (expression_statement "iVar1 = DAT_000b5e68;" (assignment_expression "iVar1 = DAT_000b5e68" (identifier "iVar1") (= "=") (identifier "DAT_000b5e68")) (; ";")) (expression_statement "puVar3 = (undefined4 *)(PTR_PTR_s__debug_abbrev_000b3fcc + param_1 * 0x40);" (assignment_expression "puVar3 = (undefined4 *)(PTR_PTR_s__debug_abbrev_000b3fcc + param_1 * 0x40)" (identifier "puVar3") (= "=") (cast_expression "(undefined4 *)(PTR_PTR_s__debug_abbrev_000b3fcc + param_1 * 0x40)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_PTR_s__debug_abbrev_000b3fcc + param_1 * 0x40)" (( "(") (binary_expression "PTR_PTR_s__debug_abbrev_000b3fcc + param_1 * 0x40" (identifier "PTR_PTR_s__debug_abbrev_000b3fcc") (+ "+") (binary_expression "param_1 * 0x40" (identifier "param_1") (* "*") (number_literal "0x40"))) () ")")))) (; ";")) (expression_statement "iVar4 = FUN_00026540();" (assignment_expression "iVar4 = FUN_00026540()" (identifier "iVar4") (= "=") (call_expression "FUN_00026540()" (identifier "FUN_00026540") (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (iVar4 == 0) {\n    iVar4 = FUN_00026540();\n    if (iVar4 == 0) {\n      return 0;\n    }\n    puVar3[2] = puVar3[1];\n  }\n  else {\n    puVar3[2] = *puVar3;\n  }" (if "if") (parenthesized_expression "(iVar4 == 0)" (( "(") (binary_expression "iVar4 == 0" (identifier "iVar4") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    iVar4 = FUN_00026540();\n    if (iVar4 == 0) {\n      return 0;\n    }\n    puVar3[2] = puVar3[1];\n  }" ({ "{") (expression_statement "iVar4 = FUN_00026540();" (assignment_expression "iVar4 = FUN_00026540()" (identifier "iVar4") (= "=") (call_expression "FUN_00026540()" (identifier "FUN_00026540") (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (iVar4 == 0) {\n      return 0;\n    }" (if "if") (parenthesized_expression "(iVar4 == 0)" (( "(") (binary_expression "iVar4 == 0" (identifier "iVar4") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      return 0;\n    }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (expression_statement "puVar3[2] = puVar3[1];" (assignment_expression "puVar3[2] = puVar3[1]" (subscript_expression "puVar3[2]" (identifier "puVar3") ([ "[") (number_literal "2") (] "]")) (= "=") (subscript_expression "puVar3[1]" (identifier "puVar3") ([ "[") (number_literal "1") (] "]"))) (; ";")) (} "}")) (else_clause "else {\n    puVar3[2] = *puVar3;\n  }" (else "else") (compound_statement "{\n    puVar3[2] = *puVar3;\n  }" ({ "{") (expression_statement "puVar3[2] = *puVar3;" (assignment_expression "puVar3[2] = *puVar3" (subscript_expression "puVar3[2]" (identifier "puVar3") ([ "[") (number_literal "2") (] "]")) (= "=") (pointer_expression "*puVar3" (* "*") (identifier "puVar3"))) (; ";")) (} "}")))) (if_statement "if (iVar1 != 0) {\n    FUN_00045060(param_1);\n  }" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    FUN_00045060(param_1);\n  }" ({ "{") (expression_statement "FUN_00045060(param_1);" (call_expression "FUN_00045060(param_1)" (identifier "FUN_00045060") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))) (; ";")) (} "}"))) (expression_statement "uVar5 = FUN_000418c0();" (assignment_expression "uVar5 = FUN_000418c0()" (identifier "uVar5") (= "=") (call_expression "FUN_000418c0()" (identifier "FUN_000418c0") (argument_list "()" (( "(") () ")")))) (; ";")) (return_statement "return uVar5;" (return "return") (identifier "uVar5") (; ";")) (} "}")))

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

type_1 function_1(type_2 var_7,void *data)

{
  int var_2;
  type_3 var_1;
  type_3 *var_10;
  type_4 *puVar3;
  type_5 *var_9;
  type_1 bVar4;
  char *reason;
  void *var_5;
  type_4 uVar6;
  
  if (*(int *)((int)data + 0x5c) == 0) {
    return 0;
  }
  if ((((*(int *)((int)data + 100) == 0) && (var_1 = *(type_3 *)((int)data + 0x58), var_1 != 0)) &&
      (var_1 < *(type_3 *)((int)data + 0x54))) &&
     ((var_2 = *(int *)((int)data + 0x5c) + var_1 * 0x48, var_2 != 0 &&
      (*(int *)(var_2 + 0x24) != 0 || *(int *)(var_2 + 0x20) != 0)))) {
    reason = (char *)var_3(0,"string table",5);
    var_5 = var_4((void *)0x0,(type_6 *)data,*(type_7 *)(var_2 + 0x18),1,
                      *(type_8 *)(var_2 + 0x20),reason);
    uVar6 = 0;
    *(void **)((int)data + 100) = var_5;
    if (var_5 != (void *)0x0) {
      uVar6 = *(type_4 *)(var_2 + 0x20);
    }
    *(type_4 *)((int)data + 0x68) = uVar6;
  }
  var_10 = section_subset;
  puVar3 = (type_4 *)(var_6 + var_7 * 0x40);
  var_9 = var_8((type_6 *)data,(char *)*puVar3,section_subset);
  if (var_9 == (type_5 *)0x0) {
    var_9 = var_8((type_6 *)data,(char *)puVar3[1],var_10);
    if (var_9 == (type_5 *)0x0) {
      return 0;
    }
    puVar3[2] = puVar3[1];
  }
  else {
    puVar3[2] = *puVar3;
  }
  if (var_10 != (type_3 *)0x0) {
    var_11(var_7);
  }
  bVar4 = var_12(var_7,var_9,data);
  return bVar4;
}


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

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

undefined4 MASKED(int param_1,int param_2)

{
  int iVar1;
  uint uVar2;
  undefined4 *puVar3;
  int iVar4;
  undefined4 uVar5;
  
  if (*(int *)(param_2 + 0x5c) == 0) {
    return 0;
  }
  if ((((*(int *)(param_2 + 100) == 0) && (uVar2 = *(uint *)(param_2 + 0x58), uVar2 != 0)) &&
      (uVar2 < *(uint *)(param_2 + 0x54))) &&
     ((iVar1 = *(int *)(param_2 + 0x5c) + uVar2 * 0x48, iVar1 != 0 &&
      (*(int *)(iVar1 + 0x24) != 0 || *(int *)(iVar1 + 0x20) != 0)))) {
    uVar5 = dcgettext(0,"string table",5);
    iVar4 = FUN_0001bf90(1,0,*(undefined4 *)(iVar1 + 0x20),*(undefined4 *)(iVar1 + 0x24),uVar5);
    uVar5 = 0;
    *(int *)(param_2 + 100) = iVar4;
    if (iVar4 != 0) {
      uVar5 = *(undefined4 *)(iVar1 + 0x20);
    }
    *(undefined4 *)(param_2 + 0x68) = uVar5;
  }
  iVar1 = DAT_000b5e68;
  puVar3 = (undefined4 *)(PTR_PTR_s__debug_abbrev_000b3fcc + param_1 * 0x40);
  iVar4 = FUN_00026540();
  if (iVar4 == 0) {
    iVar4 = FUN_00026540();
    if (iVar4 == 0) {
      return 0;
    }
    puVar3[2] = puVar3[1];
  }
  else {
    puVar3[2] = *puVar3;
  }
  if (iVar1 != 0) {
    FUN_00045060(param_1);
  }
  uVar5 = FUN_000418c0();
  return uVar5;
}

