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

void __thiscall
std::__moneypunct_cache<wchar_t,true>::__moneypunct_cache
          (__moneypunct_cache<wchar_t,true> *this,uint param_1)

{
  *(uint *)(this + 4) = (uint)(param_1 != 0);
  *(undefined4 *)(this + 8) = 0;
  *(undefined4 *)(this + 0xc) = 0;
  this[0x10] = (__moneypunct_cache<wchar_t,true>)0x0;
  *(undefined4 *)(this + 0x14) = 0;
  *(undefined4 *)(this + 0x18) = 0;
  *(undefined4 *)(this + 0x1c) = 0;
  *(undefined ***)this = &PTR____moneypunct_cache_0038d7a8;
  *(undefined4 *)(this + 0x20) = 0;
  *(undefined4 *)(this + 0x24) = 0;
  *(undefined4 *)(this + 0x28) = 0;
  *(undefined4 *)(this + 0x2c) = 0;
  *(undefined4 *)(this + 0x30) = 0;
  *(undefined4 *)(this + 0x34) = 0;
  *(undefined4 *)(this + 0x38) = 0;
  *(undefined4 *)(this + 0x3c) = 0;
  this[0x6c] = (__moneypunct_cache<wchar_t,true>)0x0;
  return;
}



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

void FUN_002399f0(undefined4 *param_1,int param_2)

{
  param_1[1] = (uint)(param_2 != 0);
  param_1[2] = 0;
  param_1[3] = 0;
  *(undefined1 *)(param_1 + 4) = 0;
  param_1[5] = 0;
  param_1[6] = 0;
  param_1[7] = 0;
  *param_1 = &PTR_FUN_0038d7a8;
  param_1[8] = 0;
  param_1[9] = 0;
  param_1[10] = 0;
  param_1[0xb] = 0;
  param_1[0xc] = 0;
  param_1[0xd] = 0;
  param_1[0xe] = 0;
  param_1[0xf] = 0;
  *(undefined1 *)(param_1 + 0x1b) = 0;
  return;
}


CALL 0x00035975
ADD EDX,0x15560b
MOV EAX,dword ptr [ESP + 0x4]
XOR ECX,ECX
CMP dword ptr [ESP + 0x8],0x0
SETNZ CL
MOV dword ptr [EAX + 0x4],ECX
MOV dword ptr [EAX + 0x8],0x0
MOV dword ptr [EAX + 0xc],0x0
MOV byte ptr [EAX + 0x10],0x0
LEA EDX,[EDX + 0xffffe7a0]
MOV dword ptr [EAX + 0x14],0x0
MOV dword ptr [EAX + 0x18],0x0
ADD EDX,0x8
MOV dword ptr [EAX + 0x1c],0x0
MOV dword ptr [EAX],EDX
MOV dword ptr [EAX + 0x20],0x0
MOV dword ptr [EAX + 0x24],0x0
MOV dword ptr [EAX + 0x28],0x0
MOV dword ptr [EAX + 0x2c],0x0
MOV dword ptr [EAX + 0x30],0x0
MOV dword ptr [EAX + 0x34],0x0
MOV dword ptr [EAX + 0x38],0x0
MOV dword ptr [EAX + 0x3c],0x0
MOV byte ptr [EAX + 0x6c],0x0
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.dx replaced with injection: get_pc_thunk_dx */\n\nvoid FUN_002399f0(undefined4 *param_1,int param_2)\n\n{\n  param_1[1] = (uint)(param_2 != 0);\n  param_1[2] = 0;\n  param_1[3] = 0;\n  *(undefined1 *)(param_1 + 4) = 0;\n  param_1[5] = 0;\n  param_1[6] = 0;\n  param_1[7] = 0;\n  *param_1 = &PTR_FUN_0038d7a8;\n  param_1[8] = 0;\n  param_1[9] = 0;\n  param_1[10] = 0;\n  param_1[0xb] = 0;\n  param_1[0xc] = 0;\n  param_1[0xd] = 0;\n  param_1[0xe] = 0;\n  param_1[0xf] = 0;\n  *(undefined1 *)(param_1 + 0x1b) = 0;\n  return;\n}\n\n" comment (function_definition "void FUN_002399f0(undefined4 *param_1,int param_2)\n\n{\n  param_1[1] = (uint)(param_2 != 0);\n  param_1[2] = 0;\n  param_1[3] = 0;\n  *(undefined1 *)(param_1 + 4) = 0;\n  param_1[5] = 0;\n  param_1[6] = 0;\n  param_1[7] = 0;\n  *param_1 = &PTR_FUN_0038d7a8;\n  param_1[8] = 0;\n  param_1[9] = 0;\n  param_1[10] = 0;\n  param_1[0xb] = 0;\n  param_1[0xc] = 0;\n  param_1[0xd] = 0;\n  param_1[0xe] = 0;\n  param_1[0xf] = 0;\n  *(undefined1 *)(param_1 + 0x1b) = 0;\n  return;\n}" primitive_type (function_declarator "FUN_002399f0(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[2] = 0;\n  param_1[3] = 0;\n  *(undefined1 *)(param_1 + 4) = 0;\n  param_1[5] = 0;\n  param_1[6] = 0;\n  param_1[7] = 0;\n  *param_1 = &PTR_FUN_0038d7a8;\n  param_1[8] = 0;\n  param_1[9] = 0;\n  param_1[10] = 0;\n  param_1[0xb] = 0;\n  param_1[0xc] = 0;\n  param_1[0xd] = 0;\n  param_1[0xe] = 0;\n  param_1[0xf] = 0;\n  *(undefined1 *)(param_1 + 0x1b) = 0;\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[2] = 0;" (assignment_expression "param_1[2] = 0" (subscript_expression "param_1[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[3] = 0;" (assignment_expression "param_1[3] = 0" (subscript_expression "param_1[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined1 *)(param_1 + 4) = 0;" (assignment_expression "*(undefined1 *)(param_1 + 4) = 0" (pointer_expression "*(undefined1 *)(param_1 + 4)" * (cast_expression "(undefined1 *)(param_1 + 4)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) = number_literal) ;) (expression_statement "param_1[5] = 0;" (assignment_expression "param_1[5] = 0" (subscript_expression "param_1[5]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[6] = 0;" (assignment_expression "param_1[6] = 0" (subscript_expression "param_1[6]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[7] = 0;" (assignment_expression "param_1[7] = 0" (subscript_expression "param_1[7]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*param_1 = &PTR_FUN_0038d7a8;" (assignment_expression "*param_1 = &PTR_FUN_0038d7a8" (pointer_expression "*param_1" * identifier) = (pointer_expression "&PTR_FUN_0038d7a8" & identifier)) ;) (expression_statement "param_1[8] = 0;" (assignment_expression "param_1[8] = 0" (subscript_expression "param_1[8]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[9] = 0;" (assignment_expression "param_1[9] = 0" (subscript_expression "param_1[9]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[10] = 0;" (assignment_expression "param_1[10] = 0" (subscript_expression "param_1[10]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[0xb] = 0;" (assignment_expression "param_1[0xb] = 0" (subscript_expression "param_1[0xb]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[0xc] = 0;" (assignment_expression "param_1[0xc] = 0" (subscript_expression "param_1[0xc]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[0xd] = 0;" (assignment_expression "param_1[0xd] = 0" (subscript_expression "param_1[0xd]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[0xe] = 0;" (assignment_expression "param_1[0xe] = 0" (subscript_expression "param_1[0xe]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[0xf] = 0;" (assignment_expression "param_1[0xf] = 0" (subscript_expression "param_1[0xf]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined1 *)(param_1 + 0x1b) = 0;" (assignment_expression "*(undefined1 *)(param_1 + 0x1b) = 0" (pointer_expression "*(undefined1 *)(param_1 + 0x1b)" * (cast_expression "(undefined1 *)(param_1 + 0x1b)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1b)" ( (binary_expression "param_1 + 0x1b" identifier + number_literal) )))) = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.dx replaced with injection: get_pc_thunk_dx */\n/* std::__moneypunct_cache<wchar_t, true>::__moneypunct_cache(unsigned int) */\n\nvoid __thiscall\nstd::__moneypunct_cache<wchar_t,true>::__moneypunct_cache\n          (__moneypunct_cache<wchar_t,true> *this,uint param_1)\n\n{\n  *(uint *)(this + 4) = (uint)(param_1 != 0);\n  *(undefined4 *)(this + 8) = 0;\n  *(undefined4 *)(this + 0xc) = 0;\n  this[0x10] = (__moneypunct_cache<wchar_t,true>)0x0;\n  *(undefined4 *)(this + 0x14) = 0;\n  *(undefined4 *)(this + 0x18) = 0;\n  *(undefined4 *)(this + 0x1c) = 0;\n  *(undefined ***)this = &PTR____moneypunct_cache_0038d7a8;\n  *(undefined4 *)(this + 0x20) = 0;\n  *(undefined4 *)(this + 0x24) = 0;\n  *(undefined4 *)(this + 0x28) = 0;\n  *(undefined4 *)(this + 0x2c) = 0;\n  *(undefined4 *)(this + 0x30) = 0;\n  *(undefined4 *)(this + 0x34) = 0;\n  *(undefined4 *)(this + 0x38) = 0;\n  *(undefined4 *)(this + 0x3c) = 0;\n  this[0x6c] = (__moneypunct_cache<wchar_t,true>)0x0;\n  return;\n}\n\n" comment comment (declaration "void __thiscall\nstd::__moneypunct_cache<wchar_t,true>::__moneypunct_cache\n          (__moneypunct_cache<wchar_t,true> *this,uint param_1)\n\n{\n  *(uint *)(this + 4) = (uint)(param_1 != 0);" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::__moneypunct_cache<" identifier : : identifier <) identifier , (ERROR "true>::__moneypunct_cache\n          (__moneypunct_cache<wchar_t,true> *this,uint param_1)\n\n{" identifier > : : (function_declarator "__moneypunct_cache\n          (__moneypunct_cache<wchar_t,true> *this,uint param_1)" identifier (parameter_list "(__moneypunct_cache<wchar_t,true> *this,uint param_1)" ( (parameter_declaration "__moneypunct_cache<wchar_t" type_identifier (ERROR "<" <) identifier) , (parameter_declaration "true> *this" type_identifier (ERROR ">" >) (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 "*(undefined4 *)(this + 8) = 0;" (assignment_expression "*(undefined4 *)(this + 8) = 0" (pointer_expression "*(undefined4 *)(this + 8)" * (cast_expression "(undefined4 *)(this + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(this + 0xc) = 0;" (assignment_expression "*(undefined4 *)(this + 0xc) = 0" (pointer_expression "*(undefined4 *)(this + 0xc)" * (cast_expression "(undefined4 *)(this + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0xc)" ( (binary_expression "this + 0xc" identifier + number_literal) )))) = number_literal) ;) (expression_statement "this[0x10] = (__moneypunct_cache<wchar_t,true>)0x0;" (assignment_expression "this[0x10] = (__moneypunct_cache<wchar_t,true>)0x0" (subscript_expression "this[0x10]" identifier [ number_literal ]) = (parenthesized_expression "(__moneypunct_cache<wchar_t,true>)0x0" ( (comma_expression "__moneypunct_cache<wchar_t,true>)0x0" (binary_expression "__moneypunct_cache<wchar_t" identifier < identifier) , (binary_expression "true>)0x0" true > (ERROR ")" )) number_literal)) ))) ;) (expression_statement "*(undefined4 *)(this + 0x14) = 0;" (assignment_expression "*(undefined4 *)(this + 0x14) = 0" (pointer_expression "*(undefined4 *)(this + 0x14)" * (cast_expression "(undefined4 *)(this + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x14)" ( (binary_expression "this + 0x14" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(this + 0x18) = 0;" (assignment_expression "*(undefined4 *)(this + 0x18) = 0" (pointer_expression "*(undefined4 *)(this + 0x18)" * (cast_expression "(undefined4 *)(this + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x18)" ( (binary_expression "this + 0x18" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(this + 0x1c) = 0;" (assignment_expression "*(undefined4 *)(this + 0x1c) = 0" (pointer_expression "*(undefined4 *)(this + 0x1c)" * (cast_expression "(undefined4 *)(this + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x1c)" ( (binary_expression "this + 0x1c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined ***)this = &PTR____moneypunct_cache_0038d7a8;" (assignment_expression "*(undefined ***)this = &PTR____moneypunct_cache_0038d7a8" (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____moneypunct_cache_0038d7a8" & identifier)) ;) (expression_statement "*(undefined4 *)(this + 0x20) = 0;" (assignment_expression "*(undefined4 *)(this + 0x20) = 0" (pointer_expression "*(undefined4 *)(this + 0x20)" * (cast_expression "(undefined4 *)(this + 0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x20)" ( (binary_expression "this + 0x20" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(this + 0x24) = 0;" (assignment_expression "*(undefined4 *)(this + 0x24) = 0" (pointer_expression "*(undefined4 *)(this + 0x24)" * (cast_expression "(undefined4 *)(this + 0x24)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x24)" ( (binary_expression "this + 0x24" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(this + 0x28) = 0;" (assignment_expression "*(undefined4 *)(this + 0x28) = 0" (pointer_expression "*(undefined4 *)(this + 0x28)" * (cast_expression "(undefined4 *)(this + 0x28)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x28)" ( (binary_expression "this + 0x28" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(this + 0x2c) = 0;" (assignment_expression "*(undefined4 *)(this + 0x2c) = 0" (pointer_expression "*(undefined4 *)(this + 0x2c)" * (cast_expression "(undefined4 *)(this + 0x2c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x2c)" ( (binary_expression "this + 0x2c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(this + 0x30) = 0;" (assignment_expression "*(undefined4 *)(this + 0x30) = 0" (pointer_expression "*(undefined4 *)(this + 0x30)" * (cast_expression "(undefined4 *)(this + 0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x30)" ( (binary_expression "this + 0x30" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(this + 0x34) = 0;" (assignment_expression "*(undefined4 *)(this + 0x34) = 0" (pointer_expression "*(undefined4 *)(this + 0x34)" * (cast_expression "(undefined4 *)(this + 0x34)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x34)" ( (binary_expression "this + 0x34" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(this + 0x38) = 0;" (assignment_expression "*(undefined4 *)(this + 0x38) = 0" (pointer_expression "*(undefined4 *)(this + 0x38)" * (cast_expression "(undefined4 *)(this + 0x38)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x38)" ( (binary_expression "this + 0x38" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(this + 0x3c) = 0;" (assignment_expression "*(undefined4 *)(this + 0x3c) = 0" (pointer_expression "*(undefined4 *)(this + 0x3c)" * (cast_expression "(undefined4 *)(this + 0x3c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x3c)" ( (binary_expression "this + 0x3c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "this[0x6c] = (__moneypunct_cache<wchar_t,true>)0x0;" (assignment_expression "this[0x6c] = (__moneypunct_cache<wchar_t,true>)0x0" (subscript_expression "this[0x6c]" identifier [ number_literal ]) = (parenthesized_expression "(__moneypunct_cache<wchar_t,true>)0x0" ( (comma_expression "__moneypunct_cache<wchar_t,true>)0x0" (binary_expression "__moneypunct_cache<wchar_t" identifier < identifier) , (binary_expression "true>)0x0" true > (ERROR ")" )) number_literal)) ))) ;) (return_statement "return;" return ;) (ERROR "}" }))
(translation_unit "void FUN_002399f0(undefined4 *param_1,int param_2)\n\n{\n  param_1[1] = (uint)(param_2 != 0);\n  param_1[2] = 0;\n  param_1[3] = 0;\n  *(undefined1 *)(param_1 + 4) = 0;\n  param_1[5] = 0;\n  param_1[6] = 0;\n  param_1[7] = 0;\n  *param_1 = &PTR_FUN_0038d7a8;\n  param_1[8] = 0;\n  param_1[9] = 0;\n  param_1[10] = 0;\n  param_1[0xb] = 0;\n  param_1[0xc] = 0;\n  param_1[0xd] = 0;\n  param_1[0xe] = 0;\n  param_1[0xf] = 0;\n  *(undefined1 *)(param_1 + 0x1b) = 0;\n  return;\n}\n\n" (function_definition "void FUN_002399f0(undefined4 *param_1,int param_2)\n\n{\n  param_1[1] = (uint)(param_2 != 0);\n  param_1[2] = 0;\n  param_1[3] = 0;\n  *(undefined1 *)(param_1 + 4) = 0;\n  param_1[5] = 0;\n  param_1[6] = 0;\n  param_1[7] = 0;\n  *param_1 = &PTR_FUN_0038d7a8;\n  param_1[8] = 0;\n  param_1[9] = 0;\n  param_1[10] = 0;\n  param_1[0xb] = 0;\n  param_1[0xc] = 0;\n  param_1[0xd] = 0;\n  param_1[0xe] = 0;\n  param_1[0xf] = 0;\n  *(undefined1 *)(param_1 + 0x1b) = 0;\n  return;\n}" primitive_type (function_declarator "FUN_002399f0(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[2] = 0;\n  param_1[3] = 0;\n  *(undefined1 *)(param_1 + 4) = 0;\n  param_1[5] = 0;\n  param_1[6] = 0;\n  param_1[7] = 0;\n  *param_1 = &PTR_FUN_0038d7a8;\n  param_1[8] = 0;\n  param_1[9] = 0;\n  param_1[10] = 0;\n  param_1[0xb] = 0;\n  param_1[0xc] = 0;\n  param_1[0xd] = 0;\n  param_1[0xe] = 0;\n  param_1[0xf] = 0;\n  *(undefined1 *)(param_1 + 0x1b) = 0;\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[2] = 0;" (assignment_expression "param_1[2] = 0" (subscript_expression "param_1[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[3] = 0;" (assignment_expression "param_1[3] = 0" (subscript_expression "param_1[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined1 *)(param_1 + 4) = 0;" (assignment_expression "*(undefined1 *)(param_1 + 4) = 0" (pointer_expression "*(undefined1 *)(param_1 + 4)" * (cast_expression "(undefined1 *)(param_1 + 4)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) = number_literal) ;) (expression_statement "param_1[5] = 0;" (assignment_expression "param_1[5] = 0" (subscript_expression "param_1[5]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[6] = 0;" (assignment_expression "param_1[6] = 0" (subscript_expression "param_1[6]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[7] = 0;" (assignment_expression "param_1[7] = 0" (subscript_expression "param_1[7]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*param_1 = &PTR_FUN_0038d7a8;" (assignment_expression "*param_1 = &PTR_FUN_0038d7a8" (pointer_expression "*param_1" * identifier) = (pointer_expression "&PTR_FUN_0038d7a8" & identifier)) ;) (expression_statement "param_1[8] = 0;" (assignment_expression "param_1[8] = 0" (subscript_expression "param_1[8]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[9] = 0;" (assignment_expression "param_1[9] = 0" (subscript_expression "param_1[9]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[10] = 0;" (assignment_expression "param_1[10] = 0" (subscript_expression "param_1[10]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[0xb] = 0;" (assignment_expression "param_1[0xb] = 0" (subscript_expression "param_1[0xb]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[0xc] = 0;" (assignment_expression "param_1[0xc] = 0" (subscript_expression "param_1[0xc]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[0xd] = 0;" (assignment_expression "param_1[0xd] = 0" (subscript_expression "param_1[0xd]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[0xe] = 0;" (assignment_expression "param_1[0xe] = 0" (subscript_expression "param_1[0xe]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[0xf] = 0;" (assignment_expression "param_1[0xf] = 0" (subscript_expression "param_1[0xf]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined1 *)(param_1 + 0x1b) = 0;" (assignment_expression "*(undefined1 *)(param_1 + 0x1b) = 0" (pointer_expression "*(undefined1 *)(param_1 + 0x1b)" * (cast_expression "(undefined1 *)(param_1 + 0x1b)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1b)" ( (binary_expression "param_1 + 0x1b" identifier + number_literal) )))) = number_literal) ;) (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 (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression & IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (return_statement return ;) })))
(function_definition "void FUN_002399f0(undefined4 *param_1,int param_2)\n\n{\n  param_1[1] = (uint)(param_2 != 0);\n  param_1[2] = 0;\n  param_1[3] = 0;\n  *(undefined1 *)(param_1 + 4) = 0;\n  param_1[5] = 0;\n  param_1[6] = 0;\n  param_1[7] = 0;\n  *param_1 = &PTR_FUN_0038d7a8;\n  param_1[8] = 0;\n  param_1[9] = 0;\n  param_1[10] = 0;\n  param_1[0xb] = 0;\n  param_1[0xc] = 0;\n  param_1[0xd] = 0;\n  param_1[0xe] = 0;\n  param_1[0xf] = 0;\n  *(undefined1 *)(param_1 + 0x1b) = 0;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_002399f0(undefined4 *param_1,int param_2)" (identifier "FUN_002399f0") (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[2] = 0;\n  param_1[3] = 0;\n  *(undefined1 *)(param_1 + 4) = 0;\n  param_1[5] = 0;\n  param_1[6] = 0;\n  param_1[7] = 0;\n  *param_1 = &PTR_FUN_0038d7a8;\n  param_1[8] = 0;\n  param_1[9] = 0;\n  param_1[10] = 0;\n  param_1[0xb] = 0;\n  param_1[0xc] = 0;\n  param_1[0xd] = 0;\n  param_1[0xe] = 0;\n  param_1[0xf] = 0;\n  *(undefined1 *)(param_1 + 0x1b) = 0;\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[2] = 0;" (assignment_expression "param_1[2] = 0" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[3] = 0;" (assignment_expression "param_1[3] = 0" (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined1 *)(param_1 + 4) = 0;" (assignment_expression "*(undefined1 *)(param_1 + 4) = 0" (pointer_expression "*(undefined1 *)(param_1 + 4)" (* "*") (cast_expression "(undefined1 *)(param_1 + 4)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[5] = 0;" (assignment_expression "param_1[5] = 0" (subscript_expression "param_1[5]" (identifier "param_1") ([ "[") (number_literal "5") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[6] = 0;" (assignment_expression "param_1[6] = 0" (subscript_expression "param_1[6]" (identifier "param_1") ([ "[") (number_literal "6") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[7] = 0;" (assignment_expression "param_1[7] = 0" (subscript_expression "param_1[7]" (identifier "param_1") ([ "[") (number_literal "7") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*param_1 = &PTR_FUN_0038d7a8;" (assignment_expression "*param_1 = &PTR_FUN_0038d7a8" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (pointer_expression "&PTR_FUN_0038d7a8" (& "&") (identifier "PTR_FUN_0038d7a8"))) (; ";")) (expression_statement "param_1[8] = 0;" (assignment_expression "param_1[8] = 0" (subscript_expression "param_1[8]" (identifier "param_1") ([ "[") (number_literal "8") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[9] = 0;" (assignment_expression "param_1[9] = 0" (subscript_expression "param_1[9]" (identifier "param_1") ([ "[") (number_literal "9") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[10] = 0;" (assignment_expression "param_1[10] = 0" (subscript_expression "param_1[10]" (identifier "param_1") ([ "[") (number_literal "10") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[0xb] = 0;" (assignment_expression "param_1[0xb] = 0" (subscript_expression "param_1[0xb]" (identifier "param_1") ([ "[") (number_literal "0xb") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[0xc] = 0;" (assignment_expression "param_1[0xc] = 0" (subscript_expression "param_1[0xc]" (identifier "param_1") ([ "[") (number_literal "0xc") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[0xd] = 0;" (assignment_expression "param_1[0xd] = 0" (subscript_expression "param_1[0xd]" (identifier "param_1") ([ "[") (number_literal "0xd") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[0xe] = 0;" (assignment_expression "param_1[0xe] = 0" (subscript_expression "param_1[0xe]" (identifier "param_1") ([ "[") (number_literal "0xe") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[0xf] = 0;" (assignment_expression "param_1[0xf] = 0" (subscript_expression "param_1[0xf]" (identifier "param_1") ([ "[") (number_literal "0xf") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined1 *)(param_1 + 0x1b) = 0;" (assignment_expression "*(undefined1 *)(param_1 + 0x1b) = 0" (pointer_expression "*(undefined1 *)(param_1 + 0x1b)" (* "*") (cast_expression "(undefined1 *)(param_1 + 0x1b)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1b)" (( "(") (binary_expression "param_1 + 0x1b" (identifier "param_1") (+ "+") (number_literal "0x1b")) () ")")))) (= "=") (number_literal "0")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

void __thiscall
std::var_2<var_3,true>::var_2
          (var_2<var_3,true> *type_1,function_1 var_1)

{
  *(function_1 *)(type_1 + 4) = (function_1)(var_1 != 0);
  *(type_2 *)(type_1 + 8) = 0;
  *(type_2 *)(type_1 + 0xc) = 0;
  type_1[0x10] = (var_2<var_3,true>)0x0;
  *(type_2 *)(type_1 + 0x14) = 0;
  *(type_2 *)(type_1 + 0x18) = 0;
  *(type_2 *)(type_1 + 0x1c) = 0;
  *(type_3 ***)type_1 = &PTR____moneypunct_cache_0038d7a8;
  *(type_2 *)(type_1 + 0x20) = 0;
  *(type_2 *)(type_1 + 0x24) = 0;
  *(type_2 *)(type_1 + 0x28) = 0;
  *(type_2 *)(type_1 + 0x2c) = 0;
  *(type_2 *)(type_1 + 0x30) = 0;
  *(type_2 *)(type_1 + 0x34) = 0;
  *(type_2 *)(type_1 + 0x38) = 0;
  *(type_2 *)(type_1 + 0x3c) = 0;
  type_1[0x6c] = (var_2<var_3,true>)0x0;
  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: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (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: (identifier) right: (number_literal))))) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (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: (identifier) right: (number_literal))))) right: (number_literal))) (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[2] = 0;
  param_1[3] = 0;
  *(undefined1 *)(param_1 + 4) = 0;
  param_1[5] = 0;
  param_1[6] = 0;
  param_1[7] = 0;
  *param_1 = &PTR_FUN_0038d7a8;
  param_1[8] = 0;
  param_1[9] = 0;
  param_1[10] = 0;
  param_1[0xb] = 0;
  param_1[0xc] = 0;
  param_1[0xd] = 0;
  param_1[0xe] = 0;
  param_1[0xf] = 0;
  *(undefined1 *)(param_1 + 0x1b) = 0;
  return;
}

