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

bool std::
     has_facet<std::money_put<wchar_t,std::ostreambuf_iterator<wchar_t,std::char_traits<wchar_t>>>>
               (locale *param_1)

{
  uint uVar1;
  int iVar2;
  
  uVar1 = (*(code *)PTR__M_id_004c2c74)(PTR_id_004c1398);
  if ((uVar1 < *(uint *)(*(int *)param_1 + 8)) &&
     (iVar2 = *(int *)(*(int *)(*(int *)param_1 + 4) + uVar1 * 4), iVar2 != 0)) {
    iVar2 = __dynamic_cast(iVar2,PTR_PTR_004c1364,PTR_PTR_004c2f78,0);
    return iVar2 != 0;
  }
  return false;
}



bool FUN_0039f8ec(int *param_1)

{
  uint uVar1;
  int iVar2;
  
  uVar1 = (*(code *)PTR__M_id_004c2c74)(PTR_id_004c1398);
  if ((uVar1 < *(uint *)(*param_1 + 8)) &&
     (iVar2 = *(int *)(*(int *)(*param_1 + 4) + uVar1 * 4), iVar2 != 0)) {
    iVar2 = __dynamic_cast(iVar2,PTR_PTR_004c1364,PTR_PTR_004c2f78,0);
    return iVar2 != 0;
  }
  return false;
}


lui gp,0x13
addiu gp,gp,-0x66ac
addu gp,gp,t9
addiu sp,sp,-0x20
lw t9,-0x65cc(gp)
sw s0,0x18(sp)
or s0,a0,zero
sw gp,0x10(sp)
sw ra,0x1c(sp)
lw a0,-0x7ea8(gp)
jalr t9
_nop
lw a0,0x0(s0)
lw v1,0x8(a0)
sltu v1,v0,v1
beq v1,zero,0x0039f96c
_lw gp,0x10(sp)
lw v1,0x4(a0)
sll v0,v0,0x2
addu v0,v1,v0
lw a0,0x0(v0)
beq a0,zero,0x0039f96c
_lw t9,-0x7ee4(gp)
lw a2,-0x62c8(gp)
lw a1,-0x7edc(gp)
bal 0x0038cef0
_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_0039f8ec(int *param_1)\n\n{\n  uint uVar1;\n  int iVar2;\n  \n  uVar1 = (*(code *)PTR__M_id_004c2c74)(PTR_id_004c1398);\n  if ((uVar1 < *(uint *)(*param_1 + 8)) &&\n     (iVar2 = *(int *)(*(int *)(*param_1 + 4) + uVar1 * 4), iVar2 != 0)) {\n    iVar2 = __dynamic_cast(iVar2,PTR_PTR_004c1364,PTR_PTR_004c2f78,0);\n    return iVar2 != 0;\n  }\n  return false;\n}\n\n" (function_definition "bool FUN_0039f8ec(int *param_1)\n\n{\n  uint uVar1;\n  int iVar2;\n  \n  uVar1 = (*(code *)PTR__M_id_004c2c74)(PTR_id_004c1398);\n  if ((uVar1 < *(uint *)(*param_1 + 8)) &&\n     (iVar2 = *(int *)(*(int *)(*param_1 + 4) + uVar1 * 4), iVar2 != 0)) {\n    iVar2 = __dynamic_cast(iVar2,PTR_PTR_004c1364,PTR_PTR_004c2f78,0);\n    return iVar2 != 0;\n  }\n  return false;\n}" primitive_type (function_declarator "FUN_0039f8ec(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 = (*(code *)PTR__M_id_004c2c74)(PTR_id_004c1398);\n  if ((uVar1 < *(uint *)(*param_1 + 8)) &&\n     (iVar2 = *(int *)(*(int *)(*param_1 + 4) + uVar1 * 4), iVar2 != 0)) {\n    iVar2 = __dynamic_cast(iVar2,PTR_PTR_004c1364,PTR_PTR_004c2f78,0);\n    return iVar2 != 0;\n  }\n  return false;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (expression_statement "uVar1 = (*(code *)PTR__M_id_004c2c74)(PTR_id_004c1398);" (assignment_expression "uVar1 = (*(code *)PTR__M_id_004c2c74)(PTR_id_004c1398)" identifier = (call_expression "(*(code *)PTR__M_id_004c2c74)(PTR_id_004c1398)" (parenthesized_expression "(*(code *)PTR__M_id_004c2c74)" ( (pointer_expression "*(code *)PTR__M_id_004c2c74" * (cast_expression "(code *)PTR__M_id_004c2c74" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_id_004c1398)" ( identifier )))) ;) (if_statement "if ((uVar1 < *(uint *)(*param_1 + 8)) &&\n     (iVar2 = *(int *)(*(int *)(*param_1 + 4) + uVar1 * 4), iVar2 != 0)) {\n    iVar2 = __dynamic_cast(iVar2,PTR_PTR_004c1364,PTR_PTR_004c2f78,0);\n    return iVar2 != 0;\n  }" if (parenthesized_expression "((uVar1 < *(uint *)(*param_1 + 8)) &&\n     (iVar2 = *(int *)(*(int *)(*param_1 + 4) + uVar1 * 4), iVar2 != 0))" ( (binary_expression "(uVar1 < *(uint *)(*param_1 + 8)) &&\n     (iVar2 = *(int *)(*(int *)(*param_1 + 4) + uVar1 * 4), iVar2 != 0)" (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) ))))) )) && (parenthesized_expression "(iVar2 = *(int *)(*(int *)(*param_1 + 4) + uVar1 * 4), iVar2 != 0)" ( (comma_expression "iVar2 = *(int *)(*(int *)(*param_1 + 4) + uVar1 * 4), iVar2 != 0" (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)) ))))) , (binary_expression "iVar2 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n    iVar2 = __dynamic_cast(iVar2,PTR_PTR_004c1364,PTR_PTR_004c2f78,0);\n    return iVar2 != 0;\n  }" { (expression_statement "iVar2 = __dynamic_cast(iVar2,PTR_PTR_004c1364,PTR_PTR_004c2f78,0);" (assignment_expression "iVar2 = __dynamic_cast(iVar2,PTR_PTR_004c1364,PTR_PTR_004c2f78,0)" identifier = (call_expression "__dynamic_cast(iVar2,PTR_PTR_004c1364,PTR_PTR_004c2f78,0)" identifier (argument_list "(iVar2,PTR_PTR_004c1364,PTR_PTR_004c2f78,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::money_put<wchar_t, std::ostreambuf_iterator<wchar_t,\n   std::char_traits<wchar_t> > > >(std::locale const&) */\n\nbool std::\n     has_facet<std::money_put<wchar_t,std::ostreambuf_iterator<wchar_t,std::char_traits<wchar_t>>>>\n               (locale *param_1)\n\n{\n  uint uVar1;\n  int iVar2;\n  \n  uVar1 = (*(code *)PTR__M_id_004c2c74)(PTR_id_004c1398);\n  if ((uVar1 < *(uint *)(*(int *)param_1 + 8)) &&\n     (iVar2 = *(int *)(*(int *)(*(int *)param_1 + 4) + uVar1 * 4), iVar2 != 0)) {\n    iVar2 = __dynamic_cast(iVar2,PTR_PTR_004c1364,PTR_PTR_004c2f78,0);\n    return iVar2 != 0;\n  }\n  return false;\n}\n\n" comment comment (declaration "bool std::\n     has_facet<std::money_put<wchar_t,std::ostreambuf_iterator<wchar_t,std::char_traits<wchar_t>>>>\n               (locale *param_1)\n\n{\n  uint uVar1;" primitive_type (ERROR "std::\n     has_facet<std::money_put<" identifier : : identifier < identifier : : identifier <) identifier , (ERROR "std::ostreambuf_iterator<" identifier : : identifier <) identifier , (ERROR "std::char_traits<wchar_t>>>>\n               (locale *param_1)\n\n{\n  uint" identifier : : identifier < (function_declarator "wchar_t>>>>\n               (locale *param_1)" identifier (ERROR ">>>>" >> >>) (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 ;) (expression_statement "uVar1 = (*(code *)PTR__M_id_004c2c74)(PTR_id_004c1398);" (assignment_expression "uVar1 = (*(code *)PTR__M_id_004c2c74)(PTR_id_004c1398)" identifier = (call_expression "(*(code *)PTR__M_id_004c2c74)(PTR_id_004c1398)" (parenthesized_expression "(*(code *)PTR__M_id_004c2c74)" ( (pointer_expression "*(code *)PTR__M_id_004c2c74" * (cast_expression "(code *)PTR__M_id_004c2c74" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_id_004c1398)" ( identifier )))) ;) (if_statement "if ((uVar1 < *(uint *)(*(int *)param_1 + 8)) &&\n     (iVar2 = *(int *)(*(int *)(*(int *)param_1 + 4) + uVar1 * 4), iVar2 != 0)) {\n    iVar2 = __dynamic_cast(iVar2,PTR_PTR_004c1364,PTR_PTR_004c2f78,0);\n    return iVar2 != 0;\n  }" if (parenthesized_expression "((uVar1 < *(uint *)(*(int *)param_1 + 8)) &&\n     (iVar2 = *(int *)(*(int *)(*(int *)param_1 + 4) + uVar1 * 4), iVar2 != 0))" ( (binary_expression "(uVar1 < *(uint *)(*(int *)param_1 + 8)) &&\n     (iVar2 = *(int *)(*(int *)(*(int *)param_1 + 4) + uVar1 * 4), iVar2 != 0)" (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) ))))) )) && (parenthesized_expression "(iVar2 = *(int *)(*(int *)(*(int *)param_1 + 4) + uVar1 * 4), iVar2 != 0)" ( (comma_expression "iVar2 = *(int *)(*(int *)(*(int *)param_1 + 4) + uVar1 * 4), iVar2 != 0" (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)) ))))) , (binary_expression "iVar2 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n    iVar2 = __dynamic_cast(iVar2,PTR_PTR_004c1364,PTR_PTR_004c2f78,0);\n    return iVar2 != 0;\n  }" { (expression_statement "iVar2 = __dynamic_cast(iVar2,PTR_PTR_004c1364,PTR_PTR_004c2f78,0);" (assignment_expression "iVar2 = __dynamic_cast(iVar2,PTR_PTR_004c1364,PTR_PTR_004c2f78,0)" identifier = (call_expression "__dynamic_cast(iVar2,PTR_PTR_004c1364,PTR_PTR_004c2f78,0)" identifier (argument_list "(iVar2,PTR_PTR_004c1364,PTR_PTR_004c2f78,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_0039f8ec(int *param_1)\n\n{\n  uint uVar1;\n  int iVar2;\n  \n  uVar1 = (*(code *)PTR__M_id_004c2c74)(PTR_id_004c1398);\n  if ((uVar1 < *(uint *)(*param_1 + 8)) &&\n     (iVar2 = *(int *)(*(int *)(*param_1 + 4) + uVar1 * 4), iVar2 != 0)) {\n    iVar2 = __dynamic_cast(iVar2,PTR_PTR_004c1364,PTR_PTR_004c2f78,0);\n    return iVar2 != 0;\n  }\n  return false;\n}\n\n" (function_definition "bool FUN_0039f8ec(int *param_1)\n\n{\n  uint uVar1;\n  int iVar2;\n  \n  uVar1 = (*(code *)PTR__M_id_004c2c74)(PTR_id_004c1398);\n  if ((uVar1 < *(uint *)(*param_1 + 8)) &&\n     (iVar2 = *(int *)(*(int *)(*param_1 + 4) + uVar1 * 4), iVar2 != 0)) {\n    iVar2 = __dynamic_cast(iVar2,PTR_PTR_004c1364,PTR_PTR_004c2f78,0);\n    return iVar2 != 0;\n  }\n  return false;\n}" primitive_type (function_declarator "FUN_0039f8ec(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 = (*(code *)PTR__M_id_004c2c74)(PTR_id_004c1398);\n  if ((uVar1 < *(uint *)(*param_1 + 8)) &&\n     (iVar2 = *(int *)(*(int *)(*param_1 + 4) + uVar1 * 4), iVar2 != 0)) {\n    iVar2 = __dynamic_cast(iVar2,PTR_PTR_004c1364,PTR_PTR_004c2f78,0);\n    return iVar2 != 0;\n  }\n  return false;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (expression_statement "uVar1 = (*(code *)PTR__M_id_004c2c74)(PTR_id_004c1398);" (assignment_expression "uVar1 = (*(code *)PTR__M_id_004c2c74)(PTR_id_004c1398)" identifier = (call_expression "(*(code *)PTR__M_id_004c2c74)(PTR_id_004c1398)" (parenthesized_expression "(*(code *)PTR__M_id_004c2c74)" ( (pointer_expression "*(code *)PTR__M_id_004c2c74" * (cast_expression "(code *)PTR__M_id_004c2c74" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_id_004c1398)" ( identifier )))) ;) (if_statement "if ((uVar1 < *(uint *)(*param_1 + 8)) &&\n     (iVar2 = *(int *)(*(int *)(*param_1 + 4) + uVar1 * 4), iVar2 != 0)) {\n    iVar2 = __dynamic_cast(iVar2,PTR_PTR_004c1364,PTR_PTR_004c2f78,0);\n    return iVar2 != 0;\n  }" if (parenthesized_expression "((uVar1 < *(uint *)(*param_1 + 8)) &&\n     (iVar2 = *(int *)(*(int *)(*param_1 + 4) + uVar1 * 4), iVar2 != 0))" ( (binary_expression "(uVar1 < *(uint *)(*param_1 + 8)) &&\n     (iVar2 = *(int *)(*(int *)(*param_1 + 4) + uVar1 * 4), iVar2 != 0)" (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) ))))) )) && (parenthesized_expression "(iVar2 = *(int *)(*(int *)(*param_1 + 4) + uVar1 * 4), iVar2 != 0)" ( (comma_expression "iVar2 = *(int *)(*(int *)(*param_1 + 4) + uVar1 * 4), iVar2 != 0" (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)) ))))) , (binary_expression "iVar2 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n    iVar2 = __dynamic_cast(iVar2,PTR_PTR_004c1364,PTR_PTR_004c2f78,0);\n    return iVar2 != 0;\n  }" { (expression_statement "iVar2 = __dynamic_cast(iVar2,PTR_PTR_004c1364,PTR_PTR_004c2f78,0);" (assignment_expression "iVar2 = __dynamic_cast(iVar2,PTR_PTR_004c1364,PTR_PTR_004c2f78,0)" identifier = (call_expression "__dynamic_cast(iVar2,PTR_PTR_004c1364,PTR_PTR_004c2f78,0)" identifier (argument_list "(iVar2,PTR_PTR_004c1364,PTR_PTR_004c2f78,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 ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) )) && (parenthesized_expression ( (comma_expression (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)) ))))) , (binary_expression IDENT != LIT)) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , LIT )))) ;) (return_statement return (binary_expression IDENT != LIT) ;) })) (return_statement return BOOL ;) })))
(function_definition "bool FUN_0039f8ec(int *param_1)\n\n{\n  uint uVar1;\n  int iVar2;\n  \n  uVar1 = (*(code *)PTR__M_id_004c2c74)(PTR_id_004c1398);\n  if ((uVar1 < *(uint *)(*param_1 + 8)) &&\n     (iVar2 = *(int *)(*(int *)(*param_1 + 4) + uVar1 * 4), iVar2 != 0)) {\n    iVar2 = __dynamic_cast(iVar2,PTR_PTR_004c1364,PTR_PTR_004c2f78,0);\n    return iVar2 != 0;\n  }\n  return false;\n}" (primitive_type "bool") (function_declarator "FUN_0039f8ec(int *param_1)" (identifier "FUN_0039f8ec") (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 = (*(code *)PTR__M_id_004c2c74)(PTR_id_004c1398);\n  if ((uVar1 < *(uint *)(*param_1 + 8)) &&\n     (iVar2 = *(int *)(*(int *)(*param_1 + 4) + uVar1 * 4), iVar2 != 0)) {\n    iVar2 = __dynamic_cast(iVar2,PTR_PTR_004c1364,PTR_PTR_004c2f78,0);\n    return iVar2 != 0;\n  }\n  return false;\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (expression_statement "uVar1 = (*(code *)PTR__M_id_004c2c74)(PTR_id_004c1398);" (assignment_expression "uVar1 = (*(code *)PTR__M_id_004c2c74)(PTR_id_004c1398)" (identifier "uVar1") (= "=") (call_expression "(*(code *)PTR__M_id_004c2c74)(PTR_id_004c1398)" (parenthesized_expression "(*(code *)PTR__M_id_004c2c74)" (( "(") (pointer_expression "*(code *)PTR__M_id_004c2c74" (* "*") (cast_expression "(code *)PTR__M_id_004c2c74" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR__M_id_004c2c74"))) () ")")) (argument_list "(PTR_id_004c1398)" (( "(") (identifier "PTR_id_004c1398") () ")")))) (; ";")) (if_statement "if ((uVar1 < *(uint *)(*param_1 + 8)) &&\n     (iVar2 = *(int *)(*(int *)(*param_1 + 4) + uVar1 * 4), iVar2 != 0)) {\n    iVar2 = __dynamic_cast(iVar2,PTR_PTR_004c1364,PTR_PTR_004c2f78,0);\n    return iVar2 != 0;\n  }" (if "if") (parenthesized_expression "((uVar1 < *(uint *)(*param_1 + 8)) &&\n     (iVar2 = *(int *)(*(int *)(*param_1 + 4) + uVar1 * 4), iVar2 != 0))" (( "(") (binary_expression "(uVar1 < *(uint *)(*param_1 + 8)) &&\n     (iVar2 = *(int *)(*(int *)(*param_1 + 4) + uVar1 * 4), iVar2 != 0)" (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")) () ")"))))) () ")")) (&& "&&") (parenthesized_expression "(iVar2 = *(int *)(*(int *)(*param_1 + 4) + uVar1 * 4), iVar2 != 0)" (( "(") (comma_expression "iVar2 = *(int *)(*(int *)(*param_1 + 4) + uVar1 * 4), iVar2 != 0" (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"))) () ")"))))) (, ",") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n    iVar2 = __dynamic_cast(iVar2,PTR_PTR_004c1364,PTR_PTR_004c2f78,0);\n    return iVar2 != 0;\n  }" ({ "{") (expression_statement "iVar2 = __dynamic_cast(iVar2,PTR_PTR_004c1364,PTR_PTR_004c2f78,0);" (assignment_expression "iVar2 = __dynamic_cast(iVar2,PTR_PTR_004c1364,PTR_PTR_004c2f78,0)" (identifier "iVar2") (= "=") (call_expression "__dynamic_cast(iVar2,PTR_PTR_004c1364,PTR_PTR_004c2f78,0)" (identifier "__dynamic_cast") (argument_list "(iVar2,PTR_PTR_004c1364,PTR_PTR_004c2f78,0)" (( "(") (identifier "iVar2") (, ",") (identifier "PTR_PTR_004c1364") (, ",") (identifier "PTR_PTR_004c2f78") (, ",") (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::money_put<wchar_t, std::ostreambuf_iterator<wchar_t,
   std::char_traits<wchar_t> > > >(std::locale const&) */

bool std::
     has_facet<std::money_put<wchar_t,std::ostreambuf_iterator<wchar_t,std::char_traits<wchar_t>>>>
               (locale *param_1)

{
  type_2 var_1;
  int var_2;
  
  var_1 = (*(type_1 *)PTR__M_id_004c2c74)(PTR_id_004c1398);
  if ((var_1 < *(type_2 *)(*(int *)param_1 + 8)) &&
     (var_2 = *(int *)(*(int *)(*(int *)param_1 + 4) + var_1 * 4), var_2 != 0)) {
    var_2 = var_3(var_2,PTR_PTR_004c1364,PTR_PTR_004c2f78,0);
    return var_2 != 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)) (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))))) (if_statement condition: (parenthesized_expression (binary_expression left: (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))))))) right: (parenthesized_expression (comma_expression left: (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))))))) right: (binary_expression left: (identifier) right: (number_literal)))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (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 = (*(code *)PTR__M_id_004c2c74)(PTR_id_004c1398);
  if ((uVar1 < *(uint *)(*param_1 + 8)) &&
     (iVar2 = *(int *)(*(int *)(*param_1 + 4) + uVar1 * 4), iVar2 != 0)) {
    iVar2 = __dynamic_cast(iVar2,PTR_PTR_004c1364,PTR_PTR_004c2f78,0);
    return iVar2 != 0;
  }
  return false;
}

