
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: uchar * do_get_output_view(Sized_relobj_file<32,_true> * this, uint
   shndx, section_size_type * plen) */

uchar * __thiscall
gold::Sized_relobj_file<32,_true>::do_get_output_view
          (Sized_relobj_file<32,_true> *this,uint shndx,section_size_type *plen)

{
}



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

undefined4 FUN_003189c0(int param_1,uint param_2,undefined4 *param_3)

{
  undefined4 *puVar1;
  int *piVar2;
  undefined4 uVar3;
  uint uVar4;
  
  piVar2 = *(int **)(param_1 + 0x138);
  if (piVar2 == (int *)0x0) {
                    /* WARNING: Subroutine does not return */
    FUN_002446e0("../../gold/reloc.cc",0x40b,"do_get_output_view",param_2);
  }
  uVar4 = (piVar2[1] - *piVar2 >> 3) * -0x55555555;
  if (param_2 < uVar4) {
    puVar1 = (undefined4 *)(*piVar2 + param_2 * 0x18);
    uVar3 = *puVar1;
    *param_3 = puVar1[4];
    return uVar3;
  }
                    /* WARNING: Subroutine does not return */
  FUN_002446e0("../../gold/reloc.cc",0x40c,"do_get_output_view",uVar4);
}


PUSH EBX
CALL 0x00050b50
ADD EBX,0x2d163a
SUB ESP,0x8
MOV EAX,dword ptr [ESP + 0x10]
MOV EDX,dword ptr [ESP + 0x14]
MOV EAX,dword ptr [EAX + 0x138]
TEST EAX,EAX
JZ 0x00318a0b
MOV ECX,dword ptr [EAX]
MOV EAX,dword ptr [EAX + 0x4]
SUB EAX,ECX
SAR EAX,0x3
IMUL EAX,EAX,-0x55555555
CMP EDX,EAX
JNC 0x00318a24
LEA EAX,[EDX + EDX*0x2]
MOV EDX,dword ptr [ESP + 0x18]
LEA EAX,[ECX + EAX*0x8]
MOV ECX,dword ptr [EAX + 0x10]
MOV EAX,dword ptr [EAX]
MOV dword ptr [EDX],ECX
ADD ESP,0x8
POP EBX
RET
LEA EAX,[EBX + 0xffeabf24]
PUSH EDX
PUSH EAX
LEA EAX,[EBX + 0xffeab827]
PUSH 0x40b
PUSH EAX
CALL 0x002446e0
PUSH EAX
LEA EAX,[EBX + 0xffeabf24]
PUSH EAX
LEA EAX,[EBX + 0xffeab827]
PUSH 0x40c
PUSH EAX
CALL 0x002446e0
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined4 FUN_003189c0(int param_1,uint param_2,undefined4 *param_3)\n\n{\n  undefined4 *puVar1;\n  int *piVar2;\n  undefined4 uVar3;\n  uint uVar4;\n  \n  piVar2 = *(int **)(param_1 + 0x138);\n  if (piVar2 == (int *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_002446e0("../../gold/reloc.cc",0x40b,"do_get_output_view",param_2);\n  }\n  uVar4 = (piVar2[1] - *piVar2 >> 3) * -0x55555555;\n  if (param_2 < uVar4) {\n    puVar1 = (undefined4 *)(*piVar2 + param_2 * 0x18);\n    uVar3 = *puVar1;\n    *param_3 = puVar1[4];\n    return uVar3;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_002446e0("../../gold/reloc.cc",0x40c,"do_get_output_view",uVar4);\n}\n\n" comment (function_definition "undefined4 FUN_003189c0(int param_1,uint param_2,undefined4 *param_3)\n\n{\n  undefined4 *puVar1;\n  int *piVar2;\n  undefined4 uVar3;\n  uint uVar4;\n  \n  piVar2 = *(int **)(param_1 + 0x138);\n  if (piVar2 == (int *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_002446e0("../../gold/reloc.cc",0x40b,"do_get_output_view",param_2);\n  }\n  uVar4 = (piVar2[1] - *piVar2 >> 3) * -0x55555555;\n  if (param_2 < uVar4) {\n    puVar1 = (undefined4 *)(*piVar2 + param_2 * 0x18);\n    uVar3 = *puVar1;\n    *param_3 = puVar1[4];\n    return uVar3;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_002446e0("../../gold/reloc.cc",0x40c,"do_get_output_view",uVar4);\n}" type_identifier (function_declarator "FUN_003189c0(int param_1,uint param_2,undefined4 *param_3)" identifier (parameter_list "(int param_1,uint param_2,undefined4 *param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "uint param_2" type_identifier identifier) , (parameter_declaration "undefined4 *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  undefined4 *puVar1;\n  int *piVar2;\n  undefined4 uVar3;\n  uint uVar4;\n  \n  piVar2 = *(int **)(param_1 + 0x138);\n  if (piVar2 == (int *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_002446e0("../../gold/reloc.cc",0x40b,"do_get_output_view",param_2);\n  }\n  uVar4 = (piVar2[1] - *piVar2 >> 3) * -0x55555555;\n  if (param_2 < uVar4) {\n    puVar1 = (undefined4 *)(*piVar2 + param_2 * 0x18);\n    uVar3 = *puVar1;\n    *param_3 = puVar1[4];\n    return uVar3;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_002446e0("../../gold/reloc.cc",0x40c,"do_get_output_view",uVar4);\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (expression_statement "piVar2 = *(int **)(param_1 + 0x138);" (assignment_expression "piVar2 = *(int **)(param_1 + 0x138)" identifier = (pointer_expression "*(int **)(param_1 + 0x138)" * (cast_expression "(int **)(param_1 + 0x138)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x138)" ( (binary_expression "param_1 + 0x138" identifier + number_literal) ))))) ;) (if_statement "if (piVar2 == (int *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_002446e0("../../gold/reloc.cc",0x40b,"do_get_output_view",param_2);\n  }" if (parenthesized_expression "(piVar2 == (int *)0x0)" ( (binary_expression "piVar2 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    FUN_002446e0("../../gold/reloc.cc",0x40b,"do_get_output_view",param_2);\n  }" { comment (expression_statement "FUN_002446e0("../../gold/reloc.cc",0x40b,"do_get_output_view",param_2);" (call_expression "FUN_002446e0("../../gold/reloc.cc",0x40b,"do_get_output_view",param_2)" identifier (argument_list "("../../gold/reloc.cc",0x40b,"do_get_output_view",param_2)" ( (string_literal ""../../gold/reloc.cc"" " string_content ") , number_literal , (string_literal ""do_get_output_view"" " string_content ") , identifier ))) ;) })) (expression_statement "uVar4 = (piVar2[1] - *piVar2 >> 3) * -0x55555555;" (assignment_expression "uVar4 = (piVar2[1] - *piVar2 >> 3) * -0x55555555" identifier = (binary_expression "(piVar2[1] - *piVar2 >> 3) * -0x55555555" (parenthesized_expression "(piVar2[1] - *piVar2 >> 3)" ( (binary_expression "piVar2[1] - *piVar2 >> 3" (binary_expression "piVar2[1] - *piVar2" (subscript_expression "piVar2[1]" identifier [ number_literal ]) - (pointer_expression "*piVar2" * identifier)) >> number_literal) )) * number_literal)) ;) (if_statement "if (param_2 < uVar4) {\n    puVar1 = (undefined4 *)(*piVar2 + param_2 * 0x18);\n    uVar3 = *puVar1;\n    *param_3 = puVar1[4];\n    return uVar3;\n  }" if (parenthesized_expression "(param_2 < uVar4)" ( (binary_expression "param_2 < uVar4" identifier < identifier) )) (compound_statement "{\n    puVar1 = (undefined4 *)(*piVar2 + param_2 * 0x18);\n    uVar3 = *puVar1;\n    *param_3 = puVar1[4];\n    return uVar3;\n  }" { (expression_statement "puVar1 = (undefined4 *)(*piVar2 + param_2 * 0x18);" (assignment_expression "puVar1 = (undefined4 *)(*piVar2 + param_2 * 0x18)" identifier = (cast_expression "(undefined4 *)(*piVar2 + param_2 * 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar2 + param_2 * 0x18)" ( (binary_expression "*piVar2 + param_2 * 0x18" (pointer_expression "*piVar2" * identifier) + (binary_expression "param_2 * 0x18" identifier * number_literal)) )))) ;) (expression_statement "uVar3 = *puVar1;" (assignment_expression "uVar3 = *puVar1" identifier = (pointer_expression "*puVar1" * identifier)) ;) (expression_statement "*param_3 = puVar1[4];" (assignment_expression "*param_3 = puVar1[4]" (pointer_expression "*param_3" * identifier) = (subscript_expression "puVar1[4]" identifier [ number_literal ])) ;) (return_statement "return uVar3;" return identifier ;) })) comment (expression_statement "FUN_002446e0("../../gold/reloc.cc",0x40c,"do_get_output_view",uVar4);" (call_expression "FUN_002446e0("../../gold/reloc.cc",0x40c,"do_get_output_view",uVar4)" identifier (argument_list "("../../gold/reloc.cc",0x40c,"do_get_output_view",uVar4)" ( (string_literal ""../../gold/reloc.cc"" " string_content ") , number_literal , (string_literal ""do_get_output_view"" " string_content ") , identifier ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* DWARF original prototype: uchar * do_get_output_view(Sized_relobj_file<32,_true> * this, uint\n   shndx, section_size_type * plen) */\n\nuchar * __thiscall\ngold::Sized_relobj_file<32,_true>::do_get_output_view\n          (Sized_relobj_file<32,_true> *this,uint shndx,section_size_type *plen)\n\n{\n}\n\n" comment comment (ERROR "uchar * __thiscall\ngold::Sized_relobj_file<32,_true>::do_get_output_view\n          (Sized_relobj_file<32,_true> *this,uint shndx,section_size_type *plen)" (binary_expression "uchar * __thiscall\ngold::Sized_relobj_file<32,_true>::do_get_output_view\n          (Sized_relobj_file<32,_true> *this,uint shndx,section_size_type *plen)" (binary_expression "uchar * __thiscall\ngold::Sized_relobj_file<32" (binary_expression "uchar * __thiscall" identifier * identifier) (ERROR "gold::Sized_relobj_file" identifier : : identifier) < number_literal) (ERROR ",_true" , identifier) > (ERROR "::" : :) (call_expression "do_get_output_view\n          (Sized_relobj_file<32,_true> *this,uint shndx,section_size_type *plen)" identifier (argument_list "(Sized_relobj_file<32,_true> *this,uint shndx,section_size_type *plen)" ( (binary_expression "Sized_relobj_file<32" identifier < number_literal) , (binary_expression "_true> *this" identifier > (pointer_expression "*this" * identifier)) , (ERROR "uint" identifier) identifier , (binary_expression "section_size_type *plen" identifier * identifier) ))))) (compound_statement "{\n}" { }))
(translation_unit "undefined4 FUN_003189c0(int param_1,uint param_2,undefined4 *param_3)\n\n{\n  undefined4 *puVar1;\n  int *piVar2;\n  undefined4 uVar3;\n  uint uVar4;\n  \n  piVar2 = *(int **)(param_1 + 0x138);\n  if (piVar2 == (int *)0x0) {\n                    \n    FUN_002446e0("../../gold/reloc.cc",0x40b,"do_get_output_view",param_2);\n  }\n  uVar4 = (piVar2[1] - *piVar2 >> 3) * -0x55555555;\n  if (param_2 < uVar4) {\n    puVar1 = (undefined4 *)(*piVar2 + param_2 * 0x18);\n    uVar3 = *puVar1;\n    *param_3 = puVar1[4];\n    return uVar3;\n  }\n                    \n  FUN_002446e0("../../gold/reloc.cc",0x40c,"do_get_output_view",uVar4);\n}\n\n" (function_definition "undefined4 FUN_003189c0(int param_1,uint param_2,undefined4 *param_3)\n\n{\n  undefined4 *puVar1;\n  int *piVar2;\n  undefined4 uVar3;\n  uint uVar4;\n  \n  piVar2 = *(int **)(param_1 + 0x138);\n  if (piVar2 == (int *)0x0) {\n                    \n    FUN_002446e0("../../gold/reloc.cc",0x40b,"do_get_output_view",param_2);\n  }\n  uVar4 = (piVar2[1] - *piVar2 >> 3) * -0x55555555;\n  if (param_2 < uVar4) {\n    puVar1 = (undefined4 *)(*piVar2 + param_2 * 0x18);\n    uVar3 = *puVar1;\n    *param_3 = puVar1[4];\n    return uVar3;\n  }\n                    \n  FUN_002446e0("../../gold/reloc.cc",0x40c,"do_get_output_view",uVar4);\n}" type_identifier (function_declarator "FUN_003189c0(int param_1,uint param_2,undefined4 *param_3)" identifier (parameter_list "(int param_1,uint param_2,undefined4 *param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "uint param_2" type_identifier identifier) , (parameter_declaration "undefined4 *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  undefined4 *puVar1;\n  int *piVar2;\n  undefined4 uVar3;\n  uint uVar4;\n  \n  piVar2 = *(int **)(param_1 + 0x138);\n  if (piVar2 == (int *)0x0) {\n                    \n    FUN_002446e0("../../gold/reloc.cc",0x40b,"do_get_output_view",param_2);\n  }\n  uVar4 = (piVar2[1] - *piVar2 >> 3) * -0x55555555;\n  if (param_2 < uVar4) {\n    puVar1 = (undefined4 *)(*piVar2 + param_2 * 0x18);\n    uVar3 = *puVar1;\n    *param_3 = puVar1[4];\n    return uVar3;\n  }\n                    \n  FUN_002446e0("../../gold/reloc.cc",0x40c,"do_get_output_view",uVar4);\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (expression_statement "piVar2 = *(int **)(param_1 + 0x138);" (assignment_expression "piVar2 = *(int **)(param_1 + 0x138)" identifier = (pointer_expression "*(int **)(param_1 + 0x138)" * (cast_expression "(int **)(param_1 + 0x138)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x138)" ( (binary_expression "param_1 + 0x138" identifier + number_literal) ))))) ;) (if_statement "if (piVar2 == (int *)0x0) {\n                    \n    FUN_002446e0("../../gold/reloc.cc",0x40b,"do_get_output_view",param_2);\n  }" if (parenthesized_expression "(piVar2 == (int *)0x0)" ( (binary_expression "piVar2 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    \n    FUN_002446e0("../../gold/reloc.cc",0x40b,"do_get_output_view",param_2);\n  }" { (expression_statement "FUN_002446e0("../../gold/reloc.cc",0x40b,"do_get_output_view",param_2);" (call_expression "FUN_002446e0("../../gold/reloc.cc",0x40b,"do_get_output_view",param_2)" identifier (argument_list "("../../gold/reloc.cc",0x40b,"do_get_output_view",param_2)" ( (string_literal ""../../gold/reloc.cc"" " string_content ") , number_literal , (string_literal ""do_get_output_view"" " string_content ") , identifier ))) ;) })) (expression_statement "uVar4 = (piVar2[1] - *piVar2 >> 3) * -0x55555555;" (assignment_expression "uVar4 = (piVar2[1] - *piVar2 >> 3) * -0x55555555" identifier = (binary_expression "(piVar2[1] - *piVar2 >> 3) * -0x55555555" (parenthesized_expression "(piVar2[1] - *piVar2 >> 3)" ( (binary_expression "piVar2[1] - *piVar2 >> 3" (binary_expression "piVar2[1] - *piVar2" (subscript_expression "piVar2[1]" identifier [ number_literal ]) - (pointer_expression "*piVar2" * identifier)) >> number_literal) )) * number_literal)) ;) (if_statement "if (param_2 < uVar4) {\n    puVar1 = (undefined4 *)(*piVar2 + param_2 * 0x18);\n    uVar3 = *puVar1;\n    *param_3 = puVar1[4];\n    return uVar3;\n  }" if (parenthesized_expression "(param_2 < uVar4)" ( (binary_expression "param_2 < uVar4" identifier < identifier) )) (compound_statement "{\n    puVar1 = (undefined4 *)(*piVar2 + param_2 * 0x18);\n    uVar3 = *puVar1;\n    *param_3 = puVar1[4];\n    return uVar3;\n  }" { (expression_statement "puVar1 = (undefined4 *)(*piVar2 + param_2 * 0x18);" (assignment_expression "puVar1 = (undefined4 *)(*piVar2 + param_2 * 0x18)" identifier = (cast_expression "(undefined4 *)(*piVar2 + param_2 * 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar2 + param_2 * 0x18)" ( (binary_expression "*piVar2 + param_2 * 0x18" (pointer_expression "*piVar2" * identifier) + (binary_expression "param_2 * 0x18" identifier * number_literal)) )))) ;) (expression_statement "uVar3 = *puVar1;" (assignment_expression "uVar3 = *puVar1" identifier = (pointer_expression "*puVar1" * identifier)) ;) (expression_statement "*param_3 = puVar1[4];" (assignment_expression "*param_3 = puVar1[4]" (pointer_expression "*param_3" * identifier) = (subscript_expression "puVar1[4]" identifier [ number_literal ])) ;) (return_statement "return uVar3;" return identifier ;) })) (expression_statement "FUN_002446e0("../../gold/reloc.cc",0x40c,"do_get_output_view",uVar4);" (call_expression "FUN_002446e0("../../gold/reloc.cc",0x40c,"do_get_output_view",uVar4)" identifier (argument_list "("../../gold/reloc.cc",0x40c,"do_get_output_view",uVar4)" ( (string_literal ""../../gold/reloc.cc"" " string_content ") , number_literal , (string_literal ""do_get_output_view"" " string_content ") , identifier ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) 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 = (binary_expression (parenthesized_expression ( (binary_expression (binary_expression (subscript_expression IDENT [ LIT ]) - (pointer_expression * IDENT)) >> LIT) )) * LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + (binary_expression IDENT * LIT)) )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (subscript_expression IDENT [ LIT ])) ;) (return_statement return IDENT ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , IDENT ))) ;) })))
(function_definition "undefined4 FUN_003189c0(int param_1,uint param_2,undefined4 *param_3)\n\n{\n  undefined4 *puVar1;\n  int *piVar2;\n  undefined4 uVar3;\n  uint uVar4;\n  \n  piVar2 = *(int **)(param_1 + 0x138);\n  if (piVar2 == (int *)0x0) {\n                    \n    FUN_002446e0("../../gold/reloc.cc",0x40b,"do_get_output_view",param_2);\n  }\n  uVar4 = (piVar2[1] - *piVar2 >> 3) * -0x55555555;\n  if (param_2 < uVar4) {\n    puVar1 = (undefined4 *)(*piVar2 + param_2 * 0x18);\n    uVar3 = *puVar1;\n    *param_3 = puVar1[4];\n    return uVar3;\n  }\n                    \n  FUN_002446e0("../../gold/reloc.cc",0x40c,"do_get_output_view",uVar4);\n}" (type_identifier "undefined4") (function_declarator "FUN_003189c0(int param_1,uint param_2,undefined4 *param_3)" (identifier "FUN_003189c0") (parameter_list "(int param_1,uint param_2,undefined4 *param_3)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "uint param_2" (type_identifier "uint") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 *param_3" (type_identifier "undefined4") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) () ")"))) (compound_statement "{\n  undefined4 *puVar1;\n  int *piVar2;\n  undefined4 uVar3;\n  uint uVar4;\n  \n  piVar2 = *(int **)(param_1 + 0x138);\n  if (piVar2 == (int *)0x0) {\n                    \n    FUN_002446e0("../../gold/reloc.cc",0x40b,"do_get_output_view",param_2);\n  }\n  uVar4 = (piVar2[1] - *piVar2 >> 3) * -0x55555555;\n  if (param_2 < uVar4) {\n    puVar1 = (undefined4 *)(*piVar2 + param_2 * 0x18);\n    uVar3 = *puVar1;\n    *param_3 = puVar1[4];\n    return uVar3;\n  }\n                    \n  FUN_002446e0("../../gold/reloc.cc",0x40c,"do_get_output_view",uVar4);\n}" ({ "{") (declaration "undefined4 *puVar1;" (type_identifier "undefined4") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "int *piVar2;" (primitive_type "int") (pointer_declarator "*piVar2" (* "*") (identifier "piVar2")) (; ";")) (declaration "undefined4 uVar3;" (type_identifier "undefined4") (identifier "uVar3") (; ";")) (declaration "uint uVar4;" (type_identifier "uint") (identifier "uVar4") (; ";")) (expression_statement "piVar2 = *(int **)(param_1 + 0x138);" (assignment_expression "piVar2 = *(int **)(param_1 + 0x138)" (identifier "piVar2") (= "=") (pointer_expression "*(int **)(param_1 + 0x138)" (* "*") (cast_expression "(int **)(param_1 + 0x138)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x138)" (( "(") (binary_expression "param_1 + 0x138" (identifier "param_1") (+ "+") (number_literal "0x138")) () ")"))))) (; ";")) (if_statement "if (piVar2 == (int *)0x0) {\n                    \n    FUN_002446e0("../../gold/reloc.cc",0x40b,"do_get_output_view",param_2);\n  }" (if "if") (parenthesized_expression "(piVar2 == (int *)0x0)" (( "(") (binary_expression "piVar2 == (int *)0x0" (identifier "piVar2") (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n                    \n    FUN_002446e0("../../gold/reloc.cc",0x40b,"do_get_output_view",param_2);\n  }" ({ "{") (expression_statement "FUN_002446e0("../../gold/reloc.cc",0x40b,"do_get_output_view",param_2);" (call_expression "FUN_002446e0("../../gold/reloc.cc",0x40b,"do_get_output_view",param_2)" (identifier "FUN_002446e0") (argument_list "("../../gold/reloc.cc",0x40b,"do_get_output_view",param_2)" (( "(") (string_literal ""../../gold/reloc.cc"" (" """) (string_content "../../gold/reloc.cc") (" """)) (, ",") (number_literal "0x40b") (, ",") (string_literal ""do_get_output_view"" (" """) (string_content "do_get_output_view") (" """)) (, ",") (identifier "param_2") () ")"))) (; ";")) (} "}"))) (expression_statement "uVar4 = (piVar2[1] - *piVar2 >> 3) * -0x55555555;" (assignment_expression "uVar4 = (piVar2[1] - *piVar2 >> 3) * -0x55555555" (identifier "uVar4") (= "=") (binary_expression "(piVar2[1] - *piVar2 >> 3) * -0x55555555" (parenthesized_expression "(piVar2[1] - *piVar2 >> 3)" (( "(") (binary_expression "piVar2[1] - *piVar2 >> 3" (binary_expression "piVar2[1] - *piVar2" (subscript_expression "piVar2[1]" (identifier "piVar2") ([ "[") (number_literal "1") (] "]")) (- "-") (pointer_expression "*piVar2" (* "*") (identifier "piVar2"))) (>> ">>") (number_literal "3")) () ")")) (* "*") (number_literal "-0x55555555"))) (; ";")) (if_statement "if (param_2 < uVar4) {\n    puVar1 = (undefined4 *)(*piVar2 + param_2 * 0x18);\n    uVar3 = *puVar1;\n    *param_3 = puVar1[4];\n    return uVar3;\n  }" (if "if") (parenthesized_expression "(param_2 < uVar4)" (( "(") (binary_expression "param_2 < uVar4" (identifier "param_2") (< "<") (identifier "uVar4")) () ")")) (compound_statement "{\n    puVar1 = (undefined4 *)(*piVar2 + param_2 * 0x18);\n    uVar3 = *puVar1;\n    *param_3 = puVar1[4];\n    return uVar3;\n  }" ({ "{") (expression_statement "puVar1 = (undefined4 *)(*piVar2 + param_2 * 0x18);" (assignment_expression "puVar1 = (undefined4 *)(*piVar2 + param_2 * 0x18)" (identifier "puVar1") (= "=") (cast_expression "(undefined4 *)(*piVar2 + param_2 * 0x18)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*piVar2 + param_2 * 0x18)" (( "(") (binary_expression "*piVar2 + param_2 * 0x18" (pointer_expression "*piVar2" (* "*") (identifier "piVar2")) (+ "+") (binary_expression "param_2 * 0x18" (identifier "param_2") (* "*") (number_literal "0x18"))) () ")")))) (; ";")) (expression_statement "uVar3 = *puVar1;" (assignment_expression "uVar3 = *puVar1" (identifier "uVar3") (= "=") (pointer_expression "*puVar1" (* "*") (identifier "puVar1"))) (; ";")) (expression_statement "*param_3 = puVar1[4];" (assignment_expression "*param_3 = puVar1[4]" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (= "=") (subscript_expression "puVar1[4]" (identifier "puVar1") ([ "[") (number_literal "4") (] "]"))) (; ";")) (return_statement "return uVar3;" (return "return") (identifier "uVar3") (; ";")) (} "}"))) (expression_statement "FUN_002446e0("../../gold/reloc.cc",0x40c,"do_get_output_view",uVar4);" (call_expression "FUN_002446e0("../../gold/reloc.cc",0x40c,"do_get_output_view",uVar4)" (identifier "FUN_002446e0") (argument_list "("../../gold/reloc.cc",0x40c,"do_get_output_view",uVar4)" (( "(") (string_literal ""../../gold/reloc.cc"" (" """) (string_content "../../gold/reloc.cc") (" """)) (, ",") (number_literal "0x40c") (, ",") (string_literal ""do_get_output_view"" (" """) (string_content "do_get_output_view") (" """)) (, ",") (identifier "uVar4") () ")"))) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: uchar * do_get_output_view(Sized_relobj_file<32,_true> * this, uint
   shndx, section_size_type * plen) */

uchar * __thiscall
gold::Sized_relobj_file<32,_true>::do_get_output_view
          (Sized_relobj_file<32,_true> *this,uint shndx,section_size_type *plen)

{
}


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

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

undefined4 MASKED(int param_1,uint param_2,undefined4 *param_3)

{
  undefined4 *puVar1;
  int *piVar2;
  undefined4 uVar3;
  uint uVar4;
  
  piVar2 = *(int **)(param_1 + 0x138);
  if (piVar2 == (int *)0x0) {
                    /* WARNING: Subroutine does not return */
    FUN_002446e0("../../gold/reloc.cc",0x40b,"do_get_output_view",param_2);
  }
  uVar4 = (piVar2[1] - *piVar2 >> 3) * -0x55555555;
  if (param_2 < uVar4) {
    puVar1 = (undefined4 *)(*piVar2 + param_2 * 0x18);
    uVar3 = *puVar1;
    *param_3 = puVar1[4];
    return uVar3;
  }
                    /* WARNING: Subroutine does not return */
  FUN_002446e0("../../gold/reloc.cc",0x40c,"do_get_output_view",uVar4);
}

