
/* std::moneypunct<char, true>::moneypunct(std::__moneypunct_cache<char, true>*, unsigned int) */

void __thiscall
std::moneypunct<char,true>::moneypunct
          (moneypunct<char,true> *this,__moneypunct_cache *param_1,uint param_2)

{
  undefined4 uVar1;
  int unaff_EDI;
  
  uVar1 = __x86_get_pc_thunk_di();
  *(uint *)(this + 4) = CONCAT31((int3)((uint)uVar1 >> 8),param_2 != 0);
  *(int *)this = unaff_EDI + 0x19292d;
  *(__moneypunct_cache **)(this + 8) = param_1;
                    /* try { // try from 001f9b9c to 001f9ba0 has its CatchHandler @ 001f9bac */
  _M_initialize_moneypunct((__locale_struct *)this,(char *)0x0);
  return;
}



void FUN_001f9b60(undefined4 *param_1,undefined4 param_2,int param_3)

{
  undefined4 uVar1;
  int unaff_EDI;
  
  uVar1 = FUN_000559ee();
  param_1[1] = CONCAT31((int3)((uint)uVar1 >> 8),param_3 != 0);
  *param_1 = &UNK_0019292d + unaff_EDI;
  param_1[2] = param_2;
                    /* try { // try from 001f9b9c to 001f9ba0 has its CatchHandler @ 001f9bac */
  FUN_00233570(param_1,0,0);
  return;
}


PUSH EBP
XOR EAX,EAX
MOV EBP,ESP
PUSH EDI
CALL 0x000559ee
ADD EDI,0x195495
PUSH ESI
PUSH EBX
SUB ESP,0x20
MOV EDX,dword ptr [EBP + 0x10]
MOV ESI,dword ptr [EBP + 0x8]
TEST EDX,EDX
MOV EBX,EDI
SETNZ AL
MOV dword ptr [ESI + 0x4],EAX
LEA EAX,[EDI + 0xffffd490]
ADD EAX,0x8
MOV dword ptr [ESI],EAX
MOV EAX,dword ptr [EBP + 0xc]
MOV dword ptr [ESI + 0x8],EAX
PUSH 0x0
PUSH 0x0
PUSH ESI
CALL 0x00233570
ADD ESP,0x10
LEA ESP,[EBP + -0xc]
POP EBX
POP ESI
POP EDI
POP EBP
RET
(translation_unit "void FUN_001f9b60(undefined4 *param_1,undefined4 param_2,int param_3)\n\n{\n  undefined4 uVar1;\n  int unaff_EDI;\n  \n  uVar1 = FUN_000559ee();\n  param_1[1] = CONCAT31((int3)((uint)uVar1 >> 8),param_3 != 0);\n  *param_1 = &UNK_0019292d + unaff_EDI;\n  param_1[2] = param_2;\n                    /* try { // try from 001f9b9c to 001f9ba0 has its CatchHandler @ 001f9bac */\n  FUN_00233570(param_1,0,0);\n  return;\n}\n\n" (function_definition "void FUN_001f9b60(undefined4 *param_1,undefined4 param_2,int param_3)\n\n{\n  undefined4 uVar1;\n  int unaff_EDI;\n  \n  uVar1 = FUN_000559ee();\n  param_1[1] = CONCAT31((int3)((uint)uVar1 >> 8),param_3 != 0);\n  *param_1 = &UNK_0019292d + unaff_EDI;\n  param_1[2] = param_2;\n                    /* try { // try from 001f9b9c to 001f9ba0 has its CatchHandler @ 001f9bac */\n  FUN_00233570(param_1,0,0);\n  return;\n}" primitive_type (function_declarator "FUN_001f9b60(undefined4 *param_1,undefined4 param_2,int param_3)" identifier (parameter_list "(undefined4 *param_1,undefined4 param_2,int param_3)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  int unaff_EDI;\n  \n  uVar1 = FUN_000559ee();\n  param_1[1] = CONCAT31((int3)((uint)uVar1 >> 8),param_3 != 0);\n  *param_1 = &UNK_0019292d + unaff_EDI;\n  param_1[2] = param_2;\n                    /* try { // try from 001f9b9c to 001f9ba0 has its CatchHandler @ 001f9bac */\n  FUN_00233570(param_1,0,0);\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "int unaff_EDI;" primitive_type identifier ;) (expression_statement "uVar1 = FUN_000559ee();" (assignment_expression "uVar1 = FUN_000559ee()" identifier = (call_expression "FUN_000559ee()" identifier (argument_list "()" ( )))) ;) (expression_statement "param_1[1] = CONCAT31((int3)((uint)uVar1 >> 8),param_3 != 0);" (assignment_expression "param_1[1] = CONCAT31((int3)((uint)uVar1 >> 8),param_3 != 0)" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (call_expression "CONCAT31((int3)((uint)uVar1 >> 8),param_3 != 0)" identifier (argument_list "((int3)((uint)uVar1 >> 8),param_3 != 0)" ( (call_expression "(int3)((uint)uVar1 >> 8)" (parenthesized_expression "(int3)" ( identifier )) (argument_list "((uint)uVar1 >> 8)" ( (binary_expression "(uint)uVar1 >> 8" (cast_expression "(uint)uVar1" ( (type_descriptor "uint" type_identifier) ) identifier) >> number_literal) ))) , (binary_expression "param_3 != 0" identifier != number_literal) )))) ;) (expression_statement "*param_1 = &UNK_0019292d + unaff_EDI;" (assignment_expression "*param_1 = &UNK_0019292d + unaff_EDI" (pointer_expression "*param_1" * identifier) = (binary_expression "&UNK_0019292d + unaff_EDI" (pointer_expression "&UNK_0019292d" & identifier) + identifier)) ;) (expression_statement "param_1[2] = param_2;" (assignment_expression "param_1[2] = param_2" (subscript_expression "param_1[2]" identifier [ number_literal ]) = identifier) ;) comment (expression_statement "FUN_00233570(param_1,0,0);" (call_expression "FUN_00233570(param_1,0,0)" identifier (argument_list "(param_1,0,0)" ( identifier , number_literal , number_literal ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* std::moneypunct<char, true>::moneypunct(std::__moneypunct_cache<char, true>*, unsigned int) */\n\nvoid __thiscall\nstd::moneypunct<char,true>::moneypunct\n          (moneypunct<char,true> *this,__moneypunct_cache *param_1,uint param_2)\n\n{\n  undefined4 uVar1;\n  int unaff_EDI;\n  \n  uVar1 = __x86_get_pc_thunk_di();\n  *(uint *)(this + 4) = CONCAT31((int3)((uint)uVar1 >> 8),param_2 != 0);\n  *(int *)this = unaff_EDI + 0x19292d;\n  *(__moneypunct_cache **)(this + 8) = param_1;\n                    /* try { // try from 001f9b9c to 001f9ba0 has its CatchHandler @ 001f9bac */\n  _M_initialize_moneypunct((__locale_struct *)this,(char *)0x0);\n  return;\n}\n\n" comment (declaration "void __thiscall\nstd::moneypunct<char,true>::moneypunct\n          (moneypunct<char,true> *this,__moneypunct_cache *param_1,uint param_2)\n\n{\n  undefined4 uVar1;" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::" identifier : :) identifier (ERROR "<char" < primitive_type) , (ERROR "true>::moneypunct\n          (moneypunct<char,true> *this,__moneypunct_cache *param_1,uint param_2)\n\n{\n  undefined4" identifier > : : (function_declarator "moneypunct\n          (moneypunct<char,true> *this,__moneypunct_cache *param_1,uint param_2)" identifier (parameter_list "(moneypunct<char,true> *this,__moneypunct_cache *param_1,uint param_2)" ( (parameter_declaration "moneypunct" type_identifier) (ERROR "<char" < primitive_type) , (parameter_declaration "true> *this" type_identifier (ERROR ">" >) (pointer_declarator "*this" * identifier)) , (parameter_declaration "__moneypunct_cache *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "uint param_2" type_identifier identifier) ))) { identifier) identifier ;) (declaration "int unaff_EDI;" primitive_type identifier ;) (expression_statement "uVar1 = __x86_get_pc_thunk_di();" (assignment_expression "uVar1 = __x86_get_pc_thunk_di()" identifier = (call_expression "__x86_get_pc_thunk_di()" identifier (argument_list "()" ( )))) ;) (expression_statement "*(uint *)(this + 4) = CONCAT31((int3)((uint)uVar1 >> 8),param_2 != 0);" (assignment_expression "*(uint *)(this + 4) = CONCAT31((int3)((uint)uVar1 >> 8),param_2 != 0)" (pointer_expression "*(uint *)(this + 4)" * (cast_expression "(uint *)(this + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 4)" ( (binary_expression "this + 4" identifier + number_literal) )))) = (call_expression "CONCAT31((int3)((uint)uVar1 >> 8),param_2 != 0)" identifier (argument_list "((int3)((uint)uVar1 >> 8),param_2 != 0)" ( (call_expression "(int3)((uint)uVar1 >> 8)" (parenthesized_expression "(int3)" ( identifier )) (argument_list "((uint)uVar1 >> 8)" ( (binary_expression "(uint)uVar1 >> 8" (cast_expression "(uint)uVar1" ( (type_descriptor "uint" type_identifier) ) identifier) >> number_literal) ))) , (binary_expression "param_2 != 0" identifier != number_literal) )))) ;) (expression_statement "*(int *)this = unaff_EDI + 0x19292d;" (assignment_expression "*(int *)this = unaff_EDI + 0x19292d" (pointer_expression "*(int *)this" * (cast_expression "(int *)this" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) = (binary_expression "unaff_EDI + 0x19292d" identifier + number_literal)) ;) (expression_statement "*(__moneypunct_cache **)(this + 8) = param_1;" (assignment_expression "*(__moneypunct_cache **)(this + 8) = param_1" (pointer_expression "*(__moneypunct_cache **)(this + 8)" * (cast_expression "(__moneypunct_cache **)(this + 8)" ( (type_descriptor "__moneypunct_cache **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) )))) = identifier) ;) comment (expression_statement "_M_initialize_moneypunct((__locale_struct *)this,(char *)0x0);" (call_expression "_M_initialize_moneypunct((__locale_struct *)this,(char *)0x0)" identifier (argument_list "((__locale_struct *)this,(char *)0x0)" ( (cast_expression "(__locale_struct *)this" ( (type_descriptor "__locale_struct *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) ))) ;) (return_statement "return;" return ;) (ERROR "}" }))
(translation_unit "void FUN_001f9b60(undefined4 *param_1,undefined4 param_2,int param_3)\n\n{\n  undefined4 uVar1;\n  int unaff_EDI;\n  \n  uVar1 = FUN_000559ee();\n  param_1[1] = CONCAT31((int3)((uint)uVar1 >> 8),param_3 != 0);\n  *param_1 = &UNK_0019292d + unaff_EDI;\n  param_1[2] = param_2;\n                    \n  FUN_00233570(param_1,0,0);\n  return;\n}\n\n" (function_definition "void FUN_001f9b60(undefined4 *param_1,undefined4 param_2,int param_3)\n\n{\n  undefined4 uVar1;\n  int unaff_EDI;\n  \n  uVar1 = FUN_000559ee();\n  param_1[1] = CONCAT31((int3)((uint)uVar1 >> 8),param_3 != 0);\n  *param_1 = &UNK_0019292d + unaff_EDI;\n  param_1[2] = param_2;\n                    \n  FUN_00233570(param_1,0,0);\n  return;\n}" primitive_type (function_declarator "FUN_001f9b60(undefined4 *param_1,undefined4 param_2,int param_3)" identifier (parameter_list "(undefined4 *param_1,undefined4 param_2,int param_3)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  int unaff_EDI;\n  \n  uVar1 = FUN_000559ee();\n  param_1[1] = CONCAT31((int3)((uint)uVar1 >> 8),param_3 != 0);\n  *param_1 = &UNK_0019292d + unaff_EDI;\n  param_1[2] = param_2;\n                    \n  FUN_00233570(param_1,0,0);\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "int unaff_EDI;" primitive_type identifier ;) (expression_statement "uVar1 = FUN_000559ee();" (assignment_expression "uVar1 = FUN_000559ee()" identifier = (call_expression "FUN_000559ee()" identifier (argument_list "()" ( )))) ;) (expression_statement "param_1[1] = CONCAT31((int3)((uint)uVar1 >> 8),param_3 != 0);" (assignment_expression "param_1[1] = CONCAT31((int3)((uint)uVar1 >> 8),param_3 != 0)" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (call_expression "CONCAT31((int3)((uint)uVar1 >> 8),param_3 != 0)" identifier (argument_list "((int3)((uint)uVar1 >> 8),param_3 != 0)" ( (call_expression "(int3)((uint)uVar1 >> 8)" (parenthesized_expression "(int3)" ( identifier )) (argument_list "((uint)uVar1 >> 8)" ( (binary_expression "(uint)uVar1 >> 8" (cast_expression "(uint)uVar1" ( (type_descriptor "uint" type_identifier) ) identifier) >> number_literal) ))) , (binary_expression "param_3 != 0" identifier != number_literal) )))) ;) (expression_statement "*param_1 = &UNK_0019292d + unaff_EDI;" (assignment_expression "*param_1 = &UNK_0019292d + unaff_EDI" (pointer_expression "*param_1" * identifier) = (binary_expression "&UNK_0019292d + unaff_EDI" (pointer_expression "&UNK_0019292d" & identifier) + identifier)) ;) (expression_statement "param_1[2] = param_2;" (assignment_expression "param_1[2] = param_2" (subscript_expression "param_1[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "FUN_00233570(param_1,0,0);" (call_expression "FUN_00233570(param_1,0,0)" identifier (argument_list "(param_1,0,0)" ( 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) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (call_expression IDENT (argument_list ( (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) ))) , (binary_expression IDENT != LIT) )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (pointer_expression & IDENT) + IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT , LIT ))) ;) (return_statement return ;) })))
(function_definition "void FUN_001f9b60(undefined4 *param_1,undefined4 param_2,int param_3)\n\n{\n  undefined4 uVar1;\n  int unaff_EDI;\n  \n  uVar1 = FUN_000559ee();\n  param_1[1] = CONCAT31((int3)((uint)uVar1 >> 8),param_3 != 0);\n  *param_1 = &UNK_0019292d + unaff_EDI;\n  param_1[2] = param_2;\n                    \n  FUN_00233570(param_1,0,0);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_001f9b60(undefined4 *param_1,undefined4 param_2,int param_3)" (identifier "FUN_001f9b60") (parameter_list "(undefined4 *param_1,undefined4 param_2,int param_3)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  int unaff_EDI;\n  \n  uVar1 = FUN_000559ee();\n  param_1[1] = CONCAT31((int3)((uint)uVar1 >> 8),param_3 != 0);\n  *param_1 = &UNK_0019292d + unaff_EDI;\n  param_1[2] = param_2;\n                    \n  FUN_00233570(param_1,0,0);\n  return;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (declaration "int unaff_EDI;" (primitive_type "int") (identifier "unaff_EDI") (; ";")) (expression_statement "uVar1 = FUN_000559ee();" (assignment_expression "uVar1 = FUN_000559ee()" (identifier "uVar1") (= "=") (call_expression "FUN_000559ee()" (identifier "FUN_000559ee") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "param_1[1] = CONCAT31((int3)((uint)uVar1 >> 8),param_3 != 0);" (assignment_expression "param_1[1] = CONCAT31((int3)((uint)uVar1 >> 8),param_3 != 0)" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (call_expression "CONCAT31((int3)((uint)uVar1 >> 8),param_3 != 0)" (identifier "CONCAT31") (argument_list "((int3)((uint)uVar1 >> 8),param_3 != 0)" (( "(") (call_expression "(int3)((uint)uVar1 >> 8)" (parenthesized_expression "(int3)" (( "(") (identifier "int3") () ")")) (argument_list "((uint)uVar1 >> 8)" (( "(") (binary_expression "(uint)uVar1 >> 8" (cast_expression "(uint)uVar1" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "uVar1")) (>> ">>") (number_literal "8")) () ")"))) (, ",") (binary_expression "param_3 != 0" (identifier "param_3") (!= "!=") (number_literal "0")) () ")")))) (; ";")) (expression_statement "*param_1 = &UNK_0019292d + unaff_EDI;" (assignment_expression "*param_1 = &UNK_0019292d + unaff_EDI" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (binary_expression "&UNK_0019292d + unaff_EDI" (pointer_expression "&UNK_0019292d" (& "&") (identifier "UNK_0019292d")) (+ "+") (identifier "unaff_EDI"))) (; ";")) (expression_statement "param_1[2] = param_2;" (assignment_expression "param_1[2] = param_2" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "param_2")) (; ";")) (expression_statement "FUN_00233570(param_1,0,0);" (call_expression "FUN_00233570(param_1,0,0)" (identifier "FUN_00233570") (argument_list "(param_1,0,0)" (( "(") (identifier "param_1") (, ",") (number_literal "0") (, ",") (number_literal "0") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* std::moneypunct<char, true>::moneypunct(std::__moneypunct_cache<char, true>*, unsigned int) */

void __thiscall
std::moneypunct<char,true>::moneypunct
          (moneypunct<char,true> *var_2,type_2 *param_1,type_1 var_4)

{
  undefined4 uVar1;
  int var_5;
  
  uVar1 = var_1();
  *(type_1 *)(var_2 + 4) = var_3((int3)((type_1)uVar1 >> 8),var_4 != 0);
  *(int *)var_2 = var_5 + 0x19292d;
  *(type_2 **)(var_2 + 8) = param_1;
                    /* try { // try from 001f9b9c to 001f9ba0 has its CatchHandler @ 001f9bac */
  var_6((type_3 *)var_2,(char *)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: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (call_expression function: (identifier) arguments: (argument_list (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (number_literal)))) (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (binary_expression left: (pointer_expression argument: (identifier)) right: (identifier)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal) (number_literal)))) (return_statement))))

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

{
  undefined4 uVar1;
  int unaff_EDI;
  
  uVar1 = FUN_000559ee();
  param_1[1] = CONCAT31((int3)((uint)uVar1 >> 8),param_3 != 0);
  *param_1 = &UNK_0019292d + unaff_EDI;
  param_1[2] = param_2;
                    /* try { // try from 001f9b9c to 001f9ba0 has its CatchHandler @ 001f9bac */
  FUN_00233570(param_1,0,0);
  return;
}

