
/* 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_i386_dyn * this, uchar * pov,
   Elf_Addr param_2, uint got_offset, uint plt_offset, uint plt_rel_offset) */

uint __thiscall
anon_unknown.dwarf_217836::Output_data_plt_i386_dyn::do_fill_plt_entry
          (Output_data_plt_i386_dyn *this,uchar *pov,Elf_Addr param_3,uint got_offset,
          uint plt_offset,uint plt_rel_offset)

{
  undefined4 uVar1;
  
  *(undefined4 *)pov = (anonymous_namespace)::Output_data_plt_i386_dyn::plt_entry;
  uVar1 = DAT_0024dd78;
  *(undefined4 *)(pov + 4) = DAT_0024dd74;
  *(undefined4 *)(pov + 8) = uVar1;
  *(uint *)(pov + 2) = got_offset;
  *(uint *)(pov + 7) = plt_rel_offset;
  *(uint *)(pov + 0xc) = -0x10 - plt_offset;
  return 6;
}



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

undefined4
FUN_000488a0(undefined4 param_1,undefined4 *param_2,undefined4 param_3,undefined4 param_4,
            int param_5,undefined4 param_6)

{
  undefined4 uVar1;
  
  *param_2 = DAT_0024dd70;
  uVar1 = DAT_0024dd78;
  param_2[1] = DAT_0024dd74;
  param_2[2] = uVar1;
  *(undefined4 *)((int)param_2 + 2) = param_4;
  *(undefined4 *)((int)param_2 + 7) = param_6;
  param_2[3] = -0x10 - param_5;
  return 6;
}


CALL 0x000357b5
ADD EDX,0x2f675b
MOV EAX,dword ptr [ESP + 0x8]
MOV ECX,dword ptr [EDX + 0xfff0ed70]
MOV dword ptr [EAX],ECX
MOV ECX,dword ptr [EDX + 0xfff0ed74]
MOV EDX,dword ptr [EDX + 0xfff0ed78]
MOV dword ptr [EAX + 0x4],ECX
MOV dword ptr [EAX + 0x8],EDX
MOV EDX,dword ptr [ESP + 0x10]
MOV dword ptr [EAX + 0x2],EDX
MOV EDX,dword ptr [ESP + 0x18]
MOV dword ptr [EAX + 0x7],EDX
MOV EDX,0xfffffff0
SUB EDX,dword ptr [ESP + 0x14]
MOV dword ptr [EAX + 0xc],EDX
MOV EAX,0x6
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.dx replaced with injection: get_pc_thunk_dx */\n\nundefined4\nFUN_000488a0(undefined4 param_1,undefined4 *param_2,undefined4 param_3,undefined4 param_4,\n            int param_5,undefined4 param_6)\n\n{\n  undefined4 uVar1;\n  \n  *param_2 = DAT_0024dd70;\n  uVar1 = DAT_0024dd78;\n  param_2[1] = DAT_0024dd74;\n  param_2[2] = uVar1;\n  *(undefined4 *)((int)param_2 + 2) = param_4;\n  *(undefined4 *)((int)param_2 + 7) = param_6;\n  param_2[3] = -0x10 - param_5;\n  return 6;\n}\n\n" comment (function_definition "undefined4\nFUN_000488a0(undefined4 param_1,undefined4 *param_2,undefined4 param_3,undefined4 param_4,\n            int param_5,undefined4 param_6)\n\n{\n  undefined4 uVar1;\n  \n  *param_2 = DAT_0024dd70;\n  uVar1 = DAT_0024dd78;\n  param_2[1] = DAT_0024dd74;\n  param_2[2] = uVar1;\n  *(undefined4 *)((int)param_2 + 2) = param_4;\n  *(undefined4 *)((int)param_2 + 7) = param_6;\n  param_2[3] = -0x10 - param_5;\n  return 6;\n}" type_identifier (function_declarator "FUN_000488a0(undefined4 param_1,undefined4 *param_2,undefined4 param_3,undefined4 param_4,\n            int param_5,undefined4 param_6)" identifier (parameter_list "(undefined4 param_1,undefined4 *param_2,undefined4 param_3,undefined4 param_4,\n            int param_5,undefined4 param_6)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) , (parameter_declaration "int param_5" primitive_type identifier) , (parameter_declaration "undefined4 param_6" type_identifier identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  *param_2 = DAT_0024dd70;\n  uVar1 = DAT_0024dd78;\n  param_2[1] = DAT_0024dd74;\n  param_2[2] = uVar1;\n  *(undefined4 *)((int)param_2 + 2) = param_4;\n  *(undefined4 *)((int)param_2 + 7) = param_6;\n  param_2[3] = -0x10 - param_5;\n  return 6;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (expression_statement "*param_2 = DAT_0024dd70;" (assignment_expression "*param_2 = DAT_0024dd70" (pointer_expression "*param_2" * identifier) = identifier) ;) (expression_statement "uVar1 = DAT_0024dd78;" (assignment_expression "uVar1 = DAT_0024dd78" identifier = identifier) ;) (expression_statement "param_2[1] = DAT_0024dd74;" (assignment_expression "param_2[1] = DAT_0024dd74" (subscript_expression "param_2[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_2[2] = uVar1;" (assignment_expression "param_2[2] = uVar1" (subscript_expression "param_2[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*(undefined4 *)((int)param_2 + 2) = param_4;" (assignment_expression "*(undefined4 *)((int)param_2 + 2) = param_4" (pointer_expression "*(undefined4 *)((int)param_2 + 2)" * (cast_expression "(undefined4 *)((int)param_2 + 2)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_2 + 2)" ( (binary_expression "(int)param_2 + 2" (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)((int)param_2 + 7) = param_6;" (assignment_expression "*(undefined4 *)((int)param_2 + 7) = param_6" (pointer_expression "*(undefined4 *)((int)param_2 + 7)" * (cast_expression "(undefined4 *)((int)param_2 + 7)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_2 + 7)" ( (binary_expression "(int)param_2 + 7" (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (expression_statement "param_2[3] = -0x10 - param_5;" (assignment_expression "param_2[3] = -0x10 - param_5" (subscript_expression "param_2[3]" identifier [ number_literal ]) = (binary_expression "-0x10 - param_5" number_literal - identifier)) ;) (return_statement "return 6;" 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_i386_dyn * this, uchar * pov,\n   Elf_Addr param_2, uint got_offset, uint plt_offset, uint plt_rel_offset) */\n\nuint __thiscall\nanon_unknown.dwarf_217836::Output_data_plt_i386_dyn::do_fill_plt_entry\n          (Output_data_plt_i386_dyn *this,uchar *pov,Elf_Addr param_3,uint got_offset,\n          uint plt_offset,uint plt_rel_offset)\n\n{\n  undefined4 uVar1;\n  \n  *(undefined4 *)pov = (anonymous_namespace)::Output_data_plt_i386_dyn::plt_entry;\n  uVar1 = DAT_0024dd78;\n  *(undefined4 *)(pov + 4) = DAT_0024dd74;\n  *(undefined4 *)(pov + 8) = uVar1;\n  *(uint *)(pov + 2) = got_offset;\n  *(uint *)(pov + 7) = plt_rel_offset;\n  *(uint *)(pov + 0xc) = -0x10 - plt_offset;\n  return 6;\n}\n\n" comment comment (function_definition "uint __thiscall\nanon_unknown.dwarf_217836::Output_data_plt_i386_dyn::do_fill_plt_entry\n          (Output_data_plt_i386_dyn *this,uchar *pov,Elf_Addr param_3,uint got_offset,\n          uint plt_offset,uint plt_rel_offset)\n\n{\n  undefined4 uVar1;\n  \n  *(undefined4 *)pov = (anonymous_namespace)::Output_data_plt_i386_dyn::plt_entry;\n  uVar1 = DAT_0024dd78;\n  *(undefined4 *)(pov + 4) = DAT_0024dd74;\n  *(undefined4 *)(pov + 8) = uVar1;\n  *(uint *)(pov + 2) = got_offset;\n  *(uint *)(pov + 7) = plt_rel_offset;\n  *(uint *)(pov + 0xc) = -0x10 - plt_offset;\n  return 6;\n}" type_identifier (ms_call_modifier "__thiscall" __thiscall) (ERROR "anon_unknown.dwarf_217836::Output_data_plt_i386_dyn::" identifier . identifier : : identifier : :) (function_declarator "do_fill_plt_entry\n          (Output_data_plt_i386_dyn *this,uchar *pov,Elf_Addr param_3,uint got_offset,\n          uint plt_offset,uint plt_rel_offset)" identifier (parameter_list "(Output_data_plt_i386_dyn *this,uchar *pov,Elf_Addr param_3,uint got_offset,\n          uint plt_offset,uint plt_rel_offset)" ( (parameter_declaration "Output_data_plt_i386_dyn *this" type_identifier (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 "uint got_offset" type_identifier identifier) , (parameter_declaration "uint plt_offset" type_identifier identifier) , (parameter_declaration "uint plt_rel_offset" type_identifier identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  *(undefined4 *)pov = (anonymous_namespace)::Output_data_plt_i386_dyn::plt_entry;\n  uVar1 = DAT_0024dd78;\n  *(undefined4 *)(pov + 4) = DAT_0024dd74;\n  *(undefined4 *)(pov + 8) = uVar1;\n  *(uint *)(pov + 2) = got_offset;\n  *(uint *)(pov + 7) = plt_rel_offset;\n  *(uint *)(pov + 0xc) = -0x10 - plt_offset;\n  return 6;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (ERROR "*(undefined4 *)pov = (anonymous_namespace)::" (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 ))) : :) (labeled_statement "Output_data_plt_i386_dyn::plt_entry;" statement_identifier : (ERROR ":" :) (expression_statement "plt_entry;" identifier ;)) (expression_statement "uVar1 = DAT_0024dd78;" (assignment_expression "uVar1 = DAT_0024dd78" identifier = identifier) ;) (expression_statement "*(undefined4 *)(pov + 4) = DAT_0024dd74;" (assignment_expression "*(undefined4 *)(pov + 4) = DAT_0024dd74" (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 "*(undefined4 *)(pov + 8) = uVar1;" (assignment_expression "*(undefined4 *)(pov + 8) = uVar1" (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 "*(uint *)(pov + 2) = got_offset;" (assignment_expression "*(uint *)(pov + 2) = got_offset" (pointer_expression "*(uint *)(pov + 2)" * (cast_expression "(uint *)(pov + 2)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pov + 2)" ( (binary_expression "pov + 2" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(uint *)(pov + 7) = plt_rel_offset;" (assignment_expression "*(uint *)(pov + 7) = plt_rel_offset" (pointer_expression "*(uint *)(pov + 7)" * (cast_expression "(uint *)(pov + 7)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pov + 7)" ( (binary_expression "pov + 7" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(uint *)(pov + 0xc) = -0x10 - plt_offset;" (assignment_expression "*(uint *)(pov + 0xc) = -0x10 - plt_offset" (pointer_expression "*(uint *)(pov + 0xc)" * (cast_expression "(uint *)(pov + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pov + 0xc)" ( (binary_expression "pov + 0xc" identifier + number_literal) )))) = (binary_expression "-0x10 - plt_offset" number_literal - identifier)) ;) (return_statement "return 6;" return number_literal ;) })))
(translation_unit "undefined4\nFUN_000488a0(undefined4 param_1,undefined4 *param_2,undefined4 param_3,undefined4 param_4,\n            int param_5,undefined4 param_6)\n\n{\n  undefined4 uVar1;\n  \n  *param_2 = DAT_0024dd70;\n  uVar1 = DAT_0024dd78;\n  param_2[1] = DAT_0024dd74;\n  param_2[2] = uVar1;\n  *(undefined4 *)((int)param_2 + 2) = param_4;\n  *(undefined4 *)((int)param_2 + 7) = param_6;\n  param_2[3] = -0x10 - param_5;\n  return 6;\n}\n\n" (function_definition "undefined4\nFUN_000488a0(undefined4 param_1,undefined4 *param_2,undefined4 param_3,undefined4 param_4,\n            int param_5,undefined4 param_6)\n\n{\n  undefined4 uVar1;\n  \n  *param_2 = DAT_0024dd70;\n  uVar1 = DAT_0024dd78;\n  param_2[1] = DAT_0024dd74;\n  param_2[2] = uVar1;\n  *(undefined4 *)((int)param_2 + 2) = param_4;\n  *(undefined4 *)((int)param_2 + 7) = param_6;\n  param_2[3] = -0x10 - param_5;\n  return 6;\n}" type_identifier (function_declarator "FUN_000488a0(undefined4 param_1,undefined4 *param_2,undefined4 param_3,undefined4 param_4,\n            int param_5,undefined4 param_6)" identifier (parameter_list "(undefined4 param_1,undefined4 *param_2,undefined4 param_3,undefined4 param_4,\n            int param_5,undefined4 param_6)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) , (parameter_declaration "int param_5" primitive_type identifier) , (parameter_declaration "undefined4 param_6" type_identifier identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  *param_2 = DAT_0024dd70;\n  uVar1 = DAT_0024dd78;\n  param_2[1] = DAT_0024dd74;\n  param_2[2] = uVar1;\n  *(undefined4 *)((int)param_2 + 2) = param_4;\n  *(undefined4 *)((int)param_2 + 7) = param_6;\n  param_2[3] = -0x10 - param_5;\n  return 6;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (expression_statement "*param_2 = DAT_0024dd70;" (assignment_expression "*param_2 = DAT_0024dd70" (pointer_expression "*param_2" * identifier) = identifier) ;) (expression_statement "uVar1 = DAT_0024dd78;" (assignment_expression "uVar1 = DAT_0024dd78" identifier = identifier) ;) (expression_statement "param_2[1] = DAT_0024dd74;" (assignment_expression "param_2[1] = DAT_0024dd74" (subscript_expression "param_2[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_2[2] = uVar1;" (assignment_expression "param_2[2] = uVar1" (subscript_expression "param_2[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*(undefined4 *)((int)param_2 + 2) = param_4;" (assignment_expression "*(undefined4 *)((int)param_2 + 2) = param_4" (pointer_expression "*(undefined4 *)((int)param_2 + 2)" * (cast_expression "(undefined4 *)((int)param_2 + 2)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_2 + 2)" ( (binary_expression "(int)param_2 + 2" (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)((int)param_2 + 7) = param_6;" (assignment_expression "*(undefined4 *)((int)param_2 + 7) = param_6" (pointer_expression "*(undefined4 *)((int)param_2 + 7)" * (cast_expression "(undefined4 *)((int)param_2 + 7)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_2 + 7)" ( (binary_expression "(int)param_2 + 7" (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (expression_statement "param_2[3] = -0x10 - param_5;" (assignment_expression "param_2[3] = -0x10 - param_5" (subscript_expression "param_2[3]" identifier [ number_literal ]) = (binary_expression "-0x10 - param_5" number_literal - identifier)) ;) (return_statement "return 6;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (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 (pointer_expression * IDENT) = 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) )))) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression LIT - IDENT)) ;) (return_statement return LIT ;) })))
(function_definition "undefined4\nFUN_000488a0(undefined4 param_1,undefined4 *param_2,undefined4 param_3,undefined4 param_4,\n            int param_5,undefined4 param_6)\n\n{\n  undefined4 uVar1;\n  \n  *param_2 = DAT_0024dd70;\n  uVar1 = DAT_0024dd78;\n  param_2[1] = DAT_0024dd74;\n  param_2[2] = uVar1;\n  *(undefined4 *)((int)param_2 + 2) = param_4;\n  *(undefined4 *)((int)param_2 + 7) = param_6;\n  param_2[3] = -0x10 - param_5;\n  return 6;\n}" (type_identifier "undefined4") (function_declarator "FUN_000488a0(undefined4 param_1,undefined4 *param_2,undefined4 param_3,undefined4 param_4,\n            int param_5,undefined4 param_6)" (identifier "FUN_000488a0") (parameter_list "(undefined4 param_1,undefined4 *param_2,undefined4 param_3,undefined4 param_4,\n            int param_5,undefined4 param_6)" (( "(") (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"))) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) (, ",") (parameter_declaration "undefined4 param_4" (type_identifier "undefined4") (identifier "param_4")) (, ",") (parameter_declaration "int param_5" (primitive_type "int") (identifier "param_5")) (, ",") (parameter_declaration "undefined4 param_6" (type_identifier "undefined4") (identifier "param_6")) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  \n  *param_2 = DAT_0024dd70;\n  uVar1 = DAT_0024dd78;\n  param_2[1] = DAT_0024dd74;\n  param_2[2] = uVar1;\n  *(undefined4 *)((int)param_2 + 2) = param_4;\n  *(undefined4 *)((int)param_2 + 7) = param_6;\n  param_2[3] = -0x10 - param_5;\n  return 6;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (expression_statement "*param_2 = DAT_0024dd70;" (assignment_expression "*param_2 = DAT_0024dd70" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (identifier "DAT_0024dd70")) (; ";")) (expression_statement "uVar1 = DAT_0024dd78;" (assignment_expression "uVar1 = DAT_0024dd78" (identifier "uVar1") (= "=") (identifier "DAT_0024dd78")) (; ";")) (expression_statement "param_2[1] = DAT_0024dd74;" (assignment_expression "param_2[1] = DAT_0024dd74" (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "DAT_0024dd74")) (; ";")) (expression_statement "param_2[2] = uVar1;" (assignment_expression "param_2[2] = uVar1" (subscript_expression "param_2[2]" (identifier "param_2") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "uVar1")) (; ";")) (expression_statement "*(undefined4 *)((int)param_2 + 2) = param_4;" (assignment_expression "*(undefined4 *)((int)param_2 + 2) = param_4" (pointer_expression "*(undefined4 *)((int)param_2 + 2)" (* "*") (cast_expression "(undefined4 *)((int)param_2 + 2)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_2 + 2)" (( "(") (binary_expression "(int)param_2 + 2" (cast_expression "(int)param_2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_2")) (+ "+") (number_literal "2")) () ")")))) (= "=") (identifier "param_4")) (; ";")) (expression_statement "*(undefined4 *)((int)param_2 + 7) = param_6;" (assignment_expression "*(undefined4 *)((int)param_2 + 7) = param_6" (pointer_expression "*(undefined4 *)((int)param_2 + 7)" (* "*") (cast_expression "(undefined4 *)((int)param_2 + 7)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_2 + 7)" (( "(") (binary_expression "(int)param_2 + 7" (cast_expression "(int)param_2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_2")) (+ "+") (number_literal "7")) () ")")))) (= "=") (identifier "param_6")) (; ";")) (expression_statement "param_2[3] = -0x10 - param_5;" (assignment_expression "param_2[3] = -0x10 - param_5" (subscript_expression "param_2[3]" (identifier "param_2") ([ "[") (number_literal "3") (] "]")) (= "=") (binary_expression "-0x10 - param_5" (number_literal "-0x10") (- "-") (identifier "param_5"))) (; ";")) (return_statement "return 6;" (return "return") (number_literal "6") (; ";")) (} "}")))

/* 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_i386_dyn * this, uchar * pov,
   Elf_Addr param_2, uint got_offset, uint plt_offset, uint plt_rel_offset) */

type_1 __thiscall
anon_unknown.dwarf_217836::type_2::function_1
          (type_2 *this,type_3 *var_1,type_4 param_3,type_1 got_offset,
          type_1 var_2,type_1 plt_rel_offset)

{
  type_5 uVar1;
  
  *(type_5 *)var_1 = (anonymous_namespace)::Output_data_plt_i386_dyn::plt_entry;
  uVar1 = DAT_0024dd78;
  *(type_5 *)(var_1 + 4) = DAT_0024dd74;
  *(type_5 *)(var_1 + 8) = uVar1;
  *(type_1 *)(var_1 + 2) = got_offset;
  *(type_1 *)(var_1 + 7) = plt_rel_offset;
  *(type_1 *)(var_1 + 0xc) = -0x10 - var_2;
  return 6;
}


(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))) (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)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) 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: (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: (subscript_expression argument: (identifier) index: (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 param_3,undefined4 param_4,
            int param_5,undefined4 param_6)

{
  undefined4 uVar1;
  
  *param_2 = DAT_0024dd70;
  uVar1 = DAT_0024dd78;
  param_2[1] = DAT_0024dd74;
  param_2[2] = uVar1;
  *(undefined4 *)((int)param_2 + 2) = param_4;
  *(undefined4 *)((int)param_2 + 7) = param_6;
  param_2[3] = -0x10 - param_5;
  return 6;
}

