
/* std::collate_byname<wchar_t>::collate_byname(std::string const&, unsigned int) */

void __thiscall
std::collate_byname<wchar_t>::collate_byname
          (collate_byname<wchar_t> *this,string *param_1,uint param_2)

{
  undefined *puVar1;
  undefined4 uVar2;
  int iVar3;
  undefined *puVar4;
  char *pcVar5;
  
  puVar1 = PTR__S_get_c_locale_00432354;
  puVar4 = PTR_vtable_00432280 + 8;
  pcVar5 = *(char **)param_1;
  *(uint *)(this + 4) = (uint)(param_2 != 0);
                    /* try { // try from 0032204c to 00322053 has its CatchHandler @ 00322138 */
  *(undefined **)this = puVar4;
  uVar2 = (*(code *)puVar1)();
  *(undefined4 *)(this + 8) = uVar2;
  puVar1 = PTR_strcmp_00436644;
  puVar4 = PTR_s__0043226c + -0x7a6c;
  *(undefined **)this = PTR_vtable_00433abc + 8;
  iVar3 = (*(code *)puVar1)(pcVar5,puVar4);
  if ((iVar3 != 0) &&
     (iVar3 = (*(code *)PTR_strcmp_00436644)(pcVar5,PTR_s__0043226c + 0x7420), iVar3 != 0)) {
                    /* try { // try from 003220c4 to 003220e3 has its CatchHandler @ 00322100 */
    locale::facet::_S_destroy_c_locale((__locale_struct **)(this + 8));
    locale::facet::_S_create_c_locale((__locale_struct **)(this + 8),pcVar5,(__locale_struct *)0x0);
    return;
  }
  return;
}



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

{
  undefined *puVar1;
  undefined4 uVar2;
  int iVar3;
  undefined *puVar4;
  char *pcVar5;
  
  puVar1 = PTR__S_get_c_locale_00432354;
  puVar4 = PTR_vtable_00432280 + 8;
  pcVar5 = (char *)*param_2;
  param_1[1] = (uint)(param_3 != 0);
                    /* try { // try from 0032204c to 00322053 has its CatchHandler @ 00322138 */
  *param_1 = puVar4;
  uVar2 = (*(code *)puVar1)();
  param_1[2] = uVar2;
  puVar1 = PTR_strcmp_00436644;
  puVar4 = PTR_DAT_0043226c + -0x7a6c;
  *param_1 = PTR_vtable_00433abc + 8;
  iVar3 = (*(code *)puVar1)(pcVar5,puVar4);
  if ((iVar3 != 0) &&
     (iVar3 = (*(code *)PTR_strcmp_00436644)(pcVar5,PTR_DAT_0043226c + 0x7420), iVar3 != 0)) {
                    /* try { // try from 003220c4 to 003220e3 has its CatchHandler @ 00322100 */
    std::locale::facet::_S_destroy_c_locale((__locale_struct **)(param_1 + 2));
    std::locale::facet::_S_create_c_locale
              ((__locale_struct **)(param_1 + 2),pcVar5,(__locale_struct *)0x0);
    return;
  }
  return;
}


lui gp,0x12
addiu gp,gp,-0x7e38
addu gp,gp,t9
addiu sp,sp,-0x30
lw t9,-0x7e7c(gp)
sltu a2,zero,a2
sw s1,0x20(sp)
sw gp,0x10(sp)
lw s1,-0x7f50(gp)
sw s2,0x24(sp)
sw s0,0x1c(sp)
or s0,a0,zero
addiu s1,s1,0x8
sw ra,0x2c(sp)
sw s3,0x28(sp)
lw s2,0x0(a1)
sw a2,0x4(a0)
jalr t9
_sw s1,0x0(a0)
lw gp,0x10(sp)
or a0,s2,zero
sw v0,0x8(s0)
lw v0,-0x6714(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,0x003220a0
_lw gp,0x10(sp)
lw a1,-0x7f64(gp)
or a0,s2,zero
lw t9,-0x3b8c(gp)
jalr t9
_addiu a1,a1,0x7420
bne v0,zero,0x003220bc
_lw gp,0x10(sp)
lw ra,0x2c(sp)
lw s3,0x28(sp)
lw s2,0x24(sp)
lw s1,0x20(sp)
lw s0,0x1c(sp)
jr ra
_addiu sp,sp,0x30
addiu s3,s0,0x8
lw t9,-0x7f4c(gp)
bal 0x0031237c
_or a0,s3,zero
lw gp,0x10(sp)
or a2,zero,zero
or a1,s2,zero
lw t9,-0x6a08(gp)
bal 0x00312324
_or a0,s3,zero
lw ra,0x2c(sp)
lw s3,0x28(sp)
lw s2,0x24(sp)
lw s1,0x20(sp)
lw s0,0x1c(sp)
jr ra
_addiu sp,sp,0x30
(translation_unit "void FUN_00322008(undefined4 *param_1,undefined4 *param_2,int param_3)\n\n{\n  undefined *puVar1;\n  undefined4 uVar2;\n  int iVar3;\n  undefined *puVar4;\n  char *pcVar5;\n  \n  puVar1 = PTR__S_get_c_locale_00432354;\n  puVar4 = PTR_vtable_00432280 + 8;\n  pcVar5 = (char *)*param_2;\n  param_1[1] = (uint)(param_3 != 0);\n                    /* try { // try from 0032204c to 00322053 has its CatchHandler @ 00322138 */\n  *param_1 = puVar4;\n  uVar2 = (*(code *)puVar1)();\n  param_1[2] = uVar2;\n  puVar1 = PTR_strcmp_00436644;\n  puVar4 = PTR_DAT_0043226c + -0x7a6c;\n  *param_1 = PTR_vtable_00433abc + 8;\n  iVar3 = (*(code *)puVar1)(pcVar5,puVar4);\n  if ((iVar3 != 0) &&\n     (iVar3 = (*(code *)PTR_strcmp_00436644)(pcVar5,PTR_DAT_0043226c + 0x7420), iVar3 != 0)) {\n                    /* try { // try from 003220c4 to 003220e3 has its CatchHandler @ 00322100 */\n    std::locale::facet::_S_destroy_c_locale((__locale_struct **)(param_1 + 2));\n    std::locale::facet::_S_create_c_locale\n              ((__locale_struct **)(param_1 + 2),pcVar5,(__locale_struct *)0x0);\n    return;\n  }\n  return;\n}\n\n" (function_definition "void FUN_00322008(undefined4 *param_1,undefined4 *param_2,int param_3)\n\n{\n  undefined *puVar1;\n  undefined4 uVar2;\n  int iVar3;\n  undefined *puVar4;\n  char *pcVar5;\n  \n  puVar1 = PTR__S_get_c_locale_00432354;\n  puVar4 = PTR_vtable_00432280 + 8;\n  pcVar5 = (char *)*param_2;\n  param_1[1] = (uint)(param_3 != 0);\n                    /* try { // try from 0032204c to 00322053 has its CatchHandler @ 00322138 */\n  *param_1 = puVar4;\n  uVar2 = (*(code *)puVar1)();\n  param_1[2] = uVar2;\n  puVar1 = PTR_strcmp_00436644;\n  puVar4 = PTR_DAT_0043226c + -0x7a6c;\n  *param_1 = PTR_vtable_00433abc + 8;\n  iVar3 = (*(code *)puVar1)(pcVar5,puVar4);\n  if ((iVar3 != 0) &&\n     (iVar3 = (*(code *)PTR_strcmp_00436644)(pcVar5,PTR_DAT_0043226c + 0x7420), iVar3 != 0)) {\n                    /* try { // try from 003220c4 to 003220e3 has its CatchHandler @ 00322100 */\n    std::locale::facet::_S_destroy_c_locale((__locale_struct **)(param_1 + 2));\n    std::locale::facet::_S_create_c_locale\n              ((__locale_struct **)(param_1 + 2),pcVar5,(__locale_struct *)0x0);\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00322008(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  undefined4 uVar2;\n  int iVar3;\n  undefined *puVar4;\n  char *pcVar5;\n  \n  puVar1 = PTR__S_get_c_locale_00432354;\n  puVar4 = PTR_vtable_00432280 + 8;\n  pcVar5 = (char *)*param_2;\n  param_1[1] = (uint)(param_3 != 0);\n                    /* try { // try from 0032204c to 00322053 has its CatchHandler @ 00322138 */\n  *param_1 = puVar4;\n  uVar2 = (*(code *)puVar1)();\n  param_1[2] = uVar2;\n  puVar1 = PTR_strcmp_00436644;\n  puVar4 = PTR_DAT_0043226c + -0x7a6c;\n  *param_1 = PTR_vtable_00433abc + 8;\n  iVar3 = (*(code *)puVar1)(pcVar5,puVar4);\n  if ((iVar3 != 0) &&\n     (iVar3 = (*(code *)PTR_strcmp_00436644)(pcVar5,PTR_DAT_0043226c + 0x7420), iVar3 != 0)) {\n                    /* try { // try from 003220c4 to 003220e3 has its CatchHandler @ 00322100 */\n    std::locale::facet::_S_destroy_c_locale((__locale_struct **)(param_1 + 2));\n    std::locale::facet::_S_create_c_locale\n              ((__locale_struct **)(param_1 + 2),pcVar5,(__locale_struct *)0x0);\n    return;\n  }\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "char *pcVar5;" primitive_type (pointer_declarator "*pcVar5" * identifier) ;) (expression_statement "puVar1 = PTR__S_get_c_locale_00432354;" (assignment_expression "puVar1 = PTR__S_get_c_locale_00432354" identifier = identifier) ;) (expression_statement "puVar4 = PTR_vtable_00432280 + 8;" (assignment_expression "puVar4 = PTR_vtable_00432280 + 8" identifier = (binary_expression "PTR_vtable_00432280 + 8" identifier + number_literal)) ;) (expression_statement "pcVar5 = (char *)*param_2;" (assignment_expression "pcVar5 = (char *)*param_2" identifier = (cast_expression "(char *)*param_2" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (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) )))) ;) comment (expression_statement "*param_1 = puVar4;" (assignment_expression "*param_1 = puVar4" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "uVar2 = (*(code *)puVar1)();" (assignment_expression "uVar2 = (*(code *)puVar1)()" identifier = (call_expression "(*(code *)puVar1)()" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "param_1[2] = uVar2;" (assignment_expression "param_1[2] = uVar2" (subscript_expression "param_1[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar1 = PTR_strcmp_00436644;" (assignment_expression "puVar1 = PTR_strcmp_00436644" identifier = identifier) ;) (expression_statement "puVar4 = PTR_DAT_0043226c + -0x7a6c;" (assignment_expression "puVar4 = PTR_DAT_0043226c + -0x7a6c" identifier = (binary_expression "PTR_DAT_0043226c + -0x7a6c" identifier + number_literal)) ;) (expression_statement "*param_1 = PTR_vtable_00433abc + 8;" (assignment_expression "*param_1 = PTR_vtable_00433abc + 8" (pointer_expression "*param_1" * identifier) = (binary_expression "PTR_vtable_00433abc + 8" identifier + number_literal)) ;) (expression_statement "iVar3 = (*(code *)puVar1)(pcVar5,puVar4);" (assignment_expression "iVar3 = (*(code *)puVar1)(pcVar5,puVar4)" identifier = (call_expression "(*(code *)puVar1)(pcVar5,puVar4)" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar5,puVar4)" ( identifier , identifier )))) ;) (if_statement "if ((iVar3 != 0) &&\n     (iVar3 = (*(code *)PTR_strcmp_00436644)(pcVar5,PTR_DAT_0043226c + 0x7420), iVar3 != 0)) {\n                    /* try { // try from 003220c4 to 003220e3 has its CatchHandler @ 00322100 */\n    std::locale::facet::_S_destroy_c_locale((__locale_struct **)(param_1 + 2));\n    std::locale::facet::_S_create_c_locale\n              ((__locale_struct **)(param_1 + 2),pcVar5,(__locale_struct *)0x0);\n    return;\n  }" if (parenthesized_expression "((iVar3 != 0) &&\n     (iVar3 = (*(code *)PTR_strcmp_00436644)(pcVar5,PTR_DAT_0043226c + 0x7420), iVar3 != 0))" ( (binary_expression "(iVar3 != 0) &&\n     (iVar3 = (*(code *)PTR_strcmp_00436644)(pcVar5,PTR_DAT_0043226c + 0x7420), iVar3 != 0)" (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) && (parenthesized_expression "(iVar3 = (*(code *)PTR_strcmp_00436644)(pcVar5,PTR_DAT_0043226c + 0x7420), iVar3 != 0)" ( (comma_expression "iVar3 = (*(code *)PTR_strcmp_00436644)(pcVar5,PTR_DAT_0043226c + 0x7420), iVar3 != 0" (assignment_expression "iVar3 = (*(code *)PTR_strcmp_00436644)(pcVar5,PTR_DAT_0043226c + 0x7420)" identifier = (call_expression "(*(code *)PTR_strcmp_00436644)(pcVar5,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 "(pcVar5,PTR_DAT_0043226c + 0x7420)" ( identifier , (binary_expression "PTR_DAT_0043226c + 0x7420" identifier + number_literal) )))) , (binary_expression "iVar3 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n                    /* try { // try from 003220c4 to 003220e3 has its CatchHandler @ 00322100 */\n    std::locale::facet::_S_destroy_c_locale((__locale_struct **)(param_1 + 2));\n    std::locale::facet::_S_create_c_locale\n              ((__locale_struct **)(param_1 + 2),pcVar5,(__locale_struct *)0x0);\n    return;\n  }" { comment (labeled_statement "std::locale::facet::_S_destroy_c_locale((__locale_struct **)(param_1 + 2));" statement_identifier : (ERROR ":" :) (labeled_statement "locale::facet::_S_destroy_c_locale((__locale_struct **)(param_1 + 2));" statement_identifier : (ERROR ":" :) (labeled_statement "facet::_S_destroy_c_locale((__locale_struct **)(param_1 + 2));" statement_identifier : (ERROR ":" :) (expression_statement "_S_destroy_c_locale((__locale_struct **)(param_1 + 2));" (call_expression "_S_destroy_c_locale((__locale_struct **)(param_1 + 2))" identifier (argument_list "((__locale_struct **)(param_1 + 2))" ( (cast_expression "(__locale_struct **)(param_1 + 2)" ( (type_descriptor "__locale_struct **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 2)" ( (binary_expression "param_1 + 2" identifier + number_literal) ))) ))) ;)))) (labeled_statement "std::locale::facet::_S_create_c_locale\n              ((__locale_struct **)(param_1 + 2),pcVar5,(__locale_struct *)0x0);" statement_identifier : (ERROR ":" :) (labeled_statement "locale::facet::_S_create_c_locale\n              ((__locale_struct **)(param_1 + 2),pcVar5,(__locale_struct *)0x0);" statement_identifier : (ERROR ":" :) (labeled_statement "facet::_S_create_c_locale\n              ((__locale_struct **)(param_1 + 2),pcVar5,(__locale_struct *)0x0);" statement_identifier : (ERROR ":" :) (expression_statement "_S_create_c_locale\n              ((__locale_struct **)(param_1 + 2),pcVar5,(__locale_struct *)0x0);" (call_expression "_S_create_c_locale\n              ((__locale_struct **)(param_1 + 2),pcVar5,(__locale_struct *)0x0)" identifier (argument_list "((__locale_struct **)(param_1 + 2),pcVar5,(__locale_struct *)0x0)" ( (cast_expression "(__locale_struct **)(param_1 + 2)" ( (type_descriptor "__locale_struct **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 2)" ( (binary_expression "param_1 + 2" identifier + number_literal) ))) , identifier , (cast_expression "(__locale_struct *)0x0" ( (type_descriptor "__locale_struct *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ))) ;)))) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit "/* std::collate_byname<wchar_t>::collate_byname(std::string const&, unsigned int) */\n\nvoid __thiscall\nstd::collate_byname<wchar_t>::collate_byname\n          (collate_byname<wchar_t> *this,string *param_1,uint param_2)\n\n{\n  undefined *puVar1;\n  undefined4 uVar2;\n  int iVar3;\n  undefined *puVar4;\n  char *pcVar5;\n  \n  puVar1 = PTR__S_get_c_locale_00432354;\n  puVar4 = PTR_vtable_00432280 + 8;\n  pcVar5 = *(char **)param_1;\n  *(uint *)(this + 4) = (uint)(param_2 != 0);\n                    /* try { // try from 0032204c to 00322053 has its CatchHandler @ 00322138 */\n  *(undefined **)this = puVar4;\n  uVar2 = (*(code *)puVar1)();\n  *(undefined4 *)(this + 8) = uVar2;\n  puVar1 = PTR_strcmp_00436644;\n  puVar4 = PTR_s__0043226c + -0x7a6c;\n  *(undefined **)this = PTR_vtable_00433abc + 8;\n  iVar3 = (*(code *)puVar1)(pcVar5,puVar4);\n  if ((iVar3 != 0) &&\n     (iVar3 = (*(code *)PTR_strcmp_00436644)(pcVar5,PTR_s__0043226c + 0x7420), iVar3 != 0)) {\n                    /* try { // try from 003220c4 to 003220e3 has its CatchHandler @ 00322100 */\n    locale::facet::_S_destroy_c_locale((__locale_struct **)(this + 8));\n    locale::facet::_S_create_c_locale((__locale_struct **)(this + 8),pcVar5,(__locale_struct *)0x0);\n    return;\n  }\n  return;\n}\n\n" comment (function_definition "void __thiscall\nstd::collate_byname<wchar_t>::collate_byname\n          (collate_byname<wchar_t> *this,string *param_1,uint param_2)\n\n{\n  undefined *puVar1;\n  undefined4 uVar2;\n  int iVar3;\n  undefined *puVar4;\n  char *pcVar5;\n  \n  puVar1 = PTR__S_get_c_locale_00432354;\n  puVar4 = PTR_vtable_00432280 + 8;\n  pcVar5 = *(char **)param_1;\n  *(uint *)(this + 4) = (uint)(param_2 != 0);\n                    /* try { // try from 0032204c to 00322053 has its CatchHandler @ 00322138 */\n  *(undefined **)this = puVar4;\n  uVar2 = (*(code *)puVar1)();\n  *(undefined4 *)(this + 8) = uVar2;\n  puVar1 = PTR_strcmp_00436644;\n  puVar4 = PTR_s__0043226c + -0x7a6c;\n  *(undefined **)this = PTR_vtable_00433abc + 8;\n  iVar3 = (*(code *)puVar1)(pcVar5,puVar4);\n  if ((iVar3 != 0) &&\n     (iVar3 = (*(code *)PTR_strcmp_00436644)(pcVar5,PTR_s__0043226c + 0x7420), iVar3 != 0)) {\n                    /* try { // try from 003220c4 to 003220e3 has its CatchHandler @ 00322100 */\n    locale::facet::_S_destroy_c_locale((__locale_struct **)(this + 8));\n    locale::facet::_S_create_c_locale((__locale_struct **)(this + 8),pcVar5,(__locale_struct *)0x0);\n    return;\n  }\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::collate_byname<wchar_t>::" identifier : : identifier < identifier > : :) (function_declarator "collate_byname\n          (collate_byname<wchar_t> *this,string *param_1,uint param_2)" identifier (parameter_list "(collate_byname<wchar_t> *this,string *param_1,uint param_2)" ( (parameter_declaration "collate_byname<wchar_t> *this" type_identifier (ERROR "<wchar_t>" < identifier >) (pointer_declarator "*this" * identifier)) , (parameter_declaration "string *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "uint param_2" type_identifier identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  undefined4 uVar2;\n  int iVar3;\n  undefined *puVar4;\n  char *pcVar5;\n  \n  puVar1 = PTR__S_get_c_locale_00432354;\n  puVar4 = PTR_vtable_00432280 + 8;\n  pcVar5 = *(char **)param_1;\n  *(uint *)(this + 4) = (uint)(param_2 != 0);\n                    /* try { // try from 0032204c to 00322053 has its CatchHandler @ 00322138 */\n  *(undefined **)this = puVar4;\n  uVar2 = (*(code *)puVar1)();\n  *(undefined4 *)(this + 8) = uVar2;\n  puVar1 = PTR_strcmp_00436644;\n  puVar4 = PTR_s__0043226c + -0x7a6c;\n  *(undefined **)this = PTR_vtable_00433abc + 8;\n  iVar3 = (*(code *)puVar1)(pcVar5,puVar4);\n  if ((iVar3 != 0) &&\n     (iVar3 = (*(code *)PTR_strcmp_00436644)(pcVar5,PTR_s__0043226c + 0x7420), iVar3 != 0)) {\n                    /* try { // try from 003220c4 to 003220e3 has its CatchHandler @ 00322100 */\n    locale::facet::_S_destroy_c_locale((__locale_struct **)(this + 8));\n    locale::facet::_S_create_c_locale((__locale_struct **)(this + 8),pcVar5,(__locale_struct *)0x0);\n    return;\n  }\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "char *pcVar5;" primitive_type (pointer_declarator "*pcVar5" * identifier) ;) (expression_statement "puVar1 = PTR__S_get_c_locale_00432354;" (assignment_expression "puVar1 = PTR__S_get_c_locale_00432354" identifier = identifier) ;) (expression_statement "puVar4 = PTR_vtable_00432280 + 8;" (assignment_expression "puVar4 = PTR_vtable_00432280 + 8" identifier = (binary_expression "PTR_vtable_00432280 + 8" identifier + number_literal)) ;) (expression_statement "pcVar5 = *(char **)param_1;" (assignment_expression "pcVar5 = *(char **)param_1" identifier = (pointer_expression "*(char **)param_1" * (cast_expression "(char **)param_1" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (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) )))) ;) comment (expression_statement "*(undefined **)this = puVar4;" (assignment_expression "*(undefined **)this = puVar4" (pointer_expression "*(undefined **)this" * (cast_expression "(undefined **)this" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) = identifier) ;) (expression_statement "uVar2 = (*(code *)puVar1)();" (assignment_expression "uVar2 = (*(code *)puVar1)()" identifier = (call_expression "(*(code *)puVar1)()" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "*(undefined4 *)(this + 8) = uVar2;" (assignment_expression "*(undefined4 *)(this + 8) = uVar2" (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) )))) = identifier) ;) (expression_statement "puVar1 = PTR_strcmp_00436644;" (assignment_expression "puVar1 = PTR_strcmp_00436644" identifier = identifier) ;) (expression_statement "puVar4 = PTR_s__0043226c + -0x7a6c;" (assignment_expression "puVar4 = PTR_s__0043226c + -0x7a6c" identifier = (binary_expression "PTR_s__0043226c + -0x7a6c" identifier + number_literal)) ;) (expression_statement "*(undefined **)this = PTR_vtable_00433abc + 8;" (assignment_expression "*(undefined **)this = PTR_vtable_00433abc + 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_00433abc + 8" identifier + number_literal)) ;) (expression_statement "iVar3 = (*(code *)puVar1)(pcVar5,puVar4);" (assignment_expression "iVar3 = (*(code *)puVar1)(pcVar5,puVar4)" identifier = (call_expression "(*(code *)puVar1)(pcVar5,puVar4)" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar5,puVar4)" ( identifier , identifier )))) ;) (if_statement "if ((iVar3 != 0) &&\n     (iVar3 = (*(code *)PTR_strcmp_00436644)(pcVar5,PTR_s__0043226c + 0x7420), iVar3 != 0)) {\n                    /* try { // try from 003220c4 to 003220e3 has its CatchHandler @ 00322100 */\n    locale::facet::_S_destroy_c_locale((__locale_struct **)(this + 8));\n    locale::facet::_S_create_c_locale((__locale_struct **)(this + 8),pcVar5,(__locale_struct *)0x0);\n    return;\n  }" if (parenthesized_expression "((iVar3 != 0) &&\n     (iVar3 = (*(code *)PTR_strcmp_00436644)(pcVar5,PTR_s__0043226c + 0x7420), iVar3 != 0))" ( (binary_expression "(iVar3 != 0) &&\n     (iVar3 = (*(code *)PTR_strcmp_00436644)(pcVar5,PTR_s__0043226c + 0x7420), iVar3 != 0)" (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) && (parenthesized_expression "(iVar3 = (*(code *)PTR_strcmp_00436644)(pcVar5,PTR_s__0043226c + 0x7420), iVar3 != 0)" ( (comma_expression "iVar3 = (*(code *)PTR_strcmp_00436644)(pcVar5,PTR_s__0043226c + 0x7420), iVar3 != 0" (assignment_expression "iVar3 = (*(code *)PTR_strcmp_00436644)(pcVar5,PTR_s__0043226c + 0x7420)" identifier = (call_expression "(*(code *)PTR_strcmp_00436644)(pcVar5,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 "(pcVar5,PTR_s__0043226c + 0x7420)" ( identifier , (binary_expression "PTR_s__0043226c + 0x7420" identifier + number_literal) )))) , (binary_expression "iVar3 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n                    /* try { // try from 003220c4 to 003220e3 has its CatchHandler @ 00322100 */\n    locale::facet::_S_destroy_c_locale((__locale_struct **)(this + 8));\n    locale::facet::_S_create_c_locale((__locale_struct **)(this + 8),pcVar5,(__locale_struct *)0x0);\n    return;\n  }" { comment (labeled_statement "locale::facet::_S_destroy_c_locale((__locale_struct **)(this + 8));" statement_identifier : (ERROR ":" :) (labeled_statement "facet::_S_destroy_c_locale((__locale_struct **)(this + 8));" statement_identifier : (ERROR ":" :) (expression_statement "_S_destroy_c_locale((__locale_struct **)(this + 8));" (call_expression "_S_destroy_c_locale((__locale_struct **)(this + 8))" identifier (argument_list "((__locale_struct **)(this + 8))" ( (cast_expression "(__locale_struct **)(this + 8)" ( (type_descriptor "__locale_struct **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) ))) ))) ;))) (labeled_statement "locale::facet::_S_create_c_locale((__locale_struct **)(this + 8),pcVar5,(__locale_struct *)0x0);" statement_identifier : (ERROR ":" :) (labeled_statement "facet::_S_create_c_locale((__locale_struct **)(this + 8),pcVar5,(__locale_struct *)0x0);" statement_identifier : (ERROR ":" :) (expression_statement "_S_create_c_locale((__locale_struct **)(this + 8),pcVar5,(__locale_struct *)0x0);" (call_expression "_S_create_c_locale((__locale_struct **)(this + 8),pcVar5,(__locale_struct *)0x0)" identifier (argument_list "((__locale_struct **)(this + 8),pcVar5,(__locale_struct *)0x0)" ( (cast_expression "(__locale_struct **)(this + 8)" ( (type_descriptor "__locale_struct **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) ))) , identifier , (cast_expression "(__locale_struct *)0x0" ( (type_descriptor "__locale_struct *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ))) ;))) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00322008(undefined4 *param_1,undefined4 *param_2,int param_3)\n\n{\n  undefined *puVar1;\n  undefined4 uVar2;\n  int iVar3;\n  undefined *puVar4;\n  char *pcVar5;\n  \n  puVar1 = PTR__S_get_c_locale_00432354;\n  puVar4 = PTR_vtable_00432280 + 8;\n  pcVar5 = (char *)*param_2;\n  param_1[1] = (uint)(param_3 != 0);\n                    \n  *param_1 = puVar4;\n  uVar2 = (*(code *)puVar1)();\n  param_1[2] = uVar2;\n  puVar1 = PTR_strcmp_00436644;\n  puVar4 = PTR_DAT_0043226c + -0x7a6c;\n  *param_1 = PTR_vtable_00433abc + 8;\n  iVar3 = (*(code *)puVar1)(pcVar5,puVar4);\n  if ((iVar3 != 0) &&\n     (iVar3 = (*(code *)PTR_strcmp_00436644)(pcVar5,PTR_DAT_0043226c + 0x7420), iVar3 != 0)) {\n                    \n    std::locale::facet::_S_destroy_c_locale((__locale_struct **)(param_1 + 2));\n    std::locale::facet::_S_create_c_locale\n              ((__locale_struct **)(param_1 + 2),pcVar5,(__locale_struct *)0x0);\n    return;\n  }\n  return;\n}\n\n" (function_definition "void FUN_00322008(undefined4 *param_1,undefined4 *param_2,int param_3)\n\n{\n  undefined *puVar1;\n  undefined4 uVar2;\n  int iVar3;\n  undefined *puVar4;\n  char *pcVar5;\n  \n  puVar1 = PTR__S_get_c_locale_00432354;\n  puVar4 = PTR_vtable_00432280 + 8;\n  pcVar5 = (char *)*param_2;\n  param_1[1] = (uint)(param_3 != 0);\n                    \n  *param_1 = puVar4;\n  uVar2 = (*(code *)puVar1)();\n  param_1[2] = uVar2;\n  puVar1 = PTR_strcmp_00436644;\n  puVar4 = PTR_DAT_0043226c + -0x7a6c;\n  *param_1 = PTR_vtable_00433abc + 8;\n  iVar3 = (*(code *)puVar1)(pcVar5,puVar4);\n  if ((iVar3 != 0) &&\n     (iVar3 = (*(code *)PTR_strcmp_00436644)(pcVar5,PTR_DAT_0043226c + 0x7420), iVar3 != 0)) {\n                    \n    std::locale::facet::_S_destroy_c_locale((__locale_struct **)(param_1 + 2));\n    std::locale::facet::_S_create_c_locale\n              ((__locale_struct **)(param_1 + 2),pcVar5,(__locale_struct *)0x0);\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00322008(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  undefined4 uVar2;\n  int iVar3;\n  undefined *puVar4;\n  char *pcVar5;\n  \n  puVar1 = PTR__S_get_c_locale_00432354;\n  puVar4 = PTR_vtable_00432280 + 8;\n  pcVar5 = (char *)*param_2;\n  param_1[1] = (uint)(param_3 != 0);\n                    \n  *param_1 = puVar4;\n  uVar2 = (*(code *)puVar1)();\n  param_1[2] = uVar2;\n  puVar1 = PTR_strcmp_00436644;\n  puVar4 = PTR_DAT_0043226c + -0x7a6c;\n  *param_1 = PTR_vtable_00433abc + 8;\n  iVar3 = (*(code *)puVar1)(pcVar5,puVar4);\n  if ((iVar3 != 0) &&\n     (iVar3 = (*(code *)PTR_strcmp_00436644)(pcVar5,PTR_DAT_0043226c + 0x7420), iVar3 != 0)) {\n                    \n    std::locale::facet::_S_destroy_c_locale((__locale_struct **)(param_1 + 2));\n    std::locale::facet::_S_create_c_locale\n              ((__locale_struct **)(param_1 + 2),pcVar5,(__locale_struct *)0x0);\n    return;\n  }\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "char *pcVar5;" primitive_type (pointer_declarator "*pcVar5" * identifier) ;) (expression_statement "puVar1 = PTR__S_get_c_locale_00432354;" (assignment_expression "puVar1 = PTR__S_get_c_locale_00432354" identifier = identifier) ;) (expression_statement "puVar4 = PTR_vtable_00432280 + 8;" (assignment_expression "puVar4 = PTR_vtable_00432280 + 8" identifier = (binary_expression "PTR_vtable_00432280 + 8" identifier + number_literal)) ;) (expression_statement "pcVar5 = (char *)*param_2;" (assignment_expression "pcVar5 = (char *)*param_2" identifier = (cast_expression "(char *)*param_2" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (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 "*param_1 = puVar4;" (assignment_expression "*param_1 = puVar4" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "uVar2 = (*(code *)puVar1)();" (assignment_expression "uVar2 = (*(code *)puVar1)()" identifier = (call_expression "(*(code *)puVar1)()" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "param_1[2] = uVar2;" (assignment_expression "param_1[2] = uVar2" (subscript_expression "param_1[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar1 = PTR_strcmp_00436644;" (assignment_expression "puVar1 = PTR_strcmp_00436644" identifier = identifier) ;) (expression_statement "puVar4 = PTR_DAT_0043226c + -0x7a6c;" (assignment_expression "puVar4 = PTR_DAT_0043226c + -0x7a6c" identifier = (binary_expression "PTR_DAT_0043226c + -0x7a6c" identifier + number_literal)) ;) (expression_statement "*param_1 = PTR_vtable_00433abc + 8;" (assignment_expression "*param_1 = PTR_vtable_00433abc + 8" (pointer_expression "*param_1" * identifier) = (binary_expression "PTR_vtable_00433abc + 8" identifier + number_literal)) ;) (expression_statement "iVar3 = (*(code *)puVar1)(pcVar5,puVar4);" (assignment_expression "iVar3 = (*(code *)puVar1)(pcVar5,puVar4)" identifier = (call_expression "(*(code *)puVar1)(pcVar5,puVar4)" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar5,puVar4)" ( identifier , identifier )))) ;) (if_statement "if ((iVar3 != 0) &&\n     (iVar3 = (*(code *)PTR_strcmp_00436644)(pcVar5,PTR_DAT_0043226c + 0x7420), iVar3 != 0)) {\n                    \n    std::locale::facet::_S_destroy_c_locale((__locale_struct **)(param_1 + 2));\n    std::locale::facet::_S_create_c_locale\n              ((__locale_struct **)(param_1 + 2),pcVar5,(__locale_struct *)0x0);\n    return;\n  }" if (parenthesized_expression "((iVar3 != 0) &&\n     (iVar3 = (*(code *)PTR_strcmp_00436644)(pcVar5,PTR_DAT_0043226c + 0x7420), iVar3 != 0))" ( (binary_expression "(iVar3 != 0) &&\n     (iVar3 = (*(code *)PTR_strcmp_00436644)(pcVar5,PTR_DAT_0043226c + 0x7420), iVar3 != 0)" (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) && (parenthesized_expression "(iVar3 = (*(code *)PTR_strcmp_00436644)(pcVar5,PTR_DAT_0043226c + 0x7420), iVar3 != 0)" ( (comma_expression "iVar3 = (*(code *)PTR_strcmp_00436644)(pcVar5,PTR_DAT_0043226c + 0x7420), iVar3 != 0" (assignment_expression "iVar3 = (*(code *)PTR_strcmp_00436644)(pcVar5,PTR_DAT_0043226c + 0x7420)" identifier = (call_expression "(*(code *)PTR_strcmp_00436644)(pcVar5,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 "(pcVar5,PTR_DAT_0043226c + 0x7420)" ( identifier , (binary_expression "PTR_DAT_0043226c + 0x7420" identifier + number_literal) )))) , (binary_expression "iVar3 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n                    \n    std::locale::facet::_S_destroy_c_locale((__locale_struct **)(param_1 + 2));\n    std::locale::facet::_S_create_c_locale\n              ((__locale_struct **)(param_1 + 2),pcVar5,(__locale_struct *)0x0);\n    return;\n  }" { (labeled_statement "std::locale::facet::_S_destroy_c_locale((__locale_struct **)(param_1 + 2));" statement_identifier : (ERROR ":" :) (labeled_statement "locale::facet::_S_destroy_c_locale((__locale_struct **)(param_1 + 2));" statement_identifier : (ERROR ":" :) (labeled_statement "facet::_S_destroy_c_locale((__locale_struct **)(param_1 + 2));" statement_identifier : (ERROR ":" :) (expression_statement "_S_destroy_c_locale((__locale_struct **)(param_1 + 2));" (call_expression "_S_destroy_c_locale((__locale_struct **)(param_1 + 2))" identifier (argument_list "((__locale_struct **)(param_1 + 2))" ( (cast_expression "(__locale_struct **)(param_1 + 2)" ( (type_descriptor "__locale_struct **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 2)" ( (binary_expression "param_1 + 2" identifier + number_literal) ))) ))) ;)))) (labeled_statement "std::locale::facet::_S_create_c_locale\n              ((__locale_struct **)(param_1 + 2),pcVar5,(__locale_struct *)0x0);" statement_identifier : (ERROR ":" :) (labeled_statement "locale::facet::_S_create_c_locale\n              ((__locale_struct **)(param_1 + 2),pcVar5,(__locale_struct *)0x0);" statement_identifier : (ERROR ":" :) (labeled_statement "facet::_S_create_c_locale\n              ((__locale_struct **)(param_1 + 2),pcVar5,(__locale_struct *)0x0);" statement_identifier : (ERROR ":" :) (expression_statement "_S_create_c_locale\n              ((__locale_struct **)(param_1 + 2),pcVar5,(__locale_struct *)0x0);" (call_expression "_S_create_c_locale\n              ((__locale_struct **)(param_1 + 2),pcVar5,(__locale_struct *)0x0)" identifier (argument_list "((__locale_struct **)(param_1 + 2),pcVar5,(__locale_struct *)0x0)" ( (cast_expression "(__locale_struct **)(param_1 + 2)" ( (type_descriptor "__locale_struct **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 2)" ( (binary_expression "param_1 + 2" identifier + number_literal) ))) , identifier , (cast_expression "(__locale_struct *)0x0" ( (type_descriptor "__locale_struct *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ))) ;)))) (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 IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (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 (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (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 (parenthesized_expression ( (binary_expression IDENT != LIT) )) && (parenthesized_expression ( (comma_expression (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) )))) , (binary_expression IDENT != LIT)) ))) )) (compound_statement { (labeled_statement statement_identifier : (ERROR :) (labeled_statement statement_identifier : (ERROR :) (labeled_statement statement_identifier : (ERROR :) (expression_statement (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))) ))) ;)))) (labeled_statement statement_identifier : (ERROR :) (labeled_statement statement_identifier : (ERROR :) (labeled_statement statement_identifier : (ERROR :) (expression_statement (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))) , IDENT , (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT) ))) ;)))) (return_statement return ;) })) (return_statement return ;) })))
(function_definition "void FUN_00322008(undefined4 *param_1,undefined4 *param_2,int param_3)\n\n{\n  undefined *puVar1;\n  undefined4 uVar2;\n  int iVar3;\n  undefined *puVar4;\n  char *pcVar5;\n  \n  puVar1 = PTR__S_get_c_locale_00432354;\n  puVar4 = PTR_vtable_00432280 + 8;\n  pcVar5 = (char *)*param_2;\n  param_1[1] = (uint)(param_3 != 0);\n                    \n  *param_1 = puVar4;\n  uVar2 = (*(code *)puVar1)();\n  param_1[2] = uVar2;\n  puVar1 = PTR_strcmp_00436644;\n  puVar4 = PTR_DAT_0043226c + -0x7a6c;\n  *param_1 = PTR_vtable_00433abc + 8;\n  iVar3 = (*(code *)puVar1)(pcVar5,puVar4);\n  if ((iVar3 != 0) &&\n     (iVar3 = (*(code *)PTR_strcmp_00436644)(pcVar5,PTR_DAT_0043226c + 0x7420), iVar3 != 0)) {\n                    \n    std::locale::facet::_S_destroy_c_locale((__locale_struct **)(param_1 + 2));\n    std::locale::facet::_S_create_c_locale\n              ((__locale_struct **)(param_1 + 2),pcVar5,(__locale_struct *)0x0);\n    return;\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00322008(undefined4 *param_1,undefined4 *param_2,int param_3)" (identifier "FUN_00322008") (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  undefined4 uVar2;\n  int iVar3;\n  undefined *puVar4;\n  char *pcVar5;\n  \n  puVar1 = PTR__S_get_c_locale_00432354;\n  puVar4 = PTR_vtable_00432280 + 8;\n  pcVar5 = (char *)*param_2;\n  param_1[1] = (uint)(param_3 != 0);\n                    \n  *param_1 = puVar4;\n  uVar2 = (*(code *)puVar1)();\n  param_1[2] = uVar2;\n  puVar1 = PTR_strcmp_00436644;\n  puVar4 = PTR_DAT_0043226c + -0x7a6c;\n  *param_1 = PTR_vtable_00433abc + 8;\n  iVar3 = (*(code *)puVar1)(pcVar5,puVar4);\n  if ((iVar3 != 0) &&\n     (iVar3 = (*(code *)PTR_strcmp_00436644)(pcVar5,PTR_DAT_0043226c + 0x7420), iVar3 != 0)) {\n                    \n    std::locale::facet::_S_destroy_c_locale((__locale_struct **)(param_1 + 2));\n    std::locale::facet::_S_create_c_locale\n              ((__locale_struct **)(param_1 + 2),pcVar5,(__locale_struct *)0x0);\n    return;\n  }\n  return;\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "undefined *puVar4;" (type_identifier "undefined") (pointer_declarator "*puVar4" (* "*") (identifier "puVar4")) (; ";")) (declaration "char *pcVar5;" (primitive_type "char") (pointer_declarator "*pcVar5" (* "*") (identifier "pcVar5")) (; ";")) (expression_statement "puVar1 = PTR__S_get_c_locale_00432354;" (assignment_expression "puVar1 = PTR__S_get_c_locale_00432354" (identifier "puVar1") (= "=") (identifier "PTR__S_get_c_locale_00432354")) (; ";")) (expression_statement "puVar4 = PTR_vtable_00432280 + 8;" (assignment_expression "puVar4 = PTR_vtable_00432280 + 8" (identifier "puVar4") (= "=") (binary_expression "PTR_vtable_00432280 + 8" (identifier "PTR_vtable_00432280") (+ "+") (number_literal "8"))) (; ";")) (expression_statement "pcVar5 = (char *)*param_2;" (assignment_expression "pcVar5 = (char *)*param_2" (identifier "pcVar5") (= "=") (cast_expression "(char *)*param_2" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (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 "*param_1 = puVar4;" (assignment_expression "*param_1 = puVar4" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (identifier "puVar4")) (; ";")) (expression_statement "uVar2 = (*(code *)puVar1)();" (assignment_expression "uVar2 = (*(code *)puVar1)()" (identifier "uVar2") (= "=") (call_expression "(*(code *)puVar1)()" (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 "()" (( "(") () ")")))) (; ";")) (expression_statement "param_1[2] = uVar2;" (assignment_expression "param_1[2] = uVar2" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "uVar2")) (; ";")) (expression_statement "puVar1 = PTR_strcmp_00436644;" (assignment_expression "puVar1 = PTR_strcmp_00436644" (identifier "puVar1") (= "=") (identifier "PTR_strcmp_00436644")) (; ";")) (expression_statement "puVar4 = PTR_DAT_0043226c + -0x7a6c;" (assignment_expression "puVar4 = PTR_DAT_0043226c + -0x7a6c" (identifier "puVar4") (= "=") (binary_expression "PTR_DAT_0043226c + -0x7a6c" (identifier "PTR_DAT_0043226c") (+ "+") (number_literal "-0x7a6c"))) (; ";")) (expression_statement "*param_1 = PTR_vtable_00433abc + 8;" (assignment_expression "*param_1 = PTR_vtable_00433abc + 8" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (binary_expression "PTR_vtable_00433abc + 8" (identifier "PTR_vtable_00433abc") (+ "+") (number_literal "8"))) (; ";")) (expression_statement "iVar3 = (*(code *)puVar1)(pcVar5,puVar4);" (assignment_expression "iVar3 = (*(code *)puVar1)(pcVar5,puVar4)" (identifier "iVar3") (= "=") (call_expression "(*(code *)puVar1)(pcVar5,puVar4)" (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 "(pcVar5,puVar4)" (( "(") (identifier "pcVar5") (, ",") (identifier "puVar4") () ")")))) (; ";")) (if_statement "if ((iVar3 != 0) &&\n     (iVar3 = (*(code *)PTR_strcmp_00436644)(pcVar5,PTR_DAT_0043226c + 0x7420), iVar3 != 0)) {\n                    \n    std::locale::facet::_S_destroy_c_locale((__locale_struct **)(param_1 + 2));\n    std::locale::facet::_S_create_c_locale\n              ((__locale_struct **)(param_1 + 2),pcVar5,(__locale_struct *)0x0);\n    return;\n  }" (if "if") (parenthesized_expression "((iVar3 != 0) &&\n     (iVar3 = (*(code *)PTR_strcmp_00436644)(pcVar5,PTR_DAT_0043226c + 0x7420), iVar3 != 0))" (( "(") (binary_expression "(iVar3 != 0) &&\n     (iVar3 = (*(code *)PTR_strcmp_00436644)(pcVar5,PTR_DAT_0043226c + 0x7420), iVar3 != 0)" (parenthesized_expression "(iVar3 != 0)" (( "(") (binary_expression "iVar3 != 0" (identifier "iVar3") (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(iVar3 = (*(code *)PTR_strcmp_00436644)(pcVar5,PTR_DAT_0043226c + 0x7420), iVar3 != 0)" (( "(") (comma_expression "iVar3 = (*(code *)PTR_strcmp_00436644)(pcVar5,PTR_DAT_0043226c + 0x7420), iVar3 != 0" (assignment_expression "iVar3 = (*(code *)PTR_strcmp_00436644)(pcVar5,PTR_DAT_0043226c + 0x7420)" (identifier "iVar3") (= "=") (call_expression "(*(code *)PTR_strcmp_00436644)(pcVar5,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 "(pcVar5,PTR_DAT_0043226c + 0x7420)" (( "(") (identifier "pcVar5") (, ",") (binary_expression "PTR_DAT_0043226c + 0x7420" (identifier "PTR_DAT_0043226c") (+ "+") (number_literal "0x7420")) () ")")))) (, ",") (binary_expression "iVar3 != 0" (identifier "iVar3") (!= "!=") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n                    \n    std::locale::facet::_S_destroy_c_locale((__locale_struct **)(param_1 + 2));\n    std::locale::facet::_S_create_c_locale\n              ((__locale_struct **)(param_1 + 2),pcVar5,(__locale_struct *)0x0);\n    return;\n  }" ({ "{") (labeled_statement "std::locale::facet::_S_destroy_c_locale((__locale_struct **)(param_1 + 2));" (statement_identifier "std") (: ":") (ERROR ":" (: ":")) (labeled_statement "locale::facet::_S_destroy_c_locale((__locale_struct **)(param_1 + 2));" (statement_identifier "locale") (: ":") (ERROR ":" (: ":")) (labeled_statement "facet::_S_destroy_c_locale((__locale_struct **)(param_1 + 2));" (statement_identifier "facet") (: ":") (ERROR ":" (: ":")) (expression_statement "_S_destroy_c_locale((__locale_struct **)(param_1 + 2));" (call_expression "_S_destroy_c_locale((__locale_struct **)(param_1 + 2))" (identifier "_S_destroy_c_locale") (argument_list "((__locale_struct **)(param_1 + 2))" (( "(") (cast_expression "(__locale_struct **)(param_1 + 2)" (( "(") (type_descriptor "__locale_struct **" (type_identifier "__locale_struct") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 2)" (( "(") (binary_expression "param_1 + 2" (identifier "param_1") (+ "+") (number_literal "2")) () ")"))) () ")"))) (; ";"))))) (labeled_statement "std::locale::facet::_S_create_c_locale\n              ((__locale_struct **)(param_1 + 2),pcVar5,(__locale_struct *)0x0);" (statement_identifier "std") (: ":") (ERROR ":" (: ":")) (labeled_statement "locale::facet::_S_create_c_locale\n              ((__locale_struct **)(param_1 + 2),pcVar5,(__locale_struct *)0x0);" (statement_identifier "locale") (: ":") (ERROR ":" (: ":")) (labeled_statement "facet::_S_create_c_locale\n              ((__locale_struct **)(param_1 + 2),pcVar5,(__locale_struct *)0x0);" (statement_identifier "facet") (: ":") (ERROR ":" (: ":")) (expression_statement "_S_create_c_locale\n              ((__locale_struct **)(param_1 + 2),pcVar5,(__locale_struct *)0x0);" (call_expression "_S_create_c_locale\n              ((__locale_struct **)(param_1 + 2),pcVar5,(__locale_struct *)0x0)" (identifier "_S_create_c_locale") (argument_list "((__locale_struct **)(param_1 + 2),pcVar5,(__locale_struct *)0x0)" (( "(") (cast_expression "(__locale_struct **)(param_1 + 2)" (( "(") (type_descriptor "__locale_struct **" (type_identifier "__locale_struct") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 2)" (( "(") (binary_expression "param_1 + 2" (identifier "param_1") (+ "+") (number_literal "2")) () ")"))) (, ",") (identifier "pcVar5") (, ",") (cast_expression "(__locale_struct *)0x0" (( "(") (type_descriptor "__locale_struct *" (type_identifier "__locale_struct") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")) () ")"))) (; ";"))))) (return_statement "return;" (return "return") (; ";")) (} "}"))) (return_statement "return;" (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: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (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: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (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: (pointer_expression argument: (identifier)) right: (identifier))) (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)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (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: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (comma_expression left: (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))))) right: (binary_expression left: (identifier) right: (number_literal)))))) consequence: (compound_statement (labeled_statement label: (statement_identifier) (ERROR) (labeled_statement label: (statement_identifier) (ERROR) (labeled_statement label: (statement_identifier) (ERROR) (expression_statement (call_expression function: (identifier) arguments: (argument_list (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))))) (labeled_statement label: (statement_identifier) (ERROR) (labeled_statement label: (statement_identifier) (ERROR) (labeled_statement label: (statement_identifier) (ERROR) (expression_statement (call_expression function: (identifier) arguments: (argument_list (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))) (identifier) (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))))))) (return_statement))) (return_statement))))

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

{
  undefined *puVar1;
  undefined4 uVar2;
  int iVar3;
  undefined *puVar4;
  char *pcVar5;
  
  puVar1 = PTR__S_get_c_locale_00432354;
  puVar4 = PTR_vtable_00432280 + 8;
  pcVar5 = (char *)*param_2;
  param_1[1] = (uint)(param_3 != 0);
                    /* try { // try from 0032204c to 00322053 has its CatchHandler @ 00322138 */
  *param_1 = puVar4;
  uVar2 = (*(code *)puVar1)();
  param_1[2] = uVar2;
  puVar1 = PTR_strcmp_00436644;
  puVar4 = PTR_DAT_0043226c + -0x7a6c;
  *param_1 = PTR_vtable_00433abc + 8;
  iVar3 = (*(code *)puVar1)(pcVar5,puVar4);
  if ((iVar3 != 0) &&
     (iVar3 = (*(code *)PTR_strcmp_00436644)(pcVar5,PTR_DAT_0043226c + 0x7420), iVar3 != 0)) {
                    /* try { // try from 003220c4 to 003220e3 has its CatchHandler @ 00322100 */
    std::locale::facet::_S_destroy_c_locale((__locale_struct **)(param_1 + 2));
    std::locale::facet::_S_create_c_locale
              ((__locale_struct **)(param_1 + 2),pcVar5,(__locale_struct *)0x0);
    return;
  }
  return;
}

