
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: void finalize_data_size(Input_section * this) */

void __thiscall gold::Output_section::Input_section::finalize_data_size(Input_section *this)

{
  int *piVar1;
  int in_EAX;
  
  piVar1 = *(int **)(in_EAX + 0x10);
  if ((*(byte *)(piVar1 + 7) & 2) == 0) {
    (**(code **)(*piVar1 + 0x38))(piVar1);
    if ((*(byte *)(piVar1 + 7) & 2) == 0) {
                    /* WARNING: Subroutine does not return */
      do_gold_unreachable("../../gold/output.h",0x163,"finalize_data_size");
    }
  }
  return;
}



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

void __regparm3 FUN_000ed2f0(int param_1)

{
  int *piVar1;
  undefined4 uVar2;
  
  piVar1 = *(int **)(param_1 + 0x10);
  if ((*(byte *)(piVar1 + 7) & 2) == 0) {
    uVar2 = (**(code **)(*piVar1 + 0x38))(piVar1);
    if ((*(byte *)(piVar1 + 7) & 2) == 0) {
                    /* WARNING: Subroutine does not return */
      FUN_00069d00("../../gold/output.h",0x163,"finalize_data_size",uVar2);
    }
  }
  return;
}


PUSH ESI
PUSH EBX
CALL 0x00035840
ADD EBX,0x2a1d09
SUB ESP,0x4
MOV ESI,dword ptr [EAX + 0x10]
TEST byte ptr [ESI + 0x1c],0x2
JNZ 0x000ed31b
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 0x000ed321
ADD ESP,0x4
POP EBX
POP ESI
RET
PUSH EAX
LEA EAX,[EBX + 0xfff04f5c]
PUSH EAX
LEA EAX,[EBX + 0xffef8eac]
PUSH 0x163
PUSH EAX
CALL 0x00069d00
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid __regparm3 FUN_000ed2f0(int param_1)\n\n{\n  int *piVar1;\n  undefined4 uVar2;\n  \n  piVar1 = *(int **)(param_1 + 0x10);\n  if ((*(byte *)(piVar1 + 7) & 2) == 0) {\n    uVar2 = (**(code **)(*piVar1 + 0x38))(piVar1);\n    if ((*(byte *)(piVar1 + 7) & 2) == 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_00069d00("../../gold/output.h",0x163,"finalize_data_size",uVar2);\n    }\n  }\n  return;\n}\n\n" comment (function_definition "void __regparm3 FUN_000ed2f0(int param_1)\n\n{\n  int *piVar1;\n  undefined4 uVar2;\n  \n  piVar1 = *(int **)(param_1 + 0x10);\n  if ((*(byte *)(piVar1 + 7) & 2) == 0) {\n    uVar2 = (**(code **)(*piVar1 + 0x38))(piVar1);\n    if ((*(byte *)(piVar1 + 7) & 2) == 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_00069d00("../../gold/output.h",0x163,"finalize_data_size",uVar2);\n    }\n  }\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_000ed2f0(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  int *piVar1;\n  undefined4 uVar2;\n  \n  piVar1 = *(int **)(param_1 + 0x10);\n  if ((*(byte *)(piVar1 + 7) & 2) == 0) {\n    uVar2 = (**(code **)(*piVar1 + 0x38))(piVar1);\n    if ((*(byte *)(piVar1 + 7) & 2) == 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_00069d00("../../gold/output.h",0x163,"finalize_data_size",uVar2);\n    }\n  }\n  return;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (expression_statement "piVar1 = *(int **)(param_1 + 0x10);" (assignment_expression "piVar1 = *(int **)(param_1 + 0x10)" identifier = (pointer_expression "*(int **)(param_1 + 0x10)" * (cast_expression "(int **)(param_1 + 0x10)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) ))))) ;) (if_statement "if ((*(byte *)(piVar1 + 7) & 2) == 0) {\n    uVar2 = (**(code **)(*piVar1 + 0x38))(piVar1);\n    if ((*(byte *)(piVar1 + 7) & 2) == 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_00069d00("../../gold/output.h",0x163,"finalize_data_size",uVar2);\n    }\n  }" if (parenthesized_expression "((*(byte *)(piVar1 + 7) & 2) == 0)" ( (binary_expression "(*(byte *)(piVar1 + 7) & 2) == 0" (parenthesized_expression "(*(byte *)(piVar1 + 7) & 2)" ( (binary_expression "*(byte *)(piVar1 + 7) & 2" (pointer_expression "*(byte *)(piVar1 + 7)" * (cast_expression "(byte *)(piVar1 + 7)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar1 + 7)" ( (binary_expression "piVar1 + 7" identifier + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n    uVar2 = (**(code **)(*piVar1 + 0x38))(piVar1);\n    if ((*(byte *)(piVar1 + 7) & 2) == 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_00069d00("../../gold/output.h",0x163,"finalize_data_size",uVar2);\n    }\n  }" { (expression_statement "uVar2 = (**(code **)(*piVar1 + 0x38))(piVar1);" (assignment_expression "uVar2 = (**(code **)(*piVar1 + 0x38))(piVar1)" identifier = (call_expression "(**(code **)(*piVar1 + 0x38))(piVar1)" (parenthesized_expression "(**(code **)(*piVar1 + 0x38))" ( (pointer_expression "**(code **)(*piVar1 + 0x38)" * (pointer_expression "*(code **)(*piVar1 + 0x38)" * (cast_expression "(code **)(*piVar1 + 0x38)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar1 + 0x38)" ( (binary_expression "*piVar1 + 0x38" (pointer_expression "*piVar1" * identifier) + number_literal) ))))) )) (argument_list "(piVar1)" ( identifier )))) ;) (if_statement "if ((*(byte *)(piVar1 + 7) & 2) == 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_00069d00("../../gold/output.h",0x163,"finalize_data_size",uVar2);\n    }" if (parenthesized_expression "((*(byte *)(piVar1 + 7) & 2) == 0)" ( (binary_expression "(*(byte *)(piVar1 + 7) & 2) == 0" (parenthesized_expression "(*(byte *)(piVar1 + 7) & 2)" ( (binary_expression "*(byte *)(piVar1 + 7) & 2" (pointer_expression "*(byte *)(piVar1 + 7)" * (cast_expression "(byte *)(piVar1 + 7)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar1 + 7)" ( (binary_expression "piVar1 + 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",uVar2);\n    }" { comment (expression_statement "FUN_00069d00("../../gold/output.h",0x163,"finalize_data_size",uVar2);" (call_expression "FUN_00069d00("../../gold/output.h",0x163,"finalize_data_size",uVar2)" identifier (argument_list "("../../gold/output.h",0x163,"finalize_data_size",uVar2)" ( (string_literal ""../../gold/output.h"" " string_content ") , number_literal , (string_literal ""finalize_data_size"" " string_content ") , identifier ))) ;) })) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* DWARF original prototype: void finalize_data_size(Input_section * this) */\n\nvoid __thiscall gold::Output_section::Input_section::finalize_data_size(Input_section *this)\n\n{\n  int *piVar1;\n  int in_EAX;\n  \n  piVar1 = *(int **)(in_EAX + 0x10);\n  if ((*(byte *)(piVar1 + 7) & 2) == 0) {\n    (**(code **)(*piVar1 + 0x38))(piVar1);\n    if ((*(byte *)(piVar1 + 7) & 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\n" comment comment (function_definition "void __thiscall gold::Output_section::Input_section::finalize_data_size(Input_section *this)\n\n{\n  int *piVar1;\n  int in_EAX;\n  \n  piVar1 = *(int **)(in_EAX + 0x10);\n  if ((*(byte *)(piVar1 + 7) & 2) == 0) {\n    (**(code **)(*piVar1 + 0x38))(piVar1);\n    if ((*(byte *)(piVar1 + 7) & 2) == 0) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/output.h",0x163,"finalize_data_size");\n    }\n  }\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Output_section::Input_section::" identifier : : identifier : : identifier : :) (function_declarator "finalize_data_size(Input_section *this)" identifier (parameter_list "(Input_section *this)" ( (parameter_declaration "Input_section *this" type_identifier (pointer_declarator "*this" * identifier)) ))) (compound_statement "{\n  int *piVar1;\n  int in_EAX;\n  \n  piVar1 = *(int **)(in_EAX + 0x10);\n  if ((*(byte *)(piVar1 + 7) & 2) == 0) {\n    (**(code **)(*piVar1 + 0x38))(piVar1);\n    if ((*(byte *)(piVar1 + 7) & 2) == 0) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/output.h",0x163,"finalize_data_size");\n    }\n  }\n  return;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "int in_EAX;" primitive_type identifier ;) (expression_statement "piVar1 = *(int **)(in_EAX + 0x10);" (assignment_expression "piVar1 = *(int **)(in_EAX + 0x10)" identifier = (pointer_expression "*(int **)(in_EAX + 0x10)" * (cast_expression "(int **)(in_EAX + 0x10)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(in_EAX + 0x10)" ( (binary_expression "in_EAX + 0x10" identifier + number_literal) ))))) ;) (if_statement "if ((*(byte *)(piVar1 + 7) & 2) == 0) {\n    (**(code **)(*piVar1 + 0x38))(piVar1);\n    if ((*(byte *)(piVar1 + 7) & 2) == 0) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/output.h",0x163,"finalize_data_size");\n    }\n  }" if (parenthesized_expression "((*(byte *)(piVar1 + 7) & 2) == 0)" ( (binary_expression "(*(byte *)(piVar1 + 7) & 2) == 0" (parenthesized_expression "(*(byte *)(piVar1 + 7) & 2)" ( (binary_expression "*(byte *)(piVar1 + 7) & 2" (pointer_expression "*(byte *)(piVar1 + 7)" * (cast_expression "(byte *)(piVar1 + 7)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar1 + 7)" ( (binary_expression "piVar1 + 7" identifier + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n    (**(code **)(*piVar1 + 0x38))(piVar1);\n    if ((*(byte *)(piVar1 + 7) & 2) == 0) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/output.h",0x163,"finalize_data_size");\n    }\n  }" { (expression_statement "(**(code **)(*piVar1 + 0x38))(piVar1);" (call_expression "(**(code **)(*piVar1 + 0x38))(piVar1)" (parenthesized_expression "(**(code **)(*piVar1 + 0x38))" ( (pointer_expression "**(code **)(*piVar1 + 0x38)" * (pointer_expression "*(code **)(*piVar1 + 0x38)" * (cast_expression "(code **)(*piVar1 + 0x38)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar1 + 0x38)" ( (binary_expression "*piVar1 + 0x38" (pointer_expression "*piVar1" * identifier) + number_literal) ))))) )) (argument_list "(piVar1)" ( identifier ))) ;) (if_statement "if ((*(byte *)(piVar1 + 7) & 2) == 0) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/output.h",0x163,"finalize_data_size");\n    }" if (parenthesized_expression "((*(byte *)(piVar1 + 7) & 2) == 0)" ( (binary_expression "(*(byte *)(piVar1 + 7) & 2) == 0" (parenthesized_expression "(*(byte *)(piVar1 + 7) & 2)" ( (binary_expression "*(byte *)(piVar1 + 7) & 2" (pointer_expression "*(byte *)(piVar1 + 7)" * (cast_expression "(byte *)(piVar1 + 7)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar1 + 7)" ( (binary_expression "piVar1 + 7" identifier + number_literal) )))) & 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 ;) })))
(translation_unit "void __regparm3 FUN_000ed2f0(int param_1)\n\n{\n  int *piVar1;\n  undefined4 uVar2;\n  \n  piVar1 = *(int **)(param_1 + 0x10);\n  if ((*(byte *)(piVar1 + 7) & 2) == 0) {\n    uVar2 = (**(code **)(*piVar1 + 0x38))(piVar1);\n    if ((*(byte *)(piVar1 + 7) & 2) == 0) {\n                    \n      FUN_00069d00("../../gold/output.h",0x163,"finalize_data_size",uVar2);\n    }\n  }\n  return;\n}\n\n" (function_definition "void __regparm3 FUN_000ed2f0(int param_1)\n\n{\n  int *piVar1;\n  undefined4 uVar2;\n  \n  piVar1 = *(int **)(param_1 + 0x10);\n  if ((*(byte *)(piVar1 + 7) & 2) == 0) {\n    uVar2 = (**(code **)(*piVar1 + 0x38))(piVar1);\n    if ((*(byte *)(piVar1 + 7) & 2) == 0) {\n                    \n      FUN_00069d00("../../gold/output.h",0x163,"finalize_data_size",uVar2);\n    }\n  }\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_000ed2f0(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  int *piVar1;\n  undefined4 uVar2;\n  \n  piVar1 = *(int **)(param_1 + 0x10);\n  if ((*(byte *)(piVar1 + 7) & 2) == 0) {\n    uVar2 = (**(code **)(*piVar1 + 0x38))(piVar1);\n    if ((*(byte *)(piVar1 + 7) & 2) == 0) {\n                    \n      FUN_00069d00("../../gold/output.h",0x163,"finalize_data_size",uVar2);\n    }\n  }\n  return;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (expression_statement "piVar1 = *(int **)(param_1 + 0x10);" (assignment_expression "piVar1 = *(int **)(param_1 + 0x10)" identifier = (pointer_expression "*(int **)(param_1 + 0x10)" * (cast_expression "(int **)(param_1 + 0x10)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) ))))) ;) (if_statement "if ((*(byte *)(piVar1 + 7) & 2) == 0) {\n    uVar2 = (**(code **)(*piVar1 + 0x38))(piVar1);\n    if ((*(byte *)(piVar1 + 7) & 2) == 0) {\n                    \n      FUN_00069d00("../../gold/output.h",0x163,"finalize_data_size",uVar2);\n    }\n  }" if (parenthesized_expression "((*(byte *)(piVar1 + 7) & 2) == 0)" ( (binary_expression "(*(byte *)(piVar1 + 7) & 2) == 0" (parenthesized_expression "(*(byte *)(piVar1 + 7) & 2)" ( (binary_expression "*(byte *)(piVar1 + 7) & 2" (pointer_expression "*(byte *)(piVar1 + 7)" * (cast_expression "(byte *)(piVar1 + 7)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar1 + 7)" ( (binary_expression "piVar1 + 7" identifier + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n    uVar2 = (**(code **)(*piVar1 + 0x38))(piVar1);\n    if ((*(byte *)(piVar1 + 7) & 2) == 0) {\n                    \n      FUN_00069d00("../../gold/output.h",0x163,"finalize_data_size",uVar2);\n    }\n  }" { (expression_statement "uVar2 = (**(code **)(*piVar1 + 0x38))(piVar1);" (assignment_expression "uVar2 = (**(code **)(*piVar1 + 0x38))(piVar1)" identifier = (call_expression "(**(code **)(*piVar1 + 0x38))(piVar1)" (parenthesized_expression "(**(code **)(*piVar1 + 0x38))" ( (pointer_expression "**(code **)(*piVar1 + 0x38)" * (pointer_expression "*(code **)(*piVar1 + 0x38)" * (cast_expression "(code **)(*piVar1 + 0x38)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar1 + 0x38)" ( (binary_expression "*piVar1 + 0x38" (pointer_expression "*piVar1" * identifier) + number_literal) ))))) )) (argument_list "(piVar1)" ( identifier )))) ;) (if_statement "if ((*(byte *)(piVar1 + 7) & 2) == 0) {\n                    \n      FUN_00069d00("../../gold/output.h",0x163,"finalize_data_size",uVar2);\n    }" if (parenthesized_expression "((*(byte *)(piVar1 + 7) & 2) == 0)" ( (binary_expression "(*(byte *)(piVar1 + 7) & 2) == 0" (parenthesized_expression "(*(byte *)(piVar1 + 7) & 2)" ( (binary_expression "*(byte *)(piVar1 + 7) & 2" (pointer_expression "*(byte *)(piVar1 + 7)" * (cast_expression "(byte *)(piVar1 + 7)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar1 + 7)" ( (binary_expression "piVar1 + 7" identifier + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n                    \n      FUN_00069d00("../../gold/output.h",0x163,"finalize_data_size",uVar2);\n    }" { (expression_statement "FUN_00069d00("../../gold/output.h",0x163,"finalize_data_size",uVar2);" (call_expression "FUN_00069d00("../../gold/output.h",0x163,"finalize_data_size",uVar2)" identifier (argument_list "("../../gold/output.h",0x163,"finalize_data_size",uVar2)" ( (string_literal ""../../gold/output.h"" " string_content ") , number_literal , (string_literal ""finalize_data_size"" " string_content ") , identifier ))) ;) })) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * 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) ))))) ;) (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 (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 ;) })))
(function_definition "void __regparm3 FUN_000ed2f0(int param_1)\n\n{\n  int *piVar1;\n  undefined4 uVar2;\n  \n  piVar1 = *(int **)(param_1 + 0x10);\n  if ((*(byte *)(piVar1 + 7) & 2) == 0) {\n    uVar2 = (**(code **)(*piVar1 + 0x38))(piVar1);\n    if ((*(byte *)(piVar1 + 7) & 2) == 0) {\n                    \n      FUN_00069d00("../../gold/output.h",0x163,"finalize_data_size",uVar2);\n    }\n  }\n  return;\n}" (primitive_type "void") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_000ed2f0(int param_1)" (identifier "FUN_000ed2f0") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  int *piVar1;\n  undefined4 uVar2;\n  \n  piVar1 = *(int **)(param_1 + 0x10);\n  if ((*(byte *)(piVar1 + 7) & 2) == 0) {\n    uVar2 = (**(code **)(*piVar1 + 0x38))(piVar1);\n    if ((*(byte *)(piVar1 + 7) & 2) == 0) {\n                    \n      FUN_00069d00("../../gold/output.h",0x163,"finalize_data_size",uVar2);\n    }\n  }\n  return;\n}" ({ "{") (declaration "int *piVar1;" (primitive_type "int") (pointer_declarator "*piVar1" (* "*") (identifier "piVar1")) (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (expression_statement "piVar1 = *(int **)(param_1 + 0x10);" (assignment_expression "piVar1 = *(int **)(param_1 + 0x10)" (identifier "piVar1") (= "=") (pointer_expression "*(int **)(param_1 + 0x10)" (* "*") (cast_expression "(int **)(param_1 + 0x10)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (if_statement "if ((*(byte *)(piVar1 + 7) & 2) == 0) {\n    uVar2 = (**(code **)(*piVar1 + 0x38))(piVar1);\n    if ((*(byte *)(piVar1 + 7) & 2) == 0) {\n                    \n      FUN_00069d00("../../gold/output.h",0x163,"finalize_data_size",uVar2);\n    }\n  }" (if "if") (parenthesized_expression "((*(byte *)(piVar1 + 7) & 2) == 0)" (( "(") (binary_expression "(*(byte *)(piVar1 + 7) & 2) == 0" (parenthesized_expression "(*(byte *)(piVar1 + 7) & 2)" (( "(") (binary_expression "*(byte *)(piVar1 + 7) & 2" (pointer_expression "*(byte *)(piVar1 + 7)" (* "*") (cast_expression "(byte *)(piVar1 + 7)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(piVar1 + 7)" (( "(") (binary_expression "piVar1 + 7" (identifier "piVar1") (+ "+") (number_literal "7")) () ")")))) (& "&") (number_literal "2")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    uVar2 = (**(code **)(*piVar1 + 0x38))(piVar1);\n    if ((*(byte *)(piVar1 + 7) & 2) == 0) {\n                    \n      FUN_00069d00("../../gold/output.h",0x163,"finalize_data_size",uVar2);\n    }\n  }" ({ "{") (expression_statement "uVar2 = (**(code **)(*piVar1 + 0x38))(piVar1);" (assignment_expression "uVar2 = (**(code **)(*piVar1 + 0x38))(piVar1)" (identifier "uVar2") (= "=") (call_expression "(**(code **)(*piVar1 + 0x38))(piVar1)" (parenthesized_expression "(**(code **)(*piVar1 + 0x38))" (( "(") (pointer_expression "**(code **)(*piVar1 + 0x38)" (* "*") (pointer_expression "*(code **)(*piVar1 + 0x38)" (* "*") (cast_expression "(code **)(*piVar1 + 0x38)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*piVar1 + 0x38)" (( "(") (binary_expression "*piVar1 + 0x38" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (+ "+") (number_literal "0x38")) () ")"))))) () ")")) (argument_list "(piVar1)" (( "(") (identifier "piVar1") () ")")))) (; ";")) (if_statement "if ((*(byte *)(piVar1 + 7) & 2) == 0) {\n                    \n      FUN_00069d00("../../gold/output.h",0x163,"finalize_data_size",uVar2);\n    }" (if "if") (parenthesized_expression "((*(byte *)(piVar1 + 7) & 2) == 0)" (( "(") (binary_expression "(*(byte *)(piVar1 + 7) & 2) == 0" (parenthesized_expression "(*(byte *)(piVar1 + 7) & 2)" (( "(") (binary_expression "*(byte *)(piVar1 + 7) & 2" (pointer_expression "*(byte *)(piVar1 + 7)" (* "*") (cast_expression "(byte *)(piVar1 + 7)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(piVar1 + 7)" (( "(") (binary_expression "piVar1 + 7" (identifier "piVar1") (+ "+") (number_literal "7")) () ")")))) (& "&") (number_literal "2")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                    \n      FUN_00069d00("../../gold/output.h",0x163,"finalize_data_size",uVar2);\n    }" ({ "{") (expression_statement "FUN_00069d00("../../gold/output.h",0x163,"finalize_data_size",uVar2);" (call_expression "FUN_00069d00("../../gold/output.h",0x163,"finalize_data_size",uVar2)" (identifier "FUN_00069d00") (argument_list "("../../gold/output.h",0x163,"finalize_data_size",uVar2)" (( "(") (string_literal ""../../gold/output.h"" (" """) (string_content "../../gold/output.h") (" """)) (, ",") (number_literal "0x163") (, ",") (string_literal ""finalize_data_size"" (" """) (string_content "finalize_data_size") (" """)) (, ",") (identifier "uVar2") () ")"))) (; ";")) (} "}"))) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: void finalize_data_size(Input_section * this) */

void __thiscall gold::Output_section::type_1::function_1(type_1 *this)

{
  int *var_2;
  int var_1;
  
  var_2 = *(int **)(var_1 + 0x10);
  if ((*(type_2 *)(var_2 + 7) & 2) == 0) {
    (**(type_3 **)(*var_2 + 0x38))(var_2);
    if ((*(type_2 *)(var_2 + 7) & 2) == 0) {
                    /* WARNING: Subroutine does not return */
      var_3("../../gold/output.h",0x163,"finalize_data_size");
    }
  }
  return;
}


(translation_unit (function_definition type: (primitive_type) (ERROR (identifier)) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (pointer_declarator 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))))))) (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 (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))))

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

void __regparm3 MASKED(int param_1)

{
  int *piVar1;
  undefined4 uVar2;
  
  piVar1 = *(int **)(param_1 + 0x10);
  if ((*(byte *)(piVar1 + 7) & 2) == 0) {
    uVar2 = (**(code **)(*piVar1 + 0x38))(piVar1);
    if ((*(byte *)(piVar1 + 7) & 2) == 0) {
                    /* WARNING: Subroutine does not return */
      FUN_00069d00("../../gold/output.h",0x163,"finalize_data_size",uVar2);
    }
  }
  return;
}

