
/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */
/* DWARF original prototype: void set_addralign(Output_section_data * this, uint64_t addralign) */

void __thiscall
gold::Output_section_data::set_addralign(Output_section_data *this,uint64_t addralign)

{
  Output_section *pOVar1;
  _func_int_varargs *p_Var2;
  uint uVar3;
  uint uVar4;
  uint extraout_EDX;
  
  pOVar1 = this->output_section_;
  this->addralign_ = addralign;
  if (pOVar1 != (Output_section *)0x0) {
    p_Var2 = (pOVar1->super_Output_data)._vptr_Output_data[3];
    if (p_Var2 == Output_section::do_addralign) {
      uVar3 = (uint)pOVar1->addralign_;
      uVar4 = *(uint *)((int)&pOVar1->addralign_ + 4);
    }
    else {
      uVar3 = (*p_Var2)(pOVar1);
      uVar4 = extraout_EDX;
    }
    if (uVar4 < addralign._4_4_ || uVar4 - addralign._4_4_ < (uint)(uVar3 < (uint)addralign)) {
      this->output_section_->addralign_ = addralign;
    }
  }
  return;
}



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

void FUN_000ba910(int param_1,uint param_2,uint param_3)

{
  int *piVar1;
  int iVar2;
  uint uVar3;
  undefined8 uVar4;
  
  piVar1 = *(int **)(param_1 + 0x20);
  *(uint *)(param_1 + 0x24) = param_2;
  *(uint *)(param_1 + 0x28) = param_3;
  if (piVar1 != (int *)0x0) {
    if (*(code **)(*piVar1 + 0xc) == FUN_00088ee0) {
      uVar4 = *(undefined8 *)(piVar1 + 9);
    }
    else {
      uVar4 = (**(code **)(*piVar1 + 0xc))(piVar1);
    }
    uVar3 = (uint)((ulonglong)uVar4 >> 0x20);
    if (uVar3 < param_3 || uVar3 - param_3 < (uint)((uint)uVar4 < param_2)) {
      iVar2 = *(int *)(param_1 + 0x20);
      *(uint *)(iVar2 + 0x24) = param_2;
      *(uint *)(iVar2 + 0x28) = param_3;
    }
  }
  return;
}


CALL 0x0004fb76
ADD EAX,0x2476eb
PUSH EDI
PUSH ESI
PUSH EBX
MOV EBX,dword ptr [ESP + 0x10]
MOV EDI,dword ptr [ESP + 0x14]
MOV ESI,dword ptr [ESP + 0x18]
MOV EDX,dword ptr [EBX + 0x20]
MOV dword ptr [EBX + 0x24],EDI
MOV dword ptr [EBX + 0x28],ESI
TEST EDX,EDX
JZ 0x000ba95a
MOV ECX,dword ptr [EDX]
LEA EAX,[EAX + 0xffd86ee0]
MOV ECX,dword ptr [ECX + 0xc]
CMP ECX,EAX
JNZ 0x000ba960
MOV EAX,dword ptr [EDX + 0x24]
MOV EDX,dword ptr [EDX + 0x28]
CMP EAX,EDI
SBB EDX,ESI
JNC 0x000ba95a
MOV EAX,dword ptr [EBX + 0x20]
MOV dword ptr [EAX + 0x24],EDI
MOV dword ptr [EAX + 0x28],ESI
POP EBX
POP ESI
POP EDI
RET
SUB ESP,0xc
PUSH EDX
CALL ECX
ADD ESP,0x10
JMP 0x000ba94b
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */\n\nvoid FUN_000ba910(int param_1,uint param_2,uint param_3)\n\n{\n  int *piVar1;\n  int iVar2;\n  uint uVar3;\n  undefined8 uVar4;\n  \n  piVar1 = *(int **)(param_1 + 0x20);\n  *(uint *)(param_1 + 0x24) = param_2;\n  *(uint *)(param_1 + 0x28) = param_3;\n  if (piVar1 != (int *)0x0) {\n    if (*(code **)(*piVar1 + 0xc) == FUN_00088ee0) {\n      uVar4 = *(undefined8 *)(piVar1 + 9);\n    }\n    else {\n      uVar4 = (**(code **)(*piVar1 + 0xc))(piVar1);\n    }\n    uVar3 = (uint)((ulonglong)uVar4 >> 0x20);\n    if (uVar3 < param_3 || uVar3 - param_3 < (uint)((uint)uVar4 < param_2)) {\n      iVar2 = *(int *)(param_1 + 0x20);\n      *(uint *)(iVar2 + 0x24) = param_2;\n      *(uint *)(iVar2 + 0x28) = param_3;\n    }\n  }\n  return;\n}\n\n" comment (function_definition "void FUN_000ba910(int param_1,uint param_2,uint param_3)\n\n{\n  int *piVar1;\n  int iVar2;\n  uint uVar3;\n  undefined8 uVar4;\n  \n  piVar1 = *(int **)(param_1 + 0x20);\n  *(uint *)(param_1 + 0x24) = param_2;\n  *(uint *)(param_1 + 0x28) = param_3;\n  if (piVar1 != (int *)0x0) {\n    if (*(code **)(*piVar1 + 0xc) == FUN_00088ee0) {\n      uVar4 = *(undefined8 *)(piVar1 + 9);\n    }\n    else {\n      uVar4 = (**(code **)(*piVar1 + 0xc))(piVar1);\n    }\n    uVar3 = (uint)((ulonglong)uVar4 >> 0x20);\n    if (uVar3 < param_3 || uVar3 - param_3 < (uint)((uint)uVar4 < param_2)) {\n      iVar2 = *(int *)(param_1 + 0x20);\n      *(uint *)(iVar2 + 0x24) = param_2;\n      *(uint *)(iVar2 + 0x28) = param_3;\n    }\n  }\n  return;\n}" primitive_type (function_declarator "FUN_000ba910(int param_1,uint param_2,uint param_3)" identifier (parameter_list "(int param_1,uint param_2,uint param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "uint param_2" type_identifier identifier) , (parameter_declaration "uint param_3" type_identifier identifier) ))) (compound_statement "{\n  int *piVar1;\n  int iVar2;\n  uint uVar3;\n  undefined8 uVar4;\n  \n  piVar1 = *(int **)(param_1 + 0x20);\n  *(uint *)(param_1 + 0x24) = param_2;\n  *(uint *)(param_1 + 0x28) = param_3;\n  if (piVar1 != (int *)0x0) {\n    if (*(code **)(*piVar1 + 0xc) == FUN_00088ee0) {\n      uVar4 = *(undefined8 *)(piVar1 + 9);\n    }\n    else {\n      uVar4 = (**(code **)(*piVar1 + 0xc))(piVar1);\n    }\n    uVar3 = (uint)((ulonglong)uVar4 >> 0x20);\n    if (uVar3 < param_3 || uVar3 - param_3 < (uint)((uint)uVar4 < param_2)) {\n      iVar2 = *(int *)(param_1 + 0x20);\n      *(uint *)(iVar2 + 0x24) = param_2;\n      *(uint *)(iVar2 + 0x28) = param_3;\n    }\n  }\n  return;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "undefined8 uVar4;" type_identifier identifier ;) (expression_statement "piVar1 = *(int **)(param_1 + 0x20);" (assignment_expression "piVar1 = *(int **)(param_1 + 0x20)" identifier = (pointer_expression "*(int **)(param_1 + 0x20)" * (cast_expression "(int **)(param_1 + 0x20)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) ))))) ;) (expression_statement "*(uint *)(param_1 + 0x24) = param_2;" (assignment_expression "*(uint *)(param_1 + 0x24) = param_2" (pointer_expression "*(uint *)(param_1 + 0x24)" * (cast_expression "(uint *)(param_1 + 0x24)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x24)" ( (binary_expression "param_1 + 0x24" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(uint *)(param_1 + 0x28) = param_3;" (assignment_expression "*(uint *)(param_1 + 0x28) = param_3" (pointer_expression "*(uint *)(param_1 + 0x28)" * (cast_expression "(uint *)(param_1 + 0x28)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x28)" ( (binary_expression "param_1 + 0x28" identifier + number_literal) )))) = identifier) ;) (if_statement "if (piVar1 != (int *)0x0) {\n    if (*(code **)(*piVar1 + 0xc) == FUN_00088ee0) {\n      uVar4 = *(undefined8 *)(piVar1 + 9);\n    }\n    else {\n      uVar4 = (**(code **)(*piVar1 + 0xc))(piVar1);\n    }\n    uVar3 = (uint)((ulonglong)uVar4 >> 0x20);\n    if (uVar3 < param_3 || uVar3 - param_3 < (uint)((uint)uVar4 < param_2)) {\n      iVar2 = *(int *)(param_1 + 0x20);\n      *(uint *)(iVar2 + 0x24) = param_2;\n      *(uint *)(iVar2 + 0x28) = param_3;\n    }\n  }" if (parenthesized_expression "(piVar1 != (int *)0x0)" ( (binary_expression "piVar1 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    if (*(code **)(*piVar1 + 0xc) == FUN_00088ee0) {\n      uVar4 = *(undefined8 *)(piVar1 + 9);\n    }\n    else {\n      uVar4 = (**(code **)(*piVar1 + 0xc))(piVar1);\n    }\n    uVar3 = (uint)((ulonglong)uVar4 >> 0x20);\n    if (uVar3 < param_3 || uVar3 - param_3 < (uint)((uint)uVar4 < param_2)) {\n      iVar2 = *(int *)(param_1 + 0x20);\n      *(uint *)(iVar2 + 0x24) = param_2;\n      *(uint *)(iVar2 + 0x28) = param_3;\n    }\n  }" { (if_statement "if (*(code **)(*piVar1 + 0xc) == FUN_00088ee0) {\n      uVar4 = *(undefined8 *)(piVar1 + 9);\n    }\n    else {\n      uVar4 = (**(code **)(*piVar1 + 0xc))(piVar1);\n    }" if (parenthesized_expression "(*(code **)(*piVar1 + 0xc) == FUN_00088ee0)" ( (binary_expression "*(code **)(*piVar1 + 0xc) == FUN_00088ee0" (pointer_expression "*(code **)(*piVar1 + 0xc)" * (cast_expression "(code **)(*piVar1 + 0xc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar1 + 0xc)" ( (binary_expression "*piVar1 + 0xc" (pointer_expression "*piVar1" * identifier) + number_literal) )))) == identifier) )) (compound_statement "{\n      uVar4 = *(undefined8 *)(piVar1 + 9);\n    }" { (expression_statement "uVar4 = *(undefined8 *)(piVar1 + 9);" (assignment_expression "uVar4 = *(undefined8 *)(piVar1 + 9)" identifier = (pointer_expression "*(undefined8 *)(piVar1 + 9)" * (cast_expression "(undefined8 *)(piVar1 + 9)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar1 + 9)" ( (binary_expression "piVar1 + 9" identifier + number_literal) ))))) ;) }) (else_clause "else {\n      uVar4 = (**(code **)(*piVar1 + 0xc))(piVar1);\n    }" else (compound_statement "{\n      uVar4 = (**(code **)(*piVar1 + 0xc))(piVar1);\n    }" { (expression_statement "uVar4 = (**(code **)(*piVar1 + 0xc))(piVar1);" (assignment_expression "uVar4 = (**(code **)(*piVar1 + 0xc))(piVar1)" identifier = (call_expression "(**(code **)(*piVar1 + 0xc))(piVar1)" (parenthesized_expression "(**(code **)(*piVar1 + 0xc))" ( (pointer_expression "**(code **)(*piVar1 + 0xc)" * (pointer_expression "*(code **)(*piVar1 + 0xc)" * (cast_expression "(code **)(*piVar1 + 0xc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar1 + 0xc)" ( (binary_expression "*piVar1 + 0xc" (pointer_expression "*piVar1" * identifier) + number_literal) ))))) )) (argument_list "(piVar1)" ( identifier )))) ;) }))) (expression_statement "uVar3 = (uint)((ulonglong)uVar4 >> 0x20);" (assignment_expression "uVar3 = (uint)((ulonglong)uVar4 >> 0x20)" identifier = (call_expression "(uint)((ulonglong)uVar4 >> 0x20)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((ulonglong)uVar4 >> 0x20)" ( (binary_expression "(ulonglong)uVar4 >> 0x20" (cast_expression "(ulonglong)uVar4" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (if_statement "if (uVar3 < param_3 || uVar3 - param_3 < (uint)((uint)uVar4 < param_2)) {\n      iVar2 = *(int *)(param_1 + 0x20);\n      *(uint *)(iVar2 + 0x24) = param_2;\n      *(uint *)(iVar2 + 0x28) = param_3;\n    }" if (parenthesized_expression "(uVar3 < param_3 || uVar3 - param_3 < (uint)((uint)uVar4 < param_2))" ( (binary_expression "uVar3 < param_3 || uVar3 - param_3 < (uint)((uint)uVar4 < param_2)" (binary_expression "uVar3 < param_3" identifier < identifier) || (binary_expression "uVar3 - param_3 < (uint)((uint)uVar4 < param_2)" (binary_expression "uVar3 - param_3" identifier - identifier) < (call_expression "(uint)((uint)uVar4 < param_2)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((uint)uVar4 < param_2)" ( (binary_expression "(uint)uVar4 < param_2" (cast_expression "(uint)uVar4" ( (type_descriptor "uint" type_identifier) ) identifier) < identifier) ))))) )) (compound_statement "{\n      iVar2 = *(int *)(param_1 + 0x20);\n      *(uint *)(iVar2 + 0x24) = param_2;\n      *(uint *)(iVar2 + 0x28) = param_3;\n    }" { (expression_statement "iVar2 = *(int *)(param_1 + 0x20);" (assignment_expression "iVar2 = *(int *)(param_1 + 0x20)" identifier = (pointer_expression "*(int *)(param_1 + 0x20)" * (cast_expression "(int *)(param_1 + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) ))))) ;) (expression_statement "*(uint *)(iVar2 + 0x24) = param_2;" (assignment_expression "*(uint *)(iVar2 + 0x24) = param_2" (pointer_expression "*(uint *)(iVar2 + 0x24)" * (cast_expression "(uint *)(iVar2 + 0x24)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x24)" ( (binary_expression "iVar2 + 0x24" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(uint *)(iVar2 + 0x28) = param_3;" (assignment_expression "*(uint *)(iVar2 + 0x28) = param_3" (pointer_expression "*(uint *)(iVar2 + 0x28)" * (cast_expression "(uint *)(iVar2 + 0x28)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x28)" ( (binary_expression "iVar2 + 0x28" identifier + number_literal) )))) = identifier) ;) })) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */\n/* DWARF original prototype: void set_addralign(Output_section_data * this, uint64_t addralign) */\n\nvoid __thiscall\ngold::Output_section_data::set_addralign(Output_section_data *this,uint64_t addralign)\n\n{\n  Output_section *pOVar1;\n  _func_int_varargs *p_Var2;\n  uint uVar3;\n  uint uVar4;\n  uint extraout_EDX;\n  \n  pOVar1 = this->output_section_;\n  this->addralign_ = addralign;\n  if (pOVar1 != (Output_section *)0x0) {\n    p_Var2 = (pOVar1->super_Output_data)._vptr_Output_data[3];\n    if (p_Var2 == Output_section::do_addralign) {\n      uVar3 = (uint)pOVar1->addralign_;\n      uVar4 = *(uint *)((int)&pOVar1->addralign_ + 4);\n    }\n    else {\n      uVar3 = (*p_Var2)(pOVar1);\n      uVar4 = extraout_EDX;\n    }\n    if (uVar4 < addralign._4_4_ || uVar4 - addralign._4_4_ < (uint)(uVar3 < (uint)addralign)) {\n      this->output_section_->addralign_ = addralign;\n    }\n  }\n  return;\n}\n\n" comment comment (function_definition "void __thiscall\ngold::Output_section_data::set_addralign(Output_section_data *this,uint64_t addralign)\n\n{\n  Output_section *pOVar1;\n  _func_int_varargs *p_Var2;\n  uint uVar3;\n  uint uVar4;\n  uint extraout_EDX;\n  \n  pOVar1 = this->output_section_;\n  this->addralign_ = addralign;\n  if (pOVar1 != (Output_section *)0x0) {\n    p_Var2 = (pOVar1->super_Output_data)._vptr_Output_data[3];\n    if (p_Var2 == Output_section::do_addralign) {\n      uVar3 = (uint)pOVar1->addralign_;\n      uVar4 = *(uint *)((int)&pOVar1->addralign_ + 4);\n    }\n    else {\n      uVar3 = (*p_Var2)(pOVar1);\n      uVar4 = extraout_EDX;\n    }\n    if (uVar4 < addralign._4_4_ || uVar4 - addralign._4_4_ < (uint)(uVar3 < (uint)addralign)) {\n      this->output_section_->addralign_ = addralign;\n    }\n  }\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Output_section_data::" identifier : : identifier : :) (function_declarator "set_addralign(Output_section_data *this,uint64_t addralign)" identifier (parameter_list "(Output_section_data *this,uint64_t addralign)" ( (parameter_declaration "Output_section_data *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "uint64_t addralign" primitive_type identifier) ))) (compound_statement "{\n  Output_section *pOVar1;\n  _func_int_varargs *p_Var2;\n  uint uVar3;\n  uint uVar4;\n  uint extraout_EDX;\n  \n  pOVar1 = this->output_section_;\n  this->addralign_ = addralign;\n  if (pOVar1 != (Output_section *)0x0) {\n    p_Var2 = (pOVar1->super_Output_data)._vptr_Output_data[3];\n    if (p_Var2 == Output_section::do_addralign) {\n      uVar3 = (uint)pOVar1->addralign_;\n      uVar4 = *(uint *)((int)&pOVar1->addralign_ + 4);\n    }\n    else {\n      uVar3 = (*p_Var2)(pOVar1);\n      uVar4 = extraout_EDX;\n    }\n    if (uVar4 < addralign._4_4_ || uVar4 - addralign._4_4_ < (uint)(uVar3 < (uint)addralign)) {\n      this->output_section_->addralign_ = addralign;\n    }\n  }\n  return;\n}" { (declaration "Output_section *pOVar1;" type_identifier (pointer_declarator "*pOVar1" * identifier) ;) (declaration "_func_int_varargs *p_Var2;" type_identifier (pointer_declarator "*p_Var2" * identifier) ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "uint extraout_EDX;" type_identifier identifier ;) (expression_statement "pOVar1 = this->output_section_;" (assignment_expression "pOVar1 = this->output_section_" identifier = (field_expression "this->output_section_" identifier -> field_identifier)) ;) (expression_statement "this->addralign_ = addralign;" (assignment_expression "this->addralign_ = addralign" (field_expression "this->addralign_" identifier -> field_identifier) = identifier) ;) (if_statement "if (pOVar1 != (Output_section *)0x0) {\n    p_Var2 = (pOVar1->super_Output_data)._vptr_Output_data[3];\n    if (p_Var2 == Output_section::do_addralign) {\n      uVar3 = (uint)pOVar1->addralign_;\n      uVar4 = *(uint *)((int)&pOVar1->addralign_ + 4);\n    }\n    else {\n      uVar3 = (*p_Var2)(pOVar1);\n      uVar4 = extraout_EDX;\n    }\n    if (uVar4 < addralign._4_4_ || uVar4 - addralign._4_4_ < (uint)(uVar3 < (uint)addralign)) {\n      this->output_section_->addralign_ = addralign;\n    }\n  }" if (parenthesized_expression "(pOVar1 != (Output_section *)0x0)" ( (binary_expression "pOVar1 != (Output_section *)0x0" identifier != (cast_expression "(Output_section *)0x0" ( (type_descriptor "Output_section *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    p_Var2 = (pOVar1->super_Output_data)._vptr_Output_data[3];\n    if (p_Var2 == Output_section::do_addralign) {\n      uVar3 = (uint)pOVar1->addralign_;\n      uVar4 = *(uint *)((int)&pOVar1->addralign_ + 4);\n    }\n    else {\n      uVar3 = (*p_Var2)(pOVar1);\n      uVar4 = extraout_EDX;\n    }\n    if (uVar4 < addralign._4_4_ || uVar4 - addralign._4_4_ < (uint)(uVar3 < (uint)addralign)) {\n      this->output_section_->addralign_ = addralign;\n    }\n  }" { (expression_statement "p_Var2 = (pOVar1->super_Output_data)._vptr_Output_data[3];" (assignment_expression "p_Var2 = (pOVar1->super_Output_data)._vptr_Output_data[3]" identifier = (subscript_expression "(pOVar1->super_Output_data)._vptr_Output_data[3]" (field_expression "(pOVar1->super_Output_data)._vptr_Output_data" (parenthesized_expression "(pOVar1->super_Output_data)" ( (field_expression "pOVar1->super_Output_data" identifier -> field_identifier) )) . field_identifier) [ number_literal ])) ;) (if_statement "if (p_Var2 == Output_section::do_addralign) {\n      uVar3 = (uint)pOVar1->addralign_;\n      uVar4 = *(uint *)((int)&pOVar1->addralign_ + 4);\n    }\n    else {\n      uVar3 = (*p_Var2)(pOVar1);\n      uVar4 = extraout_EDX;\n    }" if (parenthesized_expression "(p_Var2 == Output_section::do_addralign)" ( (binary_expression "p_Var2 == Output_section" identifier == identifier) (ERROR "::do_addralign" : : identifier) )) (compound_statement "{\n      uVar3 = (uint)pOVar1->addralign_;\n      uVar4 = *(uint *)((int)&pOVar1->addralign_ + 4);\n    }" { (expression_statement "uVar3 = (uint)pOVar1->addralign_;" (assignment_expression "uVar3 = (uint)pOVar1->addralign_" identifier = (cast_expression "(uint)pOVar1->addralign_" ( (type_descriptor "uint" type_identifier) ) (field_expression "pOVar1->addralign_" identifier -> field_identifier))) ;) (expression_statement "uVar4 = *(uint *)((int)&pOVar1->addralign_ + 4);" (assignment_expression "uVar4 = *(uint *)((int)&pOVar1->addralign_ + 4)" identifier = (pointer_expression "*(uint *)((int)&pOVar1->addralign_ + 4)" * (cast_expression "(uint *)((int)&pOVar1->addralign_ + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&pOVar1->addralign_ + 4)" ( (binary_expression "(int)&pOVar1->addralign_ + 4" (cast_expression "(int)&pOVar1->addralign_" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&pOVar1->addralign_" & (field_expression "pOVar1->addralign_" identifier -> field_identifier))) + number_literal) ))))) ;) }) (else_clause "else {\n      uVar3 = (*p_Var2)(pOVar1);\n      uVar4 = extraout_EDX;\n    }" else (compound_statement "{\n      uVar3 = (*p_Var2)(pOVar1);\n      uVar4 = extraout_EDX;\n    }" { (expression_statement "uVar3 = (*p_Var2)(pOVar1);" (assignment_expression "uVar3 = (*p_Var2)(pOVar1)" identifier = (call_expression "(*p_Var2)(pOVar1)" (parenthesized_expression "(*p_Var2)" ( (pointer_expression "*p_Var2" * identifier) )) (argument_list "(pOVar1)" ( identifier )))) ;) (expression_statement "uVar4 = extraout_EDX;" (assignment_expression "uVar4 = extraout_EDX" identifier = identifier) ;) }))) (if_statement "if (uVar4 < addralign._4_4_ || uVar4 - addralign._4_4_ < (uint)(uVar3 < (uint)addralign)) {\n      this->output_section_->addralign_ = addralign;\n    }" if (parenthesized_expression "(uVar4 < addralign._4_4_ || uVar4 - addralign._4_4_ < (uint)(uVar3 < (uint)addralign))" ( (binary_expression "uVar4 < addralign._4_4_ || uVar4 - addralign._4_4_ < (uint)(uVar3 < (uint)addralign)" (binary_expression "uVar4 < addralign._4_4_" identifier < (field_expression "addralign._4_4_" identifier . field_identifier)) || (binary_expression "uVar4 - addralign._4_4_ < (uint)(uVar3 < (uint)addralign)" (binary_expression "uVar4 - addralign._4_4_" identifier - (field_expression "addralign._4_4_" identifier . field_identifier)) < (call_expression "(uint)(uVar3 < (uint)addralign)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar3 < (uint)addralign)" ( (binary_expression "uVar3 < (uint)addralign" identifier < (cast_expression "(uint)addralign" ( (type_descriptor "uint" type_identifier) ) identifier)) ))))) )) (compound_statement "{\n      this->output_section_->addralign_ = addralign;\n    }" { (expression_statement "this->output_section_->addralign_ = addralign;" (assignment_expression "this->output_section_->addralign_ = addralign" (field_expression "this->output_section_->addralign_" (field_expression "this->output_section_" identifier -> field_identifier) -> field_identifier) = identifier) ;) })) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_000ba910(int param_1,uint param_2,uint param_3)\n\n{\n  int *piVar1;\n  int iVar2;\n  uint uVar3;\n  undefined8 uVar4;\n  \n  piVar1 = *(int **)(param_1 + 0x20);\n  *(uint *)(param_1 + 0x24) = param_2;\n  *(uint *)(param_1 + 0x28) = param_3;\n  if (piVar1 != (int *)0x0) {\n    if (*(code **)(*piVar1 + 0xc) == FUN_00088ee0) {\n      uVar4 = *(undefined8 *)(piVar1 + 9);\n    }\n    else {\n      uVar4 = (**(code **)(*piVar1 + 0xc))(piVar1);\n    }\n    uVar3 = (uint)((ulonglong)uVar4 >> 0x20);\n    if (uVar3 < param_3 || uVar3 - param_3 < (uint)((uint)uVar4 < param_2)) {\n      iVar2 = *(int *)(param_1 + 0x20);\n      *(uint *)(iVar2 + 0x24) = param_2;\n      *(uint *)(iVar2 + 0x28) = param_3;\n    }\n  }\n  return;\n}\n\n" (function_definition "void FUN_000ba910(int param_1,uint param_2,uint param_3)\n\n{\n  int *piVar1;\n  int iVar2;\n  uint uVar3;\n  undefined8 uVar4;\n  \n  piVar1 = *(int **)(param_1 + 0x20);\n  *(uint *)(param_1 + 0x24) = param_2;\n  *(uint *)(param_1 + 0x28) = param_3;\n  if (piVar1 != (int *)0x0) {\n    if (*(code **)(*piVar1 + 0xc) == FUN_00088ee0) {\n      uVar4 = *(undefined8 *)(piVar1 + 9);\n    }\n    else {\n      uVar4 = (**(code **)(*piVar1 + 0xc))(piVar1);\n    }\n    uVar3 = (uint)((ulonglong)uVar4 >> 0x20);\n    if (uVar3 < param_3 || uVar3 - param_3 < (uint)((uint)uVar4 < param_2)) {\n      iVar2 = *(int *)(param_1 + 0x20);\n      *(uint *)(iVar2 + 0x24) = param_2;\n      *(uint *)(iVar2 + 0x28) = param_3;\n    }\n  }\n  return;\n}" primitive_type (function_declarator "FUN_000ba910(int param_1,uint param_2,uint param_3)" identifier (parameter_list "(int param_1,uint param_2,uint param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "uint param_2" type_identifier identifier) , (parameter_declaration "uint param_3" type_identifier identifier) ))) (compound_statement "{\n  int *piVar1;\n  int iVar2;\n  uint uVar3;\n  undefined8 uVar4;\n  \n  piVar1 = *(int **)(param_1 + 0x20);\n  *(uint *)(param_1 + 0x24) = param_2;\n  *(uint *)(param_1 + 0x28) = param_3;\n  if (piVar1 != (int *)0x0) {\n    if (*(code **)(*piVar1 + 0xc) == FUN_00088ee0) {\n      uVar4 = *(undefined8 *)(piVar1 + 9);\n    }\n    else {\n      uVar4 = (**(code **)(*piVar1 + 0xc))(piVar1);\n    }\n    uVar3 = (uint)((ulonglong)uVar4 >> 0x20);\n    if (uVar3 < param_3 || uVar3 - param_3 < (uint)((uint)uVar4 < param_2)) {\n      iVar2 = *(int *)(param_1 + 0x20);\n      *(uint *)(iVar2 + 0x24) = param_2;\n      *(uint *)(iVar2 + 0x28) = param_3;\n    }\n  }\n  return;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "undefined8 uVar4;" type_identifier identifier ;) (expression_statement "piVar1 = *(int **)(param_1 + 0x20);" (assignment_expression "piVar1 = *(int **)(param_1 + 0x20)" identifier = (pointer_expression "*(int **)(param_1 + 0x20)" * (cast_expression "(int **)(param_1 + 0x20)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) ))))) ;) (expression_statement "*(uint *)(param_1 + 0x24) = param_2;" (assignment_expression "*(uint *)(param_1 + 0x24) = param_2" (pointer_expression "*(uint *)(param_1 + 0x24)" * (cast_expression "(uint *)(param_1 + 0x24)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x24)" ( (binary_expression "param_1 + 0x24" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(uint *)(param_1 + 0x28) = param_3;" (assignment_expression "*(uint *)(param_1 + 0x28) = param_3" (pointer_expression "*(uint *)(param_1 + 0x28)" * (cast_expression "(uint *)(param_1 + 0x28)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x28)" ( (binary_expression "param_1 + 0x28" identifier + number_literal) )))) = identifier) ;) (if_statement "if (piVar1 != (int *)0x0) {\n    if (*(code **)(*piVar1 + 0xc) == FUN_00088ee0) {\n      uVar4 = *(undefined8 *)(piVar1 + 9);\n    }\n    else {\n      uVar4 = (**(code **)(*piVar1 + 0xc))(piVar1);\n    }\n    uVar3 = (uint)((ulonglong)uVar4 >> 0x20);\n    if (uVar3 < param_3 || uVar3 - param_3 < (uint)((uint)uVar4 < param_2)) {\n      iVar2 = *(int *)(param_1 + 0x20);\n      *(uint *)(iVar2 + 0x24) = param_2;\n      *(uint *)(iVar2 + 0x28) = param_3;\n    }\n  }" if (parenthesized_expression "(piVar1 != (int *)0x0)" ( (binary_expression "piVar1 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    if (*(code **)(*piVar1 + 0xc) == FUN_00088ee0) {\n      uVar4 = *(undefined8 *)(piVar1 + 9);\n    }\n    else {\n      uVar4 = (**(code **)(*piVar1 + 0xc))(piVar1);\n    }\n    uVar3 = (uint)((ulonglong)uVar4 >> 0x20);\n    if (uVar3 < param_3 || uVar3 - param_3 < (uint)((uint)uVar4 < param_2)) {\n      iVar2 = *(int *)(param_1 + 0x20);\n      *(uint *)(iVar2 + 0x24) = param_2;\n      *(uint *)(iVar2 + 0x28) = param_3;\n    }\n  }" { (if_statement "if (*(code **)(*piVar1 + 0xc) == FUN_00088ee0) {\n      uVar4 = *(undefined8 *)(piVar1 + 9);\n    }\n    else {\n      uVar4 = (**(code **)(*piVar1 + 0xc))(piVar1);\n    }" if (parenthesized_expression "(*(code **)(*piVar1 + 0xc) == FUN_00088ee0)" ( (binary_expression "*(code **)(*piVar1 + 0xc) == FUN_00088ee0" (pointer_expression "*(code **)(*piVar1 + 0xc)" * (cast_expression "(code **)(*piVar1 + 0xc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar1 + 0xc)" ( (binary_expression "*piVar1 + 0xc" (pointer_expression "*piVar1" * identifier) + number_literal) )))) == identifier) )) (compound_statement "{\n      uVar4 = *(undefined8 *)(piVar1 + 9);\n    }" { (expression_statement "uVar4 = *(undefined8 *)(piVar1 + 9);" (assignment_expression "uVar4 = *(undefined8 *)(piVar1 + 9)" identifier = (pointer_expression "*(undefined8 *)(piVar1 + 9)" * (cast_expression "(undefined8 *)(piVar1 + 9)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar1 + 9)" ( (binary_expression "piVar1 + 9" identifier + number_literal) ))))) ;) }) (else_clause "else {\n      uVar4 = (**(code **)(*piVar1 + 0xc))(piVar1);\n    }" else (compound_statement "{\n      uVar4 = (**(code **)(*piVar1 + 0xc))(piVar1);\n    }" { (expression_statement "uVar4 = (**(code **)(*piVar1 + 0xc))(piVar1);" (assignment_expression "uVar4 = (**(code **)(*piVar1 + 0xc))(piVar1)" identifier = (call_expression "(**(code **)(*piVar1 + 0xc))(piVar1)" (parenthesized_expression "(**(code **)(*piVar1 + 0xc))" ( (pointer_expression "**(code **)(*piVar1 + 0xc)" * (pointer_expression "*(code **)(*piVar1 + 0xc)" * (cast_expression "(code **)(*piVar1 + 0xc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar1 + 0xc)" ( (binary_expression "*piVar1 + 0xc" (pointer_expression "*piVar1" * identifier) + number_literal) ))))) )) (argument_list "(piVar1)" ( identifier )))) ;) }))) (expression_statement "uVar3 = (uint)((ulonglong)uVar4 >> 0x20);" (assignment_expression "uVar3 = (uint)((ulonglong)uVar4 >> 0x20)" identifier = (call_expression "(uint)((ulonglong)uVar4 >> 0x20)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((ulonglong)uVar4 >> 0x20)" ( (binary_expression "(ulonglong)uVar4 >> 0x20" (cast_expression "(ulonglong)uVar4" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (if_statement "if (uVar3 < param_3 || uVar3 - param_3 < (uint)((uint)uVar4 < param_2)) {\n      iVar2 = *(int *)(param_1 + 0x20);\n      *(uint *)(iVar2 + 0x24) = param_2;\n      *(uint *)(iVar2 + 0x28) = param_3;\n    }" if (parenthesized_expression "(uVar3 < param_3 || uVar3 - param_3 < (uint)((uint)uVar4 < param_2))" ( (binary_expression "uVar3 < param_3 || uVar3 - param_3 < (uint)((uint)uVar4 < param_2)" (binary_expression "uVar3 < param_3" identifier < identifier) || (binary_expression "uVar3 - param_3 < (uint)((uint)uVar4 < param_2)" (binary_expression "uVar3 - param_3" identifier - identifier) < (call_expression "(uint)((uint)uVar4 < param_2)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((uint)uVar4 < param_2)" ( (binary_expression "(uint)uVar4 < param_2" (cast_expression "(uint)uVar4" ( (type_descriptor "uint" type_identifier) ) identifier) < identifier) ))))) )) (compound_statement "{\n      iVar2 = *(int *)(param_1 + 0x20);\n      *(uint *)(iVar2 + 0x24) = param_2;\n      *(uint *)(iVar2 + 0x28) = param_3;\n    }" { (expression_statement "iVar2 = *(int *)(param_1 + 0x20);" (assignment_expression "iVar2 = *(int *)(param_1 + 0x20)" identifier = (pointer_expression "*(int *)(param_1 + 0x20)" * (cast_expression "(int *)(param_1 + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) ))))) ;) (expression_statement "*(uint *)(iVar2 + 0x24) = param_2;" (assignment_expression "*(uint *)(iVar2 + 0x24) = param_2" (pointer_expression "*(uint *)(iVar2 + 0x24)" * (cast_expression "(uint *)(iVar2 + 0x24)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x24)" ( (binary_expression "iVar2 + 0x24" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(uint *)(iVar2 + 0x28) = param_3;" (assignment_expression "*(uint *)(iVar2 + 0x28) = param_3" (pointer_expression "*(uint *)(iVar2 + 0x28)" * (cast_expression "(uint *)(iVar2 + 0x28)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x28)" ( (binary_expression "iVar2 + 0x28" identifier + number_literal) )))) = identifier) ;) })) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) == IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) }) (else_clause else (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 )))) ;) }))) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT < IDENT) || (binary_expression (binary_expression IDENT - IDENT) < (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < IDENT) ))))) )) (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 + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) })) })) (return_statement return ;) })))
(function_definition "void FUN_000ba910(int param_1,uint param_2,uint param_3)\n\n{\n  int *piVar1;\n  int iVar2;\n  uint uVar3;\n  undefined8 uVar4;\n  \n  piVar1 = *(int **)(param_1 + 0x20);\n  *(uint *)(param_1 + 0x24) = param_2;\n  *(uint *)(param_1 + 0x28) = param_3;\n  if (piVar1 != (int *)0x0) {\n    if (*(code **)(*piVar1 + 0xc) == FUN_00088ee0) {\n      uVar4 = *(undefined8 *)(piVar1 + 9);\n    }\n    else {\n      uVar4 = (**(code **)(*piVar1 + 0xc))(piVar1);\n    }\n    uVar3 = (uint)((ulonglong)uVar4 >> 0x20);\n    if (uVar3 < param_3 || uVar3 - param_3 < (uint)((uint)uVar4 < param_2)) {\n      iVar2 = *(int *)(param_1 + 0x20);\n      *(uint *)(iVar2 + 0x24) = param_2;\n      *(uint *)(iVar2 + 0x28) = param_3;\n    }\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_000ba910(int param_1,uint param_2,uint param_3)" (identifier "FUN_000ba910") (parameter_list "(int param_1,uint param_2,uint param_3)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "uint param_2" (type_identifier "uint") (identifier "param_2")) (, ",") (parameter_declaration "uint param_3" (type_identifier "uint") (identifier "param_3")) () ")"))) (compound_statement "{\n  int *piVar1;\n  int iVar2;\n  uint uVar3;\n  undefined8 uVar4;\n  \n  piVar1 = *(int **)(param_1 + 0x20);\n  *(uint *)(param_1 + 0x24) = param_2;\n  *(uint *)(param_1 + 0x28) = param_3;\n  if (piVar1 != (int *)0x0) {\n    if (*(code **)(*piVar1 + 0xc) == FUN_00088ee0) {\n      uVar4 = *(undefined8 *)(piVar1 + 9);\n    }\n    else {\n      uVar4 = (**(code **)(*piVar1 + 0xc))(piVar1);\n    }\n    uVar3 = (uint)((ulonglong)uVar4 >> 0x20);\n    if (uVar3 < param_3 || uVar3 - param_3 < (uint)((uint)uVar4 < param_2)) {\n      iVar2 = *(int *)(param_1 + 0x20);\n      *(uint *)(iVar2 + 0x24) = param_2;\n      *(uint *)(iVar2 + 0x28) = param_3;\n    }\n  }\n  return;\n}" ({ "{") (declaration "int *piVar1;" (primitive_type "int") (pointer_declarator "*piVar1" (* "*") (identifier "piVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "uint uVar3;" (type_identifier "uint") (identifier "uVar3") (; ";")) (declaration "undefined8 uVar4;" (type_identifier "undefined8") (identifier "uVar4") (; ";")) (expression_statement "piVar1 = *(int **)(param_1 + 0x20);" (assignment_expression "piVar1 = *(int **)(param_1 + 0x20)" (identifier "piVar1") (= "=") (pointer_expression "*(int **)(param_1 + 0x20)" (* "*") (cast_expression "(int **)(param_1 + 0x20)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x20)" (( "(") (binary_expression "param_1 + 0x20" (identifier "param_1") (+ "+") (number_literal "0x20")) () ")"))))) (; ";")) (expression_statement "*(uint *)(param_1 + 0x24) = param_2;" (assignment_expression "*(uint *)(param_1 + 0x24) = param_2" (pointer_expression "*(uint *)(param_1 + 0x24)" (* "*") (cast_expression "(uint *)(param_1 + 0x24)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x24)" (( "(") (binary_expression "param_1 + 0x24" (identifier "param_1") (+ "+") (number_literal "0x24")) () ")")))) (= "=") (identifier "param_2")) (; ";")) (expression_statement "*(uint *)(param_1 + 0x28) = param_3;" (assignment_expression "*(uint *)(param_1 + 0x28) = param_3" (pointer_expression "*(uint *)(param_1 + 0x28)" (* "*") (cast_expression "(uint *)(param_1 + 0x28)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x28)" (( "(") (binary_expression "param_1 + 0x28" (identifier "param_1") (+ "+") (number_literal "0x28")) () ")")))) (= "=") (identifier "param_3")) (; ";")) (if_statement "if (piVar1 != (int *)0x0) {\n    if (*(code **)(*piVar1 + 0xc) == FUN_00088ee0) {\n      uVar4 = *(undefined8 *)(piVar1 + 9);\n    }\n    else {\n      uVar4 = (**(code **)(*piVar1 + 0xc))(piVar1);\n    }\n    uVar3 = (uint)((ulonglong)uVar4 >> 0x20);\n    if (uVar3 < param_3 || uVar3 - param_3 < (uint)((uint)uVar4 < param_2)) {\n      iVar2 = *(int *)(param_1 + 0x20);\n      *(uint *)(iVar2 + 0x24) = param_2;\n      *(uint *)(iVar2 + 0x28) = param_3;\n    }\n  }" (if "if") (parenthesized_expression "(piVar1 != (int *)0x0)" (( "(") (binary_expression "piVar1 != (int *)0x0" (identifier "piVar1") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    if (*(code **)(*piVar1 + 0xc) == FUN_00088ee0) {\n      uVar4 = *(undefined8 *)(piVar1 + 9);\n    }\n    else {\n      uVar4 = (**(code **)(*piVar1 + 0xc))(piVar1);\n    }\n    uVar3 = (uint)((ulonglong)uVar4 >> 0x20);\n    if (uVar3 < param_3 || uVar3 - param_3 < (uint)((uint)uVar4 < param_2)) {\n      iVar2 = *(int *)(param_1 + 0x20);\n      *(uint *)(iVar2 + 0x24) = param_2;\n      *(uint *)(iVar2 + 0x28) = param_3;\n    }\n  }" ({ "{") (if_statement "if (*(code **)(*piVar1 + 0xc) == FUN_00088ee0) {\n      uVar4 = *(undefined8 *)(piVar1 + 9);\n    }\n    else {\n      uVar4 = (**(code **)(*piVar1 + 0xc))(piVar1);\n    }" (if "if") (parenthesized_expression "(*(code **)(*piVar1 + 0xc) == FUN_00088ee0)" (( "(") (binary_expression "*(code **)(*piVar1 + 0xc) == FUN_00088ee0" (pointer_expression "*(code **)(*piVar1 + 0xc)" (* "*") (cast_expression "(code **)(*piVar1 + 0xc)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*piVar1 + 0xc)" (( "(") (binary_expression "*piVar1 + 0xc" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (+ "+") (number_literal "0xc")) () ")")))) (== "==") (identifier "FUN_00088ee0")) () ")")) (compound_statement "{\n      uVar4 = *(undefined8 *)(piVar1 + 9);\n    }" ({ "{") (expression_statement "uVar4 = *(undefined8 *)(piVar1 + 9);" (assignment_expression "uVar4 = *(undefined8 *)(piVar1 + 9)" (identifier "uVar4") (= "=") (pointer_expression "*(undefined8 *)(piVar1 + 9)" (* "*") (cast_expression "(undefined8 *)(piVar1 + 9)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(piVar1 + 9)" (( "(") (binary_expression "piVar1 + 9" (identifier "piVar1") (+ "+") (number_literal "9")) () ")"))))) (; ";")) (} "}")) (else_clause "else {\n      uVar4 = (**(code **)(*piVar1 + 0xc))(piVar1);\n    }" (else "else") (compound_statement "{\n      uVar4 = (**(code **)(*piVar1 + 0xc))(piVar1);\n    }" ({ "{") (expression_statement "uVar4 = (**(code **)(*piVar1 + 0xc))(piVar1);" (assignment_expression "uVar4 = (**(code **)(*piVar1 + 0xc))(piVar1)" (identifier "uVar4") (= "=") (call_expression "(**(code **)(*piVar1 + 0xc))(piVar1)" (parenthesized_expression "(**(code **)(*piVar1 + 0xc))" (( "(") (pointer_expression "**(code **)(*piVar1 + 0xc)" (* "*") (pointer_expression "*(code **)(*piVar1 + 0xc)" (* "*") (cast_expression "(code **)(*piVar1 + 0xc)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*piVar1 + 0xc)" (( "(") (binary_expression "*piVar1 + 0xc" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (+ "+") (number_literal "0xc")) () ")"))))) () ")")) (argument_list "(piVar1)" (( "(") (identifier "piVar1") () ")")))) (; ";")) (} "}")))) (expression_statement "uVar3 = (uint)((ulonglong)uVar4 >> 0x20);" (assignment_expression "uVar3 = (uint)((ulonglong)uVar4 >> 0x20)" (identifier "uVar3") (= "=") (call_expression "(uint)((ulonglong)uVar4 >> 0x20)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "((ulonglong)uVar4 >> 0x20)" (( "(") (binary_expression "(ulonglong)uVar4 >> 0x20" (cast_expression "(ulonglong)uVar4" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (identifier "uVar4")) (>> ">>") (number_literal "0x20")) () ")")))) (; ";")) (if_statement "if (uVar3 < param_3 || uVar3 - param_3 < (uint)((uint)uVar4 < param_2)) {\n      iVar2 = *(int *)(param_1 + 0x20);\n      *(uint *)(iVar2 + 0x24) = param_2;\n      *(uint *)(iVar2 + 0x28) = param_3;\n    }" (if "if") (parenthesized_expression "(uVar3 < param_3 || uVar3 - param_3 < (uint)((uint)uVar4 < param_2))" (( "(") (binary_expression "uVar3 < param_3 || uVar3 - param_3 < (uint)((uint)uVar4 < param_2)" (binary_expression "uVar3 < param_3" (identifier "uVar3") (< "<") (identifier "param_3")) (|| "||") (binary_expression "uVar3 - param_3 < (uint)((uint)uVar4 < param_2)" (binary_expression "uVar3 - param_3" (identifier "uVar3") (- "-") (identifier "param_3")) (< "<") (call_expression "(uint)((uint)uVar4 < param_2)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "((uint)uVar4 < param_2)" (( "(") (binary_expression "(uint)uVar4 < param_2" (cast_expression "(uint)uVar4" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "uVar4")) (< "<") (identifier "param_2")) () ")"))))) () ")")) (compound_statement "{\n      iVar2 = *(int *)(param_1 + 0x20);\n      *(uint *)(iVar2 + 0x24) = param_2;\n      *(uint *)(iVar2 + 0x28) = param_3;\n    }" ({ "{") (expression_statement "iVar2 = *(int *)(param_1 + 0x20);" (assignment_expression "iVar2 = *(int *)(param_1 + 0x20)" (identifier "iVar2") (= "=") (pointer_expression "*(int *)(param_1 + 0x20)" (* "*") (cast_expression "(int *)(param_1 + 0x20)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x20)" (( "(") (binary_expression "param_1 + 0x20" (identifier "param_1") (+ "+") (number_literal "0x20")) () ")"))))) (; ";")) (expression_statement "*(uint *)(iVar2 + 0x24) = param_2;" (assignment_expression "*(uint *)(iVar2 + 0x24) = param_2" (pointer_expression "*(uint *)(iVar2 + 0x24)" (* "*") (cast_expression "(uint *)(iVar2 + 0x24)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x24)" (( "(") (binary_expression "iVar2 + 0x24" (identifier "iVar2") (+ "+") (number_literal "0x24")) () ")")))) (= "=") (identifier "param_2")) (; ";")) (expression_statement "*(uint *)(iVar2 + 0x28) = param_3;" (assignment_expression "*(uint *)(iVar2 + 0x28) = param_3" (pointer_expression "*(uint *)(iVar2 + 0x28)" (* "*") (cast_expression "(uint *)(iVar2 + 0x28)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x28)" (( "(") (binary_expression "iVar2 + 0x28" (identifier "iVar2") (+ "+") (number_literal "0x28")) () ")")))) (= "=") (identifier "param_3")) (; ";")) (} "}"))) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */
/* DWARF original prototype: void set_addralign(Output_section_data * this, uint64_t addralign) */

void __thiscall
gold::type_1::function_1(type_1 *this,uint64_t addralign)

{
  type_2 *var_1;
  type_3 *var_2;
  type_4 var_4;
  type_4 var_3;
  type_4 extraout_EDX;
  
  var_1 = this->output_section_;
  this->addralign_ = addralign;
  if (var_1 != (type_2 *)0x0) {
    var_2 = (var_1->super_Output_data)._vptr_Output_data[3];
    if (var_2 == type_2::do_addralign) {
      var_4 = (type_4)var_1->addralign_;
      var_3 = *(type_4 *)((int)&var_1->addralign_ + 4);
    }
    else {
      var_4 = (*var_2)(var_1);
      var_3 = extraout_EDX;
    }
    if (var_3 < addralign._4_4_ || var_3 - addralign._4_4_ < (type_4)(var_4 < (type_4)addralign)) {
      this->output_section_->addralign_ = addralign;
    }
  }
  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: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))) alternative: (else_clause (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)))))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (identifier))))))) 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: (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: (identifier))))))) (return_statement))))

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

void MASKED(int param_1,uint param_2,uint param_3)

{
  int *piVar1;
  int iVar2;
  uint uVar3;
  undefined8 uVar4;
  
  piVar1 = *(int **)(param_1 + 0x20);
  *(uint *)(param_1 + 0x24) = param_2;
  *(uint *)(param_1 + 0x28) = param_3;
  if (piVar1 != (int *)0x0) {
    if (*(code **)(*piVar1 + 0xc) == FUN_00088ee0) {
      uVar4 = *(undefined8 *)(piVar1 + 9);
    }
    else {
      uVar4 = (**(code **)(*piVar1 + 0xc))(piVar1);
    }
    uVar3 = (uint)((ulonglong)uVar4 >> 0x20);
    if (uVar3 < param_3 || uVar3 - param_3 < (uint)((uint)uVar4 < param_2)) {
      iVar2 = *(int *)(param_1 + 0x20);
      *(uint *)(iVar2 + 0x24) = param_2;
      *(uint *)(iVar2 + 0x28) = param_3;
    }
  }
  return;
}

