
/* void std::__facet_shims::__collate_transform<wchar_t>(std::integral_constant<bool, true>,
   std::locale::facet const*, std::__facet_shims::__any_string&, wchar_t const*, wchar_t const*) */

void std::__facet_shims::__collate_transform<wchar_t>
               (undefined4 param_1,int *param_2,int *param_3,undefined4 param_4,undefined4 param_5)

{
  int in_t9;
  code *pcVar1;
  undefined1 *local_20;
  int local_1c;
  undefined1 auStack_18 [16];
  
  (**(code **)(*param_2 + 0xc))(&local_20,param_2,param_4,param_5);
  if ((code *)param_3[6] != (code *)0x0) {
                    /* try { // try from 0037de5c to 0037de97 has its CatchHandler @ 0037ded0 */
    (*(code *)param_3[6])(param_3);
  }
  pcVar1 = *(code **)(in_t9 + 0x14747c);
  *param_3 = (int)(param_3 + 2);
  (*pcVar1)(param_3,local_20,local_20 + local_1c * 4,0);
  param_3[6] = *(int *)(in_t9 + 0x1434b4) + -0x53e4;
  if (local_20 != auStack_18) {
    (**(code **)(in_t9 + 0x1434ec))();
  }
  return;
}



/* void std::__facet_shims::__collate_transform<wchar_t>(std::integral_constant<bool, true>,
   std::locale::facet const*, std::__facet_shims::__any_string&, wchar_t const*, wchar_t const*) */

void std::__facet_shims::__collate_transform<wchar_t>
               (undefined4 param_1,int *param_2,int *param_3,undefined4 param_4,undefined4 param_5)

{
  int in_t9;
  code *pcVar1;
  undefined1 *local_20;
  int local_1c;
  undefined1 auStack_18 [16];
  
  (**(code **)(*param_2 + 0xc))(&local_20,param_2,param_4,param_5);
  if ((code *)param_3[6] != (code *)0x0) {
                    /* try { // try from 0037de5c to 0037de97 has its CatchHandler @ 0037ded0 */
    (*(code *)param_3[6])(param_3);
  }
  pcVar1 = *(code **)(in_t9 + 0x14747c);
  *param_3 = (int)(param_3 + 2);
  (*pcVar1)(param_3,local_20,local_20 + local_1c * 4,0);
  param_3[6] = *(int *)(in_t9 + 0x1434b4) + -0x53e4;
  if (local_20 != auStack_18) {
    (**(code **)(in_t9 + 0x1434ec))();
  }
  return;
}


lui gp,0x15
addiu gp,gp,-0x4bd0
addu gp,gp,t9
lw v0,0x0(a1)
addiu sp,sp,-0x38
or v1,a3,zero
lw a3,0x48(sp)
lw t9,0xc(v0)
sw s0,0x30(sp)
or s0,a2,zero
sw a0,0x38(sp)
addiu a0,sp,0x18
sw gp,0x10(sp)
sw ra,0x34(sp)
jalr t9
_or a2,v1,zero
lw t9,0x18(s0)
beq t9,zero,0x0037de68
_lw gp,0x10(sp)
jalr t9
_or a0,s0,zero
lw gp,0x10(sp)
lw v0,0x1c(sp)
or a3,zero,zero
lw a2,0x18(sp)
addiu v1,s0,0x8
lw t9,-0x3fb4(gp)
sll a3,a3,0x18
sll v0,v0,0x2
sw v1,0x0(s0)
or a1,a2,zero
addu a2,a2,v0
jalr t9
_or a0,s0,zero
lw gp,0x10(sp)
lw a0,0x18(sp)
lw v0,-0x7f7c(gp)
addiu v0,v0,-0x53e4
sw v0,0x18(s0)
addiu v0,sp,0x20
beq a0,v0,0x0037dec0
_lw t9,-0x7f44(gp)
jalr t9
_nop
lw ra,0x34(sp)
lw s0,0x30(sp)
jr ra
_addiu sp,sp,0x38
(translation_unit "/* void std::__facet_shims::__collate_transform<wchar_t>(std::integral_constant<bool, true>,\n   std::locale::facet const*, std::__facet_shims::__any_string&, wchar_t const*, wchar_t const*) */\n\nvoid std::__facet_shims::__collate_transform<wchar_t>\n               (undefined4 param_1,int *param_2,int *param_3,undefined4 param_4,undefined4 param_5)\n\n{\n  int in_t9;\n  code *pcVar1;\n  undefined1 *local_20;\n  int local_1c;\n  undefined1 auStack_18 [16];\n  \n  (**(code **)(*param_2 + 0xc))(&local_20,param_2,param_4,param_5);\n  if ((code *)param_3[6] != (code *)0x0) {\n                    /* try { // try from 0037de5c to 0037de97 has its CatchHandler @ 0037ded0 */\n    (*(code *)param_3[6])(param_3);\n  }\n  pcVar1 = *(code **)(in_t9 + 0x14747c);\n  *param_3 = (int)(param_3 + 2);\n  (*pcVar1)(param_3,local_20,local_20 + local_1c * 4,0);\n  param_3[6] = *(int *)(in_t9 + 0x1434b4) + -0x53e4;\n  if (local_20 != auStack_18) {\n    (**(code **)(in_t9 + 0x1434ec))();\n  }\n  return;\n}\n\n" comment (function_definition "void std::__facet_shims::__collate_transform<wchar_t>\n               (undefined4 param_1,int *param_2,int *param_3,undefined4 param_4,undefined4 param_5)\n\n{\n  int in_t9;\n  code *pcVar1;\n  undefined1 *local_20;\n  int local_1c;\n  undefined1 auStack_18 [16];\n  \n  (**(code **)(*param_2 + 0xc))(&local_20,param_2,param_4,param_5);\n  if ((code *)param_3[6] != (code *)0x0) {\n                    /* try { // try from 0037de5c to 0037de97 has its CatchHandler @ 0037ded0 */\n    (*(code *)param_3[6])(param_3);\n  }\n  pcVar1 = *(code **)(in_t9 + 0x14747c);\n  *param_3 = (int)(param_3 + 2);\n  (*pcVar1)(param_3,local_20,local_20 + local_1c * 4,0);\n  param_3[6] = *(int *)(in_t9 + 0x1434b4) + -0x53e4;\n  if (local_20 != auStack_18) {\n    (**(code **)(in_t9 + 0x1434ec))();\n  }\n  return;\n}" primitive_type (ERROR "std::__facet_shims::__collate_transform<" identifier : : identifier : : identifier <) (function_declarator "wchar_t>\n               (undefined4 param_1,int *param_2,int *param_3,undefined4 param_4,undefined4 param_5)" identifier (ERROR ">" >) (parameter_list "(undefined4 param_1,int *param_2,int *param_3,undefined4 param_4,undefined4 param_5)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "int *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "undefined4 param_4" type_identifier identifier) , (parameter_declaration "undefined4 param_5" type_identifier identifier) ))) (compound_statement "{\n  int in_t9;\n  code *pcVar1;\n  undefined1 *local_20;\n  int local_1c;\n  undefined1 auStack_18 [16];\n  \n  (**(code **)(*param_2 + 0xc))(&local_20,param_2,param_4,param_5);\n  if ((code *)param_3[6] != (code *)0x0) {\n                    /* try { // try from 0037de5c to 0037de97 has its CatchHandler @ 0037ded0 */\n    (*(code *)param_3[6])(param_3);\n  }\n  pcVar1 = *(code **)(in_t9 + 0x14747c);\n  *param_3 = (int)(param_3 + 2);\n  (*pcVar1)(param_3,local_20,local_20 + local_1c * 4,0);\n  param_3[6] = *(int *)(in_t9 + 0x1434b4) + -0x53e4;\n  if (local_20 != auStack_18) {\n    (**(code **)(in_t9 + 0x1434ec))();\n  }\n  return;\n}" { (declaration "int in_t9;" primitive_type identifier ;) (declaration "code *pcVar1;" type_identifier (pointer_declarator "*pcVar1" * identifier) ;) (declaration "undefined1 *local_20;" type_identifier (pointer_declarator "*local_20" * identifier) ;) (declaration "int local_1c;" primitive_type identifier ;) (declaration "undefined1 auStack_18 [16];" type_identifier (array_declarator "auStack_18 [16]" identifier [ number_literal ]) ;) (expression_statement "(**(code **)(*param_2 + 0xc))(&local_20,param_2,param_4,param_5);" (call_expression "(**(code **)(*param_2 + 0xc))(&local_20,param_2,param_4,param_5)" (parenthesized_expression "(**(code **)(*param_2 + 0xc))" ( (pointer_expression "**(code **)(*param_2 + 0xc)" * (pointer_expression "*(code **)(*param_2 + 0xc)" * (cast_expression "(code **)(*param_2 + 0xc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_2 + 0xc)" ( (binary_expression "*param_2 + 0xc" (pointer_expression "*param_2" * identifier) + number_literal) ))))) )) (argument_list "(&local_20,param_2,param_4,param_5)" ( (pointer_expression "&local_20" & identifier) , identifier , identifier , identifier ))) ;) (if_statement "if ((code *)param_3[6] != (code *)0x0) {\n                    /* try { // try from 0037de5c to 0037de97 has its CatchHandler @ 0037ded0 */\n    (*(code *)param_3[6])(param_3);\n  }" if (parenthesized_expression "((code *)param_3[6] != (code *)0x0)" ( (binary_expression "(code *)param_3[6] != (code *)0x0" (cast_expression "(code *)param_3[6]" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_3[6]" identifier [ number_literal ])) != (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* try { // try from 0037de5c to 0037de97 has its CatchHandler @ 0037ded0 */\n    (*(code *)param_3[6])(param_3);\n  }" { comment (expression_statement "(*(code *)param_3[6])(param_3);" (call_expression "(*(code *)param_3[6])(param_3)" (parenthesized_expression "(*(code *)param_3[6])" ( (pointer_expression "*(code *)param_3[6]" * (cast_expression "(code *)param_3[6]" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_3[6]" identifier [ number_literal ]))) )) (argument_list "(param_3)" ( identifier ))) ;) })) (expression_statement "pcVar1 = *(code **)(in_t9 + 0x14747c);" (assignment_expression "pcVar1 = *(code **)(in_t9 + 0x14747c)" identifier = (pointer_expression "*(code **)(in_t9 + 0x14747c)" * (cast_expression "(code **)(in_t9 + 0x14747c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(in_t9 + 0x14747c)" ( (binary_expression "in_t9 + 0x14747c" identifier + number_literal) ))))) ;) (expression_statement "*param_3 = (int)(param_3 + 2);" (assignment_expression "*param_3 = (int)(param_3 + 2)" (pointer_expression "*param_3" * identifier) = (cast_expression "(int)(param_3 + 2)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(param_3 + 2)" ( (binary_expression "param_3 + 2" identifier + number_literal) )))) ;) (expression_statement "(*pcVar1)(param_3,local_20,local_20 + local_1c * 4,0);" (call_expression "(*pcVar1)(param_3,local_20,local_20 + local_1c * 4,0)" (parenthesized_expression "(*pcVar1)" ( (pointer_expression "*pcVar1" * identifier) )) (argument_list "(param_3,local_20,local_20 + local_1c * 4,0)" ( identifier , identifier , (binary_expression "local_20 + local_1c * 4" identifier + (binary_expression "local_1c * 4" identifier * number_literal)) , number_literal ))) ;) (expression_statement "param_3[6] = *(int *)(in_t9 + 0x1434b4) + -0x53e4;" (assignment_expression "param_3[6] = *(int *)(in_t9 + 0x1434b4) + -0x53e4" (subscript_expression "param_3[6]" identifier [ number_literal ]) = (binary_expression "*(int *)(in_t9 + 0x1434b4) + -0x53e4" (pointer_expression "*(int *)(in_t9 + 0x1434b4)" * (cast_expression "(int *)(in_t9 + 0x1434b4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_t9 + 0x1434b4)" ( (binary_expression "in_t9 + 0x1434b4" identifier + number_literal) )))) + number_literal)) ;) (if_statement "if (local_20 != auStack_18) {\n    (**(code **)(in_t9 + 0x1434ec))();\n  }" if (parenthesized_expression "(local_20 != auStack_18)" ( (binary_expression "local_20 != auStack_18" identifier != identifier) )) (compound_statement "{\n    (**(code **)(in_t9 + 0x1434ec))();\n  }" { (expression_statement "(**(code **)(in_t9 + 0x1434ec))();" (call_expression "(**(code **)(in_t9 + 0x1434ec))()" (parenthesized_expression "(**(code **)(in_t9 + 0x1434ec))" ( (pointer_expression "**(code **)(in_t9 + 0x1434ec)" * (pointer_expression "*(code **)(in_t9 + 0x1434ec)" * (cast_expression "(code **)(in_t9 + 0x1434ec)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(in_t9 + 0x1434ec)" ( (binary_expression "in_t9 + 0x1434ec" identifier + number_literal) ))))) )) (argument_list "()" ( ))) ;) })) (return_statement "return;" return ;) })))
(translation_unit "/* void std::__facet_shims::__collate_transform<wchar_t>(std::integral_constant<bool, true>,\n   std::locale::facet const*, std::__facet_shims::__any_string&, wchar_t const*, wchar_t const*) */\n\nvoid std::__facet_shims::__collate_transform<wchar_t>\n               (undefined4 param_1,int *param_2,int *param_3,undefined4 param_4,undefined4 param_5)\n\n{\n  int in_t9;\n  code *pcVar1;\n  undefined1 *local_20;\n  int local_1c;\n  undefined1 auStack_18 [16];\n  \n  (**(code **)(*param_2 + 0xc))(&local_20,param_2,param_4,param_5);\n  if ((code *)param_3[6] != (code *)0x0) {\n                    /* try { // try from 0037de5c to 0037de97 has its CatchHandler @ 0037ded0 */\n    (*(code *)param_3[6])(param_3);\n  }\n  pcVar1 = *(code **)(in_t9 + 0x14747c);\n  *param_3 = (int)(param_3 + 2);\n  (*pcVar1)(param_3,local_20,local_20 + local_1c * 4,0);\n  param_3[6] = *(int *)(in_t9 + 0x1434b4) + -0x53e4;\n  if (local_20 != auStack_18) {\n    (**(code **)(in_t9 + 0x1434ec))();\n  }\n  return;\n}\n\n" comment (function_definition "void std::__facet_shims::__collate_transform<wchar_t>\n               (undefined4 param_1,int *param_2,int *param_3,undefined4 param_4,undefined4 param_5)\n\n{\n  int in_t9;\n  code *pcVar1;\n  undefined1 *local_20;\n  int local_1c;\n  undefined1 auStack_18 [16];\n  \n  (**(code **)(*param_2 + 0xc))(&local_20,param_2,param_4,param_5);\n  if ((code *)param_3[6] != (code *)0x0) {\n                    /* try { // try from 0037de5c to 0037de97 has its CatchHandler @ 0037ded0 */\n    (*(code *)param_3[6])(param_3);\n  }\n  pcVar1 = *(code **)(in_t9 + 0x14747c);\n  *param_3 = (int)(param_3 + 2);\n  (*pcVar1)(param_3,local_20,local_20 + local_1c * 4,0);\n  param_3[6] = *(int *)(in_t9 + 0x1434b4) + -0x53e4;\n  if (local_20 != auStack_18) {\n    (**(code **)(in_t9 + 0x1434ec))();\n  }\n  return;\n}" primitive_type (ERROR "std::__facet_shims::__collate_transform<" identifier : : identifier : : identifier <) (function_declarator "wchar_t>\n               (undefined4 param_1,int *param_2,int *param_3,undefined4 param_4,undefined4 param_5)" identifier (ERROR ">" >) (parameter_list "(undefined4 param_1,int *param_2,int *param_3,undefined4 param_4,undefined4 param_5)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "int *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "undefined4 param_4" type_identifier identifier) , (parameter_declaration "undefined4 param_5" type_identifier identifier) ))) (compound_statement "{\n  int in_t9;\n  code *pcVar1;\n  undefined1 *local_20;\n  int local_1c;\n  undefined1 auStack_18 [16];\n  \n  (**(code **)(*param_2 + 0xc))(&local_20,param_2,param_4,param_5);\n  if ((code *)param_3[6] != (code *)0x0) {\n                    /* try { // try from 0037de5c to 0037de97 has its CatchHandler @ 0037ded0 */\n    (*(code *)param_3[6])(param_3);\n  }\n  pcVar1 = *(code **)(in_t9 + 0x14747c);\n  *param_3 = (int)(param_3 + 2);\n  (*pcVar1)(param_3,local_20,local_20 + local_1c * 4,0);\n  param_3[6] = *(int *)(in_t9 + 0x1434b4) + -0x53e4;\n  if (local_20 != auStack_18) {\n    (**(code **)(in_t9 + 0x1434ec))();\n  }\n  return;\n}" { (declaration "int in_t9;" primitive_type identifier ;) (declaration "code *pcVar1;" type_identifier (pointer_declarator "*pcVar1" * identifier) ;) (declaration "undefined1 *local_20;" type_identifier (pointer_declarator "*local_20" * identifier) ;) (declaration "int local_1c;" primitive_type identifier ;) (declaration "undefined1 auStack_18 [16];" type_identifier (array_declarator "auStack_18 [16]" identifier [ number_literal ]) ;) (expression_statement "(**(code **)(*param_2 + 0xc))(&local_20,param_2,param_4,param_5);" (call_expression "(**(code **)(*param_2 + 0xc))(&local_20,param_2,param_4,param_5)" (parenthesized_expression "(**(code **)(*param_2 + 0xc))" ( (pointer_expression "**(code **)(*param_2 + 0xc)" * (pointer_expression "*(code **)(*param_2 + 0xc)" * (cast_expression "(code **)(*param_2 + 0xc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_2 + 0xc)" ( (binary_expression "*param_2 + 0xc" (pointer_expression "*param_2" * identifier) + number_literal) ))))) )) (argument_list "(&local_20,param_2,param_4,param_5)" ( (pointer_expression "&local_20" & identifier) , identifier , identifier , identifier ))) ;) (if_statement "if ((code *)param_3[6] != (code *)0x0) {\n                    /* try { // try from 0037de5c to 0037de97 has its CatchHandler @ 0037ded0 */\n    (*(code *)param_3[6])(param_3);\n  }" if (parenthesized_expression "((code *)param_3[6] != (code *)0x0)" ( (binary_expression "(code *)param_3[6] != (code *)0x0" (cast_expression "(code *)param_3[6]" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_3[6]" identifier [ number_literal ])) != (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* try { // try from 0037de5c to 0037de97 has its CatchHandler @ 0037ded0 */\n    (*(code *)param_3[6])(param_3);\n  }" { comment (expression_statement "(*(code *)param_3[6])(param_3);" (call_expression "(*(code *)param_3[6])(param_3)" (parenthesized_expression "(*(code *)param_3[6])" ( (pointer_expression "*(code *)param_3[6]" * (cast_expression "(code *)param_3[6]" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_3[6]" identifier [ number_literal ]))) )) (argument_list "(param_3)" ( identifier ))) ;) })) (expression_statement "pcVar1 = *(code **)(in_t9 + 0x14747c);" (assignment_expression "pcVar1 = *(code **)(in_t9 + 0x14747c)" identifier = (pointer_expression "*(code **)(in_t9 + 0x14747c)" * (cast_expression "(code **)(in_t9 + 0x14747c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(in_t9 + 0x14747c)" ( (binary_expression "in_t9 + 0x14747c" identifier + number_literal) ))))) ;) (expression_statement "*param_3 = (int)(param_3 + 2);" (assignment_expression "*param_3 = (int)(param_3 + 2)" (pointer_expression "*param_3" * identifier) = (cast_expression "(int)(param_3 + 2)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(param_3 + 2)" ( (binary_expression "param_3 + 2" identifier + number_literal) )))) ;) (expression_statement "(*pcVar1)(param_3,local_20,local_20 + local_1c * 4,0);" (call_expression "(*pcVar1)(param_3,local_20,local_20 + local_1c * 4,0)" (parenthesized_expression "(*pcVar1)" ( (pointer_expression "*pcVar1" * identifier) )) (argument_list "(param_3,local_20,local_20 + local_1c * 4,0)" ( identifier , identifier , (binary_expression "local_20 + local_1c * 4" identifier + (binary_expression "local_1c * 4" identifier * number_literal)) , number_literal ))) ;) (expression_statement "param_3[6] = *(int *)(in_t9 + 0x1434b4) + -0x53e4;" (assignment_expression "param_3[6] = *(int *)(in_t9 + 0x1434b4) + -0x53e4" (subscript_expression "param_3[6]" identifier [ number_literal ]) = (binary_expression "*(int *)(in_t9 + 0x1434b4) + -0x53e4" (pointer_expression "*(int *)(in_t9 + 0x1434b4)" * (cast_expression "(int *)(in_t9 + 0x1434b4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_t9 + 0x1434b4)" ( (binary_expression "in_t9 + 0x1434b4" identifier + number_literal) )))) + number_literal)) ;) (if_statement "if (local_20 != auStack_18) {\n    (**(code **)(in_t9 + 0x1434ec))();\n  }" if (parenthesized_expression "(local_20 != auStack_18)" ( (binary_expression "local_20 != auStack_18" identifier != identifier) )) (compound_statement "{\n    (**(code **)(in_t9 + 0x1434ec))();\n  }" { (expression_statement "(**(code **)(in_t9 + 0x1434ec))();" (call_expression "(**(code **)(in_t9 + 0x1434ec))()" (parenthesized_expression "(**(code **)(in_t9 + 0x1434ec))" ( (pointer_expression "**(code **)(in_t9 + 0x1434ec)" * (pointer_expression "*(code **)(in_t9 + 0x1434ec)" * (cast_expression "(code **)(in_t9 + 0x1434ec)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(in_t9 + 0x1434ec)" ( (binary_expression "in_t9 + 0x1434ec" identifier + number_literal) ))))) )) (argument_list "()" ( ))) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void std::__facet_shims::__collate_transform<wchar_t>\n               (undefined4 param_1,int *param_2,int *param_3,undefined4 param_4,undefined4 param_5)\n\n{\n  int in_t9;\n  code *pcVar1;\n  undefined1 *local_20;\n  int local_1c;\n  undefined1 auStack_18 [16];\n  \n  (**(code **)(*param_2 + 0xc))(&local_20,param_2,param_4,param_5);\n  if ((code *)param_3[6] != (code *)0x0) {\n                    \n    (*(code *)param_3[6])(param_3);\n  }\n  pcVar1 = *(code **)(in_t9 + 0x14747c);\n  *param_3 = (int)(param_3 + 2);\n  (*pcVar1)(param_3,local_20,local_20 + local_1c * 4,0);\n  param_3[6] = *(int *)(in_t9 + 0x1434b4) + -0x53e4;\n  if (local_20 != auStack_18) {\n    (**(code **)(in_t9 + 0x1434ec))();\n  }\n  return;\n}\n\n" (function_definition "void std::__facet_shims::__collate_transform<wchar_t>\n               (undefined4 param_1,int *param_2,int *param_3,undefined4 param_4,undefined4 param_5)\n\n{\n  int in_t9;\n  code *pcVar1;\n  undefined1 *local_20;\n  int local_1c;\n  undefined1 auStack_18 [16];\n  \n  (**(code **)(*param_2 + 0xc))(&local_20,param_2,param_4,param_5);\n  if ((code *)param_3[6] != (code *)0x0) {\n                    \n    (*(code *)param_3[6])(param_3);\n  }\n  pcVar1 = *(code **)(in_t9 + 0x14747c);\n  *param_3 = (int)(param_3 + 2);\n  (*pcVar1)(param_3,local_20,local_20 + local_1c * 4,0);\n  param_3[6] = *(int *)(in_t9 + 0x1434b4) + -0x53e4;\n  if (local_20 != auStack_18) {\n    (**(code **)(in_t9 + 0x1434ec))();\n  }\n  return;\n}" primitive_type (ERROR "std::__facet_shims::__collate_transform<" identifier : : identifier : : identifier <) (function_declarator "wchar_t>\n               (undefined4 param_1,int *param_2,int *param_3,undefined4 param_4,undefined4 param_5)" identifier (ERROR ">" >) (parameter_list "(undefined4 param_1,int *param_2,int *param_3,undefined4 param_4,undefined4 param_5)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "int *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "undefined4 param_4" type_identifier identifier) , (parameter_declaration "undefined4 param_5" type_identifier identifier) ))) (compound_statement "{\n  int in_t9;\n  code *pcVar1;\n  undefined1 *local_20;\n  int local_1c;\n  undefined1 auStack_18 [16];\n  \n  (**(code **)(*param_2 + 0xc))(&local_20,param_2,param_4,param_5);\n  if ((code *)param_3[6] != (code *)0x0) {\n                    \n    (*(code *)param_3[6])(param_3);\n  }\n  pcVar1 = *(code **)(in_t9 + 0x14747c);\n  *param_3 = (int)(param_3 + 2);\n  (*pcVar1)(param_3,local_20,local_20 + local_1c * 4,0);\n  param_3[6] = *(int *)(in_t9 + 0x1434b4) + -0x53e4;\n  if (local_20 != auStack_18) {\n    (**(code **)(in_t9 + 0x1434ec))();\n  }\n  return;\n}" { (declaration "int in_t9;" primitive_type identifier ;) (declaration "code *pcVar1;" type_identifier (pointer_declarator "*pcVar1" * identifier) ;) (declaration "undefined1 *local_20;" type_identifier (pointer_declarator "*local_20" * identifier) ;) (declaration "int local_1c;" primitive_type identifier ;) (declaration "undefined1 auStack_18 [16];" type_identifier (array_declarator "auStack_18 [16]" identifier [ number_literal ]) ;) (expression_statement "(**(code **)(*param_2 + 0xc))(&local_20,param_2,param_4,param_5);" (call_expression "(**(code **)(*param_2 + 0xc))(&local_20,param_2,param_4,param_5)" (parenthesized_expression "(**(code **)(*param_2 + 0xc))" ( (pointer_expression "**(code **)(*param_2 + 0xc)" * (pointer_expression "*(code **)(*param_2 + 0xc)" * (cast_expression "(code **)(*param_2 + 0xc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_2 + 0xc)" ( (binary_expression "*param_2 + 0xc" (pointer_expression "*param_2" * identifier) + number_literal) ))))) )) (argument_list "(&local_20,param_2,param_4,param_5)" ( (pointer_expression "&local_20" & identifier) , identifier , identifier , identifier ))) ;) (if_statement "if ((code *)param_3[6] != (code *)0x0) {\n                    \n    (*(code *)param_3[6])(param_3);\n  }" if (parenthesized_expression "((code *)param_3[6] != (code *)0x0)" ( (binary_expression "(code *)param_3[6] != (code *)0x0" (cast_expression "(code *)param_3[6]" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_3[6]" identifier [ number_literal ])) != (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    \n    (*(code *)param_3[6])(param_3);\n  }" { (expression_statement "(*(code *)param_3[6])(param_3);" (call_expression "(*(code *)param_3[6])(param_3)" (parenthesized_expression "(*(code *)param_3[6])" ( (pointer_expression "*(code *)param_3[6]" * (cast_expression "(code *)param_3[6]" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_3[6]" identifier [ number_literal ]))) )) (argument_list "(param_3)" ( identifier ))) ;) })) (expression_statement "pcVar1 = *(code **)(in_t9 + 0x14747c);" (assignment_expression "pcVar1 = *(code **)(in_t9 + 0x14747c)" identifier = (pointer_expression "*(code **)(in_t9 + 0x14747c)" * (cast_expression "(code **)(in_t9 + 0x14747c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(in_t9 + 0x14747c)" ( (binary_expression "in_t9 + 0x14747c" identifier + number_literal) ))))) ;) (expression_statement "*param_3 = (int)(param_3 + 2);" (assignment_expression "*param_3 = (int)(param_3 + 2)" (pointer_expression "*param_3" * identifier) = (cast_expression "(int)(param_3 + 2)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(param_3 + 2)" ( (binary_expression "param_3 + 2" identifier + number_literal) )))) ;) (expression_statement "(*pcVar1)(param_3,local_20,local_20 + local_1c * 4,0);" (call_expression "(*pcVar1)(param_3,local_20,local_20 + local_1c * 4,0)" (parenthesized_expression "(*pcVar1)" ( (pointer_expression "*pcVar1" * identifier) )) (argument_list "(param_3,local_20,local_20 + local_1c * 4,0)" ( identifier , identifier , (binary_expression "local_20 + local_1c * 4" identifier + (binary_expression "local_1c * 4" identifier * number_literal)) , number_literal ))) ;) (expression_statement "param_3[6] = *(int *)(in_t9 + 0x1434b4) + -0x53e4;" (assignment_expression "param_3[6] = *(int *)(in_t9 + 0x1434b4) + -0x53e4" (subscript_expression "param_3[6]" identifier [ number_literal ]) = (binary_expression "*(int *)(in_t9 + 0x1434b4) + -0x53e4" (pointer_expression "*(int *)(in_t9 + 0x1434b4)" * (cast_expression "(int *)(in_t9 + 0x1434b4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_t9 + 0x1434b4)" ( (binary_expression "in_t9 + 0x1434b4" identifier + number_literal) )))) + number_literal)) ;) (if_statement "if (local_20 != auStack_18) {\n    (**(code **)(in_t9 + 0x1434ec))();\n  }" if (parenthesized_expression "(local_20 != auStack_18)" ( (binary_expression "local_20 != auStack_18" identifier != identifier) )) (compound_statement "{\n    (**(code **)(in_t9 + 0x1434ec))();\n  }" { (expression_statement "(**(code **)(in_t9 + 0x1434ec))();" (call_expression "(**(code **)(in_t9 + 0x1434ec))()" (parenthesized_expression "(**(code **)(in_t9 + 0x1434ec))" ( (pointer_expression "**(code **)(in_t9 + 0x1434ec)" * (pointer_expression "*(code **)(in_t9 + 0x1434ec)" * (cast_expression "(code **)(in_t9 + 0x1434ec)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(in_t9 + 0x1434ec)" ( (binary_expression "in_t9 + 0x1434ec" identifier + number_literal) ))))) )) (argument_list "()" ( ))) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT : : IDENT : : IDENT <) (function_declarator IDENT (ERROR >) (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) )) (argument_list ( (pointer_expression & IDENT) , IDENT , IDENT , IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) )) (argument_list ( IDENT ))) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT , IDENT , (binary_expression IDENT + (binary_expression IDENT * LIT)) , LIT ))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( ))) ;) })) (return_statement return ;) })))
(function_definition "void std::__facet_shims::__collate_transform<wchar_t>\n               (undefined4 param_1,int *param_2,int *param_3,undefined4 param_4,undefined4 param_5)\n\n{\n  int in_t9;\n  code *pcVar1;\n  undefined1 *local_20;\n  int local_1c;\n  undefined1 auStack_18 [16];\n  \n  (**(code **)(*param_2 + 0xc))(&local_20,param_2,param_4,param_5);\n  if ((code *)param_3[6] != (code *)0x0) {\n                    \n    (*(code *)param_3[6])(param_3);\n  }\n  pcVar1 = *(code **)(in_t9 + 0x14747c);\n  *param_3 = (int)(param_3 + 2);\n  (*pcVar1)(param_3,local_20,local_20 + local_1c * 4,0);\n  param_3[6] = *(int *)(in_t9 + 0x1434b4) + -0x53e4;\n  if (local_20 != auStack_18) {\n    (**(code **)(in_t9 + 0x1434ec))();\n  }\n  return;\n}" (primitive_type "void") (ERROR "std::__facet_shims::__collate_transform<" (identifier "std") (: ":") (: ":") (identifier "__facet_shims") (: ":") (: ":") (identifier "__collate_transform") (< "<")) (function_declarator "wchar_t>\n               (undefined4 param_1,int *param_2,int *param_3,undefined4 param_4,undefined4 param_5)" (identifier "wchar_t") (ERROR ">" (> ">")) (parameter_list "(undefined4 param_1,int *param_2,int *param_3,undefined4 param_4,undefined4 param_5)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "int *param_2" (primitive_type "int") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "int *param_3" (primitive_type "int") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) (, ",") (parameter_declaration "undefined4 param_4" (type_identifier "undefined4") (identifier "param_4")) (, ",") (parameter_declaration "undefined4 param_5" (type_identifier "undefined4") (identifier "param_5")) () ")"))) (compound_statement "{\n  int in_t9;\n  code *pcVar1;\n  undefined1 *local_20;\n  int local_1c;\n  undefined1 auStack_18 [16];\n  \n  (**(code **)(*param_2 + 0xc))(&local_20,param_2,param_4,param_5);\n  if ((code *)param_3[6] != (code *)0x0) {\n                    \n    (*(code *)param_3[6])(param_3);\n  }\n  pcVar1 = *(code **)(in_t9 + 0x14747c);\n  *param_3 = (int)(param_3 + 2);\n  (*pcVar1)(param_3,local_20,local_20 + local_1c * 4,0);\n  param_3[6] = *(int *)(in_t9 + 0x1434b4) + -0x53e4;\n  if (local_20 != auStack_18) {\n    (**(code **)(in_t9 + 0x1434ec))();\n  }\n  return;\n}" ({ "{") (declaration "int in_t9;" (primitive_type "int") (identifier "in_t9") (; ";")) (declaration "code *pcVar1;" (type_identifier "code") (pointer_declarator "*pcVar1" (* "*") (identifier "pcVar1")) (; ";")) (declaration "undefined1 *local_20;" (type_identifier "undefined1") (pointer_declarator "*local_20" (* "*") (identifier "local_20")) (; ";")) (declaration "int local_1c;" (primitive_type "int") (identifier "local_1c") (; ";")) (declaration "undefined1 auStack_18 [16];" (type_identifier "undefined1") (array_declarator "auStack_18 [16]" (identifier "auStack_18") ([ "[") (number_literal "16") (] "]")) (; ";")) (expression_statement "(**(code **)(*param_2 + 0xc))(&local_20,param_2,param_4,param_5);" (call_expression "(**(code **)(*param_2 + 0xc))(&local_20,param_2,param_4,param_5)" (parenthesized_expression "(**(code **)(*param_2 + 0xc))" (( "(") (pointer_expression "**(code **)(*param_2 + 0xc)" (* "*") (pointer_expression "*(code **)(*param_2 + 0xc)" (* "*") (cast_expression "(code **)(*param_2 + 0xc)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*param_2 + 0xc)" (( "(") (binary_expression "*param_2 + 0xc" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (+ "+") (number_literal "0xc")) () ")"))))) () ")")) (argument_list "(&local_20,param_2,param_4,param_5)" (( "(") (pointer_expression "&local_20" (& "&") (identifier "local_20")) (, ",") (identifier "param_2") (, ",") (identifier "param_4") (, ",") (identifier "param_5") () ")"))) (; ";")) (if_statement "if ((code *)param_3[6] != (code *)0x0) {\n                    \n    (*(code *)param_3[6])(param_3);\n  }" (if "if") (parenthesized_expression "((code *)param_3[6] != (code *)0x0)" (( "(") (binary_expression "(code *)param_3[6] != (code *)0x0" (cast_expression "(code *)param_3[6]" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_3[6]" (identifier "param_3") ([ "[") (number_literal "6") (] "]"))) (!= "!=") (cast_expression "(code *)0x0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n                    \n    (*(code *)param_3[6])(param_3);\n  }" ({ "{") (expression_statement "(*(code *)param_3[6])(param_3);" (call_expression "(*(code *)param_3[6])(param_3)" (parenthesized_expression "(*(code *)param_3[6])" (( "(") (pointer_expression "*(code *)param_3[6]" (* "*") (cast_expression "(code *)param_3[6]" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_3[6]" (identifier "param_3") ([ "[") (number_literal "6") (] "]")))) () ")")) (argument_list "(param_3)" (( "(") (identifier "param_3") () ")"))) (; ";")) (} "}"))) (expression_statement "pcVar1 = *(code **)(in_t9 + 0x14747c);" (assignment_expression "pcVar1 = *(code **)(in_t9 + 0x14747c)" (identifier "pcVar1") (= "=") (pointer_expression "*(code **)(in_t9 + 0x14747c)" (* "*") (cast_expression "(code **)(in_t9 + 0x14747c)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(in_t9 + 0x14747c)" (( "(") (binary_expression "in_t9 + 0x14747c" (identifier "in_t9") (+ "+") (number_literal "0x14747c")) () ")"))))) (; ";")) (expression_statement "*param_3 = (int)(param_3 + 2);" (assignment_expression "*param_3 = (int)(param_3 + 2)" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (= "=") (cast_expression "(int)(param_3 + 2)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(param_3 + 2)" (( "(") (binary_expression "param_3 + 2" (identifier "param_3") (+ "+") (number_literal "2")) () ")")))) (; ";")) (expression_statement "(*pcVar1)(param_3,local_20,local_20 + local_1c * 4,0);" (call_expression "(*pcVar1)(param_3,local_20,local_20 + local_1c * 4,0)" (parenthesized_expression "(*pcVar1)" (( "(") (pointer_expression "*pcVar1" (* "*") (identifier "pcVar1")) () ")")) (argument_list "(param_3,local_20,local_20 + local_1c * 4,0)" (( "(") (identifier "param_3") (, ",") (identifier "local_20") (, ",") (binary_expression "local_20 + local_1c * 4" (identifier "local_20") (+ "+") (binary_expression "local_1c * 4" (identifier "local_1c") (* "*") (number_literal "4"))) (, ",") (number_literal "0") () ")"))) (; ";")) (expression_statement "param_3[6] = *(int *)(in_t9 + 0x1434b4) + -0x53e4;" (assignment_expression "param_3[6] = *(int *)(in_t9 + 0x1434b4) + -0x53e4" (subscript_expression "param_3[6]" (identifier "param_3") ([ "[") (number_literal "6") (] "]")) (= "=") (binary_expression "*(int *)(in_t9 + 0x1434b4) + -0x53e4" (pointer_expression "*(int *)(in_t9 + 0x1434b4)" (* "*") (cast_expression "(int *)(in_t9 + 0x1434b4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_t9 + 0x1434b4)" (( "(") (binary_expression "in_t9 + 0x1434b4" (identifier "in_t9") (+ "+") (number_literal "0x1434b4")) () ")")))) (+ "+") (number_literal "-0x53e4"))) (; ";")) (if_statement "if (local_20 != auStack_18) {\n    (**(code **)(in_t9 + 0x1434ec))();\n  }" (if "if") (parenthesized_expression "(local_20 != auStack_18)" (( "(") (binary_expression "local_20 != auStack_18" (identifier "local_20") (!= "!=") (identifier "auStack_18")) () ")")) (compound_statement "{\n    (**(code **)(in_t9 + 0x1434ec))();\n  }" ({ "{") (expression_statement "(**(code **)(in_t9 + 0x1434ec))();" (call_expression "(**(code **)(in_t9 + 0x1434ec))()" (parenthesized_expression "(**(code **)(in_t9 + 0x1434ec))" (( "(") (pointer_expression "**(code **)(in_t9 + 0x1434ec)" (* "*") (pointer_expression "*(code **)(in_t9 + 0x1434ec)" (* "*") (cast_expression "(code **)(in_t9 + 0x1434ec)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(in_t9 + 0x1434ec)" (( "(") (binary_expression "in_t9 + 0x1434ec" (identifier "in_t9") (+ "+") (number_literal "0x1434ec")) () ")"))))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))
(translation_unit (function_definition type: (primitive_type) (ERROR (identifier) (identifier) (identifier)) declarator: (function_declarator declarator: (identifier) (ERROR) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))))) arguments: (argument_list (pointer_expression argument: (identifier)) (identifier) (identifier) (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal))) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (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: (subscript_expression argument: (identifier) index: (number_literal))))) arguments: (argument_list (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (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))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (identifier))) arguments: (argument_list (identifier) (identifier) (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))) (number_literal)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (binary_expression left: (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))))) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (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))))))) arguments: (argument_list))))) (return_statement))))

/* void std::__facet_shims::MASKED(std::integral_constant<bool, true>,
   std::locale::facet const*, std::__facet_shims::__any_string&, wchar_t const*, wchar_t const*) */

void std::__facet_shims::MASKED
               (undefined4 param_1,int *param_2,int *param_3,undefined4 param_4,undefined4 param_5)

{
  int in_t9;
  code *pcVar1;
  undefined1 *local_20;
  int local_1c;
  undefined1 auStack_18 [16];
  
  (**(code **)(*param_2 + 0xc))(&local_20,param_2,param_4,param_5);
  if ((code *)param_3[6] != (code *)0x0) {
                    /* try { // try from 0037de5c to 0037de97 has its CatchHandler @ 0037ded0 */
    (*(code *)param_3[6])(param_3);
  }
  pcVar1 = *(code **)(in_t9 + 0x14747c);
  *param_3 = (int)(param_3 + 2);
  (*pcVar1)(param_3,local_20,local_20 + local_1c * 4,0);
  param_3[6] = *(int *)(in_t9 + 0x1434b4) + -0x53e4;
  if (local_20 != auStack_18) {
    (**(code **)(in_t9 + 0x1434ec))();
  }
  return;
}

