
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: void do_set_section_offset(Sized_relobj<32,_false> * this, uint shndx,
   uint64_t off) */

void __thiscall
gold::Sized_relobj<32,_false>::do_set_section_offset
          (Sized_relobj<32,_false> *this,uint shndx,uint64_t off)

{
}



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

void FUN_000a5a20(int param_1,uint param_2,uint param_3,uint param_4)

{
  int iVar1;
  
  iVar1 = *(int *)(param_1 + 0x84);
  if ((uint)(*(int *)(param_1 + 0x88) - iVar1 >> 2) <= param_2) {
                    /* WARNING: Subroutine does not return */
    FUN_000da200("../../gold/object.h",0x81f,"do_set_section_offset",param_3);
  }
  if ((param_4 & param_3) != 0xffffffff) {
    if (param_4 == 0) {
      *(uint *)(iVar1 + param_2 * 4) = param_3;
      return;
    }
                    /* WARNING: Subroutine does not return */
    FUN_000da200("../../gold/gold.h",0xc0,"convert_types",param_4 & param_3);
  }
  *(undefined4 *)(iVar1 + param_2 * 4) = 0xffffffff;
  return;
}


PUSH EDI
PUSH ESI
PUSH EBX
MOV EAX,dword ptr [ESP + 0x10]
CALL 0x0003a210
ADD EBX,0x36e5d4
MOV ESI,dword ptr [ESP + 0x14]
MOV EDX,dword ptr [ESP + 0x18]
MOV ECX,dword ptr [EAX + 0x84]
MOV EAX,dword ptr [EAX + 0x88]
MOV EDI,dword ptr [ESP + 0x1c]
SUB EAX,ECX
SAR EAX,0x2
CMP ESI,EAX
JNC 0x000a5a7c
MOV EAX,EDI
AND EAX,EDX
CMP EAX,-0x1
JZ 0x000a5a70
TEST EDI,EDI
JNZ 0x000a5a95
MOV dword ptr [ECX + ESI*0x4],EDX
POP EBX
POP ESI
POP EDI
RET
MOV EDX,0xffffffff
MOV dword ptr [ECX + ESI*0x4],EDX
POP EBX
POP ESI
POP EDI
RET
LEA EAX,[EBX + 0xffee1c60]
PUSH EDX
PUSH EAX
LEA EAX,[EBX + 0xffee2e48]
PUSH 0x81f
PUSH EAX
CALL 0x000da200
PUSH EAX
LEA EAX,[EBX + 0xffee21c4]
PUSH EAX
LEA EAX,[EBX + 0xffee33bc]
PUSH 0xc0
PUSH EAX
CALL 0x000da200
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_000a5a20(int param_1,uint param_2,uint param_3,uint param_4)\n\n{\n  int iVar1;\n  \n  iVar1 = *(int *)(param_1 + 0x84);\n  if ((uint)(*(int *)(param_1 + 0x88) - iVar1 >> 2) <= param_2) {\n                    /* WARNING: Subroutine does not return */\n    FUN_000da200("../../gold/object.h",0x81f,"do_set_section_offset",param_3);\n  }\n  if ((param_4 & param_3) != 0xffffffff) {\n    if (param_4 == 0) {\n      *(uint *)(iVar1 + param_2 * 4) = param_3;\n      return;\n    }\n                    /* WARNING: Subroutine does not return */\n    FUN_000da200("../../gold/gold.h",0xc0,"convert_types",param_4 & param_3);\n  }\n  *(undefined4 *)(iVar1 + param_2 * 4) = 0xffffffff;\n  return;\n}\n\n" comment (function_definition "void FUN_000a5a20(int param_1,uint param_2,uint param_3,uint param_4)\n\n{\n  int iVar1;\n  \n  iVar1 = *(int *)(param_1 + 0x84);\n  if ((uint)(*(int *)(param_1 + 0x88) - iVar1 >> 2) <= param_2) {\n                    /* WARNING: Subroutine does not return */\n    FUN_000da200("../../gold/object.h",0x81f,"do_set_section_offset",param_3);\n  }\n  if ((param_4 & param_3) != 0xffffffff) {\n    if (param_4 == 0) {\n      *(uint *)(iVar1 + param_2 * 4) = param_3;\n      return;\n    }\n                    /* WARNING: Subroutine does not return */\n    FUN_000da200("../../gold/gold.h",0xc0,"convert_types",param_4 & param_3);\n  }\n  *(undefined4 *)(iVar1 + param_2 * 4) = 0xffffffff;\n  return;\n}" primitive_type (function_declarator "FUN_000a5a20(int param_1,uint param_2,uint param_3,uint param_4)" identifier (parameter_list "(int param_1,uint param_2,uint param_3,uint param_4)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "uint param_2" type_identifier identifier) , (parameter_declaration "uint param_3" type_identifier identifier) , (parameter_declaration "uint param_4" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = *(int *)(param_1 + 0x84);\n  if ((uint)(*(int *)(param_1 + 0x88) - iVar1 >> 2) <= param_2) {\n                    /* WARNING: Subroutine does not return */\n    FUN_000da200("../../gold/object.h",0x81f,"do_set_section_offset",param_3);\n  }\n  if ((param_4 & param_3) != 0xffffffff) {\n    if (param_4 == 0) {\n      *(uint *)(iVar1 + param_2 * 4) = param_3;\n      return;\n    }\n                    /* WARNING: Subroutine does not return */\n    FUN_000da200("../../gold/gold.h",0xc0,"convert_types",param_4 & param_3);\n  }\n  *(undefined4 *)(iVar1 + param_2 * 4) = 0xffffffff;\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = *(int *)(param_1 + 0x84);" (assignment_expression "iVar1 = *(int *)(param_1 + 0x84)" identifier = (pointer_expression "*(int *)(param_1 + 0x84)" * (cast_expression "(int *)(param_1 + 0x84)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x84)" ( (binary_expression "param_1 + 0x84" identifier + number_literal) ))))) ;) (if_statement "if ((uint)(*(int *)(param_1 + 0x88) - iVar1 >> 2) <= param_2) {\n                    /* WARNING: Subroutine does not return */\n    FUN_000da200("../../gold/object.h",0x81f,"do_set_section_offset",param_3);\n  }" if (parenthesized_expression "((uint)(*(int *)(param_1 + 0x88) - iVar1 >> 2) <= param_2)" ( (binary_expression "(uint)(*(int *)(param_1 + 0x88) - iVar1 >> 2) <= param_2" (call_expression "(uint)(*(int *)(param_1 + 0x88) - iVar1 >> 2)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(int *)(param_1 + 0x88) - iVar1 >> 2)" ( (binary_expression "*(int *)(param_1 + 0x88) - iVar1 >> 2" (binary_expression "*(int *)(param_1 + 0x88) - iVar1" (pointer_expression "*(int *)(param_1 + 0x88)" * (cast_expression "(int *)(param_1 + 0x88)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x88)" ( (binary_expression "param_1 + 0x88" identifier + number_literal) )))) - identifier) >> number_literal) ))) <= identifier) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    FUN_000da200("../../gold/object.h",0x81f,"do_set_section_offset",param_3);\n  }" { comment (expression_statement "FUN_000da200("../../gold/object.h",0x81f,"do_set_section_offset",param_3);" (call_expression "FUN_000da200("../../gold/object.h",0x81f,"do_set_section_offset",param_3)" identifier (argument_list "("../../gold/object.h",0x81f,"do_set_section_offset",param_3)" ( (string_literal ""../../gold/object.h"" " string_content ") , number_literal , (string_literal ""do_set_section_offset"" " string_content ") , identifier ))) ;) })) (if_statement "if ((param_4 & param_3) != 0xffffffff) {\n    if (param_4 == 0) {\n      *(uint *)(iVar1 + param_2 * 4) = param_3;\n      return;\n    }\n                    /* WARNING: Subroutine does not return */\n    FUN_000da200("../../gold/gold.h",0xc0,"convert_types",param_4 & param_3);\n  }" if (parenthesized_expression "((param_4 & param_3) != 0xffffffff)" ( (binary_expression "(param_4 & param_3) != 0xffffffff" (parenthesized_expression "(param_4 & param_3)" ( (binary_expression "param_4 & param_3" identifier & identifier) )) != number_literal) )) (compound_statement "{\n    if (param_4 == 0) {\n      *(uint *)(iVar1 + param_2 * 4) = param_3;\n      return;\n    }\n                    /* WARNING: Subroutine does not return */\n    FUN_000da200("../../gold/gold.h",0xc0,"convert_types",param_4 & param_3);\n  }" { (if_statement "if (param_4 == 0) {\n      *(uint *)(iVar1 + param_2 * 4) = param_3;\n      return;\n    }" if (parenthesized_expression "(param_4 == 0)" ( (binary_expression "param_4 == 0" identifier == number_literal) )) (compound_statement "{\n      *(uint *)(iVar1 + param_2 * 4) = param_3;\n      return;\n    }" { (expression_statement "*(uint *)(iVar1 + param_2 * 4) = param_3;" (assignment_expression "*(uint *)(iVar1 + param_2 * 4) = param_3" (pointer_expression "*(uint *)(iVar1 + param_2 * 4)" * (cast_expression "(uint *)(iVar1 + param_2 * 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + param_2 * 4)" ( (binary_expression "iVar1 + param_2 * 4" identifier + (binary_expression "param_2 * 4" identifier * number_literal)) )))) = identifier) ;) (return_statement "return;" return ;) })) comment (expression_statement "FUN_000da200("../../gold/gold.h",0xc0,"convert_types",param_4 & param_3);" (call_expression "FUN_000da200("../../gold/gold.h",0xc0,"convert_types",param_4 & param_3)" identifier (argument_list "("../../gold/gold.h",0xc0,"convert_types",param_4 & param_3)" ( (string_literal ""../../gold/gold.h"" " string_content ") , number_literal , (string_literal ""convert_types"" " string_content ") , (binary_expression "param_4 & param_3" identifier & identifier) ))) ;) })) (expression_statement "*(undefined4 *)(iVar1 + param_2 * 4) = 0xffffffff;" (assignment_expression "*(undefined4 *)(iVar1 + param_2 * 4) = 0xffffffff" (pointer_expression "*(undefined4 *)(iVar1 + param_2 * 4)" * (cast_expression "(undefined4 *)(iVar1 + param_2 * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + param_2 * 4)" ( (binary_expression "iVar1 + param_2 * 4" identifier + (binary_expression "param_2 * 4" identifier * number_literal)) )))) = number_literal) ;) (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 do_set_section_offset(Sized_relobj<32,_false> * this, uint shndx,\n   uint64_t off) */\n\nvoid __thiscall\ngold::Sized_relobj<32,_false>::do_set_section_offset\n          (Sized_relobj<32,_false> *this,uint shndx,uint64_t off)\n\n{\n}\n\n" comment comment (ERROR "void __thiscall\ngold::Sized_relobj<32,_false>::do_set_section_offset\n          (Sized_relobj<32,_false> *this,uint shndx,uint64_t off)" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::" identifier : :) identifier (ERROR "<32" < number_literal) , (ERROR "_false>::" identifier > : :) (function_declarator "do_set_section_offset\n          (Sized_relobj<32,_false> *this,uint shndx,uint64_t off)" identifier (parameter_list "(Sized_relobj<32,_false> *this,uint shndx,uint64_t off)" ( (parameter_declaration "Sized_relobj" type_identifier) (ERROR "<32" < number_literal) , (parameter_declaration "_false> *this" type_identifier (ERROR ">" >) (pointer_declarator "*this" * identifier)) , (parameter_declaration "uint shndx" type_identifier identifier) , (parameter_declaration "uint64_t off" primitive_type identifier) )))) (compound_statement "{\n}" { }))
(translation_unit "void FUN_000a5a20(int param_1,uint param_2,uint param_3,uint param_4)\n\n{\n  int iVar1;\n  \n  iVar1 = *(int *)(param_1 + 0x84);\n  if ((uint)(*(int *)(param_1 + 0x88) - iVar1 >> 2) <= param_2) {\n                    \n    FUN_000da200("../../gold/object.h",0x81f,"do_set_section_offset",param_3);\n  }\n  if ((param_4 & param_3) != 0xffffffff) {\n    if (param_4 == 0) {\n      *(uint *)(iVar1 + param_2 * 4) = param_3;\n      return;\n    }\n                    \n    FUN_000da200("../../gold/gold.h",0xc0,"convert_types",param_4 & param_3);\n  }\n  *(undefined4 *)(iVar1 + param_2 * 4) = 0xffffffff;\n  return;\n}\n\n" (function_definition "void FUN_000a5a20(int param_1,uint param_2,uint param_3,uint param_4)\n\n{\n  int iVar1;\n  \n  iVar1 = *(int *)(param_1 + 0x84);\n  if ((uint)(*(int *)(param_1 + 0x88) - iVar1 >> 2) <= param_2) {\n                    \n    FUN_000da200("../../gold/object.h",0x81f,"do_set_section_offset",param_3);\n  }\n  if ((param_4 & param_3) != 0xffffffff) {\n    if (param_4 == 0) {\n      *(uint *)(iVar1 + param_2 * 4) = param_3;\n      return;\n    }\n                    \n    FUN_000da200("../../gold/gold.h",0xc0,"convert_types",param_4 & param_3);\n  }\n  *(undefined4 *)(iVar1 + param_2 * 4) = 0xffffffff;\n  return;\n}" primitive_type (function_declarator "FUN_000a5a20(int param_1,uint param_2,uint param_3,uint param_4)" identifier (parameter_list "(int param_1,uint param_2,uint param_3,uint param_4)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "uint param_2" type_identifier identifier) , (parameter_declaration "uint param_3" type_identifier identifier) , (parameter_declaration "uint param_4" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = *(int *)(param_1 + 0x84);\n  if ((uint)(*(int *)(param_1 + 0x88) - iVar1 >> 2) <= param_2) {\n                    \n    FUN_000da200("../../gold/object.h",0x81f,"do_set_section_offset",param_3);\n  }\n  if ((param_4 & param_3) != 0xffffffff) {\n    if (param_4 == 0) {\n      *(uint *)(iVar1 + param_2 * 4) = param_3;\n      return;\n    }\n                    \n    FUN_000da200("../../gold/gold.h",0xc0,"convert_types",param_4 & param_3);\n  }\n  *(undefined4 *)(iVar1 + param_2 * 4) = 0xffffffff;\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = *(int *)(param_1 + 0x84);" (assignment_expression "iVar1 = *(int *)(param_1 + 0x84)" identifier = (pointer_expression "*(int *)(param_1 + 0x84)" * (cast_expression "(int *)(param_1 + 0x84)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x84)" ( (binary_expression "param_1 + 0x84" identifier + number_literal) ))))) ;) (if_statement "if ((uint)(*(int *)(param_1 + 0x88) - iVar1 >> 2) <= param_2) {\n                    \n    FUN_000da200("../../gold/object.h",0x81f,"do_set_section_offset",param_3);\n  }" if (parenthesized_expression "((uint)(*(int *)(param_1 + 0x88) - iVar1 >> 2) <= param_2)" ( (binary_expression "(uint)(*(int *)(param_1 + 0x88) - iVar1 >> 2) <= param_2" (call_expression "(uint)(*(int *)(param_1 + 0x88) - iVar1 >> 2)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(int *)(param_1 + 0x88) - iVar1 >> 2)" ( (binary_expression "*(int *)(param_1 + 0x88) - iVar1 >> 2" (binary_expression "*(int *)(param_1 + 0x88) - iVar1" (pointer_expression "*(int *)(param_1 + 0x88)" * (cast_expression "(int *)(param_1 + 0x88)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x88)" ( (binary_expression "param_1 + 0x88" identifier + number_literal) )))) - identifier) >> number_literal) ))) <= identifier) )) (compound_statement "{\n                    \n    FUN_000da200("../../gold/object.h",0x81f,"do_set_section_offset",param_3);\n  }" { (expression_statement "FUN_000da200("../../gold/object.h",0x81f,"do_set_section_offset",param_3);" (call_expression "FUN_000da200("../../gold/object.h",0x81f,"do_set_section_offset",param_3)" identifier (argument_list "("../../gold/object.h",0x81f,"do_set_section_offset",param_3)" ( (string_literal ""../../gold/object.h"" " string_content ") , number_literal , (string_literal ""do_set_section_offset"" " string_content ") , identifier ))) ;) })) (if_statement "if ((param_4 & param_3) != 0xffffffff) {\n    if (param_4 == 0) {\n      *(uint *)(iVar1 + param_2 * 4) = param_3;\n      return;\n    }\n                    \n    FUN_000da200("../../gold/gold.h",0xc0,"convert_types",param_4 & param_3);\n  }" if (parenthesized_expression "((param_4 & param_3) != 0xffffffff)" ( (binary_expression "(param_4 & param_3) != 0xffffffff" (parenthesized_expression "(param_4 & param_3)" ( (binary_expression "param_4 & param_3" identifier & identifier) )) != number_literal) )) (compound_statement "{\n    if (param_4 == 0) {\n      *(uint *)(iVar1 + param_2 * 4) = param_3;\n      return;\n    }\n                    \n    FUN_000da200("../../gold/gold.h",0xc0,"convert_types",param_4 & param_3);\n  }" { (if_statement "if (param_4 == 0) {\n      *(uint *)(iVar1 + param_2 * 4) = param_3;\n      return;\n    }" if (parenthesized_expression "(param_4 == 0)" ( (binary_expression "param_4 == 0" identifier == number_literal) )) (compound_statement "{\n      *(uint *)(iVar1 + param_2 * 4) = param_3;\n      return;\n    }" { (expression_statement "*(uint *)(iVar1 + param_2 * 4) = param_3;" (assignment_expression "*(uint *)(iVar1 + param_2 * 4) = param_3" (pointer_expression "*(uint *)(iVar1 + param_2 * 4)" * (cast_expression "(uint *)(iVar1 + param_2 * 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + param_2 * 4)" ( (binary_expression "iVar1 + param_2 * 4" identifier + (binary_expression "param_2 * 4" identifier * number_literal)) )))) = identifier) ;) (return_statement "return;" return ;) })) (expression_statement "FUN_000da200("../../gold/gold.h",0xc0,"convert_types",param_4 & param_3);" (call_expression "FUN_000da200("../../gold/gold.h",0xc0,"convert_types",param_4 & param_3)" identifier (argument_list "("../../gold/gold.h",0xc0,"convert_types",param_4 & param_3)" ( (string_literal ""../../gold/gold.h"" " string_content ") , number_literal , (string_literal ""convert_types"" " string_content ") , (binary_expression "param_4 & param_3" identifier & identifier) ))) ;) })) (expression_statement "*(undefined4 *)(iVar1 + param_2 * 4) = 0xffffffff;" (assignment_expression "*(undefined4 *)(iVar1 + param_2 * 4) = 0xffffffff" (pointer_expression "*(undefined4 *)(iVar1 + param_2 * 4)" * (cast_expression "(undefined4 *)(iVar1 + param_2 * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + param_2 * 4)" ( (binary_expression "iVar1 + param_2 * 4" identifier + (binary_expression "param_2 * 4" identifier * number_literal)) )))) = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE 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 (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) - IDENT) >> LIT) ))) <= IDENT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , IDENT ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & IDENT) )) != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))) = IDENT) ;) (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , (binary_expression IDENT & IDENT) ))) ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))) = LIT) ;) (return_statement return ;) })))
(function_definition "void FUN_000a5a20(int param_1,uint param_2,uint param_3,uint param_4)\n\n{\n  int iVar1;\n  \n  iVar1 = *(int *)(param_1 + 0x84);\n  if ((uint)(*(int *)(param_1 + 0x88) - iVar1 >> 2) <= param_2) {\n                    \n    FUN_000da200("../../gold/object.h",0x81f,"do_set_section_offset",param_3);\n  }\n  if ((param_4 & param_3) != 0xffffffff) {\n    if (param_4 == 0) {\n      *(uint *)(iVar1 + param_2 * 4) = param_3;\n      return;\n    }\n                    \n    FUN_000da200("../../gold/gold.h",0xc0,"convert_types",param_4 & param_3);\n  }\n  *(undefined4 *)(iVar1 + param_2 * 4) = 0xffffffff;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_000a5a20(int param_1,uint param_2,uint param_3,uint param_4)" (identifier "FUN_000a5a20") (parameter_list "(int param_1,uint param_2,uint param_3,uint param_4)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "uint param_2" (type_identifier "uint") (identifier "param_2")) (, ",") (parameter_declaration "uint param_3" (type_identifier "uint") (identifier "param_3")) (, ",") (parameter_declaration "uint param_4" (type_identifier "uint") (identifier "param_4")) () ")"))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = *(int *)(param_1 + 0x84);\n  if ((uint)(*(int *)(param_1 + 0x88) - iVar1 >> 2) <= param_2) {\n                    \n    FUN_000da200("../../gold/object.h",0x81f,"do_set_section_offset",param_3);\n  }\n  if ((param_4 & param_3) != 0xffffffff) {\n    if (param_4 == 0) {\n      *(uint *)(iVar1 + param_2 * 4) = param_3;\n      return;\n    }\n                    \n    FUN_000da200("../../gold/gold.h",0xc0,"convert_types",param_4 & param_3);\n  }\n  *(undefined4 *)(iVar1 + param_2 * 4) = 0xffffffff;\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (expression_statement "iVar1 = *(int *)(param_1 + 0x84);" (assignment_expression "iVar1 = *(int *)(param_1 + 0x84)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(param_1 + 0x84)" (* "*") (cast_expression "(int *)(param_1 + 0x84)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x84)" (( "(") (binary_expression "param_1 + 0x84" (identifier "param_1") (+ "+") (number_literal "0x84")) () ")"))))) (; ";")) (if_statement "if ((uint)(*(int *)(param_1 + 0x88) - iVar1 >> 2) <= param_2) {\n                    \n    FUN_000da200("../../gold/object.h",0x81f,"do_set_section_offset",param_3);\n  }" (if "if") (parenthesized_expression "((uint)(*(int *)(param_1 + 0x88) - iVar1 >> 2) <= param_2)" (( "(") (binary_expression "(uint)(*(int *)(param_1 + 0x88) - iVar1 >> 2) <= param_2" (call_expression "(uint)(*(int *)(param_1 + 0x88) - iVar1 >> 2)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(*(int *)(param_1 + 0x88) - iVar1 >> 2)" (( "(") (binary_expression "*(int *)(param_1 + 0x88) - iVar1 >> 2" (binary_expression "*(int *)(param_1 + 0x88) - iVar1" (pointer_expression "*(int *)(param_1 + 0x88)" (* "*") (cast_expression "(int *)(param_1 + 0x88)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x88)" (( "(") (binary_expression "param_1 + 0x88" (identifier "param_1") (+ "+") (number_literal "0x88")) () ")")))) (- "-") (identifier "iVar1")) (>> ">>") (number_literal "2")) () ")"))) (<= "<=") (identifier "param_2")) () ")")) (compound_statement "{\n                    \n    FUN_000da200("../../gold/object.h",0x81f,"do_set_section_offset",param_3);\n  }" ({ "{") (expression_statement "FUN_000da200("../../gold/object.h",0x81f,"do_set_section_offset",param_3);" (call_expression "FUN_000da200("../../gold/object.h",0x81f,"do_set_section_offset",param_3)" (identifier "FUN_000da200") (argument_list "("../../gold/object.h",0x81f,"do_set_section_offset",param_3)" (( "(") (string_literal ""../../gold/object.h"" (" """) (string_content "../../gold/object.h") (" """)) (, ",") (number_literal "0x81f") (, ",") (string_literal ""do_set_section_offset"" (" """) (string_content "do_set_section_offset") (" """)) (, ",") (identifier "param_3") () ")"))) (; ";")) (} "}"))) (if_statement "if ((param_4 & param_3) != 0xffffffff) {\n    if (param_4 == 0) {\n      *(uint *)(iVar1 + param_2 * 4) = param_3;\n      return;\n    }\n                    \n    FUN_000da200("../../gold/gold.h",0xc0,"convert_types",param_4 & param_3);\n  }" (if "if") (parenthesized_expression "((param_4 & param_3) != 0xffffffff)" (( "(") (binary_expression "(param_4 & param_3) != 0xffffffff" (parenthesized_expression "(param_4 & param_3)" (( "(") (binary_expression "param_4 & param_3" (identifier "param_4") (& "&") (identifier "param_3")) () ")")) (!= "!=") (number_literal "0xffffffff")) () ")")) (compound_statement "{\n    if (param_4 == 0) {\n      *(uint *)(iVar1 + param_2 * 4) = param_3;\n      return;\n    }\n                    \n    FUN_000da200("../../gold/gold.h",0xc0,"convert_types",param_4 & param_3);\n  }" ({ "{") (if_statement "if (param_4 == 0) {\n      *(uint *)(iVar1 + param_2 * 4) = param_3;\n      return;\n    }" (if "if") (parenthesized_expression "(param_4 == 0)" (( "(") (binary_expression "param_4 == 0" (identifier "param_4") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      *(uint *)(iVar1 + param_2 * 4) = param_3;\n      return;\n    }" ({ "{") (expression_statement "*(uint *)(iVar1 + param_2 * 4) = param_3;" (assignment_expression "*(uint *)(iVar1 + param_2 * 4) = param_3" (pointer_expression "*(uint *)(iVar1 + param_2 * 4)" (* "*") (cast_expression "(uint *)(iVar1 + param_2 * 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + param_2 * 4)" (( "(") (binary_expression "iVar1 + param_2 * 4" (identifier "iVar1") (+ "+") (binary_expression "param_2 * 4" (identifier "param_2") (* "*") (number_literal "4"))) () ")")))) (= "=") (identifier "param_3")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "FUN_000da200("../../gold/gold.h",0xc0,"convert_types",param_4 & param_3);" (call_expression "FUN_000da200("../../gold/gold.h",0xc0,"convert_types",param_4 & param_3)" (identifier "FUN_000da200") (argument_list "("../../gold/gold.h",0xc0,"convert_types",param_4 & param_3)" (( "(") (string_literal ""../../gold/gold.h"" (" """) (string_content "../../gold/gold.h") (" """)) (, ",") (number_literal "0xc0") (, ",") (string_literal ""convert_types"" (" """) (string_content "convert_types") (" """)) (, ",") (binary_expression "param_4 & param_3" (identifier "param_4") (& "&") (identifier "param_3")) () ")"))) (; ";")) (} "}"))) (expression_statement "*(undefined4 *)(iVar1 + param_2 * 4) = 0xffffffff;" (assignment_expression "*(undefined4 *)(iVar1 + param_2 * 4) = 0xffffffff" (pointer_expression "*(undefined4 *)(iVar1 + param_2 * 4)" (* "*") (cast_expression "(undefined4 *)(iVar1 + param_2 * 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + param_2 * 4)" (( "(") (binary_expression "iVar1 + param_2 * 4" (identifier "iVar1") (+ "+") (binary_expression "param_2 * 4" (identifier "param_2") (* "*") (number_literal "4"))) () ")")))) (= "=") (number_literal "0xffffffff")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: void do_set_section_offset(Sized_relobj<32,_false> * this, uint shndx,
   uint64_t off) */

void __thiscall
gold::Sized_relobj<32,_false>::do_set_section_offset
          (Sized_relobj<32,_false> *this,uint shndx,uint64_t off)

{
}


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

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

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

{
  int iVar1;
  
  iVar1 = *(int *)(param_1 + 0x84);
  if ((uint)(*(int *)(param_1 + 0x88) - iVar1 >> 2) <= param_2) {
                    /* WARNING: Subroutine does not return */
    FUN_000da200("../../gold/object.h",0x81f,"do_set_section_offset",param_3);
  }
  if ((param_4 & param_3) != 0xffffffff) {
    if (param_4 == 0) {
      *(uint *)(iVar1 + param_2 * 4) = param_3;
      return;
    }
                    /* WARNING: Subroutine does not return */
    FUN_000da200("../../gold/gold.h",0xc0,"convert_types",param_4 & param_3);
  }
  *(undefined4 *)(iVar1 + param_2 * 4) = 0xffffffff;
  return;
}

