
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Enum "DT": Some values do not have unique names */
/* DWARF original prototype: void layout_section(Sized_relobj_file<32,_false> * this, Layout *
   layout, uint shndx, char * name, Shdr * shdr, uint sh_type, uint reloc_shndx, uint reloc_type) */

void __thiscall
gold::Sized_relobj_file<32,_false>::layout_section
          (Sized_relobj_file<32,_false> *this,Layout *layout,uint shndx,char *name,Shdr *shdr,
          uint sh_type,uint reloc_shndx,uint reloc_type)

{
  Output_section *pOVar1;
  off_t offset;
  undefined4 uStack_14;
  
  uStack_14 = 0xb6b49;
  pOVar1 = Layout::layout<32,_false>
                     (layout,this,shndx,name,shdr,sh_type,reloc_shndx,reloc_type,&offset);
  (this->super_Sized_relobj<32,_false>).super_Relobj.output_sections_.
  super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>._M_impl._M_start
  [shndx] = pOVar1;
  if ((offset._4_4_ & (uint)offset) == 0xffffffff) {
    (this->super_Sized_relobj<32,_false>).section_offsets_.
    super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>._M_impl._M_start[shndx] =
         0xffffffff;
    if (reloc_shndx != 0) {
      (this->super_Sized_relobj<32,_false>).super_Relobj.relocs_must_follow_section_writes_ = true;
      return;
    }
  }
  else {
    if (offset._4_4_ != 0) {
                    /* WARNING: Subroutine does not return */
      do_gold_unreachable("../../gold/gold.h",0xc0,"convert_types");
    }
    (this->super_Sized_relobj<32,_false>).section_offsets_.
    super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>._M_impl._M_start[shndx] =
         (uint)offset;
  }
  return;
}



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

void FUN_000b6b40(int param_1,undefined4 param_2,int param_3,undefined4 param_4,undefined4 param_5,
                 undefined4 param_6,int param_7,undefined4 param_8)

{
  undefined4 uVar1;
  uint local_24;
  uint local_20;
  undefined4 uStack_14;
  
  uStack_14 = 0xb6b49;
  uVar1 = FUN_000ae570(param_2,param_1,param_3,param_4,param_5,param_6,param_7,param_8,&local_24);
  *(undefined4 *)(*(int *)(param_1 + 0x38) + param_3 * 4) = uVar1;
  if ((local_20 & local_24) == 0xffffffff) {
    *(undefined4 *)(*(int *)(param_1 + 0x84) + param_3 * 4) = 0xffffffff;
    if (param_7 != 0) {
      *(undefined1 *)(param_1 + 0x4c) = 1;
      return;
    }
  }
  else {
    if (local_20 != 0) {
                    /* WARNING: Subroutine does not return */
      FUN_00069d00("../../gold/gold.h",0xc0,"convert_types",local_20);
    }
    *(uint *)(param_3 * 4 + *(int *)(param_1 + 0x84)) = local_24;
  }
  return;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00035840
ADD EBX,0x2d84b7
SUB ESP,0x28
MOV EDI,dword ptr [ESP + 0x3c]
MOV ESI,dword ptr [ESP + 0x44]
LEA EAX,[ESP + 0x14]
PUSH EAX
PUSH dword ptr [ESP + 0x5c]
PUSH dword ptr [ESP + 0x5c]
PUSH dword ptr [ESP + 0x5c]
PUSH dword ptr [ESP + 0x5c]
PUSH dword ptr [ESP + 0x5c]
PUSH ESI
PUSH EDI
PUSH dword ptr [ESP + 0x60]
CALL 0x000ae570
MOV ECX,dword ptr [EDI + 0x38]
MOV dword ptr [ECX + ESI*0x4],EAX
MOV EAX,dword ptr [ESP + 0x3c]
MOV ECX,dword ptr [ESP + 0x38]
ADD ESP,0x30
MOV EBP,EAX
AND EBP,ECX
CMP EBP,-0x1
JZ 0x000b6bb8
LEA EDX,[ESI*0x4 + 0x0]
ADD EDX,dword ptr [EDI + 0x84]
TEST EAX,EAX
JNZ 0x000b6bd9
MOV dword ptr [EDX],ECX
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EAX,dword ptr [EDI + 0x84]
MOV EDX,dword ptr [ESP + 0x48]
MOV dword ptr [EAX + ESI*0x4],0xffffffff
TEST EDX,EDX
JZ 0x000b6bab
MOV byte ptr [EDI + 0x4c],0x1
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
PUSH EAX
LEA EAX,[EBX + 0xffefe128]
PUSH EAX
LEA EAX,[EBX + 0xffef8419]
PUSH 0xc0
PUSH EAX
CALL 0x00069d00
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_000b6b40(int param_1,undefined4 param_2,int param_3,undefined4 param_4,undefined4 param_5,\n                 undefined4 param_6,int param_7,undefined4 param_8)\n\n{\n  undefined4 uVar1;\n  uint local_24;\n  uint local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0xb6b49;\n  uVar1 = FUN_000ae570(param_2,param_1,param_3,param_4,param_5,param_6,param_7,param_8,&local_24);\n  *(undefined4 *)(*(int *)(param_1 + 0x38) + param_3 * 4) = uVar1;\n  if ((local_20 & local_24) == 0xffffffff) {\n    *(undefined4 *)(*(int *)(param_1 + 0x84) + param_3 * 4) = 0xffffffff;\n    if (param_7 != 0) {\n      *(undefined1 *)(param_1 + 0x4c) = 1;\n      return;\n    }\n  }\n  else {\n    if (local_20 != 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_00069d00("../../gold/gold.h",0xc0,"convert_types",local_20);\n    }\n    *(uint *)(param_3 * 4 + *(int *)(param_1 + 0x84)) = local_24;\n  }\n  return;\n}\n\n" comment (function_definition "void FUN_000b6b40(int param_1,undefined4 param_2,int param_3,undefined4 param_4,undefined4 param_5,\n                 undefined4 param_6,int param_7,undefined4 param_8)\n\n{\n  undefined4 uVar1;\n  uint local_24;\n  uint local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0xb6b49;\n  uVar1 = FUN_000ae570(param_2,param_1,param_3,param_4,param_5,param_6,param_7,param_8,&local_24);\n  *(undefined4 *)(*(int *)(param_1 + 0x38) + param_3 * 4) = uVar1;\n  if ((local_20 & local_24) == 0xffffffff) {\n    *(undefined4 *)(*(int *)(param_1 + 0x84) + param_3 * 4) = 0xffffffff;\n    if (param_7 != 0) {\n      *(undefined1 *)(param_1 + 0x4c) = 1;\n      return;\n    }\n  }\n  else {\n    if (local_20 != 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_00069d00("../../gold/gold.h",0xc0,"convert_types",local_20);\n    }\n    *(uint *)(param_3 * 4 + *(int *)(param_1 + 0x84)) = local_24;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_000b6b40(int param_1,undefined4 param_2,int param_3,undefined4 param_4,undefined4 param_5,\n                 undefined4 param_6,int param_7,undefined4 param_8)" identifier (parameter_list "(int param_1,undefined4 param_2,int param_3,undefined4 param_4,undefined4 param_5,\n                 undefined4 param_6,int param_7,undefined4 param_8)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) , (parameter_declaration "undefined4 param_5" type_identifier identifier) , (parameter_declaration "undefined4 param_6" type_identifier identifier) , (parameter_declaration "int param_7" primitive_type identifier) , (parameter_declaration "undefined4 param_8" type_identifier identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  uint local_24;\n  uint local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0xb6b49;\n  uVar1 = FUN_000ae570(param_2,param_1,param_3,param_4,param_5,param_6,param_7,param_8,&local_24);\n  *(undefined4 *)(*(int *)(param_1 + 0x38) + param_3 * 4) = uVar1;\n  if ((local_20 & local_24) == 0xffffffff) {\n    *(undefined4 *)(*(int *)(param_1 + 0x84) + param_3 * 4) = 0xffffffff;\n    if (param_7 != 0) {\n      *(undefined1 *)(param_1 + 0x4c) = 1;\n      return;\n    }\n  }\n  else {\n    if (local_20 != 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_00069d00("../../gold/gold.h",0xc0,"convert_types",local_20);\n    }\n    *(uint *)(param_3 * 4 + *(int *)(param_1 + 0x84)) = local_24;\n  }\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "uint local_24;" type_identifier identifier ;) (declaration "uint local_20;" type_identifier identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0xb6b49;" (assignment_expression "uStack_14 = 0xb6b49" identifier = number_literal) ;) (expression_statement "uVar1 = FUN_000ae570(param_2,param_1,param_3,param_4,param_5,param_6,param_7,param_8,&local_24);" (assignment_expression "uVar1 = FUN_000ae570(param_2,param_1,param_3,param_4,param_5,param_6,param_7,param_8,&local_24)" identifier = (call_expression "FUN_000ae570(param_2,param_1,param_3,param_4,param_5,param_6,param_7,param_8,&local_24)" identifier (argument_list "(param_2,param_1,param_3,param_4,param_5,param_6,param_7,param_8,&local_24)" ( identifier , identifier , identifier , identifier , identifier , identifier , identifier , identifier , (pointer_expression "&local_24" & identifier) )))) ;) (expression_statement "*(undefined4 *)(*(int *)(param_1 + 0x38) + param_3 * 4) = uVar1;" (assignment_expression "*(undefined4 *)(*(int *)(param_1 + 0x38) + param_3 * 4) = uVar1" (pointer_expression "*(undefined4 *)(*(int *)(param_1 + 0x38) + param_3 * 4)" * (cast_expression "(undefined4 *)(*(int *)(param_1 + 0x38) + param_3 * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0x38) + param_3 * 4)" ( (binary_expression "*(int *)(param_1 + 0x38) + param_3 * 4" (pointer_expression "*(int *)(param_1 + 0x38)" * (cast_expression "(int *)(param_1 + 0x38)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x38)" ( (binary_expression "param_1 + 0x38" identifier + number_literal) )))) + (binary_expression "param_3 * 4" identifier * number_literal)) )))) = identifier) ;) (if_statement "if ((local_20 & local_24) == 0xffffffff) {\n    *(undefined4 *)(*(int *)(param_1 + 0x84) + param_3 * 4) = 0xffffffff;\n    if (param_7 != 0) {\n      *(undefined1 *)(param_1 + 0x4c) = 1;\n      return;\n    }\n  }\n  else {\n    if (local_20 != 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_00069d00("../../gold/gold.h",0xc0,"convert_types",local_20);\n    }\n    *(uint *)(param_3 * 4 + *(int *)(param_1 + 0x84)) = local_24;\n  }" if (parenthesized_expression "((local_20 & local_24) == 0xffffffff)" ( (binary_expression "(local_20 & local_24) == 0xffffffff" (parenthesized_expression "(local_20 & local_24)" ( (binary_expression "local_20 & local_24" identifier & identifier) )) == number_literal) )) (compound_statement "{\n    *(undefined4 *)(*(int *)(param_1 + 0x84) + param_3 * 4) = 0xffffffff;\n    if (param_7 != 0) {\n      *(undefined1 *)(param_1 + 0x4c) = 1;\n      return;\n    }\n  }" { (expression_statement "*(undefined4 *)(*(int *)(param_1 + 0x84) + param_3 * 4) = 0xffffffff;" (assignment_expression "*(undefined4 *)(*(int *)(param_1 + 0x84) + param_3 * 4) = 0xffffffff" (pointer_expression "*(undefined4 *)(*(int *)(param_1 + 0x84) + param_3 * 4)" * (cast_expression "(undefined4 *)(*(int *)(param_1 + 0x84) + param_3 * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0x84) + param_3 * 4)" ( (binary_expression "*(int *)(param_1 + 0x84) + param_3 * 4" (pointer_expression "*(int *)(param_1 + 0x84)" * (cast_expression "(int *)(param_1 + 0x84)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x84)" ( (binary_expression "param_1 + 0x84" identifier + number_literal) )))) + (binary_expression "param_3 * 4" identifier * number_literal)) )))) = number_literal) ;) (if_statement "if (param_7 != 0) {\n      *(undefined1 *)(param_1 + 0x4c) = 1;\n      return;\n    }" if (parenthesized_expression "(param_7 != 0)" ( (binary_expression "param_7 != 0" identifier != number_literal) )) (compound_statement "{\n      *(undefined1 *)(param_1 + 0x4c) = 1;\n      return;\n    }" { (expression_statement "*(undefined1 *)(param_1 + 0x4c) = 1;" (assignment_expression "*(undefined1 *)(param_1 + 0x4c) = 1" (pointer_expression "*(undefined1 *)(param_1 + 0x4c)" * (cast_expression "(undefined1 *)(param_1 + 0x4c)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x4c)" ( (binary_expression "param_1 + 0x4c" identifier + number_literal) )))) = number_literal) ;) (return_statement "return;" return ;) })) }) (else_clause "else {\n    if (local_20 != 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_00069d00("../../gold/gold.h",0xc0,"convert_types",local_20);\n    }\n    *(uint *)(param_3 * 4 + *(int *)(param_1 + 0x84)) = local_24;\n  }" else (compound_statement "{\n    if (local_20 != 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_00069d00("../../gold/gold.h",0xc0,"convert_types",local_20);\n    }\n    *(uint *)(param_3 * 4 + *(int *)(param_1 + 0x84)) = local_24;\n  }" { (if_statement "if (local_20 != 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_00069d00("../../gold/gold.h",0xc0,"convert_types",local_20);\n    }" if (parenthesized_expression "(local_20 != 0)" ( (binary_expression "local_20 != 0" identifier != number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      FUN_00069d00("../../gold/gold.h",0xc0,"convert_types",local_20);\n    }" { comment (expression_statement "FUN_00069d00("../../gold/gold.h",0xc0,"convert_types",local_20);" (call_expression "FUN_00069d00("../../gold/gold.h",0xc0,"convert_types",local_20)" identifier (argument_list "("../../gold/gold.h",0xc0,"convert_types",local_20)" ( (string_literal ""../../gold/gold.h"" " string_content ") , number_literal , (string_literal ""convert_types"" " string_content ") , identifier ))) ;) })) (expression_statement "*(uint *)(param_3 * 4 + *(int *)(param_1 + 0x84)) = local_24;" (assignment_expression "*(uint *)(param_3 * 4 + *(int *)(param_1 + 0x84)) = local_24" (pointer_expression "*(uint *)(param_3 * 4 + *(int *)(param_1 + 0x84))" * (cast_expression "(uint *)(param_3 * 4 + *(int *)(param_1 + 0x84))" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 * 4 + *(int *)(param_1 + 0x84))" ( (binary_expression "param_3 * 4 + *(int *)(param_1 + 0x84)" (binary_expression "param_3 * 4" identifier * number_literal) + (pointer_expression "*(int *)(param_1 + 0x84)" * (cast_expression "(int *)(param_1 + 0x84)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x84)" ( (binary_expression "param_1 + 0x84" identifier + number_literal) ))))) )))) = identifier) ;) }))) (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/* DWARF original prototype: void layout_section(Sized_relobj_file<32,_false> * this, Layout *\n   layout, uint shndx, char * name, Shdr * shdr, uint sh_type, uint reloc_shndx, uint reloc_type) */\n\nvoid __thiscall\ngold::Sized_relobj_file<32,_false>::layout_section\n          (Sized_relobj_file<32,_false> *this,Layout *layout,uint shndx,char *name,Shdr *shdr,\n          uint sh_type,uint reloc_shndx,uint reloc_type)\n\n{\n  Output_section *pOVar1;\n  off_t offset;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0xb6b49;\n  pOVar1 = Layout::layout<32,_false>\n                     (layout,this,shndx,name,shdr,sh_type,reloc_shndx,reloc_type,&offset);\n  (this->super_Sized_relobj<32,_false>).super_Relobj.output_sections_.\n  super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>._M_impl._M_start\n  [shndx] = pOVar1;\n  if ((offset._4_4_ & (uint)offset) == 0xffffffff) {\n    (this->super_Sized_relobj<32,_false>).section_offsets_.\n    super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>._M_impl._M_start[shndx] =\n         0xffffffff;\n    if (reloc_shndx != 0) {\n      (this->super_Sized_relobj<32,_false>).super_Relobj.relocs_must_follow_section_writes_ = true;\n      return;\n    }\n  }\n  else {\n    if (offset._4_4_ != 0) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/gold.h",0xc0,"convert_types");\n    }\n    (this->super_Sized_relobj<32,_false>).section_offsets_.\n    super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>._M_impl._M_start[shndx] =\n         (uint)offset;\n  }\n  return;\n}\n\n" comment comment comment (declaration "void __thiscall\ngold::Sized_relobj_file<32,_false>::layout_section\n          (Sized_relobj_file<32,_false> *this,Layout *layout,uint shndx,char *name,Shdr *shdr,\n          uint sh_type,uint reloc_shndx,uint reloc_type)\n\n{\n  Output_section *pOVar1;" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::" identifier : :) identifier (ERROR "<32" < number_literal) , (ERROR "_false>::layout_section\n          (Sized_relobj_file<32,_false> *this,Layout *layout,uint shndx,char *name,Shdr *shdr,\n          uint sh_type,uint reloc_shndx,uint reloc_type)\n\n{\n  Output_section" identifier > : : (function_declarator "layout_section\n          (Sized_relobj_file<32,_false> *this,Layout *layout,uint shndx,char *name,Shdr *shdr,\n          uint sh_type,uint reloc_shndx,uint reloc_type)" identifier (parameter_list "(Sized_relobj_file<32,_false> *this,Layout *layout,uint shndx,char *name,Shdr *shdr,\n          uint sh_type,uint reloc_shndx,uint reloc_type)" ( (parameter_declaration "Sized_relobj_file" type_identifier) (ERROR "<32" < number_literal) , (parameter_declaration "_false> *this" type_identifier (ERROR ">" >) (pointer_declarator "*this" * identifier)) , (parameter_declaration "Layout *layout" type_identifier (pointer_declarator "*layout" * identifier)) , (parameter_declaration "uint shndx" type_identifier identifier) , (parameter_declaration "char *name" primitive_type (pointer_declarator "*name" * identifier)) , (parameter_declaration "Shdr *shdr" type_identifier (pointer_declarator "*shdr" * identifier)) , (parameter_declaration "uint sh_type" type_identifier identifier) , (parameter_declaration "uint reloc_shndx" type_identifier identifier) , (parameter_declaration "uint reloc_type" type_identifier identifier) ))) { identifier) (pointer_declarator "*pOVar1" * identifier) ;) (declaration "off_t offset;" type_identifier identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0xb6b49;" (assignment_expression "uStack_14 = 0xb6b49" identifier = number_literal) ;) (expression_statement "pOVar1 = Layout::layout<32,_false>\n                     (layout,this,shndx,name,shdr,sh_type,reloc_shndx,reloc_type,&offset);\n  (this->super_Sized_relobj<32,_false>).super_Relobj.output_sections_.\n  super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>._M_impl._M_start\n  [shndx] = pOVar1;" (assignment_expression "pOVar1 = Layout::layout<32,_false>\n                     (layout,this,shndx,name,shdr,sh_type,reloc_shndx,reloc_type,&offset);\n  (this->super_Sized_relobj<32,_false>).super_Relobj.output_sections_.\n  super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>._M_impl._M_start\n  [shndx] = pOVar1" (subscript_expression "pOVar1 = Layout::layout<32,_false>\n                     (layout,this,shndx,name,shdr,sh_type,reloc_shndx,reloc_type,&offset);\n  (this->super_Sized_relobj<32,_false>).super_Relobj.output_sections_.\n  super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>._M_impl._M_start\n  [shndx]" (field_expression "pOVar1 = Layout::layout<32,_false>\n                     (layout,this,shndx,name,shdr,sh_type,reloc_shndx,reloc_type,&offset);\n  (this->super_Sized_relobj<32,_false>).super_Relobj.output_sections_.\n  super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>._M_impl._M_start" (field_expression "pOVar1 = Layout::layout<32,_false>\n                     (layout,this,shndx,name,shdr,sh_type,reloc_shndx,reloc_type,&offset);\n  (this->super_Sized_relobj<32,_false>).super_Relobj.output_sections_.\n  super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>._M_impl" (binary_expression "pOVar1 = Layout::layout<32,_false>\n                     (layout,this,shndx,name,shdr,sh_type,reloc_shndx,reloc_type,&offset);\n  (this->super_Sized_relobj<32,_false>).super_Relobj.output_sections_.\n  super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_" (binary_expression "pOVar1 = Layout::layout<32,_false>\n                     (layout,this,shndx,name,shdr,sh_type,reloc_shndx,reloc_type,&offset);\n  (this->super_Sized_relobj<32,_false>).super_Relobj.output_sections_.\n  super__Vector_base<gold::Output_section*,_std::allocator<gold" (binary_expression "pOVar1 = Layout::layout<32,_false>\n                     (layout,this,shndx,name,shdr,sh_type,reloc_shndx,reloc_type,&offset);\n  (this->super_Sized_relobj<32,_false>).super_Relobj.output_sections_.\n  super__Vector_base<gold::Output_section*,_std" (binary_expression "pOVar1 = Layout::layout<32,_false>\n                     (layout,this,shndx,name,shdr,sh_type,reloc_shndx,reloc_type,&offset);\n  (this->super_Sized_relobj<32,_false>).super_Relobj.output_sections_.\n  super__Vector_base<gold" (field_expression "pOVar1 = Layout::layout<32,_false>\n                     (layout,this,shndx,name,shdr,sh_type,reloc_shndx,reloc_type,&offset);\n  (this->super_Sized_relobj<32,_false>).super_Relobj.output_sections_.\n  super__Vector_base" (field_expression "pOVar1 = Layout::layout<32,_false>\n                     (layout,this,shndx,name,shdr,sh_type,reloc_shndx,reloc_type,&offset);\n  (this->super_Sized_relobj<32,_false>).super_Relobj.output_sections_" (field_expression "pOVar1 = Layout::layout<32,_false>\n                     (layout,this,shndx,name,shdr,sh_type,reloc_shndx,reloc_type,&offset);\n  (this->super_Sized_relobj<32,_false>).super_Relobj" (call_expression "pOVar1 = Layout::layout<32,_false>\n                     (layout,this,shndx,name,shdr,sh_type,reloc_shndx,reloc_type,&offset);\n  (this->super_Sized_relobj<32,_false>)" (binary_expression "pOVar1 = Layout::layout<32,_false>\n                     (layout,this,shndx,name,shdr,sh_type,reloc_shndx,reloc_type,&offset)" (binary_expression "pOVar1 = Layout::layout<32" (assignment_expression "pOVar1 = Layout" identifier = identifier) (ERROR "::layout" : : identifier) < number_literal) (ERROR ",_false" , identifier) > (parenthesized_expression "(layout,this,shndx,name,shdr,sh_type,reloc_shndx,reloc_type,&offset)" ( (comma_expression "layout,this,shndx,name,shdr,sh_type,reloc_shndx,reloc_type,&offset" identifier , (comma_expression "this,shndx,name,shdr,sh_type,reloc_shndx,reloc_type,&offset" identifier , (comma_expression "shndx,name,shdr,sh_type,reloc_shndx,reloc_type,&offset" identifier , (comma_expression "name,shdr,sh_type,reloc_shndx,reloc_type,&offset" identifier , (comma_expression "shdr,sh_type,reloc_shndx,reloc_type,&offset" identifier , (comma_expression "sh_type,reloc_shndx,reloc_type,&offset" identifier , (comma_expression "reloc_shndx,reloc_type,&offset" identifier , (comma_expression "reloc_type,&offset" identifier , (pointer_expression "&offset" & identifier))))))))) ))) (ERROR ";" ;) (argument_list "(this->super_Sized_relobj<32,_false>)" ( (binary_expression "this->super_Sized_relobj<32" (field_expression "this->super_Sized_relobj" identifier -> field_identifier) < number_literal) , identifier (ERROR ">" >) ))) . field_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 ]) = identifier) ;) (if_statement "if ((offset._4_4_ & (uint)offset) == 0xffffffff) {\n    (this->super_Sized_relobj<32,_false>).section_offsets_.\n    super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>._M_impl._M_start[shndx] =\n         0xffffffff;\n    if (reloc_shndx != 0) {\n      (this->super_Sized_relobj<32,_false>).super_Relobj.relocs_must_follow_section_writes_ = true;\n      return;\n    }\n  }\n  else {\n    if (offset._4_4_ != 0) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/gold.h",0xc0,"convert_types");\n    }\n    (this->super_Sized_relobj<32,_false>).section_offsets_.\n    super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>._M_impl._M_start[shndx] =\n         (uint)offset;\n  }" if (parenthesized_expression "((offset._4_4_ & (uint)offset) == 0xffffffff)" ( (binary_expression "(offset._4_4_ & (uint)offset) == 0xffffffff" (parenthesized_expression "(offset._4_4_ & (uint)offset)" ( (binary_expression "offset._4_4_ & (uint)offset" (field_expression "offset._4_4_" identifier . field_identifier) & (cast_expression "(uint)offset" ( (type_descriptor "uint" type_identifier) ) identifier)) )) == number_literal) )) (compound_statement "{\n    (this->super_Sized_relobj<32,_false>).section_offsets_.\n    super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>._M_impl._M_start[shndx] =\n         0xffffffff;\n    if (reloc_shndx != 0) {\n      (this->super_Sized_relobj<32,_false>).super_Relobj.relocs_must_follow_section_writes_ = true;\n      return;\n    }\n  }" { (ERROR "(this->super_Sized_relobj<32,_false>).section_offsets_.\n    super__Vector_base<unsigned_int,_std::" (comma_expression "(this->super_Sized_relobj<32,_false>).section_offsets_.\n    super__Vector_base<unsigned_int,_std" (binary_expression "(this->super_Sized_relobj<32,_false>).section_offsets_.\n    super__Vector_base<unsigned_int" (field_expression "(this->super_Sized_relobj<32,_false>).section_offsets_.\n    super__Vector_base" (field_expression "(this->super_Sized_relobj<32,_false>).section_offsets_" (parenthesized_expression "(this->super_Sized_relobj<32,_false>)" ( (comma_expression "this->super_Sized_relobj<32,_false" (binary_expression "this->super_Sized_relobj<32" (field_expression "this->super_Sized_relobj" identifier -> field_identifier) < number_literal) , identifier) (ERROR ">" >) )) . field_identifier) . field_identifier) < identifier) , identifier) : :) (expression_statement "allocator<unsigned_int>_>._M_impl._M_start[shndx] =\n         0xffffffff;" (assignment_expression "allocator<unsigned_int>_>._M_impl._M_start[shndx] =\n         0xffffffff" (subscript_expression "allocator<unsigned_int>_>._M_impl._M_start[shndx]" (field_expression "allocator<unsigned_int>_>._M_impl._M_start" (field_expression "allocator<unsigned_int>_>._M_impl" (binary_expression "allocator<unsigned_int>_" (binary_expression "allocator<unsigned_int" identifier < identifier) > identifier) (ERROR ">" >) . field_identifier) . field_identifier) [ identifier ]) = number_literal) ;) (if_statement "if (reloc_shndx != 0) {\n      (this->super_Sized_relobj<32,_false>).super_Relobj.relocs_must_follow_section_writes_ = true;\n      return;\n    }" if (parenthesized_expression "(reloc_shndx != 0)" ( (binary_expression "reloc_shndx != 0" identifier != number_literal) )) (compound_statement "{\n      (this->super_Sized_relobj<32,_false>).super_Relobj.relocs_must_follow_section_writes_ = true;\n      return;\n    }" { (expression_statement "(this->super_Sized_relobj<32,_false>).super_Relobj.relocs_must_follow_section_writes_ = true;" (assignment_expression "(this->super_Sized_relobj<32,_false>).super_Relobj.relocs_must_follow_section_writes_ = true" (field_expression "(this->super_Sized_relobj<32,_false>).super_Relobj.relocs_must_follow_section_writes_" (field_expression "(this->super_Sized_relobj<32,_false>).super_Relobj" (parenthesized_expression "(this->super_Sized_relobj<32,_false>)" ( (comma_expression "this->super_Sized_relobj<32,_false" (binary_expression "this->super_Sized_relobj<32" (field_expression "this->super_Sized_relobj" identifier -> field_identifier) < number_literal) , identifier) (ERROR ">" >) )) . field_identifier) . field_identifier) = true) ;) (return_statement "return;" return ;) })) }) (else_clause "else {\n    if (offset._4_4_ != 0) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/gold.h",0xc0,"convert_types");\n    }\n    (this->super_Sized_relobj<32,_false>).section_offsets_.\n    super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>._M_impl._M_start[shndx] =\n         (uint)offset;\n  }" else (compound_statement "{\n    if (offset._4_4_ != 0) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/gold.h",0xc0,"convert_types");\n    }\n    (this->super_Sized_relobj<32,_false>).section_offsets_.\n    super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>._M_impl._M_start[shndx] =\n         (uint)offset;\n  }" { (if_statement "if (offset._4_4_ != 0) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/gold.h",0xc0,"convert_types");\n    }" if (parenthesized_expression "(offset._4_4_ != 0)" ( (binary_expression "offset._4_4_ != 0" (field_expression "offset._4_4_" identifier . field_identifier) != number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/gold.h",0xc0,"convert_types");\n    }" { comment (expression_statement "do_gold_unreachable("../../gold/gold.h",0xc0,"convert_types");" (call_expression "do_gold_unreachable("../../gold/gold.h",0xc0,"convert_types")" identifier (argument_list "("../../gold/gold.h",0xc0,"convert_types")" ( (string_literal ""../../gold/gold.h"" " string_content ") , number_literal , (string_literal ""convert_types"" " string_content ") ))) ;) })) (ERROR "(this->super_Sized_relobj<32,_false>).section_offsets_.\n    super__Vector_base<unsigned_int,_std::" (comma_expression "(this->super_Sized_relobj<32,_false>).section_offsets_.\n    super__Vector_base<unsigned_int,_std" (binary_expression "(this->super_Sized_relobj<32,_false>).section_offsets_.\n    super__Vector_base<unsigned_int" (field_expression "(this->super_Sized_relobj<32,_false>).section_offsets_.\n    super__Vector_base" (field_expression "(this->super_Sized_relobj<32,_false>).section_offsets_" (parenthesized_expression "(this->super_Sized_relobj<32,_false>)" ( (comma_expression "this->super_Sized_relobj<32,_false" (binary_expression "this->super_Sized_relobj<32" (field_expression "this->super_Sized_relobj" identifier -> field_identifier) < number_literal) , identifier) (ERROR ">" >) )) . field_identifier) . field_identifier) < identifier) , identifier) : :) (expression_statement "allocator<unsigned_int>_>._M_impl._M_start[shndx] =\n         (uint)offset;" (assignment_expression "allocator<unsigned_int>_>._M_impl._M_start[shndx] =\n         (uint)offset" (subscript_expression "allocator<unsigned_int>_>._M_impl._M_start[shndx]" (field_expression "allocator<unsigned_int>_>._M_impl._M_start" (field_expression "allocator<unsigned_int>_>._M_impl" (binary_expression "allocator<unsigned_int>_" (binary_expression "allocator<unsigned_int" identifier < identifier) > identifier) (ERROR ">" >) . field_identifier) . field_identifier) [ identifier ]) = (cast_expression "(uint)offset" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) }))) (return_statement "return;" return ;) (ERROR "}" }))
(translation_unit "void FUN_000b6b40(int param_1,undefined4 param_2,int param_3,undefined4 param_4,undefined4 param_5,\n                 undefined4 param_6,int param_7,undefined4 param_8)\n\n{\n  undefined4 uVar1;\n  uint local_24;\n  uint local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0xb6b49;\n  uVar1 = FUN_000ae570(param_2,param_1,param_3,param_4,param_5,param_6,param_7,param_8,&local_24);\n  *(undefined4 *)(*(int *)(param_1 + 0x38) + param_3 * 4) = uVar1;\n  if ((local_20 & local_24) == 0xffffffff) {\n    *(undefined4 *)(*(int *)(param_1 + 0x84) + param_3 * 4) = 0xffffffff;\n    if (param_7 != 0) {\n      *(undefined1 *)(param_1 + 0x4c) = 1;\n      return;\n    }\n  }\n  else {\n    if (local_20 != 0) {\n                    \n      FUN_00069d00("../../gold/gold.h",0xc0,"convert_types",local_20);\n    }\n    *(uint *)(param_3 * 4 + *(int *)(param_1 + 0x84)) = local_24;\n  }\n  return;\n}\n\n" (function_definition "void FUN_000b6b40(int param_1,undefined4 param_2,int param_3,undefined4 param_4,undefined4 param_5,\n                 undefined4 param_6,int param_7,undefined4 param_8)\n\n{\n  undefined4 uVar1;\n  uint local_24;\n  uint local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0xb6b49;\n  uVar1 = FUN_000ae570(param_2,param_1,param_3,param_4,param_5,param_6,param_7,param_8,&local_24);\n  *(undefined4 *)(*(int *)(param_1 + 0x38) + param_3 * 4) = uVar1;\n  if ((local_20 & local_24) == 0xffffffff) {\n    *(undefined4 *)(*(int *)(param_1 + 0x84) + param_3 * 4) = 0xffffffff;\n    if (param_7 != 0) {\n      *(undefined1 *)(param_1 + 0x4c) = 1;\n      return;\n    }\n  }\n  else {\n    if (local_20 != 0) {\n                    \n      FUN_00069d00("../../gold/gold.h",0xc0,"convert_types",local_20);\n    }\n    *(uint *)(param_3 * 4 + *(int *)(param_1 + 0x84)) = local_24;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_000b6b40(int param_1,undefined4 param_2,int param_3,undefined4 param_4,undefined4 param_5,\n                 undefined4 param_6,int param_7,undefined4 param_8)" identifier (parameter_list "(int param_1,undefined4 param_2,int param_3,undefined4 param_4,undefined4 param_5,\n                 undefined4 param_6,int param_7,undefined4 param_8)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) , (parameter_declaration "undefined4 param_5" type_identifier identifier) , (parameter_declaration "undefined4 param_6" type_identifier identifier) , (parameter_declaration "int param_7" primitive_type identifier) , (parameter_declaration "undefined4 param_8" type_identifier identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  uint local_24;\n  uint local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0xb6b49;\n  uVar1 = FUN_000ae570(param_2,param_1,param_3,param_4,param_5,param_6,param_7,param_8,&local_24);\n  *(undefined4 *)(*(int *)(param_1 + 0x38) + param_3 * 4) = uVar1;\n  if ((local_20 & local_24) == 0xffffffff) {\n    *(undefined4 *)(*(int *)(param_1 + 0x84) + param_3 * 4) = 0xffffffff;\n    if (param_7 != 0) {\n      *(undefined1 *)(param_1 + 0x4c) = 1;\n      return;\n    }\n  }\n  else {\n    if (local_20 != 0) {\n                    \n      FUN_00069d00("../../gold/gold.h",0xc0,"convert_types",local_20);\n    }\n    *(uint *)(param_3 * 4 + *(int *)(param_1 + 0x84)) = local_24;\n  }\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "uint local_24;" type_identifier identifier ;) (declaration "uint local_20;" type_identifier identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0xb6b49;" (assignment_expression "uStack_14 = 0xb6b49" identifier = number_literal) ;) (expression_statement "uVar1 = FUN_000ae570(param_2,param_1,param_3,param_4,param_5,param_6,param_7,param_8,&local_24);" (assignment_expression "uVar1 = FUN_000ae570(param_2,param_1,param_3,param_4,param_5,param_6,param_7,param_8,&local_24)" identifier = (call_expression "FUN_000ae570(param_2,param_1,param_3,param_4,param_5,param_6,param_7,param_8,&local_24)" identifier (argument_list "(param_2,param_1,param_3,param_4,param_5,param_6,param_7,param_8,&local_24)" ( identifier , identifier , identifier , identifier , identifier , identifier , identifier , identifier , (pointer_expression "&local_24" & identifier) )))) ;) (expression_statement "*(undefined4 *)(*(int *)(param_1 + 0x38) + param_3 * 4) = uVar1;" (assignment_expression "*(undefined4 *)(*(int *)(param_1 + 0x38) + param_3 * 4) = uVar1" (pointer_expression "*(undefined4 *)(*(int *)(param_1 + 0x38) + param_3 * 4)" * (cast_expression "(undefined4 *)(*(int *)(param_1 + 0x38) + param_3 * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0x38) + param_3 * 4)" ( (binary_expression "*(int *)(param_1 + 0x38) + param_3 * 4" (pointer_expression "*(int *)(param_1 + 0x38)" * (cast_expression "(int *)(param_1 + 0x38)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x38)" ( (binary_expression "param_1 + 0x38" identifier + number_literal) )))) + (binary_expression "param_3 * 4" identifier * number_literal)) )))) = identifier) ;) (if_statement "if ((local_20 & local_24) == 0xffffffff) {\n    *(undefined4 *)(*(int *)(param_1 + 0x84) + param_3 * 4) = 0xffffffff;\n    if (param_7 != 0) {\n      *(undefined1 *)(param_1 + 0x4c) = 1;\n      return;\n    }\n  }\n  else {\n    if (local_20 != 0) {\n                    \n      FUN_00069d00("../../gold/gold.h",0xc0,"convert_types",local_20);\n    }\n    *(uint *)(param_3 * 4 + *(int *)(param_1 + 0x84)) = local_24;\n  }" if (parenthesized_expression "((local_20 & local_24) == 0xffffffff)" ( (binary_expression "(local_20 & local_24) == 0xffffffff" (parenthesized_expression "(local_20 & local_24)" ( (binary_expression "local_20 & local_24" identifier & identifier) )) == number_literal) )) (compound_statement "{\n    *(undefined4 *)(*(int *)(param_1 + 0x84) + param_3 * 4) = 0xffffffff;\n    if (param_7 != 0) {\n      *(undefined1 *)(param_1 + 0x4c) = 1;\n      return;\n    }\n  }" { (expression_statement "*(undefined4 *)(*(int *)(param_1 + 0x84) + param_3 * 4) = 0xffffffff;" (assignment_expression "*(undefined4 *)(*(int *)(param_1 + 0x84) + param_3 * 4) = 0xffffffff" (pointer_expression "*(undefined4 *)(*(int *)(param_1 + 0x84) + param_3 * 4)" * (cast_expression "(undefined4 *)(*(int *)(param_1 + 0x84) + param_3 * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0x84) + param_3 * 4)" ( (binary_expression "*(int *)(param_1 + 0x84) + param_3 * 4" (pointer_expression "*(int *)(param_1 + 0x84)" * (cast_expression "(int *)(param_1 + 0x84)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x84)" ( (binary_expression "param_1 + 0x84" identifier + number_literal) )))) + (binary_expression "param_3 * 4" identifier * number_literal)) )))) = number_literal) ;) (if_statement "if (param_7 != 0) {\n      *(undefined1 *)(param_1 + 0x4c) = 1;\n      return;\n    }" if (parenthesized_expression "(param_7 != 0)" ( (binary_expression "param_7 != 0" identifier != number_literal) )) (compound_statement "{\n      *(undefined1 *)(param_1 + 0x4c) = 1;\n      return;\n    }" { (expression_statement "*(undefined1 *)(param_1 + 0x4c) = 1;" (assignment_expression "*(undefined1 *)(param_1 + 0x4c) = 1" (pointer_expression "*(undefined1 *)(param_1 + 0x4c)" * (cast_expression "(undefined1 *)(param_1 + 0x4c)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x4c)" ( (binary_expression "param_1 + 0x4c" identifier + number_literal) )))) = number_literal) ;) (return_statement "return;" return ;) })) }) (else_clause "else {\n    if (local_20 != 0) {\n                    \n      FUN_00069d00("../../gold/gold.h",0xc0,"convert_types",local_20);\n    }\n    *(uint *)(param_3 * 4 + *(int *)(param_1 + 0x84)) = local_24;\n  }" else (compound_statement "{\n    if (local_20 != 0) {\n                    \n      FUN_00069d00("../../gold/gold.h",0xc0,"convert_types",local_20);\n    }\n    *(uint *)(param_3 * 4 + *(int *)(param_1 + 0x84)) = local_24;\n  }" { (if_statement "if (local_20 != 0) {\n                    \n      FUN_00069d00("../../gold/gold.h",0xc0,"convert_types",local_20);\n    }" if (parenthesized_expression "(local_20 != 0)" ( (binary_expression "local_20 != 0" identifier != number_literal) )) (compound_statement "{\n                    \n      FUN_00069d00("../../gold/gold.h",0xc0,"convert_types",local_20);\n    }" { (expression_statement "FUN_00069d00("../../gold/gold.h",0xc0,"convert_types",local_20);" (call_expression "FUN_00069d00("../../gold/gold.h",0xc0,"convert_types",local_20)" identifier (argument_list "("../../gold/gold.h",0xc0,"convert_types",local_20)" ( (string_literal ""../../gold/gold.h"" " string_content ") , number_literal , (string_literal ""convert_types"" " string_content ") , identifier ))) ;) })) (expression_statement "*(uint *)(param_3 * 4 + *(int *)(param_1 + 0x84)) = local_24;" (assignment_expression "*(uint *)(param_3 * 4 + *(int *)(param_1 + 0x84)) = local_24" (pointer_expression "*(uint *)(param_3 * 4 + *(int *)(param_1 + 0x84))" * (cast_expression "(uint *)(param_3 * 4 + *(int *)(param_1 + 0x84))" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 * 4 + *(int *)(param_1 + 0x84))" ( (binary_expression "param_3 * 4 + *(int *)(param_1 + 0x84)" (binary_expression "param_3 * 4" identifier * number_literal) + (pointer_expression "*(int *)(param_1 + 0x84)" * (cast_expression "(int *)(param_1 + 0x84)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x84)" ( (binary_expression "param_1 + 0x84" identifier + number_literal) ))))) )))) = identifier) ;) }))) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , IDENT , IDENT , IDENT , IDENT , IDENT , (pointer_expression & IDENT) )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + (binary_expression IDENT * LIT)) )))) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & IDENT) )) == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + (binary_expression IDENT * LIT)) )))) = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (return_statement return ;) })) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , IDENT ))) ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT * LIT) + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )))) = IDENT) ;) }))) (return_statement return ;) })))
(function_definition "void FUN_000b6b40(int param_1,undefined4 param_2,int param_3,undefined4 param_4,undefined4 param_5,\n                 undefined4 param_6,int param_7,undefined4 param_8)\n\n{\n  undefined4 uVar1;\n  uint local_24;\n  uint local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0xb6b49;\n  uVar1 = FUN_000ae570(param_2,param_1,param_3,param_4,param_5,param_6,param_7,param_8,&local_24);\n  *(undefined4 *)(*(int *)(param_1 + 0x38) + param_3 * 4) = uVar1;\n  if ((local_20 & local_24) == 0xffffffff) {\n    *(undefined4 *)(*(int *)(param_1 + 0x84) + param_3 * 4) = 0xffffffff;\n    if (param_7 != 0) {\n      *(undefined1 *)(param_1 + 0x4c) = 1;\n      return;\n    }\n  }\n  else {\n    if (local_20 != 0) {\n                    \n      FUN_00069d00("../../gold/gold.h",0xc0,"convert_types",local_20);\n    }\n    *(uint *)(param_3 * 4 + *(int *)(param_1 + 0x84)) = local_24;\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_000b6b40(int param_1,undefined4 param_2,int param_3,undefined4 param_4,undefined4 param_5,\n                 undefined4 param_6,int param_7,undefined4 param_8)" (identifier "FUN_000b6b40") (parameter_list "(int param_1,undefined4 param_2,int param_3,undefined4 param_4,undefined4 param_5,\n                 undefined4 param_6,int param_7,undefined4 param_8)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) (, ",") (parameter_declaration "undefined4 param_4" (type_identifier "undefined4") (identifier "param_4")) (, ",") (parameter_declaration "undefined4 param_5" (type_identifier "undefined4") (identifier "param_5")) (, ",") (parameter_declaration "undefined4 param_6" (type_identifier "undefined4") (identifier "param_6")) (, ",") (parameter_declaration "int param_7" (primitive_type "int") (identifier "param_7")) (, ",") (parameter_declaration "undefined4 param_8" (type_identifier "undefined4") (identifier "param_8")) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  uint local_24;\n  uint local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0xb6b49;\n  uVar1 = FUN_000ae570(param_2,param_1,param_3,param_4,param_5,param_6,param_7,param_8,&local_24);\n  *(undefined4 *)(*(int *)(param_1 + 0x38) + param_3 * 4) = uVar1;\n  if ((local_20 & local_24) == 0xffffffff) {\n    *(undefined4 *)(*(int *)(param_1 + 0x84) + param_3 * 4) = 0xffffffff;\n    if (param_7 != 0) {\n      *(undefined1 *)(param_1 + 0x4c) = 1;\n      return;\n    }\n  }\n  else {\n    if (local_20 != 0) {\n                    \n      FUN_00069d00("../../gold/gold.h",0xc0,"convert_types",local_20);\n    }\n    *(uint *)(param_3 * 4 + *(int *)(param_1 + 0x84)) = local_24;\n  }\n  return;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (declaration "uint local_24;" (type_identifier "uint") (identifier "local_24") (; ";")) (declaration "uint local_20;" (type_identifier "uint") (identifier "local_20") (; ";")) (declaration "undefined4 uStack_14;" (type_identifier "undefined4") (identifier "uStack_14") (; ";")) (expression_statement "uStack_14 = 0xb6b49;" (assignment_expression "uStack_14 = 0xb6b49" (identifier "uStack_14") (= "=") (number_literal "0xb6b49")) (; ";")) (expression_statement "uVar1 = FUN_000ae570(param_2,param_1,param_3,param_4,param_5,param_6,param_7,param_8,&local_24);" (assignment_expression "uVar1 = FUN_000ae570(param_2,param_1,param_3,param_4,param_5,param_6,param_7,param_8,&local_24)" (identifier "uVar1") (= "=") (call_expression "FUN_000ae570(param_2,param_1,param_3,param_4,param_5,param_6,param_7,param_8,&local_24)" (identifier "FUN_000ae570") (argument_list "(param_2,param_1,param_3,param_4,param_5,param_6,param_7,param_8,&local_24)" (( "(") (identifier "param_2") (, ",") (identifier "param_1") (, ",") (identifier "param_3") (, ",") (identifier "param_4") (, ",") (identifier "param_5") (, ",") (identifier "param_6") (, ",") (identifier "param_7") (, ",") (identifier "param_8") (, ",") (pointer_expression "&local_24" (& "&") (identifier "local_24")) () ")")))) (; ";")) (expression_statement "*(undefined4 *)(*(int *)(param_1 + 0x38) + param_3 * 4) = uVar1;" (assignment_expression "*(undefined4 *)(*(int *)(param_1 + 0x38) + param_3 * 4) = uVar1" (pointer_expression "*(undefined4 *)(*(int *)(param_1 + 0x38) + param_3 * 4)" (* "*") (cast_expression "(undefined4 *)(*(int *)(param_1 + 0x38) + param_3 * 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_1 + 0x38) + param_3 * 4)" (( "(") (binary_expression "*(int *)(param_1 + 0x38) + param_3 * 4" (pointer_expression "*(int *)(param_1 + 0x38)" (* "*") (cast_expression "(int *)(param_1 + 0x38)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x38)" (( "(") (binary_expression "param_1 + 0x38" (identifier "param_1") (+ "+") (number_literal "0x38")) () ")")))) (+ "+") (binary_expression "param_3 * 4" (identifier "param_3") (* "*") (number_literal "4"))) () ")")))) (= "=") (identifier "uVar1")) (; ";")) (if_statement "if ((local_20 & local_24) == 0xffffffff) {\n    *(undefined4 *)(*(int *)(param_1 + 0x84) + param_3 * 4) = 0xffffffff;\n    if (param_7 != 0) {\n      *(undefined1 *)(param_1 + 0x4c) = 1;\n      return;\n    }\n  }\n  else {\n    if (local_20 != 0) {\n                    \n      FUN_00069d00("../../gold/gold.h",0xc0,"convert_types",local_20);\n    }\n    *(uint *)(param_3 * 4 + *(int *)(param_1 + 0x84)) = local_24;\n  }" (if "if") (parenthesized_expression "((local_20 & local_24) == 0xffffffff)" (( "(") (binary_expression "(local_20 & local_24) == 0xffffffff" (parenthesized_expression "(local_20 & local_24)" (( "(") (binary_expression "local_20 & local_24" (identifier "local_20") (& "&") (identifier "local_24")) () ")")) (== "==") (number_literal "0xffffffff")) () ")")) (compound_statement "{\n    *(undefined4 *)(*(int *)(param_1 + 0x84) + param_3 * 4) = 0xffffffff;\n    if (param_7 != 0) {\n      *(undefined1 *)(param_1 + 0x4c) = 1;\n      return;\n    }\n  }" ({ "{") (expression_statement "*(undefined4 *)(*(int *)(param_1 + 0x84) + param_3 * 4) = 0xffffffff;" (assignment_expression "*(undefined4 *)(*(int *)(param_1 + 0x84) + param_3 * 4) = 0xffffffff" (pointer_expression "*(undefined4 *)(*(int *)(param_1 + 0x84) + param_3 * 4)" (* "*") (cast_expression "(undefined4 *)(*(int *)(param_1 + 0x84) + param_3 * 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_1 + 0x84) + param_3 * 4)" (( "(") (binary_expression "*(int *)(param_1 + 0x84) + param_3 * 4" (pointer_expression "*(int *)(param_1 + 0x84)" (* "*") (cast_expression "(int *)(param_1 + 0x84)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x84)" (( "(") (binary_expression "param_1 + 0x84" (identifier "param_1") (+ "+") (number_literal "0x84")) () ")")))) (+ "+") (binary_expression "param_3 * 4" (identifier "param_3") (* "*") (number_literal "4"))) () ")")))) (= "=") (number_literal "0xffffffff")) (; ";")) (if_statement "if (param_7 != 0) {\n      *(undefined1 *)(param_1 + 0x4c) = 1;\n      return;\n    }" (if "if") (parenthesized_expression "(param_7 != 0)" (( "(") (binary_expression "param_7 != 0" (identifier "param_7") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      *(undefined1 *)(param_1 + 0x4c) = 1;\n      return;\n    }" ({ "{") (expression_statement "*(undefined1 *)(param_1 + 0x4c) = 1;" (assignment_expression "*(undefined1 *)(param_1 + 0x4c) = 1" (pointer_expression "*(undefined1 *)(param_1 + 0x4c)" (* "*") (cast_expression "(undefined1 *)(param_1 + 0x4c)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x4c)" (( "(") (binary_expression "param_1 + 0x4c" (identifier "param_1") (+ "+") (number_literal "0x4c")) () ")")))) (= "=") (number_literal "1")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (} "}")) (else_clause "else {\n    if (local_20 != 0) {\n                    \n      FUN_00069d00("../../gold/gold.h",0xc0,"convert_types",local_20);\n    }\n    *(uint *)(param_3 * 4 + *(int *)(param_1 + 0x84)) = local_24;\n  }" (else "else") (compound_statement "{\n    if (local_20 != 0) {\n                    \n      FUN_00069d00("../../gold/gold.h",0xc0,"convert_types",local_20);\n    }\n    *(uint *)(param_3 * 4 + *(int *)(param_1 + 0x84)) = local_24;\n  }" ({ "{") (if_statement "if (local_20 != 0) {\n                    \n      FUN_00069d00("../../gold/gold.h",0xc0,"convert_types",local_20);\n    }" (if "if") (parenthesized_expression "(local_20 != 0)" (( "(") (binary_expression "local_20 != 0" (identifier "local_20") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                    \n      FUN_00069d00("../../gold/gold.h",0xc0,"convert_types",local_20);\n    }" ({ "{") (expression_statement "FUN_00069d00("../../gold/gold.h",0xc0,"convert_types",local_20);" (call_expression "FUN_00069d00("../../gold/gold.h",0xc0,"convert_types",local_20)" (identifier "FUN_00069d00") (argument_list "("../../gold/gold.h",0xc0,"convert_types",local_20)" (( "(") (string_literal ""../../gold/gold.h"" (" """) (string_content "../../gold/gold.h") (" """)) (, ",") (number_literal "0xc0") (, ",") (string_literal ""convert_types"" (" """) (string_content "convert_types") (" """)) (, ",") (identifier "local_20") () ")"))) (; ";")) (} "}"))) (expression_statement "*(uint *)(param_3 * 4 + *(int *)(param_1 + 0x84)) = local_24;" (assignment_expression "*(uint *)(param_3 * 4 + *(int *)(param_1 + 0x84)) = local_24" (pointer_expression "*(uint *)(param_3 * 4 + *(int *)(param_1 + 0x84))" (* "*") (cast_expression "(uint *)(param_3 * 4 + *(int *)(param_1 + 0x84))" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 * 4 + *(int *)(param_1 + 0x84))" (( "(") (binary_expression "param_3 * 4 + *(int *)(param_1 + 0x84)" (binary_expression "param_3 * 4" (identifier "param_3") (* "*") (number_literal "4")) (+ "+") (pointer_expression "*(int *)(param_1 + 0x84)" (* "*") (cast_expression "(int *)(param_1 + 0x84)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x84)" (( "(") (binary_expression "param_1 + 0x84" (identifier "param_1") (+ "+") (number_literal "0x84")) () ")"))))) () ")")))) (= "=") (identifier "local_24")) (; ";")) (} "}")))) (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 */
/* DWARF original prototype: void layout_section(Sized_relobj_file<32,_false> * this, Layout *
   layout, uint shndx, char * name, Shdr * shdr, uint sh_type, uint reloc_shndx, uint reloc_type) */

void __thiscall
var_1::Sized_relobj_file<32,_false>::layout_section
          (Sized_relobj_file<32,_false> *this,Layout *layout,type_3 shndx,char *name,Shdr *shdr,
          type_3 sh_type,type_3 var_6,type_3 reloc_type)

{
  Output_section *pOVar1;
  type_1 offset;
  type_2 uStack_14;
  
  uStack_14 = 0xb6b49;
  pOVar1 = Layout::layout<32,_false>
                     (layout,this,shndx,name,shdr,sh_type,var_6,reloc_type,&offset);
  (this->super_Sized_relobj<32,_false>).super_Relobj.output_sections_.
  super__Vector_base<var_1::Output_section*,var_2::var_4<var_1::Output_section*>var_3>._M_impl._M_start
  [shndx] = pOVar1;
  if ((offset._4_4_ & (type_3)offset) == 0xffffffff) {
    (this->super_Sized_relobj<32,_false>).section_offsets_.
    super__Vector_base<var_5,var_2::var_4<var_5>var_3>._M_impl._M_start[shndx] =
         0xffffffff;
    if (var_6 != 0) {
      (this->super_Sized_relobj<32,_false>).super_Relobj.relocs_must_follow_section_writes_ = true;
      return;
    }
  }
  else {
    if (offset._4_4_ != 0) {
                    /* WARNING: Subroutine does not return */
      var_7("../../gold/gold.h",0xc0,"convert_types");
    }
    (this->super_Sized_relobj<32,_false>).section_offsets_.
    super__Vector_base<var_5,var_2::var_4<var_5>var_3>._M_impl._M_start[shndx] =
         (type_3)offset;
  }
  return;
}


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

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

void MASKED(int param_1,undefined4 param_2,int param_3,undefined4 param_4,undefined4 param_5,
                 undefined4 param_6,int param_7,undefined4 param_8)

{
  undefined4 uVar1;
  uint local_24;
  uint local_20;
  undefined4 uStack_14;
  
  uStack_14 = 0xb6b49;
  uVar1 = FUN_000ae570(param_2,param_1,param_3,param_4,param_5,param_6,param_7,param_8,&local_24);
  *(undefined4 *)(*(int *)(param_1 + 0x38) + param_3 * 4) = uVar1;
  if ((local_20 & local_24) == 0xffffffff) {
    *(undefined4 *)(*(int *)(param_1 + 0x84) + param_3 * 4) = 0xffffffff;
    if (param_7 != 0) {
      *(undefined1 *)(param_1 + 0x4c) = 1;
      return;
    }
  }
  else {
    if (local_20 != 0) {
                    /* WARNING: Subroutine does not return */
      FUN_00069d00("../../gold/gold.h",0xc0,"convert_types",local_20);
    }
    *(uint *)(param_3 * 4 + *(int *)(param_1 + 0x84)) = local_24;
  }
  return;
}

