
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Enum "ELFOSABI": Some values do not have unique names */
/* DWARF original prototype: void do_plt_fde_location(Target * this, Output_data * plt, uchar *
   param_2, uint64_t * address, off_t * len) */

void __thiscall
gold::Target::do_plt_fde_location
          (Target *this,Output_data *plt,uchar *param_2,uint64_t *address,off_t *len)

{
}



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

void __regparm2
FUN_001fee50(undefined4 param_1,undefined4 param_2,undefined4 param_3,int param_4,undefined4 param_5
            ,undefined4 *param_6,undefined4 *param_7)

{
  undefined4 uVar1;
  
  if ((*(byte *)(param_4 + 0x1c) & 1) == 0) {
                    /* WARNING: Subroutine does not return */
    FUN_000da200("../../gold/output.h",0xc5,"address",param_2);
  }
  uVar1 = *(undefined4 *)(param_4 + 8);
  *param_6 = *(undefined4 *)(param_4 + 4);
  param_6[1] = uVar1;
  if ((*(byte *)(param_4 + 0x1c) & 2) != 0) {
    uVar1 = *(undefined4 *)(param_4 + 0x10);
    *param_7 = *(undefined4 *)(param_4 + 0xc);
    param_7[1] = uVar1;
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_000da200("../../gold/output.h",0xcf,"data_size",param_4);
}


PUSH EDI
PUSH ESI
PUSH EBX
MOV EAX,dword ptr [ESP + 0x14]
CALL 0x0003a210
ADD EBX,0x2151a4
TEST byte ptr [EAX + 0x1c],0x1
JZ 0x001fee90
MOV EDX,dword ptr [ESP + 0x1c]
MOV ESI,dword ptr [EAX + 0x4]
MOV EDI,dword ptr [EAX + 0x8]
MOV dword ptr [EDX],ESI
MOV dword ptr [EDX + 0x4],EDI
TEST byte ptr [EAX + 0x1c],0x2
JZ 0x001feea9
MOV EBX,dword ptr [EAX + 0x10]
MOV ECX,dword ptr [EAX + 0xc]
MOV EAX,dword ptr [ESP + 0x20]
MOV dword ptr [EAX],ECX
MOV dword ptr [EAX + 0x4],EBX
POP EBX
POP ESI
POP EDI
RET
LEA EAX,[EBX + 0xffef9c1c]
PUSH EDX
PUSH EAX
LEA EAX,[EBX + 0xffee2e5c]
PUSH 0xc5
PUSH EAX
CALL 0x000da200
PUSH EAX
LEA EAX,[EBX + 0xffef9c10]
PUSH EAX
LEA EAX,[EBX + 0xffee2e5c]
PUSH 0xcf
PUSH EAX
CALL 0x000da200
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid __regparm2\nFUN_001fee50(undefined4 param_1,undefined4 param_2,undefined4 param_3,int param_4,undefined4 param_5\n            ,undefined4 *param_6,undefined4 *param_7)\n\n{\n  undefined4 uVar1;\n  \n  if ((*(byte *)(param_4 + 0x1c) & 1) == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_000da200("../../gold/output.h",0xc5,"address",param_2);\n  }\n  uVar1 = *(undefined4 *)(param_4 + 8);\n  *param_6 = *(undefined4 *)(param_4 + 4);\n  param_6[1] = uVar1;\n  if ((*(byte *)(param_4 + 0x1c) & 2) != 0) {\n    uVar1 = *(undefined4 *)(param_4 + 0x10);\n    *param_7 = *(undefined4 *)(param_4 + 0xc);\n    param_7[1] = uVar1;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_000da200("../../gold/output.h",0xcf,"data_size",param_4);\n}\n\n" comment (function_definition "void __regparm2\nFUN_001fee50(undefined4 param_1,undefined4 param_2,undefined4 param_3,int param_4,undefined4 param_5\n            ,undefined4 *param_6,undefined4 *param_7)\n\n{\n  undefined4 uVar1;\n  \n  if ((*(byte *)(param_4 + 0x1c) & 1) == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_000da200("../../gold/output.h",0xc5,"address",param_2);\n  }\n  uVar1 = *(undefined4 *)(param_4 + 8);\n  *param_6 = *(undefined4 *)(param_4 + 4);\n  param_6[1] = uVar1;\n  if ((*(byte *)(param_4 + 0x1c) & 2) != 0) {\n    uVar1 = *(undefined4 *)(param_4 + 0x10);\n    *param_7 = *(undefined4 *)(param_4 + 0xc);\n    param_7[1] = uVar1;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_000da200("../../gold/output.h",0xcf,"data_size",param_4);\n}" primitive_type (ERROR "__regparm2" identifier) (function_declarator "FUN_001fee50(undefined4 param_1,undefined4 param_2,undefined4 param_3,int param_4,undefined4 param_5\n            ,undefined4 *param_6,undefined4 *param_7)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3,int param_4,undefined4 param_5\n            ,undefined4 *param_6,undefined4 *param_7)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "int param_4" primitive_type identifier) , (parameter_declaration "undefined4 param_5" type_identifier identifier) , (parameter_declaration "undefined4 *param_6" type_identifier (pointer_declarator "*param_6" * identifier)) , (parameter_declaration "undefined4 *param_7" type_identifier (pointer_declarator "*param_7" * identifier)) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  if ((*(byte *)(param_4 + 0x1c) & 1) == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_000da200("../../gold/output.h",0xc5,"address",param_2);\n  }\n  uVar1 = *(undefined4 *)(param_4 + 8);\n  *param_6 = *(undefined4 *)(param_4 + 4);\n  param_6[1] = uVar1;\n  if ((*(byte *)(param_4 + 0x1c) & 2) != 0) {\n    uVar1 = *(undefined4 *)(param_4 + 0x10);\n    *param_7 = *(undefined4 *)(param_4 + 0xc);\n    param_7[1] = uVar1;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_000da200("../../gold/output.h",0xcf,"data_size",param_4);\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (if_statement "if ((*(byte *)(param_4 + 0x1c) & 1) == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_000da200("../../gold/output.h",0xc5,"address",param_2);\n  }" if (parenthesized_expression "((*(byte *)(param_4 + 0x1c) & 1) == 0)" ( (binary_expression "(*(byte *)(param_4 + 0x1c) & 1) == 0" (parenthesized_expression "(*(byte *)(param_4 + 0x1c) & 1)" ( (binary_expression "*(byte *)(param_4 + 0x1c) & 1" (pointer_expression "*(byte *)(param_4 + 0x1c)" * (cast_expression "(byte *)(param_4 + 0x1c)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 0x1c)" ( (binary_expression "param_4 + 0x1c" identifier + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    FUN_000da200("../../gold/output.h",0xc5,"address",param_2);\n  }" { comment (expression_statement "FUN_000da200("../../gold/output.h",0xc5,"address",param_2);" (call_expression "FUN_000da200("../../gold/output.h",0xc5,"address",param_2)" identifier (argument_list "("../../gold/output.h",0xc5,"address",param_2)" ( (string_literal ""../../gold/output.h"" " string_content ") , number_literal , (string_literal ""address"" " string_content ") , identifier ))) ;) })) (expression_statement "uVar1 = *(undefined4 *)(param_4 + 8);" (assignment_expression "uVar1 = *(undefined4 *)(param_4 + 8)" identifier = (pointer_expression "*(undefined4 *)(param_4 + 8)" * (cast_expression "(undefined4 *)(param_4 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 8)" ( (binary_expression "param_4 + 8" identifier + number_literal) ))))) ;) (expression_statement "*param_6 = *(undefined4 *)(param_4 + 4);" (assignment_expression "*param_6 = *(undefined4 *)(param_4 + 4)" (pointer_expression "*param_6" * identifier) = (pointer_expression "*(undefined4 *)(param_4 + 4)" * (cast_expression "(undefined4 *)(param_4 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 4)" ( (binary_expression "param_4 + 4" identifier + number_literal) ))))) ;) (expression_statement "param_6[1] = uVar1;" (assignment_expression "param_6[1] = uVar1" (subscript_expression "param_6[1]" identifier [ number_literal ]) = identifier) ;) (if_statement "if ((*(byte *)(param_4 + 0x1c) & 2) != 0) {\n    uVar1 = *(undefined4 *)(param_4 + 0x10);\n    *param_7 = *(undefined4 *)(param_4 + 0xc);\n    param_7[1] = uVar1;\n    return;\n  }" if (parenthesized_expression "((*(byte *)(param_4 + 0x1c) & 2) != 0)" ( (binary_expression "(*(byte *)(param_4 + 0x1c) & 2) != 0" (parenthesized_expression "(*(byte *)(param_4 + 0x1c) & 2)" ( (binary_expression "*(byte *)(param_4 + 0x1c) & 2" (pointer_expression "*(byte *)(param_4 + 0x1c)" * (cast_expression "(byte *)(param_4 + 0x1c)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 0x1c)" ( (binary_expression "param_4 + 0x1c" identifier + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n    uVar1 = *(undefined4 *)(param_4 + 0x10);\n    *param_7 = *(undefined4 *)(param_4 + 0xc);\n    param_7[1] = uVar1;\n    return;\n  }" { (expression_statement "uVar1 = *(undefined4 *)(param_4 + 0x10);" (assignment_expression "uVar1 = *(undefined4 *)(param_4 + 0x10)" identifier = (pointer_expression "*(undefined4 *)(param_4 + 0x10)" * (cast_expression "(undefined4 *)(param_4 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 0x10)" ( (binary_expression "param_4 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "*param_7 = *(undefined4 *)(param_4 + 0xc);" (assignment_expression "*param_7 = *(undefined4 *)(param_4 + 0xc)" (pointer_expression "*param_7" * identifier) = (pointer_expression "*(undefined4 *)(param_4 + 0xc)" * (cast_expression "(undefined4 *)(param_4 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 0xc)" ( (binary_expression "param_4 + 0xc" identifier + number_literal) ))))) ;) (expression_statement "param_7[1] = uVar1;" (assignment_expression "param_7[1] = uVar1" (subscript_expression "param_7[1]" identifier [ number_literal ]) = identifier) ;) (return_statement "return;" return ;) })) comment (expression_statement "FUN_000da200("../../gold/output.h",0xcf,"data_size",param_4);" (call_expression "FUN_000da200("../../gold/output.h",0xcf,"data_size",param_4)" identifier (argument_list "("../../gold/output.h",0xcf,"data_size",param_4)" ( (string_literal ""../../gold/output.h"" " string_content ") , number_literal , (string_literal ""data_size"" " string_content ") , identifier ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Enum "ELFOSABI": Some values do not have unique names */\n/* DWARF original prototype: void do_plt_fde_location(Target * this, Output_data * plt, uchar *\n   param_2, uint64_t * address, off_t * len) */\n\nvoid __thiscall\ngold::Target::do_plt_fde_location\n          (Target *this,Output_data *plt,uchar *param_2,uint64_t *address,off_t *len)\n\n{\n}\n\n" comment comment comment (function_definition "void __thiscall\ngold::Target::do_plt_fde_location\n          (Target *this,Output_data *plt,uchar *param_2,uint64_t *address,off_t *len)\n\n{\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Target::" identifier : : identifier : :) (function_declarator "do_plt_fde_location\n          (Target *this,Output_data *plt,uchar *param_2,uint64_t *address,off_t *len)" identifier (parameter_list "(Target *this,Output_data *plt,uchar *param_2,uint64_t *address,off_t *len)" ( (parameter_declaration "Target *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "Output_data *plt" type_identifier (pointer_declarator "*plt" * identifier)) , (parameter_declaration "uchar *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "uint64_t *address" primitive_type (pointer_declarator "*address" * identifier)) , (parameter_declaration "off_t *len" type_identifier (pointer_declarator "*len" * identifier)) ))) (compound_statement "{\n}" { })))
(translation_unit "void __regparm2\nFUN_001fee50(undefined4 param_1,undefined4 param_2,undefined4 param_3,int param_4,undefined4 param_5\n            ,undefined4 *param_6,undefined4 *param_7)\n\n{\n  undefined4 uVar1;\n  \n  if ((*(byte *)(param_4 + 0x1c) & 1) == 0) {\n                    \n    FUN_000da200("../../gold/output.h",0xc5,"address",param_2);\n  }\n  uVar1 = *(undefined4 *)(param_4 + 8);\n  *param_6 = *(undefined4 *)(param_4 + 4);\n  param_6[1] = uVar1;\n  if ((*(byte *)(param_4 + 0x1c) & 2) != 0) {\n    uVar1 = *(undefined4 *)(param_4 + 0x10);\n    *param_7 = *(undefined4 *)(param_4 + 0xc);\n    param_7[1] = uVar1;\n    return;\n  }\n                    \n  FUN_000da200("../../gold/output.h",0xcf,"data_size",param_4);\n}\n\n" (function_definition "void __regparm2\nFUN_001fee50(undefined4 param_1,undefined4 param_2,undefined4 param_3,int param_4,undefined4 param_5\n            ,undefined4 *param_6,undefined4 *param_7)\n\n{\n  undefined4 uVar1;\n  \n  if ((*(byte *)(param_4 + 0x1c) & 1) == 0) {\n                    \n    FUN_000da200("../../gold/output.h",0xc5,"address",param_2);\n  }\n  uVar1 = *(undefined4 *)(param_4 + 8);\n  *param_6 = *(undefined4 *)(param_4 + 4);\n  param_6[1] = uVar1;\n  if ((*(byte *)(param_4 + 0x1c) & 2) != 0) {\n    uVar1 = *(undefined4 *)(param_4 + 0x10);\n    *param_7 = *(undefined4 *)(param_4 + 0xc);\n    param_7[1] = uVar1;\n    return;\n  }\n                    \n  FUN_000da200("../../gold/output.h",0xcf,"data_size",param_4);\n}" primitive_type (ERROR "__regparm2" identifier) (function_declarator "FUN_001fee50(undefined4 param_1,undefined4 param_2,undefined4 param_3,int param_4,undefined4 param_5\n            ,undefined4 *param_6,undefined4 *param_7)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3,int param_4,undefined4 param_5\n            ,undefined4 *param_6,undefined4 *param_7)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "int param_4" primitive_type identifier) , (parameter_declaration "undefined4 param_5" type_identifier identifier) , (parameter_declaration "undefined4 *param_6" type_identifier (pointer_declarator "*param_6" * identifier)) , (parameter_declaration "undefined4 *param_7" type_identifier (pointer_declarator "*param_7" * identifier)) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  if ((*(byte *)(param_4 + 0x1c) & 1) == 0) {\n                    \n    FUN_000da200("../../gold/output.h",0xc5,"address",param_2);\n  }\n  uVar1 = *(undefined4 *)(param_4 + 8);\n  *param_6 = *(undefined4 *)(param_4 + 4);\n  param_6[1] = uVar1;\n  if ((*(byte *)(param_4 + 0x1c) & 2) != 0) {\n    uVar1 = *(undefined4 *)(param_4 + 0x10);\n    *param_7 = *(undefined4 *)(param_4 + 0xc);\n    param_7[1] = uVar1;\n    return;\n  }\n                    \n  FUN_000da200("../../gold/output.h",0xcf,"data_size",param_4);\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (if_statement "if ((*(byte *)(param_4 + 0x1c) & 1) == 0) {\n                    \n    FUN_000da200("../../gold/output.h",0xc5,"address",param_2);\n  }" if (parenthesized_expression "((*(byte *)(param_4 + 0x1c) & 1) == 0)" ( (binary_expression "(*(byte *)(param_4 + 0x1c) & 1) == 0" (parenthesized_expression "(*(byte *)(param_4 + 0x1c) & 1)" ( (binary_expression "*(byte *)(param_4 + 0x1c) & 1" (pointer_expression "*(byte *)(param_4 + 0x1c)" * (cast_expression "(byte *)(param_4 + 0x1c)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 0x1c)" ( (binary_expression "param_4 + 0x1c" identifier + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n                    \n    FUN_000da200("../../gold/output.h",0xc5,"address",param_2);\n  }" { (expression_statement "FUN_000da200("../../gold/output.h",0xc5,"address",param_2);" (call_expression "FUN_000da200("../../gold/output.h",0xc5,"address",param_2)" identifier (argument_list "("../../gold/output.h",0xc5,"address",param_2)" ( (string_literal ""../../gold/output.h"" " string_content ") , number_literal , (string_literal ""address"" " string_content ") , identifier ))) ;) })) (expression_statement "uVar1 = *(undefined4 *)(param_4 + 8);" (assignment_expression "uVar1 = *(undefined4 *)(param_4 + 8)" identifier = (pointer_expression "*(undefined4 *)(param_4 + 8)" * (cast_expression "(undefined4 *)(param_4 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 8)" ( (binary_expression "param_4 + 8" identifier + number_literal) ))))) ;) (expression_statement "*param_6 = *(undefined4 *)(param_4 + 4);" (assignment_expression "*param_6 = *(undefined4 *)(param_4 + 4)" (pointer_expression "*param_6" * identifier) = (pointer_expression "*(undefined4 *)(param_4 + 4)" * (cast_expression "(undefined4 *)(param_4 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 4)" ( (binary_expression "param_4 + 4" identifier + number_literal) ))))) ;) (expression_statement "param_6[1] = uVar1;" (assignment_expression "param_6[1] = uVar1" (subscript_expression "param_6[1]" identifier [ number_literal ]) = identifier) ;) (if_statement "if ((*(byte *)(param_4 + 0x1c) & 2) != 0) {\n    uVar1 = *(undefined4 *)(param_4 + 0x10);\n    *param_7 = *(undefined4 *)(param_4 + 0xc);\n    param_7[1] = uVar1;\n    return;\n  }" if (parenthesized_expression "((*(byte *)(param_4 + 0x1c) & 2) != 0)" ( (binary_expression "(*(byte *)(param_4 + 0x1c) & 2) != 0" (parenthesized_expression "(*(byte *)(param_4 + 0x1c) & 2)" ( (binary_expression "*(byte *)(param_4 + 0x1c) & 2" (pointer_expression "*(byte *)(param_4 + 0x1c)" * (cast_expression "(byte *)(param_4 + 0x1c)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 0x1c)" ( (binary_expression "param_4 + 0x1c" identifier + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n    uVar1 = *(undefined4 *)(param_4 + 0x10);\n    *param_7 = *(undefined4 *)(param_4 + 0xc);\n    param_7[1] = uVar1;\n    return;\n  }" { (expression_statement "uVar1 = *(undefined4 *)(param_4 + 0x10);" (assignment_expression "uVar1 = *(undefined4 *)(param_4 + 0x10)" identifier = (pointer_expression "*(undefined4 *)(param_4 + 0x10)" * (cast_expression "(undefined4 *)(param_4 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 0x10)" ( (binary_expression "param_4 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "*param_7 = *(undefined4 *)(param_4 + 0xc);" (assignment_expression "*param_7 = *(undefined4 *)(param_4 + 0xc)" (pointer_expression "*param_7" * identifier) = (pointer_expression "*(undefined4 *)(param_4 + 0xc)" * (cast_expression "(undefined4 *)(param_4 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 0xc)" ( (binary_expression "param_4 + 0xc" identifier + number_literal) ))))) ;) (expression_statement "param_7[1] = uVar1;" (assignment_expression "param_7[1] = uVar1" (subscript_expression "param_7[1]" identifier [ number_literal ]) = identifier) ;) (return_statement "return;" return ;) })) (expression_statement "FUN_000da200("../../gold/output.h",0xcf,"data_size",param_4);" (call_expression "FUN_000da200("../../gold/output.h",0xcf,"data_size",param_4)" identifier (argument_list "("../../gold/output.h",0xcf,"data_size",param_4)" ( (string_literal ""../../gold/output.h"" " string_content ") , number_literal , (string_literal ""data_size"" " string_content ") , identifier ))) ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) )) == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , IDENT ))) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) )) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , IDENT ))) ;) })))
(function_definition "void __regparm2\nFUN_001fee50(undefined4 param_1,undefined4 param_2,undefined4 param_3,int param_4,undefined4 param_5\n            ,undefined4 *param_6,undefined4 *param_7)\n\n{\n  undefined4 uVar1;\n  \n  if ((*(byte *)(param_4 + 0x1c) & 1) == 0) {\n                    \n    FUN_000da200("../../gold/output.h",0xc5,"address",param_2);\n  }\n  uVar1 = *(undefined4 *)(param_4 + 8);\n  *param_6 = *(undefined4 *)(param_4 + 4);\n  param_6[1] = uVar1;\n  if ((*(byte *)(param_4 + 0x1c) & 2) != 0) {\n    uVar1 = *(undefined4 *)(param_4 + 0x10);\n    *param_7 = *(undefined4 *)(param_4 + 0xc);\n    param_7[1] = uVar1;\n    return;\n  }\n                    \n  FUN_000da200("../../gold/output.h",0xcf,"data_size",param_4);\n}" (primitive_type "void") (ERROR "__regparm2" (identifier "__regparm2")) (function_declarator "FUN_001fee50(undefined4 param_1,undefined4 param_2,undefined4 param_3,int param_4,undefined4 param_5\n            ,undefined4 *param_6,undefined4 *param_7)" (identifier "FUN_001fee50") (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3,int param_4,undefined4 param_5\n            ,undefined4 *param_6,undefined4 *param_7)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) (, ",") (parameter_declaration "int param_4" (primitive_type "int") (identifier "param_4")) (, ",") (parameter_declaration "undefined4 param_5" (type_identifier "undefined4") (identifier "param_5")) (, ",") (parameter_declaration "undefined4 *param_6" (type_identifier "undefined4") (pointer_declarator "*param_6" (* "*") (identifier "param_6"))) (, ",") (parameter_declaration "undefined4 *param_7" (type_identifier "undefined4") (pointer_declarator "*param_7" (* "*") (identifier "param_7"))) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  \n  if ((*(byte *)(param_4 + 0x1c) & 1) == 0) {\n                    \n    FUN_000da200("../../gold/output.h",0xc5,"address",param_2);\n  }\n  uVar1 = *(undefined4 *)(param_4 + 8);\n  *param_6 = *(undefined4 *)(param_4 + 4);\n  param_6[1] = uVar1;\n  if ((*(byte *)(param_4 + 0x1c) & 2) != 0) {\n    uVar1 = *(undefined4 *)(param_4 + 0x10);\n    *param_7 = *(undefined4 *)(param_4 + 0xc);\n    param_7[1] = uVar1;\n    return;\n  }\n                    \n  FUN_000da200("../../gold/output.h",0xcf,"data_size",param_4);\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (if_statement "if ((*(byte *)(param_4 + 0x1c) & 1) == 0) {\n                    \n    FUN_000da200("../../gold/output.h",0xc5,"address",param_2);\n  }" (if "if") (parenthesized_expression "((*(byte *)(param_4 + 0x1c) & 1) == 0)" (( "(") (binary_expression "(*(byte *)(param_4 + 0x1c) & 1) == 0" (parenthesized_expression "(*(byte *)(param_4 + 0x1c) & 1)" (( "(") (binary_expression "*(byte *)(param_4 + 0x1c) & 1" (pointer_expression "*(byte *)(param_4 + 0x1c)" (* "*") (cast_expression "(byte *)(param_4 + 0x1c)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_4 + 0x1c)" (( "(") (binary_expression "param_4 + 0x1c" (identifier "param_4") (+ "+") (number_literal "0x1c")) () ")")))) (& "&") (number_literal "1")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                    \n    FUN_000da200("../../gold/output.h",0xc5,"address",param_2);\n  }" ({ "{") (expression_statement "FUN_000da200("../../gold/output.h",0xc5,"address",param_2);" (call_expression "FUN_000da200("../../gold/output.h",0xc5,"address",param_2)" (identifier "FUN_000da200") (argument_list "("../../gold/output.h",0xc5,"address",param_2)" (( "(") (string_literal ""../../gold/output.h"" (" """) (string_content "../../gold/output.h") (" """)) (, ",") (number_literal "0xc5") (, ",") (string_literal ""address"" (" """) (string_content "address") (" """)) (, ",") (identifier "param_2") () ")"))) (; ";")) (} "}"))) (expression_statement "uVar1 = *(undefined4 *)(param_4 + 8);" (assignment_expression "uVar1 = *(undefined4 *)(param_4 + 8)" (identifier "uVar1") (= "=") (pointer_expression "*(undefined4 *)(param_4 + 8)" (* "*") (cast_expression "(undefined4 *)(param_4 + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_4 + 8)" (( "(") (binary_expression "param_4 + 8" (identifier "param_4") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (expression_statement "*param_6 = *(undefined4 *)(param_4 + 4);" (assignment_expression "*param_6 = *(undefined4 *)(param_4 + 4)" (pointer_expression "*param_6" (* "*") (identifier "param_6")) (= "=") (pointer_expression "*(undefined4 *)(param_4 + 4)" (* "*") (cast_expression "(undefined4 *)(param_4 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_4 + 4)" (( "(") (binary_expression "param_4 + 4" (identifier "param_4") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (expression_statement "param_6[1] = uVar1;" (assignment_expression "param_6[1] = uVar1" (subscript_expression "param_6[1]" (identifier "param_6") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "uVar1")) (; ";")) (if_statement "if ((*(byte *)(param_4 + 0x1c) & 2) != 0) {\n    uVar1 = *(undefined4 *)(param_4 + 0x10);\n    *param_7 = *(undefined4 *)(param_4 + 0xc);\n    param_7[1] = uVar1;\n    return;\n  }" (if "if") (parenthesized_expression "((*(byte *)(param_4 + 0x1c) & 2) != 0)" (( "(") (binary_expression "(*(byte *)(param_4 + 0x1c) & 2) != 0" (parenthesized_expression "(*(byte *)(param_4 + 0x1c) & 2)" (( "(") (binary_expression "*(byte *)(param_4 + 0x1c) & 2" (pointer_expression "*(byte *)(param_4 + 0x1c)" (* "*") (cast_expression "(byte *)(param_4 + 0x1c)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_4 + 0x1c)" (( "(") (binary_expression "param_4 + 0x1c" (identifier "param_4") (+ "+") (number_literal "0x1c")) () ")")))) (& "&") (number_literal "2")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    uVar1 = *(undefined4 *)(param_4 + 0x10);\n    *param_7 = *(undefined4 *)(param_4 + 0xc);\n    param_7[1] = uVar1;\n    return;\n  }" ({ "{") (expression_statement "uVar1 = *(undefined4 *)(param_4 + 0x10);" (assignment_expression "uVar1 = *(undefined4 *)(param_4 + 0x10)" (identifier "uVar1") (= "=") (pointer_expression "*(undefined4 *)(param_4 + 0x10)" (* "*") (cast_expression "(undefined4 *)(param_4 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_4 + 0x10)" (( "(") (binary_expression "param_4 + 0x10" (identifier "param_4") (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (expression_statement "*param_7 = *(undefined4 *)(param_4 + 0xc);" (assignment_expression "*param_7 = *(undefined4 *)(param_4 + 0xc)" (pointer_expression "*param_7" (* "*") (identifier "param_7")) (= "=") (pointer_expression "*(undefined4 *)(param_4 + 0xc)" (* "*") (cast_expression "(undefined4 *)(param_4 + 0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_4 + 0xc)" (( "(") (binary_expression "param_4 + 0xc" (identifier "param_4") (+ "+") (number_literal "0xc")) () ")"))))) (; ";")) (expression_statement "param_7[1] = uVar1;" (assignment_expression "param_7[1] = uVar1" (subscript_expression "param_7[1]" (identifier "param_7") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "uVar1")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "FUN_000da200("../../gold/output.h",0xcf,"data_size",param_4);" (call_expression "FUN_000da200("../../gold/output.h",0xcf,"data_size",param_4)" (identifier "FUN_000da200") (argument_list "("../../gold/output.h",0xcf,"data_size",param_4)" (( "(") (string_literal ""../../gold/output.h"" (" """) (string_content "../../gold/output.h") (" """)) (, ",") (number_literal "0xcf") (, ",") (string_literal ""data_size"" (" """) (string_content "data_size") (" """)) (, ",") (identifier "param_4") () ")"))) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Enum "ELFOSABI": Some values do not have unique names */
/* DWARF original prototype: void do_plt_fde_location(Target * this, Output_data * plt, uchar *
   param_2, uint64_t * address, off_t * len) */

void __thiscall
gold::type_1::function_1
          (type_1 *this,type_2 *plt,type_3 *param_2,uint64_t *address,type_4 *len)

{
}


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

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

void __regparm2
MASKED(undefined4 param_1,undefined4 param_2,undefined4 param_3,int param_4,undefined4 param_5
            ,undefined4 *param_6,undefined4 *param_7)

{
  undefined4 uVar1;
  
  if ((*(byte *)(param_4 + 0x1c) & 1) == 0) {
                    /* WARNING: Subroutine does not return */
    FUN_000da200("../../gold/output.h",0xc5,"address",param_2);
  }
  uVar1 = *(undefined4 *)(param_4 + 8);
  *param_6 = *(undefined4 *)(param_4 + 4);
  param_6[1] = uVar1;
  if ((*(byte *)(param_4 + 0x1c) & 2) != 0) {
    uVar1 = *(undefined4 *)(param_4 + 0x10);
    *param_7 = *(undefined4 *)(param_4 + 0xc);
    param_7[1] = uVar1;
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_000da200("../../gold/output.h",0xcf,"data_size",param_4);
}

