
/* WARNING: Enum "ELFOSABI": Some values do not have unique names */
/* WARNING: Enum "DT": Some values do not have unique names */
/* DWARF original prototype: Reloc_section * rel_dyn_section(Target_i386 * this, Layout * layout) */

Reloc_section * __thiscall
anon_unknown.dwarf_218a7e::Target_i386::rel_dyn_section(Target_i386 *this,Layout *layout)

{
  undefined1 *puVar1;
  undefined1 uVar2;
  int iVar3;
  int *piVar4;
  Output_section_data *posd;
  Layout *this_00;
  int unaff_EDI;
  undefined8 uVar5;
  uint64_t uVar6;
  
  uVar5 = __x86_get_pc_thunk_di();
  this_00 = (Layout *)((ulonglong)uVar5 >> 0x20);
  piVar4 = (int *)uVar5;
  if ((Reloc_section *)*piVar4 != (Reloc_section *)0x0) {
    return (Reloc_section *)*piVar4;
  }
  if (this_00 != (Layout *)0x0) {
    iVar3 = *(int *)(*(int *)((int)&DWORD_00584a3c + unaff_EDI + 3) + 8);
    if (iVar3 != 0) {
      uVar2 = *(undefined1 *)(iVar3 + 0x4df1);
      posd = (Output_section_data *)operator_new(0x40);
                    /* try { // try from 00065de8 to 00065dec has its CatchHandler @ 00065eba */
      uVar6 = gold::Output_data::default_alignment_for_size(0x20);
      *(int *)&posd->addralign_ = (int)uVar6;
      *(undefined4 *)&(posd->super_Output_data).address_ = 0;
      *(undefined1 *)&posd[1].super_Output_data.address_ = uVar2;
      (posd->super_Output_data)._vptr_Output_data = (_func_int_varargs **)(unaff_EDI + 0x5762a7);
      *(undefined4 *)((int)&(posd->super_Output_data).address_ + 4) = 0;
      *piVar4 = (int)posd;
      *(undefined4 *)&(posd->super_Output_data).data_size_ = 0;
      *(undefined4 *)((int)&(posd->super_Output_data).data_size_ + 4) = 0;
      *(undefined4 *)&(posd->super_Output_data).offset_ = 0xffffffff;
      *(undefined4 *)((int)&(posd->super_Output_data).offset_ + 4) = 0xffffffff;
      puVar1 = &(posd->super_Output_data).field_0x1c;
      *puVar1 = *puVar1 & 0xe0;
      posd->output_section_ = (Output_section *)0x0;
      *(int *)((int)&posd->addralign_ + 4) = (int)(uVar6 >> 0x20);
      posd[1].super_Output_data._vptr_Output_data = (_func_int_varargs **)0x0;
      *(undefined4 *)((int)&posd[1].super_Output_data.address_ + 4) = 0;
      *(undefined4 *)&posd[1].super_Output_data.data_size_ = 0;
      *(undefined4 *)((int)&posd[1].super_Output_data.data_size_ + 4) = 0;
      gold::Layout::add_output_section_data
                (this_00,(char *)(unaff_EDI + 0x3e7702),9,2,posd,ORDER_DYNAMIC_RELOCS,false);
      return (Reloc_section *)*piVar4;
    }
                    /* WARNING: Subroutine does not return */
    gold::do_gold_unreachable((char *)(unaff_EDI + 0x3e24e4),0x5c,(char *)(unaff_EDI + 0x3e97ff));
  }
                    /* WARNING: Subroutine does not return */
  gold::do_gold_unreachable(&UNK_003e7632 + unaff_EDI,0x3f5,&UNK_003e953b + unaff_EDI);
}



int FUN_00065d80(void)

{
  undefined1 uVar1;
  int iVar2;
  int *piVar3;
  int *piVar4;
  int iVar5;
  int unaff_EDI;
  undefined8 uVar6;
  
  uVar6 = FUN_00074f0a();
  iVar5 = (int)((ulonglong)uVar6 >> 0x20);
  piVar3 = (int *)uVar6;
  if (*piVar3 != 0) {
    return *piVar3;
  }
  if (iVar5 != 0) {
    iVar2 = *(int *)(*(int *)((int)&DWORD_00584a3c + unaff_EDI + 3) + 8);
    if (iVar2 != 0) {
      uVar1 = *(undefined1 *)(iVar2 + 0x4df1);
      piVar4 = (int *)FUN_003ac4d0(0x40);
                    /* try { // try from 00065de8 to 00065dec has its CatchHandler @ 00065eba */
      uVar6 = FUN_002c5bb0(0x20);
      piVar4[9] = (int)uVar6;
      piVar4[1] = 0;
      *(undefined1 *)(piVar4 + 0xc) = uVar1;
      *piVar4 = unaff_EDI + 0x5762a7;
      piVar4[2] = 0;
      *piVar3 = (int)piVar4;
      piVar4[3] = 0;
      piVar4[4] = 0;
      piVar4[5] = -1;
      piVar4[6] = -1;
      *(byte *)(piVar4 + 7) = *(byte *)(piVar4 + 7) & 0xe0;
      piVar4[8] = 0;
      piVar4[10] = (int)((ulonglong)uVar6 >> 0x20);
      piVar4[0xb] = 0;
      piVar4[0xd] = 0;
      piVar4[0xe] = 0;
      piVar4[0xf] = 0;
      FUN_0027afd0(iVar5,unaff_EDI + 0x3e7702,9,2,0,piVar4,4,0);
      return *piVar3;
    }
                    /* WARNING: Subroutine does not return */
    FUN_002446e0(unaff_EDI + 0x3e24e4,0x5c,unaff_EDI + 0x3e97ff,0);
  }
                    /* WARNING: Subroutine does not return */
  FUN_002446e0(unaff_EDI + 0x3e7632,0x3f5,unaff_EDI + 0x3e953b);
}


PUSH EBP
MOV EBP,ESP
PUSH EDI
CALL 0x00074f0a
ADD EDI,0x584277
PUSH ESI
PUSH EBX
SUB ESP,0x1c
MOV ECX,dword ptr [EAX]
TEST ECX,ECX
JZ 0x00065da8
LEA ESP,[EBP + -0xc]
MOV EAX,ECX
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV dword ptr [EBP + -0x20],EDX
MOV dword ptr [EBP + -0x1c],EAX
TEST EDX,EDX
JZ 0x00065e87
LEA EAX,[EDI + 0x7c8]
MOV EAX,dword ptr [EAX]
MOV EAX,dword ptr [EAX + 0x8]
TEST EAX,EAX
JZ 0x00065ea2
SUB ESP,0xc
MOVZX EAX,byte ptr [EAX + 0x4df1]
MOV EBX,EDI
PUSH 0x40
MOV byte ptr [EBP + -0x21],AL
CALL 0x003ac4d0
MOV dword ptr [ESP],0x20
MOV ESI,EAX
CALL 0x002c5bb0
MOV dword ptr [ESI + 0x24],EAX
MOVZX EAX,byte ptr [EBP + -0x21]
ADD ESP,0x10
MOV dword ptr [ESI + 0x4],0x0
MOV byte ptr [ESI + 0x30],AL
LEA EAX,[EDI + 0xffff2030]
MOV dword ptr [ESI],EAX
MOV EAX,dword ptr [EBP + -0x1c]
MOV dword ptr [ESI + 0x8],0x0
MOV dword ptr [EAX],ESI
LEA EAX,[EDI + 0xffe6348b]
PUSH 0x0
PUSH 0x4
PUSH ESI
PUSH 0x0
PUSH 0x2
PUSH 0x9
PUSH EAX
PUSH dword ptr [EBP + -0x20]
MOV dword ptr [ESI + 0xc],0x0
MOV dword ptr [ESI + 0x10],0x0
MOV dword ptr [ESI + 0x14],0xffffffff
MOV dword ptr [ESI + 0x18],0xffffffff
AND byte ptr [ESI + 0x1c],0xe0
MOV dword ptr [ESI + 0x20],0x0
MOV dword ptr [ESI + 0x28],EDX
MOV dword ptr [ESI + 0x2c],0x0
MOV dword ptr [ESI + 0x34],0x0
MOV dword ptr [ESI + 0x38],0x0
MOV dword ptr [ESI + 0x3c],0x0
CALL 0x0027afd0
MOV EAX,dword ptr [EBP + -0x1c]
ADD ESP,0x20
MOV ECX,dword ptr [EAX]
LEA ESP,[EBP + -0xc]
POP EBX
POP ESI
MOV EAX,ECX
POP EDI
POP EBP
RET
LEA EAX,[EDI + 0xffe652c4]
PUSH EBX
MOV EBX,EDI
PUSH EAX
LEA EAX,[EDI + 0xffe633bb]
PUSH 0x3f5
PUSH EAX
CALL 0x002446e0
LEA EAX,[EDI + 0xffe65588]
PUSH ECX
MOV EBX,EDI
PUSH EAX
LEA EAX,[EDI + 0xffe5e26d]
PUSH 0x5c
PUSH EAX
CALL 0x002446e0
(translation_unit "int FUN_00065d80(void)\n\n{\n  undefined1 uVar1;\n  int iVar2;\n  int *piVar3;\n  int *piVar4;\n  int iVar5;\n  int unaff_EDI;\n  undefined8 uVar6;\n  \n  uVar6 = FUN_00074f0a();\n  iVar5 = (int)((ulonglong)uVar6 >> 0x20);\n  piVar3 = (int *)uVar6;\n  if (*piVar3 != 0) {\n    return *piVar3;\n  }\n  if (iVar5 != 0) {\n    iVar2 = *(int *)(*(int *)((int)&DWORD_00584a3c + unaff_EDI + 3) + 8);\n    if (iVar2 != 0) {\n      uVar1 = *(undefined1 *)(iVar2 + 0x4df1);\n      piVar4 = (int *)FUN_003ac4d0(0x40);\n                    /* try { // try from 00065de8 to 00065dec has its CatchHandler @ 00065eba */\n      uVar6 = FUN_002c5bb0(0x20);\n      piVar4[9] = (int)uVar6;\n      piVar4[1] = 0;\n      *(undefined1 *)(piVar4 + 0xc) = uVar1;\n      *piVar4 = unaff_EDI + 0x5762a7;\n      piVar4[2] = 0;\n      *piVar3 = (int)piVar4;\n      piVar4[3] = 0;\n      piVar4[4] = 0;\n      piVar4[5] = -1;\n      piVar4[6] = -1;\n      *(byte *)(piVar4 + 7) = *(byte *)(piVar4 + 7) & 0xe0;\n      piVar4[8] = 0;\n      piVar4[10] = (int)((ulonglong)uVar6 >> 0x20);\n      piVar4[0xb] = 0;\n      piVar4[0xd] = 0;\n      piVar4[0xe] = 0;\n      piVar4[0xf] = 0;\n      FUN_0027afd0(iVar5,unaff_EDI + 0x3e7702,9,2,0,piVar4,4,0);\n      return *piVar3;\n    }\n                    /* WARNING: Subroutine does not return */\n    FUN_002446e0(unaff_EDI + 0x3e24e4,0x5c,unaff_EDI + 0x3e97ff,0);\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_002446e0(unaff_EDI + 0x3e7632,0x3f5,unaff_EDI + 0x3e953b);\n}\n\n" (function_definition "int FUN_00065d80(void)\n\n{\n  undefined1 uVar1;\n  int iVar2;\n  int *piVar3;\n  int *piVar4;\n  int iVar5;\n  int unaff_EDI;\n  undefined8 uVar6;\n  \n  uVar6 = FUN_00074f0a();\n  iVar5 = (int)((ulonglong)uVar6 >> 0x20);\n  piVar3 = (int *)uVar6;\n  if (*piVar3 != 0) {\n    return *piVar3;\n  }\n  if (iVar5 != 0) {\n    iVar2 = *(int *)(*(int *)((int)&DWORD_00584a3c + unaff_EDI + 3) + 8);\n    if (iVar2 != 0) {\n      uVar1 = *(undefined1 *)(iVar2 + 0x4df1);\n      piVar4 = (int *)FUN_003ac4d0(0x40);\n                    /* try { // try from 00065de8 to 00065dec has its CatchHandler @ 00065eba */\n      uVar6 = FUN_002c5bb0(0x20);\n      piVar4[9] = (int)uVar6;\n      piVar4[1] = 0;\n      *(undefined1 *)(piVar4 + 0xc) = uVar1;\n      *piVar4 = unaff_EDI + 0x5762a7;\n      piVar4[2] = 0;\n      *piVar3 = (int)piVar4;\n      piVar4[3] = 0;\n      piVar4[4] = 0;\n      piVar4[5] = -1;\n      piVar4[6] = -1;\n      *(byte *)(piVar4 + 7) = *(byte *)(piVar4 + 7) & 0xe0;\n      piVar4[8] = 0;\n      piVar4[10] = (int)((ulonglong)uVar6 >> 0x20);\n      piVar4[0xb] = 0;\n      piVar4[0xd] = 0;\n      piVar4[0xe] = 0;\n      piVar4[0xf] = 0;\n      FUN_0027afd0(iVar5,unaff_EDI + 0x3e7702,9,2,0,piVar4,4,0);\n      return *piVar3;\n    }\n                    /* WARNING: Subroutine does not return */\n    FUN_002446e0(unaff_EDI + 0x3e24e4,0x5c,unaff_EDI + 0x3e97ff,0);\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_002446e0(unaff_EDI + 0x3e7632,0x3f5,unaff_EDI + 0x3e953b);\n}" primitive_type (function_declarator "FUN_00065d80(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  undefined1 uVar1;\n  int iVar2;\n  int *piVar3;\n  int *piVar4;\n  int iVar5;\n  int unaff_EDI;\n  undefined8 uVar6;\n  \n  uVar6 = FUN_00074f0a();\n  iVar5 = (int)((ulonglong)uVar6 >> 0x20);\n  piVar3 = (int *)uVar6;\n  if (*piVar3 != 0) {\n    return *piVar3;\n  }\n  if (iVar5 != 0) {\n    iVar2 = *(int *)(*(int *)((int)&DWORD_00584a3c + unaff_EDI + 3) + 8);\n    if (iVar2 != 0) {\n      uVar1 = *(undefined1 *)(iVar2 + 0x4df1);\n      piVar4 = (int *)FUN_003ac4d0(0x40);\n                    /* try { // try from 00065de8 to 00065dec has its CatchHandler @ 00065eba */\n      uVar6 = FUN_002c5bb0(0x20);\n      piVar4[9] = (int)uVar6;\n      piVar4[1] = 0;\n      *(undefined1 *)(piVar4 + 0xc) = uVar1;\n      *piVar4 = unaff_EDI + 0x5762a7;\n      piVar4[2] = 0;\n      *piVar3 = (int)piVar4;\n      piVar4[3] = 0;\n      piVar4[4] = 0;\n      piVar4[5] = -1;\n      piVar4[6] = -1;\n      *(byte *)(piVar4 + 7) = *(byte *)(piVar4 + 7) & 0xe0;\n      piVar4[8] = 0;\n      piVar4[10] = (int)((ulonglong)uVar6 >> 0x20);\n      piVar4[0xb] = 0;\n      piVar4[0xd] = 0;\n      piVar4[0xe] = 0;\n      piVar4[0xf] = 0;\n      FUN_0027afd0(iVar5,unaff_EDI + 0x3e7702,9,2,0,piVar4,4,0);\n      return *piVar3;\n    }\n                    /* WARNING: Subroutine does not return */\n    FUN_002446e0(unaff_EDI + 0x3e24e4,0x5c,unaff_EDI + 0x3e97ff,0);\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_002446e0(unaff_EDI + 0x3e7632,0x3f5,unaff_EDI + 0x3e953b);\n}" { (declaration "undefined1 uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "int *piVar4;" primitive_type (pointer_declarator "*piVar4" * identifier) ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int unaff_EDI;" primitive_type identifier ;) (declaration "undefined8 uVar6;" type_identifier identifier ;) (expression_statement "uVar6 = FUN_00074f0a();" (assignment_expression "uVar6 = FUN_00074f0a()" identifier = (call_expression "FUN_00074f0a()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar5 = (int)((ulonglong)uVar6 >> 0x20);" (assignment_expression "iVar5 = (int)((ulonglong)uVar6 >> 0x20)" identifier = (cast_expression "(int)((ulonglong)uVar6 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)uVar6 >> 0x20)" ( (binary_expression "(ulonglong)uVar6 >> 0x20" (cast_expression "(ulonglong)uVar6" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "piVar3 = (int *)uVar6;" (assignment_expression "piVar3 = (int *)uVar6" identifier = (cast_expression "(int *)uVar6" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) ;) (if_statement "if (*piVar3 != 0) {\n    return *piVar3;\n  }" if (parenthesized_expression "(*piVar3 != 0)" ( (binary_expression "*piVar3 != 0" (pointer_expression "*piVar3" * identifier) != number_literal) )) (compound_statement "{\n    return *piVar3;\n  }" { (return_statement "return *piVar3;" return (pointer_expression "*piVar3" * identifier) ;) })) (if_statement "if (iVar5 != 0) {\n    iVar2 = *(int *)(*(int *)((int)&DWORD_00584a3c + unaff_EDI + 3) + 8);\n    if (iVar2 != 0) {\n      uVar1 = *(undefined1 *)(iVar2 + 0x4df1);\n      piVar4 = (int *)FUN_003ac4d0(0x40);\n                    /* try { // try from 00065de8 to 00065dec has its CatchHandler @ 00065eba */\n      uVar6 = FUN_002c5bb0(0x20);\n      piVar4[9] = (int)uVar6;\n      piVar4[1] = 0;\n      *(undefined1 *)(piVar4 + 0xc) = uVar1;\n      *piVar4 = unaff_EDI + 0x5762a7;\n      piVar4[2] = 0;\n      *piVar3 = (int)piVar4;\n      piVar4[3] = 0;\n      piVar4[4] = 0;\n      piVar4[5] = -1;\n      piVar4[6] = -1;\n      *(byte *)(piVar4 + 7) = *(byte *)(piVar4 + 7) & 0xe0;\n      piVar4[8] = 0;\n      piVar4[10] = (int)((ulonglong)uVar6 >> 0x20);\n      piVar4[0xb] = 0;\n      piVar4[0xd] = 0;\n      piVar4[0xe] = 0;\n      piVar4[0xf] = 0;\n      FUN_0027afd0(iVar5,unaff_EDI + 0x3e7702,9,2,0,piVar4,4,0);\n      return *piVar3;\n    }\n                    /* WARNING: Subroutine does not return */\n    FUN_002446e0(unaff_EDI + 0x3e24e4,0x5c,unaff_EDI + 0x3e97ff,0);\n  }" if (parenthesized_expression "(iVar5 != 0)" ( (binary_expression "iVar5 != 0" identifier != number_literal) )) (compound_statement "{\n    iVar2 = *(int *)(*(int *)((int)&DWORD_00584a3c + unaff_EDI + 3) + 8);\n    if (iVar2 != 0) {\n      uVar1 = *(undefined1 *)(iVar2 + 0x4df1);\n      piVar4 = (int *)FUN_003ac4d0(0x40);\n                    /* try { // try from 00065de8 to 00065dec has its CatchHandler @ 00065eba */\n      uVar6 = FUN_002c5bb0(0x20);\n      piVar4[9] = (int)uVar6;\n      piVar4[1] = 0;\n      *(undefined1 *)(piVar4 + 0xc) = uVar1;\n      *piVar4 = unaff_EDI + 0x5762a7;\n      piVar4[2] = 0;\n      *piVar3 = (int)piVar4;\n      piVar4[3] = 0;\n      piVar4[4] = 0;\n      piVar4[5] = -1;\n      piVar4[6] = -1;\n      *(byte *)(piVar4 + 7) = *(byte *)(piVar4 + 7) & 0xe0;\n      piVar4[8] = 0;\n      piVar4[10] = (int)((ulonglong)uVar6 >> 0x20);\n      piVar4[0xb] = 0;\n      piVar4[0xd] = 0;\n      piVar4[0xe] = 0;\n      piVar4[0xf] = 0;\n      FUN_0027afd0(iVar5,unaff_EDI + 0x3e7702,9,2,0,piVar4,4,0);\n      return *piVar3;\n    }\n                    /* WARNING: Subroutine does not return */\n    FUN_002446e0(unaff_EDI + 0x3e24e4,0x5c,unaff_EDI + 0x3e97ff,0);\n  }" { (expression_statement "iVar2 = *(int *)(*(int *)((int)&DWORD_00584a3c + unaff_EDI + 3) + 8);" (assignment_expression "iVar2 = *(int *)(*(int *)((int)&DWORD_00584a3c + unaff_EDI + 3) + 8)" identifier = (pointer_expression "*(int *)(*(int *)((int)&DWORD_00584a3c + unaff_EDI + 3) + 8)" * (cast_expression "(int *)(*(int *)((int)&DWORD_00584a3c + unaff_EDI + 3) + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)((int)&DWORD_00584a3c + unaff_EDI + 3) + 8)" ( (binary_expression "*(int *)((int)&DWORD_00584a3c + unaff_EDI + 3) + 8" (pointer_expression "*(int *)((int)&DWORD_00584a3c + unaff_EDI + 3)" * (cast_expression "(int *)((int)&DWORD_00584a3c + unaff_EDI + 3)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&DWORD_00584a3c + unaff_EDI + 3)" ( (binary_expression "(int)&DWORD_00584a3c + unaff_EDI + 3" (binary_expression "(int)&DWORD_00584a3c + unaff_EDI" (cast_expression "(int)&DWORD_00584a3c" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&DWORD_00584a3c" & identifier)) + identifier) + number_literal) )))) + number_literal) ))))) ;) (if_statement "if (iVar2 != 0) {\n      uVar1 = *(undefined1 *)(iVar2 + 0x4df1);\n      piVar4 = (int *)FUN_003ac4d0(0x40);\n                    /* try { // try from 00065de8 to 00065dec has its CatchHandler @ 00065eba */\n      uVar6 = FUN_002c5bb0(0x20);\n      piVar4[9] = (int)uVar6;\n      piVar4[1] = 0;\n      *(undefined1 *)(piVar4 + 0xc) = uVar1;\n      *piVar4 = unaff_EDI + 0x5762a7;\n      piVar4[2] = 0;\n      *piVar3 = (int)piVar4;\n      piVar4[3] = 0;\n      piVar4[4] = 0;\n      piVar4[5] = -1;\n      piVar4[6] = -1;\n      *(byte *)(piVar4 + 7) = *(byte *)(piVar4 + 7) & 0xe0;\n      piVar4[8] = 0;\n      piVar4[10] = (int)((ulonglong)uVar6 >> 0x20);\n      piVar4[0xb] = 0;\n      piVar4[0xd] = 0;\n      piVar4[0xe] = 0;\n      piVar4[0xf] = 0;\n      FUN_0027afd0(iVar5,unaff_EDI + 0x3e7702,9,2,0,piVar4,4,0);\n      return *piVar3;\n    }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n      uVar1 = *(undefined1 *)(iVar2 + 0x4df1);\n      piVar4 = (int *)FUN_003ac4d0(0x40);\n                    /* try { // try from 00065de8 to 00065dec has its CatchHandler @ 00065eba */\n      uVar6 = FUN_002c5bb0(0x20);\n      piVar4[9] = (int)uVar6;\n      piVar4[1] = 0;\n      *(undefined1 *)(piVar4 + 0xc) = uVar1;\n      *piVar4 = unaff_EDI + 0x5762a7;\n      piVar4[2] = 0;\n      *piVar3 = (int)piVar4;\n      piVar4[3] = 0;\n      piVar4[4] = 0;\n      piVar4[5] = -1;\n      piVar4[6] = -1;\n      *(byte *)(piVar4 + 7) = *(byte *)(piVar4 + 7) & 0xe0;\n      piVar4[8] = 0;\n      piVar4[10] = (int)((ulonglong)uVar6 >> 0x20);\n      piVar4[0xb] = 0;\n      piVar4[0xd] = 0;\n      piVar4[0xe] = 0;\n      piVar4[0xf] = 0;\n      FUN_0027afd0(iVar5,unaff_EDI + 0x3e7702,9,2,0,piVar4,4,0);\n      return *piVar3;\n    }" { (expression_statement "uVar1 = *(undefined1 *)(iVar2 + 0x4df1);" (assignment_expression "uVar1 = *(undefined1 *)(iVar2 + 0x4df1)" identifier = (pointer_expression "*(undefined1 *)(iVar2 + 0x4df1)" * (cast_expression "(undefined1 *)(iVar2 + 0x4df1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x4df1)" ( (binary_expression "iVar2 + 0x4df1" identifier + number_literal) ))))) ;) (expression_statement "piVar4 = (int *)FUN_003ac4d0(0x40);" (assignment_expression "piVar4 = (int *)FUN_003ac4d0(0x40)" identifier = (cast_expression "(int *)FUN_003ac4d0(0x40)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_003ac4d0(0x40)" identifier (argument_list "(0x40)" ( number_literal ))))) ;) comment (expression_statement "uVar6 = FUN_002c5bb0(0x20);" (assignment_expression "uVar6 = FUN_002c5bb0(0x20)" identifier = (call_expression "FUN_002c5bb0(0x20)" identifier (argument_list "(0x20)" ( number_literal )))) ;) (expression_statement "piVar4[9] = (int)uVar6;" (assignment_expression "piVar4[9] = (int)uVar6" (subscript_expression "piVar4[9]" identifier [ number_literal ]) = (cast_expression "(int)uVar6" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "piVar4[1] = 0;" (assignment_expression "piVar4[1] = 0" (subscript_expression "piVar4[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined1 *)(piVar4 + 0xc) = uVar1;" (assignment_expression "*(undefined1 *)(piVar4 + 0xc) = uVar1" (pointer_expression "*(undefined1 *)(piVar4 + 0xc)" * (cast_expression "(undefined1 *)(piVar4 + 0xc)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar4 + 0xc)" ( (binary_expression "piVar4 + 0xc" identifier + number_literal) )))) = identifier) ;) (expression_statement "*piVar4 = unaff_EDI + 0x5762a7;" (assignment_expression "*piVar4 = unaff_EDI + 0x5762a7" (pointer_expression "*piVar4" * identifier) = (binary_expression "unaff_EDI + 0x5762a7" identifier + number_literal)) ;) (expression_statement "piVar4[2] = 0;" (assignment_expression "piVar4[2] = 0" (subscript_expression "piVar4[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*piVar3 = (int)piVar4;" (assignment_expression "*piVar3 = (int)piVar4" (pointer_expression "*piVar3" * identifier) = (cast_expression "(int)piVar4" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "piVar4[3] = 0;" (assignment_expression "piVar4[3] = 0" (subscript_expression "piVar4[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar4[4] = 0;" (assignment_expression "piVar4[4] = 0" (subscript_expression "piVar4[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar4[5] = -1;" (assignment_expression "piVar4[5] = -1" (subscript_expression "piVar4[5]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar4[6] = -1;" (assignment_expression "piVar4[6] = -1" (subscript_expression "piVar4[6]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(byte *)(piVar4 + 7) = *(byte *)(piVar4 + 7) & 0xe0;" (assignment_expression "*(byte *)(piVar4 + 7) = *(byte *)(piVar4 + 7) & 0xe0" (pointer_expression "*(byte *)(piVar4 + 7)" * (cast_expression "(byte *)(piVar4 + 7)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar4 + 7)" ( (binary_expression "piVar4 + 7" identifier + number_literal) )))) = (binary_expression "*(byte *)(piVar4 + 7) & 0xe0" (pointer_expression "*(byte *)(piVar4 + 7)" * (cast_expression "(byte *)(piVar4 + 7)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar4 + 7)" ( (binary_expression "piVar4 + 7" identifier + number_literal) )))) & number_literal)) ;) (expression_statement "piVar4[8] = 0;" (assignment_expression "piVar4[8] = 0" (subscript_expression "piVar4[8]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar4[10] = (int)((ulonglong)uVar6 >> 0x20);" (assignment_expression "piVar4[10] = (int)((ulonglong)uVar6 >> 0x20)" (subscript_expression "piVar4[10]" identifier [ number_literal ]) = (cast_expression "(int)((ulonglong)uVar6 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)uVar6 >> 0x20)" ( (binary_expression "(ulonglong)uVar6 >> 0x20" (cast_expression "(ulonglong)uVar6" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "piVar4[0xb] = 0;" (assignment_expression "piVar4[0xb] = 0" (subscript_expression "piVar4[0xb]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar4[0xd] = 0;" (assignment_expression "piVar4[0xd] = 0" (subscript_expression "piVar4[0xd]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar4[0xe] = 0;" (assignment_expression "piVar4[0xe] = 0" (subscript_expression "piVar4[0xe]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar4[0xf] = 0;" (assignment_expression "piVar4[0xf] = 0" (subscript_expression "piVar4[0xf]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "FUN_0027afd0(iVar5,unaff_EDI + 0x3e7702,9,2,0,piVar4,4,0);" (call_expression "FUN_0027afd0(iVar5,unaff_EDI + 0x3e7702,9,2,0,piVar4,4,0)" identifier (argument_list "(iVar5,unaff_EDI + 0x3e7702,9,2,0,piVar4,4,0)" ( identifier , (binary_expression "unaff_EDI + 0x3e7702" identifier + number_literal) , number_literal , number_literal , number_literal , identifier , number_literal , number_literal ))) ;) (return_statement "return *piVar3;" return (pointer_expression "*piVar3" * identifier) ;) })) comment (expression_statement "FUN_002446e0(unaff_EDI + 0x3e24e4,0x5c,unaff_EDI + 0x3e97ff,0);" (call_expression "FUN_002446e0(unaff_EDI + 0x3e24e4,0x5c,unaff_EDI + 0x3e97ff,0)" identifier (argument_list "(unaff_EDI + 0x3e24e4,0x5c,unaff_EDI + 0x3e97ff,0)" ( (binary_expression "unaff_EDI + 0x3e24e4" identifier + number_literal) , number_literal , (binary_expression "unaff_EDI + 0x3e97ff" identifier + number_literal) , number_literal ))) ;) })) comment (expression_statement "FUN_002446e0(unaff_EDI + 0x3e7632,0x3f5,unaff_EDI + 0x3e953b);" (call_expression "FUN_002446e0(unaff_EDI + 0x3e7632,0x3f5,unaff_EDI + 0x3e953b)" identifier (argument_list "(unaff_EDI + 0x3e7632,0x3f5,unaff_EDI + 0x3e953b)" ( (binary_expression "unaff_EDI + 0x3e7632" identifier + number_literal) , number_literal , (binary_expression "unaff_EDI + 0x3e953b" identifier + number_literal) ))) ;) })))
(translation_unit "/* WARNING: Enum "ELFOSABI": Some values do not have unique names */\n/* WARNING: Enum "DT": Some values do not have unique names */\n/* DWARF original prototype: Reloc_section * rel_dyn_section(Target_i386 * this, Layout * layout) */\n\nReloc_section * __thiscall\nanon_unknown.dwarf_218a7e::Target_i386::rel_dyn_section(Target_i386 *this,Layout *layout)\n\n{\n  undefined1 *puVar1;\n  undefined1 uVar2;\n  int iVar3;\n  int *piVar4;\n  Output_section_data *posd;\n  Layout *this_00;\n  int unaff_EDI;\n  undefined8 uVar5;\n  uint64_t uVar6;\n  \n  uVar5 = __x86_get_pc_thunk_di();\n  this_00 = (Layout *)((ulonglong)uVar5 >> 0x20);\n  piVar4 = (int *)uVar5;\n  if ((Reloc_section *)*piVar4 != (Reloc_section *)0x0) {\n    return (Reloc_section *)*piVar4;\n  }\n  if (this_00 != (Layout *)0x0) {\n    iVar3 = *(int *)(*(int *)((int)&DWORD_00584a3c + unaff_EDI + 3) + 8);\n    if (iVar3 != 0) {\n      uVar2 = *(undefined1 *)(iVar3 + 0x4df1);\n      posd = (Output_section_data *)operator_new(0x40);\n                    /* try { // try from 00065de8 to 00065dec has its CatchHandler @ 00065eba */\n      uVar6 = gold::Output_data::default_alignment_for_size(0x20);\n      *(int *)&posd->addralign_ = (int)uVar6;\n      *(undefined4 *)&(posd->super_Output_data).address_ = 0;\n      *(undefined1 *)&posd[1].super_Output_data.address_ = uVar2;\n      (posd->super_Output_data)._vptr_Output_data = (_func_int_varargs **)(unaff_EDI + 0x5762a7);\n      *(undefined4 *)((int)&(posd->super_Output_data).address_ + 4) = 0;\n      *piVar4 = (int)posd;\n      *(undefined4 *)&(posd->super_Output_data).data_size_ = 0;\n      *(undefined4 *)((int)&(posd->super_Output_data).data_size_ + 4) = 0;\n      *(undefined4 *)&(posd->super_Output_data).offset_ = 0xffffffff;\n      *(undefined4 *)((int)&(posd->super_Output_data).offset_ + 4) = 0xffffffff;\n      puVar1 = &(posd->super_Output_data).field_0x1c;\n      *puVar1 = *puVar1 & 0xe0;\n      posd->output_section_ = (Output_section *)0x0;\n      *(int *)((int)&posd->addralign_ + 4) = (int)(uVar6 >> 0x20);\n      posd[1].super_Output_data._vptr_Output_data = (_func_int_varargs **)0x0;\n      *(undefined4 *)((int)&posd[1].super_Output_data.address_ + 4) = 0;\n      *(undefined4 *)&posd[1].super_Output_data.data_size_ = 0;\n      *(undefined4 *)((int)&posd[1].super_Output_data.data_size_ + 4) = 0;\n      gold::Layout::add_output_section_data\n                (this_00,(char *)(unaff_EDI + 0x3e7702),9,2,posd,ORDER_DYNAMIC_RELOCS,false);\n      return (Reloc_section *)*piVar4;\n    }\n                    /* WARNING: Subroutine does not return */\n    gold::do_gold_unreachable((char *)(unaff_EDI + 0x3e24e4),0x5c,(char *)(unaff_EDI + 0x3e97ff));\n  }\n                    /* WARNING: Subroutine does not return */\n  gold::do_gold_unreachable(&UNK_003e7632 + unaff_EDI,0x3f5,&UNK_003e953b + unaff_EDI);\n}\n\n" comment comment comment (ERROR "Reloc_section * __thiscall\nanon_unknown.dwarf_218a7e::" (binary_expression "Reloc_section * __thiscall\nanon_unknown.dwarf_218a7e" identifier * (ERROR "__thiscall" identifier) (field_expression "anon_unknown.dwarf_218a7e" identifier . field_identifier)) : :) (labeled_statement "Target_i386::rel_dyn_section(Target_i386 *this,Layout *layout)\n\n{\n  undefined1 *puVar1;\n  undefined1 uVar2;\n  int iVar3;\n  int *piVar4;\n  Output_section_data *posd;\n  Layout *this_00;\n  int unaff_EDI;\n  undefined8 uVar5;\n  uint64_t uVar6;\n  \n  uVar5 = __x86_get_pc_thunk_di();\n  this_00 = (Layout *)((ulonglong)uVar5 >> 0x20);\n  piVar4 = (int *)uVar5;\n  if ((Reloc_section *)*piVar4 != (Reloc_section *)0x0) {\n    return (Reloc_section *)*piVar4;\n  }\n  if (this_00 != (Layout *)0x0) {\n    iVar3 = *(int *)(*(int *)((int)&DWORD_00584a3c + unaff_EDI + 3) + 8);\n    if (iVar3 != 0) {\n      uVar2 = *(undefined1 *)(iVar3 + 0x4df1);\n      posd = (Output_section_data *)operator_new(0x40);\n                    /* try { // try from 00065de8 to 00065dec has its CatchHandler @ 00065eba */\n      uVar6 = gold::Output_data::default_alignment_for_size(0x20);\n      *(int *)&posd->addralign_ = (int)uVar6;\n      *(undefined4 *)&(posd->super_Output_data).address_ = 0;\n      *(undefined1 *)&posd[1].super_Output_data.address_ = uVar2;\n      (posd->super_Output_data)._vptr_Output_data = (_func_int_varargs **)(unaff_EDI + 0x5762a7);\n      *(undefined4 *)((int)&(posd->super_Output_data).address_ + 4) = 0;\n      *piVar4 = (int)posd;\n      *(undefined4 *)&(posd->super_Output_data).data_size_ = 0;\n      *(undefined4 *)((int)&(posd->super_Output_data).data_size_ + 4) = 0;\n      *(undefined4 *)&(posd->super_Output_data).offset_ = 0xffffffff;\n      *(undefined4 *)((int)&(posd->super_Output_data).offset_ + 4) = 0xffffffff;\n      puVar1 = &(posd->super_Output_data).field_0x1c;\n      *puVar1 = *puVar1 & 0xe0;\n      posd->output_section_ = (Output_section *)0x0;\n      *(int *)((int)&posd->addralign_ + 4) = (int)(uVar6 >> 0x20);\n      posd[1].super_Output_data._vptr_Output_data = (_func_int_varargs **)0x0;\n      *(undefined4 *)((int)&posd[1].super_Output_data.address_ + 4) = 0;\n      *(undefined4 *)&posd[1].super_Output_data.data_size_ = 0;\n      *(undefined4 *)((int)&posd[1].super_Output_data.data_size_ + 4) = 0;\n      gold::Layout::add_output_section_data\n                (this_00,(char *)(unaff_EDI + 0x3e7702),9,2,posd,ORDER_DYNAMIC_RELOCS,false);\n      return (Reloc_section *)*piVar4;\n    }\n                    /* WARNING: Subroutine does not return */\n    gold::do_gold_unreachable((char *)(unaff_EDI + 0x3e24e4),0x5c,(char *)(unaff_EDI + 0x3e97ff));\n  }\n                    /* WARNING: Subroutine does not return */\n  gold::do_gold_unreachable(&UNK_003e7632 + unaff_EDI,0x3f5,&UNK_003e953b + unaff_EDI);\n}" statement_identifier : (ERROR ":rel_dyn_section(Target_i386 *this,Layout *layout)" : (call_expression "rel_dyn_section(Target_i386 *this,Layout *layout)" identifier (argument_list "(Target_i386 *this,Layout *layout)" ( (binary_expression "Target_i386 *this" identifier * identifier) , (binary_expression "Layout *layout" identifier * identifier) )))) (compound_statement "{\n  undefined1 *puVar1;\n  undefined1 uVar2;\n  int iVar3;\n  int *piVar4;\n  Output_section_data *posd;\n  Layout *this_00;\n  int unaff_EDI;\n  undefined8 uVar5;\n  uint64_t uVar6;\n  \n  uVar5 = __x86_get_pc_thunk_di();\n  this_00 = (Layout *)((ulonglong)uVar5 >> 0x20);\n  piVar4 = (int *)uVar5;\n  if ((Reloc_section *)*piVar4 != (Reloc_section *)0x0) {\n    return (Reloc_section *)*piVar4;\n  }\n  if (this_00 != (Layout *)0x0) {\n    iVar3 = *(int *)(*(int *)((int)&DWORD_00584a3c + unaff_EDI + 3) + 8);\n    if (iVar3 != 0) {\n      uVar2 = *(undefined1 *)(iVar3 + 0x4df1);\n      posd = (Output_section_data *)operator_new(0x40);\n                    /* try { // try from 00065de8 to 00065dec has its CatchHandler @ 00065eba */\n      uVar6 = gold::Output_data::default_alignment_for_size(0x20);\n      *(int *)&posd->addralign_ = (int)uVar6;\n      *(undefined4 *)&(posd->super_Output_data).address_ = 0;\n      *(undefined1 *)&posd[1].super_Output_data.address_ = uVar2;\n      (posd->super_Output_data)._vptr_Output_data = (_func_int_varargs **)(unaff_EDI + 0x5762a7);\n      *(undefined4 *)((int)&(posd->super_Output_data).address_ + 4) = 0;\n      *piVar4 = (int)posd;\n      *(undefined4 *)&(posd->super_Output_data).data_size_ = 0;\n      *(undefined4 *)((int)&(posd->super_Output_data).data_size_ + 4) = 0;\n      *(undefined4 *)&(posd->super_Output_data).offset_ = 0xffffffff;\n      *(undefined4 *)((int)&(posd->super_Output_data).offset_ + 4) = 0xffffffff;\n      puVar1 = &(posd->super_Output_data).field_0x1c;\n      *puVar1 = *puVar1 & 0xe0;\n      posd->output_section_ = (Output_section *)0x0;\n      *(int *)((int)&posd->addralign_ + 4) = (int)(uVar6 >> 0x20);\n      posd[1].super_Output_data._vptr_Output_data = (_func_int_varargs **)0x0;\n      *(undefined4 *)((int)&posd[1].super_Output_data.address_ + 4) = 0;\n      *(undefined4 *)&posd[1].super_Output_data.data_size_ = 0;\n      *(undefined4 *)((int)&posd[1].super_Output_data.data_size_ + 4) = 0;\n      gold::Layout::add_output_section_data\n                (this_00,(char *)(unaff_EDI + 0x3e7702),9,2,posd,ORDER_DYNAMIC_RELOCS,false);\n      return (Reloc_section *)*piVar4;\n    }\n                    /* WARNING: Subroutine does not return */\n    gold::do_gold_unreachable((char *)(unaff_EDI + 0x3e24e4),0x5c,(char *)(unaff_EDI + 0x3e97ff));\n  }\n                    /* WARNING: Subroutine does not return */\n  gold::do_gold_unreachable(&UNK_003e7632 + unaff_EDI,0x3f5,&UNK_003e953b + unaff_EDI);\n}" { (declaration "undefined1 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined1 uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int *piVar4;" primitive_type (pointer_declarator "*piVar4" * identifier) ;) (declaration "Output_section_data *posd;" type_identifier (pointer_declarator "*posd" * identifier) ;) (declaration "Layout *this_00;" type_identifier (pointer_declarator "*this_00" * identifier) ;) (declaration "int unaff_EDI;" primitive_type identifier ;) (declaration "undefined8 uVar5;" type_identifier identifier ;) (declaration "uint64_t uVar6;" primitive_type identifier ;) (expression_statement "uVar5 = __x86_get_pc_thunk_di();" (assignment_expression "uVar5 = __x86_get_pc_thunk_di()" identifier = (call_expression "__x86_get_pc_thunk_di()" identifier (argument_list "()" ( )))) ;) (expression_statement "this_00 = (Layout *)((ulonglong)uVar5 >> 0x20);" (assignment_expression "this_00 = (Layout *)((ulonglong)uVar5 >> 0x20)" identifier = (cast_expression "(Layout *)((ulonglong)uVar5 >> 0x20)" ( (type_descriptor "Layout *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((ulonglong)uVar5 >> 0x20)" ( (binary_expression "(ulonglong)uVar5 >> 0x20" (cast_expression "(ulonglong)uVar5" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "piVar4 = (int *)uVar5;" (assignment_expression "piVar4 = (int *)uVar5" identifier = (cast_expression "(int *)uVar5" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) ;) (if_statement "if ((Reloc_section *)*piVar4 != (Reloc_section *)0x0) {\n    return (Reloc_section *)*piVar4;\n  }" if (parenthesized_expression "((Reloc_section *)*piVar4 != (Reloc_section *)0x0)" ( (binary_expression "(Reloc_section *)*piVar4 != (Reloc_section *)0x0" (cast_expression "(Reloc_section *)*piVar4" ( (type_descriptor "Reloc_section *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar4" * identifier)) != (cast_expression "(Reloc_section *)0x0" ( (type_descriptor "Reloc_section *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return (Reloc_section *)*piVar4;\n  }" { (return_statement "return (Reloc_section *)*piVar4;" return (cast_expression "(Reloc_section *)*piVar4" ( (type_descriptor "Reloc_section *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar4" * identifier)) ;) })) (if_statement "if (this_00 != (Layout *)0x0) {\n    iVar3 = *(int *)(*(int *)((int)&DWORD_00584a3c + unaff_EDI + 3) + 8);\n    if (iVar3 != 0) {\n      uVar2 = *(undefined1 *)(iVar3 + 0x4df1);\n      posd = (Output_section_data *)operator_new(0x40);\n                    /* try { // try from 00065de8 to 00065dec has its CatchHandler @ 00065eba */\n      uVar6 = gold::Output_data::default_alignment_for_size(0x20);\n      *(int *)&posd->addralign_ = (int)uVar6;\n      *(undefined4 *)&(posd->super_Output_data).address_ = 0;\n      *(undefined1 *)&posd[1].super_Output_data.address_ = uVar2;\n      (posd->super_Output_data)._vptr_Output_data = (_func_int_varargs **)(unaff_EDI + 0x5762a7);\n      *(undefined4 *)((int)&(posd->super_Output_data).address_ + 4) = 0;\n      *piVar4 = (int)posd;\n      *(undefined4 *)&(posd->super_Output_data).data_size_ = 0;\n      *(undefined4 *)((int)&(posd->super_Output_data).data_size_ + 4) = 0;\n      *(undefined4 *)&(posd->super_Output_data).offset_ = 0xffffffff;\n      *(undefined4 *)((int)&(posd->super_Output_data).offset_ + 4) = 0xffffffff;\n      puVar1 = &(posd->super_Output_data).field_0x1c;\n      *puVar1 = *puVar1 & 0xe0;\n      posd->output_section_ = (Output_section *)0x0;\n      *(int *)((int)&posd->addralign_ + 4) = (int)(uVar6 >> 0x20);\n      posd[1].super_Output_data._vptr_Output_data = (_func_int_varargs **)0x0;\n      *(undefined4 *)((int)&posd[1].super_Output_data.address_ + 4) = 0;\n      *(undefined4 *)&posd[1].super_Output_data.data_size_ = 0;\n      *(undefined4 *)((int)&posd[1].super_Output_data.data_size_ + 4) = 0;\n      gold::Layout::add_output_section_data\n                (this_00,(char *)(unaff_EDI + 0x3e7702),9,2,posd,ORDER_DYNAMIC_RELOCS,false);\n      return (Reloc_section *)*piVar4;\n    }\n                    /* WARNING: Subroutine does not return */\n    gold::do_gold_unreachable((char *)(unaff_EDI + 0x3e24e4),0x5c,(char *)(unaff_EDI + 0x3e97ff));\n  }" if (parenthesized_expression "(this_00 != (Layout *)0x0)" ( (binary_expression "this_00 != (Layout *)0x0" identifier != (cast_expression "(Layout *)0x0" ( (type_descriptor "Layout *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    iVar3 = *(int *)(*(int *)((int)&DWORD_00584a3c + unaff_EDI + 3) + 8);\n    if (iVar3 != 0) {\n      uVar2 = *(undefined1 *)(iVar3 + 0x4df1);\n      posd = (Output_section_data *)operator_new(0x40);\n                    /* try { // try from 00065de8 to 00065dec has its CatchHandler @ 00065eba */\n      uVar6 = gold::Output_data::default_alignment_for_size(0x20);\n      *(int *)&posd->addralign_ = (int)uVar6;\n      *(undefined4 *)&(posd->super_Output_data).address_ = 0;\n      *(undefined1 *)&posd[1].super_Output_data.address_ = uVar2;\n      (posd->super_Output_data)._vptr_Output_data = (_func_int_varargs **)(unaff_EDI + 0x5762a7);\n      *(undefined4 *)((int)&(posd->super_Output_data).address_ + 4) = 0;\n      *piVar4 = (int)posd;\n      *(undefined4 *)&(posd->super_Output_data).data_size_ = 0;\n      *(undefined4 *)((int)&(posd->super_Output_data).data_size_ + 4) = 0;\n      *(undefined4 *)&(posd->super_Output_data).offset_ = 0xffffffff;\n      *(undefined4 *)((int)&(posd->super_Output_data).offset_ + 4) = 0xffffffff;\n      puVar1 = &(posd->super_Output_data).field_0x1c;\n      *puVar1 = *puVar1 & 0xe0;\n      posd->output_section_ = (Output_section *)0x0;\n      *(int *)((int)&posd->addralign_ + 4) = (int)(uVar6 >> 0x20);\n      posd[1].super_Output_data._vptr_Output_data = (_func_int_varargs **)0x0;\n      *(undefined4 *)((int)&posd[1].super_Output_data.address_ + 4) = 0;\n      *(undefined4 *)&posd[1].super_Output_data.data_size_ = 0;\n      *(undefined4 *)((int)&posd[1].super_Output_data.data_size_ + 4) = 0;\n      gold::Layout::add_output_section_data\n                (this_00,(char *)(unaff_EDI + 0x3e7702),9,2,posd,ORDER_DYNAMIC_RELOCS,false);\n      return (Reloc_section *)*piVar4;\n    }\n                    /* WARNING: Subroutine does not return */\n    gold::do_gold_unreachable((char *)(unaff_EDI + 0x3e24e4),0x5c,(char *)(unaff_EDI + 0x3e97ff));\n  }" { (expression_statement "iVar3 = *(int *)(*(int *)((int)&DWORD_00584a3c + unaff_EDI + 3) + 8);" (assignment_expression "iVar3 = *(int *)(*(int *)((int)&DWORD_00584a3c + unaff_EDI + 3) + 8)" identifier = (pointer_expression "*(int *)(*(int *)((int)&DWORD_00584a3c + unaff_EDI + 3) + 8)" * (cast_expression "(int *)(*(int *)((int)&DWORD_00584a3c + unaff_EDI + 3) + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)((int)&DWORD_00584a3c + unaff_EDI + 3) + 8)" ( (binary_expression "*(int *)((int)&DWORD_00584a3c + unaff_EDI + 3) + 8" (pointer_expression "*(int *)((int)&DWORD_00584a3c + unaff_EDI + 3)" * (cast_expression "(int *)((int)&DWORD_00584a3c + unaff_EDI + 3)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&DWORD_00584a3c + unaff_EDI + 3)" ( (binary_expression "(int)&DWORD_00584a3c + unaff_EDI + 3" (binary_expression "(int)&DWORD_00584a3c + unaff_EDI" (cast_expression "(int)&DWORD_00584a3c" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&DWORD_00584a3c" & identifier)) + identifier) + number_literal) )))) + number_literal) ))))) ;) (if_statement "if (iVar3 != 0) {\n      uVar2 = *(undefined1 *)(iVar3 + 0x4df1);\n      posd = (Output_section_data *)operator_new(0x40);\n                    /* try { // try from 00065de8 to 00065dec has its CatchHandler @ 00065eba */\n      uVar6 = gold::Output_data::default_alignment_for_size(0x20);\n      *(int *)&posd->addralign_ = (int)uVar6;\n      *(undefined4 *)&(posd->super_Output_data).address_ = 0;\n      *(undefined1 *)&posd[1].super_Output_data.address_ = uVar2;\n      (posd->super_Output_data)._vptr_Output_data = (_func_int_varargs **)(unaff_EDI + 0x5762a7);\n      *(undefined4 *)((int)&(posd->super_Output_data).address_ + 4) = 0;\n      *piVar4 = (int)posd;\n      *(undefined4 *)&(posd->super_Output_data).data_size_ = 0;\n      *(undefined4 *)((int)&(posd->super_Output_data).data_size_ + 4) = 0;\n      *(undefined4 *)&(posd->super_Output_data).offset_ = 0xffffffff;\n      *(undefined4 *)((int)&(posd->super_Output_data).offset_ + 4) = 0xffffffff;\n      puVar1 = &(posd->super_Output_data).field_0x1c;\n      *puVar1 = *puVar1 & 0xe0;\n      posd->output_section_ = (Output_section *)0x0;\n      *(int *)((int)&posd->addralign_ + 4) = (int)(uVar6 >> 0x20);\n      posd[1].super_Output_data._vptr_Output_data = (_func_int_varargs **)0x0;\n      *(undefined4 *)((int)&posd[1].super_Output_data.address_ + 4) = 0;\n      *(undefined4 *)&posd[1].super_Output_data.data_size_ = 0;\n      *(undefined4 *)((int)&posd[1].super_Output_data.data_size_ + 4) = 0;\n      gold::Layout::add_output_section_data\n                (this_00,(char *)(unaff_EDI + 0x3e7702),9,2,posd,ORDER_DYNAMIC_RELOCS,false);\n      return (Reloc_section *)*piVar4;\n    }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n      uVar2 = *(undefined1 *)(iVar3 + 0x4df1);\n      posd = (Output_section_data *)operator_new(0x40);\n                    /* try { // try from 00065de8 to 00065dec has its CatchHandler @ 00065eba */\n      uVar6 = gold::Output_data::default_alignment_for_size(0x20);\n      *(int *)&posd->addralign_ = (int)uVar6;\n      *(undefined4 *)&(posd->super_Output_data).address_ = 0;\n      *(undefined1 *)&posd[1].super_Output_data.address_ = uVar2;\n      (posd->super_Output_data)._vptr_Output_data = (_func_int_varargs **)(unaff_EDI + 0x5762a7);\n      *(undefined4 *)((int)&(posd->super_Output_data).address_ + 4) = 0;\n      *piVar4 = (int)posd;\n      *(undefined4 *)&(posd->super_Output_data).data_size_ = 0;\n      *(undefined4 *)((int)&(posd->super_Output_data).data_size_ + 4) = 0;\n      *(undefined4 *)&(posd->super_Output_data).offset_ = 0xffffffff;\n      *(undefined4 *)((int)&(posd->super_Output_data).offset_ + 4) = 0xffffffff;\n      puVar1 = &(posd->super_Output_data).field_0x1c;\n      *puVar1 = *puVar1 & 0xe0;\n      posd->output_section_ = (Output_section *)0x0;\n      *(int *)((int)&posd->addralign_ + 4) = (int)(uVar6 >> 0x20);\n      posd[1].super_Output_data._vptr_Output_data = (_func_int_varargs **)0x0;\n      *(undefined4 *)((int)&posd[1].super_Output_data.address_ + 4) = 0;\n      *(undefined4 *)&posd[1].super_Output_data.data_size_ = 0;\n      *(undefined4 *)((int)&posd[1].super_Output_data.data_size_ + 4) = 0;\n      gold::Layout::add_output_section_data\n                (this_00,(char *)(unaff_EDI + 0x3e7702),9,2,posd,ORDER_DYNAMIC_RELOCS,false);\n      return (Reloc_section *)*piVar4;\n    }" { (expression_statement "uVar2 = *(undefined1 *)(iVar3 + 0x4df1);" (assignment_expression "uVar2 = *(undefined1 *)(iVar3 + 0x4df1)" identifier = (pointer_expression "*(undefined1 *)(iVar3 + 0x4df1)" * (cast_expression "(undefined1 *)(iVar3 + 0x4df1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x4df1)" ( (binary_expression "iVar3 + 0x4df1" identifier + number_literal) ))))) ;) (expression_statement "posd = (Output_section_data *)operator_new(0x40);" (assignment_expression "posd = (Output_section_data *)operator_new(0x40)" identifier = (cast_expression "(Output_section_data *)operator_new(0x40)" ( (type_descriptor "Output_section_data *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "operator_new(0x40)" identifier (argument_list "(0x40)" ( number_literal ))))) ;) comment (ERROR "uVar6 = gold::" (assignment_expression "uVar6 = gold" identifier = identifier) : :) (labeled_statement "Output_data::default_alignment_for_size(0x20);" statement_identifier : (ERROR ":" :) (expression_statement "default_alignment_for_size(0x20);" (call_expression "default_alignment_for_size(0x20)" identifier (argument_list "(0x20)" ( number_literal ))) ;)) (expression_statement "*(int *)&posd->addralign_ = (int)uVar6;" (assignment_expression "*(int *)&posd->addralign_ = (int)uVar6" (pointer_expression "*(int *)&posd->addralign_" * (cast_expression "(int *)&posd->addralign_" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "&posd->addralign_" & (field_expression "posd->addralign_" identifier -> field_identifier)))) = (cast_expression "(int)uVar6" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "*(undefined4 *)&(posd->super_Output_data).address_ = 0;" (assignment_expression "*(undefined4 *)&(posd->super_Output_data).address_ = 0" (pointer_expression "*(undefined4 *)&(posd->super_Output_data).address_" * (cast_expression "(undefined4 *)&(posd->super_Output_data).address_" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&(posd->super_Output_data).address_" & (field_expression "(posd->super_Output_data).address_" (parenthesized_expression "(posd->super_Output_data)" ( (field_expression "posd->super_Output_data" identifier -> field_identifier) )) . field_identifier)))) = number_literal) ;) (expression_statement "*(undefined1 *)&posd[1].super_Output_data.address_ = uVar2;" (assignment_expression "*(undefined1 *)&posd[1].super_Output_data.address_ = uVar2" (pointer_expression "*(undefined1 *)&posd[1].super_Output_data.address_" * (cast_expression "(undefined1 *)&posd[1].super_Output_data.address_" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&posd[1].super_Output_data.address_" & (field_expression "posd[1].super_Output_data.address_" (field_expression "posd[1].super_Output_data" (subscript_expression "posd[1]" identifier [ number_literal ]) . field_identifier) . field_identifier)))) = identifier) ;) (expression_statement "(posd->super_Output_data)._vptr_Output_data = (_func_int_varargs **)(unaff_EDI + 0x5762a7);" (assignment_expression "(posd->super_Output_data)._vptr_Output_data = (_func_int_varargs **)(unaff_EDI + 0x5762a7)" (field_expression "(posd->super_Output_data)._vptr_Output_data" (parenthesized_expression "(posd->super_Output_data)" ( (field_expression "posd->super_Output_data" identifier -> field_identifier) )) . field_identifier) = (cast_expression "(_func_int_varargs **)(unaff_EDI + 0x5762a7)" ( (type_descriptor "_func_int_varargs **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(unaff_EDI + 0x5762a7)" ( (binary_expression "unaff_EDI + 0x5762a7" identifier + number_literal) )))) ;) (expression_statement "*(undefined4 *)((int)&(posd->super_Output_data).address_ + 4) = 0;" (assignment_expression "*(undefined4 *)((int)&(posd->super_Output_data).address_ + 4) = 0" (pointer_expression "*(undefined4 *)((int)&(posd->super_Output_data).address_ + 4)" * (cast_expression "(undefined4 *)((int)&(posd->super_Output_data).address_ + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&(posd->super_Output_data).address_ + 4)" ( (binary_expression "(int)&(posd->super_Output_data).address_ + 4" (cast_expression "(int)&(posd->super_Output_data).address_" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&(posd->super_Output_data).address_" & (field_expression "(posd->super_Output_data).address_" (parenthesized_expression "(posd->super_Output_data)" ( (field_expression "posd->super_Output_data" identifier -> field_identifier) )) . field_identifier))) + number_literal) )))) = number_literal) ;) (expression_statement "*piVar4 = (int)posd;" (assignment_expression "*piVar4 = (int)posd" (pointer_expression "*piVar4" * identifier) = (cast_expression "(int)posd" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "*(undefined4 *)&(posd->super_Output_data).data_size_ = 0;" (assignment_expression "*(undefined4 *)&(posd->super_Output_data).data_size_ = 0" (pointer_expression "*(undefined4 *)&(posd->super_Output_data).data_size_" * (cast_expression "(undefined4 *)&(posd->super_Output_data).data_size_" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&(posd->super_Output_data).data_size_" & (field_expression "(posd->super_Output_data).data_size_" (parenthesized_expression "(posd->super_Output_data)" ( (field_expression "posd->super_Output_data" identifier -> field_identifier) )) . field_identifier)))) = number_literal) ;) (expression_statement "*(undefined4 *)((int)&(posd->super_Output_data).data_size_ + 4) = 0;" (assignment_expression "*(undefined4 *)((int)&(posd->super_Output_data).data_size_ + 4) = 0" (pointer_expression "*(undefined4 *)((int)&(posd->super_Output_data).data_size_ + 4)" * (cast_expression "(undefined4 *)((int)&(posd->super_Output_data).data_size_ + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&(posd->super_Output_data).data_size_ + 4)" ( (binary_expression "(int)&(posd->super_Output_data).data_size_ + 4" (cast_expression "(int)&(posd->super_Output_data).data_size_" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&(posd->super_Output_data).data_size_" & (field_expression "(posd->super_Output_data).data_size_" (parenthesized_expression "(posd->super_Output_data)" ( (field_expression "posd->super_Output_data" identifier -> field_identifier) )) . field_identifier))) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)&(posd->super_Output_data).offset_ = 0xffffffff;" (assignment_expression "*(undefined4 *)&(posd->super_Output_data).offset_ = 0xffffffff" (pointer_expression "*(undefined4 *)&(posd->super_Output_data).offset_" * (cast_expression "(undefined4 *)&(posd->super_Output_data).offset_" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&(posd->super_Output_data).offset_" & (field_expression "(posd->super_Output_data).offset_" (parenthesized_expression "(posd->super_Output_data)" ( (field_expression "posd->super_Output_data" identifier -> field_identifier) )) . field_identifier)))) = number_literal) ;) (expression_statement "*(undefined4 *)((int)&(posd->super_Output_data).offset_ + 4) = 0xffffffff;" (assignment_expression "*(undefined4 *)((int)&(posd->super_Output_data).offset_ + 4) = 0xffffffff" (pointer_expression "*(undefined4 *)((int)&(posd->super_Output_data).offset_ + 4)" * (cast_expression "(undefined4 *)((int)&(posd->super_Output_data).offset_ + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&(posd->super_Output_data).offset_ + 4)" ( (binary_expression "(int)&(posd->super_Output_data).offset_ + 4" (cast_expression "(int)&(posd->super_Output_data).offset_" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&(posd->super_Output_data).offset_" & (field_expression "(posd->super_Output_data).offset_" (parenthesized_expression "(posd->super_Output_data)" ( (field_expression "posd->super_Output_data" identifier -> field_identifier) )) . field_identifier))) + number_literal) )))) = number_literal) ;) (expression_statement "puVar1 = &(posd->super_Output_data).field_0x1c;" (assignment_expression "puVar1 = &(posd->super_Output_data).field_0x1c" identifier = (pointer_expression "&(posd->super_Output_data).field_0x1c" & (field_expression "(posd->super_Output_data).field_0x1c" (parenthesized_expression "(posd->super_Output_data)" ( (field_expression "posd->super_Output_data" identifier -> field_identifier) )) . field_identifier))) ;) (expression_statement "*puVar1 = *puVar1 & 0xe0;" (assignment_expression "*puVar1 = *puVar1 & 0xe0" (pointer_expression "*puVar1" * identifier) = (binary_expression "*puVar1 & 0xe0" (pointer_expression "*puVar1" * identifier) & number_literal)) ;) (expression_statement "posd->output_section_ = (Output_section *)0x0;" (assignment_expression "posd->output_section_ = (Output_section *)0x0" (field_expression "posd->output_section_" identifier -> field_identifier) = (cast_expression "(Output_section *)0x0" ( (type_descriptor "Output_section *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "*(int *)((int)&posd->addralign_ + 4) = (int)(uVar6 >> 0x20);" (assignment_expression "*(int *)((int)&posd->addralign_ + 4) = (int)(uVar6 >> 0x20)" (pointer_expression "*(int *)((int)&posd->addralign_ + 4)" * (cast_expression "(int *)((int)&posd->addralign_ + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&posd->addralign_ + 4)" ( (binary_expression "(int)&posd->addralign_ + 4" (cast_expression "(int)&posd->addralign_" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&posd->addralign_" & (field_expression "posd->addralign_" identifier -> field_identifier))) + number_literal) )))) = (cast_expression "(int)(uVar6 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uVar6 >> 0x20)" ( (binary_expression "uVar6 >> 0x20" identifier >> number_literal) )))) ;) (expression_statement "posd[1].super_Output_data._vptr_Output_data = (_func_int_varargs **)0x0;" (assignment_expression "posd[1].super_Output_data._vptr_Output_data = (_func_int_varargs **)0x0" (field_expression "posd[1].super_Output_data._vptr_Output_data" (field_expression "posd[1].super_Output_data" (subscript_expression "posd[1]" identifier [ number_literal ]) . field_identifier) . field_identifier) = (cast_expression "(_func_int_varargs **)0x0" ( (type_descriptor "_func_int_varargs **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal)) ;) (expression_statement "*(undefined4 *)((int)&posd[1].super_Output_data.address_ + 4) = 0;" (assignment_expression "*(undefined4 *)((int)&posd[1].super_Output_data.address_ + 4) = 0" (pointer_expression "*(undefined4 *)((int)&posd[1].super_Output_data.address_ + 4)" * (cast_expression "(undefined4 *)((int)&posd[1].super_Output_data.address_ + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&posd[1].super_Output_data.address_ + 4)" ( (binary_expression "(int)&posd[1].super_Output_data.address_ + 4" (cast_expression "(int)&posd[1].super_Output_data.address_" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&posd[1].super_Output_data.address_" & (field_expression "posd[1].super_Output_data.address_" (field_expression "posd[1].super_Output_data" (subscript_expression "posd[1]" identifier [ number_literal ]) . field_identifier) . field_identifier))) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)&posd[1].super_Output_data.data_size_ = 0;" (assignment_expression "*(undefined4 *)&posd[1].super_Output_data.data_size_ = 0" (pointer_expression "*(undefined4 *)&posd[1].super_Output_data.data_size_" * (cast_expression "(undefined4 *)&posd[1].super_Output_data.data_size_" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&posd[1].super_Output_data.data_size_" & (field_expression "posd[1].super_Output_data.data_size_" (field_expression "posd[1].super_Output_data" (subscript_expression "posd[1]" identifier [ number_literal ]) . field_identifier) . field_identifier)))) = number_literal) ;) (expression_statement "*(undefined4 *)((int)&posd[1].super_Output_data.data_size_ + 4) = 0;" (assignment_expression "*(undefined4 *)((int)&posd[1].super_Output_data.data_size_ + 4) = 0" (pointer_expression "*(undefined4 *)((int)&posd[1].super_Output_data.data_size_ + 4)" * (cast_expression "(undefined4 *)((int)&posd[1].super_Output_data.data_size_ + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&posd[1].super_Output_data.data_size_ + 4)" ( (binary_expression "(int)&posd[1].super_Output_data.data_size_ + 4" (cast_expression "(int)&posd[1].super_Output_data.data_size_" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&posd[1].super_Output_data.data_size_" & (field_expression "posd[1].super_Output_data.data_size_" (field_expression "posd[1].super_Output_data" (subscript_expression "posd[1]" identifier [ number_literal ]) . field_identifier) . field_identifier))) + number_literal) )))) = number_literal) ;) (labeled_statement "gold::Layout::add_output_section_data\n                (this_00,(char *)(unaff_EDI + 0x3e7702),9,2,posd,ORDER_DYNAMIC_RELOCS,false);" statement_identifier : (ERROR ":" :) (labeled_statement "Layout::add_output_section_data\n                (this_00,(char *)(unaff_EDI + 0x3e7702),9,2,posd,ORDER_DYNAMIC_RELOCS,false);" statement_identifier : (ERROR ":" :) (expression_statement "add_output_section_data\n                (this_00,(char *)(unaff_EDI + 0x3e7702),9,2,posd,ORDER_DYNAMIC_RELOCS,false);" (call_expression "add_output_section_data\n                (this_00,(char *)(unaff_EDI + 0x3e7702),9,2,posd,ORDER_DYNAMIC_RELOCS,false)" identifier (argument_list "(this_00,(char *)(unaff_EDI + 0x3e7702),9,2,posd,ORDER_DYNAMIC_RELOCS,false)" ( identifier , (cast_expression "(char *)(unaff_EDI + 0x3e7702)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x3e7702)" ( (binary_expression "unaff_EDI + 0x3e7702" identifier + number_literal) ))) , number_literal , number_literal , identifier , identifier , false ))) ;))) (return_statement "return (Reloc_section *)*piVar4;" return (cast_expression "(Reloc_section *)*piVar4" ( (type_descriptor "Reloc_section *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar4" * identifier)) ;) })) comment (labeled_statement "gold::do_gold_unreachable((char *)(unaff_EDI + 0x3e24e4),0x5c,(char *)(unaff_EDI + 0x3e97ff));" statement_identifier : (ERROR ":" :) (expression_statement "do_gold_unreachable((char *)(unaff_EDI + 0x3e24e4),0x5c,(char *)(unaff_EDI + 0x3e97ff));" (call_expression "do_gold_unreachable((char *)(unaff_EDI + 0x3e24e4),0x5c,(char *)(unaff_EDI + 0x3e97ff))" identifier (argument_list "((char *)(unaff_EDI + 0x3e24e4),0x5c,(char *)(unaff_EDI + 0x3e97ff))" ( (cast_expression "(char *)(unaff_EDI + 0x3e24e4)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x3e24e4)" ( (binary_expression "unaff_EDI + 0x3e24e4" identifier + number_literal) ))) , number_literal , (cast_expression "(char *)(unaff_EDI + 0x3e97ff)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x3e97ff)" ( (binary_expression "unaff_EDI + 0x3e97ff" identifier + number_literal) ))) ))) ;)) })) comment (labeled_statement "gold::do_gold_unreachable(&UNK_003e7632 + unaff_EDI,0x3f5,&UNK_003e953b + unaff_EDI);" statement_identifier : (ERROR ":" :) (expression_statement "do_gold_unreachable(&UNK_003e7632 + unaff_EDI,0x3f5,&UNK_003e953b + unaff_EDI);" (call_expression "do_gold_unreachable(&UNK_003e7632 + unaff_EDI,0x3f5,&UNK_003e953b + unaff_EDI)" identifier (argument_list "(&UNK_003e7632 + unaff_EDI,0x3f5,&UNK_003e953b + unaff_EDI)" ( (binary_expression "&UNK_003e7632 + unaff_EDI" (pointer_expression "&UNK_003e7632" & identifier) + identifier) , number_literal , (binary_expression "&UNK_003e953b + unaff_EDI" (pointer_expression "&UNK_003e953b" & identifier) + identifier) ))) ;)) })))
(translation_unit "int FUN_00065d80(void)\n\n{\n  undefined1 uVar1;\n  int iVar2;\n  int *piVar3;\n  int *piVar4;\n  int iVar5;\n  int unaff_EDI;\n  undefined8 uVar6;\n  \n  uVar6 = FUN_00074f0a();\n  iVar5 = (int)((ulonglong)uVar6 >> 0x20);\n  piVar3 = (int *)uVar6;\n  if (*piVar3 != 0) {\n    return *piVar3;\n  }\n  if (iVar5 != 0) {\n    iVar2 = *(int *)(*(int *)((int)&DWORD_00584a3c + unaff_EDI + 3) + 8);\n    if (iVar2 != 0) {\n      uVar1 = *(undefined1 *)(iVar2 + 0x4df1);\n      piVar4 = (int *)FUN_003ac4d0(0x40);\n                    \n      uVar6 = FUN_002c5bb0(0x20);\n      piVar4[9] = (int)uVar6;\n      piVar4[1] = 0;\n      *(undefined1 *)(piVar4 + 0xc) = uVar1;\n      *piVar4 = unaff_EDI + 0x5762a7;\n      piVar4[2] = 0;\n      *piVar3 = (int)piVar4;\n      piVar4[3] = 0;\n      piVar4[4] = 0;\n      piVar4[5] = -1;\n      piVar4[6] = -1;\n      *(byte *)(piVar4 + 7) = *(byte *)(piVar4 + 7) & 0xe0;\n      piVar4[8] = 0;\n      piVar4[10] = (int)((ulonglong)uVar6 >> 0x20);\n      piVar4[0xb] = 0;\n      piVar4[0xd] = 0;\n      piVar4[0xe] = 0;\n      piVar4[0xf] = 0;\n      FUN_0027afd0(iVar5,unaff_EDI + 0x3e7702,9,2,0,piVar4,4,0);\n      return *piVar3;\n    }\n                    \n    FUN_002446e0(unaff_EDI + 0x3e24e4,0x5c,unaff_EDI + 0x3e97ff,0);\n  }\n                    \n  FUN_002446e0(unaff_EDI + 0x3e7632,0x3f5,unaff_EDI + 0x3e953b);\n}\n\n" (function_definition "int FUN_00065d80(void)\n\n{\n  undefined1 uVar1;\n  int iVar2;\n  int *piVar3;\n  int *piVar4;\n  int iVar5;\n  int unaff_EDI;\n  undefined8 uVar6;\n  \n  uVar6 = FUN_00074f0a();\n  iVar5 = (int)((ulonglong)uVar6 >> 0x20);\n  piVar3 = (int *)uVar6;\n  if (*piVar3 != 0) {\n    return *piVar3;\n  }\n  if (iVar5 != 0) {\n    iVar2 = *(int *)(*(int *)((int)&DWORD_00584a3c + unaff_EDI + 3) + 8);\n    if (iVar2 != 0) {\n      uVar1 = *(undefined1 *)(iVar2 + 0x4df1);\n      piVar4 = (int *)FUN_003ac4d0(0x40);\n                    \n      uVar6 = FUN_002c5bb0(0x20);\n      piVar4[9] = (int)uVar6;\n      piVar4[1] = 0;\n      *(undefined1 *)(piVar4 + 0xc) = uVar1;\n      *piVar4 = unaff_EDI + 0x5762a7;\n      piVar4[2] = 0;\n      *piVar3 = (int)piVar4;\n      piVar4[3] = 0;\n      piVar4[4] = 0;\n      piVar4[5] = -1;\n      piVar4[6] = -1;\n      *(byte *)(piVar4 + 7) = *(byte *)(piVar4 + 7) & 0xe0;\n      piVar4[8] = 0;\n      piVar4[10] = (int)((ulonglong)uVar6 >> 0x20);\n      piVar4[0xb] = 0;\n      piVar4[0xd] = 0;\n      piVar4[0xe] = 0;\n      piVar4[0xf] = 0;\n      FUN_0027afd0(iVar5,unaff_EDI + 0x3e7702,9,2,0,piVar4,4,0);\n      return *piVar3;\n    }\n                    \n    FUN_002446e0(unaff_EDI + 0x3e24e4,0x5c,unaff_EDI + 0x3e97ff,0);\n  }\n                    \n  FUN_002446e0(unaff_EDI + 0x3e7632,0x3f5,unaff_EDI + 0x3e953b);\n}" primitive_type (function_declarator "FUN_00065d80(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  undefined1 uVar1;\n  int iVar2;\n  int *piVar3;\n  int *piVar4;\n  int iVar5;\n  int unaff_EDI;\n  undefined8 uVar6;\n  \n  uVar6 = FUN_00074f0a();\n  iVar5 = (int)((ulonglong)uVar6 >> 0x20);\n  piVar3 = (int *)uVar6;\n  if (*piVar3 != 0) {\n    return *piVar3;\n  }\n  if (iVar5 != 0) {\n    iVar2 = *(int *)(*(int *)((int)&DWORD_00584a3c + unaff_EDI + 3) + 8);\n    if (iVar2 != 0) {\n      uVar1 = *(undefined1 *)(iVar2 + 0x4df1);\n      piVar4 = (int *)FUN_003ac4d0(0x40);\n                    \n      uVar6 = FUN_002c5bb0(0x20);\n      piVar4[9] = (int)uVar6;\n      piVar4[1] = 0;\n      *(undefined1 *)(piVar4 + 0xc) = uVar1;\n      *piVar4 = unaff_EDI + 0x5762a7;\n      piVar4[2] = 0;\n      *piVar3 = (int)piVar4;\n      piVar4[3] = 0;\n      piVar4[4] = 0;\n      piVar4[5] = -1;\n      piVar4[6] = -1;\n      *(byte *)(piVar4 + 7) = *(byte *)(piVar4 + 7) & 0xe0;\n      piVar4[8] = 0;\n      piVar4[10] = (int)((ulonglong)uVar6 >> 0x20);\n      piVar4[0xb] = 0;\n      piVar4[0xd] = 0;\n      piVar4[0xe] = 0;\n      piVar4[0xf] = 0;\n      FUN_0027afd0(iVar5,unaff_EDI + 0x3e7702,9,2,0,piVar4,4,0);\n      return *piVar3;\n    }\n                    \n    FUN_002446e0(unaff_EDI + 0x3e24e4,0x5c,unaff_EDI + 0x3e97ff,0);\n  }\n                    \n  FUN_002446e0(unaff_EDI + 0x3e7632,0x3f5,unaff_EDI + 0x3e953b);\n}" { (declaration "undefined1 uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "int *piVar4;" primitive_type (pointer_declarator "*piVar4" * identifier) ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int unaff_EDI;" primitive_type identifier ;) (declaration "undefined8 uVar6;" type_identifier identifier ;) (expression_statement "uVar6 = FUN_00074f0a();" (assignment_expression "uVar6 = FUN_00074f0a()" identifier = (call_expression "FUN_00074f0a()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar5 = (int)((ulonglong)uVar6 >> 0x20);" (assignment_expression "iVar5 = (int)((ulonglong)uVar6 >> 0x20)" identifier = (cast_expression "(int)((ulonglong)uVar6 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)uVar6 >> 0x20)" ( (binary_expression "(ulonglong)uVar6 >> 0x20" (cast_expression "(ulonglong)uVar6" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "piVar3 = (int *)uVar6;" (assignment_expression "piVar3 = (int *)uVar6" identifier = (cast_expression "(int *)uVar6" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) ;) (if_statement "if (*piVar3 != 0) {\n    return *piVar3;\n  }" if (parenthesized_expression "(*piVar3 != 0)" ( (binary_expression "*piVar3 != 0" (pointer_expression "*piVar3" * identifier) != number_literal) )) (compound_statement "{\n    return *piVar3;\n  }" { (return_statement "return *piVar3;" return (pointer_expression "*piVar3" * identifier) ;) })) (if_statement "if (iVar5 != 0) {\n    iVar2 = *(int *)(*(int *)((int)&DWORD_00584a3c + unaff_EDI + 3) + 8);\n    if (iVar2 != 0) {\n      uVar1 = *(undefined1 *)(iVar2 + 0x4df1);\n      piVar4 = (int *)FUN_003ac4d0(0x40);\n                    \n      uVar6 = FUN_002c5bb0(0x20);\n      piVar4[9] = (int)uVar6;\n      piVar4[1] = 0;\n      *(undefined1 *)(piVar4 + 0xc) = uVar1;\n      *piVar4 = unaff_EDI + 0x5762a7;\n      piVar4[2] = 0;\n      *piVar3 = (int)piVar4;\n      piVar4[3] = 0;\n      piVar4[4] = 0;\n      piVar4[5] = -1;\n      piVar4[6] = -1;\n      *(byte *)(piVar4 + 7) = *(byte *)(piVar4 + 7) & 0xe0;\n      piVar4[8] = 0;\n      piVar4[10] = (int)((ulonglong)uVar6 >> 0x20);\n      piVar4[0xb] = 0;\n      piVar4[0xd] = 0;\n      piVar4[0xe] = 0;\n      piVar4[0xf] = 0;\n      FUN_0027afd0(iVar5,unaff_EDI + 0x3e7702,9,2,0,piVar4,4,0);\n      return *piVar3;\n    }\n                    \n    FUN_002446e0(unaff_EDI + 0x3e24e4,0x5c,unaff_EDI + 0x3e97ff,0);\n  }" if (parenthesized_expression "(iVar5 != 0)" ( (binary_expression "iVar5 != 0" identifier != number_literal) )) (compound_statement "{\n    iVar2 = *(int *)(*(int *)((int)&DWORD_00584a3c + unaff_EDI + 3) + 8);\n    if (iVar2 != 0) {\n      uVar1 = *(undefined1 *)(iVar2 + 0x4df1);\n      piVar4 = (int *)FUN_003ac4d0(0x40);\n                    \n      uVar6 = FUN_002c5bb0(0x20);\n      piVar4[9] = (int)uVar6;\n      piVar4[1] = 0;\n      *(undefined1 *)(piVar4 + 0xc) = uVar1;\n      *piVar4 = unaff_EDI + 0x5762a7;\n      piVar4[2] = 0;\n      *piVar3 = (int)piVar4;\n      piVar4[3] = 0;\n      piVar4[4] = 0;\n      piVar4[5] = -1;\n      piVar4[6] = -1;\n      *(byte *)(piVar4 + 7) = *(byte *)(piVar4 + 7) & 0xe0;\n      piVar4[8] = 0;\n      piVar4[10] = (int)((ulonglong)uVar6 >> 0x20);\n      piVar4[0xb] = 0;\n      piVar4[0xd] = 0;\n      piVar4[0xe] = 0;\n      piVar4[0xf] = 0;\n      FUN_0027afd0(iVar5,unaff_EDI + 0x3e7702,9,2,0,piVar4,4,0);\n      return *piVar3;\n    }\n                    \n    FUN_002446e0(unaff_EDI + 0x3e24e4,0x5c,unaff_EDI + 0x3e97ff,0);\n  }" { (expression_statement "iVar2 = *(int *)(*(int *)((int)&DWORD_00584a3c + unaff_EDI + 3) + 8);" (assignment_expression "iVar2 = *(int *)(*(int *)((int)&DWORD_00584a3c + unaff_EDI + 3) + 8)" identifier = (pointer_expression "*(int *)(*(int *)((int)&DWORD_00584a3c + unaff_EDI + 3) + 8)" * (cast_expression "(int *)(*(int *)((int)&DWORD_00584a3c + unaff_EDI + 3) + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)((int)&DWORD_00584a3c + unaff_EDI + 3) + 8)" ( (binary_expression "*(int *)((int)&DWORD_00584a3c + unaff_EDI + 3) + 8" (pointer_expression "*(int *)((int)&DWORD_00584a3c + unaff_EDI + 3)" * (cast_expression "(int *)((int)&DWORD_00584a3c + unaff_EDI + 3)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&DWORD_00584a3c + unaff_EDI + 3)" ( (binary_expression "(int)&DWORD_00584a3c + unaff_EDI + 3" (binary_expression "(int)&DWORD_00584a3c + unaff_EDI" (cast_expression "(int)&DWORD_00584a3c" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&DWORD_00584a3c" & identifier)) + identifier) + number_literal) )))) + number_literal) ))))) ;) (if_statement "if (iVar2 != 0) {\n      uVar1 = *(undefined1 *)(iVar2 + 0x4df1);\n      piVar4 = (int *)FUN_003ac4d0(0x40);\n                    \n      uVar6 = FUN_002c5bb0(0x20);\n      piVar4[9] = (int)uVar6;\n      piVar4[1] = 0;\n      *(undefined1 *)(piVar4 + 0xc) = uVar1;\n      *piVar4 = unaff_EDI + 0x5762a7;\n      piVar4[2] = 0;\n      *piVar3 = (int)piVar4;\n      piVar4[3] = 0;\n      piVar4[4] = 0;\n      piVar4[5] = -1;\n      piVar4[6] = -1;\n      *(byte *)(piVar4 + 7) = *(byte *)(piVar4 + 7) & 0xe0;\n      piVar4[8] = 0;\n      piVar4[10] = (int)((ulonglong)uVar6 >> 0x20);\n      piVar4[0xb] = 0;\n      piVar4[0xd] = 0;\n      piVar4[0xe] = 0;\n      piVar4[0xf] = 0;\n      FUN_0027afd0(iVar5,unaff_EDI + 0x3e7702,9,2,0,piVar4,4,0);\n      return *piVar3;\n    }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n      uVar1 = *(undefined1 *)(iVar2 + 0x4df1);\n      piVar4 = (int *)FUN_003ac4d0(0x40);\n                    \n      uVar6 = FUN_002c5bb0(0x20);\n      piVar4[9] = (int)uVar6;\n      piVar4[1] = 0;\n      *(undefined1 *)(piVar4 + 0xc) = uVar1;\n      *piVar4 = unaff_EDI + 0x5762a7;\n      piVar4[2] = 0;\n      *piVar3 = (int)piVar4;\n      piVar4[3] = 0;\n      piVar4[4] = 0;\n      piVar4[5] = -1;\n      piVar4[6] = -1;\n      *(byte *)(piVar4 + 7) = *(byte *)(piVar4 + 7) & 0xe0;\n      piVar4[8] = 0;\n      piVar4[10] = (int)((ulonglong)uVar6 >> 0x20);\n      piVar4[0xb] = 0;\n      piVar4[0xd] = 0;\n      piVar4[0xe] = 0;\n      piVar4[0xf] = 0;\n      FUN_0027afd0(iVar5,unaff_EDI + 0x3e7702,9,2,0,piVar4,4,0);\n      return *piVar3;\n    }" { (expression_statement "uVar1 = *(undefined1 *)(iVar2 + 0x4df1);" (assignment_expression "uVar1 = *(undefined1 *)(iVar2 + 0x4df1)" identifier = (pointer_expression "*(undefined1 *)(iVar2 + 0x4df1)" * (cast_expression "(undefined1 *)(iVar2 + 0x4df1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x4df1)" ( (binary_expression "iVar2 + 0x4df1" identifier + number_literal) ))))) ;) (expression_statement "piVar4 = (int *)FUN_003ac4d0(0x40);" (assignment_expression "piVar4 = (int *)FUN_003ac4d0(0x40)" identifier = (cast_expression "(int *)FUN_003ac4d0(0x40)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_003ac4d0(0x40)" identifier (argument_list "(0x40)" ( number_literal ))))) ;) (expression_statement "uVar6 = FUN_002c5bb0(0x20);" (assignment_expression "uVar6 = FUN_002c5bb0(0x20)" identifier = (call_expression "FUN_002c5bb0(0x20)" identifier (argument_list "(0x20)" ( number_literal )))) ;) (expression_statement "piVar4[9] = (int)uVar6;" (assignment_expression "piVar4[9] = (int)uVar6" (subscript_expression "piVar4[9]" identifier [ number_literal ]) = (cast_expression "(int)uVar6" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "piVar4[1] = 0;" (assignment_expression "piVar4[1] = 0" (subscript_expression "piVar4[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined1 *)(piVar4 + 0xc) = uVar1;" (assignment_expression "*(undefined1 *)(piVar4 + 0xc) = uVar1" (pointer_expression "*(undefined1 *)(piVar4 + 0xc)" * (cast_expression "(undefined1 *)(piVar4 + 0xc)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar4 + 0xc)" ( (binary_expression "piVar4 + 0xc" identifier + number_literal) )))) = identifier) ;) (expression_statement "*piVar4 = unaff_EDI + 0x5762a7;" (assignment_expression "*piVar4 = unaff_EDI + 0x5762a7" (pointer_expression "*piVar4" * identifier) = (binary_expression "unaff_EDI + 0x5762a7" identifier + number_literal)) ;) (expression_statement "piVar4[2] = 0;" (assignment_expression "piVar4[2] = 0" (subscript_expression "piVar4[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*piVar3 = (int)piVar4;" (assignment_expression "*piVar3 = (int)piVar4" (pointer_expression "*piVar3" * identifier) = (cast_expression "(int)piVar4" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "piVar4[3] = 0;" (assignment_expression "piVar4[3] = 0" (subscript_expression "piVar4[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar4[4] = 0;" (assignment_expression "piVar4[4] = 0" (subscript_expression "piVar4[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar4[5] = -1;" (assignment_expression "piVar4[5] = -1" (subscript_expression "piVar4[5]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar4[6] = -1;" (assignment_expression "piVar4[6] = -1" (subscript_expression "piVar4[6]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(byte *)(piVar4 + 7) = *(byte *)(piVar4 + 7) & 0xe0;" (assignment_expression "*(byte *)(piVar4 + 7) = *(byte *)(piVar4 + 7) & 0xe0" (pointer_expression "*(byte *)(piVar4 + 7)" * (cast_expression "(byte *)(piVar4 + 7)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar4 + 7)" ( (binary_expression "piVar4 + 7" identifier + number_literal) )))) = (binary_expression "*(byte *)(piVar4 + 7) & 0xe0" (pointer_expression "*(byte *)(piVar4 + 7)" * (cast_expression "(byte *)(piVar4 + 7)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar4 + 7)" ( (binary_expression "piVar4 + 7" identifier + number_literal) )))) & number_literal)) ;) (expression_statement "piVar4[8] = 0;" (assignment_expression "piVar4[8] = 0" (subscript_expression "piVar4[8]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar4[10] = (int)((ulonglong)uVar6 >> 0x20);" (assignment_expression "piVar4[10] = (int)((ulonglong)uVar6 >> 0x20)" (subscript_expression "piVar4[10]" identifier [ number_literal ]) = (cast_expression "(int)((ulonglong)uVar6 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)uVar6 >> 0x20)" ( (binary_expression "(ulonglong)uVar6 >> 0x20" (cast_expression "(ulonglong)uVar6" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "piVar4[0xb] = 0;" (assignment_expression "piVar4[0xb] = 0" (subscript_expression "piVar4[0xb]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar4[0xd] = 0;" (assignment_expression "piVar4[0xd] = 0" (subscript_expression "piVar4[0xd]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar4[0xe] = 0;" (assignment_expression "piVar4[0xe] = 0" (subscript_expression "piVar4[0xe]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar4[0xf] = 0;" (assignment_expression "piVar4[0xf] = 0" (subscript_expression "piVar4[0xf]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "FUN_0027afd0(iVar5,unaff_EDI + 0x3e7702,9,2,0,piVar4,4,0);" (call_expression "FUN_0027afd0(iVar5,unaff_EDI + 0x3e7702,9,2,0,piVar4,4,0)" identifier (argument_list "(iVar5,unaff_EDI + 0x3e7702,9,2,0,piVar4,4,0)" ( identifier , (binary_expression "unaff_EDI + 0x3e7702" identifier + number_literal) , number_literal , number_literal , number_literal , identifier , number_literal , number_literal ))) ;) (return_statement "return *piVar3;" return (pointer_expression "*piVar3" * identifier) ;) })) (expression_statement "FUN_002446e0(unaff_EDI + 0x3e24e4,0x5c,unaff_EDI + 0x3e97ff,0);" (call_expression "FUN_002446e0(unaff_EDI + 0x3e24e4,0x5c,unaff_EDI + 0x3e97ff,0)" identifier (argument_list "(unaff_EDI + 0x3e24e4,0x5c,unaff_EDI + 0x3e97ff,0)" ( (binary_expression "unaff_EDI + 0x3e24e4" identifier + number_literal) , number_literal , (binary_expression "unaff_EDI + 0x3e97ff" identifier + number_literal) , number_literal ))) ;) })) (expression_statement "FUN_002446e0(unaff_EDI + 0x3e7632,0x3f5,unaff_EDI + 0x3e953b);" (call_expression "FUN_002446e0(unaff_EDI + 0x3e7632,0x3f5,unaff_EDI + 0x3e953b)" identifier (argument_list "(unaff_EDI + 0x3e7632,0x3f5,unaff_EDI + 0x3e953b)" ( (binary_expression "unaff_EDI + 0x3e7632" identifier + number_literal) , number_literal , (binary_expression "unaff_EDI + 0x3e953b" identifier + number_literal) ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != LIT) )) (compound_statement { (return_statement return (pointer_expression * 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 (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) (pointer_expression & IDENT)) + IDENT) + LIT) )))) + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = 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 (pointer_expression * IDENT) = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (binary_expression IDENT + LIT) , LIT , LIT , LIT , IDENT , LIT , LIT ))) ;) (return_statement return (pointer_expression * IDENT) ;) })) (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , LIT , (binary_expression IDENT + LIT) , LIT ))) ;) })) (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , LIT , (binary_expression IDENT + LIT) ))) ;) })))
(function_definition "int FUN_00065d80(void)\n\n{\n  undefined1 uVar1;\n  int iVar2;\n  int *piVar3;\n  int *piVar4;\n  int iVar5;\n  int unaff_EDI;\n  undefined8 uVar6;\n  \n  uVar6 = FUN_00074f0a();\n  iVar5 = (int)((ulonglong)uVar6 >> 0x20);\n  piVar3 = (int *)uVar6;\n  if (*piVar3 != 0) {\n    return *piVar3;\n  }\n  if (iVar5 != 0) {\n    iVar2 = *(int *)(*(int *)((int)&DWORD_00584a3c + unaff_EDI + 3) + 8);\n    if (iVar2 != 0) {\n      uVar1 = *(undefined1 *)(iVar2 + 0x4df1);\n      piVar4 = (int *)FUN_003ac4d0(0x40);\n                    \n      uVar6 = FUN_002c5bb0(0x20);\n      piVar4[9] = (int)uVar6;\n      piVar4[1] = 0;\n      *(undefined1 *)(piVar4 + 0xc) = uVar1;\n      *piVar4 = unaff_EDI + 0x5762a7;\n      piVar4[2] = 0;\n      *piVar3 = (int)piVar4;\n      piVar4[3] = 0;\n      piVar4[4] = 0;\n      piVar4[5] = -1;\n      piVar4[6] = -1;\n      *(byte *)(piVar4 + 7) = *(byte *)(piVar4 + 7) & 0xe0;\n      piVar4[8] = 0;\n      piVar4[10] = (int)((ulonglong)uVar6 >> 0x20);\n      piVar4[0xb] = 0;\n      piVar4[0xd] = 0;\n      piVar4[0xe] = 0;\n      piVar4[0xf] = 0;\n      FUN_0027afd0(iVar5,unaff_EDI + 0x3e7702,9,2,0,piVar4,4,0);\n      return *piVar3;\n    }\n                    \n    FUN_002446e0(unaff_EDI + 0x3e24e4,0x5c,unaff_EDI + 0x3e97ff,0);\n  }\n                    \n  FUN_002446e0(unaff_EDI + 0x3e7632,0x3f5,unaff_EDI + 0x3e953b);\n}" (primitive_type "int") (function_declarator "FUN_00065d80(void)" (identifier "FUN_00065d80") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  undefined1 uVar1;\n  int iVar2;\n  int *piVar3;\n  int *piVar4;\n  int iVar5;\n  int unaff_EDI;\n  undefined8 uVar6;\n  \n  uVar6 = FUN_00074f0a();\n  iVar5 = (int)((ulonglong)uVar6 >> 0x20);\n  piVar3 = (int *)uVar6;\n  if (*piVar3 != 0) {\n    return *piVar3;\n  }\n  if (iVar5 != 0) {\n    iVar2 = *(int *)(*(int *)((int)&DWORD_00584a3c + unaff_EDI + 3) + 8);\n    if (iVar2 != 0) {\n      uVar1 = *(undefined1 *)(iVar2 + 0x4df1);\n      piVar4 = (int *)FUN_003ac4d0(0x40);\n                    \n      uVar6 = FUN_002c5bb0(0x20);\n      piVar4[9] = (int)uVar6;\n      piVar4[1] = 0;\n      *(undefined1 *)(piVar4 + 0xc) = uVar1;\n      *piVar4 = unaff_EDI + 0x5762a7;\n      piVar4[2] = 0;\n      *piVar3 = (int)piVar4;\n      piVar4[3] = 0;\n      piVar4[4] = 0;\n      piVar4[5] = -1;\n      piVar4[6] = -1;\n      *(byte *)(piVar4 + 7) = *(byte *)(piVar4 + 7) & 0xe0;\n      piVar4[8] = 0;\n      piVar4[10] = (int)((ulonglong)uVar6 >> 0x20);\n      piVar4[0xb] = 0;\n      piVar4[0xd] = 0;\n      piVar4[0xe] = 0;\n      piVar4[0xf] = 0;\n      FUN_0027afd0(iVar5,unaff_EDI + 0x3e7702,9,2,0,piVar4,4,0);\n      return *piVar3;\n    }\n                    \n    FUN_002446e0(unaff_EDI + 0x3e24e4,0x5c,unaff_EDI + 0x3e97ff,0);\n  }\n                    \n  FUN_002446e0(unaff_EDI + 0x3e7632,0x3f5,unaff_EDI + 0x3e953b);\n}" ({ "{") (declaration "undefined1 uVar1;" (type_identifier "undefined1") (identifier "uVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "int *piVar3;" (primitive_type "int") (pointer_declarator "*piVar3" (* "*") (identifier "piVar3")) (; ";")) (declaration "int *piVar4;" (primitive_type "int") (pointer_declarator "*piVar4" (* "*") (identifier "piVar4")) (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "int unaff_EDI;" (primitive_type "int") (identifier "unaff_EDI") (; ";")) (declaration "undefined8 uVar6;" (type_identifier "undefined8") (identifier "uVar6") (; ";")) (expression_statement "uVar6 = FUN_00074f0a();" (assignment_expression "uVar6 = FUN_00074f0a()" (identifier "uVar6") (= "=") (call_expression "FUN_00074f0a()" (identifier "FUN_00074f0a") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "iVar5 = (int)((ulonglong)uVar6 >> 0x20);" (assignment_expression "iVar5 = (int)((ulonglong)uVar6 >> 0x20)" (identifier "iVar5") (= "=") (cast_expression "(int)((ulonglong)uVar6 >> 0x20)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "((ulonglong)uVar6 >> 0x20)" (( "(") (binary_expression "(ulonglong)uVar6 >> 0x20" (cast_expression "(ulonglong)uVar6" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (identifier "uVar6")) (>> ">>") (number_literal "0x20")) () ")")))) (; ";")) (expression_statement "piVar3 = (int *)uVar6;" (assignment_expression "piVar3 = (int *)uVar6" (identifier "piVar3") (= "=") (cast_expression "(int *)uVar6" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "uVar6"))) (; ";")) (if_statement "if (*piVar3 != 0) {\n    return *piVar3;\n  }" (if "if") (parenthesized_expression "(*piVar3 != 0)" (( "(") (binary_expression "*piVar3 != 0" (pointer_expression "*piVar3" (* "*") (identifier "piVar3")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    return *piVar3;\n  }" ({ "{") (return_statement "return *piVar3;" (return "return") (pointer_expression "*piVar3" (* "*") (identifier "piVar3")) (; ";")) (} "}"))) (if_statement "if (iVar5 != 0) {\n    iVar2 = *(int *)(*(int *)((int)&DWORD_00584a3c + unaff_EDI + 3) + 8);\n    if (iVar2 != 0) {\n      uVar1 = *(undefined1 *)(iVar2 + 0x4df1);\n      piVar4 = (int *)FUN_003ac4d0(0x40);\n                    \n      uVar6 = FUN_002c5bb0(0x20);\n      piVar4[9] = (int)uVar6;\n      piVar4[1] = 0;\n      *(undefined1 *)(piVar4 + 0xc) = uVar1;\n      *piVar4 = unaff_EDI + 0x5762a7;\n      piVar4[2] = 0;\n      *piVar3 = (int)piVar4;\n      piVar4[3] = 0;\n      piVar4[4] = 0;\n      piVar4[5] = -1;\n      piVar4[6] = -1;\n      *(byte *)(piVar4 + 7) = *(byte *)(piVar4 + 7) & 0xe0;\n      piVar4[8] = 0;\n      piVar4[10] = (int)((ulonglong)uVar6 >> 0x20);\n      piVar4[0xb] = 0;\n      piVar4[0xd] = 0;\n      piVar4[0xe] = 0;\n      piVar4[0xf] = 0;\n      FUN_0027afd0(iVar5,unaff_EDI + 0x3e7702,9,2,0,piVar4,4,0);\n      return *piVar3;\n    }\n                    \n    FUN_002446e0(unaff_EDI + 0x3e24e4,0x5c,unaff_EDI + 0x3e97ff,0);\n  }" (if "if") (parenthesized_expression "(iVar5 != 0)" (( "(") (binary_expression "iVar5 != 0" (identifier "iVar5") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    iVar2 = *(int *)(*(int *)((int)&DWORD_00584a3c + unaff_EDI + 3) + 8);\n    if (iVar2 != 0) {\n      uVar1 = *(undefined1 *)(iVar2 + 0x4df1);\n      piVar4 = (int *)FUN_003ac4d0(0x40);\n                    \n      uVar6 = FUN_002c5bb0(0x20);\n      piVar4[9] = (int)uVar6;\n      piVar4[1] = 0;\n      *(undefined1 *)(piVar4 + 0xc) = uVar1;\n      *piVar4 = unaff_EDI + 0x5762a7;\n      piVar4[2] = 0;\n      *piVar3 = (int)piVar4;\n      piVar4[3] = 0;\n      piVar4[4] = 0;\n      piVar4[5] = -1;\n      piVar4[6] = -1;\n      *(byte *)(piVar4 + 7) = *(byte *)(piVar4 + 7) & 0xe0;\n      piVar4[8] = 0;\n      piVar4[10] = (int)((ulonglong)uVar6 >> 0x20);\n      piVar4[0xb] = 0;\n      piVar4[0xd] = 0;\n      piVar4[0xe] = 0;\n      piVar4[0xf] = 0;\n      FUN_0027afd0(iVar5,unaff_EDI + 0x3e7702,9,2,0,piVar4,4,0);\n      return *piVar3;\n    }\n                    \n    FUN_002446e0(unaff_EDI + 0x3e24e4,0x5c,unaff_EDI + 0x3e97ff,0);\n  }" ({ "{") (expression_statement "iVar2 = *(int *)(*(int *)((int)&DWORD_00584a3c + unaff_EDI + 3) + 8);" (assignment_expression "iVar2 = *(int *)(*(int *)((int)&DWORD_00584a3c + unaff_EDI + 3) + 8)" (identifier "iVar2") (= "=") (pointer_expression "*(int *)(*(int *)((int)&DWORD_00584a3c + unaff_EDI + 3) + 8)" (* "*") (cast_expression "(int *)(*(int *)((int)&DWORD_00584a3c + unaff_EDI + 3) + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)((int)&DWORD_00584a3c + unaff_EDI + 3) + 8)" (( "(") (binary_expression "*(int *)((int)&DWORD_00584a3c + unaff_EDI + 3) + 8" (pointer_expression "*(int *)((int)&DWORD_00584a3c + unaff_EDI + 3)" (* "*") (cast_expression "(int *)((int)&DWORD_00584a3c + unaff_EDI + 3)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)&DWORD_00584a3c + unaff_EDI + 3)" (( "(") (binary_expression "(int)&DWORD_00584a3c + unaff_EDI + 3" (binary_expression "(int)&DWORD_00584a3c + unaff_EDI" (cast_expression "(int)&DWORD_00584a3c" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (pointer_expression "&DWORD_00584a3c" (& "&") (identifier "DWORD_00584a3c"))) (+ "+") (identifier "unaff_EDI")) (+ "+") (number_literal "3")) () ")")))) (+ "+") (number_literal "8")) () ")"))))) (; ";")) (if_statement "if (iVar2 != 0) {\n      uVar1 = *(undefined1 *)(iVar2 + 0x4df1);\n      piVar4 = (int *)FUN_003ac4d0(0x40);\n                    \n      uVar6 = FUN_002c5bb0(0x20);\n      piVar4[9] = (int)uVar6;\n      piVar4[1] = 0;\n      *(undefined1 *)(piVar4 + 0xc) = uVar1;\n      *piVar4 = unaff_EDI + 0x5762a7;\n      piVar4[2] = 0;\n      *piVar3 = (int)piVar4;\n      piVar4[3] = 0;\n      piVar4[4] = 0;\n      piVar4[5] = -1;\n      piVar4[6] = -1;\n      *(byte *)(piVar4 + 7) = *(byte *)(piVar4 + 7) & 0xe0;\n      piVar4[8] = 0;\n      piVar4[10] = (int)((ulonglong)uVar6 >> 0x20);\n      piVar4[0xb] = 0;\n      piVar4[0xd] = 0;\n      piVar4[0xe] = 0;\n      piVar4[0xf] = 0;\n      FUN_0027afd0(iVar5,unaff_EDI + 0x3e7702,9,2,0,piVar4,4,0);\n      return *piVar3;\n    }" (if "if") (parenthesized_expression "(iVar2 != 0)" (( "(") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      uVar1 = *(undefined1 *)(iVar2 + 0x4df1);\n      piVar4 = (int *)FUN_003ac4d0(0x40);\n                    \n      uVar6 = FUN_002c5bb0(0x20);\n      piVar4[9] = (int)uVar6;\n      piVar4[1] = 0;\n      *(undefined1 *)(piVar4 + 0xc) = uVar1;\n      *piVar4 = unaff_EDI + 0x5762a7;\n      piVar4[2] = 0;\n      *piVar3 = (int)piVar4;\n      piVar4[3] = 0;\n      piVar4[4] = 0;\n      piVar4[5] = -1;\n      piVar4[6] = -1;\n      *(byte *)(piVar4 + 7) = *(byte *)(piVar4 + 7) & 0xe0;\n      piVar4[8] = 0;\n      piVar4[10] = (int)((ulonglong)uVar6 >> 0x20);\n      piVar4[0xb] = 0;\n      piVar4[0xd] = 0;\n      piVar4[0xe] = 0;\n      piVar4[0xf] = 0;\n      FUN_0027afd0(iVar5,unaff_EDI + 0x3e7702,9,2,0,piVar4,4,0);\n      return *piVar3;\n    }" ({ "{") (expression_statement "uVar1 = *(undefined1 *)(iVar2 + 0x4df1);" (assignment_expression "uVar1 = *(undefined1 *)(iVar2 + 0x4df1)" (identifier "uVar1") (= "=") (pointer_expression "*(undefined1 *)(iVar2 + 0x4df1)" (* "*") (cast_expression "(undefined1 *)(iVar2 + 0x4df1)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x4df1)" (( "(") (binary_expression "iVar2 + 0x4df1" (identifier "iVar2") (+ "+") (number_literal "0x4df1")) () ")"))))) (; ";")) (expression_statement "piVar4 = (int *)FUN_003ac4d0(0x40);" (assignment_expression "piVar4 = (int *)FUN_003ac4d0(0x40)" (identifier "piVar4") (= "=") (cast_expression "(int *)FUN_003ac4d0(0x40)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_003ac4d0(0x40)" (identifier "FUN_003ac4d0") (argument_list "(0x40)" (( "(") (number_literal "0x40") () ")"))))) (; ";")) (expression_statement "uVar6 = FUN_002c5bb0(0x20);" (assignment_expression "uVar6 = FUN_002c5bb0(0x20)" (identifier "uVar6") (= "=") (call_expression "FUN_002c5bb0(0x20)" (identifier "FUN_002c5bb0") (argument_list "(0x20)" (( "(") (number_literal "0x20") () ")")))) (; ";")) (expression_statement "piVar4[9] = (int)uVar6;" (assignment_expression "piVar4[9] = (int)uVar6" (subscript_expression "piVar4[9]" (identifier "piVar4") ([ "[") (number_literal "9") (] "]")) (= "=") (cast_expression "(int)uVar6" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar6"))) (; ";")) (expression_statement "piVar4[1] = 0;" (assignment_expression "piVar4[1] = 0" (subscript_expression "piVar4[1]" (identifier "piVar4") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined1 *)(piVar4 + 0xc) = uVar1;" (assignment_expression "*(undefined1 *)(piVar4 + 0xc) = uVar1" (pointer_expression "*(undefined1 *)(piVar4 + 0xc)" (* "*") (cast_expression "(undefined1 *)(piVar4 + 0xc)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(piVar4 + 0xc)" (( "(") (binary_expression "piVar4 + 0xc" (identifier "piVar4") (+ "+") (number_literal "0xc")) () ")")))) (= "=") (identifier "uVar1")) (; ";")) (expression_statement "*piVar4 = unaff_EDI + 0x5762a7;" (assignment_expression "*piVar4 = unaff_EDI + 0x5762a7" (pointer_expression "*piVar4" (* "*") (identifier "piVar4")) (= "=") (binary_expression "unaff_EDI + 0x5762a7" (identifier "unaff_EDI") (+ "+") (number_literal "0x5762a7"))) (; ";")) (expression_statement "piVar4[2] = 0;" (assignment_expression "piVar4[2] = 0" (subscript_expression "piVar4[2]" (identifier "piVar4") ([ "[") (number_literal "2") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*piVar3 = (int)piVar4;" (assignment_expression "*piVar3 = (int)piVar4" (pointer_expression "*piVar3" (* "*") (identifier "piVar3")) (= "=") (cast_expression "(int)piVar4" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar4"))) (; ";")) (expression_statement "piVar4[3] = 0;" (assignment_expression "piVar4[3] = 0" (subscript_expression "piVar4[3]" (identifier "piVar4") ([ "[") (number_literal "3") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar4[4] = 0;" (assignment_expression "piVar4[4] = 0" (subscript_expression "piVar4[4]" (identifier "piVar4") ([ "[") (number_literal "4") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar4[5] = -1;" (assignment_expression "piVar4[5] = -1" (subscript_expression "piVar4[5]" (identifier "piVar4") ([ "[") (number_literal "5") (] "]")) (= "=") (number_literal "-1")) (; ";")) (expression_statement "piVar4[6] = -1;" (assignment_expression "piVar4[6] = -1" (subscript_expression "piVar4[6]" (identifier "piVar4") ([ "[") (number_literal "6") (] "]")) (= "=") (number_literal "-1")) (; ";")) (expression_statement "*(byte *)(piVar4 + 7) = *(byte *)(piVar4 + 7) & 0xe0;" (assignment_expression "*(byte *)(piVar4 + 7) = *(byte *)(piVar4 + 7) & 0xe0" (pointer_expression "*(byte *)(piVar4 + 7)" (* "*") (cast_expression "(byte *)(piVar4 + 7)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(piVar4 + 7)" (( "(") (binary_expression "piVar4 + 7" (identifier "piVar4") (+ "+") (number_literal "7")) () ")")))) (= "=") (binary_expression "*(byte *)(piVar4 + 7) & 0xe0" (pointer_expression "*(byte *)(piVar4 + 7)" (* "*") (cast_expression "(byte *)(piVar4 + 7)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(piVar4 + 7)" (( "(") (binary_expression "piVar4 + 7" (identifier "piVar4") (+ "+") (number_literal "7")) () ")")))) (& "&") (number_literal "0xe0"))) (; ";")) (expression_statement "piVar4[8] = 0;" (assignment_expression "piVar4[8] = 0" (subscript_expression "piVar4[8]" (identifier "piVar4") ([ "[") (number_literal "8") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar4[10] = (int)((ulonglong)uVar6 >> 0x20);" (assignment_expression "piVar4[10] = (int)((ulonglong)uVar6 >> 0x20)" (subscript_expression "piVar4[10]" (identifier "piVar4") ([ "[") (number_literal "10") (] "]")) (= "=") (cast_expression "(int)((ulonglong)uVar6 >> 0x20)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "((ulonglong)uVar6 >> 0x20)" (( "(") (binary_expression "(ulonglong)uVar6 >> 0x20" (cast_expression "(ulonglong)uVar6" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (identifier "uVar6")) (>> ">>") (number_literal "0x20")) () ")")))) (; ";")) (expression_statement "piVar4[0xb] = 0;" (assignment_expression "piVar4[0xb] = 0" (subscript_expression "piVar4[0xb]" (identifier "piVar4") ([ "[") (number_literal "0xb") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar4[0xd] = 0;" (assignment_expression "piVar4[0xd] = 0" (subscript_expression "piVar4[0xd]" (identifier "piVar4") ([ "[") (number_literal "0xd") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar4[0xe] = 0;" (assignment_expression "piVar4[0xe] = 0" (subscript_expression "piVar4[0xe]" (identifier "piVar4") ([ "[") (number_literal "0xe") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar4[0xf] = 0;" (assignment_expression "piVar4[0xf] = 0" (subscript_expression "piVar4[0xf]" (identifier "piVar4") ([ "[") (number_literal "0xf") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "FUN_0027afd0(iVar5,unaff_EDI + 0x3e7702,9,2,0,piVar4,4,0);" (call_expression "FUN_0027afd0(iVar5,unaff_EDI + 0x3e7702,9,2,0,piVar4,4,0)" (identifier "FUN_0027afd0") (argument_list "(iVar5,unaff_EDI + 0x3e7702,9,2,0,piVar4,4,0)" (( "(") (identifier "iVar5") (, ",") (binary_expression "unaff_EDI + 0x3e7702" (identifier "unaff_EDI") (+ "+") (number_literal "0x3e7702")) (, ",") (number_literal "9") (, ",") (number_literal "2") (, ",") (number_literal "0") (, ",") (identifier "piVar4") (, ",") (number_literal "4") (, ",") (number_literal "0") () ")"))) (; ";")) (return_statement "return *piVar3;" (return "return") (pointer_expression "*piVar3" (* "*") (identifier "piVar3")) (; ";")) (} "}"))) (expression_statement "FUN_002446e0(unaff_EDI + 0x3e24e4,0x5c,unaff_EDI + 0x3e97ff,0);" (call_expression "FUN_002446e0(unaff_EDI + 0x3e24e4,0x5c,unaff_EDI + 0x3e97ff,0)" (identifier "FUN_002446e0") (argument_list "(unaff_EDI + 0x3e24e4,0x5c,unaff_EDI + 0x3e97ff,0)" (( "(") (binary_expression "unaff_EDI + 0x3e24e4" (identifier "unaff_EDI") (+ "+") (number_literal "0x3e24e4")) (, ",") (number_literal "0x5c") (, ",") (binary_expression "unaff_EDI + 0x3e97ff" (identifier "unaff_EDI") (+ "+") (number_literal "0x3e97ff")) (, ",") (number_literal "0") () ")"))) (; ";")) (} "}"))) (expression_statement "FUN_002446e0(unaff_EDI + 0x3e7632,0x3f5,unaff_EDI + 0x3e953b);" (call_expression "FUN_002446e0(unaff_EDI + 0x3e7632,0x3f5,unaff_EDI + 0x3e953b)" (identifier "FUN_002446e0") (argument_list "(unaff_EDI + 0x3e7632,0x3f5,unaff_EDI + 0x3e953b)" (( "(") (binary_expression "unaff_EDI + 0x3e7632" (identifier "unaff_EDI") (+ "+") (number_literal "0x3e7632")) (, ",") (number_literal "0x3f5") (, ",") (binary_expression "unaff_EDI + 0x3e953b" (identifier "unaff_EDI") (+ "+") (number_literal "0x3e953b")) () ")"))) (; ";")) (} "}")))

/* WARNING: Enum "ELFOSABI": Some values do not have unique names */
/* WARNING: Enum "DT": Some values do not have unique names */
/* DWARF original prototype: Reloc_section * rel_dyn_section(Target_i386 * this, Layout * layout) */

type_6 * __thiscall
anon_unknown.dwarf_218a7e::Target_i386::rel_dyn_section(Target_i386 *this,type_3 *layout)

{
  type_1 *puVar1;
  type_1 uVar2;
  int var_4;
  int *piVar4;
  type_2 *posd;
  type_3 *var_2;
  int var_3;
  type_4 uVar5;
  uint64_t var_7;
  
  uVar5 = var_1();
  var_2 = (type_3 *)((type_5)uVar5 >> 0x20);
  piVar4 = (int *)uVar5;
  if ((type_6 *)*piVar4 != (type_6 *)0x0) {
    return (type_6 *)*piVar4;
  }
  if (var_2 != (type_3 *)0x0) {
    var_4 = *(int *)(*(int *)((int)&DWORD_00584a3c + var_3 + 3) + 8);
    if (var_4 != 0) {
      uVar2 = *(type_1 *)(var_4 + 0x4df1);
      posd = (type_2 *)var_5(0x40);
                    /* try { // try from 00065de8 to 00065dec has its CatchHandler @ 00065eba */
      var_7 = gold::Output_data::var_6(0x20);
      *(int *)&posd->addralign_ = (int)var_7;
      *(type_7 *)&(posd->super_Output_data).address_ = 0;
      *(type_1 *)&posd[1].super_Output_data.address_ = uVar2;
      (posd->super_Output_data)._vptr_Output_data = (type_8 **)(var_3 + 0x5762a7);
      *(type_7 *)((int)&(posd->super_Output_data).address_ + 4) = 0;
      *piVar4 = (int)posd;
      *(type_7 *)&(posd->super_Output_data).data_size_ = 0;
      *(type_7 *)((int)&(posd->super_Output_data).data_size_ + 4) = 0;
      *(type_7 *)&(posd->super_Output_data).offset_ = 0xffffffff;
      *(type_7 *)((int)&(posd->super_Output_data).offset_ + 4) = 0xffffffff;
      puVar1 = &(posd->super_Output_data).field_0x1c;
      *puVar1 = *puVar1 & 0xe0;
      posd->output_section_ = (type_9 *)0x0;
      *(int *)((int)&posd->addralign_ + 4) = (int)(var_7 >> 0x20);
      posd[1].super_Output_data._vptr_Output_data = (type_8 **)0x0;
      *(type_7 *)((int)&posd[1].super_Output_data.address_ + 4) = 0;
      *(type_7 *)&posd[1].super_Output_data.data_size_ = 0;
      *(type_7 *)((int)&posd[1].super_Output_data.data_size_ + 4) = 0;
      gold::Layout::var_8
                (var_2,(char *)(var_3 + 0x3e7702),9,2,posd,ORDER_DYNAMIC_RELOCS,false);
      return (type_6 *)*piVar4;
    }
                    /* WARNING: Subroutine does not return */
    gold::var_9((char *)(var_3 + 0x3e24e4),0x5c,(char *)(var_3 + 0x3e97ff));
  }
                    /* WARNING: Subroutine does not return */
  gold::var_9(&UNK_003e7632 + var_3,0x3f5,&UNK_003e953b + var_3);
}


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

int MASKED(void)

{
  undefined1 uVar1;
  int iVar2;
  int *piVar3;
  int *piVar4;
  int iVar5;
  int unaff_EDI;
  undefined8 uVar6;
  
  uVar6 = FUN_00074f0a();
  iVar5 = (int)((ulonglong)uVar6 >> 0x20);
  piVar3 = (int *)uVar6;
  if (*piVar3 != 0) {
    return *piVar3;
  }
  if (iVar5 != 0) {
    iVar2 = *(int *)(*(int *)((int)&DWORD_00584a3c + unaff_EDI + 3) + 8);
    if (iVar2 != 0) {
      uVar1 = *(undefined1 *)(iVar2 + 0x4df1);
      piVar4 = (int *)FUN_003ac4d0(0x40);
                    /* try { // try from 00065de8 to 00065dec has its CatchHandler @ 00065eba */
      uVar6 = FUN_002c5bb0(0x20);
      piVar4[9] = (int)uVar6;
      piVar4[1] = 0;
      *(undefined1 *)(piVar4 + 0xc) = uVar1;
      *piVar4 = unaff_EDI + 0x5762a7;
      piVar4[2] = 0;
      *piVar3 = (int)piVar4;
      piVar4[3] = 0;
      piVar4[4] = 0;
      piVar4[5] = -1;
      piVar4[6] = -1;
      *(byte *)(piVar4 + 7) = *(byte *)(piVar4 + 7) & 0xe0;
      piVar4[8] = 0;
      piVar4[10] = (int)((ulonglong)uVar6 >> 0x20);
      piVar4[0xb] = 0;
      piVar4[0xd] = 0;
      piVar4[0xe] = 0;
      piVar4[0xf] = 0;
      FUN_0027afd0(iVar5,unaff_EDI + 0x3e7702,9,2,0,piVar4,4,0);
      return *piVar3;
    }
                    /* WARNING: Subroutine does not return */
    FUN_002446e0(unaff_EDI + 0x3e24e4,0x5c,unaff_EDI + 0x3e97ff,0);
  }
                    /* WARNING: Subroutine does not return */
  FUN_002446e0(unaff_EDI + 0x3e7632,0x3f5,unaff_EDI + 0x3e953b);
}

