
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Enum "DT": Some values do not have unique names */
/* WARNING: Enum "ELFOSABI": Some values do not have unique names */
/* DWARF original prototype: void prepare_for_relaxation(Layout * this) */

void __thiscall gold::Layout::prepare_for_relaxation(Layout *this)

{
  Output_section *this_00;
  Segment_states *segment_states;
  Relaxation_debug_check *pRVar1;
  uint uVar2;
  pointer ppOVar3;
  
  if ((parameters->options_ != (General_options *)0x0) && ((parameters->debug_ & 8) != 0)) {
    pRVar1 = (Relaxation_debug_check *)operator_new(0xc);
    (pRVar1->section_infos_).
    super__Vector_base<gold::Layout::Relaxation_debug_check::Section_info,_std::allocator<gold::Layout::Relaxation_debug_check::Section_info>_>
    ._M_impl._M_start = (pointer)0x0;
    (pRVar1->section_infos_).
    super__Vector_base<gold::Layout::Relaxation_debug_check::Section_info,_std::allocator<gold::Layout::Relaxation_debug_check::Section_info>_>
    ._M_impl._M_finish = (pointer)0x0;
    (pRVar1->section_infos_).
    super__Vector_base<gold::Layout::Relaxation_debug_check::Section_info,_std::allocator<gold::Layout::Relaxation_debug_check::Section_info>_>
    ._M_impl._M_end_of_storage = (pointer)0x0;
    this->relaxation_debug_check_ = pRVar1;
  }
  segment_states = (Segment_states *)operator_new(0x1c);
  uVar2 = 0;
  do {
    *(undefined4 *)((int)&(segment_states->_M_h)._M_buckets + uVar2) = 0;
    uVar2 = uVar2 + 4;
  } while (uVar2 < 0x1c);
  (segment_states->_M_h)._M_bucket_count = 1;
  (segment_states->_M_h)._M_buckets = &(segment_states->_M_h)._M_single_bucket;
  (segment_states->_M_h)._M_before_begin._M_nxt = (_Hash_node_base *)0x0;
  (segment_states->_M_h)._M_element_count = 0;
  (segment_states->_M_h)._M_rehash_policy._M_max_load_factor = 1.0;
  (segment_states->_M_h)._M_rehash_policy._M_next_resize = 0;
  (segment_states->_M_h)._M_single_bucket = (__bucket_type)0x0;
  this->segment_states_ = segment_states;
  save_segments(this,segment_states);
  ppOVar3 = (this->section_list_).
            super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>.
            _M_impl._M_start;
  if (ppOVar3 !=
      (this->section_list_).
      super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>._M_impl.
      _M_finish) {
    do {
      this_00 = *ppOVar3;
      ppOVar3 = ppOVar3 + 1;
      Output_section::save_states(this_00);
    } while ((this->section_list_).
             super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>.
             _M_impl._M_finish != ppOVar3);
  }
  if ((parameters->options_ != (General_options *)0x0) && ((parameters->debug_ & 8) != 0)) {
    Relaxation_debug_check::check_output_data_for_reset_values
              (this->relaxation_debug_check_,&this->section_list_,&this->special_output_list_,
               &this->relax_output_list_);
  }
  this->record_output_section_data_from_script_ = true;
  return;
}



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

void FUN_000b1280(int param_1)

{
  undefined4 uVar1;
  int *piVar2;
  undefined4 *puVar3;
  uint uVar4;
  
  if ((*(int *)(DAT_0033f2f0 + 8) != 0) && ((*(byte *)(DAT_0033f2f0 + 0x14) & 8) != 0)) {
    puVar3 = (undefined4 *)FUN_001aa8c0(0xc);
    *puVar3 = 0;
    puVar3[1] = 0;
    puVar3[2] = 0;
    *(undefined4 **)(param_1 + 0x1e8) = puVar3;
  }
  piVar2 = (int *)FUN_001aa8c0(0x1c);
  uVar4 = 0;
  do {
    *(undefined4 *)((int)piVar2 + uVar4) = 0;
    uVar4 = uVar4 + 4;
  } while (uVar4 < 0x1c);
  piVar2[1] = 1;
  *piVar2 = (int)(piVar2 + 6);
  piVar2[2] = 0;
  piVar2[3] = 0;
  piVar2[4] = 0x3f800000;
  piVar2[5] = 0;
  piVar2[6] = 0;
  *(int **)(param_1 + 0x1e4) = piVar2;
  FUN_000b0f70(param_1,piVar2);
  puVar3 = *(undefined4 **)(param_1 + 0x130);
  if (puVar3 != *(undefined4 **)(param_1 + 0x134)) {
    do {
      uVar1 = *puVar3;
      puVar3 = puVar3 + 1;
      FUN_000e9d90(uVar1);
    } while (*(undefined4 **)(param_1 + 0x134) != puVar3);
  }
  if ((*(int *)(DAT_0033f2f0 + 8) != 0) && ((*(byte *)(DAT_0033f2f0 + 0x14) & 8) != 0)) {
    FUN_000a8a80(*(undefined4 *)(param_1 + 0x1e8),param_1 + 0x130,param_1 + 0x148,param_1 + 0x154);
  }
  *(undefined1 *)(param_1 + 0x1d4) = 1;
  return;
}


PUSH EBP
MOV EBP,ESP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00035680
ADD EBX,0x28dd75
SUB ESP,0x1c
MOV EDI,dword ptr [EBP + 0x8]
LEA EAX,[EBX + 0x2f0]
MOV dword ptr [EBP + -0x1c],EAX
MOV EAX,dword ptr [EAX]
MOV EDX,dword ptr [EAX + 0x8]
TEST EDX,EDX
JZ 0x000b12b3
TEST byte ptr [EAX + 0x14],0x8
JNZ 0x000b1380
SUB ESP,0xc
PUSH 0x1c
CALL 0x001aa8c0
XOR ECX,ECX
XOR EDX,EDX
MOV dword ptr [EAX + EDX*0x1],ECX
ADD EDX,0x4
CMP EDX,0x1c
JC 0x000b12c1
LEA EDX,[EAX + 0x18]
MOV dword ptr [EAX + 0x4],0x1
MOV dword ptr [EAX],EDX
MOV dword ptr [EAX + 0x8],0x0
MOV dword ptr [EAX + 0xc],0x0
MOV dword ptr [EAX + 0x10],0x3f800000
MOV dword ptr [EAX + 0x14],0x0
MOV dword ptr [EAX + 0x18],0x0
MOV dword ptr [EDI + 0x1e4],EAX
POP ECX
POP ESI
PUSH EAX
PUSH EDI
CALL 0x000b0f70
MOV ESI,dword ptr [EDI + 0x130]
ADD ESP,0x10
CMP ESI,dword ptr [EDI + 0x134]
JZ 0x000b1338
LEA ESI,[ESI]
NOP
SUB ESP,0xc
PUSH dword ptr [ESI]
ADD ESI,0x4
CALL 0x000e9d90
ADD ESP,0x10
CMP dword ptr [EDI + 0x134],ESI
JNZ 0x000b1320
MOV EAX,dword ptr [EBP + -0x1c]
MOV EAX,dword ptr [EAX]
MOV EDX,dword ptr [EAX + 0x8]
TEST EDX,EDX
JZ 0x000b136d
TEST byte ptr [EAX + 0x14],0x8
JZ 0x000b136d
LEA EAX,[EDI + 0x154]
PUSH EAX
LEA EAX,[EDI + 0x148]
PUSH EAX
LEA EAX,[EDI + 0x130]
PUSH EAX
PUSH dword ptr [EDI + 0x1e8]
CALL 0x000a8a80
ADD ESP,0x10
MOV byte ptr [EDI + 0x1d4],0x1
LEA ESP,[EBP + -0xc]
POP EBX
POP ESI
POP EDI
POP EBP
RET
SUB ESP,0xc
PUSH 0xc
CALL 0x001aa8c0
ADD ESP,0x10
MOV dword ptr [EAX],0x0
MOV dword ptr [EAX + 0x4],0x0
MOV dword ptr [EAX + 0x8],0x0
MOV dword ptr [EDI + 0x1e8],EAX
JMP 0x000b12b3
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_000b1280(int param_1)\n\n{\n  undefined4 uVar1;\n  int *piVar2;\n  undefined4 *puVar3;\n  uint uVar4;\n  \n  if ((*(int *)(DAT_0033f2f0 + 8) != 0) && ((*(byte *)(DAT_0033f2f0 + 0x14) & 8) != 0)) {\n    puVar3 = (undefined4 *)FUN_001aa8c0(0xc);\n    *puVar3 = 0;\n    puVar3[1] = 0;\n    puVar3[2] = 0;\n    *(undefined4 **)(param_1 + 0x1e8) = puVar3;\n  }\n  piVar2 = (int *)FUN_001aa8c0(0x1c);\n  uVar4 = 0;\n  do {\n    *(undefined4 *)((int)piVar2 + uVar4) = 0;\n    uVar4 = uVar4 + 4;\n  } while (uVar4 < 0x1c);\n  piVar2[1] = 1;\n  *piVar2 = (int)(piVar2 + 6);\n  piVar2[2] = 0;\n  piVar2[3] = 0;\n  piVar2[4] = 0x3f800000;\n  piVar2[5] = 0;\n  piVar2[6] = 0;\n  *(int **)(param_1 + 0x1e4) = piVar2;\n  FUN_000b0f70(param_1,piVar2);\n  puVar3 = *(undefined4 **)(param_1 + 0x130);\n  if (puVar3 != *(undefined4 **)(param_1 + 0x134)) {\n    do {\n      uVar1 = *puVar3;\n      puVar3 = puVar3 + 1;\n      FUN_000e9d90(uVar1);\n    } while (*(undefined4 **)(param_1 + 0x134) != puVar3);\n  }\n  if ((*(int *)(DAT_0033f2f0 + 8) != 0) && ((*(byte *)(DAT_0033f2f0 + 0x14) & 8) != 0)) {\n    FUN_000a8a80(*(undefined4 *)(param_1 + 0x1e8),param_1 + 0x130,param_1 + 0x148,param_1 + 0x154);\n  }\n  *(undefined1 *)(param_1 + 0x1d4) = 1;\n  return;\n}\n\n" comment (function_definition "void FUN_000b1280(int param_1)\n\n{\n  undefined4 uVar1;\n  int *piVar2;\n  undefined4 *puVar3;\n  uint uVar4;\n  \n  if ((*(int *)(DAT_0033f2f0 + 8) != 0) && ((*(byte *)(DAT_0033f2f0 + 0x14) & 8) != 0)) {\n    puVar3 = (undefined4 *)FUN_001aa8c0(0xc);\n    *puVar3 = 0;\n    puVar3[1] = 0;\n    puVar3[2] = 0;\n    *(undefined4 **)(param_1 + 0x1e8) = puVar3;\n  }\n  piVar2 = (int *)FUN_001aa8c0(0x1c);\n  uVar4 = 0;\n  do {\n    *(undefined4 *)((int)piVar2 + uVar4) = 0;\n    uVar4 = uVar4 + 4;\n  } while (uVar4 < 0x1c);\n  piVar2[1] = 1;\n  *piVar2 = (int)(piVar2 + 6);\n  piVar2[2] = 0;\n  piVar2[3] = 0;\n  piVar2[4] = 0x3f800000;\n  piVar2[5] = 0;\n  piVar2[6] = 0;\n  *(int **)(param_1 + 0x1e4) = piVar2;\n  FUN_000b0f70(param_1,piVar2);\n  puVar3 = *(undefined4 **)(param_1 + 0x130);\n  if (puVar3 != *(undefined4 **)(param_1 + 0x134)) {\n    do {\n      uVar1 = *puVar3;\n      puVar3 = puVar3 + 1;\n      FUN_000e9d90(uVar1);\n    } while (*(undefined4 **)(param_1 + 0x134) != puVar3);\n  }\n  if ((*(int *)(DAT_0033f2f0 + 8) != 0) && ((*(byte *)(DAT_0033f2f0 + 0x14) & 8) != 0)) {\n    FUN_000a8a80(*(undefined4 *)(param_1 + 0x1e8),param_1 + 0x130,param_1 + 0x148,param_1 + 0x154);\n  }\n  *(undefined1 *)(param_1 + 0x1d4) = 1;\n  return;\n}" primitive_type (function_declarator "FUN_000b1280(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  int *piVar2;\n  undefined4 *puVar3;\n  uint uVar4;\n  \n  if ((*(int *)(DAT_0033f2f0 + 8) != 0) && ((*(byte *)(DAT_0033f2f0 + 0x14) & 8) != 0)) {\n    puVar3 = (undefined4 *)FUN_001aa8c0(0xc);\n    *puVar3 = 0;\n    puVar3[1] = 0;\n    puVar3[2] = 0;\n    *(undefined4 **)(param_1 + 0x1e8) = puVar3;\n  }\n  piVar2 = (int *)FUN_001aa8c0(0x1c);\n  uVar4 = 0;\n  do {\n    *(undefined4 *)((int)piVar2 + uVar4) = 0;\n    uVar4 = uVar4 + 4;\n  } while (uVar4 < 0x1c);\n  piVar2[1] = 1;\n  *piVar2 = (int)(piVar2 + 6);\n  piVar2[2] = 0;\n  piVar2[3] = 0;\n  piVar2[4] = 0x3f800000;\n  piVar2[5] = 0;\n  piVar2[6] = 0;\n  *(int **)(param_1 + 0x1e4) = piVar2;\n  FUN_000b0f70(param_1,piVar2);\n  puVar3 = *(undefined4 **)(param_1 + 0x130);\n  if (puVar3 != *(undefined4 **)(param_1 + 0x134)) {\n    do {\n      uVar1 = *puVar3;\n      puVar3 = puVar3 + 1;\n      FUN_000e9d90(uVar1);\n    } while (*(undefined4 **)(param_1 + 0x134) != puVar3);\n  }\n  if ((*(int *)(DAT_0033f2f0 + 8) != 0) && ((*(byte *)(DAT_0033f2f0 + 0x14) & 8) != 0)) {\n    FUN_000a8a80(*(undefined4 *)(param_1 + 0x1e8),param_1 + 0x130,param_1 + 0x148,param_1 + 0x154);\n  }\n  *(undefined1 *)(param_1 + 0x1d4) = 1;\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "uint uVar4;" type_identifier identifier ;) (if_statement "if ((*(int *)(DAT_0033f2f0 + 8) != 0) && ((*(byte *)(DAT_0033f2f0 + 0x14) & 8) != 0)) {\n    puVar3 = (undefined4 *)FUN_001aa8c0(0xc);\n    *puVar3 = 0;\n    puVar3[1] = 0;\n    puVar3[2] = 0;\n    *(undefined4 **)(param_1 + 0x1e8) = puVar3;\n  }" if (parenthesized_expression "((*(int *)(DAT_0033f2f0 + 8) != 0) && ((*(byte *)(DAT_0033f2f0 + 0x14) & 8) != 0))" ( (binary_expression "(*(int *)(DAT_0033f2f0 + 8) != 0) && ((*(byte *)(DAT_0033f2f0 + 0x14) & 8) != 0)" (parenthesized_expression "(*(int *)(DAT_0033f2f0 + 8) != 0)" ( (binary_expression "*(int *)(DAT_0033f2f0 + 8) != 0" (pointer_expression "*(int *)(DAT_0033f2f0 + 8)" * (cast_expression "(int *)(DAT_0033f2f0 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0033f2f0 + 8)" ( (binary_expression "DAT_0033f2f0 + 8" identifier + number_literal) )))) != number_literal) )) && (parenthesized_expression "((*(byte *)(DAT_0033f2f0 + 0x14) & 8) != 0)" ( (binary_expression "(*(byte *)(DAT_0033f2f0 + 0x14) & 8) != 0" (parenthesized_expression "(*(byte *)(DAT_0033f2f0 + 0x14) & 8)" ( (binary_expression "*(byte *)(DAT_0033f2f0 + 0x14) & 8" (pointer_expression "*(byte *)(DAT_0033f2f0 + 0x14)" * (cast_expression "(byte *)(DAT_0033f2f0 + 0x14)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0033f2f0 + 0x14)" ( (binary_expression "DAT_0033f2f0 + 0x14" identifier + number_literal) )))) & number_literal) )) != number_literal) ))) )) (compound_statement "{\n    puVar3 = (undefined4 *)FUN_001aa8c0(0xc);\n    *puVar3 = 0;\n    puVar3[1] = 0;\n    puVar3[2] = 0;\n    *(undefined4 **)(param_1 + 0x1e8) = puVar3;\n  }" { (expression_statement "puVar3 = (undefined4 *)FUN_001aa8c0(0xc);" (assignment_expression "puVar3 = (undefined4 *)FUN_001aa8c0(0xc)" identifier = (cast_expression "(undefined4 *)FUN_001aa8c0(0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_001aa8c0(0xc)" identifier (argument_list "(0xc)" ( number_literal ))))) ;) (expression_statement "*puVar3 = 0;" (assignment_expression "*puVar3 = 0" (pointer_expression "*puVar3" * identifier) = number_literal) ;) (expression_statement "puVar3[1] = 0;" (assignment_expression "puVar3[1] = 0" (subscript_expression "puVar3[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar3[2] = 0;" (assignment_expression "puVar3[2] = 0" (subscript_expression "puVar3[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined4 **)(param_1 + 0x1e8) = puVar3;" (assignment_expression "*(undefined4 **)(param_1 + 0x1e8) = puVar3" (pointer_expression "*(undefined4 **)(param_1 + 0x1e8)" * (cast_expression "(undefined4 **)(param_1 + 0x1e8)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x1e8)" ( (binary_expression "param_1 + 0x1e8" identifier + number_literal) )))) = identifier) ;) })) (expression_statement "piVar2 = (int *)FUN_001aa8c0(0x1c);" (assignment_expression "piVar2 = (int *)FUN_001aa8c0(0x1c)" identifier = (cast_expression "(int *)FUN_001aa8c0(0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_001aa8c0(0x1c)" identifier (argument_list "(0x1c)" ( number_literal ))))) ;) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) (do_statement "do {\n    *(undefined4 *)((int)piVar2 + uVar4) = 0;\n    uVar4 = uVar4 + 4;\n  } while (uVar4 < 0x1c);" do (compound_statement "{\n    *(undefined4 *)((int)piVar2 + uVar4) = 0;\n    uVar4 = uVar4 + 4;\n  }" { (expression_statement "*(undefined4 *)((int)piVar2 + uVar4) = 0;" (assignment_expression "*(undefined4 *)((int)piVar2 + uVar4) = 0" (pointer_expression "*(undefined4 *)((int)piVar2 + uVar4)" * (cast_expression "(undefined4 *)((int)piVar2 + uVar4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar2 + uVar4)" ( (binary_expression "(int)piVar2 + uVar4" (cast_expression "(int)piVar2" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) = number_literal) ;) (expression_statement "uVar4 = uVar4 + 4;" (assignment_expression "uVar4 = uVar4 + 4" identifier = (binary_expression "uVar4 + 4" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar4 < 0x1c)" ( (binary_expression "uVar4 < 0x1c" identifier < number_literal) )) ;) (expression_statement "piVar2[1] = 1;" (assignment_expression "piVar2[1] = 1" (subscript_expression "piVar2[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*piVar2 = (int)(piVar2 + 6);" (assignment_expression "*piVar2 = (int)(piVar2 + 6)" (pointer_expression "*piVar2" * identifier) = (cast_expression "(int)(piVar2 + 6)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(piVar2 + 6)" ( (binary_expression "piVar2 + 6" identifier + number_literal) )))) ;) (expression_statement "piVar2[2] = 0;" (assignment_expression "piVar2[2] = 0" (subscript_expression "piVar2[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar2[3] = 0;" (assignment_expression "piVar2[3] = 0" (subscript_expression "piVar2[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar2[4] = 0x3f800000;" (assignment_expression "piVar2[4] = 0x3f800000" (subscript_expression "piVar2[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar2[5] = 0;" (assignment_expression "piVar2[5] = 0" (subscript_expression "piVar2[5]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar2[6] = 0;" (assignment_expression "piVar2[6] = 0" (subscript_expression "piVar2[6]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(int **)(param_1 + 0x1e4) = piVar2;" (assignment_expression "*(int **)(param_1 + 0x1e4) = piVar2" (pointer_expression "*(int **)(param_1 + 0x1e4)" * (cast_expression "(int **)(param_1 + 0x1e4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x1e4)" ( (binary_expression "param_1 + 0x1e4" identifier + number_literal) )))) = identifier) ;) (expression_statement "FUN_000b0f70(param_1,piVar2);" (call_expression "FUN_000b0f70(param_1,piVar2)" identifier (argument_list "(param_1,piVar2)" ( identifier , identifier ))) ;) (expression_statement "puVar3 = *(undefined4 **)(param_1 + 0x130);" (assignment_expression "puVar3 = *(undefined4 **)(param_1 + 0x130)" identifier = (pointer_expression "*(undefined4 **)(param_1 + 0x130)" * (cast_expression "(undefined4 **)(param_1 + 0x130)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x130)" ( (binary_expression "param_1 + 0x130" identifier + number_literal) ))))) ;) (if_statement "if (puVar3 != *(undefined4 **)(param_1 + 0x134)) {\n    do {\n      uVar1 = *puVar3;\n      puVar3 = puVar3 + 1;\n      FUN_000e9d90(uVar1);\n    } while (*(undefined4 **)(param_1 + 0x134) != puVar3);\n  }" if (parenthesized_expression "(puVar3 != *(undefined4 **)(param_1 + 0x134))" ( (binary_expression "puVar3 != *(undefined4 **)(param_1 + 0x134)" identifier != (pointer_expression "*(undefined4 **)(param_1 + 0x134)" * (cast_expression "(undefined4 **)(param_1 + 0x134)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x134)" ( (binary_expression "param_1 + 0x134" identifier + number_literal) ))))) )) (compound_statement "{\n    do {\n      uVar1 = *puVar3;\n      puVar3 = puVar3 + 1;\n      FUN_000e9d90(uVar1);\n    } while (*(undefined4 **)(param_1 + 0x134) != puVar3);\n  }" { (do_statement "do {\n      uVar1 = *puVar3;\n      puVar3 = puVar3 + 1;\n      FUN_000e9d90(uVar1);\n    } while (*(undefined4 **)(param_1 + 0x134) != puVar3);" do (compound_statement "{\n      uVar1 = *puVar3;\n      puVar3 = puVar3 + 1;\n      FUN_000e9d90(uVar1);\n    }" { (expression_statement "uVar1 = *puVar3;" (assignment_expression "uVar1 = *puVar3" identifier = (pointer_expression "*puVar3" * identifier)) ;) (expression_statement "puVar3 = puVar3 + 1;" (assignment_expression "puVar3 = puVar3 + 1" identifier = (binary_expression "puVar3 + 1" identifier + number_literal)) ;) (expression_statement "FUN_000e9d90(uVar1);" (call_expression "FUN_000e9d90(uVar1)" identifier (argument_list "(uVar1)" ( identifier ))) ;) }) while (parenthesized_expression "(*(undefined4 **)(param_1 + 0x134) != puVar3)" ( (binary_expression "*(undefined4 **)(param_1 + 0x134) != puVar3" (pointer_expression "*(undefined4 **)(param_1 + 0x134)" * (cast_expression "(undefined4 **)(param_1 + 0x134)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x134)" ( (binary_expression "param_1 + 0x134" identifier + number_literal) )))) != identifier) )) ;) })) (if_statement "if ((*(int *)(DAT_0033f2f0 + 8) != 0) && ((*(byte *)(DAT_0033f2f0 + 0x14) & 8) != 0)) {\n    FUN_000a8a80(*(undefined4 *)(param_1 + 0x1e8),param_1 + 0x130,param_1 + 0x148,param_1 + 0x154);\n  }" if (parenthesized_expression "((*(int *)(DAT_0033f2f0 + 8) != 0) && ((*(byte *)(DAT_0033f2f0 + 0x14) & 8) != 0))" ( (binary_expression "(*(int *)(DAT_0033f2f0 + 8) != 0) && ((*(byte *)(DAT_0033f2f0 + 0x14) & 8) != 0)" (parenthesized_expression "(*(int *)(DAT_0033f2f0 + 8) != 0)" ( (binary_expression "*(int *)(DAT_0033f2f0 + 8) != 0" (pointer_expression "*(int *)(DAT_0033f2f0 + 8)" * (cast_expression "(int *)(DAT_0033f2f0 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0033f2f0 + 8)" ( (binary_expression "DAT_0033f2f0 + 8" identifier + number_literal) )))) != number_literal) )) && (parenthesized_expression "((*(byte *)(DAT_0033f2f0 + 0x14) & 8) != 0)" ( (binary_expression "(*(byte *)(DAT_0033f2f0 + 0x14) & 8) != 0" (parenthesized_expression "(*(byte *)(DAT_0033f2f0 + 0x14) & 8)" ( (binary_expression "*(byte *)(DAT_0033f2f0 + 0x14) & 8" (pointer_expression "*(byte *)(DAT_0033f2f0 + 0x14)" * (cast_expression "(byte *)(DAT_0033f2f0 + 0x14)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0033f2f0 + 0x14)" ( (binary_expression "DAT_0033f2f0 + 0x14" identifier + number_literal) )))) & number_literal) )) != number_literal) ))) )) (compound_statement "{\n    FUN_000a8a80(*(undefined4 *)(param_1 + 0x1e8),param_1 + 0x130,param_1 + 0x148,param_1 + 0x154);\n  }" { (expression_statement "FUN_000a8a80(*(undefined4 *)(param_1 + 0x1e8),param_1 + 0x130,param_1 + 0x148,param_1 + 0x154);" (call_expression "FUN_000a8a80(*(undefined4 *)(param_1 + 0x1e8),param_1 + 0x130,param_1 + 0x148,param_1 + 0x154)" identifier (argument_list "(*(undefined4 *)(param_1 + 0x1e8),param_1 + 0x130,param_1 + 0x148,param_1 + 0x154)" ( (pointer_expression "*(undefined4 *)(param_1 + 0x1e8)" * (cast_expression "(undefined4 *)(param_1 + 0x1e8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1e8)" ( (binary_expression "param_1 + 0x1e8" identifier + number_literal) )))) , (binary_expression "param_1 + 0x130" identifier + number_literal) , (binary_expression "param_1 + 0x148" identifier + number_literal) , (binary_expression "param_1 + 0x154" identifier + number_literal) ))) ;) })) (expression_statement "*(undefined1 *)(param_1 + 0x1d4) = 1;" (assignment_expression "*(undefined1 *)(param_1 + 0x1d4) = 1" (pointer_expression "*(undefined1 *)(param_1 + 0x1d4)" * (cast_expression "(undefined1 *)(param_1 + 0x1d4)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1d4)" ( (binary_expression "param_1 + 0x1d4" identifier + number_literal) )))) = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Enum "DT": Some values do not have unique names */\n/* WARNING: Enum "ELFOSABI": Some values do not have unique names */\n/* DWARF original prototype: void prepare_for_relaxation(Layout * this) */\n\nvoid __thiscall gold::Layout::prepare_for_relaxation(Layout *this)\n\n{\n  Output_section *this_00;\n  Segment_states *segment_states;\n  Relaxation_debug_check *pRVar1;\n  uint uVar2;\n  pointer ppOVar3;\n  \n  if ((parameters->options_ != (General_options *)0x0) && ((parameters->debug_ & 8) != 0)) {\n    pRVar1 = (Relaxation_debug_check *)operator_new(0xc);\n    (pRVar1->section_infos_).\n    super__Vector_base<gold::Layout::Relaxation_debug_check::Section_info,_std::allocator<gold::Layout::Relaxation_debug_check::Section_info>_>\n    ._M_impl._M_start = (pointer)0x0;\n    (pRVar1->section_infos_).\n    super__Vector_base<gold::Layout::Relaxation_debug_check::Section_info,_std::allocator<gold::Layout::Relaxation_debug_check::Section_info>_>\n    ._M_impl._M_finish = (pointer)0x0;\n    (pRVar1->section_infos_).\n    super__Vector_base<gold::Layout::Relaxation_debug_check::Section_info,_std::allocator<gold::Layout::Relaxation_debug_check::Section_info>_>\n    ._M_impl._M_end_of_storage = (pointer)0x0;\n    this->relaxation_debug_check_ = pRVar1;\n  }\n  segment_states = (Segment_states *)operator_new(0x1c);\n  uVar2 = 0;\n  do {\n    *(undefined4 *)((int)&(segment_states->_M_h)._M_buckets + uVar2) = 0;\n    uVar2 = uVar2 + 4;\n  } while (uVar2 < 0x1c);\n  (segment_states->_M_h)._M_bucket_count = 1;\n  (segment_states->_M_h)._M_buckets = &(segment_states->_M_h)._M_single_bucket;\n  (segment_states->_M_h)._M_before_begin._M_nxt = (_Hash_node_base *)0x0;\n  (segment_states->_M_h)._M_element_count = 0;\n  (segment_states->_M_h)._M_rehash_policy._M_max_load_factor = 1.0;\n  (segment_states->_M_h)._M_rehash_policy._M_next_resize = 0;\n  (segment_states->_M_h)._M_single_bucket = (__bucket_type)0x0;\n  this->segment_states_ = segment_states;\n  save_segments(this,segment_states);\n  ppOVar3 = (this->section_list_).\n            super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>.\n            _M_impl._M_start;\n  if (ppOVar3 !=\n      (this->section_list_).\n      super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>._M_impl.\n      _M_finish) {\n    do {\n      this_00 = *ppOVar3;\n      ppOVar3 = ppOVar3 + 1;\n      Output_section::save_states(this_00);\n    } while ((this->section_list_).\n             super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>.\n             _M_impl._M_finish != ppOVar3);\n  }\n  if ((parameters->options_ != (General_options *)0x0) && ((parameters->debug_ & 8) != 0)) {\n    Relaxation_debug_check::check_output_data_for_reset_values\n              (this->relaxation_debug_check_,&this->section_list_,&this->special_output_list_,\n               &this->relax_output_list_);\n  }\n  this->record_output_section_data_from_script_ = true;\n  return;\n}\n\n" comment comment comment comment (function_definition "void __thiscall gold::Layout::prepare_for_relaxation(Layout *this)\n\n{\n  Output_section *this_00;\n  Segment_states *segment_states;\n  Relaxation_debug_check *pRVar1;\n  uint uVar2;\n  pointer ppOVar3;\n  \n  if ((parameters->options_ != (General_options *)0x0) && ((parameters->debug_ & 8) != 0)) {\n    pRVar1 = (Relaxation_debug_check *)operator_new(0xc);\n    (pRVar1->section_infos_).\n    super__Vector_base<gold::Layout::Relaxation_debug_check::Section_info,_std::allocator<gold::Layout::Relaxation_debug_check::Section_info>_>\n    ._M_impl._M_start = (pointer)0x0;\n    (pRVar1->section_infos_).\n    super__Vector_base<gold::Layout::Relaxation_debug_check::Section_info,_std::allocator<gold::Layout::Relaxation_debug_check::Section_info>_>\n    ._M_impl._M_finish = (pointer)0x0;\n    (pRVar1->section_infos_).\n    super__Vector_base<gold::Layout::Relaxation_debug_check::Section_info,_std::allocator<gold::Layout::Relaxation_debug_check::Section_info>_>\n    ._M_impl._M_end_of_storage = (pointer)0x0;\n    this->relaxation_debug_check_ = pRVar1;\n  }\n  segment_states = (Segment_states *)operator_new(0x1c);\n  uVar2 = 0;\n  do {\n    *(undefined4 *)((int)&(segment_states->_M_h)._M_buckets + uVar2) = 0;\n    uVar2 = uVar2 + 4;\n  } while (uVar2 < 0x1c);\n  (segment_states->_M_h)._M_bucket_count = 1;\n  (segment_states->_M_h)._M_buckets = &(segment_states->_M_h)._M_single_bucket;\n  (segment_states->_M_h)._M_before_begin._M_nxt = (_Hash_node_base *)0x0;\n  (segment_states->_M_h)._M_element_count = 0;\n  (segment_states->_M_h)._M_rehash_policy._M_max_load_factor = 1.0;\n  (segment_states->_M_h)._M_rehash_policy._M_next_resize = 0;\n  (segment_states->_M_h)._M_single_bucket = (__bucket_type)0x0;\n  this->segment_states_ = segment_states;\n  save_segments(this,segment_states);\n  ppOVar3 = (this->section_list_).\n            super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>.\n            _M_impl._M_start;\n  if (ppOVar3 !=\n      (this->section_list_).\n      super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>._M_impl.\n      _M_finish) {\n    do {\n      this_00 = *ppOVar3;\n      ppOVar3 = ppOVar3 + 1;\n      Output_section::save_states(this_00);\n    } while ((this->section_list_).\n             super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>.\n             _M_impl._M_finish != ppOVar3);\n  }\n  if ((parameters->options_ != (General_options *)0x0) && ((parameters->debug_ & 8) != 0)) {\n    Relaxation_debug_check::check_output_data_for_reset_values\n              (this->relaxation_debug_check_,&this->section_list_,&this->special_output_list_,\n               &this->relax_output_list_);\n  }\n  this->record_output_section_data_from_script_ = true;\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Layout::" identifier : : identifier : :) (function_declarator "prepare_for_relaxation(Layout *this)" identifier (parameter_list "(Layout *this)" ( (parameter_declaration "Layout *this" type_identifier (pointer_declarator "*this" * identifier)) ))) (compound_statement "{\n  Output_section *this_00;\n  Segment_states *segment_states;\n  Relaxation_debug_check *pRVar1;\n  uint uVar2;\n  pointer ppOVar3;\n  \n  if ((parameters->options_ != (General_options *)0x0) && ((parameters->debug_ & 8) != 0)) {\n    pRVar1 = (Relaxation_debug_check *)operator_new(0xc);\n    (pRVar1->section_infos_).\n    super__Vector_base<gold::Layout::Relaxation_debug_check::Section_info,_std::allocator<gold::Layout::Relaxation_debug_check::Section_info>_>\n    ._M_impl._M_start = (pointer)0x0;\n    (pRVar1->section_infos_).\n    super__Vector_base<gold::Layout::Relaxation_debug_check::Section_info,_std::allocator<gold::Layout::Relaxation_debug_check::Section_info>_>\n    ._M_impl._M_finish = (pointer)0x0;\n    (pRVar1->section_infos_).\n    super__Vector_base<gold::Layout::Relaxation_debug_check::Section_info,_std::allocator<gold::Layout::Relaxation_debug_check::Section_info>_>\n    ._M_impl._M_end_of_storage = (pointer)0x0;\n    this->relaxation_debug_check_ = pRVar1;\n  }\n  segment_states = (Segment_states *)operator_new(0x1c);\n  uVar2 = 0;\n  do {\n    *(undefined4 *)((int)&(segment_states->_M_h)._M_buckets + uVar2) = 0;\n    uVar2 = uVar2 + 4;\n  } while (uVar2 < 0x1c);\n  (segment_states->_M_h)._M_bucket_count = 1;\n  (segment_states->_M_h)._M_buckets = &(segment_states->_M_h)._M_single_bucket;\n  (segment_states->_M_h)._M_before_begin._M_nxt = (_Hash_node_base *)0x0;\n  (segment_states->_M_h)._M_element_count = 0;\n  (segment_states->_M_h)._M_rehash_policy._M_max_load_factor = 1.0;\n  (segment_states->_M_h)._M_rehash_policy._M_next_resize = 0;\n  (segment_states->_M_h)._M_single_bucket = (__bucket_type)0x0;\n  this->segment_states_ = segment_states;\n  save_segments(this,segment_states);\n  ppOVar3 = (this->section_list_).\n            super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>.\n            _M_impl._M_start;\n  if (ppOVar3 !=\n      (this->section_list_).\n      super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>._M_impl.\n      _M_finish) {\n    do {\n      this_00 = *ppOVar3;\n      ppOVar3 = ppOVar3 + 1;\n      Output_section::save_states(this_00);\n    } while ((this->section_list_).\n             super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>.\n             _M_impl._M_finish != ppOVar3);\n  }\n  if ((parameters->options_ != (General_options *)0x0) && ((parameters->debug_ & 8) != 0)) {\n    Relaxation_debug_check::check_output_data_for_reset_values\n              (this->relaxation_debug_check_,&this->section_list_,&this->special_output_list_,\n               &this->relax_output_list_);\n  }\n  this->record_output_section_data_from_script_ = true;\n  return;\n}" { (declaration "Output_section *this_00;" type_identifier (pointer_declarator "*this_00" * identifier) ;) (declaration "Segment_states *segment_states;" type_identifier (pointer_declarator "*segment_states" * identifier) ;) (declaration "Relaxation_debug_check *pRVar1;" type_identifier (pointer_declarator "*pRVar1" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "pointer ppOVar3;" type_identifier identifier ;) (if_statement "if ((parameters->options_ != (General_options *)0x0) && ((parameters->debug_ & 8) != 0)) {\n    pRVar1 = (Relaxation_debug_check *)operator_new(0xc);\n    (pRVar1->section_infos_).\n    super__Vector_base<gold::Layout::Relaxation_debug_check::Section_info,_std::allocator<gold::Layout::Relaxation_debug_check::Section_info>_>\n    ._M_impl._M_start = (pointer)0x0;\n    (pRVar1->section_infos_).\n    super__Vector_base<gold::Layout::Relaxation_debug_check::Section_info,_std::allocator<gold::Layout::Relaxation_debug_check::Section_info>_>\n    ._M_impl._M_finish = (pointer)0x0;\n    (pRVar1->section_infos_).\n    super__Vector_base<gold::Layout::Relaxation_debug_check::Section_info,_std::allocator<gold::Layout::Relaxation_debug_check::Section_info>_>\n    ._M_impl._M_end_of_storage = (pointer)0x0;\n    this->relaxation_debug_check_ = pRVar1;\n  }" if (parenthesized_expression "((parameters->options_ != (General_options *)0x0) && ((parameters->debug_ & 8) != 0))" ( (binary_expression "(parameters->options_ != (General_options *)0x0) && ((parameters->debug_ & 8) != 0)" (parenthesized_expression "(parameters->options_ != (General_options *)0x0)" ( (binary_expression "parameters->options_ != (General_options *)0x0" (field_expression "parameters->options_" identifier -> field_identifier) != (cast_expression "(General_options *)0x0" ( (type_descriptor "General_options *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "((parameters->debug_ & 8) != 0)" ( (binary_expression "(parameters->debug_ & 8) != 0" (parenthesized_expression "(parameters->debug_ & 8)" ( (binary_expression "parameters->debug_ & 8" (field_expression "parameters->debug_" identifier -> field_identifier) & number_literal) )) != number_literal) ))) )) (compound_statement "{\n    pRVar1 = (Relaxation_debug_check *)operator_new(0xc);\n    (pRVar1->section_infos_).\n    super__Vector_base<gold::Layout::Relaxation_debug_check::Section_info,_std::allocator<gold::Layout::Relaxation_debug_check::Section_info>_>\n    ._M_impl._M_start = (pointer)0x0;\n    (pRVar1->section_infos_).\n    super__Vector_base<gold::Layout::Relaxation_debug_check::Section_info,_std::allocator<gold::Layout::Relaxation_debug_check::Section_info>_>\n    ._M_impl._M_finish = (pointer)0x0;\n    (pRVar1->section_infos_).\n    super__Vector_base<gold::Layout::Relaxation_debug_check::Section_info,_std::allocator<gold::Layout::Relaxation_debug_check::Section_info>_>\n    ._M_impl._M_end_of_storage = (pointer)0x0;\n    this->relaxation_debug_check_ = pRVar1;\n  }" { (expression_statement "pRVar1 = (Relaxation_debug_check *)operator_new(0xc);" (assignment_expression "pRVar1 = (Relaxation_debug_check *)operator_new(0xc)" identifier = (cast_expression "(Relaxation_debug_check *)operator_new(0xc)" ( (type_descriptor "Relaxation_debug_check *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "operator_new(0xc)" identifier (argument_list "(0xc)" ( number_literal ))))) ;) (ERROR "(pRVar1->section_infos_).\n    super__Vector_base<gold::" (binary_expression "(pRVar1->section_infos_).\n    super__Vector_base<gold" (field_expression "(pRVar1->section_infos_).\n    super__Vector_base" (parenthesized_expression "(pRVar1->section_infos_)" ( (field_expression "pRVar1->section_infos_" identifier -> field_identifier) )) . field_identifier) < identifier) : :) (labeled_statement "Layout::Relaxation_debug_check::Section_info,_std::allocator<gold::Layout::Relaxation_debug_check::Section_info>_>\n    ._M_impl._M_start = (pointer)0x0;" statement_identifier : (ERROR ":" :) (labeled_statement "Relaxation_debug_check::Section_info,_std::allocator<gold::Layout::Relaxation_debug_check::Section_info>_>\n    ._M_impl._M_start = (pointer)0x0;" statement_identifier (ERROR "::Section_info,_std::allocator<gold:" : : (comma_expression "Section_info,_std" identifier , identifier) : : (binary_expression "allocator<gold" identifier < identifier) :) : (labeled_statement "Layout::Relaxation_debug_check::Section_info>_>\n    ._M_impl._M_start = (pointer)0x0;" statement_identifier : (ERROR ":" :) (labeled_statement "Relaxation_debug_check::Section_info>_>\n    ._M_impl._M_start = (pointer)0x0;" statement_identifier : (ERROR ":" :) (expression_statement "Section_info>_>\n    ._M_impl._M_start = (pointer)0x0;" (assignment_expression "Section_info>_>\n    ._M_impl._M_start = (pointer)0x0" (field_expression "Section_info>_>\n    ._M_impl._M_start" (field_expression "Section_info>_>\n    ._M_impl" (binary_expression "Section_info>_" identifier > identifier) (ERROR ">" >) . field_identifier) . field_identifier) = (cast_expression "(pointer)0x0" ( (type_descriptor "pointer" type_identifier) ) number_literal)) ;))))) (ERROR "(pRVar1->section_infos_).\n    super__Vector_base<gold::" (binary_expression "(pRVar1->section_infos_).\n    super__Vector_base<gold" (field_expression "(pRVar1->section_infos_).\n    super__Vector_base" (parenthesized_expression "(pRVar1->section_infos_)" ( (field_expression "pRVar1->section_infos_" identifier -> field_identifier) )) . field_identifier) < identifier) : :) (labeled_statement "Layout::Relaxation_debug_check::Section_info,_std::allocator<gold::Layout::Relaxation_debug_check::Section_info>_>\n    ._M_impl._M_finish = (pointer)0x0;" statement_identifier : (ERROR ":" :) (labeled_statement "Relaxation_debug_check::Section_info,_std::allocator<gold::Layout::Relaxation_debug_check::Section_info>_>\n    ._M_impl._M_finish = (pointer)0x0;" statement_identifier (ERROR "::Section_info,_std::allocator<gold:" : : (comma_expression "Section_info,_std" identifier , identifier) : : (binary_expression "allocator<gold" identifier < identifier) :) : (labeled_statement "Layout::Relaxation_debug_check::Section_info>_>\n    ._M_impl._M_finish = (pointer)0x0;" statement_identifier : (ERROR ":" :) (labeled_statement "Relaxation_debug_check::Section_info>_>\n    ._M_impl._M_finish = (pointer)0x0;" statement_identifier : (ERROR ":" :) (expression_statement "Section_info>_>\n    ._M_impl._M_finish = (pointer)0x0;" (assignment_expression "Section_info>_>\n    ._M_impl._M_finish = (pointer)0x0" (field_expression "Section_info>_>\n    ._M_impl._M_finish" (field_expression "Section_info>_>\n    ._M_impl" (binary_expression "Section_info>_" identifier > identifier) (ERROR ">" >) . field_identifier) . field_identifier) = (cast_expression "(pointer)0x0" ( (type_descriptor "pointer" type_identifier) ) number_literal)) ;))))) (ERROR "(pRVar1->section_infos_).\n    super__Vector_base<gold::" (binary_expression "(pRVar1->section_infos_).\n    super__Vector_base<gold" (field_expression "(pRVar1->section_infos_).\n    super__Vector_base" (parenthesized_expression "(pRVar1->section_infos_)" ( (field_expression "pRVar1->section_infos_" identifier -> field_identifier) )) . field_identifier) < identifier) : :) (labeled_statement "Layout::Relaxation_debug_check::Section_info,_std::allocator<gold::Layout::Relaxation_debug_check::Section_info>_>\n    ._M_impl._M_end_of_storage = (pointer)0x0;" statement_identifier : (ERROR ":" :) (labeled_statement "Relaxation_debug_check::Section_info,_std::allocator<gold::Layout::Relaxation_debug_check::Section_info>_>\n    ._M_impl._M_end_of_storage = (pointer)0x0;" statement_identifier (ERROR "::Section_info,_std::allocator<gold:" : : (comma_expression "Section_info,_std" identifier , identifier) : : (binary_expression "allocator<gold" identifier < identifier) :) : (labeled_statement "Layout::Relaxation_debug_check::Section_info>_>\n    ._M_impl._M_end_of_storage = (pointer)0x0;" statement_identifier : (ERROR ":" :) (labeled_statement "Relaxation_debug_check::Section_info>_>\n    ._M_impl._M_end_of_storage = (pointer)0x0;" statement_identifier : (ERROR ":" :) (expression_statement "Section_info>_>\n    ._M_impl._M_end_of_storage = (pointer)0x0;" (assignment_expression "Section_info>_>\n    ._M_impl._M_end_of_storage = (pointer)0x0" (field_expression "Section_info>_>\n    ._M_impl._M_end_of_storage" (field_expression "Section_info>_>\n    ._M_impl" (binary_expression "Section_info>_" identifier > identifier) (ERROR ">" >) . field_identifier) . field_identifier) = (cast_expression "(pointer)0x0" ( (type_descriptor "pointer" type_identifier) ) number_literal)) ;))))) (expression_statement "this->relaxation_debug_check_ = pRVar1;" (assignment_expression "this->relaxation_debug_check_ = pRVar1" (field_expression "this->relaxation_debug_check_" identifier -> field_identifier) = identifier) ;) })) (expression_statement "segment_states = (Segment_states *)operator_new(0x1c);" (assignment_expression "segment_states = (Segment_states *)operator_new(0x1c)" identifier = (cast_expression "(Segment_states *)operator_new(0x1c)" ( (type_descriptor "Segment_states *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "operator_new(0x1c)" identifier (argument_list "(0x1c)" ( number_literal ))))) ;) (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) (do_statement "do {\n    *(undefined4 *)((int)&(segment_states->_M_h)._M_buckets + uVar2) = 0;\n    uVar2 = uVar2 + 4;\n  } while (uVar2 < 0x1c);" do (compound_statement "{\n    *(undefined4 *)((int)&(segment_states->_M_h)._M_buckets + uVar2) = 0;\n    uVar2 = uVar2 + 4;\n  }" { (expression_statement "*(undefined4 *)((int)&(segment_states->_M_h)._M_buckets + uVar2) = 0;" (assignment_expression "*(undefined4 *)((int)&(segment_states->_M_h)._M_buckets + uVar2) = 0" (pointer_expression "*(undefined4 *)((int)&(segment_states->_M_h)._M_buckets + uVar2)" * (cast_expression "(undefined4 *)((int)&(segment_states->_M_h)._M_buckets + uVar2)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&(segment_states->_M_h)._M_buckets + uVar2)" ( (binary_expression "(int)&(segment_states->_M_h)._M_buckets + uVar2" (cast_expression "(int)&(segment_states->_M_h)._M_buckets" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&(segment_states->_M_h)._M_buckets" & (field_expression "(segment_states->_M_h)._M_buckets" (parenthesized_expression "(segment_states->_M_h)" ( (field_expression "segment_states->_M_h" identifier -> field_identifier) )) . field_identifier))) + identifier) )))) = number_literal) ;) (expression_statement "uVar2 = uVar2 + 4;" (assignment_expression "uVar2 = uVar2 + 4" identifier = (binary_expression "uVar2 + 4" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar2 < 0x1c)" ( (binary_expression "uVar2 < 0x1c" identifier < number_literal) )) ;) (expression_statement "(segment_states->_M_h)._M_bucket_count = 1;" (assignment_expression "(segment_states->_M_h)._M_bucket_count = 1" (field_expression "(segment_states->_M_h)._M_bucket_count" (parenthesized_expression "(segment_states->_M_h)" ( (field_expression "segment_states->_M_h" identifier -> field_identifier) )) . field_identifier) = number_literal) ;) (expression_statement "(segment_states->_M_h)._M_buckets = &(segment_states->_M_h)._M_single_bucket;" (assignment_expression "(segment_states->_M_h)._M_buckets = &(segment_states->_M_h)._M_single_bucket" (field_expression "(segment_states->_M_h)._M_buckets" (parenthesized_expression "(segment_states->_M_h)" ( (field_expression "segment_states->_M_h" identifier -> field_identifier) )) . field_identifier) = (pointer_expression "&(segment_states->_M_h)._M_single_bucket" & (field_expression "(segment_states->_M_h)._M_single_bucket" (parenthesized_expression "(segment_states->_M_h)" ( (field_expression "segment_states->_M_h" identifier -> field_identifier) )) . field_identifier))) ;) (expression_statement "(segment_states->_M_h)._M_before_begin._M_nxt = (_Hash_node_base *)0x0;" (assignment_expression "(segment_states->_M_h)._M_before_begin._M_nxt = (_Hash_node_base *)0x0" (field_expression "(segment_states->_M_h)._M_before_begin._M_nxt" (field_expression "(segment_states->_M_h)._M_before_begin" (parenthesized_expression "(segment_states->_M_h)" ( (field_expression "segment_states->_M_h" identifier -> field_identifier) )) . field_identifier) . field_identifier) = (cast_expression "(_Hash_node_base *)0x0" ( (type_descriptor "_Hash_node_base *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "(segment_states->_M_h)._M_element_count = 0;" (assignment_expression "(segment_states->_M_h)._M_element_count = 0" (field_expression "(segment_states->_M_h)._M_element_count" (parenthesized_expression "(segment_states->_M_h)" ( (field_expression "segment_states->_M_h" identifier -> field_identifier) )) . field_identifier) = number_literal) ;) (expression_statement "(segment_states->_M_h)._M_rehash_policy._M_max_load_factor = 1.0;" (assignment_expression "(segment_states->_M_h)._M_rehash_policy._M_max_load_factor = 1.0" (field_expression "(segment_states->_M_h)._M_rehash_policy._M_max_load_factor" (field_expression "(segment_states->_M_h)._M_rehash_policy" (parenthesized_expression "(segment_states->_M_h)" ( (field_expression "segment_states->_M_h" identifier -> field_identifier) )) . field_identifier) . field_identifier) = number_literal) ;) (expression_statement "(segment_states->_M_h)._M_rehash_policy._M_next_resize = 0;" (assignment_expression "(segment_states->_M_h)._M_rehash_policy._M_next_resize = 0" (field_expression "(segment_states->_M_h)._M_rehash_policy._M_next_resize" (field_expression "(segment_states->_M_h)._M_rehash_policy" (parenthesized_expression "(segment_states->_M_h)" ( (field_expression "segment_states->_M_h" identifier -> field_identifier) )) . field_identifier) . field_identifier) = number_literal) ;) (expression_statement "(segment_states->_M_h)._M_single_bucket = (__bucket_type)0x0;" (assignment_expression "(segment_states->_M_h)._M_single_bucket = (__bucket_type)0x0" (field_expression "(segment_states->_M_h)._M_single_bucket" (parenthesized_expression "(segment_states->_M_h)" ( (field_expression "segment_states->_M_h" identifier -> field_identifier) )) . field_identifier) = (cast_expression "(__bucket_type)0x0" ( (type_descriptor "__bucket_type" type_identifier) ) number_literal)) ;) (expression_statement "this->segment_states_ = segment_states;" (assignment_expression "this->segment_states_ = segment_states" (field_expression "this->segment_states_" identifier -> field_identifier) = identifier) ;) (expression_statement "save_segments(this,segment_states);" (call_expression "save_segments(this,segment_states)" identifier (argument_list "(this,segment_states)" ( identifier , identifier ))) ;) (expression_statement "ppOVar3 = (this->section_list_).\n            super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>.\n            _M_impl._M_start;" (field_expression "ppOVar3 = (this->section_list_).\n            super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>.\n            _M_impl._M_start" (field_expression "ppOVar3 = (this->section_list_).\n            super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>.\n            _M_impl" (binary_expression "ppOVar3 = (this->section_list_).\n            super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_" (binary_expression "ppOVar3 = (this->section_list_).\n            super__Vector_base<gold::Output_section*,_std::allocator<gold" (binary_expression "ppOVar3 = (this->section_list_).\n            super__Vector_base<gold::Output_section*,_std" (assignment_expression "ppOVar3 = (this->section_list_).\n            super__Vector_base<gold" identifier = (binary_expression "(this->section_list_).\n            super__Vector_base<gold" (field_expression "(this->section_list_).\n            super__Vector_base" (parenthesized_expression "(this->section_list_)" ( (field_expression "this->section_list_" identifier -> field_identifier) )) . field_identifier) < identifier)) (ERROR "::Output_section" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Output_section" : : identifier) * (ERROR ">" >) identifier) (ERROR ">" >) . field_identifier) . field_identifier) ;) (if_statement "if (ppOVar3 !=\n      (this->section_list_).\n      super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>._M_impl.\n      _M_finish) {\n    do {\n      this_00 = *ppOVar3;\n      ppOVar3 = ppOVar3 + 1;\n      Output_section::save_states(this_00);\n    } while ((this->section_list_).\n             super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>.\n             _M_impl._M_finish != ppOVar3);\n  }" if (parenthesized_expression "(ppOVar3 !=\n      (this->section_list_).\n      super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>._M_impl.\n      _M_finish)" ( (field_expression "ppOVar3 !=\n      (this->section_list_).\n      super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>._M_impl.\n      _M_finish" (field_expression "ppOVar3 !=\n      (this->section_list_).\n      super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>._M_impl" (binary_expression "ppOVar3 !=\n      (this->section_list_).\n      super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_" (binary_expression "ppOVar3 !=\n      (this->section_list_).\n      super__Vector_base<gold::Output_section*,_std::allocator<gold" (binary_expression "ppOVar3 !=\n      (this->section_list_).\n      super__Vector_base<gold::Output_section*,_std" (binary_expression "ppOVar3 !=\n      (this->section_list_).\n      super__Vector_base<gold" identifier != (binary_expression "(this->section_list_).\n      super__Vector_base<gold" (field_expression "(this->section_list_).\n      super__Vector_base" (parenthesized_expression "(this->section_list_)" ( (field_expression "this->section_list_" identifier -> field_identifier) )) . field_identifier) < identifier)) (ERROR "::Output_section" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Output_section" : : identifier) * (ERROR ">" >) identifier) (ERROR ">" >) . field_identifier) . field_identifier) )) (compound_statement "{\n    do {\n      this_00 = *ppOVar3;\n      ppOVar3 = ppOVar3 + 1;\n      Output_section::save_states(this_00);\n    } while ((this->section_list_).\n             super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>.\n             _M_impl._M_finish != ppOVar3);\n  }" { (do_statement "do {\n      this_00 = *ppOVar3;\n      ppOVar3 = ppOVar3 + 1;\n      Output_section::save_states(this_00);\n    } while ((this->section_list_).\n             super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>.\n             _M_impl._M_finish != ppOVar3);" do (compound_statement "{\n      this_00 = *ppOVar3;\n      ppOVar3 = ppOVar3 + 1;\n      Output_section::save_states(this_00);\n    }" { (expression_statement "this_00 = *ppOVar3;" (assignment_expression "this_00 = *ppOVar3" identifier = (pointer_expression "*ppOVar3" * identifier)) ;) (expression_statement "ppOVar3 = ppOVar3 + 1;" (assignment_expression "ppOVar3 = ppOVar3 + 1" identifier = (binary_expression "ppOVar3 + 1" identifier + number_literal)) ;) (labeled_statement "Output_section::save_states(this_00);" statement_identifier : (ERROR ":" :) (expression_statement "save_states(this_00);" (call_expression "save_states(this_00)" identifier (argument_list "(this_00)" ( identifier ))) ;)) }) while (parenthesized_expression "((this->section_list_).\n             super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>.\n             _M_impl._M_finish != ppOVar3)" ( (binary_expression "(this->section_list_).\n             super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>.\n             _M_impl._M_finish != ppOVar3" (field_expression "(this->section_list_).\n             super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>.\n             _M_impl._M_finish" (field_expression "(this->section_list_).\n             super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>.\n             _M_impl" (binary_expression "(this->section_list_).\n             super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_" (binary_expression "(this->section_list_).\n             super__Vector_base<gold::Output_section*,_std::allocator<gold" (binary_expression "(this->section_list_).\n             super__Vector_base<gold::Output_section*,_std" (binary_expression "(this->section_list_).\n             super__Vector_base<gold" (field_expression "(this->section_list_).\n             super__Vector_base" (parenthesized_expression "(this->section_list_)" ( (field_expression "this->section_list_" identifier -> field_identifier) )) . field_identifier) < identifier) (ERROR "::Output_section" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Output_section" : : identifier) * (ERROR ">" >) identifier) (ERROR ">" >) . field_identifier) . field_identifier) != identifier) )) ;) })) (if_statement "if ((parameters->options_ != (General_options *)0x0) && ((parameters->debug_ & 8) != 0)) {\n    Relaxation_debug_check::check_output_data_for_reset_values\n              (this->relaxation_debug_check_,&this->section_list_,&this->special_output_list_,\n               &this->relax_output_list_);\n  }" if (parenthesized_expression "((parameters->options_ != (General_options *)0x0) && ((parameters->debug_ & 8) != 0))" ( (binary_expression "(parameters->options_ != (General_options *)0x0) && ((parameters->debug_ & 8) != 0)" (parenthesized_expression "(parameters->options_ != (General_options *)0x0)" ( (binary_expression "parameters->options_ != (General_options *)0x0" (field_expression "parameters->options_" identifier -> field_identifier) != (cast_expression "(General_options *)0x0" ( (type_descriptor "General_options *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "((parameters->debug_ & 8) != 0)" ( (binary_expression "(parameters->debug_ & 8) != 0" (parenthesized_expression "(parameters->debug_ & 8)" ( (binary_expression "parameters->debug_ & 8" (field_expression "parameters->debug_" identifier -> field_identifier) & number_literal) )) != number_literal) ))) )) (compound_statement "{\n    Relaxation_debug_check::check_output_data_for_reset_values\n              (this->relaxation_debug_check_,&this->section_list_,&this->special_output_list_,\n               &this->relax_output_list_);\n  }" { (labeled_statement "Relaxation_debug_check::check_output_data_for_reset_values\n              (this->relaxation_debug_check_,&this->section_list_,&this->special_output_list_,\n               &this->relax_output_list_);" statement_identifier : (ERROR ":" :) (expression_statement "check_output_data_for_reset_values\n              (this->relaxation_debug_check_,&this->section_list_,&this->special_output_list_,\n               &this->relax_output_list_);" (call_expression "check_output_data_for_reset_values\n              (this->relaxation_debug_check_,&this->section_list_,&this->special_output_list_,\n               &this->relax_output_list_)" identifier (argument_list "(this->relaxation_debug_check_,&this->section_list_,&this->special_output_list_,\n               &this->relax_output_list_)" ( (field_expression "this->relaxation_debug_check_" identifier -> field_identifier) , (pointer_expression "&this->section_list_" & (field_expression "this->section_list_" identifier -> field_identifier)) , (pointer_expression "&this->special_output_list_" & (field_expression "this->special_output_list_" identifier -> field_identifier)) , (pointer_expression "&this->relax_output_list_" & (field_expression "this->relax_output_list_" identifier -> field_identifier)) ))) ;)) })) (expression_statement "this->record_output_section_data_from_script_ = true;" (assignment_expression "this->record_output_section_data_from_script_ = true" (field_expression "this->record_output_section_data_from_script_" identifier -> field_identifier) = true) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_000b1280(int param_1)\n\n{\n  undefined4 uVar1;\n  int *piVar2;\n  undefined4 *puVar3;\n  uint uVar4;\n  \n  if ((*(int *)(DAT_0033f2f0 + 8) != 0) && ((*(byte *)(DAT_0033f2f0 + 0x14) & 8) != 0)) {\n    puVar3 = (undefined4 *)FUN_001aa8c0(0xc);\n    *puVar3 = 0;\n    puVar3[1] = 0;\n    puVar3[2] = 0;\n    *(undefined4 **)(param_1 + 0x1e8) = puVar3;\n  }\n  piVar2 = (int *)FUN_001aa8c0(0x1c);\n  uVar4 = 0;\n  do {\n    *(undefined4 *)((int)piVar2 + uVar4) = 0;\n    uVar4 = uVar4 + 4;\n  } while (uVar4 < 0x1c);\n  piVar2[1] = 1;\n  *piVar2 = (int)(piVar2 + 6);\n  piVar2[2] = 0;\n  piVar2[3] = 0;\n  piVar2[4] = 0x3f800000;\n  piVar2[5] = 0;\n  piVar2[6] = 0;\n  *(int **)(param_1 + 0x1e4) = piVar2;\n  FUN_000b0f70(param_1,piVar2);\n  puVar3 = *(undefined4 **)(param_1 + 0x130);\n  if (puVar3 != *(undefined4 **)(param_1 + 0x134)) {\n    do {\n      uVar1 = *puVar3;\n      puVar3 = puVar3 + 1;\n      FUN_000e9d90(uVar1);\n    } while (*(undefined4 **)(param_1 + 0x134) != puVar3);\n  }\n  if ((*(int *)(DAT_0033f2f0 + 8) != 0) && ((*(byte *)(DAT_0033f2f0 + 0x14) & 8) != 0)) {\n    FUN_000a8a80(*(undefined4 *)(param_1 + 0x1e8),param_1 + 0x130,param_1 + 0x148,param_1 + 0x154);\n  }\n  *(undefined1 *)(param_1 + 0x1d4) = 1;\n  return;\n}\n\n" (function_definition "void FUN_000b1280(int param_1)\n\n{\n  undefined4 uVar1;\n  int *piVar2;\n  undefined4 *puVar3;\n  uint uVar4;\n  \n  if ((*(int *)(DAT_0033f2f0 + 8) != 0) && ((*(byte *)(DAT_0033f2f0 + 0x14) & 8) != 0)) {\n    puVar3 = (undefined4 *)FUN_001aa8c0(0xc);\n    *puVar3 = 0;\n    puVar3[1] = 0;\n    puVar3[2] = 0;\n    *(undefined4 **)(param_1 + 0x1e8) = puVar3;\n  }\n  piVar2 = (int *)FUN_001aa8c0(0x1c);\n  uVar4 = 0;\n  do {\n    *(undefined4 *)((int)piVar2 + uVar4) = 0;\n    uVar4 = uVar4 + 4;\n  } while (uVar4 < 0x1c);\n  piVar2[1] = 1;\n  *piVar2 = (int)(piVar2 + 6);\n  piVar2[2] = 0;\n  piVar2[3] = 0;\n  piVar2[4] = 0x3f800000;\n  piVar2[5] = 0;\n  piVar2[6] = 0;\n  *(int **)(param_1 + 0x1e4) = piVar2;\n  FUN_000b0f70(param_1,piVar2);\n  puVar3 = *(undefined4 **)(param_1 + 0x130);\n  if (puVar3 != *(undefined4 **)(param_1 + 0x134)) {\n    do {\n      uVar1 = *puVar3;\n      puVar3 = puVar3 + 1;\n      FUN_000e9d90(uVar1);\n    } while (*(undefined4 **)(param_1 + 0x134) != puVar3);\n  }\n  if ((*(int *)(DAT_0033f2f0 + 8) != 0) && ((*(byte *)(DAT_0033f2f0 + 0x14) & 8) != 0)) {\n    FUN_000a8a80(*(undefined4 *)(param_1 + 0x1e8),param_1 + 0x130,param_1 + 0x148,param_1 + 0x154);\n  }\n  *(undefined1 *)(param_1 + 0x1d4) = 1;\n  return;\n}" primitive_type (function_declarator "FUN_000b1280(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  int *piVar2;\n  undefined4 *puVar3;\n  uint uVar4;\n  \n  if ((*(int *)(DAT_0033f2f0 + 8) != 0) && ((*(byte *)(DAT_0033f2f0 + 0x14) & 8) != 0)) {\n    puVar3 = (undefined4 *)FUN_001aa8c0(0xc);\n    *puVar3 = 0;\n    puVar3[1] = 0;\n    puVar3[2] = 0;\n    *(undefined4 **)(param_1 + 0x1e8) = puVar3;\n  }\n  piVar2 = (int *)FUN_001aa8c0(0x1c);\n  uVar4 = 0;\n  do {\n    *(undefined4 *)((int)piVar2 + uVar4) = 0;\n    uVar4 = uVar4 + 4;\n  } while (uVar4 < 0x1c);\n  piVar2[1] = 1;\n  *piVar2 = (int)(piVar2 + 6);\n  piVar2[2] = 0;\n  piVar2[3] = 0;\n  piVar2[4] = 0x3f800000;\n  piVar2[5] = 0;\n  piVar2[6] = 0;\n  *(int **)(param_1 + 0x1e4) = piVar2;\n  FUN_000b0f70(param_1,piVar2);\n  puVar3 = *(undefined4 **)(param_1 + 0x130);\n  if (puVar3 != *(undefined4 **)(param_1 + 0x134)) {\n    do {\n      uVar1 = *puVar3;\n      puVar3 = puVar3 + 1;\n      FUN_000e9d90(uVar1);\n    } while (*(undefined4 **)(param_1 + 0x134) != puVar3);\n  }\n  if ((*(int *)(DAT_0033f2f0 + 8) != 0) && ((*(byte *)(DAT_0033f2f0 + 0x14) & 8) != 0)) {\n    FUN_000a8a80(*(undefined4 *)(param_1 + 0x1e8),param_1 + 0x130,param_1 + 0x148,param_1 + 0x154);\n  }\n  *(undefined1 *)(param_1 + 0x1d4) = 1;\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "uint uVar4;" type_identifier identifier ;) (if_statement "if ((*(int *)(DAT_0033f2f0 + 8) != 0) && ((*(byte *)(DAT_0033f2f0 + 0x14) & 8) != 0)) {\n    puVar3 = (undefined4 *)FUN_001aa8c0(0xc);\n    *puVar3 = 0;\n    puVar3[1] = 0;\n    puVar3[2] = 0;\n    *(undefined4 **)(param_1 + 0x1e8) = puVar3;\n  }" if (parenthesized_expression "((*(int *)(DAT_0033f2f0 + 8) != 0) && ((*(byte *)(DAT_0033f2f0 + 0x14) & 8) != 0))" ( (binary_expression "(*(int *)(DAT_0033f2f0 + 8) != 0) && ((*(byte *)(DAT_0033f2f0 + 0x14) & 8) != 0)" (parenthesized_expression "(*(int *)(DAT_0033f2f0 + 8) != 0)" ( (binary_expression "*(int *)(DAT_0033f2f0 + 8) != 0" (pointer_expression "*(int *)(DAT_0033f2f0 + 8)" * (cast_expression "(int *)(DAT_0033f2f0 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0033f2f0 + 8)" ( (binary_expression "DAT_0033f2f0 + 8" identifier + number_literal) )))) != number_literal) )) && (parenthesized_expression "((*(byte *)(DAT_0033f2f0 + 0x14) & 8) != 0)" ( (binary_expression "(*(byte *)(DAT_0033f2f0 + 0x14) & 8) != 0" (parenthesized_expression "(*(byte *)(DAT_0033f2f0 + 0x14) & 8)" ( (binary_expression "*(byte *)(DAT_0033f2f0 + 0x14) & 8" (pointer_expression "*(byte *)(DAT_0033f2f0 + 0x14)" * (cast_expression "(byte *)(DAT_0033f2f0 + 0x14)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0033f2f0 + 0x14)" ( (binary_expression "DAT_0033f2f0 + 0x14" identifier + number_literal) )))) & number_literal) )) != number_literal) ))) )) (compound_statement "{\n    puVar3 = (undefined4 *)FUN_001aa8c0(0xc);\n    *puVar3 = 0;\n    puVar3[1] = 0;\n    puVar3[2] = 0;\n    *(undefined4 **)(param_1 + 0x1e8) = puVar3;\n  }" { (expression_statement "puVar3 = (undefined4 *)FUN_001aa8c0(0xc);" (assignment_expression "puVar3 = (undefined4 *)FUN_001aa8c0(0xc)" identifier = (cast_expression "(undefined4 *)FUN_001aa8c0(0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_001aa8c0(0xc)" identifier (argument_list "(0xc)" ( number_literal ))))) ;) (expression_statement "*puVar3 = 0;" (assignment_expression "*puVar3 = 0" (pointer_expression "*puVar3" * identifier) = number_literal) ;) (expression_statement "puVar3[1] = 0;" (assignment_expression "puVar3[1] = 0" (subscript_expression "puVar3[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar3[2] = 0;" (assignment_expression "puVar3[2] = 0" (subscript_expression "puVar3[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined4 **)(param_1 + 0x1e8) = puVar3;" (assignment_expression "*(undefined4 **)(param_1 + 0x1e8) = puVar3" (pointer_expression "*(undefined4 **)(param_1 + 0x1e8)" * (cast_expression "(undefined4 **)(param_1 + 0x1e8)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x1e8)" ( (binary_expression "param_1 + 0x1e8" identifier + number_literal) )))) = identifier) ;) })) (expression_statement "piVar2 = (int *)FUN_001aa8c0(0x1c);" (assignment_expression "piVar2 = (int *)FUN_001aa8c0(0x1c)" identifier = (cast_expression "(int *)FUN_001aa8c0(0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_001aa8c0(0x1c)" identifier (argument_list "(0x1c)" ( number_literal ))))) ;) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) (do_statement "do {\n    *(undefined4 *)((int)piVar2 + uVar4) = 0;\n    uVar4 = uVar4 + 4;\n  } while (uVar4 < 0x1c);" do (compound_statement "{\n    *(undefined4 *)((int)piVar2 + uVar4) = 0;\n    uVar4 = uVar4 + 4;\n  }" { (expression_statement "*(undefined4 *)((int)piVar2 + uVar4) = 0;" (assignment_expression "*(undefined4 *)((int)piVar2 + uVar4) = 0" (pointer_expression "*(undefined4 *)((int)piVar2 + uVar4)" * (cast_expression "(undefined4 *)((int)piVar2 + uVar4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar2 + uVar4)" ( (binary_expression "(int)piVar2 + uVar4" (cast_expression "(int)piVar2" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) = number_literal) ;) (expression_statement "uVar4 = uVar4 + 4;" (assignment_expression "uVar4 = uVar4 + 4" identifier = (binary_expression "uVar4 + 4" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar4 < 0x1c)" ( (binary_expression "uVar4 < 0x1c" identifier < number_literal) )) ;) (expression_statement "piVar2[1] = 1;" (assignment_expression "piVar2[1] = 1" (subscript_expression "piVar2[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*piVar2 = (int)(piVar2 + 6);" (assignment_expression "*piVar2 = (int)(piVar2 + 6)" (pointer_expression "*piVar2" * identifier) = (cast_expression "(int)(piVar2 + 6)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(piVar2 + 6)" ( (binary_expression "piVar2 + 6" identifier + number_literal) )))) ;) (expression_statement "piVar2[2] = 0;" (assignment_expression "piVar2[2] = 0" (subscript_expression "piVar2[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar2[3] = 0;" (assignment_expression "piVar2[3] = 0" (subscript_expression "piVar2[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar2[4] = 0x3f800000;" (assignment_expression "piVar2[4] = 0x3f800000" (subscript_expression "piVar2[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar2[5] = 0;" (assignment_expression "piVar2[5] = 0" (subscript_expression "piVar2[5]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar2[6] = 0;" (assignment_expression "piVar2[6] = 0" (subscript_expression "piVar2[6]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(int **)(param_1 + 0x1e4) = piVar2;" (assignment_expression "*(int **)(param_1 + 0x1e4) = piVar2" (pointer_expression "*(int **)(param_1 + 0x1e4)" * (cast_expression "(int **)(param_1 + 0x1e4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x1e4)" ( (binary_expression "param_1 + 0x1e4" identifier + number_literal) )))) = identifier) ;) (expression_statement "FUN_000b0f70(param_1,piVar2);" (call_expression "FUN_000b0f70(param_1,piVar2)" identifier (argument_list "(param_1,piVar2)" ( identifier , identifier ))) ;) (expression_statement "puVar3 = *(undefined4 **)(param_1 + 0x130);" (assignment_expression "puVar3 = *(undefined4 **)(param_1 + 0x130)" identifier = (pointer_expression "*(undefined4 **)(param_1 + 0x130)" * (cast_expression "(undefined4 **)(param_1 + 0x130)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x130)" ( (binary_expression "param_1 + 0x130" identifier + number_literal) ))))) ;) (if_statement "if (puVar3 != *(undefined4 **)(param_1 + 0x134)) {\n    do {\n      uVar1 = *puVar3;\n      puVar3 = puVar3 + 1;\n      FUN_000e9d90(uVar1);\n    } while (*(undefined4 **)(param_1 + 0x134) != puVar3);\n  }" if (parenthesized_expression "(puVar3 != *(undefined4 **)(param_1 + 0x134))" ( (binary_expression "puVar3 != *(undefined4 **)(param_1 + 0x134)" identifier != (pointer_expression "*(undefined4 **)(param_1 + 0x134)" * (cast_expression "(undefined4 **)(param_1 + 0x134)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x134)" ( (binary_expression "param_1 + 0x134" identifier + number_literal) ))))) )) (compound_statement "{\n    do {\n      uVar1 = *puVar3;\n      puVar3 = puVar3 + 1;\n      FUN_000e9d90(uVar1);\n    } while (*(undefined4 **)(param_1 + 0x134) != puVar3);\n  }" { (do_statement "do {\n      uVar1 = *puVar3;\n      puVar3 = puVar3 + 1;\n      FUN_000e9d90(uVar1);\n    } while (*(undefined4 **)(param_1 + 0x134) != puVar3);" do (compound_statement "{\n      uVar1 = *puVar3;\n      puVar3 = puVar3 + 1;\n      FUN_000e9d90(uVar1);\n    }" { (expression_statement "uVar1 = *puVar3;" (assignment_expression "uVar1 = *puVar3" identifier = (pointer_expression "*puVar3" * identifier)) ;) (expression_statement "puVar3 = puVar3 + 1;" (assignment_expression "puVar3 = puVar3 + 1" identifier = (binary_expression "puVar3 + 1" identifier + number_literal)) ;) (expression_statement "FUN_000e9d90(uVar1);" (call_expression "FUN_000e9d90(uVar1)" identifier (argument_list "(uVar1)" ( identifier ))) ;) }) while (parenthesized_expression "(*(undefined4 **)(param_1 + 0x134) != puVar3)" ( (binary_expression "*(undefined4 **)(param_1 + 0x134) != puVar3" (pointer_expression "*(undefined4 **)(param_1 + 0x134)" * (cast_expression "(undefined4 **)(param_1 + 0x134)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x134)" ( (binary_expression "param_1 + 0x134" identifier + number_literal) )))) != identifier) )) ;) })) (if_statement "if ((*(int *)(DAT_0033f2f0 + 8) != 0) && ((*(byte *)(DAT_0033f2f0 + 0x14) & 8) != 0)) {\n    FUN_000a8a80(*(undefined4 *)(param_1 + 0x1e8),param_1 + 0x130,param_1 + 0x148,param_1 + 0x154);\n  }" if (parenthesized_expression "((*(int *)(DAT_0033f2f0 + 8) != 0) && ((*(byte *)(DAT_0033f2f0 + 0x14) & 8) != 0))" ( (binary_expression "(*(int *)(DAT_0033f2f0 + 8) != 0) && ((*(byte *)(DAT_0033f2f0 + 0x14) & 8) != 0)" (parenthesized_expression "(*(int *)(DAT_0033f2f0 + 8) != 0)" ( (binary_expression "*(int *)(DAT_0033f2f0 + 8) != 0" (pointer_expression "*(int *)(DAT_0033f2f0 + 8)" * (cast_expression "(int *)(DAT_0033f2f0 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0033f2f0 + 8)" ( (binary_expression "DAT_0033f2f0 + 8" identifier + number_literal) )))) != number_literal) )) && (parenthesized_expression "((*(byte *)(DAT_0033f2f0 + 0x14) & 8) != 0)" ( (binary_expression "(*(byte *)(DAT_0033f2f0 + 0x14) & 8) != 0" (parenthesized_expression "(*(byte *)(DAT_0033f2f0 + 0x14) & 8)" ( (binary_expression "*(byte *)(DAT_0033f2f0 + 0x14) & 8" (pointer_expression "*(byte *)(DAT_0033f2f0 + 0x14)" * (cast_expression "(byte *)(DAT_0033f2f0 + 0x14)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0033f2f0 + 0x14)" ( (binary_expression "DAT_0033f2f0 + 0x14" identifier + number_literal) )))) & number_literal) )) != number_literal) ))) )) (compound_statement "{\n    FUN_000a8a80(*(undefined4 *)(param_1 + 0x1e8),param_1 + 0x130,param_1 + 0x148,param_1 + 0x154);\n  }" { (expression_statement "FUN_000a8a80(*(undefined4 *)(param_1 + 0x1e8),param_1 + 0x130,param_1 + 0x148,param_1 + 0x154);" (call_expression "FUN_000a8a80(*(undefined4 *)(param_1 + 0x1e8),param_1 + 0x130,param_1 + 0x148,param_1 + 0x154)" identifier (argument_list "(*(undefined4 *)(param_1 + 0x1e8),param_1 + 0x130,param_1 + 0x148,param_1 + 0x154)" ( (pointer_expression "*(undefined4 *)(param_1 + 0x1e8)" * (cast_expression "(undefined4 *)(param_1 + 0x1e8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1e8)" ( (binary_expression "param_1 + 0x1e8" identifier + number_literal) )))) , (binary_expression "param_1 + 0x130" identifier + number_literal) , (binary_expression "param_1 + 0x148" identifier + number_literal) , (binary_expression "param_1 + 0x154" identifier + number_literal) ))) ;) })) (expression_statement "*(undefined1 *)(param_1 + 0x1d4) = 1;" (assignment_expression "*(undefined1 *)(param_1 + 0x1d4) = 1" (pointer_expression "*(undefined1 *)(param_1 + 0x1d4)" * (cast_expression "(undefined1 *)(param_1 + 0x1d4)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1d4)" ( (binary_expression "param_1 + 0x1d4" identifier + number_literal) )))) = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) && (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) )) != LIT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT ))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = 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 * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT ))))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + IDENT) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (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) ) (parenthesized_expression ( (binary_expression 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 (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) }) while (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != IDENT) )) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) && (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) )) != LIT) ))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) ))) ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (return_statement return ;) })))
(function_definition "void FUN_000b1280(int param_1)\n\n{\n  undefined4 uVar1;\n  int *piVar2;\n  undefined4 *puVar3;\n  uint uVar4;\n  \n  if ((*(int *)(DAT_0033f2f0 + 8) != 0) && ((*(byte *)(DAT_0033f2f0 + 0x14) & 8) != 0)) {\n    puVar3 = (undefined4 *)FUN_001aa8c0(0xc);\n    *puVar3 = 0;\n    puVar3[1] = 0;\n    puVar3[2] = 0;\n    *(undefined4 **)(param_1 + 0x1e8) = puVar3;\n  }\n  piVar2 = (int *)FUN_001aa8c0(0x1c);\n  uVar4 = 0;\n  do {\n    *(undefined4 *)((int)piVar2 + uVar4) = 0;\n    uVar4 = uVar4 + 4;\n  } while (uVar4 < 0x1c);\n  piVar2[1] = 1;\n  *piVar2 = (int)(piVar2 + 6);\n  piVar2[2] = 0;\n  piVar2[3] = 0;\n  piVar2[4] = 0x3f800000;\n  piVar2[5] = 0;\n  piVar2[6] = 0;\n  *(int **)(param_1 + 0x1e4) = piVar2;\n  FUN_000b0f70(param_1,piVar2);\n  puVar3 = *(undefined4 **)(param_1 + 0x130);\n  if (puVar3 != *(undefined4 **)(param_1 + 0x134)) {\n    do {\n      uVar1 = *puVar3;\n      puVar3 = puVar3 + 1;\n      FUN_000e9d90(uVar1);\n    } while (*(undefined4 **)(param_1 + 0x134) != puVar3);\n  }\n  if ((*(int *)(DAT_0033f2f0 + 8) != 0) && ((*(byte *)(DAT_0033f2f0 + 0x14) & 8) != 0)) {\n    FUN_000a8a80(*(undefined4 *)(param_1 + 0x1e8),param_1 + 0x130,param_1 + 0x148,param_1 + 0x154);\n  }\n  *(undefined1 *)(param_1 + 0x1d4) = 1;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_000b1280(int param_1)" (identifier "FUN_000b1280") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  int *piVar2;\n  undefined4 *puVar3;\n  uint uVar4;\n  \n  if ((*(int *)(DAT_0033f2f0 + 8) != 0) && ((*(byte *)(DAT_0033f2f0 + 0x14) & 8) != 0)) {\n    puVar3 = (undefined4 *)FUN_001aa8c0(0xc);\n    *puVar3 = 0;\n    puVar3[1] = 0;\n    puVar3[2] = 0;\n    *(undefined4 **)(param_1 + 0x1e8) = puVar3;\n  }\n  piVar2 = (int *)FUN_001aa8c0(0x1c);\n  uVar4 = 0;\n  do {\n    *(undefined4 *)((int)piVar2 + uVar4) = 0;\n    uVar4 = uVar4 + 4;\n  } while (uVar4 < 0x1c);\n  piVar2[1] = 1;\n  *piVar2 = (int)(piVar2 + 6);\n  piVar2[2] = 0;\n  piVar2[3] = 0;\n  piVar2[4] = 0x3f800000;\n  piVar2[5] = 0;\n  piVar2[6] = 0;\n  *(int **)(param_1 + 0x1e4) = piVar2;\n  FUN_000b0f70(param_1,piVar2);\n  puVar3 = *(undefined4 **)(param_1 + 0x130);\n  if (puVar3 != *(undefined4 **)(param_1 + 0x134)) {\n    do {\n      uVar1 = *puVar3;\n      puVar3 = puVar3 + 1;\n      FUN_000e9d90(uVar1);\n    } while (*(undefined4 **)(param_1 + 0x134) != puVar3);\n  }\n  if ((*(int *)(DAT_0033f2f0 + 8) != 0) && ((*(byte *)(DAT_0033f2f0 + 0x14) & 8) != 0)) {\n    FUN_000a8a80(*(undefined4 *)(param_1 + 0x1e8),param_1 + 0x130,param_1 + 0x148,param_1 + 0x154);\n  }\n  *(undefined1 *)(param_1 + 0x1d4) = 1;\n  return;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (declaration "int *piVar2;" (primitive_type "int") (pointer_declarator "*piVar2" (* "*") (identifier "piVar2")) (; ";")) (declaration "undefined4 *puVar3;" (type_identifier "undefined4") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (declaration "uint uVar4;" (type_identifier "uint") (identifier "uVar4") (; ";")) (if_statement "if ((*(int *)(DAT_0033f2f0 + 8) != 0) && ((*(byte *)(DAT_0033f2f0 + 0x14) & 8) != 0)) {\n    puVar3 = (undefined4 *)FUN_001aa8c0(0xc);\n    *puVar3 = 0;\n    puVar3[1] = 0;\n    puVar3[2] = 0;\n    *(undefined4 **)(param_1 + 0x1e8) = puVar3;\n  }" (if "if") (parenthesized_expression "((*(int *)(DAT_0033f2f0 + 8) != 0) && ((*(byte *)(DAT_0033f2f0 + 0x14) & 8) != 0))" (( "(") (binary_expression "(*(int *)(DAT_0033f2f0 + 8) != 0) && ((*(byte *)(DAT_0033f2f0 + 0x14) & 8) != 0)" (parenthesized_expression "(*(int *)(DAT_0033f2f0 + 8) != 0)" (( "(") (binary_expression "*(int *)(DAT_0033f2f0 + 8) != 0" (pointer_expression "*(int *)(DAT_0033f2f0 + 8)" (* "*") (cast_expression "(int *)(DAT_0033f2f0 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_0033f2f0 + 8)" (( "(") (binary_expression "DAT_0033f2f0 + 8" (identifier "DAT_0033f2f0") (+ "+") (number_literal "8")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "((*(byte *)(DAT_0033f2f0 + 0x14) & 8) != 0)" (( "(") (binary_expression "(*(byte *)(DAT_0033f2f0 + 0x14) & 8) != 0" (parenthesized_expression "(*(byte *)(DAT_0033f2f0 + 0x14) & 8)" (( "(") (binary_expression "*(byte *)(DAT_0033f2f0 + 0x14) & 8" (pointer_expression "*(byte *)(DAT_0033f2f0 + 0x14)" (* "*") (cast_expression "(byte *)(DAT_0033f2f0 + 0x14)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_0033f2f0 + 0x14)" (( "(") (binary_expression "DAT_0033f2f0 + 0x14" (identifier "DAT_0033f2f0") (+ "+") (number_literal "0x14")) () ")")))) (& "&") (number_literal "8")) () ")")) (!= "!=") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n    puVar3 = (undefined4 *)FUN_001aa8c0(0xc);\n    *puVar3 = 0;\n    puVar3[1] = 0;\n    puVar3[2] = 0;\n    *(undefined4 **)(param_1 + 0x1e8) = puVar3;\n  }" ({ "{") (expression_statement "puVar3 = (undefined4 *)FUN_001aa8c0(0xc);" (assignment_expression "puVar3 = (undefined4 *)FUN_001aa8c0(0xc)" (identifier "puVar3") (= "=") (cast_expression "(undefined4 *)FUN_001aa8c0(0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_001aa8c0(0xc)" (identifier "FUN_001aa8c0") (argument_list "(0xc)" (( "(") (number_literal "0xc") () ")"))))) (; ";")) (expression_statement "*puVar3 = 0;" (assignment_expression "*puVar3 = 0" (pointer_expression "*puVar3" (* "*") (identifier "puVar3")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar3[1] = 0;" (assignment_expression "puVar3[1] = 0" (subscript_expression "puVar3[1]" (identifier "puVar3") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar3[2] = 0;" (assignment_expression "puVar3[2] = 0" (subscript_expression "puVar3[2]" (identifier "puVar3") ([ "[") (number_literal "2") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 **)(param_1 + 0x1e8) = puVar3;" (assignment_expression "*(undefined4 **)(param_1 + 0x1e8) = puVar3" (pointer_expression "*(undefined4 **)(param_1 + 0x1e8)" (* "*") (cast_expression "(undefined4 **)(param_1 + 0x1e8)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x1e8)" (( "(") (binary_expression "param_1 + 0x1e8" (identifier "param_1") (+ "+") (number_literal "0x1e8")) () ")")))) (= "=") (identifier "puVar3")) (; ";")) (} "}"))) (expression_statement "piVar2 = (int *)FUN_001aa8c0(0x1c);" (assignment_expression "piVar2 = (int *)FUN_001aa8c0(0x1c)" (identifier "piVar2") (= "=") (cast_expression "(int *)FUN_001aa8c0(0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_001aa8c0(0x1c)" (identifier "FUN_001aa8c0") (argument_list "(0x1c)" (( "(") (number_literal "0x1c") () ")"))))) (; ";")) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" (identifier "uVar4") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n    *(undefined4 *)((int)piVar2 + uVar4) = 0;\n    uVar4 = uVar4 + 4;\n  } while (uVar4 < 0x1c);" (do "do") (compound_statement "{\n    *(undefined4 *)((int)piVar2 + uVar4) = 0;\n    uVar4 = uVar4 + 4;\n  }" ({ "{") (expression_statement "*(undefined4 *)((int)piVar2 + uVar4) = 0;" (assignment_expression "*(undefined4 *)((int)piVar2 + uVar4) = 0" (pointer_expression "*(undefined4 *)((int)piVar2 + uVar4)" (* "*") (cast_expression "(undefined4 *)((int)piVar2 + uVar4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)piVar2 + uVar4)" (( "(") (binary_expression "(int)piVar2 + uVar4" (cast_expression "(int)piVar2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar2")) (+ "+") (identifier "uVar4")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar4 = uVar4 + 4;" (assignment_expression "uVar4 = uVar4 + 4" (identifier "uVar4") (= "=") (binary_expression "uVar4 + 4" (identifier "uVar4") (+ "+") (number_literal "4"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(uVar4 < 0x1c)" (( "(") (binary_expression "uVar4 < 0x1c" (identifier "uVar4") (< "<") (number_literal "0x1c")) () ")")) (; ";")) (expression_statement "piVar2[1] = 1;" (assignment_expression "piVar2[1] = 1" (subscript_expression "piVar2[1]" (identifier "piVar2") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "1")) (; ";")) (expression_statement "*piVar2 = (int)(piVar2 + 6);" (assignment_expression "*piVar2 = (int)(piVar2 + 6)" (pointer_expression "*piVar2" (* "*") (identifier "piVar2")) (= "=") (cast_expression "(int)(piVar2 + 6)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(piVar2 + 6)" (( "(") (binary_expression "piVar2 + 6" (identifier "piVar2") (+ "+") (number_literal "6")) () ")")))) (; ";")) (expression_statement "piVar2[2] = 0;" (assignment_expression "piVar2[2] = 0" (subscript_expression "piVar2[2]" (identifier "piVar2") ([ "[") (number_literal "2") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar2[3] = 0;" (assignment_expression "piVar2[3] = 0" (subscript_expression "piVar2[3]" (identifier "piVar2") ([ "[") (number_literal "3") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar2[4] = 0x3f800000;" (assignment_expression "piVar2[4] = 0x3f800000" (subscript_expression "piVar2[4]" (identifier "piVar2") ([ "[") (number_literal "4") (] "]")) (= "=") (number_literal "0x3f800000")) (; ";")) (expression_statement "piVar2[5] = 0;" (assignment_expression "piVar2[5] = 0" (subscript_expression "piVar2[5]" (identifier "piVar2") ([ "[") (number_literal "5") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar2[6] = 0;" (assignment_expression "piVar2[6] = 0" (subscript_expression "piVar2[6]" (identifier "piVar2") ([ "[") (number_literal "6") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(int **)(param_1 + 0x1e4) = piVar2;" (assignment_expression "*(int **)(param_1 + 0x1e4) = piVar2" (pointer_expression "*(int **)(param_1 + 0x1e4)" (* "*") (cast_expression "(int **)(param_1 + 0x1e4)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x1e4)" (( "(") (binary_expression "param_1 + 0x1e4" (identifier "param_1") (+ "+") (number_literal "0x1e4")) () ")")))) (= "=") (identifier "piVar2")) (; ";")) (expression_statement "FUN_000b0f70(param_1,piVar2);" (call_expression "FUN_000b0f70(param_1,piVar2)" (identifier "FUN_000b0f70") (argument_list "(param_1,piVar2)" (( "(") (identifier "param_1") (, ",") (identifier "piVar2") () ")"))) (; ";")) (expression_statement "puVar3 = *(undefined4 **)(param_1 + 0x130);" (assignment_expression "puVar3 = *(undefined4 **)(param_1 + 0x130)" (identifier "puVar3") (= "=") (pointer_expression "*(undefined4 **)(param_1 + 0x130)" (* "*") (cast_expression "(undefined4 **)(param_1 + 0x130)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x130)" (( "(") (binary_expression "param_1 + 0x130" (identifier "param_1") (+ "+") (number_literal "0x130")) () ")"))))) (; ";")) (if_statement "if (puVar3 != *(undefined4 **)(param_1 + 0x134)) {\n    do {\n      uVar1 = *puVar3;\n      puVar3 = puVar3 + 1;\n      FUN_000e9d90(uVar1);\n    } while (*(undefined4 **)(param_1 + 0x134) != puVar3);\n  }" (if "if") (parenthesized_expression "(puVar3 != *(undefined4 **)(param_1 + 0x134))" (( "(") (binary_expression "puVar3 != *(undefined4 **)(param_1 + 0x134)" (identifier "puVar3") (!= "!=") (pointer_expression "*(undefined4 **)(param_1 + 0x134)" (* "*") (cast_expression "(undefined4 **)(param_1 + 0x134)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x134)" (( "(") (binary_expression "param_1 + 0x134" (identifier "param_1") (+ "+") (number_literal "0x134")) () ")"))))) () ")")) (compound_statement "{\n    do {\n      uVar1 = *puVar3;\n      puVar3 = puVar3 + 1;\n      FUN_000e9d90(uVar1);\n    } while (*(undefined4 **)(param_1 + 0x134) != puVar3);\n  }" ({ "{") (do_statement "do {\n      uVar1 = *puVar3;\n      puVar3 = puVar3 + 1;\n      FUN_000e9d90(uVar1);\n    } while (*(undefined4 **)(param_1 + 0x134) != puVar3);" (do "do") (compound_statement "{\n      uVar1 = *puVar3;\n      puVar3 = puVar3 + 1;\n      FUN_000e9d90(uVar1);\n    }" ({ "{") (expression_statement "uVar1 = *puVar3;" (assignment_expression "uVar1 = *puVar3" (identifier "uVar1") (= "=") (pointer_expression "*puVar3" (* "*") (identifier "puVar3"))) (; ";")) (expression_statement "puVar3 = puVar3 + 1;" (assignment_expression "puVar3 = puVar3 + 1" (identifier "puVar3") (= "=") (binary_expression "puVar3 + 1" (identifier "puVar3") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "FUN_000e9d90(uVar1);" (call_expression "FUN_000e9d90(uVar1)" (identifier "FUN_000e9d90") (argument_list "(uVar1)" (( "(") (identifier "uVar1") () ")"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(*(undefined4 **)(param_1 + 0x134) != puVar3)" (( "(") (binary_expression "*(undefined4 **)(param_1 + 0x134) != puVar3" (pointer_expression "*(undefined4 **)(param_1 + 0x134)" (* "*") (cast_expression "(undefined4 **)(param_1 + 0x134)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x134)" (( "(") (binary_expression "param_1 + 0x134" (identifier "param_1") (+ "+") (number_literal "0x134")) () ")")))) (!= "!=") (identifier "puVar3")) () ")")) (; ";")) (} "}"))) (if_statement "if ((*(int *)(DAT_0033f2f0 + 8) != 0) && ((*(byte *)(DAT_0033f2f0 + 0x14) & 8) != 0)) {\n    FUN_000a8a80(*(undefined4 *)(param_1 + 0x1e8),param_1 + 0x130,param_1 + 0x148,param_1 + 0x154);\n  }" (if "if") (parenthesized_expression "((*(int *)(DAT_0033f2f0 + 8) != 0) && ((*(byte *)(DAT_0033f2f0 + 0x14) & 8) != 0))" (( "(") (binary_expression "(*(int *)(DAT_0033f2f0 + 8) != 0) && ((*(byte *)(DAT_0033f2f0 + 0x14) & 8) != 0)" (parenthesized_expression "(*(int *)(DAT_0033f2f0 + 8) != 0)" (( "(") (binary_expression "*(int *)(DAT_0033f2f0 + 8) != 0" (pointer_expression "*(int *)(DAT_0033f2f0 + 8)" (* "*") (cast_expression "(int *)(DAT_0033f2f0 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_0033f2f0 + 8)" (( "(") (binary_expression "DAT_0033f2f0 + 8" (identifier "DAT_0033f2f0") (+ "+") (number_literal "8")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "((*(byte *)(DAT_0033f2f0 + 0x14) & 8) != 0)" (( "(") (binary_expression "(*(byte *)(DAT_0033f2f0 + 0x14) & 8) != 0" (parenthesized_expression "(*(byte *)(DAT_0033f2f0 + 0x14) & 8)" (( "(") (binary_expression "*(byte *)(DAT_0033f2f0 + 0x14) & 8" (pointer_expression "*(byte *)(DAT_0033f2f0 + 0x14)" (* "*") (cast_expression "(byte *)(DAT_0033f2f0 + 0x14)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_0033f2f0 + 0x14)" (( "(") (binary_expression "DAT_0033f2f0 + 0x14" (identifier "DAT_0033f2f0") (+ "+") (number_literal "0x14")) () ")")))) (& "&") (number_literal "8")) () ")")) (!= "!=") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n    FUN_000a8a80(*(undefined4 *)(param_1 + 0x1e8),param_1 + 0x130,param_1 + 0x148,param_1 + 0x154);\n  }" ({ "{") (expression_statement "FUN_000a8a80(*(undefined4 *)(param_1 + 0x1e8),param_1 + 0x130,param_1 + 0x148,param_1 + 0x154);" (call_expression "FUN_000a8a80(*(undefined4 *)(param_1 + 0x1e8),param_1 + 0x130,param_1 + 0x148,param_1 + 0x154)" (identifier "FUN_000a8a80") (argument_list "(*(undefined4 *)(param_1 + 0x1e8),param_1 + 0x130,param_1 + 0x148,param_1 + 0x154)" (( "(") (pointer_expression "*(undefined4 *)(param_1 + 0x1e8)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x1e8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1e8)" (( "(") (binary_expression "param_1 + 0x1e8" (identifier "param_1") (+ "+") (number_literal "0x1e8")) () ")")))) (, ",") (binary_expression "param_1 + 0x130" (identifier "param_1") (+ "+") (number_literal "0x130")) (, ",") (binary_expression "param_1 + 0x148" (identifier "param_1") (+ "+") (number_literal "0x148")) (, ",") (binary_expression "param_1 + 0x154" (identifier "param_1") (+ "+") (number_literal "0x154")) () ")"))) (; ";")) (} "}"))) (expression_statement "*(undefined1 *)(param_1 + 0x1d4) = 1;" (assignment_expression "*(undefined1 *)(param_1 + 0x1d4) = 1" (pointer_expression "*(undefined1 *)(param_1 + 0x1d4)" (* "*") (cast_expression "(undefined1 *)(param_1 + 0x1d4)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1d4)" (( "(") (binary_expression "param_1 + 0x1d4" (identifier "param_1") (+ "+") (number_literal "0x1d4")) () ")")))) (= "=") (number_literal "1")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Enum "DT": Some values do not have unique names */
/* WARNING: Enum "ELFOSABI": Some values do not have unique names */
/* DWARF original prototype: void prepare_for_relaxation(Layout * this) */

void __thiscall var_6::type_1::function_1(type_1 *this)

{
  type_2 *this_00;
  type_3 *segment_states;
  type_4 *pRVar1;
  type_5 var_4;
  type_6 var_8;
  
  if ((parameters->options_ != (type_7 *)0x0) && ((parameters->debug_ & 8) != 0)) {
    pRVar1 = (type_4 *)var_1(0xc);
    (pRVar1->section_infos_).
    super__Vector_base<var_6::Layout::Relaxation_debug_check::var_2,var_7::allocator<var_6::Layout::Relaxation_debug_check::var_2>var_3>
    ._M_impl._M_start = (type_6)0x0;
    (pRVar1->section_infos_).
    super__Vector_base<var_6::Layout::Relaxation_debug_check::var_2,var_7::allocator<var_6::Layout::Relaxation_debug_check::var_2>var_3>
    ._M_impl._M_finish = (type_6)0x0;
    (pRVar1->section_infos_).
    super__Vector_base<var_6::Layout::Relaxation_debug_check::var_2,var_7::allocator<var_6::Layout::Relaxation_debug_check::var_2>var_3>
    ._M_impl._M_end_of_storage = (type_6)0x0;
    this->relaxation_debug_check_ = pRVar1;
  }
  segment_states = (type_3 *)var_1(0x1c);
  var_4 = 0;
  do {
    *(type_8 *)((int)&(segment_states->_M_h)._M_buckets + var_4) = 0;
    var_4 = var_4 + 4;
  } while (var_4 < 0x1c);
  (segment_states->_M_h)._M_bucket_count = 1;
  (segment_states->_M_h)._M_buckets = &(segment_states->_M_h)._M_single_bucket;
  (segment_states->_M_h)._M_before_begin._M_nxt = (type_9 *)0x0;
  (segment_states->_M_h)._M_element_count = 0;
  (segment_states->_M_h)._M_rehash_policy._M_max_load_factor = 1.0;
  (segment_states->_M_h)._M_rehash_policy._M_next_resize = 0;
  (segment_states->_M_h)._M_single_bucket = (type_10)0x0;
  this->segment_states_ = segment_states;
  var_5(this,segment_states);
  var_8 = (this->section_list_).
            super__Vector_base<var_6::type_2*,var_7::allocator<var_6::type_2*>var_3>.
            _M_impl._M_start;
  if (var_8 !=
      (this->section_list_).
      super__Vector_base<var_6::type_2*,var_7::allocator<var_6::type_2*>var_3>._M_impl.
      _M_finish) {
    do {
      this_00 = *var_8;
      var_8 = var_8 + 1;
      Output_section::var_9(this_00);
    } while ((this->section_list_).
             super__Vector_base<var_6::type_2*,var_7::allocator<var_6::type_2*>var_3>.
             _M_impl._M_finish != var_8);
  }
  if ((parameters->options_ != (type_7 *)0x0) && ((parameters->debug_ & 8) != 0)) {
    Relaxation_debug_check::var_10
              (this->relaxation_debug_check_,&this->section_list_,&this->special_output_list_,
               &this->relax_output_list_);
  }
  this->record_output_section_data_from_script_ = true;
  return;
}


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

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

void MASKED(int param_1)

{
  undefined4 uVar1;
  int *piVar2;
  undefined4 *puVar3;
  uint uVar4;
  
  if ((*(int *)(DAT_0033f2f0 + 8) != 0) && ((*(byte *)(DAT_0033f2f0 + 0x14) & 8) != 0)) {
    puVar3 = (undefined4 *)FUN_001aa8c0(0xc);
    *puVar3 = 0;
    puVar3[1] = 0;
    puVar3[2] = 0;
    *(undefined4 **)(param_1 + 0x1e8) = puVar3;
  }
  piVar2 = (int *)FUN_001aa8c0(0x1c);
  uVar4 = 0;
  do {
    *(undefined4 *)((int)piVar2 + uVar4) = 0;
    uVar4 = uVar4 + 4;
  } while (uVar4 < 0x1c);
  piVar2[1] = 1;
  *piVar2 = (int)(piVar2 + 6);
  piVar2[2] = 0;
  piVar2[3] = 0;
  piVar2[4] = 0x3f800000;
  piVar2[5] = 0;
  piVar2[6] = 0;
  *(int **)(param_1 + 0x1e4) = piVar2;
  FUN_000b0f70(param_1,piVar2);
  puVar3 = *(undefined4 **)(param_1 + 0x130);
  if (puVar3 != *(undefined4 **)(param_1 + 0x134)) {
    do {
      uVar1 = *puVar3;
      puVar3 = puVar3 + 1;
      FUN_000e9d90(uVar1);
    } while (*(undefined4 **)(param_1 + 0x134) != puVar3);
  }
  if ((*(int *)(DAT_0033f2f0 + 8) != 0) && ((*(byte *)(DAT_0033f2f0 + 0x14) & 8) != 0)) {
    FUN_000a8a80(*(undefined4 *)(param_1 + 0x1e8),param_1 + 0x130,param_1 + 0x148,param_1 + 0x154);
  }
  *(undefined1 *)(param_1 + 0x1d4) = 1;
  return;
}

