
/* WARNING: Unknown calling convention -- yet parameter storage is locked */
/* bool std::has_facet<std::time_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > >
   >(std::locale const&) */

bool std::has_facet<std::time_put<char,std::ostreambuf_iterator<char,std::char_traits<char>>>>
               (locale *param_1)

{
  uint uVar1;
  int iVar2;
  
  uVar1 = locale::id::_M_id((id *)PTR_id_00433874);
  if (uVar1 < *(uint *)(*(int *)param_1 + 8)) {
    iVar2 = *(int *)(*(int *)(*(int *)param_1 + 4) + uVar1 * 4);
    if (iVar2 != 0) {
      iVar2 = (*(code *)PTR___dynamic_cast_004322f0)(iVar2,PTR_PTR_004322f8,PTR_PTR_00433878,0);
      return iVar2 != 0;
    }
  }
  return false;
}



bool FUN_002d2a40(int *param_1)

{
  uint uVar1;
  int iVar2;
  
  uVar1 = std::locale::id::_M_id((id *)PTR_id_00433874);
  if (uVar1 < *(uint *)(*param_1 + 8)) {
    iVar2 = *(int *)(*(int *)(*param_1 + 4) + uVar1 * 4);
    if (iVar2 != 0) {
      iVar2 = (*(code *)PTR___dynamic_cast_004322f0)(iVar2,PTR_PTR_004322f8,PTR_PTR_00433878,0);
      return iVar2 != 0;
    }
  }
  return false;
}


lui gp,0x16
addiu gp,gp,0x7790
addu gp,gp,t9
addiu sp,sp,-0x20
lw t9,-0x69d0(gp)
sw s0,0x18(sp)
or s0,a0,zero
sw gp,0x10(sp)
sw ra,0x1c(sp)
lw a0,-0x695c(gp)
bal 0x002b966c
_nop
lw a0,0x0(s0)
lw v1,0x8(a0)
sltu v1,v0,v1
beq v1,zero,0x002d2ac0
_lw gp,0x10(sp)
lw v1,0x4(a0)
sll v0,v0,0x2
addu v0,v1,v0
lw a0,0x0(v0)
beq a0,zero,0x002d2ac0
_lw t9,-0x7ee0(gp)
lw a2,-0x6958(gp)
lw a1,-0x7ed8(gp)
jalr t9
_or a3,zero,zero
lw ra,0x1c(sp)
sltu v0,zero,v0
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x20
lw ra,0x1c(sp)
or v0,zero,zero
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x20
(translation_unit "bool FUN_002d2a40(int *param_1)\n\n{\n  uint uVar1;\n  int iVar2;\n  \n  uVar1 = std::locale::id::_M_id((id *)PTR_id_00433874);\n  if (uVar1 < *(uint *)(*param_1 + 8)) {\n    iVar2 = *(int *)(*(int *)(*param_1 + 4) + uVar1 * 4);\n    if (iVar2 != 0) {\n      iVar2 = (*(code *)PTR___dynamic_cast_004322f0)(iVar2,PTR_PTR_004322f8,PTR_PTR_00433878,0);\n      return iVar2 != 0;\n    }\n  }\n  return false;\n}\n\n" (function_definition "bool FUN_002d2a40(int *param_1)\n\n{\n  uint uVar1;\n  int iVar2;\n  \n  uVar1 = std::locale::id::_M_id((id *)PTR_id_00433874);\n  if (uVar1 < *(uint *)(*param_1 + 8)) {\n    iVar2 = *(int *)(*(int *)(*param_1 + 4) + uVar1 * 4);\n    if (iVar2 != 0) {\n      iVar2 = (*(code *)PTR___dynamic_cast_004322f0)(iVar2,PTR_PTR_004322f8,PTR_PTR_00433878,0);\n      return iVar2 != 0;\n    }\n  }\n  return false;\n}" primitive_type (function_declarator "FUN_002d2a40(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  uint uVar1;\n  int iVar2;\n  \n  uVar1 = std::locale::id::_M_id((id *)PTR_id_00433874);\n  if (uVar1 < *(uint *)(*param_1 + 8)) {\n    iVar2 = *(int *)(*(int *)(*param_1 + 4) + uVar1 * 4);\n    if (iVar2 != 0) {\n      iVar2 = (*(code *)PTR___dynamic_cast_004322f0)(iVar2,PTR_PTR_004322f8,PTR_PTR_00433878,0);\n      return iVar2 != 0;\n    }\n  }\n  return false;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (ERROR "uVar1 = std::" (assignment_expression "uVar1 = std" identifier = identifier) : :) (labeled_statement "locale::id::_M_id((id *)PTR_id_00433874);" statement_identifier : (ERROR ":" :) (labeled_statement "id::_M_id((id *)PTR_id_00433874);" statement_identifier : (ERROR ":" :) (expression_statement "_M_id((id *)PTR_id_00433874);" (call_expression "_M_id((id *)PTR_id_00433874)" identifier (argument_list "((id *)PTR_id_00433874)" ( (cast_expression "(id *)PTR_id_00433874" ( (type_descriptor "id *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) ))) ;))) (if_statement "if (uVar1 < *(uint *)(*param_1 + 8)) {\n    iVar2 = *(int *)(*(int *)(*param_1 + 4) + uVar1 * 4);\n    if (iVar2 != 0) {\n      iVar2 = (*(code *)PTR___dynamic_cast_004322f0)(iVar2,PTR_PTR_004322f8,PTR_PTR_00433878,0);\n      return iVar2 != 0;\n    }\n  }" if (parenthesized_expression "(uVar1 < *(uint *)(*param_1 + 8))" ( (binary_expression "uVar1 < *(uint *)(*param_1 + 8)" identifier < (pointer_expression "*(uint *)(*param_1 + 8)" * (cast_expression "(uint *)(*param_1 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 8)" ( (binary_expression "*param_1 + 8" (pointer_expression "*param_1" * identifier) + number_literal) ))))) )) (compound_statement "{\n    iVar2 = *(int *)(*(int *)(*param_1 + 4) + uVar1 * 4);\n    if (iVar2 != 0) {\n      iVar2 = (*(code *)PTR___dynamic_cast_004322f0)(iVar2,PTR_PTR_004322f8,PTR_PTR_00433878,0);\n      return iVar2 != 0;\n    }\n  }" { (expression_statement "iVar2 = *(int *)(*(int *)(*param_1 + 4) + uVar1 * 4);" (assignment_expression "iVar2 = *(int *)(*(int *)(*param_1 + 4) + uVar1 * 4)" identifier = (pointer_expression "*(int *)(*(int *)(*param_1 + 4) + uVar1 * 4)" * (cast_expression "(int *)(*(int *)(*param_1 + 4) + uVar1 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(*param_1 + 4) + uVar1 * 4)" ( (binary_expression "*(int *)(*param_1 + 4) + uVar1 * 4" (pointer_expression "*(int *)(*param_1 + 4)" * (cast_expression "(int *)(*param_1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 4)" ( (binary_expression "*param_1 + 4" (pointer_expression "*param_1" * identifier) + number_literal) )))) + (binary_expression "uVar1 * 4" identifier * number_literal)) ))))) ;) (if_statement "if (iVar2 != 0) {\n      iVar2 = (*(code *)PTR___dynamic_cast_004322f0)(iVar2,PTR_PTR_004322f8,PTR_PTR_00433878,0);\n      return iVar2 != 0;\n    }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n      iVar2 = (*(code *)PTR___dynamic_cast_004322f0)(iVar2,PTR_PTR_004322f8,PTR_PTR_00433878,0);\n      return iVar2 != 0;\n    }" { (expression_statement "iVar2 = (*(code *)PTR___dynamic_cast_004322f0)(iVar2,PTR_PTR_004322f8,PTR_PTR_00433878,0);" (assignment_expression "iVar2 = (*(code *)PTR___dynamic_cast_004322f0)(iVar2,PTR_PTR_004322f8,PTR_PTR_00433878,0)" identifier = (call_expression "(*(code *)PTR___dynamic_cast_004322f0)(iVar2,PTR_PTR_004322f8,PTR_PTR_00433878,0)" (parenthesized_expression "(*(code *)PTR___dynamic_cast_004322f0)" ( (pointer_expression "*(code *)PTR___dynamic_cast_004322f0" * (cast_expression "(code *)PTR___dynamic_cast_004322f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar2,PTR_PTR_004322f8,PTR_PTR_00433878,0)" ( identifier , identifier , identifier , number_literal )))) ;) (return_statement "return iVar2 != 0;" return (binary_expression "iVar2 != 0" identifier != number_literal) ;) })) })) (return_statement "return false;" return false ;) })))
(translation_unit "/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n/* bool std::has_facet<std::time_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > >\n   >(std::locale const&) */\n\nbool std::has_facet<std::time_put<char,std::ostreambuf_iterator<char,std::char_traits<char>>>>\n               (locale *param_1)\n\n{\n  uint uVar1;\n  int iVar2;\n  \n  uVar1 = locale::id::_M_id((id *)PTR_id_00433874);\n  if (uVar1 < *(uint *)(*(int *)param_1 + 8)) {\n    iVar2 = *(int *)(*(int *)(*(int *)param_1 + 4) + uVar1 * 4);\n    if (iVar2 != 0) {\n      iVar2 = (*(code *)PTR___dynamic_cast_004322f0)(iVar2,PTR_PTR_004322f8,PTR_PTR_00433878,0);\n      return iVar2 != 0;\n    }\n  }\n  return false;\n}\n\n" comment comment (declaration "bool std::has_facet<std::time_put<char,std::ostreambuf_iterator<char,std::char_traits<char>>>>\n               (locale *param_1)\n\n{\n  uint uVar1;" primitive_type (ERROR "std::has_facet<std::" identifier : : identifier < identifier : :) identifier (ERROR "<char" < primitive_type) , (ERROR "std::" identifier : :) identifier (ERROR "<char" < primitive_type) , (ERROR "std::char_traits<char>>>>\n               (locale *param_1)\n\n{\n  uint" identifier : : (function_declarator "char_traits<char>>>>\n               (locale *param_1)" identifier (ERROR "<char>>>>" < primitive_type >> >>) (parameter_list "(locale *param_1)" ( (parameter_declaration "locale *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) { identifier) identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (ERROR "uVar1 = locale::" (assignment_expression "uVar1 = locale" identifier = identifier) : :) (labeled_statement "id::_M_id((id *)PTR_id_00433874);" statement_identifier : (ERROR ":" :) (expression_statement "_M_id((id *)PTR_id_00433874);" (call_expression "_M_id((id *)PTR_id_00433874)" identifier (argument_list "((id *)PTR_id_00433874)" ( (cast_expression "(id *)PTR_id_00433874" ( (type_descriptor "id *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) ))) ;)) (if_statement "if (uVar1 < *(uint *)(*(int *)param_1 + 8)) {\n    iVar2 = *(int *)(*(int *)(*(int *)param_1 + 4) + uVar1 * 4);\n    if (iVar2 != 0) {\n      iVar2 = (*(code *)PTR___dynamic_cast_004322f0)(iVar2,PTR_PTR_004322f8,PTR_PTR_00433878,0);\n      return iVar2 != 0;\n    }\n  }" if (parenthesized_expression "(uVar1 < *(uint *)(*(int *)param_1 + 8))" ( (binary_expression "uVar1 < *(uint *)(*(int *)param_1 + 8)" identifier < (pointer_expression "*(uint *)(*(int *)param_1 + 8)" * (cast_expression "(uint *)(*(int *)param_1 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)param_1 + 8)" ( (binary_expression "*(int *)param_1 + 8" (pointer_expression "*(int *)param_1" * (cast_expression "(int *)param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) ))))) )) (compound_statement "{\n    iVar2 = *(int *)(*(int *)(*(int *)param_1 + 4) + uVar1 * 4);\n    if (iVar2 != 0) {\n      iVar2 = (*(code *)PTR___dynamic_cast_004322f0)(iVar2,PTR_PTR_004322f8,PTR_PTR_00433878,0);\n      return iVar2 != 0;\n    }\n  }" { (expression_statement "iVar2 = *(int *)(*(int *)(*(int *)param_1 + 4) + uVar1 * 4);" (assignment_expression "iVar2 = *(int *)(*(int *)(*(int *)param_1 + 4) + uVar1 * 4)" identifier = (pointer_expression "*(int *)(*(int *)(*(int *)param_1 + 4) + uVar1 * 4)" * (cast_expression "(int *)(*(int *)(*(int *)param_1 + 4) + uVar1 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(*(int *)param_1 + 4) + uVar1 * 4)" ( (binary_expression "*(int *)(*(int *)param_1 + 4) + uVar1 * 4" (pointer_expression "*(int *)(*(int *)param_1 + 4)" * (cast_expression "(int *)(*(int *)param_1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)param_1 + 4)" ( (binary_expression "*(int *)param_1 + 4" (pointer_expression "*(int *)param_1" * (cast_expression "(int *)param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) )))) + (binary_expression "uVar1 * 4" identifier * number_literal)) ))))) ;) (if_statement "if (iVar2 != 0) {\n      iVar2 = (*(code *)PTR___dynamic_cast_004322f0)(iVar2,PTR_PTR_004322f8,PTR_PTR_00433878,0);\n      return iVar2 != 0;\n    }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n      iVar2 = (*(code *)PTR___dynamic_cast_004322f0)(iVar2,PTR_PTR_004322f8,PTR_PTR_00433878,0);\n      return iVar2 != 0;\n    }" { (expression_statement "iVar2 = (*(code *)PTR___dynamic_cast_004322f0)(iVar2,PTR_PTR_004322f8,PTR_PTR_00433878,0);" (assignment_expression "iVar2 = (*(code *)PTR___dynamic_cast_004322f0)(iVar2,PTR_PTR_004322f8,PTR_PTR_00433878,0)" identifier = (call_expression "(*(code *)PTR___dynamic_cast_004322f0)(iVar2,PTR_PTR_004322f8,PTR_PTR_00433878,0)" (parenthesized_expression "(*(code *)PTR___dynamic_cast_004322f0)" ( (pointer_expression "*(code *)PTR___dynamic_cast_004322f0" * (cast_expression "(code *)PTR___dynamic_cast_004322f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar2,PTR_PTR_004322f8,PTR_PTR_00433878,0)" ( identifier , identifier , identifier , number_literal )))) ;) (return_statement "return iVar2 != 0;" return (binary_expression "iVar2 != 0" identifier != number_literal) ;) })) })) (return_statement "return false;" return false ;) (ERROR "}" }))
(translation_unit "bool FUN_002d2a40(int *param_1)\n\n{\n  uint uVar1;\n  int iVar2;\n  \n  uVar1 = std::locale::id::_M_id((id *)PTR_id_00433874);\n  if (uVar1 < *(uint *)(*param_1 + 8)) {\n    iVar2 = *(int *)(*(int *)(*param_1 + 4) + uVar1 * 4);\n    if (iVar2 != 0) {\n      iVar2 = (*(code *)PTR___dynamic_cast_004322f0)(iVar2,PTR_PTR_004322f8,PTR_PTR_00433878,0);\n      return iVar2 != 0;\n    }\n  }\n  return false;\n}\n\n" (function_definition "bool FUN_002d2a40(int *param_1)\n\n{\n  uint uVar1;\n  int iVar2;\n  \n  uVar1 = std::locale::id::_M_id((id *)PTR_id_00433874);\n  if (uVar1 < *(uint *)(*param_1 + 8)) {\n    iVar2 = *(int *)(*(int *)(*param_1 + 4) + uVar1 * 4);\n    if (iVar2 != 0) {\n      iVar2 = (*(code *)PTR___dynamic_cast_004322f0)(iVar2,PTR_PTR_004322f8,PTR_PTR_00433878,0);\n      return iVar2 != 0;\n    }\n  }\n  return false;\n}" primitive_type (function_declarator "FUN_002d2a40(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  uint uVar1;\n  int iVar2;\n  \n  uVar1 = std::locale::id::_M_id((id *)PTR_id_00433874);\n  if (uVar1 < *(uint *)(*param_1 + 8)) {\n    iVar2 = *(int *)(*(int *)(*param_1 + 4) + uVar1 * 4);\n    if (iVar2 != 0) {\n      iVar2 = (*(code *)PTR___dynamic_cast_004322f0)(iVar2,PTR_PTR_004322f8,PTR_PTR_00433878,0);\n      return iVar2 != 0;\n    }\n  }\n  return false;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (ERROR "uVar1 = std::" (assignment_expression "uVar1 = std" identifier = identifier) : :) (labeled_statement "locale::id::_M_id((id *)PTR_id_00433874);" statement_identifier : (ERROR ":" :) (labeled_statement "id::_M_id((id *)PTR_id_00433874);" statement_identifier : (ERROR ":" :) (expression_statement "_M_id((id *)PTR_id_00433874);" (call_expression "_M_id((id *)PTR_id_00433874)" identifier (argument_list "((id *)PTR_id_00433874)" ( (cast_expression "(id *)PTR_id_00433874" ( (type_descriptor "id *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) ))) ;))) (if_statement "if (uVar1 < *(uint *)(*param_1 + 8)) {\n    iVar2 = *(int *)(*(int *)(*param_1 + 4) + uVar1 * 4);\n    if (iVar2 != 0) {\n      iVar2 = (*(code *)PTR___dynamic_cast_004322f0)(iVar2,PTR_PTR_004322f8,PTR_PTR_00433878,0);\n      return iVar2 != 0;\n    }\n  }" if (parenthesized_expression "(uVar1 < *(uint *)(*param_1 + 8))" ( (binary_expression "uVar1 < *(uint *)(*param_1 + 8)" identifier < (pointer_expression "*(uint *)(*param_1 + 8)" * (cast_expression "(uint *)(*param_1 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 8)" ( (binary_expression "*param_1 + 8" (pointer_expression "*param_1" * identifier) + number_literal) ))))) )) (compound_statement "{\n    iVar2 = *(int *)(*(int *)(*param_1 + 4) + uVar1 * 4);\n    if (iVar2 != 0) {\n      iVar2 = (*(code *)PTR___dynamic_cast_004322f0)(iVar2,PTR_PTR_004322f8,PTR_PTR_00433878,0);\n      return iVar2 != 0;\n    }\n  }" { (expression_statement "iVar2 = *(int *)(*(int *)(*param_1 + 4) + uVar1 * 4);" (assignment_expression "iVar2 = *(int *)(*(int *)(*param_1 + 4) + uVar1 * 4)" identifier = (pointer_expression "*(int *)(*(int *)(*param_1 + 4) + uVar1 * 4)" * (cast_expression "(int *)(*(int *)(*param_1 + 4) + uVar1 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(*param_1 + 4) + uVar1 * 4)" ( (binary_expression "*(int *)(*param_1 + 4) + uVar1 * 4" (pointer_expression "*(int *)(*param_1 + 4)" * (cast_expression "(int *)(*param_1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 4)" ( (binary_expression "*param_1 + 4" (pointer_expression "*param_1" * identifier) + number_literal) )))) + (binary_expression "uVar1 * 4" identifier * number_literal)) ))))) ;) (if_statement "if (iVar2 != 0) {\n      iVar2 = (*(code *)PTR___dynamic_cast_004322f0)(iVar2,PTR_PTR_004322f8,PTR_PTR_00433878,0);\n      return iVar2 != 0;\n    }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n      iVar2 = (*(code *)PTR___dynamic_cast_004322f0)(iVar2,PTR_PTR_004322f8,PTR_PTR_00433878,0);\n      return iVar2 != 0;\n    }" { (expression_statement "iVar2 = (*(code *)PTR___dynamic_cast_004322f0)(iVar2,PTR_PTR_004322f8,PTR_PTR_00433878,0);" (assignment_expression "iVar2 = (*(code *)PTR___dynamic_cast_004322f0)(iVar2,PTR_PTR_004322f8,PTR_PTR_00433878,0)" identifier = (call_expression "(*(code *)PTR___dynamic_cast_004322f0)(iVar2,PTR_PTR_004322f8,PTR_PTR_00433878,0)" (parenthesized_expression "(*(code *)PTR___dynamic_cast_004322f0)" ( (pointer_expression "*(code *)PTR___dynamic_cast_004322f0" * (cast_expression "(code *)PTR___dynamic_cast_004322f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar2,PTR_PTR_004322f8,PTR_PTR_00433878,0)" ( identifier , identifier , identifier , number_literal )))) ;) (return_statement "return iVar2 != 0;" return (binary_expression "iVar2 != 0" identifier != number_literal) ;) })) })) (return_statement "return false;" return false ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (ERROR (assignment_expression IDENT = IDENT) : :) (labeled_statement statement_identifier : (ERROR :) (labeled_statement statement_identifier : (ERROR :) (expression_statement (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT) ))) ;))) (if_statement if (parenthesized_expression ( (binary_expression IDENT < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) + (binary_expression IDENT * LIT)) ))))) ;) (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 , IDENT , IDENT , LIT )))) ;) (return_statement return (binary_expression IDENT != LIT) ;) })) })) (return_statement return BOOL ;) })))
(function_definition "bool FUN_002d2a40(int *param_1)\n\n{\n  uint uVar1;\n  int iVar2;\n  \n  uVar1 = std::locale::id::_M_id((id *)PTR_id_00433874);\n  if (uVar1 < *(uint *)(*param_1 + 8)) {\n    iVar2 = *(int *)(*(int *)(*param_1 + 4) + uVar1 * 4);\n    if (iVar2 != 0) {\n      iVar2 = (*(code *)PTR___dynamic_cast_004322f0)(iVar2,PTR_PTR_004322f8,PTR_PTR_00433878,0);\n      return iVar2 != 0;\n    }\n  }\n  return false;\n}" (primitive_type "bool") (function_declarator "FUN_002d2a40(int *param_1)" (identifier "FUN_002d2a40") (parameter_list "(int *param_1)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  uint uVar1;\n  int iVar2;\n  \n  uVar1 = std::locale::id::_M_id((id *)PTR_id_00433874);\n  if (uVar1 < *(uint *)(*param_1 + 8)) {\n    iVar2 = *(int *)(*(int *)(*param_1 + 4) + uVar1 * 4);\n    if (iVar2 != 0) {\n      iVar2 = (*(code *)PTR___dynamic_cast_004322f0)(iVar2,PTR_PTR_004322f8,PTR_PTR_00433878,0);\n      return iVar2 != 0;\n    }\n  }\n  return false;\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (ERROR "uVar1 = std::" (assignment_expression "uVar1 = std" (identifier "uVar1") (= "=") (identifier "std")) (: ":") (: ":")) (labeled_statement "locale::id::_M_id((id *)PTR_id_00433874);" (statement_identifier "locale") (: ":") (ERROR ":" (: ":")) (labeled_statement "id::_M_id((id *)PTR_id_00433874);" (statement_identifier "id") (: ":") (ERROR ":" (: ":")) (expression_statement "_M_id((id *)PTR_id_00433874);" (call_expression "_M_id((id *)PTR_id_00433874)" (identifier "_M_id") (argument_list "((id *)PTR_id_00433874)" (( "(") (cast_expression "(id *)PTR_id_00433874" (( "(") (type_descriptor "id *" (type_identifier "id") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_id_00433874")) () ")"))) (; ";")))) (if_statement "if (uVar1 < *(uint *)(*param_1 + 8)) {\n    iVar2 = *(int *)(*(int *)(*param_1 + 4) + uVar1 * 4);\n    if (iVar2 != 0) {\n      iVar2 = (*(code *)PTR___dynamic_cast_004322f0)(iVar2,PTR_PTR_004322f8,PTR_PTR_00433878,0);\n      return iVar2 != 0;\n    }\n  }" (if "if") (parenthesized_expression "(uVar1 < *(uint *)(*param_1 + 8))" (( "(") (binary_expression "uVar1 < *(uint *)(*param_1 + 8)" (identifier "uVar1") (< "<") (pointer_expression "*(uint *)(*param_1 + 8)" (* "*") (cast_expression "(uint *)(*param_1 + 8)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1 + 8)" (( "(") (binary_expression "*param_1 + 8" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "8")) () ")"))))) () ")")) (compound_statement "{\n    iVar2 = *(int *)(*(int *)(*param_1 + 4) + uVar1 * 4);\n    if (iVar2 != 0) {\n      iVar2 = (*(code *)PTR___dynamic_cast_004322f0)(iVar2,PTR_PTR_004322f8,PTR_PTR_00433878,0);\n      return iVar2 != 0;\n    }\n  }" ({ "{") (expression_statement "iVar2 = *(int *)(*(int *)(*param_1 + 4) + uVar1 * 4);" (assignment_expression "iVar2 = *(int *)(*(int *)(*param_1 + 4) + uVar1 * 4)" (identifier "iVar2") (= "=") (pointer_expression "*(int *)(*(int *)(*param_1 + 4) + uVar1 * 4)" (* "*") (cast_expression "(int *)(*(int *)(*param_1 + 4) + uVar1 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(*param_1 + 4) + uVar1 * 4)" (( "(") (binary_expression "*(int *)(*param_1 + 4) + uVar1 * 4" (pointer_expression "*(int *)(*param_1 + 4)" (* "*") (cast_expression "(int *)(*param_1 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1 + 4)" (( "(") (binary_expression "*param_1 + 4" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "4")) () ")")))) (+ "+") (binary_expression "uVar1 * 4" (identifier "uVar1") (* "*") (number_literal "4"))) () ")"))))) (; ";")) (if_statement "if (iVar2 != 0) {\n      iVar2 = (*(code *)PTR___dynamic_cast_004322f0)(iVar2,PTR_PTR_004322f8,PTR_PTR_00433878,0);\n      return iVar2 != 0;\n    }" (if "if") (parenthesized_expression "(iVar2 != 0)" (( "(") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      iVar2 = (*(code *)PTR___dynamic_cast_004322f0)(iVar2,PTR_PTR_004322f8,PTR_PTR_00433878,0);\n      return iVar2 != 0;\n    }" ({ "{") (expression_statement "iVar2 = (*(code *)PTR___dynamic_cast_004322f0)(iVar2,PTR_PTR_004322f8,PTR_PTR_00433878,0);" (assignment_expression "iVar2 = (*(code *)PTR___dynamic_cast_004322f0)(iVar2,PTR_PTR_004322f8,PTR_PTR_00433878,0)" (identifier "iVar2") (= "=") (call_expression "(*(code *)PTR___dynamic_cast_004322f0)(iVar2,PTR_PTR_004322f8,PTR_PTR_00433878,0)" (parenthesized_expression "(*(code *)PTR___dynamic_cast_004322f0)" (( "(") (pointer_expression "*(code *)PTR___dynamic_cast_004322f0" (* "*") (cast_expression "(code *)PTR___dynamic_cast_004322f0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___dynamic_cast_004322f0"))) () ")")) (argument_list "(iVar2,PTR_PTR_004322f8,PTR_PTR_00433878,0)" (( "(") (identifier "iVar2") (, ",") (identifier "PTR_PTR_004322f8") (, ",") (identifier "PTR_PTR_00433878") (, ",") (number_literal "0") () ")")))) (; ";")) (return_statement "return iVar2 != 0;" (return "return") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0")) (; ";")) (} "}"))) (} "}"))) (return_statement "return false;" (return "return") (false "false") (; ";")) (} "}")))

/* WARNING: Unknown calling convention -- yet parameter storage is locked */
/* bool std::has_facet<std::time_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > >
   >(std::locale const&) */

bool std::has_facet<std::time_put<char,std::ostreambuf_iterator<char,std::char_traits<char>>>>
               (locale *param_1)

{
  type_2 var_2;
  int var_3;
  
  var_2 = locale::id::var_1((type_1 *)PTR_id_00433874);
  if (var_2 < *(type_2 *)(*(int *)param_1 + 8)) {
    var_3 = *(int *)(*(int *)(*(int *)param_1 + 4) + var_2 * 4);
    if (var_3 != 0) {
      var_3 = (*(type_3 *)PTR___dynamic_cast_004322f0)(var_3,PTR_PTR_004322f8,PTR_PTR_00433878,0);
      return var_3 != 0;
    }
  }
  return false;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (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 (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))) right: (binary_expression left: (identifier) right: (number_literal)))))))) (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) (identifier) (identifier) (number_literal))))) (return_statement (binary_expression left: (identifier) right: (number_literal))))))) (return_statement (false)))))

bool MASKED(int *param_1)

{
  uint uVar1;
  int iVar2;
  
  uVar1 = std::locale::id::_M_id((id *)PTR_id_00433874);
  if (uVar1 < *(uint *)(*param_1 + 8)) {
    iVar2 = *(int *)(*(int *)(*param_1 + 4) + uVar1 * 4);
    if (iVar2 != 0) {
      iVar2 = (*(code *)PTR___dynamic_cast_004322f0)(iVar2,PTR_PTR_004322f8,PTR_PTR_00433878,0);
      return iVar2 != 0;
    }
  }
  return false;
}

