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

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

{
  undefined4 uVar1;
  int iVar2;
  undefined *puVar3;
  undefined *puVar4;
  
  puVar4 = PTR_vtable_00432290 + 8;
  *(uint *)(this + 4) = (uint)(param_2 != 0);
                    /* try { // try from 002cff58 to 002cff5f has its CatchHandler @ 002d0044 */
  *(undefined **)this = puVar4;
  uVar1 = locale::facet::_S_get_c_locale();
  *(undefined4 *)(this + 8) = uVar1;
  puVar4 = PTR_strcmp_00436644;
  puVar3 = PTR_s__0043226c + -0x7a6c;
  *(undefined **)this = PTR_vtable_004337fc + 8;
  iVar2 = (*(code *)puVar4)(param_1,puVar3);
  if (iVar2 != 0) {
    iVar2 = (*(code *)PTR_strcmp_00436644)(param_1,PTR_s__0043226c + 0x7420);
    if (iVar2 != 0) {
                    /* try { // try from 002cffd0 to 002cffef has its CatchHandler @ 002d000c */
      (*(code *)PTR__S_destroy_c_locale_00432284)(this + 8);
      (*(code *)PTR__S_create_c_locale_004337c8)(this + 8,param_1,0);
      return;
    }
  }
  return;
}



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

{
  undefined4 uVar1;
  int iVar2;
  undefined *puVar3;
  undefined *puVar4;
  
  puVar4 = PTR_vtable_00432290 + 8;
  param_1[1] = (uint)(param_3 != 0);
                    /* try { // try from 002cff58 to 002cff5f has its CatchHandler @ 002d0044 */
  *param_1 = puVar4;
  uVar1 = std::locale::facet::_S_get_c_locale();
  param_1[2] = uVar1;
  puVar4 = PTR_strcmp_00436644;
  puVar3 = PTR_DAT_0043226c + -0x7a6c;
  *param_1 = PTR_vtable_004337fc + 8;
  iVar2 = (*(code *)puVar4)(param_2,puVar3);
  if (iVar2 != 0) {
    iVar2 = (*(code *)PTR_strcmp_00436644)(param_2,PTR_DAT_0043226c + 0x7420);
    if (iVar2 != 0) {
                    /* try { // try from 002cffd0 to 002cffef has its CatchHandler @ 002d000c */
      (*(code *)PTR__S_destroy_c_locale_00432284)(param_1 + 2);
      (*(code *)PTR__S_create_c_locale_004337c8)(param_1 + 2,param_2,0);
      return;
    }
  }
  return;
}


lui gp,0x17
addiu gp,gp,-0x5d44
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,-0x7f40(gp)
sw s2,0x24(sp)
or s2,a1,zero
sw s0,0x1c(sp)
or s0,a0,zero
addiu s1,s1,0x8
sw ra,0x2c(sp)
sw s3,0x28(sp)
sw a2,0x4(a0)
bal 0x002b8ed4
_sw s1,0x0(a0)
lw gp,0x10(sp)
or a0,s2,zero
sw v0,0x8(s0)
lw v0,-0x69d4(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,0x002cffac
_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,0x002cffc8
_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)
jalr t9
_or a0,s3,zero
lw gp,0x10(sp)
or a2,zero,zero
or a1,s2,zero
lw t9,-0x6a08(gp)
jalr t9
_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_002cff14(undefined4 *param_1,undefined4 param_2,int param_3)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  undefined *puVar3;\n  undefined *puVar4;\n  \n  puVar4 = PTR_vtable_00432290 + 8;\n  param_1[1] = (uint)(param_3 != 0);\n                    /* try { // try from 002cff58 to 002cff5f has its CatchHandler @ 002d0044 */\n  *param_1 = puVar4;\n  uVar1 = std::locale::facet::_S_get_c_locale();\n  param_1[2] = uVar1;\n  puVar4 = PTR_strcmp_00436644;\n  puVar3 = PTR_DAT_0043226c + -0x7a6c;\n  *param_1 = PTR_vtable_004337fc + 8;\n  iVar2 = (*(code *)puVar4)(param_2,puVar3);\n  if (iVar2 != 0) {\n    iVar2 = (*(code *)PTR_strcmp_00436644)(param_2,PTR_DAT_0043226c + 0x7420);\n    if (iVar2 != 0) {\n                    /* try { // try from 002cffd0 to 002cffef has its CatchHandler @ 002d000c */\n      (*(code *)PTR__S_destroy_c_locale_00432284)(param_1 + 2);\n      (*(code *)PTR__S_create_c_locale_004337c8)(param_1 + 2,param_2,0);\n      return;\n    }\n  }\n  return;\n}\n\n" (function_definition "void FUN_002cff14(undefined4 *param_1,undefined4 param_2,int param_3)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  undefined *puVar3;\n  undefined *puVar4;\n  \n  puVar4 = PTR_vtable_00432290 + 8;\n  param_1[1] = (uint)(param_3 != 0);\n                    /* try { // try from 002cff58 to 002cff5f has its CatchHandler @ 002d0044 */\n  *param_1 = puVar4;\n  uVar1 = std::locale::facet::_S_get_c_locale();\n  param_1[2] = uVar1;\n  puVar4 = PTR_strcmp_00436644;\n  puVar3 = PTR_DAT_0043226c + -0x7a6c;\n  *param_1 = PTR_vtable_004337fc + 8;\n  iVar2 = (*(code *)puVar4)(param_2,puVar3);\n  if (iVar2 != 0) {\n    iVar2 = (*(code *)PTR_strcmp_00436644)(param_2,PTR_DAT_0043226c + 0x7420);\n    if (iVar2 != 0) {\n                    /* try { // try from 002cffd0 to 002cffef has its CatchHandler @ 002d000c */\n      (*(code *)PTR__S_destroy_c_locale_00432284)(param_1 + 2);\n      (*(code *)PTR__S_create_c_locale_004337c8)(param_1 + 2,param_2,0);\n      return;\n    }\n  }\n  return;\n}" primitive_type (function_declarator "FUN_002cff14(undefined4 *param_1,undefined4 param_2,int param_3)" identifier (parameter_list "(undefined4 *param_1,undefined4 param_2,int param_3)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  int iVar2;\n  undefined *puVar3;\n  undefined *puVar4;\n  \n  puVar4 = PTR_vtable_00432290 + 8;\n  param_1[1] = (uint)(param_3 != 0);\n                    /* try { // try from 002cff58 to 002cff5f has its CatchHandler @ 002d0044 */\n  *param_1 = puVar4;\n  uVar1 = std::locale::facet::_S_get_c_locale();\n  param_1[2] = uVar1;\n  puVar4 = PTR_strcmp_00436644;\n  puVar3 = PTR_DAT_0043226c + -0x7a6c;\n  *param_1 = PTR_vtable_004337fc + 8;\n  iVar2 = (*(code *)puVar4)(param_2,puVar3);\n  if (iVar2 != 0) {\n    iVar2 = (*(code *)PTR_strcmp_00436644)(param_2,PTR_DAT_0043226c + 0x7420);\n    if (iVar2 != 0) {\n                    /* try { // try from 002cffd0 to 002cffef has its CatchHandler @ 002d000c */\n      (*(code *)PTR__S_destroy_c_locale_00432284)(param_1 + 2);\n      (*(code *)PTR__S_create_c_locale_004337c8)(param_1 + 2,param_2,0);\n      return;\n    }\n  }\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "undefined *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (expression_statement "puVar4 = PTR_vtable_00432290 + 8;" (assignment_expression "puVar4 = PTR_vtable_00432290 + 8" identifier = (binary_expression "PTR_vtable_00432290 + 8" identifier + number_literal)) ;) (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) ;) (ERROR "uVar1 = std::" (assignment_expression "uVar1 = std" identifier = identifier) : :) (labeled_statement "locale::facet::_S_get_c_locale();" statement_identifier : (ERROR ":" :) (labeled_statement "facet::_S_get_c_locale();" statement_identifier : (ERROR ":" :) (expression_statement "_S_get_c_locale();" (call_expression "_S_get_c_locale()" identifier (argument_list "()" ( ))) ;))) (expression_statement "param_1[2] = uVar1;" (assignment_expression "param_1[2] = uVar1" (subscript_expression "param_1[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar4 = PTR_strcmp_00436644;" (assignment_expression "puVar4 = PTR_strcmp_00436644" identifier = identifier) ;) (expression_statement "puVar3 = PTR_DAT_0043226c + -0x7a6c;" (assignment_expression "puVar3 = PTR_DAT_0043226c + -0x7a6c" identifier = (binary_expression "PTR_DAT_0043226c + -0x7a6c" identifier + number_literal)) ;) (expression_statement "*param_1 = PTR_vtable_004337fc + 8;" (assignment_expression "*param_1 = PTR_vtable_004337fc + 8" (pointer_expression "*param_1" * identifier) = (binary_expression "PTR_vtable_004337fc + 8" identifier + number_literal)) ;) (expression_statement "iVar2 = (*(code *)puVar4)(param_2,puVar3);" (assignment_expression "iVar2 = (*(code *)puVar4)(param_2,puVar3)" identifier = (call_expression "(*(code *)puVar4)(param_2,puVar3)" (parenthesized_expression "(*(code *)puVar4)" ( (pointer_expression "*(code *)puVar4" * (cast_expression "(code *)puVar4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_2,puVar3)" ( identifier , identifier )))) ;) (if_statement "if (iVar2 != 0) {\n    iVar2 = (*(code *)PTR_strcmp_00436644)(param_2,PTR_DAT_0043226c + 0x7420);\n    if (iVar2 != 0) {\n                    /* try { // try from 002cffd0 to 002cffef has its CatchHandler @ 002d000c */\n      (*(code *)PTR__S_destroy_c_locale_00432284)(param_1 + 2);\n      (*(code *)PTR__S_create_c_locale_004337c8)(param_1 + 2,param_2,0);\n      return;\n    }\n  }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n    iVar2 = (*(code *)PTR_strcmp_00436644)(param_2,PTR_DAT_0043226c + 0x7420);\n    if (iVar2 != 0) {\n                    /* try { // try from 002cffd0 to 002cffef has its CatchHandler @ 002d000c */\n      (*(code *)PTR__S_destroy_c_locale_00432284)(param_1 + 2);\n      (*(code *)PTR__S_create_c_locale_004337c8)(param_1 + 2,param_2,0);\n      return;\n    }\n  }" { (expression_statement "iVar2 = (*(code *)PTR_strcmp_00436644)(param_2,PTR_DAT_0043226c + 0x7420);" (assignment_expression "iVar2 = (*(code *)PTR_strcmp_00436644)(param_2,PTR_DAT_0043226c + 0x7420)" identifier = (call_expression "(*(code *)PTR_strcmp_00436644)(param_2,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_2,PTR_DAT_0043226c + 0x7420)" ( identifier , (binary_expression "PTR_DAT_0043226c + 0x7420" identifier + number_literal) )))) ;) (if_statement "if (iVar2 != 0) {\n                    /* try { // try from 002cffd0 to 002cffef has its CatchHandler @ 002d000c */\n      (*(code *)PTR__S_destroy_c_locale_00432284)(param_1 + 2);\n      (*(code *)PTR__S_create_c_locale_004337c8)(param_1 + 2,param_2,0);\n      return;\n    }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n                    /* try { // try from 002cffd0 to 002cffef has its CatchHandler @ 002d000c */\n      (*(code *)PTR__S_destroy_c_locale_00432284)(param_1 + 2);\n      (*(code *)PTR__S_create_c_locale_004337c8)(param_1 + 2,param_2,0);\n      return;\n    }" { comment (expression_statement "(*(code *)PTR__S_destroy_c_locale_00432284)(param_1 + 2);" (call_expression "(*(code *)PTR__S_destroy_c_locale_00432284)(param_1 + 2)" (parenthesized_expression "(*(code *)PTR__S_destroy_c_locale_00432284)" ( (pointer_expression "*(code *)PTR__S_destroy_c_locale_00432284" * (cast_expression "(code *)PTR__S_destroy_c_locale_00432284" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1 + 2)" ( (binary_expression "param_1 + 2" identifier + number_literal) ))) ;) (expression_statement "(*(code *)PTR__S_create_c_locale_004337c8)(param_1 + 2,param_2,0);" (call_expression "(*(code *)PTR__S_create_c_locale_004337c8)(param_1 + 2,param_2,0)" (parenthesized_expression "(*(code *)PTR__S_create_c_locale_004337c8)" ( (pointer_expression "*(code *)PTR__S_create_c_locale_004337c8" * (cast_expression "(code *)PTR__S_create_c_locale_004337c8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1 + 2,param_2,0)" ( (binary_expression "param_1 + 2" identifier + number_literal) , identifier , number_literal ))) ;) (return_statement "return;" return ;) })) })) (return_statement "return;" return ;) })))
(translation_unit "/* std::collate_byname<char>::collate_byname(char const*, unsigned int) */\n\nvoid __thiscall\nstd::collate_byname<char>::collate_byname(collate_byname<char> *this,char *param_1,uint param_2)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  undefined *puVar3;\n  undefined *puVar4;\n  \n  puVar4 = PTR_vtable_00432290 + 8;\n  *(uint *)(this + 4) = (uint)(param_2 != 0);\n                    /* try { // try from 002cff58 to 002cff5f has its CatchHandler @ 002d0044 */\n  *(undefined **)this = puVar4;\n  uVar1 = locale::facet::_S_get_c_locale();\n  *(undefined4 *)(this + 8) = uVar1;\n  puVar4 = PTR_strcmp_00436644;\n  puVar3 = PTR_s__0043226c + -0x7a6c;\n  *(undefined **)this = PTR_vtable_004337fc + 8;\n  iVar2 = (*(code *)puVar4)(param_1,puVar3);\n  if (iVar2 != 0) {\n    iVar2 = (*(code *)PTR_strcmp_00436644)(param_1,PTR_s__0043226c + 0x7420);\n    if (iVar2 != 0) {\n                    /* try { // try from 002cffd0 to 002cffef has its CatchHandler @ 002d000c */\n      (*(code *)PTR__S_destroy_c_locale_00432284)(this + 8);\n      (*(code *)PTR__S_create_c_locale_004337c8)(this + 8,param_1,0);\n      return;\n    }\n  }\n  return;\n}\n\n" comment (function_definition "void __thiscall\nstd::collate_byname<char>::collate_byname(collate_byname<char> *this,char *param_1,uint param_2)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  undefined *puVar3;\n  undefined *puVar4;\n  \n  puVar4 = PTR_vtable_00432290 + 8;\n  *(uint *)(this + 4) = (uint)(param_2 != 0);\n                    /* try { // try from 002cff58 to 002cff5f has its CatchHandler @ 002d0044 */\n  *(undefined **)this = puVar4;\n  uVar1 = locale::facet::_S_get_c_locale();\n  *(undefined4 *)(this + 8) = uVar1;\n  puVar4 = PTR_strcmp_00436644;\n  puVar3 = PTR_s__0043226c + -0x7a6c;\n  *(undefined **)this = PTR_vtable_004337fc + 8;\n  iVar2 = (*(code *)puVar4)(param_1,puVar3);\n  if (iVar2 != 0) {\n    iVar2 = (*(code *)PTR_strcmp_00436644)(param_1,PTR_s__0043226c + 0x7420);\n    if (iVar2 != 0) {\n                    /* try { // try from 002cffd0 to 002cffef has its CatchHandler @ 002d000c */\n      (*(code *)PTR__S_destroy_c_locale_00432284)(this + 8);\n      (*(code *)PTR__S_create_c_locale_004337c8)(this + 8,param_1,0);\n      return;\n    }\n  }\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::collate_byname<char>::" identifier : : identifier < primitive_type > : :) (function_declarator "collate_byname(collate_byname<char> *this,char *param_1,uint param_2)" identifier (parameter_list "(collate_byname<char> *this,char *param_1,uint param_2)" ( (parameter_declaration "collate_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  undefined4 uVar1;\n  int iVar2;\n  undefined *puVar3;\n  undefined *puVar4;\n  \n  puVar4 = PTR_vtable_00432290 + 8;\n  *(uint *)(this + 4) = (uint)(param_2 != 0);\n                    /* try { // try from 002cff58 to 002cff5f has its CatchHandler @ 002d0044 */\n  *(undefined **)this = puVar4;\n  uVar1 = locale::facet::_S_get_c_locale();\n  *(undefined4 *)(this + 8) = uVar1;\n  puVar4 = PTR_strcmp_00436644;\n  puVar3 = PTR_s__0043226c + -0x7a6c;\n  *(undefined **)this = PTR_vtable_004337fc + 8;\n  iVar2 = (*(code *)puVar4)(param_1,puVar3);\n  if (iVar2 != 0) {\n    iVar2 = (*(code *)PTR_strcmp_00436644)(param_1,PTR_s__0043226c + 0x7420);\n    if (iVar2 != 0) {\n                    /* try { // try from 002cffd0 to 002cffef has its CatchHandler @ 002d000c */\n      (*(code *)PTR__S_destroy_c_locale_00432284)(this + 8);\n      (*(code *)PTR__S_create_c_locale_004337c8)(this + 8,param_1,0);\n      return;\n    }\n  }\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "undefined *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (expression_statement "puVar4 = PTR_vtable_00432290 + 8;" (assignment_expression "puVar4 = PTR_vtable_00432290 + 8" identifier = (binary_expression "PTR_vtable_00432290 + 8" identifier + number_literal)) ;) (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) ;) (ERROR "uVar1 = locale::" (assignment_expression "uVar1 = locale" identifier = identifier) : :) (labeled_statement "facet::_S_get_c_locale();" statement_identifier : (ERROR ":" :) (expression_statement "_S_get_c_locale();" (call_expression "_S_get_c_locale()" identifier (argument_list "()" ( ))) ;)) (expression_statement "*(undefined4 *)(this + 8) = uVar1;" (assignment_expression "*(undefined4 *)(this + 8) = uVar1" (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 "puVar4 = PTR_strcmp_00436644;" (assignment_expression "puVar4 = 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_004337fc + 8;" (assignment_expression "*(undefined **)this = PTR_vtable_004337fc + 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_004337fc + 8" identifier + number_literal)) ;) (expression_statement "iVar2 = (*(code *)puVar4)(param_1,puVar3);" (assignment_expression "iVar2 = (*(code *)puVar4)(param_1,puVar3)" identifier = (call_expression "(*(code *)puVar4)(param_1,puVar3)" (parenthesized_expression "(*(code *)puVar4)" ( (pointer_expression "*(code *)puVar4" * (cast_expression "(code *)puVar4" ( (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);\n    if (iVar2 != 0) {\n                    /* try { // try from 002cffd0 to 002cffef has its CatchHandler @ 002d000c */\n      (*(code *)PTR__S_destroy_c_locale_00432284)(this + 8);\n      (*(code *)PTR__S_create_c_locale_004337c8)(this + 8,param_1,0);\n      return;\n    }\n  }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n    iVar2 = (*(code *)PTR_strcmp_00436644)(param_1,PTR_s__0043226c + 0x7420);\n    if (iVar2 != 0) {\n                    /* try { // try from 002cffd0 to 002cffef has its CatchHandler @ 002d000c */\n      (*(code *)PTR__S_destroy_c_locale_00432284)(this + 8);\n      (*(code *)PTR__S_create_c_locale_004337c8)(this + 8,param_1,0);\n      return;\n    }\n  }" { (expression_statement "iVar2 = (*(code *)PTR_strcmp_00436644)(param_1,PTR_s__0043226c + 0x7420);" (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) )))) ;) (if_statement "if (iVar2 != 0) {\n                    /* try { // try from 002cffd0 to 002cffef has its CatchHandler @ 002d000c */\n      (*(code *)PTR__S_destroy_c_locale_00432284)(this + 8);\n      (*(code *)PTR__S_create_c_locale_004337c8)(this + 8,param_1,0);\n      return;\n    }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n                    /* try { // try from 002cffd0 to 002cffef has its CatchHandler @ 002d000c */\n      (*(code *)PTR__S_destroy_c_locale_00432284)(this + 8);\n      (*(code *)PTR__S_create_c_locale_004337c8)(this + 8,param_1,0);\n      return;\n    }" { comment (expression_statement "(*(code *)PTR__S_destroy_c_locale_00432284)(this + 8);" (call_expression "(*(code *)PTR__S_destroy_c_locale_00432284)(this + 8)" (parenthesized_expression "(*(code *)PTR__S_destroy_c_locale_00432284)" ( (pointer_expression "*(code *)PTR__S_destroy_c_locale_00432284" * (cast_expression "(code *)PTR__S_destroy_c_locale_00432284" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) ))) ;) (expression_statement "(*(code *)PTR__S_create_c_locale_004337c8)(this + 8,param_1,0);" (call_expression "(*(code *)PTR__S_create_c_locale_004337c8)(this + 8,param_1,0)" (parenthesized_expression "(*(code *)PTR__S_create_c_locale_004337c8)" ( (pointer_expression "*(code *)PTR__S_create_c_locale_004337c8" * (cast_expression "(code *)PTR__S_create_c_locale_004337c8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(this + 8,param_1,0)" ( (binary_expression "this + 8" identifier + number_literal) , identifier , number_literal ))) ;) (return_statement "return;" return ;) })) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_002cff14(undefined4 *param_1,undefined4 param_2,int param_3)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  undefined *puVar3;\n  undefined *puVar4;\n  \n  puVar4 = PTR_vtable_00432290 + 8;\n  param_1[1] = (uint)(param_3 != 0);\n                    \n  *param_1 = puVar4;\n  uVar1 = std::locale::facet::_S_get_c_locale();\n  param_1[2] = uVar1;\n  puVar4 = PTR_strcmp_00436644;\n  puVar3 = PTR_DAT_0043226c + -0x7a6c;\n  *param_1 = PTR_vtable_004337fc + 8;\n  iVar2 = (*(code *)puVar4)(param_2,puVar3);\n  if (iVar2 != 0) {\n    iVar2 = (*(code *)PTR_strcmp_00436644)(param_2,PTR_DAT_0043226c + 0x7420);\n    if (iVar2 != 0) {\n                    \n      (*(code *)PTR__S_destroy_c_locale_00432284)(param_1 + 2);\n      (*(code *)PTR__S_create_c_locale_004337c8)(param_1 + 2,param_2,0);\n      return;\n    }\n  }\n  return;\n}\n\n" (function_definition "void FUN_002cff14(undefined4 *param_1,undefined4 param_2,int param_3)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  undefined *puVar3;\n  undefined *puVar4;\n  \n  puVar4 = PTR_vtable_00432290 + 8;\n  param_1[1] = (uint)(param_3 != 0);\n                    \n  *param_1 = puVar4;\n  uVar1 = std::locale::facet::_S_get_c_locale();\n  param_1[2] = uVar1;\n  puVar4 = PTR_strcmp_00436644;\n  puVar3 = PTR_DAT_0043226c + -0x7a6c;\n  *param_1 = PTR_vtable_004337fc + 8;\n  iVar2 = (*(code *)puVar4)(param_2,puVar3);\n  if (iVar2 != 0) {\n    iVar2 = (*(code *)PTR_strcmp_00436644)(param_2,PTR_DAT_0043226c + 0x7420);\n    if (iVar2 != 0) {\n                    \n      (*(code *)PTR__S_destroy_c_locale_00432284)(param_1 + 2);\n      (*(code *)PTR__S_create_c_locale_004337c8)(param_1 + 2,param_2,0);\n      return;\n    }\n  }\n  return;\n}" primitive_type (function_declarator "FUN_002cff14(undefined4 *param_1,undefined4 param_2,int param_3)" identifier (parameter_list "(undefined4 *param_1,undefined4 param_2,int param_3)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  int iVar2;\n  undefined *puVar3;\n  undefined *puVar4;\n  \n  puVar4 = PTR_vtable_00432290 + 8;\n  param_1[1] = (uint)(param_3 != 0);\n                    \n  *param_1 = puVar4;\n  uVar1 = std::locale::facet::_S_get_c_locale();\n  param_1[2] = uVar1;\n  puVar4 = PTR_strcmp_00436644;\n  puVar3 = PTR_DAT_0043226c + -0x7a6c;\n  *param_1 = PTR_vtable_004337fc + 8;\n  iVar2 = (*(code *)puVar4)(param_2,puVar3);\n  if (iVar2 != 0) {\n    iVar2 = (*(code *)PTR_strcmp_00436644)(param_2,PTR_DAT_0043226c + 0x7420);\n    if (iVar2 != 0) {\n                    \n      (*(code *)PTR__S_destroy_c_locale_00432284)(param_1 + 2);\n      (*(code *)PTR__S_create_c_locale_004337c8)(param_1 + 2,param_2,0);\n      return;\n    }\n  }\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "undefined *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (expression_statement "puVar4 = PTR_vtable_00432290 + 8;" (assignment_expression "puVar4 = PTR_vtable_00432290 + 8" identifier = (binary_expression "PTR_vtable_00432290 + 8" identifier + number_literal)) ;) (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) ;) (ERROR "uVar1 = std::" (assignment_expression "uVar1 = std" identifier = identifier) : :) (labeled_statement "locale::facet::_S_get_c_locale();" statement_identifier : (ERROR ":" :) (labeled_statement "facet::_S_get_c_locale();" statement_identifier : (ERROR ":" :) (expression_statement "_S_get_c_locale();" (call_expression "_S_get_c_locale()" identifier (argument_list "()" ( ))) ;))) (expression_statement "param_1[2] = uVar1;" (assignment_expression "param_1[2] = uVar1" (subscript_expression "param_1[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar4 = PTR_strcmp_00436644;" (assignment_expression "puVar4 = PTR_strcmp_00436644" identifier = identifier) ;) (expression_statement "puVar3 = PTR_DAT_0043226c + -0x7a6c;" (assignment_expression "puVar3 = PTR_DAT_0043226c + -0x7a6c" identifier = (binary_expression "PTR_DAT_0043226c + -0x7a6c" identifier + number_literal)) ;) (expression_statement "*param_1 = PTR_vtable_004337fc + 8;" (assignment_expression "*param_1 = PTR_vtable_004337fc + 8" (pointer_expression "*param_1" * identifier) = (binary_expression "PTR_vtable_004337fc + 8" identifier + number_literal)) ;) (expression_statement "iVar2 = (*(code *)puVar4)(param_2,puVar3);" (assignment_expression "iVar2 = (*(code *)puVar4)(param_2,puVar3)" identifier = (call_expression "(*(code *)puVar4)(param_2,puVar3)" (parenthesized_expression "(*(code *)puVar4)" ( (pointer_expression "*(code *)puVar4" * (cast_expression "(code *)puVar4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_2,puVar3)" ( identifier , identifier )))) ;) (if_statement "if (iVar2 != 0) {\n    iVar2 = (*(code *)PTR_strcmp_00436644)(param_2,PTR_DAT_0043226c + 0x7420);\n    if (iVar2 != 0) {\n                    \n      (*(code *)PTR__S_destroy_c_locale_00432284)(param_1 + 2);\n      (*(code *)PTR__S_create_c_locale_004337c8)(param_1 + 2,param_2,0);\n      return;\n    }\n  }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n    iVar2 = (*(code *)PTR_strcmp_00436644)(param_2,PTR_DAT_0043226c + 0x7420);\n    if (iVar2 != 0) {\n                    \n      (*(code *)PTR__S_destroy_c_locale_00432284)(param_1 + 2);\n      (*(code *)PTR__S_create_c_locale_004337c8)(param_1 + 2,param_2,0);\n      return;\n    }\n  }" { (expression_statement "iVar2 = (*(code *)PTR_strcmp_00436644)(param_2,PTR_DAT_0043226c + 0x7420);" (assignment_expression "iVar2 = (*(code *)PTR_strcmp_00436644)(param_2,PTR_DAT_0043226c + 0x7420)" identifier = (call_expression "(*(code *)PTR_strcmp_00436644)(param_2,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_2,PTR_DAT_0043226c + 0x7420)" ( identifier , (binary_expression "PTR_DAT_0043226c + 0x7420" identifier + number_literal) )))) ;) (if_statement "if (iVar2 != 0) {\n                    \n      (*(code *)PTR__S_destroy_c_locale_00432284)(param_1 + 2);\n      (*(code *)PTR__S_create_c_locale_004337c8)(param_1 + 2,param_2,0);\n      return;\n    }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n                    \n      (*(code *)PTR__S_destroy_c_locale_00432284)(param_1 + 2);\n      (*(code *)PTR__S_create_c_locale_004337c8)(param_1 + 2,param_2,0);\n      return;\n    }" { (expression_statement "(*(code *)PTR__S_destroy_c_locale_00432284)(param_1 + 2);" (call_expression "(*(code *)PTR__S_destroy_c_locale_00432284)(param_1 + 2)" (parenthesized_expression "(*(code *)PTR__S_destroy_c_locale_00432284)" ( (pointer_expression "*(code *)PTR__S_destroy_c_locale_00432284" * (cast_expression "(code *)PTR__S_destroy_c_locale_00432284" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1 + 2)" ( (binary_expression "param_1 + 2" identifier + number_literal) ))) ;) (expression_statement "(*(code *)PTR__S_create_c_locale_004337c8)(param_1 + 2,param_2,0);" (call_expression "(*(code *)PTR__S_create_c_locale_004337c8)(param_1 + 2,param_2,0)" (parenthesized_expression "(*(code *)PTR__S_create_c_locale_004337c8)" ( (pointer_expression "*(code *)PTR__S_create_c_locale_004337c8" * (cast_expression "(code *)PTR__S_create_c_locale_004337c8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1 + 2,param_2,0)" ( (binary_expression "param_1 + 2" identifier + number_literal) , identifier , 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 IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (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) ;) (ERROR (assignment_expression IDENT = IDENT) : :) (labeled_statement statement_identifier : (ERROR :) (labeled_statement statement_identifier : (ERROR :) (expression_statement (call_expression 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 IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , (binary_expression IDENT + LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) , IDENT , LIT ))) ;) (return_statement return ;) })) })) (return_statement return ;) })))
(function_definition "void FUN_002cff14(undefined4 *param_1,undefined4 param_2,int param_3)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  undefined *puVar3;\n  undefined *puVar4;\n  \n  puVar4 = PTR_vtable_00432290 + 8;\n  param_1[1] = (uint)(param_3 != 0);\n                    \n  *param_1 = puVar4;\n  uVar1 = std::locale::facet::_S_get_c_locale();\n  param_1[2] = uVar1;\n  puVar4 = PTR_strcmp_00436644;\n  puVar3 = PTR_DAT_0043226c + -0x7a6c;\n  *param_1 = PTR_vtable_004337fc + 8;\n  iVar2 = (*(code *)puVar4)(param_2,puVar3);\n  if (iVar2 != 0) {\n    iVar2 = (*(code *)PTR_strcmp_00436644)(param_2,PTR_DAT_0043226c + 0x7420);\n    if (iVar2 != 0) {\n                    \n      (*(code *)PTR__S_destroy_c_locale_00432284)(param_1 + 2);\n      (*(code *)PTR__S_create_c_locale_004337c8)(param_1 + 2,param_2,0);\n      return;\n    }\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_002cff14(undefined4 *param_1,undefined4 param_2,int param_3)" (identifier "FUN_002cff14") (parameter_list "(undefined4 *param_1,undefined4 param_2,int param_3)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  int iVar2;\n  undefined *puVar3;\n  undefined *puVar4;\n  \n  puVar4 = PTR_vtable_00432290 + 8;\n  param_1[1] = (uint)(param_3 != 0);\n                    \n  *param_1 = puVar4;\n  uVar1 = std::locale::facet::_S_get_c_locale();\n  param_1[2] = uVar1;\n  puVar4 = PTR_strcmp_00436644;\n  puVar3 = PTR_DAT_0043226c + -0x7a6c;\n  *param_1 = PTR_vtable_004337fc + 8;\n  iVar2 = (*(code *)puVar4)(param_2,puVar3);\n  if (iVar2 != 0) {\n    iVar2 = (*(code *)PTR_strcmp_00436644)(param_2,PTR_DAT_0043226c + 0x7420);\n    if (iVar2 != 0) {\n                    \n      (*(code *)PTR__S_destroy_c_locale_00432284)(param_1 + 2);\n      (*(code *)PTR__S_create_c_locale_004337c8)(param_1 + 2,param_2,0);\n      return;\n    }\n  }\n  return;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "undefined *puVar3;" (type_identifier "undefined") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (declaration "undefined *puVar4;" (type_identifier "undefined") (pointer_declarator "*puVar4" (* "*") (identifier "puVar4")) (; ";")) (expression_statement "puVar4 = PTR_vtable_00432290 + 8;" (assignment_expression "puVar4 = PTR_vtable_00432290 + 8" (identifier "puVar4") (= "=") (binary_expression "PTR_vtable_00432290 + 8" (identifier "PTR_vtable_00432290") (+ "+") (number_literal "8"))) (; ";")) (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")) (; ";")) (ERROR "uVar1 = std::" (assignment_expression "uVar1 = std" (identifier "uVar1") (= "=") (identifier "std")) (: ":") (: ":")) (labeled_statement "locale::facet::_S_get_c_locale();" (statement_identifier "locale") (: ":") (ERROR ":" (: ":")) (labeled_statement "facet::_S_get_c_locale();" (statement_identifier "facet") (: ":") (ERROR ":" (: ":")) (expression_statement "_S_get_c_locale();" (call_expression "_S_get_c_locale()" (identifier "_S_get_c_locale") (argument_list "()" (( "(") () ")"))) (; ";")))) (expression_statement "param_1[2] = uVar1;" (assignment_expression "param_1[2] = uVar1" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "uVar1")) (; ";")) (expression_statement "puVar4 = PTR_strcmp_00436644;" (assignment_expression "puVar4 = PTR_strcmp_00436644" (identifier "puVar4") (= "=") (identifier "PTR_strcmp_00436644")) (; ";")) (expression_statement "puVar3 = PTR_DAT_0043226c + -0x7a6c;" (assignment_expression "puVar3 = PTR_DAT_0043226c + -0x7a6c" (identifier "puVar3") (= "=") (binary_expression "PTR_DAT_0043226c + -0x7a6c" (identifier "PTR_DAT_0043226c") (+ "+") (number_literal "-0x7a6c"))) (; ";")) (expression_statement "*param_1 = PTR_vtable_004337fc + 8;" (assignment_expression "*param_1 = PTR_vtable_004337fc + 8" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (binary_expression "PTR_vtable_004337fc + 8" (identifier "PTR_vtable_004337fc") (+ "+") (number_literal "8"))) (; ";")) (expression_statement "iVar2 = (*(code *)puVar4)(param_2,puVar3);" (assignment_expression "iVar2 = (*(code *)puVar4)(param_2,puVar3)" (identifier "iVar2") (= "=") (call_expression "(*(code *)puVar4)(param_2,puVar3)" (parenthesized_expression "(*(code *)puVar4)" (( "(") (pointer_expression "*(code *)puVar4" (* "*") (cast_expression "(code *)puVar4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar4"))) () ")")) (argument_list "(param_2,puVar3)" (( "(") (identifier "param_2") (, ",") (identifier "puVar3") () ")")))) (; ";")) (if_statement "if (iVar2 != 0) {\n    iVar2 = (*(code *)PTR_strcmp_00436644)(param_2,PTR_DAT_0043226c + 0x7420);\n    if (iVar2 != 0) {\n                    \n      (*(code *)PTR__S_destroy_c_locale_00432284)(param_1 + 2);\n      (*(code *)PTR__S_create_c_locale_004337c8)(param_1 + 2,param_2,0);\n      return;\n    }\n  }" (if "if") (parenthesized_expression "(iVar2 != 0)" (( "(") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    iVar2 = (*(code *)PTR_strcmp_00436644)(param_2,PTR_DAT_0043226c + 0x7420);\n    if (iVar2 != 0) {\n                    \n      (*(code *)PTR__S_destroy_c_locale_00432284)(param_1 + 2);\n      (*(code *)PTR__S_create_c_locale_004337c8)(param_1 + 2,param_2,0);\n      return;\n    }\n  }" ({ "{") (expression_statement "iVar2 = (*(code *)PTR_strcmp_00436644)(param_2,PTR_DAT_0043226c + 0x7420);" (assignment_expression "iVar2 = (*(code *)PTR_strcmp_00436644)(param_2,PTR_DAT_0043226c + 0x7420)" (identifier "iVar2") (= "=") (call_expression "(*(code *)PTR_strcmp_00436644)(param_2,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_2,PTR_DAT_0043226c + 0x7420)" (( "(") (identifier "param_2") (, ",") (binary_expression "PTR_DAT_0043226c + 0x7420" (identifier "PTR_DAT_0043226c") (+ "+") (number_literal "0x7420")) () ")")))) (; ";")) (if_statement "if (iVar2 != 0) {\n                    \n      (*(code *)PTR__S_destroy_c_locale_00432284)(param_1 + 2);\n      (*(code *)PTR__S_create_c_locale_004337c8)(param_1 + 2,param_2,0);\n      return;\n    }" (if "if") (parenthesized_expression "(iVar2 != 0)" (( "(") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                    \n      (*(code *)PTR__S_destroy_c_locale_00432284)(param_1 + 2);\n      (*(code *)PTR__S_create_c_locale_004337c8)(param_1 + 2,param_2,0);\n      return;\n    }" ({ "{") (expression_statement "(*(code *)PTR__S_destroy_c_locale_00432284)(param_1 + 2);" (call_expression "(*(code *)PTR__S_destroy_c_locale_00432284)(param_1 + 2)" (parenthesized_expression "(*(code *)PTR__S_destroy_c_locale_00432284)" (( "(") (pointer_expression "*(code *)PTR__S_destroy_c_locale_00432284" (* "*") (cast_expression "(code *)PTR__S_destroy_c_locale_00432284" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR__S_destroy_c_locale_00432284"))) () ")")) (argument_list "(param_1 + 2)" (( "(") (binary_expression "param_1 + 2" (identifier "param_1") (+ "+") (number_literal "2")) () ")"))) (; ";")) (expression_statement "(*(code *)PTR__S_create_c_locale_004337c8)(param_1 + 2,param_2,0);" (call_expression "(*(code *)PTR__S_create_c_locale_004337c8)(param_1 + 2,param_2,0)" (parenthesized_expression "(*(code *)PTR__S_create_c_locale_004337c8)" (( "(") (pointer_expression "*(code *)PTR__S_create_c_locale_004337c8" (* "*") (cast_expression "(code *)PTR__S_create_c_locale_004337c8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR__S_create_c_locale_004337c8"))) () ")")) (argument_list "(param_1 + 2,param_2,0)" (( "(") (binary_expression "param_1 + 2" (identifier "param_1") (+ "+") (number_literal "2")) (, ",") (identifier "param_2") (, ",") (number_literal "0") () ")"))) (; ";")) (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: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (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))) (ERROR (assignment_expression left: (identifier) right: (identifier))) (labeled_statement label: (statement_identifier) (ERROR) (labeled_statement label: (statement_identifier) (ERROR) (expression_statement (call_expression function: (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: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (binary_expression left: (identifier) right: (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (identifier) (number_literal)))) (return_statement))))) (return_statement))))

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

{
  undefined4 uVar1;
  int iVar2;
  undefined *puVar3;
  undefined *puVar4;
  
  puVar4 = PTR_vtable_00432290 + 8;
  param_1[1] = (uint)(param_3 != 0);
                    /* try { // try from 002cff58 to 002cff5f has its CatchHandler @ 002d0044 */
  *param_1 = puVar4;
  uVar1 = std::locale::facet::_S_get_c_locale();
  param_1[2] = uVar1;
  puVar4 = PTR_strcmp_00436644;
  puVar3 = PTR_DAT_0043226c + -0x7a6c;
  *param_1 = PTR_vtable_004337fc + 8;
  iVar2 = (*(code *)puVar4)(param_2,puVar3);
  if (iVar2 != 0) {
    iVar2 = (*(code *)PTR_strcmp_00436644)(param_2,PTR_DAT_0043226c + 0x7420);
    if (iVar2 != 0) {
                    /* try { // try from 002cffd0 to 002cffef has its CatchHandler @ 002d000c */
      (*(code *)PTR__S_destroy_c_locale_00432284)(param_1 + 2);
      (*(code *)PTR__S_create_c_locale_004337c8)(param_1 + 2,param_2,0);
      return;
    }
  }
  return;
}

