
/* WARNING: Function: __x86.get_pc_thunk.dx replaced with injection: get_pc_thunk_dx */
/* std::num_put<wchar_t, std::ostreambuf_iterator<wchar_t, std::char_traits<wchar_t> >
   >::num_put(unsigned int) */

void __thiscall
std::num_put<wchar_t,std::ostreambuf_iterator<wchar_t,std::char_traits<wchar_t>>>::num_put
          (num_put<wchar_t,std::ostreambuf_iterator<wchar_t,std::char_traits<wchar_t>>> *this,
          uint param_1)

{
  *(uint *)(this + 4) = (uint)(param_1 != 0);
  *(undefined ***)this = &PTR__num_put_0038dd44;
  return;
}



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

void FUN_0023b000(undefined4 *param_1,int param_2)

{
  param_1[1] = (uint)(param_2 != 0);
  *param_1 = &PTR_FUN_0038dd44;
  return;
}


CALL 0x00035975
ADD EDX,0x153ffb
MOV EAX,dword ptr [ESP + 0x4]
XOR ECX,ECX
CMP dword ptr [ESP + 0x8],0x0
SETNZ CL
MOV dword ptr [EAX + 0x4],ECX
LEA EDX,[EDX + 0xffffed3c]
ADD EDX,0x8
MOV dword ptr [EAX],EDX
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.dx replaced with injection: get_pc_thunk_dx */\n\nvoid FUN_0023b000(undefined4 *param_1,int param_2)\n\n{\n  param_1[1] = (uint)(param_2 != 0);\n  *param_1 = &PTR_FUN_0038dd44;\n  return;\n}\n\n" comment (function_definition "void FUN_0023b000(undefined4 *param_1,int param_2)\n\n{\n  param_1[1] = (uint)(param_2 != 0);\n  *param_1 = &PTR_FUN_0038dd44;\n  return;\n}" primitive_type (function_declarator "FUN_0023b000(undefined4 *param_1,int param_2)" identifier (parameter_list "(undefined4 *param_1,int param_2)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  param_1[1] = (uint)(param_2 != 0);\n  *param_1 = &PTR_FUN_0038dd44;\n  return;\n}" { (expression_statement "param_1[1] = (uint)(param_2 != 0);" (assignment_expression "param_1[1] = (uint)(param_2 != 0)" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (call_expression "(uint)(param_2 != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )))) ;) (expression_statement "*param_1 = &PTR_FUN_0038dd44;" (assignment_expression "*param_1 = &PTR_FUN_0038dd44" (pointer_expression "*param_1" * identifier) = (pointer_expression "&PTR_FUN_0038dd44" & identifier)) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.dx replaced with injection: get_pc_thunk_dx */\n/* std::num_put<wchar_t, std::ostreambuf_iterator<wchar_t, std::char_traits<wchar_t> >\n   >::num_put(unsigned int) */\n\nvoid __thiscall\nstd::num_put<wchar_t,std::ostreambuf_iterator<wchar_t,std::char_traits<wchar_t>>>::num_put\n          (num_put<wchar_t,std::ostreambuf_iterator<wchar_t,std::char_traits<wchar_t>>> *this,\n          uint param_1)\n\n{\n  *(uint *)(this + 4) = (uint)(param_1 != 0);\n  *(undefined ***)this = &PTR__num_put_0038dd44;\n  return;\n}\n\n" comment comment (declaration "void __thiscall\nstd::num_put<wchar_t,std::ostreambuf_iterator<wchar_t,std::char_traits<wchar_t>>>::num_put\n          (num_put<wchar_t,std::ostreambuf_iterator<wchar_t,std::char_traits<wchar_t>>> *this,\n          uint param_1)\n\n{\n  *(uint *)(this + 4) = (uint)(param_1 != 0);" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::num_put<" identifier : : identifier <) identifier , (ERROR "std::ostreambuf_iterator<" identifier : : identifier <) identifier , (ERROR "std::char_traits<wchar_t>>>::num_put\n          (num_put<wchar_t,std::ostreambuf_iterator<wchar_t,std::char_traits<wchar_t>>> *this,\n          uint param_1)\n\n{" identifier : : identifier < identifier >> > : : (function_declarator "num_put\n          (num_put<wchar_t,std::ostreambuf_iterator<wchar_t,std::char_traits<wchar_t>>> *this,\n          uint param_1)" identifier (parameter_list "(num_put<wchar_t,std::ostreambuf_iterator<wchar_t,std::char_traits<wchar_t>>> *this,\n          uint param_1)" ( (parameter_declaration "num_put<wchar_t" type_identifier (ERROR "<" <) identifier) , (parameter_declaration "std::ostreambuf_iterator<wchar_t" type_identifier (ERROR "::ostreambuf_iterator<" : : identifier <) identifier) , (parameter_declaration "std::char_traits<wchar_t>>> *this" type_identifier (ERROR "::char_traits<wchar_t>>>" : : identifier < identifier >> >) (pointer_declarator "*this" * identifier)) , (parameter_declaration "uint param_1" type_identifier identifier) ))) {) (init_declarator "*(uint *)(this + 4) = (uint)(param_1 != 0)" (pointer_declarator "*(uint *)(this + 4)" * (function_declarator "(uint *)(this + 4)" (parenthesized_declarator "(uint *)" ( identifier (ERROR "*" *) )) (parameter_list "(this + 4)" ( (parameter_declaration "this" type_identifier) (ERROR "+ 4" + number_literal) )))) = (call_expression "(uint)(param_1 != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_1 != 0)" ( (binary_expression "param_1 != 0" identifier != number_literal) )))) ;) (expression_statement "*(undefined ***)this = &PTR__num_put_0038dd44;" (assignment_expression "*(undefined ***)this = &PTR__num_put_0038dd44" (pointer_expression "*(undefined ***)this" * (cast_expression "(undefined ***)this" ( (type_descriptor "undefined ***" type_identifier (abstract_pointer_declarator "***" * (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *)))) ) identifier)) = (pointer_expression "&PTR__num_put_0038dd44" & identifier)) ;) (return_statement "return;" return ;) (ERROR "}" }))
(translation_unit "void FUN_0023b000(undefined4 *param_1,int param_2)\n\n{\n  param_1[1] = (uint)(param_2 != 0);\n  *param_1 = &PTR_FUN_0038dd44;\n  return;\n}\n\n" (function_definition "void FUN_0023b000(undefined4 *param_1,int param_2)\n\n{\n  param_1[1] = (uint)(param_2 != 0);\n  *param_1 = &PTR_FUN_0038dd44;\n  return;\n}" primitive_type (function_declarator "FUN_0023b000(undefined4 *param_1,int param_2)" identifier (parameter_list "(undefined4 *param_1,int param_2)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  param_1[1] = (uint)(param_2 != 0);\n  *param_1 = &PTR_FUN_0038dd44;\n  return;\n}" { (expression_statement "param_1[1] = (uint)(param_2 != 0);" (assignment_expression "param_1[1] = (uint)(param_2 != 0)" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (call_expression "(uint)(param_2 != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )))) ;) (expression_statement "*param_1 = &PTR_FUN_0038dd44;" (assignment_expression "*param_1 = &PTR_FUN_0038dd44" (pointer_expression "*param_1" * identifier) = (pointer_expression "&PTR_FUN_0038dd44" & identifier)) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT != LIT) )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression & IDENT)) ;) (return_statement return ;) })))
(function_definition "void FUN_0023b000(undefined4 *param_1,int param_2)\n\n{\n  param_1[1] = (uint)(param_2 != 0);\n  *param_1 = &PTR_FUN_0038dd44;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0023b000(undefined4 *param_1,int param_2)" (identifier "FUN_0023b000") (parameter_list "(undefined4 *param_1,int param_2)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  param_1[1] = (uint)(param_2 != 0);\n  *param_1 = &PTR_FUN_0038dd44;\n  return;\n}" ({ "{") (expression_statement "param_1[1] = (uint)(param_2 != 0);" (assignment_expression "param_1[1] = (uint)(param_2 != 0)" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (call_expression "(uint)(param_2 != 0)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(param_2 != 0)" (( "(") (binary_expression "param_2 != 0" (identifier "param_2") (!= "!=") (number_literal "0")) () ")")))) (; ";")) (expression_statement "*param_1 = &PTR_FUN_0038dd44;" (assignment_expression "*param_1 = &PTR_FUN_0038dd44" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (pointer_expression "&PTR_FUN_0038dd44" (& "&") (identifier "PTR_FUN_0038dd44"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.dx replaced with injection: get_pc_thunk_dx */
/* std::num_put<wchar_t, std::ostreambuf_iterator<wchar_t, std::char_traits<wchar_t> >
   >::num_put(unsigned int) */

void __thiscall
std::num_put<wchar_t,std::ostreambuf_iterator<wchar_t,std::char_traits<wchar_t>>>::num_put
          (num_put<wchar_t,std::ostreambuf_iterator<wchar_t,std::char_traits<wchar_t>>> *type_1,
          function_1 var_1)

{
  *(function_1 *)(type_1 + 4) = (function_1)(var_1 != 0);
  *(type_2 ***)type_1 = &PTR__num_put_0038dd44;
  return;
}


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

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

void MASKED(undefined4 *param_1,int param_2)

{
  param_1[1] = (uint)(param_2 != 0);
  *param_1 = &PTR_FUN_0038dd44;
  return;
}

