
/* std::moneypunct_byname<char, false>::moneypunct_byname(std::string const&, unsigned int) */

void __thiscall
std::moneypunct_byname<char,false>::moneypunct_byname
          (moneypunct_byname<char,false> *this,string *param_1,uint param_2)

{
  undefined *puVar1;
  int iVar2;
  undefined *puVar3;
  undefined4 uVar4;
  undefined4 local_18 [2];
  
  puVar3 = PTR__M_initialize_moneypunct_00433df8;
  uVar4 = *(undefined4 *)param_1;
  *(uint *)(this + 4) = (uint)(param_2 != 0);
  puVar1 = PTR_vtable_00433df4;
  *(undefined4 *)(this + 8) = 0;
                    /* try { // try from 00346b58 to 00346b5f has its CatchHandler @ 00346c3c */
  *(undefined **)this = puVar1 + 8;
  (*(code *)puVar3)(this,0,0);
  puVar1 = PTR_strcmp_00436644;
  puVar3 = PTR_s__0043226c + -0x7a6c;
  *(undefined **)this = PTR_vtable_00433db8 + 8;
  iVar2 = (*(code *)puVar1)(uVar4,puVar3);
  if (iVar2 != 0) {
    iVar2 = (*(code *)PTR_strcmp_00436644)(uVar4,PTR_s__0043226c + 0x7420);
    if (iVar2 != 0) {
                    /* try { // try from 00346bd0 to 00346bff has its CatchHandler @ 00346c18 */
      (*(code *)PTR__S_create_c_locale_004337c8)(local_18,uVar4,0);
      (*(code *)PTR__M_initialize_moneypunct_00433df8)(this,local_18[0],0);
      (*(code *)PTR__S_destroy_c_locale_00432284)(local_18);
      return;
    }
  }
  return;
}



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

{
  undefined *puVar1;
  int iVar2;
  undefined *puVar3;
  undefined4 uVar4;
  undefined4 local_18 [2];
  
  puVar3 = PTR__M_initialize_moneypunct_00433df8;
  uVar4 = *param_2;
  param_1[1] = (uint)(param_3 != 0);
  puVar1 = PTR_vtable_00433df4;
  param_1[2] = 0;
                    /* try { // try from 00346b58 to 00346b5f has its CatchHandler @ 00346c3c */
  *param_1 = puVar1 + 8;
  (*(code *)puVar3)(param_1,0,0);
  puVar1 = PTR_strcmp_00436644;
  puVar3 = PTR_DAT_0043226c + -0x7a6c;
  *param_1 = PTR_vtable_00433db8 + 8;
  iVar2 = (*(code *)puVar1)(uVar4,puVar3);
  if (iVar2 != 0) {
    iVar2 = (*(code *)PTR_strcmp_00436644)(uVar4,PTR_DAT_0043226c + 0x7420);
    if (iVar2 != 0) {
                    /* try { // try from 00346bd0 to 00346bff has its CatchHandler @ 00346c18 */
      (*(code *)PTR__S_create_c_locale_004337c8)(local_18,uVar4,0);
      (*(code *)PTR__M_initialize_moneypunct_00433df8)(param_1,local_18[0],0);
      (*(code *)PTR__S_destroy_c_locale_00432284)(local_18);
      return;
    }
  }
  return;
}


lui gp,0xf
addiu gp,gp,0x36c4
addu gp,gp,t9
addiu sp,sp,-0x30
lw t9,-0x63d8(gp)
sltu v0,zero,a2
or a2,zero,zero
sw s0,0x20(sp)
or s0,a0,zero
sw gp,0x10(sp)
sw ra,0x2c(sp)
sw s2,0x28(sp)
sw s1,0x24(sp)
lw s1,0x0(a1)
or a1,zero,zero
sw v0,0x4(a0)
lw v0,-0x63dc(gp)
sw zero,0x8(a0)
addiu v0,v0,0x8
jalr t9
_sw v0,0x0(a0)
lw gp,0x10(sp)
or a0,s1,zero
lw v0,-0x6418(gp)
lw a1,-0x7f64(gp)
lw t9,-0x3b8c(gp)
addiu v0,v0,0x8
addiu a1,a1,-0x7a6c
jalr t9
_sw v0,0x0(s0)
beq v0,zero,0x00346ba8
_lw gp,0x10(sp)
lw a1,-0x7f64(gp)
or a0,s1,zero
lw t9,-0x3b8c(gp)
jalr t9
_addiu a1,a1,0x7420
bne v0,zero,0x00346bc0
_lw gp,0x10(sp)
lw ra,0x2c(sp)
lw s2,0x28(sp)
lw s1,0x24(sp)
lw s0,0x20(sp)
jr ra
_addiu sp,sp,0x30
addiu s2,sp,0x18
lw t9,-0x6a08(gp)
or a2,zero,zero
or a1,s1,zero
jalr t9
_or a0,s2,zero
lw gp,0x10(sp)
or a2,zero,zero
lw a1,0x18(sp)
lw t9,-0x63d8(gp)
jalr t9
_or a0,s0,zero
lw gp,0x10(sp)
lw t9,-0x7f4c(gp)
jalr t9
_or a0,s2,zero
lw ra,0x2c(sp)
lw s2,0x28(sp)
lw s1,0x24(sp)
lw s0,0x20(sp)
jr ra
_addiu sp,sp,0x30
(translation_unit "void FUN_00346b0c(undefined4 *param_1,undefined4 *param_2,int param_3)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  undefined *puVar3;\n  undefined4 uVar4;\n  undefined4 local_18 [2];\n  \n  puVar3 = PTR__M_initialize_moneypunct_00433df8;\n  uVar4 = *param_2;\n  param_1[1] = (uint)(param_3 != 0);\n  puVar1 = PTR_vtable_00433df4;\n  param_1[2] = 0;\n                    /* try { // try from 00346b58 to 00346b5f has its CatchHandler @ 00346c3c */\n  *param_1 = puVar1 + 8;\n  (*(code *)puVar3)(param_1,0,0);\n  puVar1 = PTR_strcmp_00436644;\n  puVar3 = PTR_DAT_0043226c + -0x7a6c;\n  *param_1 = PTR_vtable_00433db8 + 8;\n  iVar2 = (*(code *)puVar1)(uVar4,puVar3);\n  if (iVar2 != 0) {\n    iVar2 = (*(code *)PTR_strcmp_00436644)(uVar4,PTR_DAT_0043226c + 0x7420);\n    if (iVar2 != 0) {\n                    /* try { // try from 00346bd0 to 00346bff has its CatchHandler @ 00346c18 */\n      (*(code *)PTR__S_create_c_locale_004337c8)(local_18,uVar4,0);\n      (*(code *)PTR__M_initialize_moneypunct_00433df8)(param_1,local_18[0],0);\n      (*(code *)PTR__S_destroy_c_locale_00432284)(local_18);\n      return;\n    }\n  }\n  return;\n}\n\n" (function_definition "void FUN_00346b0c(undefined4 *param_1,undefined4 *param_2,int param_3)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  undefined *puVar3;\n  undefined4 uVar4;\n  undefined4 local_18 [2];\n  \n  puVar3 = PTR__M_initialize_moneypunct_00433df8;\n  uVar4 = *param_2;\n  param_1[1] = (uint)(param_3 != 0);\n  puVar1 = PTR_vtable_00433df4;\n  param_1[2] = 0;\n                    /* try { // try from 00346b58 to 00346b5f has its CatchHandler @ 00346c3c */\n  *param_1 = puVar1 + 8;\n  (*(code *)puVar3)(param_1,0,0);\n  puVar1 = PTR_strcmp_00436644;\n  puVar3 = PTR_DAT_0043226c + -0x7a6c;\n  *param_1 = PTR_vtable_00433db8 + 8;\n  iVar2 = (*(code *)puVar1)(uVar4,puVar3);\n  if (iVar2 != 0) {\n    iVar2 = (*(code *)PTR_strcmp_00436644)(uVar4,PTR_DAT_0043226c + 0x7420);\n    if (iVar2 != 0) {\n                    /* try { // try from 00346bd0 to 00346bff has its CatchHandler @ 00346c18 */\n      (*(code *)PTR__S_create_c_locale_004337c8)(local_18,uVar4,0);\n      (*(code *)PTR__M_initialize_moneypunct_00433df8)(param_1,local_18[0],0);\n      (*(code *)PTR__S_destroy_c_locale_00432284)(local_18);\n      return;\n    }\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00346b0c(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 (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  undefined *puVar3;\n  undefined4 uVar4;\n  undefined4 local_18 [2];\n  \n  puVar3 = PTR__M_initialize_moneypunct_00433df8;\n  uVar4 = *param_2;\n  param_1[1] = (uint)(param_3 != 0);\n  puVar1 = PTR_vtable_00433df4;\n  param_1[2] = 0;\n                    /* try { // try from 00346b58 to 00346b5f has its CatchHandler @ 00346c3c */\n  *param_1 = puVar1 + 8;\n  (*(code *)puVar3)(param_1,0,0);\n  puVar1 = PTR_strcmp_00436644;\n  puVar3 = PTR_DAT_0043226c + -0x7a6c;\n  *param_1 = PTR_vtable_00433db8 + 8;\n  iVar2 = (*(code *)puVar1)(uVar4,puVar3);\n  if (iVar2 != 0) {\n    iVar2 = (*(code *)PTR_strcmp_00436644)(uVar4,PTR_DAT_0043226c + 0x7420);\n    if (iVar2 != 0) {\n                    /* try { // try from 00346bd0 to 00346bff has its CatchHandler @ 00346c18 */\n      (*(code *)PTR__S_create_c_locale_004337c8)(local_18,uVar4,0);\n      (*(code *)PTR__M_initialize_moneypunct_00433df8)(param_1,local_18[0],0);\n      (*(code *)PTR__S_destroy_c_locale_00432284)(local_18);\n      return;\n    }\n  }\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "undefined4 local_18 [2];" type_identifier (array_declarator "local_18 [2]" identifier [ number_literal ]) ;) (expression_statement "puVar3 = PTR__M_initialize_moneypunct_00433df8;" (assignment_expression "puVar3 = PTR__M_initialize_moneypunct_00433df8" identifier = identifier) ;) (expression_statement "uVar4 = *param_2;" (assignment_expression "uVar4 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "param_1[1] = (uint)(param_3 != 0);" (assignment_expression "param_1[1] = (uint)(param_3 != 0)" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (call_expression "(uint)(param_3 != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_3 != 0)" ( (binary_expression "param_3 != 0" identifier != number_literal) )))) ;) (expression_statement "puVar1 = PTR_vtable_00433df4;" (assignment_expression "puVar1 = PTR_vtable_00433df4" identifier = identifier) ;) (expression_statement "param_1[2] = 0;" (assignment_expression "param_1[2] = 0" (subscript_expression "param_1[2]" identifier [ number_literal ]) = number_literal) ;) comment (expression_statement "*param_1 = puVar1 + 8;" (assignment_expression "*param_1 = puVar1 + 8" (pointer_expression "*param_1" * identifier) = (binary_expression "puVar1 + 8" identifier + number_literal)) ;) (expression_statement "(*(code *)puVar3)(param_1,0,0);" (call_expression "(*(code *)puVar3)(param_1,0,0)" (parenthesized_expression "(*(code *)puVar3)" ( (pointer_expression "*(code *)puVar3" * (cast_expression "(code *)puVar3" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,0,0)" ( identifier , number_literal , number_literal ))) ;) (expression_statement "puVar1 = PTR_strcmp_00436644;" (assignment_expression "puVar1 = PTR_strcmp_00436644" identifier = identifier) ;) (expression_statement "puVar3 = PTR_DAT_0043226c + -0x7a6c;" (assignment_expression "puVar3 = PTR_DAT_0043226c + -0x7a6c" identifier = (binary_expression "PTR_DAT_0043226c + -0x7a6c" identifier + number_literal)) ;) (expression_statement "*param_1 = PTR_vtable_00433db8 + 8;" (assignment_expression "*param_1 = PTR_vtable_00433db8 + 8" (pointer_expression "*param_1" * identifier) = (binary_expression "PTR_vtable_00433db8 + 8" identifier + number_literal)) ;) (expression_statement "iVar2 = (*(code *)puVar1)(uVar4,puVar3);" (assignment_expression "iVar2 = (*(code *)puVar1)(uVar4,puVar3)" identifier = (call_expression "(*(code *)puVar1)(uVar4,puVar3)" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar4,puVar3)" ( identifier , identifier )))) ;) (if_statement "if (iVar2 != 0) {\n    iVar2 = (*(code *)PTR_strcmp_00436644)(uVar4,PTR_DAT_0043226c + 0x7420);\n    if (iVar2 != 0) {\n                    /* try { // try from 00346bd0 to 00346bff has its CatchHandler @ 00346c18 */\n      (*(code *)PTR__S_create_c_locale_004337c8)(local_18,uVar4,0);\n      (*(code *)PTR__M_initialize_moneypunct_00433df8)(param_1,local_18[0],0);\n      (*(code *)PTR__S_destroy_c_locale_00432284)(local_18);\n      return;\n    }\n  }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n    iVar2 = (*(code *)PTR_strcmp_00436644)(uVar4,PTR_DAT_0043226c + 0x7420);\n    if (iVar2 != 0) {\n                    /* try { // try from 00346bd0 to 00346bff has its CatchHandler @ 00346c18 */\n      (*(code *)PTR__S_create_c_locale_004337c8)(local_18,uVar4,0);\n      (*(code *)PTR__M_initialize_moneypunct_00433df8)(param_1,local_18[0],0);\n      (*(code *)PTR__S_destroy_c_locale_00432284)(local_18);\n      return;\n    }\n  }" { (expression_statement "iVar2 = (*(code *)PTR_strcmp_00436644)(uVar4,PTR_DAT_0043226c + 0x7420);" (assignment_expression "iVar2 = (*(code *)PTR_strcmp_00436644)(uVar4,PTR_DAT_0043226c + 0x7420)" identifier = (call_expression "(*(code *)PTR_strcmp_00436644)(uVar4,PTR_DAT_0043226c + 0x7420)" (parenthesized_expression "(*(code *)PTR_strcmp_00436644)" ( (pointer_expression "*(code *)PTR_strcmp_00436644" * (cast_expression "(code *)PTR_strcmp_00436644" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar4,PTR_DAT_0043226c + 0x7420)" ( identifier , (binary_expression "PTR_DAT_0043226c + 0x7420" identifier + number_literal) )))) ;) (if_statement "if (iVar2 != 0) {\n                    /* try { // try from 00346bd0 to 00346bff has its CatchHandler @ 00346c18 */\n      (*(code *)PTR__S_create_c_locale_004337c8)(local_18,uVar4,0);\n      (*(code *)PTR__M_initialize_moneypunct_00433df8)(param_1,local_18[0],0);\n      (*(code *)PTR__S_destroy_c_locale_00432284)(local_18);\n      return;\n    }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n                    /* try { // try from 00346bd0 to 00346bff has its CatchHandler @ 00346c18 */\n      (*(code *)PTR__S_create_c_locale_004337c8)(local_18,uVar4,0);\n      (*(code *)PTR__M_initialize_moneypunct_00433df8)(param_1,local_18[0],0);\n      (*(code *)PTR__S_destroy_c_locale_00432284)(local_18);\n      return;\n    }" { comment (expression_statement "(*(code *)PTR__S_create_c_locale_004337c8)(local_18,uVar4,0);" (call_expression "(*(code *)PTR__S_create_c_locale_004337c8)(local_18,uVar4,0)" (parenthesized_expression "(*(code *)PTR__S_create_c_locale_004337c8)" ( (pointer_expression "*(code *)PTR__S_create_c_locale_004337c8" * (cast_expression "(code *)PTR__S_create_c_locale_004337c8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_18,uVar4,0)" ( identifier , identifier , number_literal ))) ;) (expression_statement "(*(code *)PTR__M_initialize_moneypunct_00433df8)(param_1,local_18[0],0);" (call_expression "(*(code *)PTR__M_initialize_moneypunct_00433df8)(param_1,local_18[0],0)" (parenthesized_expression "(*(code *)PTR__M_initialize_moneypunct_00433df8)" ( (pointer_expression "*(code *)PTR__M_initialize_moneypunct_00433df8" * (cast_expression "(code *)PTR__M_initialize_moneypunct_00433df8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,local_18[0],0)" ( identifier , (subscript_expression "local_18[0]" identifier [ number_literal ]) , number_literal ))) ;) (expression_statement "(*(code *)PTR__S_destroy_c_locale_00432284)(local_18);" (call_expression "(*(code *)PTR__S_destroy_c_locale_00432284)(local_18)" (parenthesized_expression "(*(code *)PTR__S_destroy_c_locale_00432284)" ( (pointer_expression "*(code *)PTR__S_destroy_c_locale_00432284" * (cast_expression "(code *)PTR__S_destroy_c_locale_00432284" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_18)" ( identifier ))) ;) (return_statement "return;" return ;) })) })) (return_statement "return;" return ;) })))
(translation_unit "/* std::moneypunct_byname<char, false>::moneypunct_byname(std::string const&, unsigned int) */\n\nvoid __thiscall\nstd::moneypunct_byname<char,false>::moneypunct_byname\n          (moneypunct_byname<char,false> *this,string *param_1,uint param_2)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  undefined *puVar3;\n  undefined4 uVar4;\n  undefined4 local_18 [2];\n  \n  puVar3 = PTR__M_initialize_moneypunct_00433df8;\n  uVar4 = *(undefined4 *)param_1;\n  *(uint *)(this + 4) = (uint)(param_2 != 0);\n  puVar1 = PTR_vtable_00433df4;\n  *(undefined4 *)(this + 8) = 0;\n                    /* try { // try from 00346b58 to 00346b5f has its CatchHandler @ 00346c3c */\n  *(undefined **)this = puVar1 + 8;\n  (*(code *)puVar3)(this,0,0);\n  puVar1 = PTR_strcmp_00436644;\n  puVar3 = PTR_s__0043226c + -0x7a6c;\n  *(undefined **)this = PTR_vtable_00433db8 + 8;\n  iVar2 = (*(code *)puVar1)(uVar4,puVar3);\n  if (iVar2 != 0) {\n    iVar2 = (*(code *)PTR_strcmp_00436644)(uVar4,PTR_s__0043226c + 0x7420);\n    if (iVar2 != 0) {\n                    /* try { // try from 00346bd0 to 00346bff has its CatchHandler @ 00346c18 */\n      (*(code *)PTR__S_create_c_locale_004337c8)(local_18,uVar4,0);\n      (*(code *)PTR__M_initialize_moneypunct_00433df8)(this,local_18[0],0);\n      (*(code *)PTR__S_destroy_c_locale_00432284)(local_18);\n      return;\n    }\n  }\n  return;\n}\n\n" comment (declaration "void __thiscall\nstd::moneypunct_byname<char,false>::moneypunct_byname\n          (moneypunct_byname<char,false> *this,string *param_1,uint param_2)\n\n{\n  undefined *puVar1;" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::" identifier : :) identifier (ERROR "<char" < primitive_type) , (ERROR "false>::moneypunct_byname\n          (moneypunct_byname<char,false> *this,string *param_1,uint param_2)\n\n{\n  undefined" identifier > : : (function_declarator "moneypunct_byname\n          (moneypunct_byname<char,false> *this,string *param_1,uint param_2)" identifier (parameter_list "(moneypunct_byname<char,false> *this,string *param_1,uint param_2)" ( (parameter_declaration "moneypunct_byname" type_identifier) (ERROR "<char" < primitive_type) , (parameter_declaration "false> *this" type_identifier (ERROR ">" >) (pointer_declarator "*this" * identifier)) , (parameter_declaration "string *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "uint param_2" type_identifier identifier) ))) { identifier) (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "undefined4 local_18 [2];" type_identifier (array_declarator "local_18 [2]" identifier [ number_literal ]) ;) (expression_statement "puVar3 = PTR__M_initialize_moneypunct_00433df8;" (assignment_expression "puVar3 = PTR__M_initialize_moneypunct_00433df8" identifier = identifier) ;) (expression_statement "uVar4 = *(undefined4 *)param_1;" (assignment_expression "uVar4 = *(undefined4 *)param_1" identifier = (pointer_expression "*(undefined4 *)param_1" * (cast_expression "(undefined4 *)param_1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "*(uint *)(this + 4) = (uint)(param_2 != 0);" (assignment_expression "*(uint *)(this + 4) = (uint)(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 "(uint)(param_2 != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )))) ;) (expression_statement "puVar1 = PTR_vtable_00433df4;" (assignment_expression "puVar1 = PTR_vtable_00433df4" identifier = identifier) ;) (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) ;) comment (expression_statement "*(undefined **)this = puVar1 + 8;" (assignment_expression "*(undefined **)this = puVar1 + 8" (pointer_expression "*(undefined **)this" * (cast_expression "(undefined **)this" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) = (binary_expression "puVar1 + 8" identifier + number_literal)) ;) (expression_statement "(*(code *)puVar3)(this,0,0);" (call_expression "(*(code *)puVar3)(this,0,0)" (parenthesized_expression "(*(code *)puVar3)" ( (pointer_expression "*(code *)puVar3" * (cast_expression "(code *)puVar3" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(this,0,0)" ( identifier , number_literal , number_literal ))) ;) (expression_statement "puVar1 = PTR_strcmp_00436644;" (assignment_expression "puVar1 = PTR_strcmp_00436644" identifier = identifier) ;) (expression_statement "puVar3 = PTR_s__0043226c + -0x7a6c;" (assignment_expression "puVar3 = PTR_s__0043226c + -0x7a6c" identifier = (binary_expression "PTR_s__0043226c + -0x7a6c" identifier + number_literal)) ;) (expression_statement "*(undefined **)this = PTR_vtable_00433db8 + 8;" (assignment_expression "*(undefined **)this = PTR_vtable_00433db8 + 8" (pointer_expression "*(undefined **)this" * (cast_expression "(undefined **)this" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) = (binary_expression "PTR_vtable_00433db8 + 8" identifier + number_literal)) ;) (expression_statement "iVar2 = (*(code *)puVar1)(uVar4,puVar3);" (assignment_expression "iVar2 = (*(code *)puVar1)(uVar4,puVar3)" identifier = (call_expression "(*(code *)puVar1)(uVar4,puVar3)" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar4,puVar3)" ( identifier , identifier )))) ;) (if_statement "if (iVar2 != 0) {\n    iVar2 = (*(code *)PTR_strcmp_00436644)(uVar4,PTR_s__0043226c + 0x7420);\n    if (iVar2 != 0) {\n                    /* try { // try from 00346bd0 to 00346bff has its CatchHandler @ 00346c18 */\n      (*(code *)PTR__S_create_c_locale_004337c8)(local_18,uVar4,0);\n      (*(code *)PTR__M_initialize_moneypunct_00433df8)(this,local_18[0],0);\n      (*(code *)PTR__S_destroy_c_locale_00432284)(local_18);\n      return;\n    }\n  }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n    iVar2 = (*(code *)PTR_strcmp_00436644)(uVar4,PTR_s__0043226c + 0x7420);\n    if (iVar2 != 0) {\n                    /* try { // try from 00346bd0 to 00346bff has its CatchHandler @ 00346c18 */\n      (*(code *)PTR__S_create_c_locale_004337c8)(local_18,uVar4,0);\n      (*(code *)PTR__M_initialize_moneypunct_00433df8)(this,local_18[0],0);\n      (*(code *)PTR__S_destroy_c_locale_00432284)(local_18);\n      return;\n    }\n  }" { (expression_statement "iVar2 = (*(code *)PTR_strcmp_00436644)(uVar4,PTR_s__0043226c + 0x7420);" (assignment_expression "iVar2 = (*(code *)PTR_strcmp_00436644)(uVar4,PTR_s__0043226c + 0x7420)" identifier = (call_expression "(*(code *)PTR_strcmp_00436644)(uVar4,PTR_s__0043226c + 0x7420)" (parenthesized_expression "(*(code *)PTR_strcmp_00436644)" ( (pointer_expression "*(code *)PTR_strcmp_00436644" * (cast_expression "(code *)PTR_strcmp_00436644" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar4,PTR_s__0043226c + 0x7420)" ( identifier , (binary_expression "PTR_s__0043226c + 0x7420" identifier + number_literal) )))) ;) (if_statement "if (iVar2 != 0) {\n                    /* try { // try from 00346bd0 to 00346bff has its CatchHandler @ 00346c18 */\n      (*(code *)PTR__S_create_c_locale_004337c8)(local_18,uVar4,0);\n      (*(code *)PTR__M_initialize_moneypunct_00433df8)(this,local_18[0],0);\n      (*(code *)PTR__S_destroy_c_locale_00432284)(local_18);\n      return;\n    }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n                    /* try { // try from 00346bd0 to 00346bff has its CatchHandler @ 00346c18 */\n      (*(code *)PTR__S_create_c_locale_004337c8)(local_18,uVar4,0);\n      (*(code *)PTR__M_initialize_moneypunct_00433df8)(this,local_18[0],0);\n      (*(code *)PTR__S_destroy_c_locale_00432284)(local_18);\n      return;\n    }" { comment (expression_statement "(*(code *)PTR__S_create_c_locale_004337c8)(local_18,uVar4,0);" (call_expression "(*(code *)PTR__S_create_c_locale_004337c8)(local_18,uVar4,0)" (parenthesized_expression "(*(code *)PTR__S_create_c_locale_004337c8)" ( (pointer_expression "*(code *)PTR__S_create_c_locale_004337c8" * (cast_expression "(code *)PTR__S_create_c_locale_004337c8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_18,uVar4,0)" ( identifier , identifier , number_literal ))) ;) (expression_statement "(*(code *)PTR__M_initialize_moneypunct_00433df8)(this,local_18[0],0);" (call_expression "(*(code *)PTR__M_initialize_moneypunct_00433df8)(this,local_18[0],0)" (parenthesized_expression "(*(code *)PTR__M_initialize_moneypunct_00433df8)" ( (pointer_expression "*(code *)PTR__M_initialize_moneypunct_00433df8" * (cast_expression "(code *)PTR__M_initialize_moneypunct_00433df8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(this,local_18[0],0)" ( identifier , (subscript_expression "local_18[0]" identifier [ number_literal ]) , number_literal ))) ;) (expression_statement "(*(code *)PTR__S_destroy_c_locale_00432284)(local_18);" (call_expression "(*(code *)PTR__S_destroy_c_locale_00432284)(local_18)" (parenthesized_expression "(*(code *)PTR__S_destroy_c_locale_00432284)" ( (pointer_expression "*(code *)PTR__S_destroy_c_locale_00432284" * (cast_expression "(code *)PTR__S_destroy_c_locale_00432284" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_18)" ( identifier ))) ;) (return_statement "return;" return ;) })) })) (return_statement "return;" return ;) (ERROR "}" }))
(translation_unit "void FUN_00346b0c(undefined4 *param_1,undefined4 *param_2,int param_3)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  undefined *puVar3;\n  undefined4 uVar4;\n  undefined4 local_18 [2];\n  \n  puVar3 = PTR__M_initialize_moneypunct_00433df8;\n  uVar4 = *param_2;\n  param_1[1] = (uint)(param_3 != 0);\n  puVar1 = PTR_vtable_00433df4;\n  param_1[2] = 0;\n                    \n  *param_1 = puVar1 + 8;\n  (*(code *)puVar3)(param_1,0,0);\n  puVar1 = PTR_strcmp_00436644;\n  puVar3 = PTR_DAT_0043226c + -0x7a6c;\n  *param_1 = PTR_vtable_00433db8 + 8;\n  iVar2 = (*(code *)puVar1)(uVar4,puVar3);\n  if (iVar2 != 0) {\n    iVar2 = (*(code *)PTR_strcmp_00436644)(uVar4,PTR_DAT_0043226c + 0x7420);\n    if (iVar2 != 0) {\n                    \n      (*(code *)PTR__S_create_c_locale_004337c8)(local_18,uVar4,0);\n      (*(code *)PTR__M_initialize_moneypunct_00433df8)(param_1,local_18[0],0);\n      (*(code *)PTR__S_destroy_c_locale_00432284)(local_18);\n      return;\n    }\n  }\n  return;\n}\n\n" (function_definition "void FUN_00346b0c(undefined4 *param_1,undefined4 *param_2,int param_3)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  undefined *puVar3;\n  undefined4 uVar4;\n  undefined4 local_18 [2];\n  \n  puVar3 = PTR__M_initialize_moneypunct_00433df8;\n  uVar4 = *param_2;\n  param_1[1] = (uint)(param_3 != 0);\n  puVar1 = PTR_vtable_00433df4;\n  param_1[2] = 0;\n                    \n  *param_1 = puVar1 + 8;\n  (*(code *)puVar3)(param_1,0,0);\n  puVar1 = PTR_strcmp_00436644;\n  puVar3 = PTR_DAT_0043226c + -0x7a6c;\n  *param_1 = PTR_vtable_00433db8 + 8;\n  iVar2 = (*(code *)puVar1)(uVar4,puVar3);\n  if (iVar2 != 0) {\n    iVar2 = (*(code *)PTR_strcmp_00436644)(uVar4,PTR_DAT_0043226c + 0x7420);\n    if (iVar2 != 0) {\n                    \n      (*(code *)PTR__S_create_c_locale_004337c8)(local_18,uVar4,0);\n      (*(code *)PTR__M_initialize_moneypunct_00433df8)(param_1,local_18[0],0);\n      (*(code *)PTR__S_destroy_c_locale_00432284)(local_18);\n      return;\n    }\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00346b0c(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 (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  undefined *puVar3;\n  undefined4 uVar4;\n  undefined4 local_18 [2];\n  \n  puVar3 = PTR__M_initialize_moneypunct_00433df8;\n  uVar4 = *param_2;\n  param_1[1] = (uint)(param_3 != 0);\n  puVar1 = PTR_vtable_00433df4;\n  param_1[2] = 0;\n                    \n  *param_1 = puVar1 + 8;\n  (*(code *)puVar3)(param_1,0,0);\n  puVar1 = PTR_strcmp_00436644;\n  puVar3 = PTR_DAT_0043226c + -0x7a6c;\n  *param_1 = PTR_vtable_00433db8 + 8;\n  iVar2 = (*(code *)puVar1)(uVar4,puVar3);\n  if (iVar2 != 0) {\n    iVar2 = (*(code *)PTR_strcmp_00436644)(uVar4,PTR_DAT_0043226c + 0x7420);\n    if (iVar2 != 0) {\n                    \n      (*(code *)PTR__S_create_c_locale_004337c8)(local_18,uVar4,0);\n      (*(code *)PTR__M_initialize_moneypunct_00433df8)(param_1,local_18[0],0);\n      (*(code *)PTR__S_destroy_c_locale_00432284)(local_18);\n      return;\n    }\n  }\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "undefined4 local_18 [2];" type_identifier (array_declarator "local_18 [2]" identifier [ number_literal ]) ;) (expression_statement "puVar3 = PTR__M_initialize_moneypunct_00433df8;" (assignment_expression "puVar3 = PTR__M_initialize_moneypunct_00433df8" identifier = identifier) ;) (expression_statement "uVar4 = *param_2;" (assignment_expression "uVar4 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "param_1[1] = (uint)(param_3 != 0);" (assignment_expression "param_1[1] = (uint)(param_3 != 0)" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (call_expression "(uint)(param_3 != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_3 != 0)" ( (binary_expression "param_3 != 0" identifier != number_literal) )))) ;) (expression_statement "puVar1 = PTR_vtable_00433df4;" (assignment_expression "puVar1 = PTR_vtable_00433df4" identifier = identifier) ;) (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 = puVar1 + 8;" (assignment_expression "*param_1 = puVar1 + 8" (pointer_expression "*param_1" * identifier) = (binary_expression "puVar1 + 8" identifier + number_literal)) ;) (expression_statement "(*(code *)puVar3)(param_1,0,0);" (call_expression "(*(code *)puVar3)(param_1,0,0)" (parenthesized_expression "(*(code *)puVar3)" ( (pointer_expression "*(code *)puVar3" * (cast_expression "(code *)puVar3" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,0,0)" ( identifier , number_literal , number_literal ))) ;) (expression_statement "puVar1 = PTR_strcmp_00436644;" (assignment_expression "puVar1 = PTR_strcmp_00436644" identifier = identifier) ;) (expression_statement "puVar3 = PTR_DAT_0043226c + -0x7a6c;" (assignment_expression "puVar3 = PTR_DAT_0043226c + -0x7a6c" identifier = (binary_expression "PTR_DAT_0043226c + -0x7a6c" identifier + number_literal)) ;) (expression_statement "*param_1 = PTR_vtable_00433db8 + 8;" (assignment_expression "*param_1 = PTR_vtable_00433db8 + 8" (pointer_expression "*param_1" * identifier) = (binary_expression "PTR_vtable_00433db8 + 8" identifier + number_literal)) ;) (expression_statement "iVar2 = (*(code *)puVar1)(uVar4,puVar3);" (assignment_expression "iVar2 = (*(code *)puVar1)(uVar4,puVar3)" identifier = (call_expression "(*(code *)puVar1)(uVar4,puVar3)" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar4,puVar3)" ( identifier , identifier )))) ;) (if_statement "if (iVar2 != 0) {\n    iVar2 = (*(code *)PTR_strcmp_00436644)(uVar4,PTR_DAT_0043226c + 0x7420);\n    if (iVar2 != 0) {\n                    \n      (*(code *)PTR__S_create_c_locale_004337c8)(local_18,uVar4,0);\n      (*(code *)PTR__M_initialize_moneypunct_00433df8)(param_1,local_18[0],0);\n      (*(code *)PTR__S_destroy_c_locale_00432284)(local_18);\n      return;\n    }\n  }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n    iVar2 = (*(code *)PTR_strcmp_00436644)(uVar4,PTR_DAT_0043226c + 0x7420);\n    if (iVar2 != 0) {\n                    \n      (*(code *)PTR__S_create_c_locale_004337c8)(local_18,uVar4,0);\n      (*(code *)PTR__M_initialize_moneypunct_00433df8)(param_1,local_18[0],0);\n      (*(code *)PTR__S_destroy_c_locale_00432284)(local_18);\n      return;\n    }\n  }" { (expression_statement "iVar2 = (*(code *)PTR_strcmp_00436644)(uVar4,PTR_DAT_0043226c + 0x7420);" (assignment_expression "iVar2 = (*(code *)PTR_strcmp_00436644)(uVar4,PTR_DAT_0043226c + 0x7420)" identifier = (call_expression "(*(code *)PTR_strcmp_00436644)(uVar4,PTR_DAT_0043226c + 0x7420)" (parenthesized_expression "(*(code *)PTR_strcmp_00436644)" ( (pointer_expression "*(code *)PTR_strcmp_00436644" * (cast_expression "(code *)PTR_strcmp_00436644" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar4,PTR_DAT_0043226c + 0x7420)" ( identifier , (binary_expression "PTR_DAT_0043226c + 0x7420" identifier + number_literal) )))) ;) (if_statement "if (iVar2 != 0) {\n                    \n      (*(code *)PTR__S_create_c_locale_004337c8)(local_18,uVar4,0);\n      (*(code *)PTR__M_initialize_moneypunct_00433df8)(param_1,local_18[0],0);\n      (*(code *)PTR__S_destroy_c_locale_00432284)(local_18);\n      return;\n    }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n                    \n      (*(code *)PTR__S_create_c_locale_004337c8)(local_18,uVar4,0);\n      (*(code *)PTR__M_initialize_moneypunct_00433df8)(param_1,local_18[0],0);\n      (*(code *)PTR__S_destroy_c_locale_00432284)(local_18);\n      return;\n    }" { (expression_statement "(*(code *)PTR__S_create_c_locale_004337c8)(local_18,uVar4,0);" (call_expression "(*(code *)PTR__S_create_c_locale_004337c8)(local_18,uVar4,0)" (parenthesized_expression "(*(code *)PTR__S_create_c_locale_004337c8)" ( (pointer_expression "*(code *)PTR__S_create_c_locale_004337c8" * (cast_expression "(code *)PTR__S_create_c_locale_004337c8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_18,uVar4,0)" ( identifier , identifier , number_literal ))) ;) (expression_statement "(*(code *)PTR__M_initialize_moneypunct_00433df8)(param_1,local_18[0],0);" (call_expression "(*(code *)PTR__M_initialize_moneypunct_00433df8)(param_1,local_18[0],0)" (parenthesized_expression "(*(code *)PTR__M_initialize_moneypunct_00433df8)" ( (pointer_expression "*(code *)PTR__M_initialize_moneypunct_00433df8" * (cast_expression "(code *)PTR__M_initialize_moneypunct_00433df8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,local_18[0],0)" ( identifier , (subscript_expression "local_18[0]" identifier [ number_literal ]) , number_literal ))) ;) (expression_statement "(*(code *)PTR__S_destroy_c_locale_00432284)(local_18);" (call_expression "(*(code *)PTR__S_destroy_c_locale_00432284)(local_18)" (parenthesized_expression "(*(code *)PTR__S_destroy_c_locale_00432284)" ( (pointer_expression "*(code *)PTR__S_destroy_c_locale_00432284" * (cast_expression "(code *)PTR__S_destroy_c_locale_00432284" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_18)" ( identifier ))) ;) (return_statement "return;" return ;) })) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT != LIT) )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression IDENT + LIT)) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , LIT , LIT ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , (binary_expression IDENT + LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT , LIT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , (subscript_expression IDENT [ LIT ]) , LIT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) (return_statement return ;) })) })) (return_statement return ;) })))
(function_definition "void FUN_00346b0c(undefined4 *param_1,undefined4 *param_2,int param_3)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  undefined *puVar3;\n  undefined4 uVar4;\n  undefined4 local_18 [2];\n  \n  puVar3 = PTR__M_initialize_moneypunct_00433df8;\n  uVar4 = *param_2;\n  param_1[1] = (uint)(param_3 != 0);\n  puVar1 = PTR_vtable_00433df4;\n  param_1[2] = 0;\n                    \n  *param_1 = puVar1 + 8;\n  (*(code *)puVar3)(param_1,0,0);\n  puVar1 = PTR_strcmp_00436644;\n  puVar3 = PTR_DAT_0043226c + -0x7a6c;\n  *param_1 = PTR_vtable_00433db8 + 8;\n  iVar2 = (*(code *)puVar1)(uVar4,puVar3);\n  if (iVar2 != 0) {\n    iVar2 = (*(code *)PTR_strcmp_00436644)(uVar4,PTR_DAT_0043226c + 0x7420);\n    if (iVar2 != 0) {\n                    \n      (*(code *)PTR__S_create_c_locale_004337c8)(local_18,uVar4,0);\n      (*(code *)PTR__M_initialize_moneypunct_00433df8)(param_1,local_18[0],0);\n      (*(code *)PTR__S_destroy_c_locale_00432284)(local_18);\n      return;\n    }\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00346b0c(undefined4 *param_1,undefined4 *param_2,int param_3)" (identifier "FUN_00346b0c") (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") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) () ")"))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  undefined *puVar3;\n  undefined4 uVar4;\n  undefined4 local_18 [2];\n  \n  puVar3 = PTR__M_initialize_moneypunct_00433df8;\n  uVar4 = *param_2;\n  param_1[1] = (uint)(param_3 != 0);\n  puVar1 = PTR_vtable_00433df4;\n  param_1[2] = 0;\n                    \n  *param_1 = puVar1 + 8;\n  (*(code *)puVar3)(param_1,0,0);\n  puVar1 = PTR_strcmp_00436644;\n  puVar3 = PTR_DAT_0043226c + -0x7a6c;\n  *param_1 = PTR_vtable_00433db8 + 8;\n  iVar2 = (*(code *)puVar1)(uVar4,puVar3);\n  if (iVar2 != 0) {\n    iVar2 = (*(code *)PTR_strcmp_00436644)(uVar4,PTR_DAT_0043226c + 0x7420);\n    if (iVar2 != 0) {\n                    \n      (*(code *)PTR__S_create_c_locale_004337c8)(local_18,uVar4,0);\n      (*(code *)PTR__M_initialize_moneypunct_00433df8)(param_1,local_18[0],0);\n      (*(code *)PTR__S_destroy_c_locale_00432284)(local_18);\n      return;\n    }\n  }\n  return;\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "undefined *puVar3;" (type_identifier "undefined") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (declaration "undefined4 uVar4;" (type_identifier "undefined4") (identifier "uVar4") (; ";")) (declaration "undefined4 local_18 [2];" (type_identifier "undefined4") (array_declarator "local_18 [2]" (identifier "local_18") ([ "[") (number_literal "2") (] "]")) (; ";")) (expression_statement "puVar3 = PTR__M_initialize_moneypunct_00433df8;" (assignment_expression "puVar3 = PTR__M_initialize_moneypunct_00433df8" (identifier "puVar3") (= "=") (identifier "PTR__M_initialize_moneypunct_00433df8")) (; ";")) (expression_statement "uVar4 = *param_2;" (assignment_expression "uVar4 = *param_2" (identifier "uVar4") (= "=") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) (; ";")) (expression_statement "param_1[1] = (uint)(param_3 != 0);" (assignment_expression "param_1[1] = (uint)(param_3 != 0)" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (call_expression "(uint)(param_3 != 0)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(param_3 != 0)" (( "(") (binary_expression "param_3 != 0" (identifier "param_3") (!= "!=") (number_literal "0")) () ")")))) (; ";")) (expression_statement "puVar1 = PTR_vtable_00433df4;" (assignment_expression "puVar1 = PTR_vtable_00433df4" (identifier "puVar1") (= "=") (identifier "PTR_vtable_00433df4")) (; ";")) (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 = puVar1 + 8;" (assignment_expression "*param_1 = puVar1 + 8" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (binary_expression "puVar1 + 8" (identifier "puVar1") (+ "+") (number_literal "8"))) (; ";")) (expression_statement "(*(code *)puVar3)(param_1,0,0);" (call_expression "(*(code *)puVar3)(param_1,0,0)" (parenthesized_expression "(*(code *)puVar3)" (( "(") (pointer_expression "*(code *)puVar3" (* "*") (cast_expression "(code *)puVar3" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar3"))) () ")")) (argument_list "(param_1,0,0)" (( "(") (identifier "param_1") (, ",") (number_literal "0") (, ",") (number_literal "0") () ")"))) (; ";")) (expression_statement "puVar1 = PTR_strcmp_00436644;" (assignment_expression "puVar1 = PTR_strcmp_00436644" (identifier "puVar1") (= "=") (identifier "PTR_strcmp_00436644")) (; ";")) (expression_statement "puVar3 = PTR_DAT_0043226c + -0x7a6c;" (assignment_expression "puVar3 = PTR_DAT_0043226c + -0x7a6c" (identifier "puVar3") (= "=") (binary_expression "PTR_DAT_0043226c + -0x7a6c" (identifier "PTR_DAT_0043226c") (+ "+") (number_literal "-0x7a6c"))) (; ";")) (expression_statement "*param_1 = PTR_vtable_00433db8 + 8;" (assignment_expression "*param_1 = PTR_vtable_00433db8 + 8" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (binary_expression "PTR_vtable_00433db8 + 8" (identifier "PTR_vtable_00433db8") (+ "+") (number_literal "8"))) (; ";")) (expression_statement "iVar2 = (*(code *)puVar1)(uVar4,puVar3);" (assignment_expression "iVar2 = (*(code *)puVar1)(uVar4,puVar3)" (identifier "iVar2") (= "=") (call_expression "(*(code *)puVar1)(uVar4,puVar3)" (parenthesized_expression "(*(code *)puVar1)" (( "(") (pointer_expression "*(code *)puVar1" (* "*") (cast_expression "(code *)puVar1" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar1"))) () ")")) (argument_list "(uVar4,puVar3)" (( "(") (identifier "uVar4") (, ",") (identifier "puVar3") () ")")))) (; ";")) (if_statement "if (iVar2 != 0) {\n    iVar2 = (*(code *)PTR_strcmp_00436644)(uVar4,PTR_DAT_0043226c + 0x7420);\n    if (iVar2 != 0) {\n                    \n      (*(code *)PTR__S_create_c_locale_004337c8)(local_18,uVar4,0);\n      (*(code *)PTR__M_initialize_moneypunct_00433df8)(param_1,local_18[0],0);\n      (*(code *)PTR__S_destroy_c_locale_00432284)(local_18);\n      return;\n    }\n  }" (if "if") (parenthesized_expression "(iVar2 != 0)" (( "(") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    iVar2 = (*(code *)PTR_strcmp_00436644)(uVar4,PTR_DAT_0043226c + 0x7420);\n    if (iVar2 != 0) {\n                    \n      (*(code *)PTR__S_create_c_locale_004337c8)(local_18,uVar4,0);\n      (*(code *)PTR__M_initialize_moneypunct_00433df8)(param_1,local_18[0],0);\n      (*(code *)PTR__S_destroy_c_locale_00432284)(local_18);\n      return;\n    }\n  }" ({ "{") (expression_statement "iVar2 = (*(code *)PTR_strcmp_00436644)(uVar4,PTR_DAT_0043226c + 0x7420);" (assignment_expression "iVar2 = (*(code *)PTR_strcmp_00436644)(uVar4,PTR_DAT_0043226c + 0x7420)" (identifier "iVar2") (= "=") (call_expression "(*(code *)PTR_strcmp_00436644)(uVar4,PTR_DAT_0043226c + 0x7420)" (parenthesized_expression "(*(code *)PTR_strcmp_00436644)" (( "(") (pointer_expression "*(code *)PTR_strcmp_00436644" (* "*") (cast_expression "(code *)PTR_strcmp_00436644" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strcmp_00436644"))) () ")")) (argument_list "(uVar4,PTR_DAT_0043226c + 0x7420)" (( "(") (identifier "uVar4") (, ",") (binary_expression "PTR_DAT_0043226c + 0x7420" (identifier "PTR_DAT_0043226c") (+ "+") (number_literal "0x7420")) () ")")))) (; ";")) (if_statement "if (iVar2 != 0) {\n                    \n      (*(code *)PTR__S_create_c_locale_004337c8)(local_18,uVar4,0);\n      (*(code *)PTR__M_initialize_moneypunct_00433df8)(param_1,local_18[0],0);\n      (*(code *)PTR__S_destroy_c_locale_00432284)(local_18);\n      return;\n    }" (if "if") (parenthesized_expression "(iVar2 != 0)" (( "(") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                    \n      (*(code *)PTR__S_create_c_locale_004337c8)(local_18,uVar4,0);\n      (*(code *)PTR__M_initialize_moneypunct_00433df8)(param_1,local_18[0],0);\n      (*(code *)PTR__S_destroy_c_locale_00432284)(local_18);\n      return;\n    }" ({ "{") (expression_statement "(*(code *)PTR__S_create_c_locale_004337c8)(local_18,uVar4,0);" (call_expression "(*(code *)PTR__S_create_c_locale_004337c8)(local_18,uVar4,0)" (parenthesized_expression "(*(code *)PTR__S_create_c_locale_004337c8)" (( "(") (pointer_expression "*(code *)PTR__S_create_c_locale_004337c8" (* "*") (cast_expression "(code *)PTR__S_create_c_locale_004337c8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR__S_create_c_locale_004337c8"))) () ")")) (argument_list "(local_18,uVar4,0)" (( "(") (identifier "local_18") (, ",") (identifier "uVar4") (, ",") (number_literal "0") () ")"))) (; ";")) (expression_statement "(*(code *)PTR__M_initialize_moneypunct_00433df8)(param_1,local_18[0],0);" (call_expression "(*(code *)PTR__M_initialize_moneypunct_00433df8)(param_1,local_18[0],0)" (parenthesized_expression "(*(code *)PTR__M_initialize_moneypunct_00433df8)" (( "(") (pointer_expression "*(code *)PTR__M_initialize_moneypunct_00433df8" (* "*") (cast_expression "(code *)PTR__M_initialize_moneypunct_00433df8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR__M_initialize_moneypunct_00433df8"))) () ")")) (argument_list "(param_1,local_18[0],0)" (( "(") (identifier "param_1") (, ",") (subscript_expression "local_18[0]" (identifier "local_18") ([ "[") (number_literal "0") (] "]")) (, ",") (number_literal "0") () ")"))) (; ";")) (expression_statement "(*(code *)PTR__S_destroy_c_locale_00432284)(local_18);" (call_expression "(*(code *)PTR__S_destroy_c_locale_00432284)(local_18)" (parenthesized_expression "(*(code *)PTR__S_destroy_c_locale_00432284)" (( "(") (pointer_expression "*(code *)PTR__S_destroy_c_locale_00432284" (* "*") (cast_expression "(code *)PTR__S_destroy_c_locale_00432284" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR__S_destroy_c_locale_00432284"))) () ")")) (argument_list "(local_18)" (( "(") (identifier "local_18") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* std::moneypunct_byname<char, false>::moneypunct_byname(std::string const&, unsigned int) */

void __thiscall
std::moneypunct_byname<char,false>::moneypunct_byname
          (moneypunct_byname<char,false> *var_1,string *param_1,type_3 var_2)

{
  type_1 *var_3;
  int var_6;
  type_1 *puVar3;
  type_2 uVar4;
  type_2 local_18 [2];
  
  puVar3 = PTR__M_initialize_moneypunct_00433df8;
  uVar4 = *(type_2 *)param_1;
  *(type_3 *)(var_1 + 4) = (type_3)(var_2 != 0);
  var_3 = PTR_vtable_00433df4;
  *(type_2 *)(var_1 + 8) = 0;
                    /* try { // try from 00346b58 to 00346b5f has its CatchHandler @ 00346c3c */
  *(type_1 **)var_1 = var_3 + 8;
  (*(type_4 *)puVar3)(var_1,0,0);
  var_3 = PTR_strcmp_00436644;
  puVar3 = var_4 + -0x7a6c;
  *(type_1 **)var_1 = var_5 + 8;
  var_6 = (*(type_4 *)var_3)(uVar4,puVar3);
  if (var_6 != 0) {
    var_6 = (*(type_4 *)PTR_strcmp_00436644)(uVar4,var_4 + 0x7420);
    if (var_6 != 0) {
                    /* try { // try from 00346bd0 to 00346bff has its CatchHandler @ 00346c18 */
      (*(type_4 *)PTR__S_create_c_locale_004337c8)(local_18,uVar4,0);
      (*(type_4 *)PTR__M_initialize_moneypunct_00433df8)(var_1,local_18[0],0);
      (*(type_4 *)PTR__S_destroy_c_locale_00432284)(local_18);
      return;
    }
  }
  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: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (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: (identifier) right: (identifier))) (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: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (number_literal) (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (binary_expression left: (identifier) right: (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (identifier) (number_literal)))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (subscript_expression argument: (identifier) index: (number_literal)) (number_literal)))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier)))) (return_statement))))) (return_statement))))

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

{
  undefined *puVar1;
  int iVar2;
  undefined *puVar3;
  undefined4 uVar4;
  undefined4 local_18 [2];
  
  puVar3 = PTR__M_initialize_moneypunct_00433df8;
  uVar4 = *param_2;
  param_1[1] = (uint)(param_3 != 0);
  puVar1 = PTR_vtable_00433df4;
  param_1[2] = 0;
                    /* try { // try from 00346b58 to 00346b5f has its CatchHandler @ 00346c3c */
  *param_1 = puVar1 + 8;
  (*(code *)puVar3)(param_1,0,0);
  puVar1 = PTR_strcmp_00436644;
  puVar3 = PTR_DAT_0043226c + -0x7a6c;
  *param_1 = PTR_vtable_00433db8 + 8;
  iVar2 = (*(code *)puVar1)(uVar4,puVar3);
  if (iVar2 != 0) {
    iVar2 = (*(code *)PTR_strcmp_00436644)(uVar4,PTR_DAT_0043226c + 0x7420);
    if (iVar2 != 0) {
                    /* try { // try from 00346bd0 to 00346bff has its CatchHandler @ 00346c18 */
      (*(code *)PTR__S_create_c_locale_004337c8)(local_18,uVar4,0);
      (*(code *)PTR__M_initialize_moneypunct_00433df8)(param_1,local_18[0],0);
      (*(code *)PTR__S_destroy_c_locale_00432284)(local_18);
      return;
    }
  }
  return;
}

