
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Enum "DT": Some values do not have unique names */
/* DWARF original prototype: void place_orphan_sections_in_script(Layout * this) */

void __thiscall gold::Layout::place_orphan_sections_in_script(Layout *this)

{
}



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

void FUN_001096f0(int param_1)

{
  int iVar1;
  int iVar2;
  int *piVar3;
  
  iVar1 = *(int *)(param_1 + 4);
  if (*(char *)(iVar1 + 0xac) == '\0') {
                    /* WARNING: Subroutine does not return */
    FUN_000da200("../../gold/layout.cc",0x10c9,"place_orphan_sections_in_script",iVar1);
  }
  piVar3 = *(int **)(param_1 + 0x130);
  if (piVar3 != *(int **)(param_1 + 0x134)) {
    do {
      while (iVar2 = *piVar3, (*(byte *)(iVar2 + 0x90) & 0x40) != 0) {
        piVar3 = piVar3 + 1;
        if (*(int **)(param_1 + 0x134) == piVar3) {
          return;
        }
      }
      piVar3 = piVar3 + 1;
      FUN_001cc080(iVar1 + 0xac,iVar2);
    } while (*(int **)(param_1 + 0x134) != piVar3);
  }
  return;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x0003a210
ADD EBX,0x30a907
SUB ESP,0xc
MOV EBP,dword ptr [ESP + 0x20]
MOV EAX,dword ptr [EBP + 0x4]
CMP byte ptr [EAX + 0xac],0x0
JZ 0x00109766
LEA EDI,[EAX + 0xac]
MOV ESI,dword ptr [EBP + 0x130]
CMP ESI,dword ptr [EBP + 0x134]
JNZ 0x0010973b
JMP 0x0010975e
ADD ESI,0x4
CMP dword ptr [EBP + 0x134],ESI
JZ 0x0010975e
MOV EAX,dword ptr [ESI]
TEST byte ptr [EAX + 0x90],0x40
JNZ 0x00109730
SUB ESP,0x8
ADD ESI,0x4
PUSH EAX
PUSH EDI
CALL 0x001cc080
ADD ESP,0x10
CMP dword ptr [EBP + 0x134],ESI
JNZ 0x0010973b
ADD ESP,0xc
POP EBX
POP ESI
POP EDI
POP EBP
RET
PUSH EAX
LEA EAX,[EBX + 0xffeea4e0]
PUSH EAX
LEA EAX,[EBX + 0xffee933e]
PUSH 0x10c9
PUSH EAX
CALL 0x000da200
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_001096f0(int param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  int *piVar3;\n  \n  iVar1 = *(int *)(param_1 + 4);\n  if (*(char *)(iVar1 + 0xac) == '\0') {\n                    /* WARNING: Subroutine does not return */\n    FUN_000da200("../../gold/layout.cc",0x10c9,"place_orphan_sections_in_script",iVar1);\n  }\n  piVar3 = *(int **)(param_1 + 0x130);\n  if (piVar3 != *(int **)(param_1 + 0x134)) {\n    do {\n      while (iVar2 = *piVar3, (*(byte *)(iVar2 + 0x90) & 0x40) != 0) {\n        piVar3 = piVar3 + 1;\n        if (*(int **)(param_1 + 0x134) == piVar3) {\n          return;\n        }\n      }\n      piVar3 = piVar3 + 1;\n      FUN_001cc080(iVar1 + 0xac,iVar2);\n    } while (*(int **)(param_1 + 0x134) != piVar3);\n  }\n  return;\n}\n\n" comment (function_definition "void FUN_001096f0(int param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  int *piVar3;\n  \n  iVar1 = *(int *)(param_1 + 4);\n  if (*(char *)(iVar1 + 0xac) == '\0') {\n                    /* WARNING: Subroutine does not return */\n    FUN_000da200("../../gold/layout.cc",0x10c9,"place_orphan_sections_in_script",iVar1);\n  }\n  piVar3 = *(int **)(param_1 + 0x130);\n  if (piVar3 != *(int **)(param_1 + 0x134)) {\n    do {\n      while (iVar2 = *piVar3, (*(byte *)(iVar2 + 0x90) & 0x40) != 0) {\n        piVar3 = piVar3 + 1;\n        if (*(int **)(param_1 + 0x134) == piVar3) {\n          return;\n        }\n      }\n      piVar3 = piVar3 + 1;\n      FUN_001cc080(iVar1 + 0xac,iVar2);\n    } while (*(int **)(param_1 + 0x134) != piVar3);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_001096f0(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int *piVar3;\n  \n  iVar1 = *(int *)(param_1 + 4);\n  if (*(char *)(iVar1 + 0xac) == '\0') {\n                    /* WARNING: Subroutine does not return */\n    FUN_000da200("../../gold/layout.cc",0x10c9,"place_orphan_sections_in_script",iVar1);\n  }\n  piVar3 = *(int **)(param_1 + 0x130);\n  if (piVar3 != *(int **)(param_1 + 0x134)) {\n    do {\n      while (iVar2 = *piVar3, (*(byte *)(iVar2 + 0x90) & 0x40) != 0) {\n        piVar3 = piVar3 + 1;\n        if (*(int **)(param_1 + 0x134) == piVar3) {\n          return;\n        }\n      }\n      piVar3 = piVar3 + 1;\n      FUN_001cc080(iVar1 + 0xac,iVar2);\n    } while (*(int **)(param_1 + 0x134) != piVar3);\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (expression_statement "iVar1 = *(int *)(param_1 + 4);" (assignment_expression "iVar1 = *(int *)(param_1 + 4)" identifier = (pointer_expression "*(int *)(param_1 + 4)" * (cast_expression "(int *)(param_1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) ;) (if_statement "if (*(char *)(iVar1 + 0xac) == '\0') {\n                    /* WARNING: Subroutine does not return */\n    FUN_000da200("../../gold/layout.cc",0x10c9,"place_orphan_sections_in_script",iVar1);\n  }" if (parenthesized_expression "(*(char *)(iVar1 + 0xac) == '\0')" ( (binary_expression "*(char *)(iVar1 + 0xac) == '\0'" (pointer_expression "*(char *)(iVar1 + 0xac)" * (cast_expression "(char *)(iVar1 + 0xac)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0xac)" ( (binary_expression "iVar1 + 0xac" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    FUN_000da200("../../gold/layout.cc",0x10c9,"place_orphan_sections_in_script",iVar1);\n  }" { comment (expression_statement "FUN_000da200("../../gold/layout.cc",0x10c9,"place_orphan_sections_in_script",iVar1);" (call_expression "FUN_000da200("../../gold/layout.cc",0x10c9,"place_orphan_sections_in_script",iVar1)" identifier (argument_list "("../../gold/layout.cc",0x10c9,"place_orphan_sections_in_script",iVar1)" ( (string_literal ""../../gold/layout.cc"" " string_content ") , number_literal , (string_literal ""place_orphan_sections_in_script"" " string_content ") , identifier ))) ;) })) (expression_statement "piVar3 = *(int **)(param_1 + 0x130);" (assignment_expression "piVar3 = *(int **)(param_1 + 0x130)" identifier = (pointer_expression "*(int **)(param_1 + 0x130)" * (cast_expression "(int **)(param_1 + 0x130)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x130)" ( (binary_expression "param_1 + 0x130" identifier + number_literal) ))))) ;) (if_statement "if (piVar3 != *(int **)(param_1 + 0x134)) {\n    do {\n      while (iVar2 = *piVar3, (*(byte *)(iVar2 + 0x90) & 0x40) != 0) {\n        piVar3 = piVar3 + 1;\n        if (*(int **)(param_1 + 0x134) == piVar3) {\n          return;\n        }\n      }\n      piVar3 = piVar3 + 1;\n      FUN_001cc080(iVar1 + 0xac,iVar2);\n    } while (*(int **)(param_1 + 0x134) != piVar3);\n  }" if (parenthesized_expression "(piVar3 != *(int **)(param_1 + 0x134))" ( (binary_expression "piVar3 != *(int **)(param_1 + 0x134)" identifier != (pointer_expression "*(int **)(param_1 + 0x134)" * (cast_expression "(int **)(param_1 + 0x134)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x134)" ( (binary_expression "param_1 + 0x134" identifier + number_literal) ))))) )) (compound_statement "{\n    do {\n      while (iVar2 = *piVar3, (*(byte *)(iVar2 + 0x90) & 0x40) != 0) {\n        piVar3 = piVar3 + 1;\n        if (*(int **)(param_1 + 0x134) == piVar3) {\n          return;\n        }\n      }\n      piVar3 = piVar3 + 1;\n      FUN_001cc080(iVar1 + 0xac,iVar2);\n    } while (*(int **)(param_1 + 0x134) != piVar3);\n  }" { (do_statement "do {\n      while (iVar2 = *piVar3, (*(byte *)(iVar2 + 0x90) & 0x40) != 0) {\n        piVar3 = piVar3 + 1;\n        if (*(int **)(param_1 + 0x134) == piVar3) {\n          return;\n        }\n      }\n      piVar3 = piVar3 + 1;\n      FUN_001cc080(iVar1 + 0xac,iVar2);\n    } while (*(int **)(param_1 + 0x134) != piVar3);" do (compound_statement "{\n      while (iVar2 = *piVar3, (*(byte *)(iVar2 + 0x90) & 0x40) != 0) {\n        piVar3 = piVar3 + 1;\n        if (*(int **)(param_1 + 0x134) == piVar3) {\n          return;\n        }\n      }\n      piVar3 = piVar3 + 1;\n      FUN_001cc080(iVar1 + 0xac,iVar2);\n    }" { (while_statement "while (iVar2 = *piVar3, (*(byte *)(iVar2 + 0x90) & 0x40) != 0) {\n        piVar3 = piVar3 + 1;\n        if (*(int **)(param_1 + 0x134) == piVar3) {\n          return;\n        }\n      }" while (parenthesized_expression "(iVar2 = *piVar3, (*(byte *)(iVar2 + 0x90) & 0x40) != 0)" ( (comma_expression "iVar2 = *piVar3, (*(byte *)(iVar2 + 0x90) & 0x40) != 0" (assignment_expression "iVar2 = *piVar3" identifier = (pointer_expression "*piVar3" * identifier)) , (binary_expression "(*(byte *)(iVar2 + 0x90) & 0x40) != 0" (parenthesized_expression "(*(byte *)(iVar2 + 0x90) & 0x40)" ( (binary_expression "*(byte *)(iVar2 + 0x90) & 0x40" (pointer_expression "*(byte *)(iVar2 + 0x90)" * (cast_expression "(byte *)(iVar2 + 0x90)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x90)" ( (binary_expression "iVar2 + 0x90" identifier + number_literal) )))) & number_literal) )) != number_literal)) )) (compound_statement "{\n        piVar3 = piVar3 + 1;\n        if (*(int **)(param_1 + 0x134) == piVar3) {\n          return;\n        }\n      }" { (expression_statement "piVar3 = piVar3 + 1;" (assignment_expression "piVar3 = piVar3 + 1" identifier = (binary_expression "piVar3 + 1" identifier + number_literal)) ;) (if_statement "if (*(int **)(param_1 + 0x134) == piVar3) {\n          return;\n        }" if (parenthesized_expression "(*(int **)(param_1 + 0x134) == piVar3)" ( (binary_expression "*(int **)(param_1 + 0x134) == piVar3" (pointer_expression "*(int **)(param_1 + 0x134)" * (cast_expression "(int **)(param_1 + 0x134)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x134)" ( (binary_expression "param_1 + 0x134" identifier + number_literal) )))) == identifier) )) (compound_statement "{\n          return;\n        }" { (return_statement "return;" return ;) })) })) (expression_statement "piVar3 = piVar3 + 1;" (assignment_expression "piVar3 = piVar3 + 1" identifier = (binary_expression "piVar3 + 1" identifier + number_literal)) ;) (expression_statement "FUN_001cc080(iVar1 + 0xac,iVar2);" (call_expression "FUN_001cc080(iVar1 + 0xac,iVar2)" identifier (argument_list "(iVar1 + 0xac,iVar2)" ( (binary_expression "iVar1 + 0xac" identifier + number_literal) , identifier ))) ;) }) while (parenthesized_expression "(*(int **)(param_1 + 0x134) != piVar3)" ( (binary_expression "*(int **)(param_1 + 0x134) != piVar3" (pointer_expression "*(int **)(param_1 + 0x134)" * (cast_expression "(int **)(param_1 + 0x134)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x134)" ( (binary_expression "param_1 + 0x134" identifier + number_literal) )))) != identifier) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Enum "DT": Some values do not have unique names */\n/* DWARF original prototype: void place_orphan_sections_in_script(Layout * this) */\n\nvoid __thiscall gold::Layout::place_orphan_sections_in_script(Layout *this)\n\n{\n}\n\n" comment comment comment (function_definition "void __thiscall gold::Layout::place_orphan_sections_in_script(Layout *this)\n\n{\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Layout::" identifier : : identifier : :) (function_declarator "place_orphan_sections_in_script(Layout *this)" identifier (parameter_list "(Layout *this)" ( (parameter_declaration "Layout *this" type_identifier (pointer_declarator "*this" * identifier)) ))) (compound_statement "{\n}" { })))
(translation_unit "void FUN_001096f0(int param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  int *piVar3;\n  \n  iVar1 = *(int *)(param_1 + 4);\n  if (*(char *)(iVar1 + 0xac) == '\0') {\n                    \n    FUN_000da200("../../gold/layout.cc",0x10c9,"place_orphan_sections_in_script",iVar1);\n  }\n  piVar3 = *(int **)(param_1 + 0x130);\n  if (piVar3 != *(int **)(param_1 + 0x134)) {\n    do {\n      while (iVar2 = *piVar3, (*(byte *)(iVar2 + 0x90) & 0x40) != 0) {\n        piVar3 = piVar3 + 1;\n        if (*(int **)(param_1 + 0x134) == piVar3) {\n          return;\n        }\n      }\n      piVar3 = piVar3 + 1;\n      FUN_001cc080(iVar1 + 0xac,iVar2);\n    } while (*(int **)(param_1 + 0x134) != piVar3);\n  }\n  return;\n}\n\n" (function_definition "void FUN_001096f0(int param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  int *piVar3;\n  \n  iVar1 = *(int *)(param_1 + 4);\n  if (*(char *)(iVar1 + 0xac) == '\0') {\n                    \n    FUN_000da200("../../gold/layout.cc",0x10c9,"place_orphan_sections_in_script",iVar1);\n  }\n  piVar3 = *(int **)(param_1 + 0x130);\n  if (piVar3 != *(int **)(param_1 + 0x134)) {\n    do {\n      while (iVar2 = *piVar3, (*(byte *)(iVar2 + 0x90) & 0x40) != 0) {\n        piVar3 = piVar3 + 1;\n        if (*(int **)(param_1 + 0x134) == piVar3) {\n          return;\n        }\n      }\n      piVar3 = piVar3 + 1;\n      FUN_001cc080(iVar1 + 0xac,iVar2);\n    } while (*(int **)(param_1 + 0x134) != piVar3);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_001096f0(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int *piVar3;\n  \n  iVar1 = *(int *)(param_1 + 4);\n  if (*(char *)(iVar1 + 0xac) == '\0') {\n                    \n    FUN_000da200("../../gold/layout.cc",0x10c9,"place_orphan_sections_in_script",iVar1);\n  }\n  piVar3 = *(int **)(param_1 + 0x130);\n  if (piVar3 != *(int **)(param_1 + 0x134)) {\n    do {\n      while (iVar2 = *piVar3, (*(byte *)(iVar2 + 0x90) & 0x40) != 0) {\n        piVar3 = piVar3 + 1;\n        if (*(int **)(param_1 + 0x134) == piVar3) {\n          return;\n        }\n      }\n      piVar3 = piVar3 + 1;\n      FUN_001cc080(iVar1 + 0xac,iVar2);\n    } while (*(int **)(param_1 + 0x134) != piVar3);\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (expression_statement "iVar1 = *(int *)(param_1 + 4);" (assignment_expression "iVar1 = *(int *)(param_1 + 4)" identifier = (pointer_expression "*(int *)(param_1 + 4)" * (cast_expression "(int *)(param_1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) ;) (if_statement "if (*(char *)(iVar1 + 0xac) == '\0') {\n                    \n    FUN_000da200("../../gold/layout.cc",0x10c9,"place_orphan_sections_in_script",iVar1);\n  }" if (parenthesized_expression "(*(char *)(iVar1 + 0xac) == '\0')" ( (binary_expression "*(char *)(iVar1 + 0xac) == '\0'" (pointer_expression "*(char *)(iVar1 + 0xac)" * (cast_expression "(char *)(iVar1 + 0xac)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0xac)" ( (binary_expression "iVar1 + 0xac" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n                    \n    FUN_000da200("../../gold/layout.cc",0x10c9,"place_orphan_sections_in_script",iVar1);\n  }" { (expression_statement "FUN_000da200("../../gold/layout.cc",0x10c9,"place_orphan_sections_in_script",iVar1);" (call_expression "FUN_000da200("../../gold/layout.cc",0x10c9,"place_orphan_sections_in_script",iVar1)" identifier (argument_list "("../../gold/layout.cc",0x10c9,"place_orphan_sections_in_script",iVar1)" ( (string_literal ""../../gold/layout.cc"" " string_content ") , number_literal , (string_literal ""place_orphan_sections_in_script"" " string_content ") , identifier ))) ;) })) (expression_statement "piVar3 = *(int **)(param_1 + 0x130);" (assignment_expression "piVar3 = *(int **)(param_1 + 0x130)" identifier = (pointer_expression "*(int **)(param_1 + 0x130)" * (cast_expression "(int **)(param_1 + 0x130)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x130)" ( (binary_expression "param_1 + 0x130" identifier + number_literal) ))))) ;) (if_statement "if (piVar3 != *(int **)(param_1 + 0x134)) {\n    do {\n      while (iVar2 = *piVar3, (*(byte *)(iVar2 + 0x90) & 0x40) != 0) {\n        piVar3 = piVar3 + 1;\n        if (*(int **)(param_1 + 0x134) == piVar3) {\n          return;\n        }\n      }\n      piVar3 = piVar3 + 1;\n      FUN_001cc080(iVar1 + 0xac,iVar2);\n    } while (*(int **)(param_1 + 0x134) != piVar3);\n  }" if (parenthesized_expression "(piVar3 != *(int **)(param_1 + 0x134))" ( (binary_expression "piVar3 != *(int **)(param_1 + 0x134)" identifier != (pointer_expression "*(int **)(param_1 + 0x134)" * (cast_expression "(int **)(param_1 + 0x134)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x134)" ( (binary_expression "param_1 + 0x134" identifier + number_literal) ))))) )) (compound_statement "{\n    do {\n      while (iVar2 = *piVar3, (*(byte *)(iVar2 + 0x90) & 0x40) != 0) {\n        piVar3 = piVar3 + 1;\n        if (*(int **)(param_1 + 0x134) == piVar3) {\n          return;\n        }\n      }\n      piVar3 = piVar3 + 1;\n      FUN_001cc080(iVar1 + 0xac,iVar2);\n    } while (*(int **)(param_1 + 0x134) != piVar3);\n  }" { (do_statement "do {\n      while (iVar2 = *piVar3, (*(byte *)(iVar2 + 0x90) & 0x40) != 0) {\n        piVar3 = piVar3 + 1;\n        if (*(int **)(param_1 + 0x134) == piVar3) {\n          return;\n        }\n      }\n      piVar3 = piVar3 + 1;\n      FUN_001cc080(iVar1 + 0xac,iVar2);\n    } while (*(int **)(param_1 + 0x134) != piVar3);" do (compound_statement "{\n      while (iVar2 = *piVar3, (*(byte *)(iVar2 + 0x90) & 0x40) != 0) {\n        piVar3 = piVar3 + 1;\n        if (*(int **)(param_1 + 0x134) == piVar3) {\n          return;\n        }\n      }\n      piVar3 = piVar3 + 1;\n      FUN_001cc080(iVar1 + 0xac,iVar2);\n    }" { (while_statement "while (iVar2 = *piVar3, (*(byte *)(iVar2 + 0x90) & 0x40) != 0) {\n        piVar3 = piVar3 + 1;\n        if (*(int **)(param_1 + 0x134) == piVar3) {\n          return;\n        }\n      }" while (parenthesized_expression "(iVar2 = *piVar3, (*(byte *)(iVar2 + 0x90) & 0x40) != 0)" ( (comma_expression "iVar2 = *piVar3, (*(byte *)(iVar2 + 0x90) & 0x40) != 0" (assignment_expression "iVar2 = *piVar3" identifier = (pointer_expression "*piVar3" * identifier)) , (binary_expression "(*(byte *)(iVar2 + 0x90) & 0x40) != 0" (parenthesized_expression "(*(byte *)(iVar2 + 0x90) & 0x40)" ( (binary_expression "*(byte *)(iVar2 + 0x90) & 0x40" (pointer_expression "*(byte *)(iVar2 + 0x90)" * (cast_expression "(byte *)(iVar2 + 0x90)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x90)" ( (binary_expression "iVar2 + 0x90" identifier + number_literal) )))) & number_literal) )) != number_literal)) )) (compound_statement "{\n        piVar3 = piVar3 + 1;\n        if (*(int **)(param_1 + 0x134) == piVar3) {\n          return;\n        }\n      }" { (expression_statement "piVar3 = piVar3 + 1;" (assignment_expression "piVar3 = piVar3 + 1" identifier = (binary_expression "piVar3 + 1" identifier + number_literal)) ;) (if_statement "if (*(int **)(param_1 + 0x134) == piVar3) {\n          return;\n        }" if (parenthesized_expression "(*(int **)(param_1 + 0x134) == piVar3)" ( (binary_expression "*(int **)(param_1 + 0x134) == piVar3" (pointer_expression "*(int **)(param_1 + 0x134)" * (cast_expression "(int **)(param_1 + 0x134)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x134)" ( (binary_expression "param_1 + 0x134" identifier + number_literal) )))) == identifier) )) (compound_statement "{\n          return;\n        }" { (return_statement "return;" return ;) })) })) (expression_statement "piVar3 = piVar3 + 1;" (assignment_expression "piVar3 = piVar3 + 1" identifier = (binary_expression "piVar3 + 1" identifier + number_literal)) ;) (expression_statement "FUN_001cc080(iVar1 + 0xac,iVar2);" (call_expression "FUN_001cc080(iVar1 + 0xac,iVar2)" identifier (argument_list "(iVar1 + 0xac,iVar2)" ( (binary_expression "iVar1 + 0xac" identifier + number_literal) , identifier ))) ;) }) while (parenthesized_expression "(*(int **)(param_1 + 0x134) != piVar3)" ( (binary_expression "*(int **)(param_1 + 0x134) != piVar3" (pointer_expression "*(int **)(param_1 + 0x134)" * (cast_expression "(int **)(param_1 + 0x134)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x134)" ( (binary_expression "param_1 + 0x134" identifier + number_literal) )))) != identifier) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (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 (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , 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 IDENT != (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (do_statement do (compound_statement { (while_statement while (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (pointer_expression * IDENT)) , (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 = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == IDENT) )) (compound_statement { (return_statement return ;) })) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , IDENT ))) ;) }) while (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != IDENT) )) ;) })) (return_statement return ;) })))
(function_definition "void FUN_001096f0(int param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  int *piVar3;\n  \n  iVar1 = *(int *)(param_1 + 4);\n  if (*(char *)(iVar1 + 0xac) == '\0') {\n                    \n    FUN_000da200("../../gold/layout.cc",0x10c9,"place_orphan_sections_in_script",iVar1);\n  }\n  piVar3 = *(int **)(param_1 + 0x130);\n  if (piVar3 != *(int **)(param_1 + 0x134)) {\n    do {\n      while (iVar2 = *piVar3, (*(byte *)(iVar2 + 0x90) & 0x40) != 0) {\n        piVar3 = piVar3 + 1;\n        if (*(int **)(param_1 + 0x134) == piVar3) {\n          return;\n        }\n      }\n      piVar3 = piVar3 + 1;\n      FUN_001cc080(iVar1 + 0xac,iVar2);\n    } while (*(int **)(param_1 + 0x134) != piVar3);\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_001096f0(int param_1)" (identifier "FUN_001096f0") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int *piVar3;\n  \n  iVar1 = *(int *)(param_1 + 4);\n  if (*(char *)(iVar1 + 0xac) == '\0') {\n                    \n    FUN_000da200("../../gold/layout.cc",0x10c9,"place_orphan_sections_in_script",iVar1);\n  }\n  piVar3 = *(int **)(param_1 + 0x130);\n  if (piVar3 != *(int **)(param_1 + 0x134)) {\n    do {\n      while (iVar2 = *piVar3, (*(byte *)(iVar2 + 0x90) & 0x40) != 0) {\n        piVar3 = piVar3 + 1;\n        if (*(int **)(param_1 + 0x134) == piVar3) {\n          return;\n        }\n      }\n      piVar3 = piVar3 + 1;\n      FUN_001cc080(iVar1 + 0xac,iVar2);\n    } while (*(int **)(param_1 + 0x134) != piVar3);\n  }\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "int *piVar3;" (primitive_type "int") (pointer_declarator "*piVar3" (* "*") (identifier "piVar3")) (; ";")) (expression_statement "iVar1 = *(int *)(param_1 + 4);" (assignment_expression "iVar1 = *(int *)(param_1 + 4)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(param_1 + 4)" (* "*") (cast_expression "(int *)(param_1 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (if_statement "if (*(char *)(iVar1 + 0xac) == '\0') {\n                    \n    FUN_000da200("../../gold/layout.cc",0x10c9,"place_orphan_sections_in_script",iVar1);\n  }" (if "if") (parenthesized_expression "(*(char *)(iVar1 + 0xac) == '\0')" (( "(") (binary_expression "*(char *)(iVar1 + 0xac) == '\0'" (pointer_expression "*(char *)(iVar1 + 0xac)" (* "*") (cast_expression "(char *)(iVar1 + 0xac)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0xac)" (( "(") (binary_expression "iVar1 + 0xac" (identifier "iVar1") (+ "+") (number_literal "0xac")) () ")")))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n                    \n    FUN_000da200("../../gold/layout.cc",0x10c9,"place_orphan_sections_in_script",iVar1);\n  }" ({ "{") (expression_statement "FUN_000da200("../../gold/layout.cc",0x10c9,"place_orphan_sections_in_script",iVar1);" (call_expression "FUN_000da200("../../gold/layout.cc",0x10c9,"place_orphan_sections_in_script",iVar1)" (identifier "FUN_000da200") (argument_list "("../../gold/layout.cc",0x10c9,"place_orphan_sections_in_script",iVar1)" (( "(") (string_literal ""../../gold/layout.cc"" (" """) (string_content "../../gold/layout.cc") (" """)) (, ",") (number_literal "0x10c9") (, ",") (string_literal ""place_orphan_sections_in_script"" (" """) (string_content "place_orphan_sections_in_script") (" """)) (, ",") (identifier "iVar1") () ")"))) (; ";")) (} "}"))) (expression_statement "piVar3 = *(int **)(param_1 + 0x130);" (assignment_expression "piVar3 = *(int **)(param_1 + 0x130)" (identifier "piVar3") (= "=") (pointer_expression "*(int **)(param_1 + 0x130)" (* "*") (cast_expression "(int **)(param_1 + 0x130)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x130)" (( "(") (binary_expression "param_1 + 0x130" (identifier "param_1") (+ "+") (number_literal "0x130")) () ")"))))) (; ";")) (if_statement "if (piVar3 != *(int **)(param_1 + 0x134)) {\n    do {\n      while (iVar2 = *piVar3, (*(byte *)(iVar2 + 0x90) & 0x40) != 0) {\n        piVar3 = piVar3 + 1;\n        if (*(int **)(param_1 + 0x134) == piVar3) {\n          return;\n        }\n      }\n      piVar3 = piVar3 + 1;\n      FUN_001cc080(iVar1 + 0xac,iVar2);\n    } while (*(int **)(param_1 + 0x134) != piVar3);\n  }" (if "if") (parenthesized_expression "(piVar3 != *(int **)(param_1 + 0x134))" (( "(") (binary_expression "piVar3 != *(int **)(param_1 + 0x134)" (identifier "piVar3") (!= "!=") (pointer_expression "*(int **)(param_1 + 0x134)" (* "*") (cast_expression "(int **)(param_1 + 0x134)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x134)" (( "(") (binary_expression "param_1 + 0x134" (identifier "param_1") (+ "+") (number_literal "0x134")) () ")"))))) () ")")) (compound_statement "{\n    do {\n      while (iVar2 = *piVar3, (*(byte *)(iVar2 + 0x90) & 0x40) != 0) {\n        piVar3 = piVar3 + 1;\n        if (*(int **)(param_1 + 0x134) == piVar3) {\n          return;\n        }\n      }\n      piVar3 = piVar3 + 1;\n      FUN_001cc080(iVar1 + 0xac,iVar2);\n    } while (*(int **)(param_1 + 0x134) != piVar3);\n  }" ({ "{") (do_statement "do {\n      while (iVar2 = *piVar3, (*(byte *)(iVar2 + 0x90) & 0x40) != 0) {\n        piVar3 = piVar3 + 1;\n        if (*(int **)(param_1 + 0x134) == piVar3) {\n          return;\n        }\n      }\n      piVar3 = piVar3 + 1;\n      FUN_001cc080(iVar1 + 0xac,iVar2);\n    } while (*(int **)(param_1 + 0x134) != piVar3);" (do "do") (compound_statement "{\n      while (iVar2 = *piVar3, (*(byte *)(iVar2 + 0x90) & 0x40) != 0) {\n        piVar3 = piVar3 + 1;\n        if (*(int **)(param_1 + 0x134) == piVar3) {\n          return;\n        }\n      }\n      piVar3 = piVar3 + 1;\n      FUN_001cc080(iVar1 + 0xac,iVar2);\n    }" ({ "{") (while_statement "while (iVar2 = *piVar3, (*(byte *)(iVar2 + 0x90) & 0x40) != 0) {\n        piVar3 = piVar3 + 1;\n        if (*(int **)(param_1 + 0x134) == piVar3) {\n          return;\n        }\n      }" (while "while") (parenthesized_expression "(iVar2 = *piVar3, (*(byte *)(iVar2 + 0x90) & 0x40) != 0)" (( "(") (comma_expression "iVar2 = *piVar3, (*(byte *)(iVar2 + 0x90) & 0x40) != 0" (assignment_expression "iVar2 = *piVar3" (identifier "iVar2") (= "=") (pointer_expression "*piVar3" (* "*") (identifier "piVar3"))) (, ",") (binary_expression "(*(byte *)(iVar2 + 0x90) & 0x40) != 0" (parenthesized_expression "(*(byte *)(iVar2 + 0x90) & 0x40)" (( "(") (binary_expression "*(byte *)(iVar2 + 0x90) & 0x40" (pointer_expression "*(byte *)(iVar2 + 0x90)" (* "*") (cast_expression "(byte *)(iVar2 + 0x90)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x90)" (( "(") (binary_expression "iVar2 + 0x90" (identifier "iVar2") (+ "+") (number_literal "0x90")) () ")")))) (& "&") (number_literal "0x40")) () ")")) (!= "!=") (number_literal "0"))) () ")")) (compound_statement "{\n        piVar3 = piVar3 + 1;\n        if (*(int **)(param_1 + 0x134) == piVar3) {\n          return;\n        }\n      }" ({ "{") (expression_statement "piVar3 = piVar3 + 1;" (assignment_expression "piVar3 = piVar3 + 1" (identifier "piVar3") (= "=") (binary_expression "piVar3 + 1" (identifier "piVar3") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (*(int **)(param_1 + 0x134) == piVar3) {\n          return;\n        }" (if "if") (parenthesized_expression "(*(int **)(param_1 + 0x134) == piVar3)" (( "(") (binary_expression "*(int **)(param_1 + 0x134) == piVar3" (pointer_expression "*(int **)(param_1 + 0x134)" (* "*") (cast_expression "(int **)(param_1 + 0x134)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x134)" (( "(") (binary_expression "param_1 + 0x134" (identifier "param_1") (+ "+") (number_literal "0x134")) () ")")))) (== "==") (identifier "piVar3")) () ")")) (compound_statement "{\n          return;\n        }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (} "}"))) (expression_statement "piVar3 = piVar3 + 1;" (assignment_expression "piVar3 = piVar3 + 1" (identifier "piVar3") (= "=") (binary_expression "piVar3 + 1" (identifier "piVar3") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "FUN_001cc080(iVar1 + 0xac,iVar2);" (call_expression "FUN_001cc080(iVar1 + 0xac,iVar2)" (identifier "FUN_001cc080") (argument_list "(iVar1 + 0xac,iVar2)" (( "(") (binary_expression "iVar1 + 0xac" (identifier "iVar1") (+ "+") (number_literal "0xac")) (, ",") (identifier "iVar2") () ")"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(*(int **)(param_1 + 0x134) != piVar3)" (( "(") (binary_expression "*(int **)(param_1 + 0x134) != piVar3" (pointer_expression "*(int **)(param_1 + 0x134)" (* "*") (cast_expression "(int **)(param_1 + 0x134)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x134)" (( "(") (binary_expression "param_1 + 0x134" (identifier "param_1") (+ "+") (number_literal "0x134")) () ")")))) (!= "!=") (identifier "piVar3")) () ")")) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Enum "DT": Some values do not have unique names */
/* DWARF original prototype: void place_orphan_sections_in_script(Layout * this) */

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

{
}


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

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

void MASKED(int param_1)

{
  int iVar1;
  int iVar2;
  int *piVar3;
  
  iVar1 = *(int *)(param_1 + 4);
  if (*(char *)(iVar1 + 0xac) == '\0') {
                    /* WARNING: Subroutine does not return */
    FUN_000da200("../../gold/layout.cc",0x10c9,"place_orphan_sections_in_script",iVar1);
  }
  piVar3 = *(int **)(param_1 + 0x130);
  if (piVar3 != *(int **)(param_1 + 0x134)) {
    do {
      while (iVar2 = *piVar3, (*(byte *)(iVar2 + 0x90) & 0x40) != 0) {
        piVar3 = piVar3 + 1;
        if (*(int **)(param_1 + 0x134) == piVar3) {
          return;
        }
      }
      piVar3 = piVar3 + 1;
      FUN_001cc080(iVar1 + 0xac,iVar2);
    } while (*(int **)(param_1 + 0x134) != piVar3);
  }
  return;
}

