
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* std::string::replace(unsigned int, unsigned int, char const*) */

void __thiscall std::string::replace(string *this,uint param_1,uint param_2,char *param_3)

{
  size_t sVar1;
  
  sVar1 = strlen(param_3);
  replace(this,param_1,param_2,param_3,sVar1);
  return;
}



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

void FUN_00220af0(undefined4 param_1,undefined4 param_2,undefined4 param_3,char *param_4)

{
  size_t sVar1;
  
  sVar1 = strlen(param_4);
  FUN_00220870(param_1,param_2,param_3,param_4,sVar1);
  return;
}


PUSH ESI
PUSH EBX
CALL 0x00035840
ADD EBX,0x16e509
SUB ESP,0x10
MOV ESI,dword ptr [ESP + 0x28]
PUSH ESI
CALL 0x000295f0
MOV dword ptr [ESP],EAX
PUSH ESI
PUSH dword ptr [ESP + 0x2c]
PUSH dword ptr [ESP + 0x2c]
PUSH dword ptr [ESP + 0x2c]
CALL 0x00220870
ADD ESP,0x24
POP EBX
POP ESI
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_00220af0(undefined4 param_1,undefined4 param_2,undefined4 param_3,char *param_4)\n\n{\n  size_t sVar1;\n  \n  sVar1 = strlen(param_4);\n  FUN_00220870(param_1,param_2,param_3,param_4,sVar1);\n  return;\n}\n\n" comment (function_definition "void FUN_00220af0(undefined4 param_1,undefined4 param_2,undefined4 param_3,char *param_4)\n\n{\n  size_t sVar1;\n  \n  sVar1 = strlen(param_4);\n  FUN_00220870(param_1,param_2,param_3,param_4,sVar1);\n  return;\n}" primitive_type (function_declarator "FUN_00220af0(undefined4 param_1,undefined4 param_2,undefined4 param_3,char *param_4)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3,char *param_4)" ( (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 "char *param_4" primitive_type (pointer_declarator "*param_4" * identifier)) ))) (compound_statement "{\n  size_t sVar1;\n  \n  sVar1 = strlen(param_4);\n  FUN_00220870(param_1,param_2,param_3,param_4,sVar1);\n  return;\n}" { (declaration "size_t sVar1;" primitive_type identifier ;) (expression_statement "sVar1 = strlen(param_4);" (assignment_expression "sVar1 = strlen(param_4)" identifier = (call_expression "strlen(param_4)" identifier (argument_list "(param_4)" ( identifier )))) ;) (expression_statement "FUN_00220870(param_1,param_2,param_3,param_4,sVar1);" (call_expression "FUN_00220870(param_1,param_2,param_3,param_4,sVar1)" identifier (argument_list "(param_1,param_2,param_3,param_4,sVar1)" ( identifier , identifier , identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* std::string::replace(unsigned int, unsigned int, char const*) */\n\nvoid __thiscall std::string::replace(string *this,uint param_1,uint param_2,char *param_3)\n\n{\n  size_t sVar1;\n  \n  sVar1 = strlen(param_3);\n  replace(this,param_1,param_2,param_3,sVar1);\n  return;\n}\n\n" comment comment (function_definition "void __thiscall std::string::replace(string *this,uint param_1,uint param_2,char *param_3)\n\n{\n  size_t sVar1;\n  \n  sVar1 = strlen(param_3);\n  replace(this,param_1,param_2,param_3,sVar1);\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::string::" identifier : : identifier : :) (function_declarator "replace(string *this,uint param_1,uint param_2,char *param_3)" identifier (parameter_list "(string *this,uint param_1,uint param_2,char *param_3)" ( (parameter_declaration "string *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "uint param_1" type_identifier identifier) , (parameter_declaration "uint param_2" type_identifier identifier) , (parameter_declaration "char *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  size_t sVar1;\n  \n  sVar1 = strlen(param_3);\n  replace(this,param_1,param_2,param_3,sVar1);\n  return;\n}" { (declaration "size_t sVar1;" primitive_type identifier ;) (expression_statement "sVar1 = strlen(param_3);" (assignment_expression "sVar1 = strlen(param_3)" identifier = (call_expression "strlen(param_3)" identifier (argument_list "(param_3)" ( identifier )))) ;) (expression_statement "replace(this,param_1,param_2,param_3,sVar1);" (call_expression "replace(this,param_1,param_2,param_3,sVar1)" identifier (argument_list "(this,param_1,param_2,param_3,sVar1)" ( identifier , identifier , identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00220af0(undefined4 param_1,undefined4 param_2,undefined4 param_3,char *param_4)\n\n{\n  size_t sVar1;\n  \n  sVar1 = strlen(param_4);\n  FUN_00220870(param_1,param_2,param_3,param_4,sVar1);\n  return;\n}\n\n" (function_definition "void FUN_00220af0(undefined4 param_1,undefined4 param_2,undefined4 param_3,char *param_4)\n\n{\n  size_t sVar1;\n  \n  sVar1 = strlen(param_4);\n  FUN_00220870(param_1,param_2,param_3,param_4,sVar1);\n  return;\n}" primitive_type (function_declarator "FUN_00220af0(undefined4 param_1,undefined4 param_2,undefined4 param_3,char *param_4)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3,char *param_4)" ( (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 "char *param_4" primitive_type (pointer_declarator "*param_4" * identifier)) ))) (compound_statement "{\n  size_t sVar1;\n  \n  sVar1 = strlen(param_4);\n  FUN_00220870(param_1,param_2,param_3,param_4,sVar1);\n  return;\n}" { (declaration "size_t sVar1;" primitive_type identifier ;) (expression_statement "sVar1 = strlen(param_4);" (assignment_expression "sVar1 = strlen(param_4)" identifier = (call_expression "strlen(param_4)" identifier (argument_list "(param_4)" ( identifier )))) ;) (expression_statement "FUN_00220870(param_1,param_2,param_3,param_4,sVar1);" (call_expression "FUN_00220870(param_1,param_2,param_3,param_4,sVar1)" identifier (argument_list "(param_1,param_2,param_3,param_4,sVar1)" ( identifier , identifier , identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , IDENT , IDENT ))) ;) (return_statement return ;) })))
(function_definition "void FUN_00220af0(undefined4 param_1,undefined4 param_2,undefined4 param_3,char *param_4)\n\n{\n  size_t sVar1;\n  \n  sVar1 = strlen(param_4);\n  FUN_00220870(param_1,param_2,param_3,param_4,sVar1);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00220af0(undefined4 param_1,undefined4 param_2,undefined4 param_3,char *param_4)" (identifier "FUN_00220af0") (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3,char *param_4)" (( "(") (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 "char *param_4" (primitive_type "char") (pointer_declarator "*param_4" (* "*") (identifier "param_4"))) () ")"))) (compound_statement "{\n  size_t sVar1;\n  \n  sVar1 = strlen(param_4);\n  FUN_00220870(param_1,param_2,param_3,param_4,sVar1);\n  return;\n}" ({ "{") (declaration "size_t sVar1;" (primitive_type "size_t") (identifier "sVar1") (; ";")) (expression_statement "sVar1 = strlen(param_4);" (assignment_expression "sVar1 = strlen(param_4)" (identifier "sVar1") (= "=") (call_expression "strlen(param_4)" (identifier "strlen") (argument_list "(param_4)" (( "(") (identifier "param_4") () ")")))) (; ";")) (expression_statement "FUN_00220870(param_1,param_2,param_3,param_4,sVar1);" (call_expression "FUN_00220870(param_1,param_2,param_3,param_4,sVar1)" (identifier "FUN_00220870") (argument_list "(param_1,param_2,param_3,param_4,sVar1)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") (, ",") (identifier "param_3") (, ",") (identifier "param_4") (, ",") (identifier "sVar1") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* std::string::replace(unsigned int, unsigned int, char const*) */

void __thiscall std::type_1::function_1(type_1 *this,type_2 param_1,type_2 param_2,char *param_3)

{
  size_t sVar1;
  
  sVar1 = var_1(param_3);
  function_1(this,param_1,param_2,param_3,sVar1);
  return;
}


(translation_unit (function_definition type: (primitive_type) 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: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier) (identifier) (identifier)))) (return_statement))))

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

void MASKED(undefined4 param_1,undefined4 param_2,undefined4 param_3,char *param_4)

{
  size_t sVar1;
  
  sVar1 = strlen(param_4);
  FUN_00220870(param_1,param_2,param_3,param_4,sVar1);
  return;
}

