
/* 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<64,_true> * this, Layout *
   layout, uint shndx, char * name, Shdr * shdr, uint sh_type, uint reloc_shndx, uint reloc_type) */

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

{
  pointer puVar1;
  Output_section *pOVar2;
  off_t offset;
  undefined4 uStack_14;
  
  uStack_14 = 0xba019;
  pOVar2 = Layout::layout<64,_true>
                     (layout,this,shndx,name,shdr,sh_type,reloc_shndx,reloc_type,&offset);
  (this->super_Sized_relobj<64,_true>).super_Relobj.output_sections_.
  super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>._M_impl._M_start
  [shndx] = pOVar2;
  if ((offset._4_4_ & (uint)offset) == 0xffffffff) {
    puVar1 = (this->super_Sized_relobj<64,_true>).section_offsets_.
             super__Vector_base<long_long_unsigned_int,_std::allocator<long_long_unsigned_int>_>.
             _M_impl._M_start;
    *(undefined4 *)(puVar1 + shndx) = 0xffffffff;
    *(undefined4 *)((int)puVar1 + shndx * 8 + 4) = 0xffffffff;
  }
  else {
    puVar1 = (this->super_Sized_relobj<64,_true>).section_offsets_.
             super__Vector_base<long_long_unsigned_int,_std::allocator<long_long_unsigned_int>_>.
             _M_impl._M_start;
    *(uint *)(puVar1 + shndx) = (uint)offset;
    *(uint *)((int)puVar1 + shndx * 8 + 4) = offset._4_4_;
  }
  if ((((uint)offset & offset._4_4_) == 0xffffffff) && (reloc_shndx != 0)) {
    (this->super_Sized_relobj<64,_true>).super_Relobj.relocs_must_follow_section_writes_ = true;
    return;
  }
  return;
}



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

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

{
  int iVar1;
  undefined4 uVar2;
  uint local_24;
  uint local_20;
  undefined4 uStack_14;
  
  uStack_14 = 0xba019;
  uVar2 = FUN_000af9e0(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) = uVar2;
  if ((local_20 & local_24) == 0xffffffff) {
    iVar1 = *(int *)(param_1 + 0x84);
    *(undefined4 *)(iVar1 + param_3 * 8) = 0xffffffff;
    *(undefined4 *)(iVar1 + 4 + param_3 * 8) = 0xffffffff;
  }
  else {
    iVar1 = *(int *)(param_1 + 0x84);
    *(uint *)(iVar1 + param_3 * 8) = local_24;
    *(uint *)(iVar1 + 4 + param_3 * 8) = local_20;
  }
  if (((local_24 & local_20) == 0xffffffff) && (param_7 != 0)) {
    *(undefined1 *)(param_1 + 0x4c) = 1;
    return;
  }
  return;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00035840
ADD EBX,0x2d4fe7
SUB ESP,0x28
MOV EDI,dword ptr [ESP + 0x3c]
MOV ESI,dword ptr [ESP + 0x44]
LEA EAX,[ESP + 0x14]
MOV EBP,dword ptr [ESP + 0x54]
PUSH EAX
PUSH dword ptr [ESP + 0x5c]
PUSH EBP
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 0x000af9e0
MOV EDX,dword ptr [EDI + 0x38]
MOV dword ptr [EDX + ESI*0x4],EAX
MOV EAX,dword ptr [ESP + 0x3c]
MOV EDX,dword ptr [ESP + 0x38]
ADD ESP,0x30
MOV ECX,EAX
AND ECX,EDX
CMP ECX,-0x1
JZ 0x000ba0a0
MOV ECX,dword ptr [EDI + 0x84]
LEA EBX,[ESI*0x8 + 0x0]
MOV dword ptr [ECX + ESI*0x8],EDX
MOV dword ptr [ECX + EBX*0x1 + 0x4],EAX
MOV EAX,dword ptr [ESP + 0x8]
AND EAX,dword ptr [ESP + 0xc]
CMP EAX,-0x1
JNZ 0x000ba08e
TEST EBP,EBP
JNZ 0x000ba0c0
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EAX,dword ptr [EDI + 0x84]
MOV dword ptr [EAX + ESI*0x8],0xffffffff
MOV dword ptr [EAX + ESI*0x8 + 0x4],0xffffffff
JMP 0x000ba07d
MOV byte ptr [EDI + 0x4c],0x1
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_000ba010(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  int iVar1;\n  undefined4 uVar2;\n  uint local_24;\n  uint local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0xba019;\n  uVar2 = FUN_000af9e0(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) = uVar2;\n  if ((local_20 & local_24) == 0xffffffff) {\n    iVar1 = *(int *)(param_1 + 0x84);\n    *(undefined4 *)(iVar1 + param_3 * 8) = 0xffffffff;\n    *(undefined4 *)(iVar1 + 4 + param_3 * 8) = 0xffffffff;\n  }\n  else {\n    iVar1 = *(int *)(param_1 + 0x84);\n    *(uint *)(iVar1 + param_3 * 8) = local_24;\n    *(uint *)(iVar1 + 4 + param_3 * 8) = local_20;\n  }\n  if (((local_24 & local_20) == 0xffffffff) && (param_7 != 0)) {\n    *(undefined1 *)(param_1 + 0x4c) = 1;\n    return;\n  }\n  return;\n}\n\n" comment (function_definition "void FUN_000ba010(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  int iVar1;\n  undefined4 uVar2;\n  uint local_24;\n  uint local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0xba019;\n  uVar2 = FUN_000af9e0(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) = uVar2;\n  if ((local_20 & local_24) == 0xffffffff) {\n    iVar1 = *(int *)(param_1 + 0x84);\n    *(undefined4 *)(iVar1 + param_3 * 8) = 0xffffffff;\n    *(undefined4 *)(iVar1 + 4 + param_3 * 8) = 0xffffffff;\n  }\n  else {\n    iVar1 = *(int *)(param_1 + 0x84);\n    *(uint *)(iVar1 + param_3 * 8) = local_24;\n    *(uint *)(iVar1 + 4 + param_3 * 8) = local_20;\n  }\n  if (((local_24 & local_20) == 0xffffffff) && (param_7 != 0)) {\n    *(undefined1 *)(param_1 + 0x4c) = 1;\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_000ba010(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  int iVar1;\n  undefined4 uVar2;\n  uint local_24;\n  uint local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0xba019;\n  uVar2 = FUN_000af9e0(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) = uVar2;\n  if ((local_20 & local_24) == 0xffffffff) {\n    iVar1 = *(int *)(param_1 + 0x84);\n    *(undefined4 *)(iVar1 + param_3 * 8) = 0xffffffff;\n    *(undefined4 *)(iVar1 + 4 + param_3 * 8) = 0xffffffff;\n  }\n  else {\n    iVar1 = *(int *)(param_1 + 0x84);\n    *(uint *)(iVar1 + param_3 * 8) = local_24;\n    *(uint *)(iVar1 + 4 + param_3 * 8) = local_20;\n  }\n  if (((local_24 & local_20) == 0xffffffff) && (param_7 != 0)) {\n    *(undefined1 *)(param_1 + 0x4c) = 1;\n    return;\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" 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 = 0xba019;" (assignment_expression "uStack_14 = 0xba019" identifier = number_literal) ;) (expression_statement "uVar2 = FUN_000af9e0(param_2,param_1,param_3,param_4,param_5,param_6,param_7,param_8,&local_24);" (assignment_expression "uVar2 = FUN_000af9e0(param_2,param_1,param_3,param_4,param_5,param_6,param_7,param_8,&local_24)" identifier = (call_expression "FUN_000af9e0(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) = uVar2;" (assignment_expression "*(undefined4 *)(*(int *)(param_1 + 0x38) + param_3 * 4) = uVar2" (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    iVar1 = *(int *)(param_1 + 0x84);\n    *(undefined4 *)(iVar1 + param_3 * 8) = 0xffffffff;\n    *(undefined4 *)(iVar1 + 4 + param_3 * 8) = 0xffffffff;\n  }\n  else {\n    iVar1 = *(int *)(param_1 + 0x84);\n    *(uint *)(iVar1 + param_3 * 8) = local_24;\n    *(uint *)(iVar1 + 4 + param_3 * 8) = local_20;\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    iVar1 = *(int *)(param_1 + 0x84);\n    *(undefined4 *)(iVar1 + param_3 * 8) = 0xffffffff;\n    *(undefined4 *)(iVar1 + 4 + param_3 * 8) = 0xffffffff;\n  }" { (expression_statement "iVar1 = *(int *)(param_1 + 0x84);" (assignment_expression "iVar1 = *(int *)(param_1 + 0x84)" identifier = (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) ))))) ;) (expression_statement "*(undefined4 *)(iVar1 + param_3 * 8) = 0xffffffff;" (assignment_expression "*(undefined4 *)(iVar1 + param_3 * 8) = 0xffffffff" (pointer_expression "*(undefined4 *)(iVar1 + param_3 * 8)" * (cast_expression "(undefined4 *)(iVar1 + param_3 * 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + param_3 * 8)" ( (binary_expression "iVar1 + param_3 * 8" identifier + (binary_expression "param_3 * 8" identifier * number_literal)) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(iVar1 + 4 + param_3 * 8) = 0xffffffff;" (assignment_expression "*(undefined4 *)(iVar1 + 4 + param_3 * 8) = 0xffffffff" (pointer_expression "*(undefined4 *)(iVar1 + 4 + param_3 * 8)" * (cast_expression "(undefined4 *)(iVar1 + 4 + param_3 * 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 4 + param_3 * 8)" ( (binary_expression "iVar1 + 4 + param_3 * 8" (binary_expression "iVar1 + 4" identifier + number_literal) + (binary_expression "param_3 * 8" identifier * number_literal)) )))) = number_literal) ;) }) (else_clause "else {\n    iVar1 = *(int *)(param_1 + 0x84);\n    *(uint *)(iVar1 + param_3 * 8) = local_24;\n    *(uint *)(iVar1 + 4 + param_3 * 8) = local_20;\n  }" else (compound_statement "{\n    iVar1 = *(int *)(param_1 + 0x84);\n    *(uint *)(iVar1 + param_3 * 8) = local_24;\n    *(uint *)(iVar1 + 4 + param_3 * 8) = local_20;\n  }" { (expression_statement "iVar1 = *(int *)(param_1 + 0x84);" (assignment_expression "iVar1 = *(int *)(param_1 + 0x84)" identifier = (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) ))))) ;) (expression_statement "*(uint *)(iVar1 + param_3 * 8) = local_24;" (assignment_expression "*(uint *)(iVar1 + param_3 * 8) = local_24" (pointer_expression "*(uint *)(iVar1 + param_3 * 8)" * (cast_expression "(uint *)(iVar1 + param_3 * 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + param_3 * 8)" ( (binary_expression "iVar1 + param_3 * 8" identifier + (binary_expression "param_3 * 8" identifier * number_literal)) )))) = identifier) ;) (expression_statement "*(uint *)(iVar1 + 4 + param_3 * 8) = local_20;" (assignment_expression "*(uint *)(iVar1 + 4 + param_3 * 8) = local_20" (pointer_expression "*(uint *)(iVar1 + 4 + param_3 * 8)" * (cast_expression "(uint *)(iVar1 + 4 + param_3 * 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 4 + param_3 * 8)" ( (binary_expression "iVar1 + 4 + param_3 * 8" (binary_expression "iVar1 + 4" identifier + number_literal) + (binary_expression "param_3 * 8" identifier * number_literal)) )))) = identifier) ;) }))) (if_statement "if (((local_24 & local_20) == 0xffffffff) && (param_7 != 0)) {\n    *(undefined1 *)(param_1 + 0x4c) = 1;\n    return;\n  }" if (parenthesized_expression "(((local_24 & local_20) == 0xffffffff) && (param_7 != 0))" ( (binary_expression "((local_24 & local_20) == 0xffffffff) && (param_7 != 0)" (parenthesized_expression "((local_24 & local_20) == 0xffffffff)" ( (binary_expression "(local_24 & local_20) == 0xffffffff" (parenthesized_expression "(local_24 & local_20)" ( (binary_expression "local_24 & local_20" identifier & identifier) )) == number_literal) )) && (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 ;) })) (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<64,_true> * 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<64,_true>::layout_section\n          (Sized_relobj_file<64,_true> *this,Layout *layout,uint shndx,char *name,Shdr *shdr,\n          uint sh_type,uint reloc_shndx,uint reloc_type)\n\n{\n  pointer puVar1;\n  Output_section *pOVar2;\n  off_t offset;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0xba019;\n  pOVar2 = Layout::layout<64,_true>\n                     (layout,this,shndx,name,shdr,sh_type,reloc_shndx,reloc_type,&offset);\n  (this->super_Sized_relobj<64,_true>).super_Relobj.output_sections_.\n  super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>._M_impl._M_start\n  [shndx] = pOVar2;\n  if ((offset._4_4_ & (uint)offset) == 0xffffffff) {\n    puVar1 = (this->super_Sized_relobj<64,_true>).section_offsets_.\n             super__Vector_base<long_long_unsigned_int,_std::allocator<long_long_unsigned_int>_>.\n             _M_impl._M_start;\n    *(undefined4 *)(puVar1 + shndx) = 0xffffffff;\n    *(undefined4 *)((int)puVar1 + shndx * 8 + 4) = 0xffffffff;\n  }\n  else {\n    puVar1 = (this->super_Sized_relobj<64,_true>).section_offsets_.\n             super__Vector_base<long_long_unsigned_int,_std::allocator<long_long_unsigned_int>_>.\n             _M_impl._M_start;\n    *(uint *)(puVar1 + shndx) = (uint)offset;\n    *(uint *)((int)puVar1 + shndx * 8 + 4) = offset._4_4_;\n  }\n  if ((((uint)offset & offset._4_4_) == 0xffffffff) && (reloc_shndx != 0)) {\n    (this->super_Sized_relobj<64,_true>).super_Relobj.relocs_must_follow_section_writes_ = true;\n    return;\n  }\n  return;\n}\n\n" comment comment comment (declaration "void __thiscall\ngold::Sized_relobj_file<64,_true>::layout_section\n          (Sized_relobj_file<64,_true> *this,Layout *layout,uint shndx,char *name,Shdr *shdr,\n          uint sh_type,uint reloc_shndx,uint reloc_type)\n\n{\n  pointer puVar1;" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::" identifier : :) identifier (ERROR "<64" < number_literal) , (ERROR "_true>::layout_section\n          (Sized_relobj_file<64,_true> *this,Layout *layout,uint shndx,char *name,Shdr *shdr,\n          uint sh_type,uint reloc_shndx,uint reloc_type)\n\n{\n  pointer" identifier > : : (function_declarator "layout_section\n          (Sized_relobj_file<64,_true> *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<64,_true> *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 "<64" < number_literal) , (parameter_declaration "_true> *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) identifier ;) (declaration "Output_section *pOVar2;" type_identifier (pointer_declarator "*pOVar2" * identifier) ;) (declaration "off_t offset;" type_identifier identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0xba019;" (assignment_expression "uStack_14 = 0xba019" identifier = number_literal) ;) (expression_statement "pOVar2 = Layout::layout<64,_true>\n                     (layout,this,shndx,name,shdr,sh_type,reloc_shndx,reloc_type,&offset);\n  (this->super_Sized_relobj<64,_true>).super_Relobj.output_sections_.\n  super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>._M_impl._M_start\n  [shndx] = pOVar2;" (assignment_expression "pOVar2 = Layout::layout<64,_true>\n                     (layout,this,shndx,name,shdr,sh_type,reloc_shndx,reloc_type,&offset);\n  (this->super_Sized_relobj<64,_true>).super_Relobj.output_sections_.\n  super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>._M_impl._M_start\n  [shndx] = pOVar2" (subscript_expression "pOVar2 = Layout::layout<64,_true>\n                     (layout,this,shndx,name,shdr,sh_type,reloc_shndx,reloc_type,&offset);\n  (this->super_Sized_relobj<64,_true>).super_Relobj.output_sections_.\n  super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>._M_impl._M_start\n  [shndx]" (field_expression "pOVar2 = Layout::layout<64,_true>\n                     (layout,this,shndx,name,shdr,sh_type,reloc_shndx,reloc_type,&offset);\n  (this->super_Sized_relobj<64,_true>).super_Relobj.output_sections_.\n  super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>._M_impl._M_start" (field_expression "pOVar2 = Layout::layout<64,_true>\n                     (layout,this,shndx,name,shdr,sh_type,reloc_shndx,reloc_type,&offset);\n  (this->super_Sized_relobj<64,_true>).super_Relobj.output_sections_.\n  super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>._M_impl" (binary_expression "pOVar2 = Layout::layout<64,_true>\n                     (layout,this,shndx,name,shdr,sh_type,reloc_shndx,reloc_type,&offset);\n  (this->super_Sized_relobj<64,_true>).super_Relobj.output_sections_.\n  super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_" (binary_expression "pOVar2 = Layout::layout<64,_true>\n                     (layout,this,shndx,name,shdr,sh_type,reloc_shndx,reloc_type,&offset);\n  (this->super_Sized_relobj<64,_true>).super_Relobj.output_sections_.\n  super__Vector_base<gold::Output_section*,_std::allocator<gold" (binary_expression "pOVar2 = Layout::layout<64,_true>\n                     (layout,this,shndx,name,shdr,sh_type,reloc_shndx,reloc_type,&offset);\n  (this->super_Sized_relobj<64,_true>).super_Relobj.output_sections_.\n  super__Vector_base<gold::Output_section*,_std" (binary_expression "pOVar2 = Layout::layout<64,_true>\n                     (layout,this,shndx,name,shdr,sh_type,reloc_shndx,reloc_type,&offset);\n  (this->super_Sized_relobj<64,_true>).super_Relobj.output_sections_.\n  super__Vector_base<gold" (field_expression "pOVar2 = Layout::layout<64,_true>\n                     (layout,this,shndx,name,shdr,sh_type,reloc_shndx,reloc_type,&offset);\n  (this->super_Sized_relobj<64,_true>).super_Relobj.output_sections_.\n  super__Vector_base" (field_expression "pOVar2 = Layout::layout<64,_true>\n                     (layout,this,shndx,name,shdr,sh_type,reloc_shndx,reloc_type,&offset);\n  (this->super_Sized_relobj<64,_true>).super_Relobj.output_sections_" (field_expression "pOVar2 = Layout::layout<64,_true>\n                     (layout,this,shndx,name,shdr,sh_type,reloc_shndx,reloc_type,&offset);\n  (this->super_Sized_relobj<64,_true>).super_Relobj" (call_expression "pOVar2 = Layout::layout<64,_true>\n                     (layout,this,shndx,name,shdr,sh_type,reloc_shndx,reloc_type,&offset);\n  (this->super_Sized_relobj<64,_true>)" (binary_expression "pOVar2 = Layout::layout<64,_true>\n                     (layout,this,shndx,name,shdr,sh_type,reloc_shndx,reloc_type,&offset)" (binary_expression "pOVar2 = Layout::layout<64" (assignment_expression "pOVar2 = Layout" identifier = identifier) (ERROR "::layout" : : identifier) < number_literal) (ERROR ",_true" , 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<64,_true>)" ( (binary_expression "this->super_Sized_relobj<64" (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    puVar1 = (this->super_Sized_relobj<64,_true>).section_offsets_.\n             super__Vector_base<long_long_unsigned_int,_std::allocator<long_long_unsigned_int>_>.\n             _M_impl._M_start;\n    *(undefined4 *)(puVar1 + shndx) = 0xffffffff;\n    *(undefined4 *)((int)puVar1 + shndx * 8 + 4) = 0xffffffff;\n  }\n  else {\n    puVar1 = (this->super_Sized_relobj<64,_true>).section_offsets_.\n             super__Vector_base<long_long_unsigned_int,_std::allocator<long_long_unsigned_int>_>.\n             _M_impl._M_start;\n    *(uint *)(puVar1 + shndx) = (uint)offset;\n    *(uint *)((int)puVar1 + shndx * 8 + 4) = offset._4_4_;\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    puVar1 = (this->super_Sized_relobj<64,_true>).section_offsets_.\n             super__Vector_base<long_long_unsigned_int,_std::allocator<long_long_unsigned_int>_>.\n             _M_impl._M_start;\n    *(undefined4 *)(puVar1 + shndx) = 0xffffffff;\n    *(undefined4 *)((int)puVar1 + shndx * 8 + 4) = 0xffffffff;\n  }" { (ERROR "puVar1 = (this->super_Sized_relobj<64,_true>).section_offsets_.\n             super__Vector_base<long_long_unsigned_int,_std::" (comma_expression "puVar1 = (this->super_Sized_relobj<64,_true>).section_offsets_.\n             super__Vector_base<long_long_unsigned_int,_std" (assignment_expression "puVar1 = (this->super_Sized_relobj<64,_true>).section_offsets_.\n             super__Vector_base<long_long_unsigned_int" identifier = (binary_expression "(this->super_Sized_relobj<64,_true>).section_offsets_.\n             super__Vector_base<long_long_unsigned_int" (field_expression "(this->super_Sized_relobj<64,_true>).section_offsets_.\n             super__Vector_base" (field_expression "(this->super_Sized_relobj<64,_true>).section_offsets_" (parenthesized_expression "(this->super_Sized_relobj<64,_true>)" ( (comma_expression "this->super_Sized_relobj<64,_true" (binary_expression "this->super_Sized_relobj<64" (field_expression "this->super_Sized_relobj" identifier -> field_identifier) < number_literal) , identifier) (ERROR ">" >) )) . field_identifier) . field_identifier) < identifier)) , identifier) : :) (expression_statement "allocator<long_long_unsigned_int>_>.\n             _M_impl._M_start;" (field_expression "allocator<long_long_unsigned_int>_>.\n             _M_impl._M_start" (field_expression "allocator<long_long_unsigned_int>_>.\n             _M_impl" (binary_expression "allocator<long_long_unsigned_int>_" (binary_expression "allocator<long_long_unsigned_int" identifier < identifier) > identifier) (ERROR ">" >) . field_identifier) . field_identifier) ;) (expression_statement "*(undefined4 *)(puVar1 + shndx) = 0xffffffff;" (assignment_expression "*(undefined4 *)(puVar1 + shndx) = 0xffffffff" (pointer_expression "*(undefined4 *)(puVar1 + shndx)" * (cast_expression "(undefined4 *)(puVar1 + shndx)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + shndx)" ( (binary_expression "puVar1 + shndx" identifier + identifier) )))) = number_literal) ;) (expression_statement "*(undefined4 *)((int)puVar1 + shndx * 8 + 4) = 0xffffffff;" (assignment_expression "*(undefined4 *)((int)puVar1 + shndx * 8 + 4) = 0xffffffff" (pointer_expression "*(undefined4 *)((int)puVar1 + shndx * 8 + 4)" * (cast_expression "(undefined4 *)((int)puVar1 + shndx * 8 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar1 + shndx * 8 + 4)" ( (binary_expression "(int)puVar1 + shndx * 8 + 4" (binary_expression "(int)puVar1 + shndx * 8" (cast_expression "(int)puVar1" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "shndx * 8" identifier * number_literal)) + number_literal) )))) = number_literal) ;) }) (else_clause "else {\n    puVar1 = (this->super_Sized_relobj<64,_true>).section_offsets_.\n             super__Vector_base<long_long_unsigned_int,_std::allocator<long_long_unsigned_int>_>.\n             _M_impl._M_start;\n    *(uint *)(puVar1 + shndx) = (uint)offset;\n    *(uint *)((int)puVar1 + shndx * 8 + 4) = offset._4_4_;\n  }" else (compound_statement "{\n    puVar1 = (this->super_Sized_relobj<64,_true>).section_offsets_.\n             super__Vector_base<long_long_unsigned_int,_std::allocator<long_long_unsigned_int>_>.\n             _M_impl._M_start;\n    *(uint *)(puVar1 + shndx) = (uint)offset;\n    *(uint *)((int)puVar1 + shndx * 8 + 4) = offset._4_4_;\n  }" { (ERROR "puVar1 = (this->super_Sized_relobj<64,_true>).section_offsets_.\n             super__Vector_base<long_long_unsigned_int,_std::" (comma_expression "puVar1 = (this->super_Sized_relobj<64,_true>).section_offsets_.\n             super__Vector_base<long_long_unsigned_int,_std" (assignment_expression "puVar1 = (this->super_Sized_relobj<64,_true>).section_offsets_.\n             super__Vector_base<long_long_unsigned_int" identifier = (binary_expression "(this->super_Sized_relobj<64,_true>).section_offsets_.\n             super__Vector_base<long_long_unsigned_int" (field_expression "(this->super_Sized_relobj<64,_true>).section_offsets_.\n             super__Vector_base" (field_expression "(this->super_Sized_relobj<64,_true>).section_offsets_" (parenthesized_expression "(this->super_Sized_relobj<64,_true>)" ( (comma_expression "this->super_Sized_relobj<64,_true" (binary_expression "this->super_Sized_relobj<64" (field_expression "this->super_Sized_relobj" identifier -> field_identifier) < number_literal) , identifier) (ERROR ">" >) )) . field_identifier) . field_identifier) < identifier)) , identifier) : :) (expression_statement "allocator<long_long_unsigned_int>_>.\n             _M_impl._M_start;" (field_expression "allocator<long_long_unsigned_int>_>.\n             _M_impl._M_start" (field_expression "allocator<long_long_unsigned_int>_>.\n             _M_impl" (binary_expression "allocator<long_long_unsigned_int>_" (binary_expression "allocator<long_long_unsigned_int" identifier < identifier) > identifier) (ERROR ">" >) . field_identifier) . field_identifier) ;) (expression_statement "*(uint *)(puVar1 + shndx) = (uint)offset;" (assignment_expression "*(uint *)(puVar1 + shndx) = (uint)offset" (pointer_expression "*(uint *)(puVar1 + shndx)" * (cast_expression "(uint *)(puVar1 + shndx)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + shndx)" ( (binary_expression "puVar1 + shndx" identifier + identifier) )))) = (cast_expression "(uint)offset" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "*(uint *)((int)puVar1 + shndx * 8 + 4) = offset._4_4_;" (assignment_expression "*(uint *)((int)puVar1 + shndx * 8 + 4) = offset._4_4_" (pointer_expression "*(uint *)((int)puVar1 + shndx * 8 + 4)" * (cast_expression "(uint *)((int)puVar1 + shndx * 8 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar1 + shndx * 8 + 4)" ( (binary_expression "(int)puVar1 + shndx * 8 + 4" (binary_expression "(int)puVar1 + shndx * 8" (cast_expression "(int)puVar1" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "shndx * 8" identifier * number_literal)) + number_literal) )))) = (field_expression "offset._4_4_" identifier . field_identifier)) ;) }))) (if_statement "if ((((uint)offset & offset._4_4_) == 0xffffffff) && (reloc_shndx != 0)) {\n    (this->super_Sized_relobj<64,_true>).super_Relobj.relocs_must_follow_section_writes_ = true;\n    return;\n  }" if (parenthesized_expression "((((uint)offset & offset._4_4_) == 0xffffffff) && (reloc_shndx != 0))" ( (binary_expression "(((uint)offset & offset._4_4_) == 0xffffffff) && (reloc_shndx != 0)" (parenthesized_expression "(((uint)offset & offset._4_4_) == 0xffffffff)" ( (binary_expression "((uint)offset & offset._4_4_) == 0xffffffff" (parenthesized_expression "((uint)offset & offset._4_4_)" ( (binary_expression "(uint)offset & offset._4_4_" (cast_expression "(uint)offset" ( (type_descriptor "uint" type_identifier) ) identifier) & (field_expression "offset._4_4_" identifier . field_identifier)) )) == number_literal) )) && (parenthesized_expression "(reloc_shndx != 0)" ( (binary_expression "reloc_shndx != 0" identifier != number_literal) ))) )) (compound_statement "{\n    (this->super_Sized_relobj<64,_true>).super_Relobj.relocs_must_follow_section_writes_ = true;\n    return;\n  }" { (expression_statement "(this->super_Sized_relobj<64,_true>).super_Relobj.relocs_must_follow_section_writes_ = true;" (assignment_expression "(this->super_Sized_relobj<64,_true>).super_Relobj.relocs_must_follow_section_writes_ = true" (field_expression "(this->super_Sized_relobj<64,_true>).super_Relobj.relocs_must_follow_section_writes_" (field_expression "(this->super_Sized_relobj<64,_true>).super_Relobj" (parenthesized_expression "(this->super_Sized_relobj<64,_true>)" ( (comma_expression "this->super_Sized_relobj<64,_true" (binary_expression "this->super_Sized_relobj<64" (field_expression "this->super_Sized_relobj" identifier -> field_identifier) < number_literal) , identifier) (ERROR ">" >) )) . field_identifier) . field_identifier) = true) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) (ERROR "}" }))
(translation_unit "void FUN_000ba010(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  int iVar1;\n  undefined4 uVar2;\n  uint local_24;\n  uint local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0xba019;\n  uVar2 = FUN_000af9e0(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) = uVar2;\n  if ((local_20 & local_24) == 0xffffffff) {\n    iVar1 = *(int *)(param_1 + 0x84);\n    *(undefined4 *)(iVar1 + param_3 * 8) = 0xffffffff;\n    *(undefined4 *)(iVar1 + 4 + param_3 * 8) = 0xffffffff;\n  }\n  else {\n    iVar1 = *(int *)(param_1 + 0x84);\n    *(uint *)(iVar1 + param_3 * 8) = local_24;\n    *(uint *)(iVar1 + 4 + param_3 * 8) = local_20;\n  }\n  if (((local_24 & local_20) == 0xffffffff) && (param_7 != 0)) {\n    *(undefined1 *)(param_1 + 0x4c) = 1;\n    return;\n  }\n  return;\n}\n\n" (function_definition "void FUN_000ba010(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  int iVar1;\n  undefined4 uVar2;\n  uint local_24;\n  uint local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0xba019;\n  uVar2 = FUN_000af9e0(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) = uVar2;\n  if ((local_20 & local_24) == 0xffffffff) {\n    iVar1 = *(int *)(param_1 + 0x84);\n    *(undefined4 *)(iVar1 + param_3 * 8) = 0xffffffff;\n    *(undefined4 *)(iVar1 + 4 + param_3 * 8) = 0xffffffff;\n  }\n  else {\n    iVar1 = *(int *)(param_1 + 0x84);\n    *(uint *)(iVar1 + param_3 * 8) = local_24;\n    *(uint *)(iVar1 + 4 + param_3 * 8) = local_20;\n  }\n  if (((local_24 & local_20) == 0xffffffff) && (param_7 != 0)) {\n    *(undefined1 *)(param_1 + 0x4c) = 1;\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_000ba010(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  int iVar1;\n  undefined4 uVar2;\n  uint local_24;\n  uint local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0xba019;\n  uVar2 = FUN_000af9e0(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) = uVar2;\n  if ((local_20 & local_24) == 0xffffffff) {\n    iVar1 = *(int *)(param_1 + 0x84);\n    *(undefined4 *)(iVar1 + param_3 * 8) = 0xffffffff;\n    *(undefined4 *)(iVar1 + 4 + param_3 * 8) = 0xffffffff;\n  }\n  else {\n    iVar1 = *(int *)(param_1 + 0x84);\n    *(uint *)(iVar1 + param_3 * 8) = local_24;\n    *(uint *)(iVar1 + 4 + param_3 * 8) = local_20;\n  }\n  if (((local_24 & local_20) == 0xffffffff) && (param_7 != 0)) {\n    *(undefined1 *)(param_1 + 0x4c) = 1;\n    return;\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" 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 = 0xba019;" (assignment_expression "uStack_14 = 0xba019" identifier = number_literal) ;) (expression_statement "uVar2 = FUN_000af9e0(param_2,param_1,param_3,param_4,param_5,param_6,param_7,param_8,&local_24);" (assignment_expression "uVar2 = FUN_000af9e0(param_2,param_1,param_3,param_4,param_5,param_6,param_7,param_8,&local_24)" identifier = (call_expression "FUN_000af9e0(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) = uVar2;" (assignment_expression "*(undefined4 *)(*(int *)(param_1 + 0x38) + param_3 * 4) = uVar2" (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    iVar1 = *(int *)(param_1 + 0x84);\n    *(undefined4 *)(iVar1 + param_3 * 8) = 0xffffffff;\n    *(undefined4 *)(iVar1 + 4 + param_3 * 8) = 0xffffffff;\n  }\n  else {\n    iVar1 = *(int *)(param_1 + 0x84);\n    *(uint *)(iVar1 + param_3 * 8) = local_24;\n    *(uint *)(iVar1 + 4 + param_3 * 8) = local_20;\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    iVar1 = *(int *)(param_1 + 0x84);\n    *(undefined4 *)(iVar1 + param_3 * 8) = 0xffffffff;\n    *(undefined4 *)(iVar1 + 4 + param_3 * 8) = 0xffffffff;\n  }" { (expression_statement "iVar1 = *(int *)(param_1 + 0x84);" (assignment_expression "iVar1 = *(int *)(param_1 + 0x84)" identifier = (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) ))))) ;) (expression_statement "*(undefined4 *)(iVar1 + param_3 * 8) = 0xffffffff;" (assignment_expression "*(undefined4 *)(iVar1 + param_3 * 8) = 0xffffffff" (pointer_expression "*(undefined4 *)(iVar1 + param_3 * 8)" * (cast_expression "(undefined4 *)(iVar1 + param_3 * 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + param_3 * 8)" ( (binary_expression "iVar1 + param_3 * 8" identifier + (binary_expression "param_3 * 8" identifier * number_literal)) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(iVar1 + 4 + param_3 * 8) = 0xffffffff;" (assignment_expression "*(undefined4 *)(iVar1 + 4 + param_3 * 8) = 0xffffffff" (pointer_expression "*(undefined4 *)(iVar1 + 4 + param_3 * 8)" * (cast_expression "(undefined4 *)(iVar1 + 4 + param_3 * 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 4 + param_3 * 8)" ( (binary_expression "iVar1 + 4 + param_3 * 8" (binary_expression "iVar1 + 4" identifier + number_literal) + (binary_expression "param_3 * 8" identifier * number_literal)) )))) = number_literal) ;) }) (else_clause "else {\n    iVar1 = *(int *)(param_1 + 0x84);\n    *(uint *)(iVar1 + param_3 * 8) = local_24;\n    *(uint *)(iVar1 + 4 + param_3 * 8) = local_20;\n  }" else (compound_statement "{\n    iVar1 = *(int *)(param_1 + 0x84);\n    *(uint *)(iVar1 + param_3 * 8) = local_24;\n    *(uint *)(iVar1 + 4 + param_3 * 8) = local_20;\n  }" { (expression_statement "iVar1 = *(int *)(param_1 + 0x84);" (assignment_expression "iVar1 = *(int *)(param_1 + 0x84)" identifier = (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) ))))) ;) (expression_statement "*(uint *)(iVar1 + param_3 * 8) = local_24;" (assignment_expression "*(uint *)(iVar1 + param_3 * 8) = local_24" (pointer_expression "*(uint *)(iVar1 + param_3 * 8)" * (cast_expression "(uint *)(iVar1 + param_3 * 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + param_3 * 8)" ( (binary_expression "iVar1 + param_3 * 8" identifier + (binary_expression "param_3 * 8" identifier * number_literal)) )))) = identifier) ;) (expression_statement "*(uint *)(iVar1 + 4 + param_3 * 8) = local_20;" (assignment_expression "*(uint *)(iVar1 + 4 + param_3 * 8) = local_20" (pointer_expression "*(uint *)(iVar1 + 4 + param_3 * 8)" * (cast_expression "(uint *)(iVar1 + 4 + param_3 * 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 4 + param_3 * 8)" ( (binary_expression "iVar1 + 4 + param_3 * 8" (binary_expression "iVar1 + 4" identifier + number_literal) + (binary_expression "param_3 * 8" identifier * number_literal)) )))) = identifier) ;) }))) (if_statement "if (((local_24 & local_20) == 0xffffffff) && (param_7 != 0)) {\n    *(undefined1 *)(param_1 + 0x4c) = 1;\n    return;\n  }" if (parenthesized_expression "(((local_24 & local_20) == 0xffffffff) && (param_7 != 0))" ( (binary_expression "((local_24 & local_20) == 0xffffffff) && (param_7 != 0)" (parenthesized_expression "((local_24 & local_20) == 0xffffffff)" ( (binary_expression "(local_24 & local_20) == 0xffffffff" (parenthesized_expression "(local_24 & local_20)" ( (binary_expression "local_24 & local_20" identifier & identifier) )) == number_literal) )) && (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 ;) })) (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 ;) (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 IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + (binary_expression IDENT * LIT)) )))) = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + (binary_expression IDENT * LIT)) )))) = IDENT) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & IDENT) )) == LIT) )) && (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 ;) })) (return_statement return ;) })))
(function_definition "void FUN_000ba010(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  int iVar1;\n  undefined4 uVar2;\n  uint local_24;\n  uint local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0xba019;\n  uVar2 = FUN_000af9e0(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) = uVar2;\n  if ((local_20 & local_24) == 0xffffffff) {\n    iVar1 = *(int *)(param_1 + 0x84);\n    *(undefined4 *)(iVar1 + param_3 * 8) = 0xffffffff;\n    *(undefined4 *)(iVar1 + 4 + param_3 * 8) = 0xffffffff;\n  }\n  else {\n    iVar1 = *(int *)(param_1 + 0x84);\n    *(uint *)(iVar1 + param_3 * 8) = local_24;\n    *(uint *)(iVar1 + 4 + param_3 * 8) = local_20;\n  }\n  if (((local_24 & local_20) == 0xffffffff) && (param_7 != 0)) {\n    *(undefined1 *)(param_1 + 0x4c) = 1;\n    return;\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_000ba010(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_000ba010") (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  int iVar1;\n  undefined4 uVar2;\n  uint local_24;\n  uint local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0xba019;\n  uVar2 = FUN_000af9e0(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) = uVar2;\n  if ((local_20 & local_24) == 0xffffffff) {\n    iVar1 = *(int *)(param_1 + 0x84);\n    *(undefined4 *)(iVar1 + param_3 * 8) = 0xffffffff;\n    *(undefined4 *)(iVar1 + 4 + param_3 * 8) = 0xffffffff;\n  }\n  else {\n    iVar1 = *(int *)(param_1 + 0x84);\n    *(uint *)(iVar1 + param_3 * 8) = local_24;\n    *(uint *)(iVar1 + 4 + param_3 * 8) = local_20;\n  }\n  if (((local_24 & local_20) == 0xffffffff) && (param_7 != 0)) {\n    *(undefined1 *)(param_1 + 0x4c) = 1;\n    return;\n  }\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (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 = 0xba019;" (assignment_expression "uStack_14 = 0xba019" (identifier "uStack_14") (= "=") (number_literal "0xba019")) (; ";")) (expression_statement "uVar2 = FUN_000af9e0(param_2,param_1,param_3,param_4,param_5,param_6,param_7,param_8,&local_24);" (assignment_expression "uVar2 = FUN_000af9e0(param_2,param_1,param_3,param_4,param_5,param_6,param_7,param_8,&local_24)" (identifier "uVar2") (= "=") (call_expression "FUN_000af9e0(param_2,param_1,param_3,param_4,param_5,param_6,param_7,param_8,&local_24)" (identifier "FUN_000af9e0") (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) = uVar2;" (assignment_expression "*(undefined4 *)(*(int *)(param_1 + 0x38) + param_3 * 4) = uVar2" (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 "uVar2")) (; ";")) (if_statement "if ((local_20 & local_24) == 0xffffffff) {\n    iVar1 = *(int *)(param_1 + 0x84);\n    *(undefined4 *)(iVar1 + param_3 * 8) = 0xffffffff;\n    *(undefined4 *)(iVar1 + 4 + param_3 * 8) = 0xffffffff;\n  }\n  else {\n    iVar1 = *(int *)(param_1 + 0x84);\n    *(uint *)(iVar1 + param_3 * 8) = local_24;\n    *(uint *)(iVar1 + 4 + param_3 * 8) = local_20;\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    iVar1 = *(int *)(param_1 + 0x84);\n    *(undefined4 *)(iVar1 + param_3 * 8) = 0xffffffff;\n    *(undefined4 *)(iVar1 + 4 + param_3 * 8) = 0xffffffff;\n  }" ({ "{") (expression_statement "iVar1 = *(int *)(param_1 + 0x84);" (assignment_expression "iVar1 = *(int *)(param_1 + 0x84)" (identifier "iVar1") (= "=") (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")) () ")"))))) (; ";")) (expression_statement "*(undefined4 *)(iVar1 + param_3 * 8) = 0xffffffff;" (assignment_expression "*(undefined4 *)(iVar1 + param_3 * 8) = 0xffffffff" (pointer_expression "*(undefined4 *)(iVar1 + param_3 * 8)" (* "*") (cast_expression "(undefined4 *)(iVar1 + param_3 * 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + param_3 * 8)" (( "(") (binary_expression "iVar1 + param_3 * 8" (identifier "iVar1") (+ "+") (binary_expression "param_3 * 8" (identifier "param_3") (* "*") (number_literal "8"))) () ")")))) (= "=") (number_literal "0xffffffff")) (; ";")) (expression_statement "*(undefined4 *)(iVar1 + 4 + param_3 * 8) = 0xffffffff;" (assignment_expression "*(undefined4 *)(iVar1 + 4 + param_3 * 8) = 0xffffffff" (pointer_expression "*(undefined4 *)(iVar1 + 4 + param_3 * 8)" (* "*") (cast_expression "(undefined4 *)(iVar1 + 4 + param_3 * 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 4 + param_3 * 8)" (( "(") (binary_expression "iVar1 + 4 + param_3 * 8" (binary_expression "iVar1 + 4" (identifier "iVar1") (+ "+") (number_literal "4")) (+ "+") (binary_expression "param_3 * 8" (identifier "param_3") (* "*") (number_literal "8"))) () ")")))) (= "=") (number_literal "0xffffffff")) (; ";")) (} "}")) (else_clause "else {\n    iVar1 = *(int *)(param_1 + 0x84);\n    *(uint *)(iVar1 + param_3 * 8) = local_24;\n    *(uint *)(iVar1 + 4 + param_3 * 8) = local_20;\n  }" (else "else") (compound_statement "{\n    iVar1 = *(int *)(param_1 + 0x84);\n    *(uint *)(iVar1 + param_3 * 8) = local_24;\n    *(uint *)(iVar1 + 4 + param_3 * 8) = local_20;\n  }" ({ "{") (expression_statement "iVar1 = *(int *)(param_1 + 0x84);" (assignment_expression "iVar1 = *(int *)(param_1 + 0x84)" (identifier "iVar1") (= "=") (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")) () ")"))))) (; ";")) (expression_statement "*(uint *)(iVar1 + param_3 * 8) = local_24;" (assignment_expression "*(uint *)(iVar1 + param_3 * 8) = local_24" (pointer_expression "*(uint *)(iVar1 + param_3 * 8)" (* "*") (cast_expression "(uint *)(iVar1 + param_3 * 8)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + param_3 * 8)" (( "(") (binary_expression "iVar1 + param_3 * 8" (identifier "iVar1") (+ "+") (binary_expression "param_3 * 8" (identifier "param_3") (* "*") (number_literal "8"))) () ")")))) (= "=") (identifier "local_24")) (; ";")) (expression_statement "*(uint *)(iVar1 + 4 + param_3 * 8) = local_20;" (assignment_expression "*(uint *)(iVar1 + 4 + param_3 * 8) = local_20" (pointer_expression "*(uint *)(iVar1 + 4 + param_3 * 8)" (* "*") (cast_expression "(uint *)(iVar1 + 4 + param_3 * 8)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 4 + param_3 * 8)" (( "(") (binary_expression "iVar1 + 4 + param_3 * 8" (binary_expression "iVar1 + 4" (identifier "iVar1") (+ "+") (number_literal "4")) (+ "+") (binary_expression "param_3 * 8" (identifier "param_3") (* "*") (number_literal "8"))) () ")")))) (= "=") (identifier "local_20")) (; ";")) (} "}")))) (if_statement "if (((local_24 & local_20) == 0xffffffff) && (param_7 != 0)) {\n    *(undefined1 *)(param_1 + 0x4c) = 1;\n    return;\n  }" (if "if") (parenthesized_expression "(((local_24 & local_20) == 0xffffffff) && (param_7 != 0))" (( "(") (binary_expression "((local_24 & local_20) == 0xffffffff) && (param_7 != 0)" (parenthesized_expression "((local_24 & local_20) == 0xffffffff)" (( "(") (binary_expression "(local_24 & local_20) == 0xffffffff" (parenthesized_expression "(local_24 & local_20)" (( "(") (binary_expression "local_24 & local_20" (identifier "local_24") (& "&") (identifier "local_20")) () ")")) (== "==") (number_literal "0xffffffff")) () ")")) (&& "&&") (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") (; ";")) (} "}"))) (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<64,_true> * 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<64,_true>::layout_section
          (Sized_relobj_file<64,_true> *this,Layout *layout,type_4 var_7,char *name,Shdr *shdr,
          type_4 sh_type,type_4 var_8,type_4 reloc_type)

{
  pointer var_6;
  type_1 *pOVar2;
  type_2 offset;
  type_3 uStack_14;
  
  uStack_14 = 0xba019;
  pOVar2 = Layout::layout<64,_true>
                     (layout,this,var_7,name,shdr,sh_type,var_8,reloc_type,&offset);
  (this->super_Sized_relobj<64,_true>).super_Relobj.output_sections_.
  super__Vector_base<var_1::type_1*,var_2::var_4<var_1::type_1*>var_3>._M_impl._M_start
  [var_7] = pOVar2;
  if ((offset._4_4_ & (type_4)offset) == 0xffffffff) {
    var_6 = (this->super_Sized_relobj<64,_true>).section_offsets_.
             super__Vector_base<var_5,var_2::var_4<var_5>var_3>.
             _M_impl._M_start;
    *(type_3 *)(var_6 + var_7) = 0xffffffff;
    *(type_3 *)((int)var_6 + var_7 * 8 + 4) = 0xffffffff;
  }
  else {
    var_6 = (this->super_Sized_relobj<64,_true>).section_offsets_.
             super__Vector_base<var_5,var_2::var_4<var_5>var_3>.
             _M_impl._M_start;
    *(type_4 *)(var_6 + var_7) = (type_4)offset;
    *(type_4 *)((int)var_6 + var_7 * 8 + 4) = offset._4_4_;
  }
  if ((((type_4)offset & offset._4_4_) == 0xffffffff) && (var_8 != 0)) {
    (this->super_Sized_relobj<64,_true>).super_Relobj.relocs_must_follow_section_writes_ = true;
    return;
  }
  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: (primitive_type) declarator: (identifier)) (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: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))) 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: (binary_expression left: (identifier) right: (number_literal)) right: (binary_expression left: (identifier) right: (number_literal)))))) right: (number_literal)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))) right: (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: (binary_expression left: (identifier) right: (number_literal)))))) right: (identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) right: (number_literal))) right: (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))) (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)

{
  int iVar1;
  undefined4 uVar2;
  uint local_24;
  uint local_20;
  undefined4 uStack_14;
  
  uStack_14 = 0xba019;
  uVar2 = FUN_000af9e0(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) = uVar2;
  if ((local_20 & local_24) == 0xffffffff) {
    iVar1 = *(int *)(param_1 + 0x84);
    *(undefined4 *)(iVar1 + param_3 * 8) = 0xffffffff;
    *(undefined4 *)(iVar1 + 4 + param_3 * 8) = 0xffffffff;
  }
  else {
    iVar1 = *(int *)(param_1 + 0x84);
    *(uint *)(iVar1 + param_3 * 8) = local_24;
    *(uint *)(iVar1 + 4 + param_3 * 8) = local_20;
  }
  if (((local_24 & local_20) == 0xffffffff) && (param_7 != 0)) {
    *(undefined1 *)(param_1 + 0x4c) = 1;
    return;
  }
  return;
}

