
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: string do_code_fill(Target_x86_64_nacl<64> * this, section_size_type
   length) */

string * __thiscall
anon_unknown.dwarf_32964f::Target_x86_64_nacl<64>::do_code_fill
          (Target_x86_64_nacl<64> *this,section_size_type length)

{
  string *in_stack_00000004;
  
  (in_stack_00000004->_M_dataplus)._M_p = (pointer)&in_stack_00000004->field_2;
  std::string::_M_construct((string *)in_stack_00000004,length,-0x70);
  return in_stack_00000004;
}



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

int * FUN_0005aac0(int *param_1,undefined4 param_2,undefined4 param_3)

{
  *param_1 = (int)(param_1 + 2);
  FUN_001b3c50(param_1,param_3,0xffffff90);
  return param_1;
}


PUSH ESI
PUSH EBX
CALL 0x00035680
ADD EBX,0x2e4539
SUB ESP,0x8
MOV ESI,dword ptr [ESP + 0x14]
LEA EAX,[ESI + 0x8]
MOV dword ptr [ESI],EAX
PUSH -0x70
PUSH dword ptr [ESP + 0x20]
PUSH ESI
CALL 0x001b3c50
ADD ESP,0x14
MOV EAX,ESI
POP EBX
POP ESI
RET 0x4
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nint * FUN_0005aac0(int *param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  *param_1 = (int)(param_1 + 2);\n  FUN_001b3c50(param_1,param_3,0xffffff90);\n  return param_1;\n}\n\n" comment (function_definition "int * FUN_0005aac0(int *param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  *param_1 = (int)(param_1 + 2);\n  FUN_001b3c50(param_1,param_3,0xffffff90);\n  return param_1;\n}" primitive_type (pointer_declarator "* FUN_0005aac0(int *param_1,undefined4 param_2,undefined4 param_3)" * (function_declarator "FUN_0005aac0(int *param_1,undefined4 param_2,undefined4 param_3)" identifier (parameter_list "(int *param_1,undefined4 param_2,undefined4 param_3)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) )))) (compound_statement "{\n  *param_1 = (int)(param_1 + 2);\n  FUN_001b3c50(param_1,param_3,0xffffff90);\n  return param_1;\n}" { (expression_statement "*param_1 = (int)(param_1 + 2);" (assignment_expression "*param_1 = (int)(param_1 + 2)" (pointer_expression "*param_1" * identifier) = (cast_expression "(int)(param_1 + 2)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(param_1 + 2)" ( (binary_expression "param_1 + 2" identifier + number_literal) )))) ;) (expression_statement "FUN_001b3c50(param_1,param_3,0xffffff90);" (call_expression "FUN_001b3c50(param_1,param_3,0xffffff90)" identifier (argument_list "(param_1,param_3,0xffffff90)" ( identifier , identifier , number_literal ))) ;) (return_statement "return param_1;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* DWARF original prototype: string do_code_fill(Target_x86_64_nacl<64> * this, section_size_type\n   length) */\n\nstring * __thiscall\nanon_unknown.dwarf_32964f::Target_x86_64_nacl<64>::do_code_fill\n          (Target_x86_64_nacl<64> *this,section_size_type length)\n\n{\n  string *in_stack_00000004;\n  \n  (in_stack_00000004->_M_dataplus)._M_p = (pointer)&in_stack_00000004->field_2;\n  std::string::_M_construct((string *)in_stack_00000004,length,-0x70);\n  return in_stack_00000004;\n}\n\n" comment comment (expression_statement "string * __thiscall\nanon_unknown.dwarf_32964f::Target_x86_64_nacl<64>::do_code_fill\n          (Target_x86_64_nacl<64> *this,section_size_type length)\n\n{\n  string *in_stack_00000004;\n  \n  (in_stack_00000004->_M_dataplus)._M_p = (pointer)&in_stack_00000004->field_2;" (assignment_expression "string * __thiscall\nanon_unknown.dwarf_32964f::Target_x86_64_nacl<64>::do_code_fill\n          (Target_x86_64_nacl<64> *this,section_size_type length)\n\n{\n  string *in_stack_00000004;\n  \n  (in_stack_00000004->_M_dataplus)._M_p = (pointer)&in_stack_00000004->field_2" (field_expression "string * __thiscall\nanon_unknown.dwarf_32964f::Target_x86_64_nacl<64>::do_code_fill\n          (Target_x86_64_nacl<64> *this,section_size_type length)\n\n{\n  string *in_stack_00000004;\n  \n  (in_stack_00000004->_M_dataplus)._M_p" (call_expression "string * __thiscall\nanon_unknown.dwarf_32964f::Target_x86_64_nacl<64>::do_code_fill\n          (Target_x86_64_nacl<64> *this,section_size_type length)\n\n{\n  string *in_stack_00000004;\n  \n  (in_stack_00000004->_M_dataplus)" (binary_expression "string * __thiscall\nanon_unknown.dwarf_32964f::Target_x86_64_nacl<64>::do_code_fill\n          (Target_x86_64_nacl<64> *this,section_size_type length)\n\n{\n  string *in_stack_00000004" (binary_expression "string * __thiscall\nanon_unknown.dwarf_32964f::Target_x86_64_nacl<64" (binary_expression "string * __thiscall\nanon_unknown.dwarf_32964f" identifier * (ERROR "__thiscall" identifier) (field_expression "anon_unknown.dwarf_32964f" identifier . field_identifier)) (ERROR "::Target_x86_64_nacl" : : identifier) < number_literal) > (ERROR "::do_code_fill\n          (Target_x86_64_nacl<64> *this,section_size_type length)\n\n{" : : (call_expression "do_code_fill\n          (Target_x86_64_nacl<64> *this,section_size_type length)" identifier (argument_list "(Target_x86_64_nacl<64> *this,section_size_type length)" ( (binary_expression "Target_x86_64_nacl<64> *this" (binary_expression "Target_x86_64_nacl<64" identifier < number_literal) > (pointer_expression "*this" * identifier)) , identifier (ERROR "length" identifier) ))) {) (binary_expression "string *in_stack_00000004" identifier * identifier)) (ERROR ";" ;) (argument_list "(in_stack_00000004->_M_dataplus)" ( (field_expression "in_stack_00000004->_M_dataplus" identifier -> field_identifier) ))) . field_identifier) = (binary_expression "(pointer)&in_stack_00000004->field_2" (parenthesized_expression "(pointer)" ( identifier )) & (field_expression "in_stack_00000004->field_2" identifier -> field_identifier))) ;) (labeled_statement "std::string::_M_construct((string *)in_stack_00000004,length,-0x70);" statement_identifier : (ERROR ":" :) (labeled_statement "string::_M_construct((string *)in_stack_00000004,length,-0x70);" statement_identifier : (ERROR ":" :) (expression_statement "_M_construct((string *)in_stack_00000004,length,-0x70);" (call_expression "_M_construct((string *)in_stack_00000004,length,-0x70)" identifier (argument_list "((string *)in_stack_00000004,length,-0x70)" ( (cast_expression "(string *)in_stack_00000004" ( (type_descriptor "string *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , identifier , number_literal ))) ;))) (return_statement "return in_stack_00000004;" return identifier ;) (ERROR "}" }))
(translation_unit "int * FUN_0005aac0(int *param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  *param_1 = (int)(param_1 + 2);\n  FUN_001b3c50(param_1,param_3,0xffffff90);\n  return param_1;\n}\n\n" (function_definition "int * FUN_0005aac0(int *param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  *param_1 = (int)(param_1 + 2);\n  FUN_001b3c50(param_1,param_3,0xffffff90);\n  return param_1;\n}" primitive_type (pointer_declarator "* FUN_0005aac0(int *param_1,undefined4 param_2,undefined4 param_3)" * (function_declarator "FUN_0005aac0(int *param_1,undefined4 param_2,undefined4 param_3)" identifier (parameter_list "(int *param_1,undefined4 param_2,undefined4 param_3)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) )))) (compound_statement "{\n  *param_1 = (int)(param_1 + 2);\n  FUN_001b3c50(param_1,param_3,0xffffff90);\n  return param_1;\n}" { (expression_statement "*param_1 = (int)(param_1 + 2);" (assignment_expression "*param_1 = (int)(param_1 + 2)" (pointer_expression "*param_1" * identifier) = (cast_expression "(int)(param_1 + 2)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(param_1 + 2)" ( (binary_expression "param_1 + 2" identifier + number_literal) )))) ;) (expression_statement "FUN_001b3c50(param_1,param_3,0xffffff90);" (call_expression "FUN_001b3c50(param_1,param_3,0xffffff90)" identifier (argument_list "(param_1,param_3,0xffffff90)" ( identifier , identifier , number_literal ))) ;) (return_statement "return param_1;" return identifier ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) )))) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , LIT ))) ;) (return_statement return IDENT ;) })))
(function_definition "int * FUN_0005aac0(int *param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  *param_1 = (int)(param_1 + 2);\n  FUN_001b3c50(param_1,param_3,0xffffff90);\n  return param_1;\n}" (primitive_type "int") (pointer_declarator "* FUN_0005aac0(int *param_1,undefined4 param_2,undefined4 param_3)" (* "*") (function_declarator "FUN_0005aac0(int *param_1,undefined4 param_2,undefined4 param_3)" (identifier "FUN_0005aac0") (parameter_list "(int *param_1,undefined4 param_2,undefined4 param_3)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (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")) () ")")))) (compound_statement "{\n  *param_1 = (int)(param_1 + 2);\n  FUN_001b3c50(param_1,param_3,0xffffff90);\n  return param_1;\n}" ({ "{") (expression_statement "*param_1 = (int)(param_1 + 2);" (assignment_expression "*param_1 = (int)(param_1 + 2)" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (cast_expression "(int)(param_1 + 2)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(param_1 + 2)" (( "(") (binary_expression "param_1 + 2" (identifier "param_1") (+ "+") (number_literal "2")) () ")")))) (; ";")) (expression_statement "FUN_001b3c50(param_1,param_3,0xffffff90);" (call_expression "FUN_001b3c50(param_1,param_3,0xffffff90)" (identifier "FUN_001b3c50") (argument_list "(param_1,param_3,0xffffff90)" (( "(") (identifier "param_1") (, ",") (identifier "param_3") (, ",") (number_literal "0xffffff90") () ")"))) (; ";")) (return_statement "return param_1;" (return "return") (identifier "param_1") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: string do_code_fill(Target_x86_64_nacl<64> * this, section_size_type
   length) */

var_1 * __thiscall
anon_unknown.dwarf_32964f::Target_x86_64_nacl<64>::do_code_fill
          (Target_x86_64_nacl<64> *this,section_size_type length)

{
  var_1 *var_2;
  
  (var_2->_M_dataplus)._M_p = (pointer)&var_2->field_2;
  std::string::var_3((var_1 *)var_2,length,-0x70);
  return var_2;
}


(translation_unit (function_definition type: (primitive_type) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier))))) body: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (number_literal)))) (return_statement (identifier)))))

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

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

{
  *param_1 = (int)(param_1 + 2);
  FUN_001b3c50(param_1,param_3,0xffffff90);
  return param_1;
}

