
/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */
/* DWARF original prototype: void set_address_and_file_offset(Input_section * this, uint64_t
   address, off_t file_offset, off_t section_file_offset) */

void __thiscall
gold::Output_section::Input_section::set_address_and_file_offset
          (Input_section *this,uint64_t address,off_t file_offset,off_t section_file_offset)

{
  byte bVar1;
  Relobj *pRVar2;
  
  pRVar2 = (this->u2_).object;
  if (3 < this->shndx_ + 4) {
                    /* WARNING: Could not recover jumptable at 0x000edfdb. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    (*(pRVar2->super_Object)._vptr_Object[0x37])();
    return;
  }
  bVar1 = *(byte *)&(pRVar2->super_Object).input_file_;
  if ((bVar1 & 1) == 0) {
    (pRVar2->super_Object).name_._M_dataplus = (_Alloc_hider)(undefined4)address;
    (pRVar2->super_Object).name_._M_string_length = address._4_4_;
    *(byte *)&(pRVar2->super_Object).input_file_ = bVar1 | 1;
    if ((bVar1 & 4) != 0) {
                    /* WARNING: Subroutine does not return */
      do_gold_unreachable("../../gold/output.h",0x14b,"set_file_offset");
    }
    *(undefined4 *)((int)&(pRVar2->super_Object).name_.field_2 + 8) = (undefined4)file_offset;
    *(byte *)&(pRVar2->super_Object).input_file_ = bVar1 | 5;
    *(undefined4 *)((int)&(pRVar2->super_Object).name_.field_2 + 0xc) = file_offset._4_4_;
    if ((bVar1 & 2) == 0) {
      (*(pRVar2->super_Object)._vptr_Object[0xe])(pRVar2);
      if (((uint)(pRVar2->super_Object).input_file_ & 2) == 0) {
                    /* WARNING: Subroutine does not return */
        do_gold_unreachable("../../gold/output.h",0x163,"finalize_data_size");
      }
    }
    return;
  }
                    /* WARNING: Subroutine does not return */
  do_gold_unreachable("../../gold/output.h",0x142,"set_address");
}



/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */

void FUN_000edf70(int *param_1,int param_2,int param_3,int param_4,int param_5)

{
  byte bVar1;
  int *piVar2;
  undefined4 uVar3;
  
  piVar2 = (int *)param_1[4];
  if (3 < *param_1 + 4U) {
                    /* WARNING: Could not recover jumptable at 0x000edfdb. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    (**(code **)(*piVar2 + 0xdc))();
    return;
  }
  bVar1 = *(byte *)(piVar2 + 7);
  if ((bVar1 & 1) == 0) {
    piVar2[1] = param_2;
    piVar2[2] = param_3;
    *(byte *)(piVar2 + 7) = bVar1 | 1;
    if ((bVar1 & 4) != 0) {
                    /* WARNING: Subroutine does not return */
      FUN_00069d00("../../gold/output.h",0x14b,"set_file_offset",param_5);
    }
    piVar2[5] = param_4;
    *(byte *)(piVar2 + 7) = bVar1 | 5;
    piVar2[6] = param_5;
    if ((bVar1 & 2) == 0) {
      uVar3 = (**(code **)(*piVar2 + 0x38))(piVar2);
      if ((*(byte *)(piVar2 + 7) & 2) == 0) {
                    /* WARNING: Subroutine does not return */
        FUN_00069d00("../../gold/output.h",0x163,"finalize_data_size",uVar3);
      }
    }
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_00069d00("../../gold/output.h",0x142,"set_address",bVar1);
}


CALL 0x000559e6
ADD EAX,0x2a108b
PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
SUB ESP,0x1c
MOV ESI,dword ptr [ESP + 0x30]
MOV ECX,dword ptr [ESP + 0x44]
MOV dword ptr [ESP + 0xc],EAX
MOV EBX,dword ptr [ESP + 0x48]
MOV EDI,dword ptr [ESP + 0x34]
MOV EBP,dword ptr [ESP + 0x38]
MOV EAX,dword ptr [ESP + 0x3c]
MOV dword ptr [ESP],ECX
MOV ECX,dword ptr [ESI]
MOV EDX,dword ptr [ESP + 0x40]
MOV dword ptr [ESP + 0x4],EBX
MOV ESI,dword ptr [ESI + 0x10]
LEA EBX,[ECX + 0x4]
CMP EBX,0x3
JBE 0x000edfe0
MOV EDI,dword ptr [ESI]
SUB EAX,dword ptr [ESP]
MOV dword ptr [ESP + 0x30],ESI
SBB EDX,dword ptr [ESP + 0x4]
MOV dword ptr [ESP + 0x38],EAX
MOV dword ptr [ESP + 0x3c],EDX
MOV dword ptr [ESP + 0x34],ECX
MOV EAX,dword ptr [EDI + 0xdc]
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
JMP EAX
MOVZX ECX,byte ptr [ESI + 0x1c]
TEST CL,0x1
JNZ 0x000ee046
MOV dword ptr [ESI + 0x4],EDI
MOV EDI,ECX
OR EDI,0x1
MOV dword ptr [ESI + 0x8],EBP
MOV EBX,EDI
AND EDI,0x4
MOV byte ptr [ESI + 0x1c],BL
JNZ 0x000ee063
OR ECX,0x5
MOV dword ptr [ESI + 0x14],EAX
MOV byte ptr [ESI + 0x1c],CL
AND ECX,0x2
MOV dword ptr [ESI + 0x18],EDX
JNZ 0x000ee021
SUB ESP,0xc
MOV EAX,dword ptr [ESI]
PUSH ESI
CALL dword ptr [EAX + 0x38]
ADD ESP,0x10
TEST byte ptr [ESI + 0x1c],0x2
JZ 0x000ee029
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
PUSH EAX
MOV EBX,dword ptr [ESP + 0x10]
LEA EAX,[EBX + 0xfff04f5c]
PUSH EAX
LEA EAX,[EBX + 0xffef8eac]
PUSH 0x163
PUSH EAX
CALL 0x00069d00
PUSH ECX
MOV EBX,dword ptr [ESP + 0x10]
LEA EAX,[EBX + 0xfff04f80]
PUSH EAX
LEA EAX,[EBX + 0xffef8eac]
PUSH 0x142
PUSH EAX
CALL 0x00069d00
PUSH EDX
MOV EBX,dword ptr [ESP + 0x10]
LEA EAX,[EBX + 0xfff04f70]
PUSH EAX
LEA EAX,[EBX + 0xffef8eac]
PUSH 0x14b
PUSH EAX
CALL 0x00069d00
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */\n\nvoid FUN_000edf70(int *param_1,int param_2,int param_3,int param_4,int param_5)\n\n{\n  byte bVar1;\n  int *piVar2;\n  undefined4 uVar3;\n  \n  piVar2 = (int *)param_1[4];\n  if (3 < *param_1 + 4U) {\n                    /* WARNING: Could not recover jumptable at 0x000edfdb. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (**(code **)(*piVar2 + 0xdc))();\n    return;\n  }\n  bVar1 = *(byte *)(piVar2 + 7);\n  if ((bVar1 & 1) == 0) {\n    piVar2[1] = param_2;\n    piVar2[2] = param_3;\n    *(byte *)(piVar2 + 7) = bVar1 | 1;\n    if ((bVar1 & 4) != 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_00069d00("../../gold/output.h",0x14b,"set_file_offset",param_5);\n    }\n    piVar2[5] = param_4;\n    *(byte *)(piVar2 + 7) = bVar1 | 5;\n    piVar2[6] = param_5;\n    if ((bVar1 & 2) == 0) {\n      uVar3 = (**(code **)(*piVar2 + 0x38))(piVar2);\n      if ((*(byte *)(piVar2 + 7) & 2) == 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_00069d00("../../gold/output.h",0x163,"finalize_data_size",uVar3);\n      }\n    }\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00069d00("../../gold/output.h",0x142,"set_address",bVar1);\n}\n\n" comment (function_definition "void FUN_000edf70(int *param_1,int param_2,int param_3,int param_4,int param_5)\n\n{\n  byte bVar1;\n  int *piVar2;\n  undefined4 uVar3;\n  \n  piVar2 = (int *)param_1[4];\n  if (3 < *param_1 + 4U) {\n                    /* WARNING: Could not recover jumptable at 0x000edfdb. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (**(code **)(*piVar2 + 0xdc))();\n    return;\n  }\n  bVar1 = *(byte *)(piVar2 + 7);\n  if ((bVar1 & 1) == 0) {\n    piVar2[1] = param_2;\n    piVar2[2] = param_3;\n    *(byte *)(piVar2 + 7) = bVar1 | 1;\n    if ((bVar1 & 4) != 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_00069d00("../../gold/output.h",0x14b,"set_file_offset",param_5);\n    }\n    piVar2[5] = param_4;\n    *(byte *)(piVar2 + 7) = bVar1 | 5;\n    piVar2[6] = param_5;\n    if ((bVar1 & 2) == 0) {\n      uVar3 = (**(code **)(*piVar2 + 0x38))(piVar2);\n      if ((*(byte *)(piVar2 + 7) & 2) == 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_00069d00("../../gold/output.h",0x163,"finalize_data_size",uVar3);\n      }\n    }\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00069d00("../../gold/output.h",0x142,"set_address",bVar1);\n}" primitive_type (function_declarator "FUN_000edf70(int *param_1,int param_2,int param_3,int param_4,int param_5)" identifier (parameter_list "(int *param_1,int param_2,int param_3,int param_4,int param_5)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "int param_4" primitive_type identifier) , (parameter_declaration "int param_5" primitive_type identifier) ))) (compound_statement "{\n  byte bVar1;\n  int *piVar2;\n  undefined4 uVar3;\n  \n  piVar2 = (int *)param_1[4];\n  if (3 < *param_1 + 4U) {\n                    /* WARNING: Could not recover jumptable at 0x000edfdb. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (**(code **)(*piVar2 + 0xdc))();\n    return;\n  }\n  bVar1 = *(byte *)(piVar2 + 7);\n  if ((bVar1 & 1) == 0) {\n    piVar2[1] = param_2;\n    piVar2[2] = param_3;\n    *(byte *)(piVar2 + 7) = bVar1 | 1;\n    if ((bVar1 & 4) != 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_00069d00("../../gold/output.h",0x14b,"set_file_offset",param_5);\n    }\n    piVar2[5] = param_4;\n    *(byte *)(piVar2 + 7) = bVar1 | 5;\n    piVar2[6] = param_5;\n    if ((bVar1 & 2) == 0) {\n      uVar3 = (**(code **)(*piVar2 + 0x38))(piVar2);\n      if ((*(byte *)(piVar2 + 7) & 2) == 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_00069d00("../../gold/output.h",0x163,"finalize_data_size",uVar3);\n      }\n    }\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00069d00("../../gold/output.h",0x142,"set_address",bVar1);\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (expression_statement "piVar2 = (int *)param_1[4];" (assignment_expression "piVar2 = (int *)param_1[4]" identifier = (cast_expression "(int *)param_1[4]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[4]" identifier [ number_literal ]))) ;) (if_statement "if (3 < *param_1 + 4U) {\n                    /* WARNING: Could not recover jumptable at 0x000edfdb. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (**(code **)(*piVar2 + 0xdc))();\n    return;\n  }" if (parenthesized_expression "(3 < *param_1 + 4U)" ( (binary_expression "3 < *param_1 + 4U" number_literal < (binary_expression "*param_1 + 4U" (pointer_expression "*param_1" * identifier) + number_literal)) )) (compound_statement "{\n                    /* WARNING: Could not recover jumptable at 0x000edfdb. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (**(code **)(*piVar2 + 0xdc))();\n    return;\n  }" { comment comment (expression_statement "(**(code **)(*piVar2 + 0xdc))();" (call_expression "(**(code **)(*piVar2 + 0xdc))()" (parenthesized_expression "(**(code **)(*piVar2 + 0xdc))" ( (pointer_expression "**(code **)(*piVar2 + 0xdc)" * (pointer_expression "*(code **)(*piVar2 + 0xdc)" * (cast_expression "(code **)(*piVar2 + 0xdc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar2 + 0xdc)" ( (binary_expression "*piVar2 + 0xdc" (pointer_expression "*piVar2" * identifier) + number_literal) ))))) )) (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (expression_statement "bVar1 = *(byte *)(piVar2 + 7);" (assignment_expression "bVar1 = *(byte *)(piVar2 + 7)" identifier = (pointer_expression "*(byte *)(piVar2 + 7)" * (cast_expression "(byte *)(piVar2 + 7)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar2 + 7)" ( (binary_expression "piVar2 + 7" identifier + number_literal) ))))) ;) (if_statement "if ((bVar1 & 1) == 0) {\n    piVar2[1] = param_2;\n    piVar2[2] = param_3;\n    *(byte *)(piVar2 + 7) = bVar1 | 1;\n    if ((bVar1 & 4) != 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_00069d00("../../gold/output.h",0x14b,"set_file_offset",param_5);\n    }\n    piVar2[5] = param_4;\n    *(byte *)(piVar2 + 7) = bVar1 | 5;\n    piVar2[6] = param_5;\n    if ((bVar1 & 2) == 0) {\n      uVar3 = (**(code **)(*piVar2 + 0x38))(piVar2);\n      if ((*(byte *)(piVar2 + 7) & 2) == 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_00069d00("../../gold/output.h",0x163,"finalize_data_size",uVar3);\n      }\n    }\n    return;\n  }" if (parenthesized_expression "((bVar1 & 1) == 0)" ( (binary_expression "(bVar1 & 1) == 0" (parenthesized_expression "(bVar1 & 1)" ( (binary_expression "bVar1 & 1" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n    piVar2[1] = param_2;\n    piVar2[2] = param_3;\n    *(byte *)(piVar2 + 7) = bVar1 | 1;\n    if ((bVar1 & 4) != 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_00069d00("../../gold/output.h",0x14b,"set_file_offset",param_5);\n    }\n    piVar2[5] = param_4;\n    *(byte *)(piVar2 + 7) = bVar1 | 5;\n    piVar2[6] = param_5;\n    if ((bVar1 & 2) == 0) {\n      uVar3 = (**(code **)(*piVar2 + 0x38))(piVar2);\n      if ((*(byte *)(piVar2 + 7) & 2) == 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_00069d00("../../gold/output.h",0x163,"finalize_data_size",uVar3);\n      }\n    }\n    return;\n  }" { (expression_statement "piVar2[1] = param_2;" (assignment_expression "piVar2[1] = param_2" (subscript_expression "piVar2[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar2[2] = param_3;" (assignment_expression "piVar2[2] = param_3" (subscript_expression "piVar2[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*(byte *)(piVar2 + 7) = bVar1 | 1;" (assignment_expression "*(byte *)(piVar2 + 7) = bVar1 | 1" (pointer_expression "*(byte *)(piVar2 + 7)" * (cast_expression "(byte *)(piVar2 + 7)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar2 + 7)" ( (binary_expression "piVar2 + 7" identifier + number_literal) )))) = (binary_expression "bVar1 | 1" identifier | number_literal)) ;) (if_statement "if ((bVar1 & 4) != 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_00069d00("../../gold/output.h",0x14b,"set_file_offset",param_5);\n    }" if (parenthesized_expression "((bVar1 & 4) != 0)" ( (binary_expression "(bVar1 & 4) != 0" (parenthesized_expression "(bVar1 & 4)" ( (binary_expression "bVar1 & 4" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      FUN_00069d00("../../gold/output.h",0x14b,"set_file_offset",param_5);\n    }" { comment (expression_statement "FUN_00069d00("../../gold/output.h",0x14b,"set_file_offset",param_5);" (call_expression "FUN_00069d00("../../gold/output.h",0x14b,"set_file_offset",param_5)" identifier (argument_list "("../../gold/output.h",0x14b,"set_file_offset",param_5)" ( (string_literal ""../../gold/output.h"" " string_content ") , number_literal , (string_literal ""set_file_offset"" " string_content ") , identifier ))) ;) })) (expression_statement "piVar2[5] = param_4;" (assignment_expression "piVar2[5] = param_4" (subscript_expression "piVar2[5]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*(byte *)(piVar2 + 7) = bVar1 | 5;" (assignment_expression "*(byte *)(piVar2 + 7) = bVar1 | 5" (pointer_expression "*(byte *)(piVar2 + 7)" * (cast_expression "(byte *)(piVar2 + 7)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar2 + 7)" ( (binary_expression "piVar2 + 7" identifier + number_literal) )))) = (binary_expression "bVar1 | 5" identifier | number_literal)) ;) (expression_statement "piVar2[6] = param_5;" (assignment_expression "piVar2[6] = param_5" (subscript_expression "piVar2[6]" identifier [ number_literal ]) = identifier) ;) (if_statement "if ((bVar1 & 2) == 0) {\n      uVar3 = (**(code **)(*piVar2 + 0x38))(piVar2);\n      if ((*(byte *)(piVar2 + 7) & 2) == 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_00069d00("../../gold/output.h",0x163,"finalize_data_size",uVar3);\n      }\n    }" if (parenthesized_expression "((bVar1 & 2) == 0)" ( (binary_expression "(bVar1 & 2) == 0" (parenthesized_expression "(bVar1 & 2)" ( (binary_expression "bVar1 & 2" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n      uVar3 = (**(code **)(*piVar2 + 0x38))(piVar2);\n      if ((*(byte *)(piVar2 + 7) & 2) == 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_00069d00("../../gold/output.h",0x163,"finalize_data_size",uVar3);\n      }\n    }" { (expression_statement "uVar3 = (**(code **)(*piVar2 + 0x38))(piVar2);" (assignment_expression "uVar3 = (**(code **)(*piVar2 + 0x38))(piVar2)" identifier = (call_expression "(**(code **)(*piVar2 + 0x38))(piVar2)" (parenthesized_expression "(**(code **)(*piVar2 + 0x38))" ( (pointer_expression "**(code **)(*piVar2 + 0x38)" * (pointer_expression "*(code **)(*piVar2 + 0x38)" * (cast_expression "(code **)(*piVar2 + 0x38)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar2 + 0x38)" ( (binary_expression "*piVar2 + 0x38" (pointer_expression "*piVar2" * identifier) + number_literal) ))))) )) (argument_list "(piVar2)" ( identifier )))) ;) (if_statement "if ((*(byte *)(piVar2 + 7) & 2) == 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_00069d00("../../gold/output.h",0x163,"finalize_data_size",uVar3);\n      }" if (parenthesized_expression "((*(byte *)(piVar2 + 7) & 2) == 0)" ( (binary_expression "(*(byte *)(piVar2 + 7) & 2) == 0" (parenthesized_expression "(*(byte *)(piVar2 + 7) & 2)" ( (binary_expression "*(byte *)(piVar2 + 7) & 2" (pointer_expression "*(byte *)(piVar2 + 7)" * (cast_expression "(byte *)(piVar2 + 7)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar2 + 7)" ( (binary_expression "piVar2 + 7" identifier + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n        FUN_00069d00("../../gold/output.h",0x163,"finalize_data_size",uVar3);\n      }" { comment (expression_statement "FUN_00069d00("../../gold/output.h",0x163,"finalize_data_size",uVar3);" (call_expression "FUN_00069d00("../../gold/output.h",0x163,"finalize_data_size",uVar3)" identifier (argument_list "("../../gold/output.h",0x163,"finalize_data_size",uVar3)" ( (string_literal ""../../gold/output.h"" " string_content ") , number_literal , (string_literal ""finalize_data_size"" " string_content ") , identifier ))) ;) })) })) (return_statement "return;" return ;) })) comment (expression_statement "FUN_00069d00("../../gold/output.h",0x142,"set_address",bVar1);" (call_expression "FUN_00069d00("../../gold/output.h",0x142,"set_address",bVar1)" identifier (argument_list "("../../gold/output.h",0x142,"set_address",bVar1)" ( (string_literal ""../../gold/output.h"" " string_content ") , number_literal , (string_literal ""set_address"" " string_content ") , identifier ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */\n/* DWARF original prototype: void set_address_and_file_offset(Input_section * this, uint64_t\n   address, off_t file_offset, off_t section_file_offset) */\n\nvoid __thiscall\ngold::Output_section::Input_section::set_address_and_file_offset\n          (Input_section *this,uint64_t address,off_t file_offset,off_t section_file_offset)\n\n{\n  byte bVar1;\n  Relobj *pRVar2;\n  \n  pRVar2 = (this->u2_).object;\n  if (3 < this->shndx_ + 4) {\n                    /* WARNING: Could not recover jumptable at 0x000edfdb. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*(pRVar2->super_Object)._vptr_Object[0x37])();\n    return;\n  }\n  bVar1 = *(byte *)&(pRVar2->super_Object).input_file_;\n  if ((bVar1 & 1) == 0) {\n    (pRVar2->super_Object).name_._M_dataplus = (_Alloc_hider)(undefined4)address;\n    (pRVar2->super_Object).name_._M_string_length = address._4_4_;\n    *(byte *)&(pRVar2->super_Object).input_file_ = bVar1 | 1;\n    if ((bVar1 & 4) != 0) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/output.h",0x14b,"set_file_offset");\n    }\n    *(undefined4 *)((int)&(pRVar2->super_Object).name_.field_2 + 8) = (undefined4)file_offset;\n    *(byte *)&(pRVar2->super_Object).input_file_ = bVar1 | 5;\n    *(undefined4 *)((int)&(pRVar2->super_Object).name_.field_2 + 0xc) = file_offset._4_4_;\n    if ((bVar1 & 2) == 0) {\n      (*(pRVar2->super_Object)._vptr_Object[0xe])(pRVar2);\n      if (((uint)(pRVar2->super_Object).input_file_ & 2) == 0) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/output.h",0x163,"finalize_data_size");\n      }\n    }\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/output.h",0x142,"set_address");\n}\n\n" comment comment (function_definition "void __thiscall\ngold::Output_section::Input_section::set_address_and_file_offset\n          (Input_section *this,uint64_t address,off_t file_offset,off_t section_file_offset)\n\n{\n  byte bVar1;\n  Relobj *pRVar2;\n  \n  pRVar2 = (this->u2_).object;\n  if (3 < this->shndx_ + 4) {\n                    /* WARNING: Could not recover jumptable at 0x000edfdb. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*(pRVar2->super_Object)._vptr_Object[0x37])();\n    return;\n  }\n  bVar1 = *(byte *)&(pRVar2->super_Object).input_file_;\n  if ((bVar1 & 1) == 0) {\n    (pRVar2->super_Object).name_._M_dataplus = (_Alloc_hider)(undefined4)address;\n    (pRVar2->super_Object).name_._M_string_length = address._4_4_;\n    *(byte *)&(pRVar2->super_Object).input_file_ = bVar1 | 1;\n    if ((bVar1 & 4) != 0) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/output.h",0x14b,"set_file_offset");\n    }\n    *(undefined4 *)((int)&(pRVar2->super_Object).name_.field_2 + 8) = (undefined4)file_offset;\n    *(byte *)&(pRVar2->super_Object).input_file_ = bVar1 | 5;\n    *(undefined4 *)((int)&(pRVar2->super_Object).name_.field_2 + 0xc) = file_offset._4_4_;\n    if ((bVar1 & 2) == 0) {\n      (*(pRVar2->super_Object)._vptr_Object[0xe])(pRVar2);\n      if (((uint)(pRVar2->super_Object).input_file_ & 2) == 0) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/output.h",0x163,"finalize_data_size");\n      }\n    }\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/output.h",0x142,"set_address");\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Output_section::Input_section::" identifier : : identifier : : identifier : :) (function_declarator "set_address_and_file_offset\n          (Input_section *this,uint64_t address,off_t file_offset,off_t section_file_offset)" identifier (parameter_list "(Input_section *this,uint64_t address,off_t file_offset,off_t section_file_offset)" ( (parameter_declaration "Input_section *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "uint64_t address" primitive_type identifier) , (parameter_declaration "off_t file_offset" type_identifier identifier) , (parameter_declaration "off_t section_file_offset" type_identifier identifier) ))) (compound_statement "{\n  byte bVar1;\n  Relobj *pRVar2;\n  \n  pRVar2 = (this->u2_).object;\n  if (3 < this->shndx_ + 4) {\n                    /* WARNING: Could not recover jumptable at 0x000edfdb. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*(pRVar2->super_Object)._vptr_Object[0x37])();\n    return;\n  }\n  bVar1 = *(byte *)&(pRVar2->super_Object).input_file_;\n  if ((bVar1 & 1) == 0) {\n    (pRVar2->super_Object).name_._M_dataplus = (_Alloc_hider)(undefined4)address;\n    (pRVar2->super_Object).name_._M_string_length = address._4_4_;\n    *(byte *)&(pRVar2->super_Object).input_file_ = bVar1 | 1;\n    if ((bVar1 & 4) != 0) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/output.h",0x14b,"set_file_offset");\n    }\n    *(undefined4 *)((int)&(pRVar2->super_Object).name_.field_2 + 8) = (undefined4)file_offset;\n    *(byte *)&(pRVar2->super_Object).input_file_ = bVar1 | 5;\n    *(undefined4 *)((int)&(pRVar2->super_Object).name_.field_2 + 0xc) = file_offset._4_4_;\n    if ((bVar1 & 2) == 0) {\n      (*(pRVar2->super_Object)._vptr_Object[0xe])(pRVar2);\n      if (((uint)(pRVar2->super_Object).input_file_ & 2) == 0) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/output.h",0x163,"finalize_data_size");\n      }\n    }\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/output.h",0x142,"set_address");\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "Relobj *pRVar2;" type_identifier (pointer_declarator "*pRVar2" * identifier) ;) (expression_statement "pRVar2 = (this->u2_).object;" (assignment_expression "pRVar2 = (this->u2_).object" identifier = (field_expression "(this->u2_).object" (parenthesized_expression "(this->u2_)" ( (field_expression "this->u2_" identifier -> field_identifier) )) . field_identifier)) ;) (if_statement "if (3 < this->shndx_ + 4) {\n                    /* WARNING: Could not recover jumptable at 0x000edfdb. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*(pRVar2->super_Object)._vptr_Object[0x37])();\n    return;\n  }" if (parenthesized_expression "(3 < this->shndx_ + 4)" ( (binary_expression "3 < this->shndx_ + 4" number_literal < (binary_expression "this->shndx_ + 4" (field_expression "this->shndx_" identifier -> field_identifier) + number_literal)) )) (compound_statement "{\n                    /* WARNING: Could not recover jumptable at 0x000edfdb. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*(pRVar2->super_Object)._vptr_Object[0x37])();\n    return;\n  }" { comment comment (expression_statement "(*(pRVar2->super_Object)._vptr_Object[0x37])();" (call_expression "(*(pRVar2->super_Object)._vptr_Object[0x37])()" (parenthesized_expression "(*(pRVar2->super_Object)._vptr_Object[0x37])" ( (pointer_expression "*(pRVar2->super_Object)._vptr_Object[0x37]" * (subscript_expression "(pRVar2->super_Object)._vptr_Object[0x37]" (field_expression "(pRVar2->super_Object)._vptr_Object" (parenthesized_expression "(pRVar2->super_Object)" ( (field_expression "pRVar2->super_Object" identifier -> field_identifier) )) . field_identifier) [ number_literal ])) )) (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (expression_statement "bVar1 = *(byte *)&(pRVar2->super_Object).input_file_;" (assignment_expression "bVar1 = *(byte *)&(pRVar2->super_Object).input_file_" identifier = (pointer_expression "*(byte *)&(pRVar2->super_Object).input_file_" * (cast_expression "(byte *)&(pRVar2->super_Object).input_file_" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&(pRVar2->super_Object).input_file_" & (field_expression "(pRVar2->super_Object).input_file_" (parenthesized_expression "(pRVar2->super_Object)" ( (field_expression "pRVar2->super_Object" identifier -> field_identifier) )) . field_identifier))))) ;) (if_statement "if ((bVar1 & 1) == 0) {\n    (pRVar2->super_Object).name_._M_dataplus = (_Alloc_hider)(undefined4)address;\n    (pRVar2->super_Object).name_._M_string_length = address._4_4_;\n    *(byte *)&(pRVar2->super_Object).input_file_ = bVar1 | 1;\n    if ((bVar1 & 4) != 0) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/output.h",0x14b,"set_file_offset");\n    }\n    *(undefined4 *)((int)&(pRVar2->super_Object).name_.field_2 + 8) = (undefined4)file_offset;\n    *(byte *)&(pRVar2->super_Object).input_file_ = bVar1 | 5;\n    *(undefined4 *)((int)&(pRVar2->super_Object).name_.field_2 + 0xc) = file_offset._4_4_;\n    if ((bVar1 & 2) == 0) {\n      (*(pRVar2->super_Object)._vptr_Object[0xe])(pRVar2);\n      if (((uint)(pRVar2->super_Object).input_file_ & 2) == 0) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/output.h",0x163,"finalize_data_size");\n      }\n    }\n    return;\n  }" if (parenthesized_expression "((bVar1 & 1) == 0)" ( (binary_expression "(bVar1 & 1) == 0" (parenthesized_expression "(bVar1 & 1)" ( (binary_expression "bVar1 & 1" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n    (pRVar2->super_Object).name_._M_dataplus = (_Alloc_hider)(undefined4)address;\n    (pRVar2->super_Object).name_._M_string_length = address._4_4_;\n    *(byte *)&(pRVar2->super_Object).input_file_ = bVar1 | 1;\n    if ((bVar1 & 4) != 0) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/output.h",0x14b,"set_file_offset");\n    }\n    *(undefined4 *)((int)&(pRVar2->super_Object).name_.field_2 + 8) = (undefined4)file_offset;\n    *(byte *)&(pRVar2->super_Object).input_file_ = bVar1 | 5;\n    *(undefined4 *)((int)&(pRVar2->super_Object).name_.field_2 + 0xc) = file_offset._4_4_;\n    if ((bVar1 & 2) == 0) {\n      (*(pRVar2->super_Object)._vptr_Object[0xe])(pRVar2);\n      if (((uint)(pRVar2->super_Object).input_file_ & 2) == 0) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/output.h",0x163,"finalize_data_size");\n      }\n    }\n    return;\n  }" { (expression_statement "(pRVar2->super_Object).name_._M_dataplus = (_Alloc_hider)(undefined4)address;" (assignment_expression "(pRVar2->super_Object).name_._M_dataplus = (_Alloc_hider)(undefined4)address" (field_expression "(pRVar2->super_Object).name_._M_dataplus" (field_expression "(pRVar2->super_Object).name_" (parenthesized_expression "(pRVar2->super_Object)" ( (field_expression "pRVar2->super_Object" identifier -> field_identifier) )) . field_identifier) . field_identifier) = (cast_expression "(_Alloc_hider)(undefined4)address" ( (type_descriptor "_Alloc_hider" type_identifier) ) (cast_expression "(undefined4)address" ( (type_descriptor "undefined4" type_identifier) ) identifier))) ;) (expression_statement "(pRVar2->super_Object).name_._M_string_length = address._4_4_;" (assignment_expression "(pRVar2->super_Object).name_._M_string_length = address._4_4_" (field_expression "(pRVar2->super_Object).name_._M_string_length" (field_expression "(pRVar2->super_Object).name_" (parenthesized_expression "(pRVar2->super_Object)" ( (field_expression "pRVar2->super_Object" identifier -> field_identifier) )) . field_identifier) . field_identifier) = (field_expression "address._4_4_" identifier . field_identifier)) ;) (expression_statement "*(byte *)&(pRVar2->super_Object).input_file_ = bVar1 | 1;" (assignment_expression "*(byte *)&(pRVar2->super_Object).input_file_ = bVar1 | 1" (pointer_expression "*(byte *)&(pRVar2->super_Object).input_file_" * (cast_expression "(byte *)&(pRVar2->super_Object).input_file_" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&(pRVar2->super_Object).input_file_" & (field_expression "(pRVar2->super_Object).input_file_" (parenthesized_expression "(pRVar2->super_Object)" ( (field_expression "pRVar2->super_Object" identifier -> field_identifier) )) . field_identifier)))) = (binary_expression "bVar1 | 1" identifier | number_literal)) ;) (if_statement "if ((bVar1 & 4) != 0) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/output.h",0x14b,"set_file_offset");\n    }" if (parenthesized_expression "((bVar1 & 4) != 0)" ( (binary_expression "(bVar1 & 4) != 0" (parenthesized_expression "(bVar1 & 4)" ( (binary_expression "bVar1 & 4" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/output.h",0x14b,"set_file_offset");\n    }" { comment (expression_statement "do_gold_unreachable("../../gold/output.h",0x14b,"set_file_offset");" (call_expression "do_gold_unreachable("../../gold/output.h",0x14b,"set_file_offset")" identifier (argument_list "("../../gold/output.h",0x14b,"set_file_offset")" ( (string_literal ""../../gold/output.h"" " string_content ") , number_literal , (string_literal ""set_file_offset"" " string_content ") ))) ;) })) (expression_statement "*(undefined4 *)((int)&(pRVar2->super_Object).name_.field_2 + 8) = (undefined4)file_offset;" (assignment_expression "*(undefined4 *)((int)&(pRVar2->super_Object).name_.field_2 + 8) = (undefined4)file_offset" (pointer_expression "*(undefined4 *)((int)&(pRVar2->super_Object).name_.field_2 + 8)" * (cast_expression "(undefined4 *)((int)&(pRVar2->super_Object).name_.field_2 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&(pRVar2->super_Object).name_.field_2 + 8)" ( (binary_expression "(int)&(pRVar2->super_Object).name_.field_2 + 8" (cast_expression "(int)&(pRVar2->super_Object).name_.field_2" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&(pRVar2->super_Object).name_.field_2" & (field_expression "(pRVar2->super_Object).name_.field_2" (field_expression "(pRVar2->super_Object).name_" (parenthesized_expression "(pRVar2->super_Object)" ( (field_expression "pRVar2->super_Object" identifier -> field_identifier) )) . field_identifier) . field_identifier))) + number_literal) )))) = (cast_expression "(undefined4)file_offset" ( (type_descriptor "undefined4" type_identifier) ) identifier)) ;) (expression_statement "*(byte *)&(pRVar2->super_Object).input_file_ = bVar1 | 5;" (assignment_expression "*(byte *)&(pRVar2->super_Object).input_file_ = bVar1 | 5" (pointer_expression "*(byte *)&(pRVar2->super_Object).input_file_" * (cast_expression "(byte *)&(pRVar2->super_Object).input_file_" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&(pRVar2->super_Object).input_file_" & (field_expression "(pRVar2->super_Object).input_file_" (parenthesized_expression "(pRVar2->super_Object)" ( (field_expression "pRVar2->super_Object" identifier -> field_identifier) )) . field_identifier)))) = (binary_expression "bVar1 | 5" identifier | number_literal)) ;) (expression_statement "*(undefined4 *)((int)&(pRVar2->super_Object).name_.field_2 + 0xc) = file_offset._4_4_;" (assignment_expression "*(undefined4 *)((int)&(pRVar2->super_Object).name_.field_2 + 0xc) = file_offset._4_4_" (pointer_expression "*(undefined4 *)((int)&(pRVar2->super_Object).name_.field_2 + 0xc)" * (cast_expression "(undefined4 *)((int)&(pRVar2->super_Object).name_.field_2 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&(pRVar2->super_Object).name_.field_2 + 0xc)" ( (binary_expression "(int)&(pRVar2->super_Object).name_.field_2 + 0xc" (cast_expression "(int)&(pRVar2->super_Object).name_.field_2" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&(pRVar2->super_Object).name_.field_2" & (field_expression "(pRVar2->super_Object).name_.field_2" (field_expression "(pRVar2->super_Object).name_" (parenthesized_expression "(pRVar2->super_Object)" ( (field_expression "pRVar2->super_Object" identifier -> field_identifier) )) . field_identifier) . field_identifier))) + number_literal) )))) = (field_expression "file_offset._4_4_" identifier . field_identifier)) ;) (if_statement "if ((bVar1 & 2) == 0) {\n      (*(pRVar2->super_Object)._vptr_Object[0xe])(pRVar2);\n      if (((uint)(pRVar2->super_Object).input_file_ & 2) == 0) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/output.h",0x163,"finalize_data_size");\n      }\n    }" if (parenthesized_expression "((bVar1 & 2) == 0)" ( (binary_expression "(bVar1 & 2) == 0" (parenthesized_expression "(bVar1 & 2)" ( (binary_expression "bVar1 & 2" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n      (*(pRVar2->super_Object)._vptr_Object[0xe])(pRVar2);\n      if (((uint)(pRVar2->super_Object).input_file_ & 2) == 0) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/output.h",0x163,"finalize_data_size");\n      }\n    }" { (expression_statement "(*(pRVar2->super_Object)._vptr_Object[0xe])(pRVar2);" (call_expression "(*(pRVar2->super_Object)._vptr_Object[0xe])(pRVar2)" (parenthesized_expression "(*(pRVar2->super_Object)._vptr_Object[0xe])" ( (pointer_expression "*(pRVar2->super_Object)._vptr_Object[0xe]" * (subscript_expression "(pRVar2->super_Object)._vptr_Object[0xe]" (field_expression "(pRVar2->super_Object)._vptr_Object" (parenthesized_expression "(pRVar2->super_Object)" ( (field_expression "pRVar2->super_Object" identifier -> field_identifier) )) . field_identifier) [ number_literal ])) )) (argument_list "(pRVar2)" ( identifier ))) ;) (if_statement "if (((uint)(pRVar2->super_Object).input_file_ & 2) == 0) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/output.h",0x163,"finalize_data_size");\n      }" if (parenthesized_expression "(((uint)(pRVar2->super_Object).input_file_ & 2) == 0)" ( (binary_expression "((uint)(pRVar2->super_Object).input_file_ & 2) == 0" (parenthesized_expression "((uint)(pRVar2->super_Object).input_file_ & 2)" ( (binary_expression "(uint)(pRVar2->super_Object).input_file_ & 2" (field_expression "(uint)(pRVar2->super_Object).input_file_" (call_expression "(uint)(pRVar2->super_Object)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(pRVar2->super_Object)" ( (field_expression "pRVar2->super_Object" identifier -> field_identifier) ))) . field_identifier) & number_literal) )) == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/output.h",0x163,"finalize_data_size");\n      }" { comment (expression_statement "do_gold_unreachable("../../gold/output.h",0x163,"finalize_data_size");" (call_expression "do_gold_unreachable("../../gold/output.h",0x163,"finalize_data_size")" identifier (argument_list "("../../gold/output.h",0x163,"finalize_data_size")" ( (string_literal ""../../gold/output.h"" " string_content ") , number_literal , (string_literal ""finalize_data_size"" " string_content ") ))) ;) })) })) (return_statement "return;" return ;) })) comment (expression_statement "do_gold_unreachable("../../gold/output.h",0x142,"set_address");" (call_expression "do_gold_unreachable("../../gold/output.h",0x142,"set_address")" identifier (argument_list "("../../gold/output.h",0x142,"set_address")" ( (string_literal ""../../gold/output.h"" " string_content ") , number_literal , (string_literal ""set_address"" " string_content ") ))) ;) })))
(translation_unit "void FUN_000edf70(int *param_1,int param_2,int param_3,int param_4,int param_5)\n\n{\n  byte bVar1;\n  int *piVar2;\n  undefined4 uVar3;\n  \n  piVar2 = (int *)param_1[4];\n  if (3 < *param_1 + 4U) {\n                    \n                    \n    (**(code **)(*piVar2 + 0xdc))();\n    return;\n  }\n  bVar1 = *(byte *)(piVar2 + 7);\n  if ((bVar1 & 1) == 0) {\n    piVar2[1] = param_2;\n    piVar2[2] = param_3;\n    *(byte *)(piVar2 + 7) = bVar1 | 1;\n    if ((bVar1 & 4) != 0) {\n                    \n      FUN_00069d00("../../gold/output.h",0x14b,"set_file_offset",param_5);\n    }\n    piVar2[5] = param_4;\n    *(byte *)(piVar2 + 7) = bVar1 | 5;\n    piVar2[6] = param_5;\n    if ((bVar1 & 2) == 0) {\n      uVar3 = (**(code **)(*piVar2 + 0x38))(piVar2);\n      if ((*(byte *)(piVar2 + 7) & 2) == 0) {\n                    \n        FUN_00069d00("../../gold/output.h",0x163,"finalize_data_size",uVar3);\n      }\n    }\n    return;\n  }\n                    \n  FUN_00069d00("../../gold/output.h",0x142,"set_address",bVar1);\n}\n\n" (function_definition "void FUN_000edf70(int *param_1,int param_2,int param_3,int param_4,int param_5)\n\n{\n  byte bVar1;\n  int *piVar2;\n  undefined4 uVar3;\n  \n  piVar2 = (int *)param_1[4];\n  if (3 < *param_1 + 4U) {\n                    \n                    \n    (**(code **)(*piVar2 + 0xdc))();\n    return;\n  }\n  bVar1 = *(byte *)(piVar2 + 7);\n  if ((bVar1 & 1) == 0) {\n    piVar2[1] = param_2;\n    piVar2[2] = param_3;\n    *(byte *)(piVar2 + 7) = bVar1 | 1;\n    if ((bVar1 & 4) != 0) {\n                    \n      FUN_00069d00("../../gold/output.h",0x14b,"set_file_offset",param_5);\n    }\n    piVar2[5] = param_4;\n    *(byte *)(piVar2 + 7) = bVar1 | 5;\n    piVar2[6] = param_5;\n    if ((bVar1 & 2) == 0) {\n      uVar3 = (**(code **)(*piVar2 + 0x38))(piVar2);\n      if ((*(byte *)(piVar2 + 7) & 2) == 0) {\n                    \n        FUN_00069d00("../../gold/output.h",0x163,"finalize_data_size",uVar3);\n      }\n    }\n    return;\n  }\n                    \n  FUN_00069d00("../../gold/output.h",0x142,"set_address",bVar1);\n}" primitive_type (function_declarator "FUN_000edf70(int *param_1,int param_2,int param_3,int param_4,int param_5)" identifier (parameter_list "(int *param_1,int param_2,int param_3,int param_4,int param_5)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "int param_4" primitive_type identifier) , (parameter_declaration "int param_5" primitive_type identifier) ))) (compound_statement "{\n  byte bVar1;\n  int *piVar2;\n  undefined4 uVar3;\n  \n  piVar2 = (int *)param_1[4];\n  if (3 < *param_1 + 4U) {\n                    \n                    \n    (**(code **)(*piVar2 + 0xdc))();\n    return;\n  }\n  bVar1 = *(byte *)(piVar2 + 7);\n  if ((bVar1 & 1) == 0) {\n    piVar2[1] = param_2;\n    piVar2[2] = param_3;\n    *(byte *)(piVar2 + 7) = bVar1 | 1;\n    if ((bVar1 & 4) != 0) {\n                    \n      FUN_00069d00("../../gold/output.h",0x14b,"set_file_offset",param_5);\n    }\n    piVar2[5] = param_4;\n    *(byte *)(piVar2 + 7) = bVar1 | 5;\n    piVar2[6] = param_5;\n    if ((bVar1 & 2) == 0) {\n      uVar3 = (**(code **)(*piVar2 + 0x38))(piVar2);\n      if ((*(byte *)(piVar2 + 7) & 2) == 0) {\n                    \n        FUN_00069d00("../../gold/output.h",0x163,"finalize_data_size",uVar3);\n      }\n    }\n    return;\n  }\n                    \n  FUN_00069d00("../../gold/output.h",0x142,"set_address",bVar1);\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (expression_statement "piVar2 = (int *)param_1[4];" (assignment_expression "piVar2 = (int *)param_1[4]" identifier = (cast_expression "(int *)param_1[4]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[4]" identifier [ number_literal ]))) ;) (if_statement "if (3 < *param_1 + 4U) {\n                    \n                    \n    (**(code **)(*piVar2 + 0xdc))();\n    return;\n  }" if (parenthesized_expression "(3 < *param_1 + 4U)" ( (binary_expression "3 < *param_1 + 4U" number_literal < (binary_expression "*param_1 + 4U" (pointer_expression "*param_1" * identifier) + number_literal)) )) (compound_statement "{\n                    \n                    \n    (**(code **)(*piVar2 + 0xdc))();\n    return;\n  }" { (expression_statement "(**(code **)(*piVar2 + 0xdc))();" (call_expression "(**(code **)(*piVar2 + 0xdc))()" (parenthesized_expression "(**(code **)(*piVar2 + 0xdc))" ( (pointer_expression "**(code **)(*piVar2 + 0xdc)" * (pointer_expression "*(code **)(*piVar2 + 0xdc)" * (cast_expression "(code **)(*piVar2 + 0xdc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar2 + 0xdc)" ( (binary_expression "*piVar2 + 0xdc" (pointer_expression "*piVar2" * identifier) + number_literal) ))))) )) (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (expression_statement "bVar1 = *(byte *)(piVar2 + 7);" (assignment_expression "bVar1 = *(byte *)(piVar2 + 7)" identifier = (pointer_expression "*(byte *)(piVar2 + 7)" * (cast_expression "(byte *)(piVar2 + 7)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar2 + 7)" ( (binary_expression "piVar2 + 7" identifier + number_literal) ))))) ;) (if_statement "if ((bVar1 & 1) == 0) {\n    piVar2[1] = param_2;\n    piVar2[2] = param_3;\n    *(byte *)(piVar2 + 7) = bVar1 | 1;\n    if ((bVar1 & 4) != 0) {\n                    \n      FUN_00069d00("../../gold/output.h",0x14b,"set_file_offset",param_5);\n    }\n    piVar2[5] = param_4;\n    *(byte *)(piVar2 + 7) = bVar1 | 5;\n    piVar2[6] = param_5;\n    if ((bVar1 & 2) == 0) {\n      uVar3 = (**(code **)(*piVar2 + 0x38))(piVar2);\n      if ((*(byte *)(piVar2 + 7) & 2) == 0) {\n                    \n        FUN_00069d00("../../gold/output.h",0x163,"finalize_data_size",uVar3);\n      }\n    }\n    return;\n  }" if (parenthesized_expression "((bVar1 & 1) == 0)" ( (binary_expression "(bVar1 & 1) == 0" (parenthesized_expression "(bVar1 & 1)" ( (binary_expression "bVar1 & 1" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n    piVar2[1] = param_2;\n    piVar2[2] = param_3;\n    *(byte *)(piVar2 + 7) = bVar1 | 1;\n    if ((bVar1 & 4) != 0) {\n                    \n      FUN_00069d00("../../gold/output.h",0x14b,"set_file_offset",param_5);\n    }\n    piVar2[5] = param_4;\n    *(byte *)(piVar2 + 7) = bVar1 | 5;\n    piVar2[6] = param_5;\n    if ((bVar1 & 2) == 0) {\n      uVar3 = (**(code **)(*piVar2 + 0x38))(piVar2);\n      if ((*(byte *)(piVar2 + 7) & 2) == 0) {\n                    \n        FUN_00069d00("../../gold/output.h",0x163,"finalize_data_size",uVar3);\n      }\n    }\n    return;\n  }" { (expression_statement "piVar2[1] = param_2;" (assignment_expression "piVar2[1] = param_2" (subscript_expression "piVar2[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar2[2] = param_3;" (assignment_expression "piVar2[2] = param_3" (subscript_expression "piVar2[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*(byte *)(piVar2 + 7) = bVar1 | 1;" (assignment_expression "*(byte *)(piVar2 + 7) = bVar1 | 1" (pointer_expression "*(byte *)(piVar2 + 7)" * (cast_expression "(byte *)(piVar2 + 7)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar2 + 7)" ( (binary_expression "piVar2 + 7" identifier + number_literal) )))) = (binary_expression "bVar1 | 1" identifier | number_literal)) ;) (if_statement "if ((bVar1 & 4) != 0) {\n                    \n      FUN_00069d00("../../gold/output.h",0x14b,"set_file_offset",param_5);\n    }" if (parenthesized_expression "((bVar1 & 4) != 0)" ( (binary_expression "(bVar1 & 4) != 0" (parenthesized_expression "(bVar1 & 4)" ( (binary_expression "bVar1 & 4" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n                    \n      FUN_00069d00("../../gold/output.h",0x14b,"set_file_offset",param_5);\n    }" { (expression_statement "FUN_00069d00("../../gold/output.h",0x14b,"set_file_offset",param_5);" (call_expression "FUN_00069d00("../../gold/output.h",0x14b,"set_file_offset",param_5)" identifier (argument_list "("../../gold/output.h",0x14b,"set_file_offset",param_5)" ( (string_literal ""../../gold/output.h"" " string_content ") , number_literal , (string_literal ""set_file_offset"" " string_content ") , identifier ))) ;) })) (expression_statement "piVar2[5] = param_4;" (assignment_expression "piVar2[5] = param_4" (subscript_expression "piVar2[5]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*(byte *)(piVar2 + 7) = bVar1 | 5;" (assignment_expression "*(byte *)(piVar2 + 7) = bVar1 | 5" (pointer_expression "*(byte *)(piVar2 + 7)" * (cast_expression "(byte *)(piVar2 + 7)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar2 + 7)" ( (binary_expression "piVar2 + 7" identifier + number_literal) )))) = (binary_expression "bVar1 | 5" identifier | number_literal)) ;) (expression_statement "piVar2[6] = param_5;" (assignment_expression "piVar2[6] = param_5" (subscript_expression "piVar2[6]" identifier [ number_literal ]) = identifier) ;) (if_statement "if ((bVar1 & 2) == 0) {\n      uVar3 = (**(code **)(*piVar2 + 0x38))(piVar2);\n      if ((*(byte *)(piVar2 + 7) & 2) == 0) {\n                    \n        FUN_00069d00("../../gold/output.h",0x163,"finalize_data_size",uVar3);\n      }\n    }" if (parenthesized_expression "((bVar1 & 2) == 0)" ( (binary_expression "(bVar1 & 2) == 0" (parenthesized_expression "(bVar1 & 2)" ( (binary_expression "bVar1 & 2" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n      uVar3 = (**(code **)(*piVar2 + 0x38))(piVar2);\n      if ((*(byte *)(piVar2 + 7) & 2) == 0) {\n                    \n        FUN_00069d00("../../gold/output.h",0x163,"finalize_data_size",uVar3);\n      }\n    }" { (expression_statement "uVar3 = (**(code **)(*piVar2 + 0x38))(piVar2);" (assignment_expression "uVar3 = (**(code **)(*piVar2 + 0x38))(piVar2)" identifier = (call_expression "(**(code **)(*piVar2 + 0x38))(piVar2)" (parenthesized_expression "(**(code **)(*piVar2 + 0x38))" ( (pointer_expression "**(code **)(*piVar2 + 0x38)" * (pointer_expression "*(code **)(*piVar2 + 0x38)" * (cast_expression "(code **)(*piVar2 + 0x38)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar2 + 0x38)" ( (binary_expression "*piVar2 + 0x38" (pointer_expression "*piVar2" * identifier) + number_literal) ))))) )) (argument_list "(piVar2)" ( identifier )))) ;) (if_statement "if ((*(byte *)(piVar2 + 7) & 2) == 0) {\n                    \n        FUN_00069d00("../../gold/output.h",0x163,"finalize_data_size",uVar3);\n      }" if (parenthesized_expression "((*(byte *)(piVar2 + 7) & 2) == 0)" ( (binary_expression "(*(byte *)(piVar2 + 7) & 2) == 0" (parenthesized_expression "(*(byte *)(piVar2 + 7) & 2)" ( (binary_expression "*(byte *)(piVar2 + 7) & 2" (pointer_expression "*(byte *)(piVar2 + 7)" * (cast_expression "(byte *)(piVar2 + 7)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar2 + 7)" ( (binary_expression "piVar2 + 7" identifier + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n                    \n        FUN_00069d00("../../gold/output.h",0x163,"finalize_data_size",uVar3);\n      }" { (expression_statement "FUN_00069d00("../../gold/output.h",0x163,"finalize_data_size",uVar3);" (call_expression "FUN_00069d00("../../gold/output.h",0x163,"finalize_data_size",uVar3)" identifier (argument_list "("../../gold/output.h",0x163,"finalize_data_size",uVar3)" ( (string_literal ""../../gold/output.h"" " string_content ") , number_literal , (string_literal ""finalize_data_size"" " string_content ") , identifier ))) ;) })) })) (return_statement "return;" return ;) })) (expression_statement "FUN_00069d00("../../gold/output.h",0x142,"set_address",bVar1);" (call_expression "FUN_00069d00("../../gold/output.h",0x142,"set_address",bVar1)" identifier (argument_list "("../../gold/output.h",0x142,"set_address",bVar1)" ( (string_literal ""../../gold/output.h"" " string_content ") , number_literal , (string_literal ""set_address"" " string_content ") , identifier ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < (binary_expression (pointer_expression * IDENT) + LIT)) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) )) (argument_list ( ))) ;) (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression IDENT | LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , IDENT ))) ;) })) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression IDENT | LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) )) (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) )) == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , IDENT ))) ;) })) })) (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , IDENT ))) ;) })))
(function_definition "void FUN_000edf70(int *param_1,int param_2,int param_3,int param_4,int param_5)\n\n{\n  byte bVar1;\n  int *piVar2;\n  undefined4 uVar3;\n  \n  piVar2 = (int *)param_1[4];\n  if (3 < *param_1 + 4U) {\n                    \n                    \n    (**(code **)(*piVar2 + 0xdc))();\n    return;\n  }\n  bVar1 = *(byte *)(piVar2 + 7);\n  if ((bVar1 & 1) == 0) {\n    piVar2[1] = param_2;\n    piVar2[2] = param_3;\n    *(byte *)(piVar2 + 7) = bVar1 | 1;\n    if ((bVar1 & 4) != 0) {\n                    \n      FUN_00069d00("../../gold/output.h",0x14b,"set_file_offset",param_5);\n    }\n    piVar2[5] = param_4;\n    *(byte *)(piVar2 + 7) = bVar1 | 5;\n    piVar2[6] = param_5;\n    if ((bVar1 & 2) == 0) {\n      uVar3 = (**(code **)(*piVar2 + 0x38))(piVar2);\n      if ((*(byte *)(piVar2 + 7) & 2) == 0) {\n                    \n        FUN_00069d00("../../gold/output.h",0x163,"finalize_data_size",uVar3);\n      }\n    }\n    return;\n  }\n                    \n  FUN_00069d00("../../gold/output.h",0x142,"set_address",bVar1);\n}" (primitive_type "void") (function_declarator "FUN_000edf70(int *param_1,int param_2,int param_3,int param_4,int param_5)" (identifier "FUN_000edf70") (parameter_list "(int *param_1,int param_2,int param_3,int param_4,int param_5)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) (, ",") (parameter_declaration "int param_4" (primitive_type "int") (identifier "param_4")) (, ",") (parameter_declaration "int param_5" (primitive_type "int") (identifier "param_5")) () ")"))) (compound_statement "{\n  byte bVar1;\n  int *piVar2;\n  undefined4 uVar3;\n  \n  piVar2 = (int *)param_1[4];\n  if (3 < *param_1 + 4U) {\n                    \n                    \n    (**(code **)(*piVar2 + 0xdc))();\n    return;\n  }\n  bVar1 = *(byte *)(piVar2 + 7);\n  if ((bVar1 & 1) == 0) {\n    piVar2[1] = param_2;\n    piVar2[2] = param_3;\n    *(byte *)(piVar2 + 7) = bVar1 | 1;\n    if ((bVar1 & 4) != 0) {\n                    \n      FUN_00069d00("../../gold/output.h",0x14b,"set_file_offset",param_5);\n    }\n    piVar2[5] = param_4;\n    *(byte *)(piVar2 + 7) = bVar1 | 5;\n    piVar2[6] = param_5;\n    if ((bVar1 & 2) == 0) {\n      uVar3 = (**(code **)(*piVar2 + 0x38))(piVar2);\n      if ((*(byte *)(piVar2 + 7) & 2) == 0) {\n                    \n        FUN_00069d00("../../gold/output.h",0x163,"finalize_data_size",uVar3);\n      }\n    }\n    return;\n  }\n                    \n  FUN_00069d00("../../gold/output.h",0x142,"set_address",bVar1);\n}" ({ "{") (declaration "byte bVar1;" (type_identifier "byte") (identifier "bVar1") (; ";")) (declaration "int *piVar2;" (primitive_type "int") (pointer_declarator "*piVar2" (* "*") (identifier "piVar2")) (; ";")) (declaration "undefined4 uVar3;" (type_identifier "undefined4") (identifier "uVar3") (; ";")) (expression_statement "piVar2 = (int *)param_1[4];" (assignment_expression "piVar2 = (int *)param_1[4]" (identifier "piVar2") (= "=") (cast_expression "(int *)param_1[4]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[4]" (identifier "param_1") ([ "[") (number_literal "4") (] "]")))) (; ";")) (if_statement "if (3 < *param_1 + 4U) {\n                    \n                    \n    (**(code **)(*piVar2 + 0xdc))();\n    return;\n  }" (if "if") (parenthesized_expression "(3 < *param_1 + 4U)" (( "(") (binary_expression "3 < *param_1 + 4U" (number_literal "3") (< "<") (binary_expression "*param_1 + 4U" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "4U"))) () ")")) (compound_statement "{\n                    \n                    \n    (**(code **)(*piVar2 + 0xdc))();\n    return;\n  }" ({ "{") (expression_statement "(**(code **)(*piVar2 + 0xdc))();" (call_expression "(**(code **)(*piVar2 + 0xdc))()" (parenthesized_expression "(**(code **)(*piVar2 + 0xdc))" (( "(") (pointer_expression "**(code **)(*piVar2 + 0xdc)" (* "*") (pointer_expression "*(code **)(*piVar2 + 0xdc)" (* "*") (cast_expression "(code **)(*piVar2 + 0xdc)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*piVar2 + 0xdc)" (( "(") (binary_expression "*piVar2 + 0xdc" (pointer_expression "*piVar2" (* "*") (identifier "piVar2")) (+ "+") (number_literal "0xdc")) () ")"))))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "bVar1 = *(byte *)(piVar2 + 7);" (assignment_expression "bVar1 = *(byte *)(piVar2 + 7)" (identifier "bVar1") (= "=") (pointer_expression "*(byte *)(piVar2 + 7)" (* "*") (cast_expression "(byte *)(piVar2 + 7)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(piVar2 + 7)" (( "(") (binary_expression "piVar2 + 7" (identifier "piVar2") (+ "+") (number_literal "7")) () ")"))))) (; ";")) (if_statement "if ((bVar1 & 1) == 0) {\n    piVar2[1] = param_2;\n    piVar2[2] = param_3;\n    *(byte *)(piVar2 + 7) = bVar1 | 1;\n    if ((bVar1 & 4) != 0) {\n                    \n      FUN_00069d00("../../gold/output.h",0x14b,"set_file_offset",param_5);\n    }\n    piVar2[5] = param_4;\n    *(byte *)(piVar2 + 7) = bVar1 | 5;\n    piVar2[6] = param_5;\n    if ((bVar1 & 2) == 0) {\n      uVar3 = (**(code **)(*piVar2 + 0x38))(piVar2);\n      if ((*(byte *)(piVar2 + 7) & 2) == 0) {\n                    \n        FUN_00069d00("../../gold/output.h",0x163,"finalize_data_size",uVar3);\n      }\n    }\n    return;\n  }" (if "if") (parenthesized_expression "((bVar1 & 1) == 0)" (( "(") (binary_expression "(bVar1 & 1) == 0" (parenthesized_expression "(bVar1 & 1)" (( "(") (binary_expression "bVar1 & 1" (identifier "bVar1") (& "&") (number_literal "1")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    piVar2[1] = param_2;\n    piVar2[2] = param_3;\n    *(byte *)(piVar2 + 7) = bVar1 | 1;\n    if ((bVar1 & 4) != 0) {\n                    \n      FUN_00069d00("../../gold/output.h",0x14b,"set_file_offset",param_5);\n    }\n    piVar2[5] = param_4;\n    *(byte *)(piVar2 + 7) = bVar1 | 5;\n    piVar2[6] = param_5;\n    if ((bVar1 & 2) == 0) {\n      uVar3 = (**(code **)(*piVar2 + 0x38))(piVar2);\n      if ((*(byte *)(piVar2 + 7) & 2) == 0) {\n                    \n        FUN_00069d00("../../gold/output.h",0x163,"finalize_data_size",uVar3);\n      }\n    }\n    return;\n  }" ({ "{") (expression_statement "piVar2[1] = param_2;" (assignment_expression "piVar2[1] = param_2" (subscript_expression "piVar2[1]" (identifier "piVar2") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "param_2")) (; ";")) (expression_statement "piVar2[2] = param_3;" (assignment_expression "piVar2[2] = param_3" (subscript_expression "piVar2[2]" (identifier "piVar2") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "param_3")) (; ";")) (expression_statement "*(byte *)(piVar2 + 7) = bVar1 | 1;" (assignment_expression "*(byte *)(piVar2 + 7) = bVar1 | 1" (pointer_expression "*(byte *)(piVar2 + 7)" (* "*") (cast_expression "(byte *)(piVar2 + 7)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(piVar2 + 7)" (( "(") (binary_expression "piVar2 + 7" (identifier "piVar2") (+ "+") (number_literal "7")) () ")")))) (= "=") (binary_expression "bVar1 | 1" (identifier "bVar1") (| "|") (number_literal "1"))) (; ";")) (if_statement "if ((bVar1 & 4) != 0) {\n                    \n      FUN_00069d00("../../gold/output.h",0x14b,"set_file_offset",param_5);\n    }" (if "if") (parenthesized_expression "((bVar1 & 4) != 0)" (( "(") (binary_expression "(bVar1 & 4) != 0" (parenthesized_expression "(bVar1 & 4)" (( "(") (binary_expression "bVar1 & 4" (identifier "bVar1") (& "&") (number_literal "4")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                    \n      FUN_00069d00("../../gold/output.h",0x14b,"set_file_offset",param_5);\n    }" ({ "{") (expression_statement "FUN_00069d00("../../gold/output.h",0x14b,"set_file_offset",param_5);" (call_expression "FUN_00069d00("../../gold/output.h",0x14b,"set_file_offset",param_5)" (identifier "FUN_00069d00") (argument_list "("../../gold/output.h",0x14b,"set_file_offset",param_5)" (( "(") (string_literal ""../../gold/output.h"" (" """) (string_content "../../gold/output.h") (" """)) (, ",") (number_literal "0x14b") (, ",") (string_literal ""set_file_offset"" (" """) (string_content "set_file_offset") (" """)) (, ",") (identifier "param_5") () ")"))) (; ";")) (} "}"))) (expression_statement "piVar2[5] = param_4;" (assignment_expression "piVar2[5] = param_4" (subscript_expression "piVar2[5]" (identifier "piVar2") ([ "[") (number_literal "5") (] "]")) (= "=") (identifier "param_4")) (; ";")) (expression_statement "*(byte *)(piVar2 + 7) = bVar1 | 5;" (assignment_expression "*(byte *)(piVar2 + 7) = bVar1 | 5" (pointer_expression "*(byte *)(piVar2 + 7)" (* "*") (cast_expression "(byte *)(piVar2 + 7)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(piVar2 + 7)" (( "(") (binary_expression "piVar2 + 7" (identifier "piVar2") (+ "+") (number_literal "7")) () ")")))) (= "=") (binary_expression "bVar1 | 5" (identifier "bVar1") (| "|") (number_literal "5"))) (; ";")) (expression_statement "piVar2[6] = param_5;" (assignment_expression "piVar2[6] = param_5" (subscript_expression "piVar2[6]" (identifier "piVar2") ([ "[") (number_literal "6") (] "]")) (= "=") (identifier "param_5")) (; ";")) (if_statement "if ((bVar1 & 2) == 0) {\n      uVar3 = (**(code **)(*piVar2 + 0x38))(piVar2);\n      if ((*(byte *)(piVar2 + 7) & 2) == 0) {\n                    \n        FUN_00069d00("../../gold/output.h",0x163,"finalize_data_size",uVar3);\n      }\n    }" (if "if") (parenthesized_expression "((bVar1 & 2) == 0)" (( "(") (binary_expression "(bVar1 & 2) == 0" (parenthesized_expression "(bVar1 & 2)" (( "(") (binary_expression "bVar1 & 2" (identifier "bVar1") (& "&") (number_literal "2")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      uVar3 = (**(code **)(*piVar2 + 0x38))(piVar2);\n      if ((*(byte *)(piVar2 + 7) & 2) == 0) {\n                    \n        FUN_00069d00("../../gold/output.h",0x163,"finalize_data_size",uVar3);\n      }\n    }" ({ "{") (expression_statement "uVar3 = (**(code **)(*piVar2 + 0x38))(piVar2);" (assignment_expression "uVar3 = (**(code **)(*piVar2 + 0x38))(piVar2)" (identifier "uVar3") (= "=") (call_expression "(**(code **)(*piVar2 + 0x38))(piVar2)" (parenthesized_expression "(**(code **)(*piVar2 + 0x38))" (( "(") (pointer_expression "**(code **)(*piVar2 + 0x38)" (* "*") (pointer_expression "*(code **)(*piVar2 + 0x38)" (* "*") (cast_expression "(code **)(*piVar2 + 0x38)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*piVar2 + 0x38)" (( "(") (binary_expression "*piVar2 + 0x38" (pointer_expression "*piVar2" (* "*") (identifier "piVar2")) (+ "+") (number_literal "0x38")) () ")"))))) () ")")) (argument_list "(piVar2)" (( "(") (identifier "piVar2") () ")")))) (; ";")) (if_statement "if ((*(byte *)(piVar2 + 7) & 2) == 0) {\n                    \n        FUN_00069d00("../../gold/output.h",0x163,"finalize_data_size",uVar3);\n      }" (if "if") (parenthesized_expression "((*(byte *)(piVar2 + 7) & 2) == 0)" (( "(") (binary_expression "(*(byte *)(piVar2 + 7) & 2) == 0" (parenthesized_expression "(*(byte *)(piVar2 + 7) & 2)" (( "(") (binary_expression "*(byte *)(piVar2 + 7) & 2" (pointer_expression "*(byte *)(piVar2 + 7)" (* "*") (cast_expression "(byte *)(piVar2 + 7)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(piVar2 + 7)" (( "(") (binary_expression "piVar2 + 7" (identifier "piVar2") (+ "+") (number_literal "7")) () ")")))) (& "&") (number_literal "2")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                    \n        FUN_00069d00("../../gold/output.h",0x163,"finalize_data_size",uVar3);\n      }" ({ "{") (expression_statement "FUN_00069d00("../../gold/output.h",0x163,"finalize_data_size",uVar3);" (call_expression "FUN_00069d00("../../gold/output.h",0x163,"finalize_data_size",uVar3)" (identifier "FUN_00069d00") (argument_list "("../../gold/output.h",0x163,"finalize_data_size",uVar3)" (( "(") (string_literal ""../../gold/output.h"" (" """) (string_content "../../gold/output.h") (" """)) (, ",") (number_literal "0x163") (, ",") (string_literal ""finalize_data_size"" (" """) (string_content "finalize_data_size") (" """)) (, ",") (identifier "uVar3") () ")"))) (; ";")) (} "}"))) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "FUN_00069d00("../../gold/output.h",0x142,"set_address",bVar1);" (call_expression "FUN_00069d00("../../gold/output.h",0x142,"set_address",bVar1)" (identifier "FUN_00069d00") (argument_list "("../../gold/output.h",0x142,"set_address",bVar1)" (( "(") (string_literal ""../../gold/output.h"" (" """) (string_content "../../gold/output.h") (" """)) (, ",") (number_literal "0x142") (, ",") (string_literal ""set_address"" (" """) (string_content "set_address") (" """)) (, ",") (identifier "bVar1") () ")"))) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */
/* DWARF original prototype: void set_address_and_file_offset(Input_section * this, uint64_t
   address, off_t file_offset, off_t section_file_offset) */

void __thiscall
gold::Output_section::type_1::function_1
          (type_1 *this,uint64_t address,type_2 file_offset,type_2 section_file_offset)

{
  type_3 var_1;
  type_4 *pRVar2;
  
  pRVar2 = (this->u2_).object;
  if (3 < this->shndx_ + 4) {
                    /* WARNING: Could not recover jumptable at 0x000edfdb. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    (*(pRVar2->super_Object)._vptr_Object[0x37])();
    return;
  }
  var_1 = *(type_3 *)&(pRVar2->super_Object).input_file_;
  if ((var_1 & 1) == 0) {
    (pRVar2->super_Object).name_._M_dataplus = (type_5)(type_6)address;
    (pRVar2->super_Object).name_._M_string_length = address._4_4_;
    *(type_3 *)&(pRVar2->super_Object).input_file_ = var_1 | 1;
    if ((var_1 & 4) != 0) {
                    /* WARNING: Subroutine does not return */
      var_2("../../gold/output.h",0x14b,"set_file_offset");
    }
    *(type_6 *)((int)&(pRVar2->super_Object).name_.field_2 + 8) = (type_6)file_offset;
    *(type_3 *)&(pRVar2->super_Object).input_file_ = var_1 | 5;
    *(type_6 *)((int)&(pRVar2->super_Object).name_.field_2 + 0xc) = file_offset._4_4_;
    if ((var_1 & 2) == 0) {
      (*(pRVar2->super_Object)._vptr_Object[0xe])(pRVar2);
      if (((uint)(pRVar2->super_Object).input_file_ & 2) == 0) {
                    /* WARNING: Subroutine does not return */
        var_2("../../gold/output.h",0x163,"finalize_data_size");
      }
    }
    return;
  }
                    /* WARNING: Subroutine does not return */
  var_2("../../gold/output.h",0x142,"set_address");
}


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

/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */

void MASKED(int *param_1,int param_2,int param_3,int param_4,int param_5)

{
  byte bVar1;
  int *piVar2;
  undefined4 uVar3;
  
  piVar2 = (int *)param_1[4];
  if (3 < *param_1 + 4U) {
                    /* WARNING: Could not recover jumptable at 0x000edfdb. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    (**(code **)(*piVar2 + 0xdc))();
    return;
  }
  bVar1 = *(byte *)(piVar2 + 7);
  if ((bVar1 & 1) == 0) {
    piVar2[1] = param_2;
    piVar2[2] = param_3;
    *(byte *)(piVar2 + 7) = bVar1 | 1;
    if ((bVar1 & 4) != 0) {
                    /* WARNING: Subroutine does not return */
      FUN_00069d00("../../gold/output.h",0x14b,"set_file_offset",param_5);
    }
    piVar2[5] = param_4;
    *(byte *)(piVar2 + 7) = bVar1 | 5;
    piVar2[6] = param_5;
    if ((bVar1 & 2) == 0) {
      uVar3 = (**(code **)(*piVar2 + 0x38))(piVar2);
      if ((*(byte *)(piVar2 + 7) & 2) == 0) {
                    /* WARNING: Subroutine does not return */
        FUN_00069d00("../../gold/output.h",0x163,"finalize_data_size",uVar3);
      }
    }
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_00069d00("../../gold/output.h",0x142,"set_address",bVar1);
}

