
/* WARNING: Function: __x86.get_pc_thunk.dx replaced with injection: get_pc_thunk_dx */
/* DWARF original prototype: uint do_fill_plt_entry(Output_data_plt_x86_64_ibt<64> * this, uchar *
   pov, Elf_Addr param_2, Elf_Addr param_3, uint param_4, uint plt_offset, uint plt_index) */

uint __thiscall
anon_unknown.dwarf_32e241::Output_data_plt_x86_64_ibt<64>::do_fill_plt_entry
          (Output_data_plt_x86_64_ibt<64> *this,uchar *pov,Elf_Addr param_3,Elf_Addr param_4,
          uint param_5,uint plt_offset,uint plt_index)

{
  undefined4 uVar1;
  
  *(undefined4 *)pov = (anonymous_namespace)::Output_data_plt_x86_64_ibt<64>::plt_entry;
  *(undefined4 *)(pov + 4) = DAT_00453b84;
  uVar1 = DAT_00453b8c;
  *(undefined4 *)(pov + 8) = DAT_00453b88;
  *(undefined4 *)(pov + 0xc) = uVar1;
  *(uint *)(pov + 5) = plt_index;
  *(uint *)(pov + 0xb) = -0xf - plt_offset;
  return 0;
}



/* WARNING: Function: __i686.get_pc_thunk.dx replaced with injection: get_pc_thunk_dx */

undefined4 FUN_00075110(undefined4 param_1,undefined4 *param_2)

{
  undefined4 uVar1;
  int in_stack_00000020;
  undefined4 in_stack_00000024;
  
  *param_2 = DAT_00453b80;
  param_2[1] = DAT_00453b84;
  uVar1 = DAT_00453b8c;
  param_2[2] = DAT_00453b88;
  param_2[3] = uVar1;
  *(undefined4 *)((int)param_2 + 5) = in_stack_00000024;
  *(int *)((int)param_2 + 0xb) = -0xf - in_stack_00000020;
  return 0;
}


CALL 0x00050c85
ADD EDX,0x574eeb
MOV EAX,dword ptr [ESP + 0x8]
MOV ECX,dword ptr [EDX + 0xffe69b80]
MOV dword ptr [EAX],ECX
MOV ECX,dword ptr [EDX + 0xffe69b84]
MOV dword ptr [EAX + 0x4],ECX
MOV ECX,dword ptr [EDX + 0xffe69b88]
MOV EDX,dword ptr [EDX + 0xffe69b8c]
MOV dword ptr [EAX + 0x8],ECX
MOV dword ptr [EAX + 0xc],EDX
MOV EDX,dword ptr [ESP + 0x24]
MOV dword ptr [EAX + 0x5],EDX
MOV EDX,0xfffffff1
SUB EDX,dword ptr [ESP + 0x20]
MOV dword ptr [EAX + 0xb],EDX
XOR EAX,EAX
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.dx replaced with injection: get_pc_thunk_dx */\n\nundefined4 FUN_00075110(undefined4 param_1,undefined4 *param_2)\n\n{\n  undefined4 uVar1;\n  int in_stack_00000020;\n  undefined4 in_stack_00000024;\n  \n  *param_2 = DAT_00453b80;\n  param_2[1] = DAT_00453b84;\n  uVar1 = DAT_00453b8c;\n  param_2[2] = DAT_00453b88;\n  param_2[3] = uVar1;\n  *(undefined4 *)((int)param_2 + 5) = in_stack_00000024;\n  *(int *)((int)param_2 + 0xb) = -0xf - in_stack_00000020;\n  return 0;\n}\n\n" comment (function_definition "undefined4 FUN_00075110(undefined4 param_1,undefined4 *param_2)\n\n{\n  undefined4 uVar1;\n  int in_stack_00000020;\n  undefined4 in_stack_00000024;\n  \n  *param_2 = DAT_00453b80;\n  param_2[1] = DAT_00453b84;\n  uVar1 = DAT_00453b8c;\n  param_2[2] = DAT_00453b88;\n  param_2[3] = uVar1;\n  *(undefined4 *)((int)param_2 + 5) = in_stack_00000024;\n  *(int *)((int)param_2 + 0xb) = -0xf - in_stack_00000020;\n  return 0;\n}" type_identifier (function_declarator "FUN_00075110(undefined4 param_1,undefined4 *param_2)" identifier (parameter_list "(undefined4 param_1,undefined4 *param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  undefined4 uVar1;\n  int in_stack_00000020;\n  undefined4 in_stack_00000024;\n  \n  *param_2 = DAT_00453b80;\n  param_2[1] = DAT_00453b84;\n  uVar1 = DAT_00453b8c;\n  param_2[2] = DAT_00453b88;\n  param_2[3] = uVar1;\n  *(undefined4 *)((int)param_2 + 5) = in_stack_00000024;\n  *(int *)((int)param_2 + 0xb) = -0xf - in_stack_00000020;\n  return 0;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "int in_stack_00000020;" primitive_type identifier ;) (declaration "undefined4 in_stack_00000024;" type_identifier identifier ;) (expression_statement "*param_2 = DAT_00453b80;" (assignment_expression "*param_2 = DAT_00453b80" (pointer_expression "*param_2" * identifier) = identifier) ;) (expression_statement "param_2[1] = DAT_00453b84;" (assignment_expression "param_2[1] = DAT_00453b84" (subscript_expression "param_2[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "uVar1 = DAT_00453b8c;" (assignment_expression "uVar1 = DAT_00453b8c" identifier = identifier) ;) (expression_statement "param_2[2] = DAT_00453b88;" (assignment_expression "param_2[2] = DAT_00453b88" (subscript_expression "param_2[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_2[3] = uVar1;" (assignment_expression "param_2[3] = uVar1" (subscript_expression "param_2[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*(undefined4 *)((int)param_2 + 5) = in_stack_00000024;" (assignment_expression "*(undefined4 *)((int)param_2 + 5) = in_stack_00000024" (pointer_expression "*(undefined4 *)((int)param_2 + 5)" * (cast_expression "(undefined4 *)((int)param_2 + 5)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_2 + 5)" ( (binary_expression "(int)param_2 + 5" (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(int *)((int)param_2 + 0xb) = -0xf - in_stack_00000020;" (assignment_expression "*(int *)((int)param_2 + 0xb) = -0xf - in_stack_00000020" (pointer_expression "*(int *)((int)param_2 + 0xb)" * (cast_expression "(int *)((int)param_2 + 0xb)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_2 + 0xb)" ( (binary_expression "(int)param_2 + 0xb" (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = (binary_expression "-0xf - in_stack_00000020" number_literal - identifier)) ;) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.dx replaced with injection: get_pc_thunk_dx */\n/* DWARF original prototype: uint do_fill_plt_entry(Output_data_plt_x86_64_ibt<64> * this, uchar *\n   pov, Elf_Addr param_2, Elf_Addr param_3, uint param_4, uint plt_offset, uint plt_index) */\n\nuint __thiscall\nanon_unknown.dwarf_32e241::Output_data_plt_x86_64_ibt<64>::do_fill_plt_entry\n          (Output_data_plt_x86_64_ibt<64> *this,uchar *pov,Elf_Addr param_3,Elf_Addr param_4,\n          uint param_5,uint plt_offset,uint plt_index)\n\n{\n  undefined4 uVar1;\n  \n  *(undefined4 *)pov = (anonymous_namespace)::Output_data_plt_x86_64_ibt<64>::plt_entry;\n  *(undefined4 *)(pov + 4) = DAT_00453b84;\n  uVar1 = DAT_00453b8c;\n  *(undefined4 *)(pov + 8) = DAT_00453b88;\n  *(undefined4 *)(pov + 0xc) = uVar1;\n  *(uint *)(pov + 5) = plt_index;\n  *(uint *)(pov + 0xb) = -0xf - plt_offset;\n  return 0;\n}\n\n" comment comment (function_definition "uint __thiscall\nanon_unknown.dwarf_32e241::Output_data_plt_x86_64_ibt<64>::do_fill_plt_entry\n          (Output_data_plt_x86_64_ibt<64> *this,uchar *pov,Elf_Addr param_3,Elf_Addr param_4,\n          uint param_5,uint plt_offset,uint plt_index)\n\n{\n  undefined4 uVar1;\n  \n  *(undefined4 *)pov = (anonymous_namespace)::Output_data_plt_x86_64_ibt<64>::plt_entry;\n  *(undefined4 *)(pov + 4) = DAT_00453b84;\n  uVar1 = DAT_00453b8c;\n  *(undefined4 *)(pov + 8) = DAT_00453b88;\n  *(undefined4 *)(pov + 0xc) = uVar1;\n  *(uint *)(pov + 5) = plt_index;\n  *(uint *)(pov + 0xb) = -0xf - plt_offset;\n  return 0;\n}" type_identifier (ms_call_modifier "__thiscall" __thiscall) (ERROR "anon_unknown.dwarf_32e241::Output_data_plt_x86_64_ibt<64>::" identifier . identifier : : identifier < number_literal > : :) (function_declarator "do_fill_plt_entry\n          (Output_data_plt_x86_64_ibt<64> *this,uchar *pov,Elf_Addr param_3,Elf_Addr param_4,\n          uint param_5,uint plt_offset,uint plt_index)" identifier (parameter_list "(Output_data_plt_x86_64_ibt<64> *this,uchar *pov,Elf_Addr param_3,Elf_Addr param_4,\n          uint param_5,uint plt_offset,uint plt_index)" ( (parameter_declaration "Output_data_plt_x86_64_ibt<64> *this" type_identifier (ERROR "<64>" < number_literal >) (pointer_declarator "*this" * identifier)) , (parameter_declaration "uchar *pov" type_identifier (pointer_declarator "*pov" * identifier)) , (parameter_declaration "Elf_Addr param_3" type_identifier identifier) , (parameter_declaration "Elf_Addr param_4" type_identifier identifier) , (parameter_declaration "uint param_5" type_identifier identifier) , (parameter_declaration "uint plt_offset" type_identifier identifier) , (parameter_declaration "uint plt_index" type_identifier identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  *(undefined4 *)pov = (anonymous_namespace)::Output_data_plt_x86_64_ibt<64>::plt_entry;\n  *(undefined4 *)(pov + 4) = DAT_00453b84;\n  uVar1 = DAT_00453b8c;\n  *(undefined4 *)(pov + 8) = DAT_00453b88;\n  *(undefined4 *)(pov + 0xc) = uVar1;\n  *(uint *)(pov + 5) = plt_index;\n  *(uint *)(pov + 0xb) = -0xf - plt_offset;\n  return 0;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (expression_statement "*(undefined4 *)pov = (anonymous_namespace)::Output_data_plt_x86_64_ibt<64>::plt_entry;" (binary_expression "*(undefined4 *)pov = (anonymous_namespace)::Output_data_plt_x86_64_ibt<64>::plt_entry" (binary_expression "*(undefined4 *)pov = (anonymous_namespace)::Output_data_plt_x86_64_ibt<64" (assignment_expression "*(undefined4 *)pov = (anonymous_namespace)" (pointer_expression "*(undefined4 *)pov" * (cast_expression "(undefined4 *)pov" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = (parenthesized_expression "(anonymous_namespace)" ( identifier ))) (ERROR "::Output_data_plt_x86_64_ibt" : : identifier) < number_literal) > (ERROR "::" : :) identifier) ;) (expression_statement "*(undefined4 *)(pov + 4) = DAT_00453b84;" (assignment_expression "*(undefined4 *)(pov + 4) = DAT_00453b84" (pointer_expression "*(undefined4 *)(pov + 4)" * (cast_expression "(undefined4 *)(pov + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pov + 4)" ( (binary_expression "pov + 4" identifier + number_literal) )))) = identifier) ;) (expression_statement "uVar1 = DAT_00453b8c;" (assignment_expression "uVar1 = DAT_00453b8c" identifier = identifier) ;) (expression_statement "*(undefined4 *)(pov + 8) = DAT_00453b88;" (assignment_expression "*(undefined4 *)(pov + 8) = DAT_00453b88" (pointer_expression "*(undefined4 *)(pov + 8)" * (cast_expression "(undefined4 *)(pov + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pov + 8)" ( (binary_expression "pov + 8" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(pov + 0xc) = uVar1;" (assignment_expression "*(undefined4 *)(pov + 0xc) = uVar1" (pointer_expression "*(undefined4 *)(pov + 0xc)" * (cast_expression "(undefined4 *)(pov + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pov + 0xc)" ( (binary_expression "pov + 0xc" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(uint *)(pov + 5) = plt_index;" (assignment_expression "*(uint *)(pov + 5) = plt_index" (pointer_expression "*(uint *)(pov + 5)" * (cast_expression "(uint *)(pov + 5)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pov + 5)" ( (binary_expression "pov + 5" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(uint *)(pov + 0xb) = -0xf - plt_offset;" (assignment_expression "*(uint *)(pov + 0xb) = -0xf - plt_offset" (pointer_expression "*(uint *)(pov + 0xb)" * (cast_expression "(uint *)(pov + 0xb)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pov + 0xb)" ( (binary_expression "pov + 0xb" identifier + number_literal) )))) = (binary_expression "-0xf - plt_offset" number_literal - identifier)) ;) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "undefined4 FUN_00075110(undefined4 param_1,undefined4 *param_2)\n\n{\n  undefined4 uVar1;\n  int in_stack_00000020;\n  undefined4 in_stack_00000024;\n  \n  *param_2 = DAT_00453b80;\n  param_2[1] = DAT_00453b84;\n  uVar1 = DAT_00453b8c;\n  param_2[2] = DAT_00453b88;\n  param_2[3] = uVar1;\n  *(undefined4 *)((int)param_2 + 5) = in_stack_00000024;\n  *(int *)((int)param_2 + 0xb) = -0xf - in_stack_00000020;\n  return 0;\n}\n\n" (function_definition "undefined4 FUN_00075110(undefined4 param_1,undefined4 *param_2)\n\n{\n  undefined4 uVar1;\n  int in_stack_00000020;\n  undefined4 in_stack_00000024;\n  \n  *param_2 = DAT_00453b80;\n  param_2[1] = DAT_00453b84;\n  uVar1 = DAT_00453b8c;\n  param_2[2] = DAT_00453b88;\n  param_2[3] = uVar1;\n  *(undefined4 *)((int)param_2 + 5) = in_stack_00000024;\n  *(int *)((int)param_2 + 0xb) = -0xf - in_stack_00000020;\n  return 0;\n}" type_identifier (function_declarator "FUN_00075110(undefined4 param_1,undefined4 *param_2)" identifier (parameter_list "(undefined4 param_1,undefined4 *param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  undefined4 uVar1;\n  int in_stack_00000020;\n  undefined4 in_stack_00000024;\n  \n  *param_2 = DAT_00453b80;\n  param_2[1] = DAT_00453b84;\n  uVar1 = DAT_00453b8c;\n  param_2[2] = DAT_00453b88;\n  param_2[3] = uVar1;\n  *(undefined4 *)((int)param_2 + 5) = in_stack_00000024;\n  *(int *)((int)param_2 + 0xb) = -0xf - in_stack_00000020;\n  return 0;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "int in_stack_00000020;" primitive_type identifier ;) (declaration "undefined4 in_stack_00000024;" type_identifier identifier ;) (expression_statement "*param_2 = DAT_00453b80;" (assignment_expression "*param_2 = DAT_00453b80" (pointer_expression "*param_2" * identifier) = identifier) ;) (expression_statement "param_2[1] = DAT_00453b84;" (assignment_expression "param_2[1] = DAT_00453b84" (subscript_expression "param_2[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "uVar1 = DAT_00453b8c;" (assignment_expression "uVar1 = DAT_00453b8c" identifier = identifier) ;) (expression_statement "param_2[2] = DAT_00453b88;" (assignment_expression "param_2[2] = DAT_00453b88" (subscript_expression "param_2[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_2[3] = uVar1;" (assignment_expression "param_2[3] = uVar1" (subscript_expression "param_2[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*(undefined4 *)((int)param_2 + 5) = in_stack_00000024;" (assignment_expression "*(undefined4 *)((int)param_2 + 5) = in_stack_00000024" (pointer_expression "*(undefined4 *)((int)param_2 + 5)" * (cast_expression "(undefined4 *)((int)param_2 + 5)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_2 + 5)" ( (binary_expression "(int)param_2 + 5" (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(int *)((int)param_2 + 0xb) = -0xf - in_stack_00000020;" (assignment_expression "*(int *)((int)param_2 + 0xb) = -0xf - in_stack_00000020" (pointer_expression "*(int *)((int)param_2 + 0xb)" * (cast_expression "(int *)((int)param_2 + 0xb)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_2 + 0xb)" ( (binary_expression "(int)param_2 + 0xb" (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = (binary_expression "-0xf - in_stack_00000020" number_literal - identifier)) ;) (return_statement "return 0;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = (binary_expression LIT - IDENT)) ;) (return_statement return LIT ;) })))
(function_definition "undefined4 FUN_00075110(undefined4 param_1,undefined4 *param_2)\n\n{\n  undefined4 uVar1;\n  int in_stack_00000020;\n  undefined4 in_stack_00000024;\n  \n  *param_2 = DAT_00453b80;\n  param_2[1] = DAT_00453b84;\n  uVar1 = DAT_00453b8c;\n  param_2[2] = DAT_00453b88;\n  param_2[3] = uVar1;\n  *(undefined4 *)((int)param_2 + 5) = in_stack_00000024;\n  *(int *)((int)param_2 + 0xb) = -0xf - in_stack_00000020;\n  return 0;\n}" (type_identifier "undefined4") (function_declarator "FUN_00075110(undefined4 param_1,undefined4 *param_2)" (identifier "FUN_00075110") (parameter_list "(undefined4 param_1,undefined4 *param_2)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 *param_2" (type_identifier "undefined4") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  int in_stack_00000020;\n  undefined4 in_stack_00000024;\n  \n  *param_2 = DAT_00453b80;\n  param_2[1] = DAT_00453b84;\n  uVar1 = DAT_00453b8c;\n  param_2[2] = DAT_00453b88;\n  param_2[3] = uVar1;\n  *(undefined4 *)((int)param_2 + 5) = in_stack_00000024;\n  *(int *)((int)param_2 + 0xb) = -0xf - in_stack_00000020;\n  return 0;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (declaration "int in_stack_00000020;" (primitive_type "int") (identifier "in_stack_00000020") (; ";")) (declaration "undefined4 in_stack_00000024;" (type_identifier "undefined4") (identifier "in_stack_00000024") (; ";")) (expression_statement "*param_2 = DAT_00453b80;" (assignment_expression "*param_2 = DAT_00453b80" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (identifier "DAT_00453b80")) (; ";")) (expression_statement "param_2[1] = DAT_00453b84;" (assignment_expression "param_2[1] = DAT_00453b84" (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "DAT_00453b84")) (; ";")) (expression_statement "uVar1 = DAT_00453b8c;" (assignment_expression "uVar1 = DAT_00453b8c" (identifier "uVar1") (= "=") (identifier "DAT_00453b8c")) (; ";")) (expression_statement "param_2[2] = DAT_00453b88;" (assignment_expression "param_2[2] = DAT_00453b88" (subscript_expression "param_2[2]" (identifier "param_2") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "DAT_00453b88")) (; ";")) (expression_statement "param_2[3] = uVar1;" (assignment_expression "param_2[3] = uVar1" (subscript_expression "param_2[3]" (identifier "param_2") ([ "[") (number_literal "3") (] "]")) (= "=") (identifier "uVar1")) (; ";")) (expression_statement "*(undefined4 *)((int)param_2 + 5) = in_stack_00000024;" (assignment_expression "*(undefined4 *)((int)param_2 + 5) = in_stack_00000024" (pointer_expression "*(undefined4 *)((int)param_2 + 5)" (* "*") (cast_expression "(undefined4 *)((int)param_2 + 5)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_2 + 5)" (( "(") (binary_expression "(int)param_2 + 5" (cast_expression "(int)param_2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_2")) (+ "+") (number_literal "5")) () ")")))) (= "=") (identifier "in_stack_00000024")) (; ";")) (expression_statement "*(int *)((int)param_2 + 0xb) = -0xf - in_stack_00000020;" (assignment_expression "*(int *)((int)param_2 + 0xb) = -0xf - in_stack_00000020" (pointer_expression "*(int *)((int)param_2 + 0xb)" (* "*") (cast_expression "(int *)((int)param_2 + 0xb)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_2 + 0xb)" (( "(") (binary_expression "(int)param_2 + 0xb" (cast_expression "(int)param_2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_2")) (+ "+") (number_literal "0xb")) () ")")))) (= "=") (binary_expression "-0xf - in_stack_00000020" (number_literal "-0xf") (- "-") (identifier "in_stack_00000020"))) (; ";")) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.dx replaced with injection: get_pc_thunk_dx */
/* DWARF original prototype: uint do_fill_plt_entry(Output_data_plt_x86_64_ibt<64> * this, uchar *
   pov, Elf_Addr param_2, Elf_Addr param_3, uint param_4, uint plt_offset, uint plt_index) */

type_1 __thiscall
anon_unknown.dwarf_32e241::type_2<64>::function_1
          (type_2<64> *this,type_3 *var_2,type_4 param_3,type_4 param_4,
          type_1 param_5,type_1 var_3,type_1 plt_index)

{
  type_5 uVar1;
  
  *(type_5 *)var_2 = (anonymous_namespace)::type_2<64>::var_1;
  *(type_5 *)(var_2 + 4) = DAT_00453b84;
  uVar1 = DAT_00453b8c;
  *(type_5 *)(var_2 + 8) = DAT_00453b88;
  *(type_5 *)(var_2 + 0xc) = uVar1;
  *(type_1 *)(var_2 + 5) = plt_index;
  *(type_1 *)(var_2 + 0xb) = -0xf - var_3;
  return 0;
}


(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (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: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) 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: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))) right: (binary_expression left: (number_literal) right: (identifier)))) (return_statement (number_literal)))))

/* WARNING: Function: __i686.get_pc_thunk.dx replaced with injection: get_pc_thunk_dx */

undefined4 MASKED(undefined4 param_1,undefined4 *param_2)

{
  undefined4 uVar1;
  int in_stack_00000020;
  undefined4 in_stack_00000024;
  
  *param_2 = DAT_00453b80;
  param_2[1] = DAT_00453b84;
  uVar1 = DAT_00453b8c;
  param_2[2] = DAT_00453b88;
  param_2[3] = uVar1;
  *(undefined4 *)((int)param_2 + 5) = in_stack_00000024;
  *(int *)((int)param_2 + 0xb) = -0xf - in_stack_00000020;
  return 0;
}

