
/* std::ctype_byname<char>::ctype_byname(char const*, unsigned int) */

void __thiscall
std::ctype_byname<char>::ctype_byname(ctype_byname<char> *this,char *param_1,uint param_2)

{
  undefined *puVar1;
  int iVar2;
  undefined *puVar3;
  
  ctype<char>::ctype((ctype<char> *)this,(ushort *)0x0,false,param_2);
  puVar1 = PTR_strcmp_00436644;
  puVar3 = PTR_s__0043226c + -0x7a6c;
  *(undefined **)this = PTR_vtable_00436184 + 8;
  iVar2 = (*(code *)puVar1)(param_1,puVar3);
  if ((iVar2 != 0) &&
     (iVar2 = (*(code *)PTR_strcmp_00436644)(param_1,PTR_s__0043226c + 0x7420), iVar2 != 0)) {
                    /* try { // try from 002fedb4 to 002fedd3 has its CatchHandler @ 002fee08 */
    locale::facet::_S_destroy_c_locale((__locale_struct **)(this + 8));
    locale::facet::_S_create_c_locale((__locale_struct **)(this + 8),param_1,(__locale_struct *)0x0)
    ;
    iVar2 = *(int *)(this + 8);
    *(undefined4 *)(this + 0x10) = *(undefined4 *)(iVar2 + 0x3c);
    *(undefined4 *)(this + 0x14) = *(undefined4 *)(iVar2 + 0x38);
    *(undefined4 *)(this + 0x18) = *(undefined4 *)(iVar2 + 0x34);
    return;
  }
  return;
}



/* std::ctype_byname<char>::ctype_byname(char const*, unsigned int) */

void __thiscall
std::ctype_byname<char>::ctype_byname(ctype_byname<char> *this,char *param_1,uint param_2)

{
  undefined *puVar1;
  int iVar2;
  undefined *puVar3;
  
  ctype<char>::ctype((ctype<char> *)this,(ushort *)0x0,false,param_2);
  puVar1 = PTR_strcmp_00436644;
  puVar3 = PTR_DAT_0043226c + -0x7a6c;
  *(undefined **)this = PTR_vtable_00436184 + 8;
  iVar2 = (*(code *)puVar1)(param_1,puVar3);
  if ((iVar2 != 0) &&
     (iVar2 = (*(code *)PTR_strcmp_00436644)(param_1,PTR_DAT_0043226c + 0x7420), iVar2 != 0)) {
                    /* try { // try from 002fedb4 to 002fedd3 has its CatchHandler @ 002fee08 */
    locale::facet::_S_destroy_c_locale((__locale_struct **)(this + 8));
    locale::facet::_S_create_c_locale((__locale_struct **)(this + 8),param_1,(__locale_struct *)0x0)
    ;
    iVar2 = *(int *)(this + 8);
    *(undefined4 *)(this + 0x10) = *(undefined4 *)(iVar2 + 0x3c);
    *(undefined4 *)(this + 0x14) = *(undefined4 *)(iVar2 + 0x38);
    *(undefined4 *)(this + 0x18) = *(undefined4 *)(iVar2 + 0x34);
    return;
  }
  return;
}


lui gp,0x14
addiu gp,gp,-0x4b3c
addu gp,gp,t9
addiu sp,sp,-0x28
lw t9,-0x4040(gp)
or a3,a2,zero
or a2,zero,zero
sw s1,0x1c(sp)
or s1,a1,zero
or a1,zero,zero
sw gp,0x10(sp)
sw ra,0x24(sp)
sw s0,0x18(sp)
or s0,a0,zero
bal 0x002ff99c
_sw s2,0x20(sp)
or a0,s1,zero
lw gp,0x10(sp)
lw v0,-0x404c(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,0x002fed94
_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,0x002fedac
_lw gp,0x10(sp)
lw ra,0x24(sp)
lw s2,0x20(sp)
lw s1,0x1c(sp)
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x28
addiu s2,s0,0x8
lw t9,-0x7f4c(gp)
bal 0x0031237c
_or a0,s2,zero
lw gp,0x10(sp)
or a2,zero,zero
or a1,s1,zero
lw t9,-0x6a08(gp)
bal 0x00312324
_or a0,s2,zero
lw v0,0x8(s0)
lw v1,0x3c(v0)
sw v1,0x10(s0)
lw v1,0x38(v0)
sw v1,0x14(s0)
lw v0,0x34(v0)
sw v0,0x18(s0)
lw ra,0x24(sp)
lw s2,0x20(sp)
lw s1,0x1c(sp)
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x28
(translation_unit "/* std::ctype_byname<char>::ctype_byname(char const*, unsigned int) */\n\nvoid __thiscall\nstd::ctype_byname<char>::ctype_byname(ctype_byname<char> *this,char *param_1,uint param_2)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  undefined *puVar3;\n  \n  ctype<char>::ctype((ctype<char> *)this,(ushort *)0x0,false,param_2);\n  puVar1 = PTR_strcmp_00436644;\n  puVar3 = PTR_DAT_0043226c + -0x7a6c;\n  *(undefined **)this = PTR_vtable_00436184 + 8;\n  iVar2 = (*(code *)puVar1)(param_1,puVar3);\n  if ((iVar2 != 0) &&\n     (iVar2 = (*(code *)PTR_strcmp_00436644)(param_1,PTR_DAT_0043226c + 0x7420), iVar2 != 0)) {\n                    /* try { // try from 002fedb4 to 002fedd3 has its CatchHandler @ 002fee08 */\n    locale::facet::_S_destroy_c_locale((__locale_struct **)(this + 8));\n    locale::facet::_S_create_c_locale((__locale_struct **)(this + 8),param_1,(__locale_struct *)0x0)\n    ;\n    iVar2 = *(int *)(this + 8);\n    *(undefined4 *)(this + 0x10) = *(undefined4 *)(iVar2 + 0x3c);\n    *(undefined4 *)(this + 0x14) = *(undefined4 *)(iVar2 + 0x38);\n    *(undefined4 *)(this + 0x18) = *(undefined4 *)(iVar2 + 0x34);\n    return;\n  }\n  return;\n}\n\n" comment (function_definition "void __thiscall\nstd::ctype_byname<char>::ctype_byname(ctype_byname<char> *this,char *param_1,uint param_2)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  undefined *puVar3;\n  \n  ctype<char>::ctype((ctype<char> *)this,(ushort *)0x0,false,param_2);\n  puVar1 = PTR_strcmp_00436644;\n  puVar3 = PTR_DAT_0043226c + -0x7a6c;\n  *(undefined **)this = PTR_vtable_00436184 + 8;\n  iVar2 = (*(code *)puVar1)(param_1,puVar3);\n  if ((iVar2 != 0) &&\n     (iVar2 = (*(code *)PTR_strcmp_00436644)(param_1,PTR_DAT_0043226c + 0x7420), iVar2 != 0)) {\n                    /* try { // try from 002fedb4 to 002fedd3 has its CatchHandler @ 002fee08 */\n    locale::facet::_S_destroy_c_locale((__locale_struct **)(this + 8));\n    locale::facet::_S_create_c_locale((__locale_struct **)(this + 8),param_1,(__locale_struct *)0x0)\n    ;\n    iVar2 = *(int *)(this + 8);\n    *(undefined4 *)(this + 0x10) = *(undefined4 *)(iVar2 + 0x3c);\n    *(undefined4 *)(this + 0x14) = *(undefined4 *)(iVar2 + 0x38);\n    *(undefined4 *)(this + 0x18) = *(undefined4 *)(iVar2 + 0x34);\n    return;\n  }\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::ctype_byname<char>::" identifier : : identifier < primitive_type > : :) (function_declarator "ctype_byname(ctype_byname<char> *this,char *param_1,uint param_2)" identifier (parameter_list "(ctype_byname<char> *this,char *param_1,uint param_2)" ( (parameter_declaration "ctype_byname<char> *this" type_identifier (ERROR "<char>" < primitive_type >) (pointer_declarator "*this" * identifier)) , (parameter_declaration "char *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "uint param_2" type_identifier identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  undefined *puVar3;\n  \n  ctype<char>::ctype((ctype<char> *)this,(ushort *)0x0,false,param_2);\n  puVar1 = PTR_strcmp_00436644;\n  puVar3 = PTR_DAT_0043226c + -0x7a6c;\n  *(undefined **)this = PTR_vtable_00436184 + 8;\n  iVar2 = (*(code *)puVar1)(param_1,puVar3);\n  if ((iVar2 != 0) &&\n     (iVar2 = (*(code *)PTR_strcmp_00436644)(param_1,PTR_DAT_0043226c + 0x7420), iVar2 != 0)) {\n                    /* try { // try from 002fedb4 to 002fedd3 has its CatchHandler @ 002fee08 */\n    locale::facet::_S_destroy_c_locale((__locale_struct **)(this + 8));\n    locale::facet::_S_create_c_locale((__locale_struct **)(this + 8),param_1,(__locale_struct *)0x0)\n    ;\n    iVar2 = *(int *)(this + 8);\n    *(undefined4 *)(this + 0x10) = *(undefined4 *)(iVar2 + 0x3c);\n    *(undefined4 *)(this + 0x14) = *(undefined4 *)(iVar2 + 0x38);\n    *(undefined4 *)(this + 0x18) = *(undefined4 *)(iVar2 + 0x34);\n    return;\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) ;) (expression_statement "ctype<char>::ctype((ctype<char> *)this,(ushort *)0x0,false,param_2);" (binary_expression "ctype<char>::ctype((ctype<char> *)this,(ushort *)0x0,false,param_2)" (binary_expression "ctype<char" identifier < identifier) > (ERROR "::" : :) (call_expression "ctype((ctype<char> *)this,(ushort *)0x0,false,param_2)" identifier (argument_list "((ctype<char> *)this,(ushort *)0x0,false,param_2)" ( (parenthesized_expression "(ctype<char> *)this,(ushort *)0x0,false,param_2)" ( (comma_expression "ctype<char> *)this,(ushort *)0x0,false,param_2" (binary_expression "ctype<char> *)this" (binary_expression "ctype<char" identifier < identifier) > (pointer_expression "*)this" * (ERROR ")" )) identifier)) , (comma_expression "(ushort *)0x0,false,param_2" (cast_expression "(ushort *)0x0" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) , (comma_expression "false,param_2" false , identifier))) )) )))) ;) (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 "*(undefined **)this = PTR_vtable_00436184 + 8;" (assignment_expression "*(undefined **)this = PTR_vtable_00436184 + 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_00436184 + 8" identifier + number_literal)) ;) (expression_statement "iVar2 = (*(code *)puVar1)(param_1,puVar3);" (assignment_expression "iVar2 = (*(code *)puVar1)(param_1,puVar3)" identifier = (call_expression "(*(code *)puVar1)(param_1,puVar3)" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,puVar3)" ( identifier , identifier )))) ;) (if_statement "if ((iVar2 != 0) &&\n     (iVar2 = (*(code *)PTR_strcmp_00436644)(param_1,PTR_DAT_0043226c + 0x7420), iVar2 != 0)) {\n                    /* try { // try from 002fedb4 to 002fedd3 has its CatchHandler @ 002fee08 */\n    locale::facet::_S_destroy_c_locale((__locale_struct **)(this + 8));\n    locale::facet::_S_create_c_locale((__locale_struct **)(this + 8),param_1,(__locale_struct *)0x0)\n    ;\n    iVar2 = *(int *)(this + 8);\n    *(undefined4 *)(this + 0x10) = *(undefined4 *)(iVar2 + 0x3c);\n    *(undefined4 *)(this + 0x14) = *(undefined4 *)(iVar2 + 0x38);\n    *(undefined4 *)(this + 0x18) = *(undefined4 *)(iVar2 + 0x34);\n    return;\n  }" if (parenthesized_expression "((iVar2 != 0) &&\n     (iVar2 = (*(code *)PTR_strcmp_00436644)(param_1,PTR_DAT_0043226c + 0x7420), iVar2 != 0))" ( (binary_expression "(iVar2 != 0) &&\n     (iVar2 = (*(code *)PTR_strcmp_00436644)(param_1,PTR_DAT_0043226c + 0x7420), iVar2 != 0)" (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) && (parenthesized_expression "(iVar2 = (*(code *)PTR_strcmp_00436644)(param_1,PTR_DAT_0043226c + 0x7420), iVar2 != 0)" ( (comma_expression "iVar2 = (*(code *)PTR_strcmp_00436644)(param_1,PTR_DAT_0043226c + 0x7420), iVar2 != 0" (assignment_expression "iVar2 = (*(code *)PTR_strcmp_00436644)(param_1,PTR_DAT_0043226c + 0x7420)" identifier = (call_expression "(*(code *)PTR_strcmp_00436644)(param_1,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 "(param_1,PTR_DAT_0043226c + 0x7420)" ( identifier , (binary_expression "PTR_DAT_0043226c + 0x7420" identifier + number_literal) )))) , (binary_expression "iVar2 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n                    /* try { // try from 002fedb4 to 002fedd3 has its CatchHandler @ 002fee08 */\n    locale::facet::_S_destroy_c_locale((__locale_struct **)(this + 8));\n    locale::facet::_S_create_c_locale((__locale_struct **)(this + 8),param_1,(__locale_struct *)0x0)\n    ;\n    iVar2 = *(int *)(this + 8);\n    *(undefined4 *)(this + 0x10) = *(undefined4 *)(iVar2 + 0x3c);\n    *(undefined4 *)(this + 0x14) = *(undefined4 *)(iVar2 + 0x38);\n    *(undefined4 *)(this + 0x18) = *(undefined4 *)(iVar2 + 0x34);\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),param_1,(__locale_struct *)0x0)\n    ;" statement_identifier : (ERROR ":" :) (labeled_statement "facet::_S_create_c_locale((__locale_struct **)(this + 8),param_1,(__locale_struct *)0x0)\n    ;" statement_identifier : (ERROR ":" :) (expression_statement "_S_create_c_locale((__locale_struct **)(this + 8),param_1,(__locale_struct *)0x0)\n    ;" (call_expression "_S_create_c_locale((__locale_struct **)(this + 8),param_1,(__locale_struct *)0x0)" identifier (argument_list "((__locale_struct **)(this + 8),param_1,(__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) ))) ;))) (expression_statement "iVar2 = *(int *)(this + 8);" (assignment_expression "iVar2 = *(int *)(this + 8)" identifier = (pointer_expression "*(int *)(this + 8)" * (cast_expression "(int *)(this + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(this + 0x10) = *(undefined4 *)(iVar2 + 0x3c);" (assignment_expression "*(undefined4 *)(this + 0x10) = *(undefined4 *)(iVar2 + 0x3c)" (pointer_expression "*(undefined4 *)(this + 0x10)" * (cast_expression "(undefined4 *)(this + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x10)" ( (binary_expression "this + 0x10" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(iVar2 + 0x3c)" * (cast_expression "(undefined4 *)(iVar2 + 0x3c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x3c)" ( (binary_expression "iVar2 + 0x3c" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(this + 0x14) = *(undefined4 *)(iVar2 + 0x38);" (assignment_expression "*(undefined4 *)(this + 0x14) = *(undefined4 *)(iVar2 + 0x38)" (pointer_expression "*(undefined4 *)(this + 0x14)" * (cast_expression "(undefined4 *)(this + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x14)" ( (binary_expression "this + 0x14" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(iVar2 + 0x38)" * (cast_expression "(undefined4 *)(iVar2 + 0x38)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x38)" ( (binary_expression "iVar2 + 0x38" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(this + 0x18) = *(undefined4 *)(iVar2 + 0x34);" (assignment_expression "*(undefined4 *)(this + 0x18) = *(undefined4 *)(iVar2 + 0x34)" (pointer_expression "*(undefined4 *)(this + 0x18)" * (cast_expression "(undefined4 *)(this + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x18)" ( (binary_expression "this + 0x18" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(iVar2 + 0x34)" * (cast_expression "(undefined4 *)(iVar2 + 0x34)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x34)" ( (binary_expression "iVar2 + 0x34" identifier + number_literal) ))))) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit "/* std::ctype_byname<char>::ctype_byname(char const*, unsigned int) */\n\nvoid __thiscall\nstd::ctype_byname<char>::ctype_byname(ctype_byname<char> *this,char *param_1,uint param_2)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  undefined *puVar3;\n  \n  ctype<char>::ctype((ctype<char> *)this,(ushort *)0x0,false,param_2);\n  puVar1 = PTR_strcmp_00436644;\n  puVar3 = PTR_s__0043226c + -0x7a6c;\n  *(undefined **)this = PTR_vtable_00436184 + 8;\n  iVar2 = (*(code *)puVar1)(param_1,puVar3);\n  if ((iVar2 != 0) &&\n     (iVar2 = (*(code *)PTR_strcmp_00436644)(param_1,PTR_s__0043226c + 0x7420), iVar2 != 0)) {\n                    /* try { // try from 002fedb4 to 002fedd3 has its CatchHandler @ 002fee08 */\n    locale::facet::_S_destroy_c_locale((__locale_struct **)(this + 8));\n    locale::facet::_S_create_c_locale((__locale_struct **)(this + 8),param_1,(__locale_struct *)0x0)\n    ;\n    iVar2 = *(int *)(this + 8);\n    *(undefined4 *)(this + 0x10) = *(undefined4 *)(iVar2 + 0x3c);\n    *(undefined4 *)(this + 0x14) = *(undefined4 *)(iVar2 + 0x38);\n    *(undefined4 *)(this + 0x18) = *(undefined4 *)(iVar2 + 0x34);\n    return;\n  }\n  return;\n}\n\n" comment (function_definition "void __thiscall\nstd::ctype_byname<char>::ctype_byname(ctype_byname<char> *this,char *param_1,uint param_2)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  undefined *puVar3;\n  \n  ctype<char>::ctype((ctype<char> *)this,(ushort *)0x0,false,param_2);\n  puVar1 = PTR_strcmp_00436644;\n  puVar3 = PTR_s__0043226c + -0x7a6c;\n  *(undefined **)this = PTR_vtable_00436184 + 8;\n  iVar2 = (*(code *)puVar1)(param_1,puVar3);\n  if ((iVar2 != 0) &&\n     (iVar2 = (*(code *)PTR_strcmp_00436644)(param_1,PTR_s__0043226c + 0x7420), iVar2 != 0)) {\n                    /* try { // try from 002fedb4 to 002fedd3 has its CatchHandler @ 002fee08 */\n    locale::facet::_S_destroy_c_locale((__locale_struct **)(this + 8));\n    locale::facet::_S_create_c_locale((__locale_struct **)(this + 8),param_1,(__locale_struct *)0x0)\n    ;\n    iVar2 = *(int *)(this + 8);\n    *(undefined4 *)(this + 0x10) = *(undefined4 *)(iVar2 + 0x3c);\n    *(undefined4 *)(this + 0x14) = *(undefined4 *)(iVar2 + 0x38);\n    *(undefined4 *)(this + 0x18) = *(undefined4 *)(iVar2 + 0x34);\n    return;\n  }\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::ctype_byname<char>::" identifier : : identifier < primitive_type > : :) (function_declarator "ctype_byname(ctype_byname<char> *this,char *param_1,uint param_2)" identifier (parameter_list "(ctype_byname<char> *this,char *param_1,uint param_2)" ( (parameter_declaration "ctype_byname<char> *this" type_identifier (ERROR "<char>" < primitive_type >) (pointer_declarator "*this" * identifier)) , (parameter_declaration "char *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "uint param_2" type_identifier identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  undefined *puVar3;\n  \n  ctype<char>::ctype((ctype<char> *)this,(ushort *)0x0,false,param_2);\n  puVar1 = PTR_strcmp_00436644;\n  puVar3 = PTR_s__0043226c + -0x7a6c;\n  *(undefined **)this = PTR_vtable_00436184 + 8;\n  iVar2 = (*(code *)puVar1)(param_1,puVar3);\n  if ((iVar2 != 0) &&\n     (iVar2 = (*(code *)PTR_strcmp_00436644)(param_1,PTR_s__0043226c + 0x7420), iVar2 != 0)) {\n                    /* try { // try from 002fedb4 to 002fedd3 has its CatchHandler @ 002fee08 */\n    locale::facet::_S_destroy_c_locale((__locale_struct **)(this + 8));\n    locale::facet::_S_create_c_locale((__locale_struct **)(this + 8),param_1,(__locale_struct *)0x0)\n    ;\n    iVar2 = *(int *)(this + 8);\n    *(undefined4 *)(this + 0x10) = *(undefined4 *)(iVar2 + 0x3c);\n    *(undefined4 *)(this + 0x14) = *(undefined4 *)(iVar2 + 0x38);\n    *(undefined4 *)(this + 0x18) = *(undefined4 *)(iVar2 + 0x34);\n    return;\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) ;) (expression_statement "ctype<char>::ctype((ctype<char> *)this,(ushort *)0x0,false,param_2);" (binary_expression "ctype<char>::ctype((ctype<char> *)this,(ushort *)0x0,false,param_2)" (binary_expression "ctype<char" identifier < identifier) > (ERROR "::" : :) (call_expression "ctype((ctype<char> *)this,(ushort *)0x0,false,param_2)" identifier (argument_list "((ctype<char> *)this,(ushort *)0x0,false,param_2)" ( (parenthesized_expression "(ctype<char> *)this,(ushort *)0x0,false,param_2)" ( (comma_expression "ctype<char> *)this,(ushort *)0x0,false,param_2" (binary_expression "ctype<char> *)this" (binary_expression "ctype<char" identifier < identifier) > (pointer_expression "*)this" * (ERROR ")" )) identifier)) , (comma_expression "(ushort *)0x0,false,param_2" (cast_expression "(ushort *)0x0" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) , (comma_expression "false,param_2" false , identifier))) )) )))) ;) (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_00436184 + 8;" (assignment_expression "*(undefined **)this = PTR_vtable_00436184 + 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_00436184 + 8" identifier + number_literal)) ;) (expression_statement "iVar2 = (*(code *)puVar1)(param_1,puVar3);" (assignment_expression "iVar2 = (*(code *)puVar1)(param_1,puVar3)" identifier = (call_expression "(*(code *)puVar1)(param_1,puVar3)" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,puVar3)" ( identifier , identifier )))) ;) (if_statement "if ((iVar2 != 0) &&\n     (iVar2 = (*(code *)PTR_strcmp_00436644)(param_1,PTR_s__0043226c + 0x7420), iVar2 != 0)) {\n                    /* try { // try from 002fedb4 to 002fedd3 has its CatchHandler @ 002fee08 */\n    locale::facet::_S_destroy_c_locale((__locale_struct **)(this + 8));\n    locale::facet::_S_create_c_locale((__locale_struct **)(this + 8),param_1,(__locale_struct *)0x0)\n    ;\n    iVar2 = *(int *)(this + 8);\n    *(undefined4 *)(this + 0x10) = *(undefined4 *)(iVar2 + 0x3c);\n    *(undefined4 *)(this + 0x14) = *(undefined4 *)(iVar2 + 0x38);\n    *(undefined4 *)(this + 0x18) = *(undefined4 *)(iVar2 + 0x34);\n    return;\n  }" if (parenthesized_expression "((iVar2 != 0) &&\n     (iVar2 = (*(code *)PTR_strcmp_00436644)(param_1,PTR_s__0043226c + 0x7420), iVar2 != 0))" ( (binary_expression "(iVar2 != 0) &&\n     (iVar2 = (*(code *)PTR_strcmp_00436644)(param_1,PTR_s__0043226c + 0x7420), iVar2 != 0)" (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) && (parenthesized_expression "(iVar2 = (*(code *)PTR_strcmp_00436644)(param_1,PTR_s__0043226c + 0x7420), iVar2 != 0)" ( (comma_expression "iVar2 = (*(code *)PTR_strcmp_00436644)(param_1,PTR_s__0043226c + 0x7420), iVar2 != 0" (assignment_expression "iVar2 = (*(code *)PTR_strcmp_00436644)(param_1,PTR_s__0043226c + 0x7420)" identifier = (call_expression "(*(code *)PTR_strcmp_00436644)(param_1,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 "(param_1,PTR_s__0043226c + 0x7420)" ( identifier , (binary_expression "PTR_s__0043226c + 0x7420" identifier + number_literal) )))) , (binary_expression "iVar2 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n                    /* try { // try from 002fedb4 to 002fedd3 has its CatchHandler @ 002fee08 */\n    locale::facet::_S_destroy_c_locale((__locale_struct **)(this + 8));\n    locale::facet::_S_create_c_locale((__locale_struct **)(this + 8),param_1,(__locale_struct *)0x0)\n    ;\n    iVar2 = *(int *)(this + 8);\n    *(undefined4 *)(this + 0x10) = *(undefined4 *)(iVar2 + 0x3c);\n    *(undefined4 *)(this + 0x14) = *(undefined4 *)(iVar2 + 0x38);\n    *(undefined4 *)(this + 0x18) = *(undefined4 *)(iVar2 + 0x34);\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),param_1,(__locale_struct *)0x0)\n    ;" statement_identifier : (ERROR ":" :) (labeled_statement "facet::_S_create_c_locale((__locale_struct **)(this + 8),param_1,(__locale_struct *)0x0)\n    ;" statement_identifier : (ERROR ":" :) (expression_statement "_S_create_c_locale((__locale_struct **)(this + 8),param_1,(__locale_struct *)0x0)\n    ;" (call_expression "_S_create_c_locale((__locale_struct **)(this + 8),param_1,(__locale_struct *)0x0)" identifier (argument_list "((__locale_struct **)(this + 8),param_1,(__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) ))) ;))) (expression_statement "iVar2 = *(int *)(this + 8);" (assignment_expression "iVar2 = *(int *)(this + 8)" identifier = (pointer_expression "*(int *)(this + 8)" * (cast_expression "(int *)(this + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(this + 0x10) = *(undefined4 *)(iVar2 + 0x3c);" (assignment_expression "*(undefined4 *)(this + 0x10) = *(undefined4 *)(iVar2 + 0x3c)" (pointer_expression "*(undefined4 *)(this + 0x10)" * (cast_expression "(undefined4 *)(this + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x10)" ( (binary_expression "this + 0x10" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(iVar2 + 0x3c)" * (cast_expression "(undefined4 *)(iVar2 + 0x3c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x3c)" ( (binary_expression "iVar2 + 0x3c" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(this + 0x14) = *(undefined4 *)(iVar2 + 0x38);" (assignment_expression "*(undefined4 *)(this + 0x14) = *(undefined4 *)(iVar2 + 0x38)" (pointer_expression "*(undefined4 *)(this + 0x14)" * (cast_expression "(undefined4 *)(this + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x14)" ( (binary_expression "this + 0x14" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(iVar2 + 0x38)" * (cast_expression "(undefined4 *)(iVar2 + 0x38)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x38)" ( (binary_expression "iVar2 + 0x38" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(this + 0x18) = *(undefined4 *)(iVar2 + 0x34);" (assignment_expression "*(undefined4 *)(this + 0x18) = *(undefined4 *)(iVar2 + 0x34)" (pointer_expression "*(undefined4 *)(this + 0x18)" * (cast_expression "(undefined4 *)(this + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x18)" ( (binary_expression "this + 0x18" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(iVar2 + 0x34)" * (cast_expression "(undefined4 *)(iVar2 + 0x34)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x34)" ( (binary_expression "iVar2 + 0x34" identifier + number_literal) ))))) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit "void __thiscall\nstd::ctype_byname<char>::ctype_byname(ctype_byname<char> *this,char *param_1,uint param_2)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  undefined *puVar3;\n  \n  ctype<char>::ctype((ctype<char> *)this,(ushort *)0x0,false,param_2);\n  puVar1 = PTR_strcmp_00436644;\n  puVar3 = PTR_DAT_0043226c + -0x7a6c;\n  *(undefined **)this = PTR_vtable_00436184 + 8;\n  iVar2 = (*(code *)puVar1)(param_1,puVar3);\n  if ((iVar2 != 0) &&\n     (iVar2 = (*(code *)PTR_strcmp_00436644)(param_1,PTR_DAT_0043226c + 0x7420), iVar2 != 0)) {\n                    \n    locale::facet::_S_destroy_c_locale((__locale_struct **)(this + 8));\n    locale::facet::_S_create_c_locale((__locale_struct **)(this + 8),param_1,(__locale_struct *)0x0)\n    ;\n    iVar2 = *(int *)(this + 8);\n    *(undefined4 *)(this + 0x10) = *(undefined4 *)(iVar2 + 0x3c);\n    *(undefined4 *)(this + 0x14) = *(undefined4 *)(iVar2 + 0x38);\n    *(undefined4 *)(this + 0x18) = *(undefined4 *)(iVar2 + 0x34);\n    return;\n  }\n  return;\n}\n\n" (function_definition "void __thiscall\nstd::ctype_byname<char>::ctype_byname(ctype_byname<char> *this,char *param_1,uint param_2)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  undefined *puVar3;\n  \n  ctype<char>::ctype((ctype<char> *)this,(ushort *)0x0,false,param_2);\n  puVar1 = PTR_strcmp_00436644;\n  puVar3 = PTR_DAT_0043226c + -0x7a6c;\n  *(undefined **)this = PTR_vtable_00436184 + 8;\n  iVar2 = (*(code *)puVar1)(param_1,puVar3);\n  if ((iVar2 != 0) &&\n     (iVar2 = (*(code *)PTR_strcmp_00436644)(param_1,PTR_DAT_0043226c + 0x7420), iVar2 != 0)) {\n                    \n    locale::facet::_S_destroy_c_locale((__locale_struct **)(this + 8));\n    locale::facet::_S_create_c_locale((__locale_struct **)(this + 8),param_1,(__locale_struct *)0x0)\n    ;\n    iVar2 = *(int *)(this + 8);\n    *(undefined4 *)(this + 0x10) = *(undefined4 *)(iVar2 + 0x3c);\n    *(undefined4 *)(this + 0x14) = *(undefined4 *)(iVar2 + 0x38);\n    *(undefined4 *)(this + 0x18) = *(undefined4 *)(iVar2 + 0x34);\n    return;\n  }\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::ctype_byname<char>::" identifier : : identifier < primitive_type > : :) (function_declarator "ctype_byname(ctype_byname<char> *this,char *param_1,uint param_2)" identifier (parameter_list "(ctype_byname<char> *this,char *param_1,uint param_2)" ( (parameter_declaration "ctype_byname<char> *this" type_identifier (ERROR "<char>" < primitive_type >) (pointer_declarator "*this" * identifier)) , (parameter_declaration "char *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "uint param_2" type_identifier identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  undefined *puVar3;\n  \n  ctype<char>::ctype((ctype<char> *)this,(ushort *)0x0,false,param_2);\n  puVar1 = PTR_strcmp_00436644;\n  puVar3 = PTR_DAT_0043226c + -0x7a6c;\n  *(undefined **)this = PTR_vtable_00436184 + 8;\n  iVar2 = (*(code *)puVar1)(param_1,puVar3);\n  if ((iVar2 != 0) &&\n     (iVar2 = (*(code *)PTR_strcmp_00436644)(param_1,PTR_DAT_0043226c + 0x7420), iVar2 != 0)) {\n                    \n    locale::facet::_S_destroy_c_locale((__locale_struct **)(this + 8));\n    locale::facet::_S_create_c_locale((__locale_struct **)(this + 8),param_1,(__locale_struct *)0x0)\n    ;\n    iVar2 = *(int *)(this + 8);\n    *(undefined4 *)(this + 0x10) = *(undefined4 *)(iVar2 + 0x3c);\n    *(undefined4 *)(this + 0x14) = *(undefined4 *)(iVar2 + 0x38);\n    *(undefined4 *)(this + 0x18) = *(undefined4 *)(iVar2 + 0x34);\n    return;\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) ;) (expression_statement "ctype<char>::ctype((ctype<char> *)this,(ushort *)0x0,false,param_2);" (binary_expression "ctype<char>::ctype((ctype<char> *)this,(ushort *)0x0,false,param_2)" (binary_expression "ctype<char" identifier < identifier) > (ERROR "::" : :) (call_expression "ctype((ctype<char> *)this,(ushort *)0x0,false,param_2)" identifier (argument_list "((ctype<char> *)this,(ushort *)0x0,false,param_2)" ( (parenthesized_expression "(ctype<char> *)this,(ushort *)0x0,false,param_2)" ( (comma_expression "ctype<char> *)this,(ushort *)0x0,false,param_2" (binary_expression "ctype<char> *)this" (binary_expression "ctype<char" identifier < identifier) > (pointer_expression "*)this" * (ERROR ")" )) identifier)) , (comma_expression "(ushort *)0x0,false,param_2" (cast_expression "(ushort *)0x0" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) , (comma_expression "false,param_2" false , identifier))) )) )))) ;) (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 "*(undefined **)this = PTR_vtable_00436184 + 8;" (assignment_expression "*(undefined **)this = PTR_vtable_00436184 + 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_00436184 + 8" identifier + number_literal)) ;) (expression_statement "iVar2 = (*(code *)puVar1)(param_1,puVar3);" (assignment_expression "iVar2 = (*(code *)puVar1)(param_1,puVar3)" identifier = (call_expression "(*(code *)puVar1)(param_1,puVar3)" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,puVar3)" ( identifier , identifier )))) ;) (if_statement "if ((iVar2 != 0) &&\n     (iVar2 = (*(code *)PTR_strcmp_00436644)(param_1,PTR_DAT_0043226c + 0x7420), iVar2 != 0)) {\n                    \n    locale::facet::_S_destroy_c_locale((__locale_struct **)(this + 8));\n    locale::facet::_S_create_c_locale((__locale_struct **)(this + 8),param_1,(__locale_struct *)0x0)\n    ;\n    iVar2 = *(int *)(this + 8);\n    *(undefined4 *)(this + 0x10) = *(undefined4 *)(iVar2 + 0x3c);\n    *(undefined4 *)(this + 0x14) = *(undefined4 *)(iVar2 + 0x38);\n    *(undefined4 *)(this + 0x18) = *(undefined4 *)(iVar2 + 0x34);\n    return;\n  }" if (parenthesized_expression "((iVar2 != 0) &&\n     (iVar2 = (*(code *)PTR_strcmp_00436644)(param_1,PTR_DAT_0043226c + 0x7420), iVar2 != 0))" ( (binary_expression "(iVar2 != 0) &&\n     (iVar2 = (*(code *)PTR_strcmp_00436644)(param_1,PTR_DAT_0043226c + 0x7420), iVar2 != 0)" (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) && (parenthesized_expression "(iVar2 = (*(code *)PTR_strcmp_00436644)(param_1,PTR_DAT_0043226c + 0x7420), iVar2 != 0)" ( (comma_expression "iVar2 = (*(code *)PTR_strcmp_00436644)(param_1,PTR_DAT_0043226c + 0x7420), iVar2 != 0" (assignment_expression "iVar2 = (*(code *)PTR_strcmp_00436644)(param_1,PTR_DAT_0043226c + 0x7420)" identifier = (call_expression "(*(code *)PTR_strcmp_00436644)(param_1,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 "(param_1,PTR_DAT_0043226c + 0x7420)" ( identifier , (binary_expression "PTR_DAT_0043226c + 0x7420" identifier + number_literal) )))) , (binary_expression "iVar2 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n                    \n    locale::facet::_S_destroy_c_locale((__locale_struct **)(this + 8));\n    locale::facet::_S_create_c_locale((__locale_struct **)(this + 8),param_1,(__locale_struct *)0x0)\n    ;\n    iVar2 = *(int *)(this + 8);\n    *(undefined4 *)(this + 0x10) = *(undefined4 *)(iVar2 + 0x3c);\n    *(undefined4 *)(this + 0x14) = *(undefined4 *)(iVar2 + 0x38);\n    *(undefined4 *)(this + 0x18) = *(undefined4 *)(iVar2 + 0x34);\n    return;\n  }" { (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),param_1,(__locale_struct *)0x0)\n    ;" statement_identifier : (ERROR ":" :) (labeled_statement "facet::_S_create_c_locale((__locale_struct **)(this + 8),param_1,(__locale_struct *)0x0)\n    ;" statement_identifier : (ERROR ":" :) (expression_statement "_S_create_c_locale((__locale_struct **)(this + 8),param_1,(__locale_struct *)0x0)\n    ;" (call_expression "_S_create_c_locale((__locale_struct **)(this + 8),param_1,(__locale_struct *)0x0)" identifier (argument_list "((__locale_struct **)(this + 8),param_1,(__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) ))) ;))) (expression_statement "iVar2 = *(int *)(this + 8);" (assignment_expression "iVar2 = *(int *)(this + 8)" identifier = (pointer_expression "*(int *)(this + 8)" * (cast_expression "(int *)(this + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(this + 0x10) = *(undefined4 *)(iVar2 + 0x3c);" (assignment_expression "*(undefined4 *)(this + 0x10) = *(undefined4 *)(iVar2 + 0x3c)" (pointer_expression "*(undefined4 *)(this + 0x10)" * (cast_expression "(undefined4 *)(this + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x10)" ( (binary_expression "this + 0x10" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(iVar2 + 0x3c)" * (cast_expression "(undefined4 *)(iVar2 + 0x3c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x3c)" ( (binary_expression "iVar2 + 0x3c" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(this + 0x14) = *(undefined4 *)(iVar2 + 0x38);" (assignment_expression "*(undefined4 *)(this + 0x14) = *(undefined4 *)(iVar2 + 0x38)" (pointer_expression "*(undefined4 *)(this + 0x14)" * (cast_expression "(undefined4 *)(this + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x14)" ( (binary_expression "this + 0x14" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(iVar2 + 0x38)" * (cast_expression "(undefined4 *)(iVar2 + 0x38)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x38)" ( (binary_expression "iVar2 + 0x38" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(this + 0x18) = *(undefined4 *)(iVar2 + 0x34);" (assignment_expression "*(undefined4 *)(this + 0x18) = *(undefined4 *)(iVar2 + 0x34)" (pointer_expression "*(undefined4 *)(this + 0x18)" * (cast_expression "(undefined4 *)(this + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x18)" ( (binary_expression "this + 0x18" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(iVar2 + 0x34)" * (cast_expression "(undefined4 *)(iVar2 + 0x34)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x34)" ( (binary_expression "iVar2 + 0x34" identifier + number_literal) ))))) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (ms_call_modifier __thiscall) (ERROR IDENT : : IDENT < TYPE > : :) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (ERROR < 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) ;) (expression_statement (binary_expression (binary_expression IDENT < IDENT) > (ERROR : :) (call_expression IDENT (argument_list ( (parenthesized_expression ( (comma_expression (binary_expression (binary_expression IDENT < IDENT) > (pointer_expression * (ERROR )) IDENT)) , (comma_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT) , (comma_expression BOOL , IDENT))) )) )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) 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 :) (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 :) (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) ))) ;))) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (return_statement return ;) })) (return_statement return ;) })))
(function_definition "void __thiscall\nstd::ctype_byname<char>::ctype_byname(ctype_byname<char> *this,char *param_1,uint param_2)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  undefined *puVar3;\n  \n  ctype<char>::ctype((ctype<char> *)this,(ushort *)0x0,false,param_2);\n  puVar1 = PTR_strcmp_00436644;\n  puVar3 = PTR_DAT_0043226c + -0x7a6c;\n  *(undefined **)this = PTR_vtable_00436184 + 8;\n  iVar2 = (*(code *)puVar1)(param_1,puVar3);\n  if ((iVar2 != 0) &&\n     (iVar2 = (*(code *)PTR_strcmp_00436644)(param_1,PTR_DAT_0043226c + 0x7420), iVar2 != 0)) {\n                    \n    locale::facet::_S_destroy_c_locale((__locale_struct **)(this + 8));\n    locale::facet::_S_create_c_locale((__locale_struct **)(this + 8),param_1,(__locale_struct *)0x0)\n    ;\n    iVar2 = *(int *)(this + 8);\n    *(undefined4 *)(this + 0x10) = *(undefined4 *)(iVar2 + 0x3c);\n    *(undefined4 *)(this + 0x14) = *(undefined4 *)(iVar2 + 0x38);\n    *(undefined4 *)(this + 0x18) = *(undefined4 *)(iVar2 + 0x34);\n    return;\n  }\n  return;\n}" (primitive_type "void") (ms_call_modifier "__thiscall" (__thiscall "__thiscall")) (ERROR "std::ctype_byname<char>::" (identifier "std") (: ":") (: ":") (identifier "ctype_byname") (< "<") (primitive_type "char") (> ">") (: ":") (: ":")) (function_declarator "ctype_byname(ctype_byname<char> *this,char *param_1,uint param_2)" (identifier "ctype_byname") (parameter_list "(ctype_byname<char> *this,char *param_1,uint param_2)" (( "(") (parameter_declaration "ctype_byname<char> *this" (type_identifier "ctype_byname") (ERROR "<char>" (< "<") (primitive_type "char") (> ">")) (pointer_declarator "*this" (* "*") (identifier "this"))) (, ",") (parameter_declaration "char *param_1" (primitive_type "char") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "uint param_2" (type_identifier "uint") (identifier "param_2")) () ")"))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  undefined *puVar3;\n  \n  ctype<char>::ctype((ctype<char> *)this,(ushort *)0x0,false,param_2);\n  puVar1 = PTR_strcmp_00436644;\n  puVar3 = PTR_DAT_0043226c + -0x7a6c;\n  *(undefined **)this = PTR_vtable_00436184 + 8;\n  iVar2 = (*(code *)puVar1)(param_1,puVar3);\n  if ((iVar2 != 0) &&\n     (iVar2 = (*(code *)PTR_strcmp_00436644)(param_1,PTR_DAT_0043226c + 0x7420), iVar2 != 0)) {\n                    \n    locale::facet::_S_destroy_c_locale((__locale_struct **)(this + 8));\n    locale::facet::_S_create_c_locale((__locale_struct **)(this + 8),param_1,(__locale_struct *)0x0)\n    ;\n    iVar2 = *(int *)(this + 8);\n    *(undefined4 *)(this + 0x10) = *(undefined4 *)(iVar2 + 0x3c);\n    *(undefined4 *)(this + 0x14) = *(undefined4 *)(iVar2 + 0x38);\n    *(undefined4 *)(this + 0x18) = *(undefined4 *)(iVar2 + 0x34);\n    return;\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")) (; ";")) (expression_statement "ctype<char>::ctype((ctype<char> *)this,(ushort *)0x0,false,param_2);" (binary_expression "ctype<char>::ctype((ctype<char> *)this,(ushort *)0x0,false,param_2)" (binary_expression "ctype<char" (identifier "ctype") (< "<") (identifier "char")) (> ">") (ERROR "::" (: ":") (: ":")) (call_expression "ctype((ctype<char> *)this,(ushort *)0x0,false,param_2)" (identifier "ctype") (argument_list "((ctype<char> *)this,(ushort *)0x0,false,param_2)" (( "(") (parenthesized_expression "(ctype<char> *)this,(ushort *)0x0,false,param_2)" (( "(") (comma_expression "ctype<char> *)this,(ushort *)0x0,false,param_2" (binary_expression "ctype<char> *)this" (binary_expression "ctype<char" (identifier "ctype") (< "<") (identifier "char")) (> ">") (pointer_expression "*)this" (* "*") (ERROR ")" () ")")) (identifier "this"))) (, ",") (comma_expression "(ushort *)0x0,false,param_2" (cast_expression "(ushort *)0x0" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")) (, ",") (comma_expression "false,param_2" (false "false") (, ",") (identifier "param_2")))) () ")")) () "")))) (; ";")) (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 "*(undefined **)this = PTR_vtable_00436184 + 8;" (assignment_expression "*(undefined **)this = PTR_vtable_00436184 + 8" (pointer_expression "*(undefined **)this" (* "*") (cast_expression "(undefined **)this" (( "(") (type_descriptor "undefined **" (type_identifier "undefined") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "this"))) (= "=") (binary_expression "PTR_vtable_00436184 + 8" (identifier "PTR_vtable_00436184") (+ "+") (number_literal "8"))) (; ";")) (expression_statement "iVar2 = (*(code *)puVar1)(param_1,puVar3);" (assignment_expression "iVar2 = (*(code *)puVar1)(param_1,puVar3)" (identifier "iVar2") (= "=") (call_expression "(*(code *)puVar1)(param_1,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 "(param_1,puVar3)" (( "(") (identifier "param_1") (, ",") (identifier "puVar3") () ")")))) (; ";")) (if_statement "if ((iVar2 != 0) &&\n     (iVar2 = (*(code *)PTR_strcmp_00436644)(param_1,PTR_DAT_0043226c + 0x7420), iVar2 != 0)) {\n                    \n    locale::facet::_S_destroy_c_locale((__locale_struct **)(this + 8));\n    locale::facet::_S_create_c_locale((__locale_struct **)(this + 8),param_1,(__locale_struct *)0x0)\n    ;\n    iVar2 = *(int *)(this + 8);\n    *(undefined4 *)(this + 0x10) = *(undefined4 *)(iVar2 + 0x3c);\n    *(undefined4 *)(this + 0x14) = *(undefined4 *)(iVar2 + 0x38);\n    *(undefined4 *)(this + 0x18) = *(undefined4 *)(iVar2 + 0x34);\n    return;\n  }" (if "if") (parenthesized_expression "((iVar2 != 0) &&\n     (iVar2 = (*(code *)PTR_strcmp_00436644)(param_1,PTR_DAT_0043226c + 0x7420), iVar2 != 0))" (( "(") (binary_expression "(iVar2 != 0) &&\n     (iVar2 = (*(code *)PTR_strcmp_00436644)(param_1,PTR_DAT_0043226c + 0x7420), iVar2 != 0)" (parenthesized_expression "(iVar2 != 0)" (( "(") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(iVar2 = (*(code *)PTR_strcmp_00436644)(param_1,PTR_DAT_0043226c + 0x7420), iVar2 != 0)" (( "(") (comma_expression "iVar2 = (*(code *)PTR_strcmp_00436644)(param_1,PTR_DAT_0043226c + 0x7420), iVar2 != 0" (assignment_expression "iVar2 = (*(code *)PTR_strcmp_00436644)(param_1,PTR_DAT_0043226c + 0x7420)" (identifier "iVar2") (= "=") (call_expression "(*(code *)PTR_strcmp_00436644)(param_1,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 "(param_1,PTR_DAT_0043226c + 0x7420)" (( "(") (identifier "param_1") (, ",") (binary_expression "PTR_DAT_0043226c + 0x7420" (identifier "PTR_DAT_0043226c") (+ "+") (number_literal "0x7420")) () ")")))) (, ",") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n                    \n    locale::facet::_S_destroy_c_locale((__locale_struct **)(this + 8));\n    locale::facet::_S_create_c_locale((__locale_struct **)(this + 8),param_1,(__locale_struct *)0x0)\n    ;\n    iVar2 = *(int *)(this + 8);\n    *(undefined4 *)(this + 0x10) = *(undefined4 *)(iVar2 + 0x3c);\n    *(undefined4 *)(this + 0x14) = *(undefined4 *)(iVar2 + 0x38);\n    *(undefined4 *)(this + 0x18) = *(undefined4 *)(iVar2 + 0x34);\n    return;\n  }" ({ "{") (labeled_statement "locale::facet::_S_destroy_c_locale((__locale_struct **)(this + 8));" (statement_identifier "locale") (: ":") (ERROR ":" (: ":")) (labeled_statement "facet::_S_destroy_c_locale((__locale_struct **)(this + 8));" (statement_identifier "facet") (: ":") (ERROR ":" (: ":")) (expression_statement "_S_destroy_c_locale((__locale_struct **)(this + 8));" (call_expression "_S_destroy_c_locale((__locale_struct **)(this + 8))" (identifier "_S_destroy_c_locale") (argument_list "((__locale_struct **)(this + 8))" (( "(") (cast_expression "(__locale_struct **)(this + 8)" (( "(") (type_descriptor "__locale_struct **" (type_identifier "__locale_struct") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(this + 8)" (( "(") (binary_expression "this + 8" (identifier "this") (+ "+") (number_literal "8")) () ")"))) () ")"))) (; ";")))) (labeled_statement "locale::facet::_S_create_c_locale((__locale_struct **)(this + 8),param_1,(__locale_struct *)0x0)\n    ;" (statement_identifier "locale") (: ":") (ERROR ":" (: ":")) (labeled_statement "facet::_S_create_c_locale((__locale_struct **)(this + 8),param_1,(__locale_struct *)0x0)\n    ;" (statement_identifier "facet") (: ":") (ERROR ":" (: ":")) (expression_statement "_S_create_c_locale((__locale_struct **)(this + 8),param_1,(__locale_struct *)0x0)\n    ;" (call_expression "_S_create_c_locale((__locale_struct **)(this + 8),param_1,(__locale_struct *)0x0)" (identifier "_S_create_c_locale") (argument_list "((__locale_struct **)(this + 8),param_1,(__locale_struct *)0x0)" (( "(") (cast_expression "(__locale_struct **)(this + 8)" (( "(") (type_descriptor "__locale_struct **" (type_identifier "__locale_struct") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(this + 8)" (( "(") (binary_expression "this + 8" (identifier "this") (+ "+") (number_literal "8")) () ")"))) (, ",") (identifier "param_1") (, ",") (cast_expression "(__locale_struct *)0x0" (( "(") (type_descriptor "__locale_struct *" (type_identifier "__locale_struct") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")) () ")"))) (; ";")))) (expression_statement "iVar2 = *(int *)(this + 8);" (assignment_expression "iVar2 = *(int *)(this + 8)" (identifier "iVar2") (= "=") (pointer_expression "*(int *)(this + 8)" (* "*") (cast_expression "(int *)(this + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(this + 8)" (( "(") (binary_expression "this + 8" (identifier "this") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (expression_statement "*(undefined4 *)(this + 0x10) = *(undefined4 *)(iVar2 + 0x3c);" (assignment_expression "*(undefined4 *)(this + 0x10) = *(undefined4 *)(iVar2 + 0x3c)" (pointer_expression "*(undefined4 *)(this + 0x10)" (* "*") (cast_expression "(undefined4 *)(this + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(this + 0x10)" (( "(") (binary_expression "this + 0x10" (identifier "this") (+ "+") (number_literal "0x10")) () ")")))) (= "=") (pointer_expression "*(undefined4 *)(iVar2 + 0x3c)" (* "*") (cast_expression "(undefined4 *)(iVar2 + 0x3c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x3c)" (( "(") (binary_expression "iVar2 + 0x3c" (identifier "iVar2") (+ "+") (number_literal "0x3c")) () ")"))))) (; ";")) (expression_statement "*(undefined4 *)(this + 0x14) = *(undefined4 *)(iVar2 + 0x38);" (assignment_expression "*(undefined4 *)(this + 0x14) = *(undefined4 *)(iVar2 + 0x38)" (pointer_expression "*(undefined4 *)(this + 0x14)" (* "*") (cast_expression "(undefined4 *)(this + 0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(this + 0x14)" (( "(") (binary_expression "this + 0x14" (identifier "this") (+ "+") (number_literal "0x14")) () ")")))) (= "=") (pointer_expression "*(undefined4 *)(iVar2 + 0x38)" (* "*") (cast_expression "(undefined4 *)(iVar2 + 0x38)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x38)" (( "(") (binary_expression "iVar2 + 0x38" (identifier "iVar2") (+ "+") (number_literal "0x38")) () ")"))))) (; ";")) (expression_statement "*(undefined4 *)(this + 0x18) = *(undefined4 *)(iVar2 + 0x34);" (assignment_expression "*(undefined4 *)(this + 0x18) = *(undefined4 *)(iVar2 + 0x34)" (pointer_expression "*(undefined4 *)(this + 0x18)" (* "*") (cast_expression "(undefined4 *)(this + 0x18)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(this + 0x18)" (( "(") (binary_expression "this + 0x18" (identifier "this") (+ "+") (number_literal "0x18")) () ")")))) (= "=") (pointer_expression "*(undefined4 *)(iVar2 + 0x34)" (* "*") (cast_expression "(undefined4 *)(iVar2 + 0x34)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x34)" (( "(") (binary_expression "iVar2 + 0x34" (identifier "iVar2") (+ "+") (number_literal "0x34")) () ")"))))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* std::ctype_byname<char>::ctype_byname(char const*, unsigned int) */

void __thiscall
std::function_1<char>::function_1(function_1<char> *var_7,char *param_1,type_1 param_2)

{
  type_2 *puVar1;
  int var_5;
  type_2 *puVar3;
  
  var_1<var_2>::var_1((var_1<var_2> *)var_7,(type_3 *)0x0,false,param_2);
  puVar1 = PTR_strcmp_00436644;
  puVar3 = var_3 + -0x7a6c;
  *(type_2 **)var_7 = var_4 + 8;
  var_5 = (*(type_4 *)puVar1)(param_1,puVar3);
  if ((var_5 != 0) &&
     (var_5 = (*(type_4 *)PTR_strcmp_00436644)(param_1,var_3 + 0x7420), var_5 != 0)) {
                    /* try { // try from 002fedb4 to 002fedd3 has its CatchHandler @ 002fee08 */
    locale::facet::var_6((type_5 **)(var_7 + 8));
    locale::facet::var_8((type_5 **)(var_7 + 8),param_1,(type_5 *)0x0)
    ;
    var_5 = *(int *)(var_7 + 8);
    *(type_6 *)(var_7 + 0x10) = *(type_6 *)(var_5 + 0x3c);
    *(type_6 *)(var_7 + 0x14) = *(type_6 *)(var_5 + 0x38);
    *(type_6 *)(var_7 + 0x18) = *(type_6 *)(var_5 + 0x34);
    return;
  }
  return;
}


(translation_unit (function_definition type: (primitive_type) (ms_call_modifier) (ERROR (identifier) (identifier) (primitive_type)) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) (ERROR (primitive_type)) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) 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))) (expression_statement (binary_expression left: (binary_expression left: (identifier) right: (identifier)) (ERROR) right: (call_expression function: (identifier) arguments: (argument_list (parenthesized_expression (comma_expression left: (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (pointer_expression (ERROR) argument: (identifier))) right: (comma_expression left: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)) right: (comma_expression left: (false) right: (identifier))))) (MISSING ")"))))) (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: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (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) (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) (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))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (return_statement))) (return_statement))))

/* std::MASKED<char>::MASKED(char const*, unsigned int) */

void __thiscall
std::MASKED<char>::MASKED(MASKED<char> *this,char *param_1,uint param_2)

{
  undefined *puVar1;
  int iVar2;
  undefined *puVar3;
  
  ctype<char>::ctype((ctype<char> *)this,(ushort *)0x0,false,param_2);
  puVar1 = PTR_strcmp_00436644;
  puVar3 = PTR_DAT_0043226c + -0x7a6c;
  *(undefined **)this = PTR_vtable_00436184 + 8;
  iVar2 = (*(code *)puVar1)(param_1,puVar3);
  if ((iVar2 != 0) &&
     (iVar2 = (*(code *)PTR_strcmp_00436644)(param_1,PTR_DAT_0043226c + 0x7420), iVar2 != 0)) {
                    /* try { // try from 002fedb4 to 002fedd3 has its CatchHandler @ 002fee08 */
    locale::facet::_S_destroy_c_locale((__locale_struct **)(this + 8));
    locale::facet::_S_create_c_locale((__locale_struct **)(this + 8),param_1,(__locale_struct *)0x0)
    ;
    iVar2 = *(int *)(this + 8);
    *(undefined4 *)(this + 0x10) = *(undefined4 *)(iVar2 + 0x3c);
    *(undefined4 *)(this + 0x14) = *(undefined4 *)(iVar2 + 0x38);
    *(undefined4 *)(this + 0x18) = *(undefined4 *)(iVar2 + 0x34);
    return;
  }
  return;
}

