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

void __thiscall gold::Output_segment::set_tls_offsets(Output_segment *this)

{
}



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

void __regparm1 FUN_0015f8f0(undefined4 param_1,int *param_2)

{
  int *piVar1;
  undefined4 *puVar2;
  
  if (param_2[0x65] != 7) {
                    /* WARNING: Subroutine does not return */
    FUN_000da200("../../gold/output.cc",0x12bb,"set_tls_offsets",param_1);
  }
  puVar2 = (undefined4 *)*param_2;
  if (puVar2 != (undefined4 *)param_2[1]) {
    do {
      piVar1 = (int *)*puVar2;
      puVar2 = puVar2 + 1;
      (**(code **)(*piVar1 + 0x44))(piVar1,param_2[0x57],param_2[0x58]);
    } while ((undefined4 *)param_2[1] != puVar2);
  }
  return;
}


PUSH ESI
PUSH EBX
CALL 0x0003a210
ADD EBX,0x2b4709
SUB ESP,0x4
MOV ESI,dword ptr [ESP + 0x10]
CMP dword ptr [ESI + 0x194],0x7
JNZ 0x0015f940
MOV EBX,dword ptr [ESI]
CMP EBX,dword ptr [ESI + 0x4]
JZ 0x0015f93a
LEA ESI,[ESI]
MOV EAX,dword ptr [EBX]
SUB ESP,0x4
ADD EBX,0x4
MOV EDX,dword ptr [EAX]
PUSH dword ptr [ESI + 0x160]
PUSH dword ptr [ESI + 0x15c]
PUSH EAX
CALL dword ptr [EDX + 0x44]
ADD ESP,0x10
CMP dword ptr [ESI + 0x4],EBX
JNZ 0x0015f918
ADD ESP,0x4
POP EBX
POP ESI
RET
PUSH EAX
LEA EAX,[EBX + 0xffef27e4]
PUSH EAX
LEA EAX,[EBX + 0xffef116b]
PUSH 0x12bb
PUSH EAX
CALL 0x000da200
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid __regparm1 FUN_0015f8f0(undefined4 param_1,int *param_2)\n\n{\n  int *piVar1;\n  undefined4 *puVar2;\n  \n  if (param_2[0x65] != 7) {\n                    /* WARNING: Subroutine does not return */\n    FUN_000da200("../../gold/output.cc",0x12bb,"set_tls_offsets",param_1);\n  }\n  puVar2 = (undefined4 *)*param_2;\n  if (puVar2 != (undefined4 *)param_2[1]) {\n    do {\n      piVar1 = (int *)*puVar2;\n      puVar2 = puVar2 + 1;\n      (**(code **)(*piVar1 + 0x44))(piVar1,param_2[0x57],param_2[0x58]);\n    } while ((undefined4 *)param_2[1] != puVar2);\n  }\n  return;\n}\n\n" comment (function_definition "void __regparm1 FUN_0015f8f0(undefined4 param_1,int *param_2)\n\n{\n  int *piVar1;\n  undefined4 *puVar2;\n  \n  if (param_2[0x65] != 7) {\n                    /* WARNING: Subroutine does not return */\n    FUN_000da200("../../gold/output.cc",0x12bb,"set_tls_offsets",param_1);\n  }\n  puVar2 = (undefined4 *)*param_2;\n  if (puVar2 != (undefined4 *)param_2[1]) {\n    do {\n      piVar1 = (int *)*puVar2;\n      puVar2 = puVar2 + 1;\n      (**(code **)(*piVar1 + 0x44))(piVar1,param_2[0x57],param_2[0x58]);\n    } while ((undefined4 *)param_2[1] != puVar2);\n  }\n  return;\n}" primitive_type (ERROR "__regparm1" identifier) (function_declarator "FUN_0015f8f0(undefined4 param_1,int *param_2)" identifier (parameter_list "(undefined4 param_1,int *param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  int *piVar1;\n  undefined4 *puVar2;\n  \n  if (param_2[0x65] != 7) {\n                    /* WARNING: Subroutine does not return */\n    FUN_000da200("../../gold/output.cc",0x12bb,"set_tls_offsets",param_1);\n  }\n  puVar2 = (undefined4 *)*param_2;\n  if (puVar2 != (undefined4 *)param_2[1]) {\n    do {\n      piVar1 = (int *)*puVar2;\n      puVar2 = puVar2 + 1;\n      (**(code **)(*piVar1 + 0x44))(piVar1,param_2[0x57],param_2[0x58]);\n    } while ((undefined4 *)param_2[1] != puVar2);\n  }\n  return;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (if_statement "if (param_2[0x65] != 7) {\n                    /* WARNING: Subroutine does not return */\n    FUN_000da200("../../gold/output.cc",0x12bb,"set_tls_offsets",param_1);\n  }" if (parenthesized_expression "(param_2[0x65] != 7)" ( (binary_expression "param_2[0x65] != 7" (subscript_expression "param_2[0x65]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    FUN_000da200("../../gold/output.cc",0x12bb,"set_tls_offsets",param_1);\n  }" { comment (expression_statement "FUN_000da200("../../gold/output.cc",0x12bb,"set_tls_offsets",param_1);" (call_expression "FUN_000da200("../../gold/output.cc",0x12bb,"set_tls_offsets",param_1)" identifier (argument_list "("../../gold/output.cc",0x12bb,"set_tls_offsets",param_1)" ( (string_literal ""../../gold/output.cc"" " string_content ") , number_literal , (string_literal ""set_tls_offsets"" " string_content ") , identifier ))) ;) })) (expression_statement "puVar2 = (undefined4 *)*param_2;" (assignment_expression "puVar2 = (undefined4 *)*param_2" identifier = (cast_expression "(undefined4 *)*param_2" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_2" * identifier))) ;) (if_statement "if (puVar2 != (undefined4 *)param_2[1]) {\n    do {\n      piVar1 = (int *)*puVar2;\n      puVar2 = puVar2 + 1;\n      (**(code **)(*piVar1 + 0x44))(piVar1,param_2[0x57],param_2[0x58]);\n    } while ((undefined4 *)param_2[1] != puVar2);\n  }" if (parenthesized_expression "(puVar2 != (undefined4 *)param_2[1])" ( (binary_expression "puVar2 != (undefined4 *)param_2[1]" identifier != (cast_expression "(undefined4 *)param_2[1]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_2[1]" identifier [ number_literal ]))) )) (compound_statement "{\n    do {\n      piVar1 = (int *)*puVar2;\n      puVar2 = puVar2 + 1;\n      (**(code **)(*piVar1 + 0x44))(piVar1,param_2[0x57],param_2[0x58]);\n    } while ((undefined4 *)param_2[1] != puVar2);\n  }" { (do_statement "do {\n      piVar1 = (int *)*puVar2;\n      puVar2 = puVar2 + 1;\n      (**(code **)(*piVar1 + 0x44))(piVar1,param_2[0x57],param_2[0x58]);\n    } while ((undefined4 *)param_2[1] != puVar2);" do (compound_statement "{\n      piVar1 = (int *)*puVar2;\n      puVar2 = puVar2 + 1;\n      (**(code **)(*piVar1 + 0x44))(piVar1,param_2[0x57],param_2[0x58]);\n    }" { (expression_statement "piVar1 = (int *)*puVar2;" (assignment_expression "piVar1 = (int *)*puVar2" identifier = (cast_expression "(int *)*puVar2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar2" * identifier))) ;) (expression_statement "puVar2 = puVar2 + 1;" (assignment_expression "puVar2 = puVar2 + 1" identifier = (binary_expression "puVar2 + 1" identifier + number_literal)) ;) (expression_statement "(**(code **)(*piVar1 + 0x44))(piVar1,param_2[0x57],param_2[0x58]);" (call_expression "(**(code **)(*piVar1 + 0x44))(piVar1,param_2[0x57],param_2[0x58])" (parenthesized_expression "(**(code **)(*piVar1 + 0x44))" ( (pointer_expression "**(code **)(*piVar1 + 0x44)" * (pointer_expression "*(code **)(*piVar1 + 0x44)" * (cast_expression "(code **)(*piVar1 + 0x44)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar1 + 0x44)" ( (binary_expression "*piVar1 + 0x44" (pointer_expression "*piVar1" * identifier) + number_literal) ))))) )) (argument_list "(piVar1,param_2[0x57],param_2[0x58])" ( identifier , (subscript_expression "param_2[0x57]" identifier [ number_literal ]) , (subscript_expression "param_2[0x58]" identifier [ number_literal ]) ))) ;) }) while (parenthesized_expression "((undefined4 *)param_2[1] != puVar2)" ( (binary_expression "(undefined4 *)param_2[1] != puVar2" (cast_expression "(undefined4 *)param_2[1]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_2[1]" 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/* DWARF original prototype: void set_tls_offsets(Output_segment * this) */\n\nvoid __thiscall gold::Output_segment::set_tls_offsets(Output_segment *this)\n\n{\n}\n\n" comment comment (function_definition "void __thiscall gold::Output_segment::set_tls_offsets(Output_segment *this)\n\n{\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Output_segment::" identifier : : identifier : :) (function_declarator "set_tls_offsets(Output_segment *this)" identifier (parameter_list "(Output_segment *this)" ( (parameter_declaration "Output_segment *this" type_identifier (pointer_declarator "*this" * identifier)) ))) (compound_statement "{\n}" { })))
(translation_unit "void __regparm1 FUN_0015f8f0(undefined4 param_1,int *param_2)\n\n{\n  int *piVar1;\n  undefined4 *puVar2;\n  \n  if (param_2[0x65] != 7) {\n                    \n    FUN_000da200("../../gold/output.cc",0x12bb,"set_tls_offsets",param_1);\n  }\n  puVar2 = (undefined4 *)*param_2;\n  if (puVar2 != (undefined4 *)param_2[1]) {\n    do {\n      piVar1 = (int *)*puVar2;\n      puVar2 = puVar2 + 1;\n      (**(code **)(*piVar1 + 0x44))(piVar1,param_2[0x57],param_2[0x58]);\n    } while ((undefined4 *)param_2[1] != puVar2);\n  }\n  return;\n}\n\n" (function_definition "void __regparm1 FUN_0015f8f0(undefined4 param_1,int *param_2)\n\n{\n  int *piVar1;\n  undefined4 *puVar2;\n  \n  if (param_2[0x65] != 7) {\n                    \n    FUN_000da200("../../gold/output.cc",0x12bb,"set_tls_offsets",param_1);\n  }\n  puVar2 = (undefined4 *)*param_2;\n  if (puVar2 != (undefined4 *)param_2[1]) {\n    do {\n      piVar1 = (int *)*puVar2;\n      puVar2 = puVar2 + 1;\n      (**(code **)(*piVar1 + 0x44))(piVar1,param_2[0x57],param_2[0x58]);\n    } while ((undefined4 *)param_2[1] != puVar2);\n  }\n  return;\n}" primitive_type (ERROR "__regparm1" identifier) (function_declarator "FUN_0015f8f0(undefined4 param_1,int *param_2)" identifier (parameter_list "(undefined4 param_1,int *param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  int *piVar1;\n  undefined4 *puVar2;\n  \n  if (param_2[0x65] != 7) {\n                    \n    FUN_000da200("../../gold/output.cc",0x12bb,"set_tls_offsets",param_1);\n  }\n  puVar2 = (undefined4 *)*param_2;\n  if (puVar2 != (undefined4 *)param_2[1]) {\n    do {\n      piVar1 = (int *)*puVar2;\n      puVar2 = puVar2 + 1;\n      (**(code **)(*piVar1 + 0x44))(piVar1,param_2[0x57],param_2[0x58]);\n    } while ((undefined4 *)param_2[1] != puVar2);\n  }\n  return;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (if_statement "if (param_2[0x65] != 7) {\n                    \n    FUN_000da200("../../gold/output.cc",0x12bb,"set_tls_offsets",param_1);\n  }" if (parenthesized_expression "(param_2[0x65] != 7)" ( (binary_expression "param_2[0x65] != 7" (subscript_expression "param_2[0x65]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n                    \n    FUN_000da200("../../gold/output.cc",0x12bb,"set_tls_offsets",param_1);\n  }" { (expression_statement "FUN_000da200("../../gold/output.cc",0x12bb,"set_tls_offsets",param_1);" (call_expression "FUN_000da200("../../gold/output.cc",0x12bb,"set_tls_offsets",param_1)" identifier (argument_list "("../../gold/output.cc",0x12bb,"set_tls_offsets",param_1)" ( (string_literal ""../../gold/output.cc"" " string_content ") , number_literal , (string_literal ""set_tls_offsets"" " string_content ") , identifier ))) ;) })) (expression_statement "puVar2 = (undefined4 *)*param_2;" (assignment_expression "puVar2 = (undefined4 *)*param_2" identifier = (cast_expression "(undefined4 *)*param_2" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_2" * identifier))) ;) (if_statement "if (puVar2 != (undefined4 *)param_2[1]) {\n    do {\n      piVar1 = (int *)*puVar2;\n      puVar2 = puVar2 + 1;\n      (**(code **)(*piVar1 + 0x44))(piVar1,param_2[0x57],param_2[0x58]);\n    } while ((undefined4 *)param_2[1] != puVar2);\n  }" if (parenthesized_expression "(puVar2 != (undefined4 *)param_2[1])" ( (binary_expression "puVar2 != (undefined4 *)param_2[1]" identifier != (cast_expression "(undefined4 *)param_2[1]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_2[1]" identifier [ number_literal ]))) )) (compound_statement "{\n    do {\n      piVar1 = (int *)*puVar2;\n      puVar2 = puVar2 + 1;\n      (**(code **)(*piVar1 + 0x44))(piVar1,param_2[0x57],param_2[0x58]);\n    } while ((undefined4 *)param_2[1] != puVar2);\n  }" { (do_statement "do {\n      piVar1 = (int *)*puVar2;\n      puVar2 = puVar2 + 1;\n      (**(code **)(*piVar1 + 0x44))(piVar1,param_2[0x57],param_2[0x58]);\n    } while ((undefined4 *)param_2[1] != puVar2);" do (compound_statement "{\n      piVar1 = (int *)*puVar2;\n      puVar2 = puVar2 + 1;\n      (**(code **)(*piVar1 + 0x44))(piVar1,param_2[0x57],param_2[0x58]);\n    }" { (expression_statement "piVar1 = (int *)*puVar2;" (assignment_expression "piVar1 = (int *)*puVar2" identifier = (cast_expression "(int *)*puVar2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar2" * identifier))) ;) (expression_statement "puVar2 = puVar2 + 1;" (assignment_expression "puVar2 = puVar2 + 1" identifier = (binary_expression "puVar2 + 1" identifier + number_literal)) ;) (expression_statement "(**(code **)(*piVar1 + 0x44))(piVar1,param_2[0x57],param_2[0x58]);" (call_expression "(**(code **)(*piVar1 + 0x44))(piVar1,param_2[0x57],param_2[0x58])" (parenthesized_expression "(**(code **)(*piVar1 + 0x44))" ( (pointer_expression "**(code **)(*piVar1 + 0x44)" * (pointer_expression "*(code **)(*piVar1 + 0x44)" * (cast_expression "(code **)(*piVar1 + 0x44)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar1 + 0x44)" ( (binary_expression "*piVar1 + 0x44" (pointer_expression "*piVar1" * identifier) + number_literal) ))))) )) (argument_list "(piVar1,param_2[0x57],param_2[0x58])" ( identifier , (subscript_expression "param_2[0x57]" identifier [ number_literal ]) , (subscript_expression "param_2[0x58]" identifier [ number_literal ]) ))) ;) }) while (parenthesized_expression "((undefined4 *)param_2[1] != puVar2)" ( (binary_expression "(undefined4 *)param_2[1] != puVar2" (cast_expression "(undefined4 *)param_2[1]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_2[1]" identifier [ number_literal ])) != identifier) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , IDENT ))) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) )) (argument_list ( IDENT , (subscript_expression IDENT [ LIT ]) , (subscript_expression IDENT [ LIT ]) ))) ;) }) while (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) != IDENT) )) ;) })) (return_statement return ;) })))
(function_definition "void __regparm1 FUN_0015f8f0(undefined4 param_1,int *param_2)\n\n{\n  int *piVar1;\n  undefined4 *puVar2;\n  \n  if (param_2[0x65] != 7) {\n                    \n    FUN_000da200("../../gold/output.cc",0x12bb,"set_tls_offsets",param_1);\n  }\n  puVar2 = (undefined4 *)*param_2;\n  if (puVar2 != (undefined4 *)param_2[1]) {\n    do {\n      piVar1 = (int *)*puVar2;\n      puVar2 = puVar2 + 1;\n      (**(code **)(*piVar1 + 0x44))(piVar1,param_2[0x57],param_2[0x58]);\n    } while ((undefined4 *)param_2[1] != puVar2);\n  }\n  return;\n}" (primitive_type "void") (ERROR "__regparm1" (identifier "__regparm1")) (function_declarator "FUN_0015f8f0(undefined4 param_1,int *param_2)" (identifier "FUN_0015f8f0") (parameter_list "(undefined4 param_1,int *param_2)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "int *param_2" (primitive_type "int") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  int *piVar1;\n  undefined4 *puVar2;\n  \n  if (param_2[0x65] != 7) {\n                    \n    FUN_000da200("../../gold/output.cc",0x12bb,"set_tls_offsets",param_1);\n  }\n  puVar2 = (undefined4 *)*param_2;\n  if (puVar2 != (undefined4 *)param_2[1]) {\n    do {\n      piVar1 = (int *)*puVar2;\n      puVar2 = puVar2 + 1;\n      (**(code **)(*piVar1 + 0x44))(piVar1,param_2[0x57],param_2[0x58]);\n    } while ((undefined4 *)param_2[1] != puVar2);\n  }\n  return;\n}" ({ "{") (declaration "int *piVar1;" (primitive_type "int") (pointer_declarator "*piVar1" (* "*") (identifier "piVar1")) (; ";")) (declaration "undefined4 *puVar2;" (type_identifier "undefined4") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (if_statement "if (param_2[0x65] != 7) {\n                    \n    FUN_000da200("../../gold/output.cc",0x12bb,"set_tls_offsets",param_1);\n  }" (if "if") (parenthesized_expression "(param_2[0x65] != 7)" (( "(") (binary_expression "param_2[0x65] != 7" (subscript_expression "param_2[0x65]" (identifier "param_2") ([ "[") (number_literal "0x65") (] "]")) (!= "!=") (number_literal "7")) () ")")) (compound_statement "{\n                    \n    FUN_000da200("../../gold/output.cc",0x12bb,"set_tls_offsets",param_1);\n  }" ({ "{") (expression_statement "FUN_000da200("../../gold/output.cc",0x12bb,"set_tls_offsets",param_1);" (call_expression "FUN_000da200("../../gold/output.cc",0x12bb,"set_tls_offsets",param_1)" (identifier "FUN_000da200") (argument_list "("../../gold/output.cc",0x12bb,"set_tls_offsets",param_1)" (( "(") (string_literal ""../../gold/output.cc"" (" """) (string_content "../../gold/output.cc") (" """)) (, ",") (number_literal "0x12bb") (, ",") (string_literal ""set_tls_offsets"" (" """) (string_content "set_tls_offsets") (" """)) (, ",") (identifier "param_1") () ")"))) (; ";")) (} "}"))) (expression_statement "puVar2 = (undefined4 *)*param_2;" (assignment_expression "puVar2 = (undefined4 *)*param_2" (identifier "puVar2") (= "=") (cast_expression "(undefined4 *)*param_2" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_2" (* "*") (identifier "param_2")))) (; ";")) (if_statement "if (puVar2 != (undefined4 *)param_2[1]) {\n    do {\n      piVar1 = (int *)*puVar2;\n      puVar2 = puVar2 + 1;\n      (**(code **)(*piVar1 + 0x44))(piVar1,param_2[0x57],param_2[0x58]);\n    } while ((undefined4 *)param_2[1] != puVar2);\n  }" (if "if") (parenthesized_expression "(puVar2 != (undefined4 *)param_2[1])" (( "(") (binary_expression "puVar2 != (undefined4 *)param_2[1]" (identifier "puVar2") (!= "!=") (cast_expression "(undefined4 *)param_2[1]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]")))) () ")")) (compound_statement "{\n    do {\n      piVar1 = (int *)*puVar2;\n      puVar2 = puVar2 + 1;\n      (**(code **)(*piVar1 + 0x44))(piVar1,param_2[0x57],param_2[0x58]);\n    } while ((undefined4 *)param_2[1] != puVar2);\n  }" ({ "{") (do_statement "do {\n      piVar1 = (int *)*puVar2;\n      puVar2 = puVar2 + 1;\n      (**(code **)(*piVar1 + 0x44))(piVar1,param_2[0x57],param_2[0x58]);\n    } while ((undefined4 *)param_2[1] != puVar2);" (do "do") (compound_statement "{\n      piVar1 = (int *)*puVar2;\n      puVar2 = puVar2 + 1;\n      (**(code **)(*piVar1 + 0x44))(piVar1,param_2[0x57],param_2[0x58]);\n    }" ({ "{") (expression_statement "piVar1 = (int *)*puVar2;" (assignment_expression "piVar1 = (int *)*puVar2" (identifier "piVar1") (= "=") (cast_expression "(int *)*puVar2" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar2" (* "*") (identifier "puVar2")))) (; ";")) (expression_statement "puVar2 = puVar2 + 1;" (assignment_expression "puVar2 = puVar2 + 1" (identifier "puVar2") (= "=") (binary_expression "puVar2 + 1" (identifier "puVar2") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "(**(code **)(*piVar1 + 0x44))(piVar1,param_2[0x57],param_2[0x58]);" (call_expression "(**(code **)(*piVar1 + 0x44))(piVar1,param_2[0x57],param_2[0x58])" (parenthesized_expression "(**(code **)(*piVar1 + 0x44))" (( "(") (pointer_expression "**(code **)(*piVar1 + 0x44)" (* "*") (pointer_expression "*(code **)(*piVar1 + 0x44)" (* "*") (cast_expression "(code **)(*piVar1 + 0x44)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*piVar1 + 0x44)" (( "(") (binary_expression "*piVar1 + 0x44" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (+ "+") (number_literal "0x44")) () ")"))))) () ")")) (argument_list "(piVar1,param_2[0x57],param_2[0x58])" (( "(") (identifier "piVar1") (, ",") (subscript_expression "param_2[0x57]" (identifier "param_2") ([ "[") (number_literal "0x57") (] "]")) (, ",") (subscript_expression "param_2[0x58]" (identifier "param_2") ([ "[") (number_literal "0x58") (] "]")) () ")"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "((undefined4 *)param_2[1] != puVar2)" (( "(") (binary_expression "(undefined4 *)param_2[1] != puVar2" (cast_expression "(undefined4 *)param_2[1]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]"))) (!= "!=") (identifier "puVar2")) () ")")) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

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

{
}


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

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

void __regparm1 MASKED(undefined4 param_1,int *param_2)

{
  int *piVar1;
  undefined4 *puVar2;
  
  if (param_2[0x65] != 7) {
                    /* WARNING: Subroutine does not return */
    FUN_000da200("../../gold/output.cc",0x12bb,"set_tls_offsets",param_1);
  }
  puVar2 = (undefined4 *)*param_2;
  if (puVar2 != (undefined4 *)param_2[1]) {
    do {
      piVar1 = (int *)*puVar2;
      puVar2 = puVar2 + 1;
      (**(code **)(*piVar1 + 0x44))(piVar1,param_2[0x57],param_2[0x58]);
    } while ((undefined4 *)param_2[1] != puVar2);
  }
  return;
}

