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

bool std::
     has_facet<std::money_get<wchar_t,std::istreambuf_iterator<wchar_t,std::char_traits<wchar_t>>>>
               (locale *param_1)

{
  ulong uVar1;
  long lVar2;
  bool bVar3;
  
  uVar1 = locale::id::_M_id((id *)&money_get<wchar_t,std::istreambuf_iterator<wchar_t,std::char_traits<wchar_t>>>
                                   ::id);
  bVar3 = false;
  if ((uVar1 < *(ulong *)(*(long *)param_1 + 0x10)) &&
     (lVar2 = *(long *)(*(long *)(*(long *)param_1 + 8) + uVar1 * 8), bVar3 = false, lVar2 != 0)) {
    lVar2 = __dynamic_cast(lVar2,&locale::facet::typeinfo,
                           &money_get<wchar_t,std::istreambuf_iterator<wchar_t,std::char_traits<wchar_t>>>
                            ::typeinfo,0);
    bVar3 = lVar2 != 0;
  }
  return bVar3;
}



bool FUN_00340c90(long *param_1)

{
  ulong uVar1;
  long lVar2;
  bool bVar3;
  
  uVar1 = FUN_002dd3a0(&DAT_0044bd20);
  bVar3 = false;
  if ((uVar1 < *(ulong *)(*param_1 + 0x10)) &&
     (lVar2 = *(long *)(*(long *)(*param_1 + 8) + uVar1 * 8), lVar2 != 0)) {
    lVar2 = FUN_0031b7b0(lVar2,&PTR_PTR_FUN_00438640,&PTR_PTR_FUN_0043c770,0);
    bVar3 = lVar2 != 0;
  }
  return bVar3;
}


PUSH RBX
MOV RBX,RDI
LEA RDI,[0x44bd20]
CALL 0x002dd3a0
MOV RCX,qword ptr [RBX]
MOV RDX,RAX
XOR EAX,EAX
CMP qword ptr [RCX + 0x10],RDX
JBE 0x00340cd6
MOV RCX,qword ptr [RCX + 0x8]
MOV RDI,qword ptr [RCX + RDX*0x8]
TEST RDI,RDI
JZ 0x00340cd6
LEA RDX,[0x43c770]
LEA RSI,[0x438640]
XOR ECX,ECX
CALL 0x0031b7b0
TEST RAX,RAX
SETNZ AL
POP RBX
RET
(translation_unit "bool FUN_00340c90(long *param_1)\n\n{\n  ulong uVar1;\n  long lVar2;\n  bool bVar3;\n  \n  uVar1 = FUN_002dd3a0(&DAT_0044bd20);\n  bVar3 = false;\n  if ((uVar1 < *(ulong *)(*param_1 + 0x10)) &&\n     (lVar2 = *(long *)(*(long *)(*param_1 + 8) + uVar1 * 8), lVar2 != 0)) {\n    lVar2 = FUN_0031b7b0(lVar2,&PTR_PTR_FUN_00438640,&PTR_PTR_FUN_0043c770,0);\n    bVar3 = lVar2 != 0;\n  }\n  return bVar3;\n}\n\n" (function_definition "bool FUN_00340c90(long *param_1)\n\n{\n  ulong uVar1;\n  long lVar2;\n  bool bVar3;\n  \n  uVar1 = FUN_002dd3a0(&DAT_0044bd20);\n  bVar3 = false;\n  if ((uVar1 < *(ulong *)(*param_1 + 0x10)) &&\n     (lVar2 = *(long *)(*(long *)(*param_1 + 8) + uVar1 * 8), lVar2 != 0)) {\n    lVar2 = FUN_0031b7b0(lVar2,&PTR_PTR_FUN_00438640,&PTR_PTR_FUN_0043c770,0);\n    bVar3 = lVar2 != 0;\n  }\n  return bVar3;\n}" primitive_type (function_declarator "FUN_00340c90(long *param_1)" identifier (parameter_list "(long *param_1)" ( (parameter_declaration "long *param_1" (sized_type_specifier "long" long) (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  ulong uVar1;\n  long lVar2;\n  bool bVar3;\n  \n  uVar1 = FUN_002dd3a0(&DAT_0044bd20);\n  bVar3 = false;\n  if ((uVar1 < *(ulong *)(*param_1 + 0x10)) &&\n     (lVar2 = *(long *)(*(long *)(*param_1 + 8) + uVar1 * 8), lVar2 != 0)) {\n    lVar2 = FUN_0031b7b0(lVar2,&PTR_PTR_FUN_00438640,&PTR_PTR_FUN_0043c770,0);\n    bVar3 = lVar2 != 0;\n  }\n  return bVar3;\n}" { (declaration "ulong uVar1;" type_identifier identifier ;) (declaration "long lVar2;" (sized_type_specifier "long" long) identifier ;) (declaration "bool bVar3;" primitive_type identifier ;) (expression_statement "uVar1 = FUN_002dd3a0(&DAT_0044bd20);" (assignment_expression "uVar1 = FUN_002dd3a0(&DAT_0044bd20)" identifier = (call_expression "FUN_002dd3a0(&DAT_0044bd20)" identifier (argument_list "(&DAT_0044bd20)" ( (pointer_expression "&DAT_0044bd20" & identifier) )))) ;) (expression_statement "bVar3 = false;" (assignment_expression "bVar3 = false" identifier = false) ;) (if_statement "if ((uVar1 < *(ulong *)(*param_1 + 0x10)) &&\n     (lVar2 = *(long *)(*(long *)(*param_1 + 8) + uVar1 * 8), lVar2 != 0)) {\n    lVar2 = FUN_0031b7b0(lVar2,&PTR_PTR_FUN_00438640,&PTR_PTR_FUN_0043c770,0);\n    bVar3 = lVar2 != 0;\n  }" if (parenthesized_expression "((uVar1 < *(ulong *)(*param_1 + 0x10)) &&\n     (lVar2 = *(long *)(*(long *)(*param_1 + 8) + uVar1 * 8), lVar2 != 0))" ( (binary_expression "(uVar1 < *(ulong *)(*param_1 + 0x10)) &&\n     (lVar2 = *(long *)(*(long *)(*param_1 + 8) + uVar1 * 8), lVar2 != 0)" (parenthesized_expression "(uVar1 < *(ulong *)(*param_1 + 0x10))" ( (binary_expression "uVar1 < *(ulong *)(*param_1 + 0x10)" identifier < (pointer_expression "*(ulong *)(*param_1 + 0x10)" * (cast_expression "(ulong *)(*param_1 + 0x10)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0x10)" ( (binary_expression "*param_1 + 0x10" (pointer_expression "*param_1" * identifier) + number_literal) ))))) )) && (parenthesized_expression "(lVar2 = *(long *)(*(long *)(*param_1 + 8) + uVar1 * 8), lVar2 != 0)" ( (comma_expression "lVar2 = *(long *)(*(long *)(*param_1 + 8) + uVar1 * 8), lVar2 != 0" (assignment_expression "lVar2 = *(long *)(*(long *)(*param_1 + 8) + uVar1 * 8)" identifier = (pointer_expression "*(long *)(*(long *)(*param_1 + 8) + uVar1 * 8)" * (cast_expression "(long *)(*(long *)(*param_1 + 8) + uVar1 * 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(*param_1 + 8) + uVar1 * 8)" ( (binary_expression "*(long *)(*param_1 + 8) + uVar1 * 8" (pointer_expression "*(long *)(*param_1 + 8)" * (cast_expression "(long *)(*param_1 + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 8)" ( (binary_expression "*param_1 + 8" (pointer_expression "*param_1" * identifier) + number_literal) )))) + (binary_expression "uVar1 * 8" identifier * number_literal)) ))))) , (binary_expression "lVar2 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n    lVar2 = FUN_0031b7b0(lVar2,&PTR_PTR_FUN_00438640,&PTR_PTR_FUN_0043c770,0);\n    bVar3 = lVar2 != 0;\n  }" { (expression_statement "lVar2 = FUN_0031b7b0(lVar2,&PTR_PTR_FUN_00438640,&PTR_PTR_FUN_0043c770,0);" (assignment_expression "lVar2 = FUN_0031b7b0(lVar2,&PTR_PTR_FUN_00438640,&PTR_PTR_FUN_0043c770,0)" identifier = (call_expression "FUN_0031b7b0(lVar2,&PTR_PTR_FUN_00438640,&PTR_PTR_FUN_0043c770,0)" identifier (argument_list "(lVar2,&PTR_PTR_FUN_00438640,&PTR_PTR_FUN_0043c770,0)" ( identifier , (pointer_expression "&PTR_PTR_FUN_00438640" & identifier) , (pointer_expression "&PTR_PTR_FUN_0043c770" & identifier) , number_literal )))) ;) (expression_statement "bVar3 = lVar2 != 0;" (assignment_expression "bVar3 = lVar2 != 0" identifier = (binary_expression "lVar2 != 0" identifier != number_literal)) ;) })) (return_statement "return bVar3;" return identifier ;) })))
(translation_unit "/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n/* bool std::has_facet<std::money_get<wchar_t, std::istreambuf_iterator<wchar_t,\n   std::char_traits<wchar_t> > > >(std::locale const&) */\n\nbool std::\n     has_facet<std::money_get<wchar_t,std::istreambuf_iterator<wchar_t,std::char_traits<wchar_t>>>>\n               (locale *param_1)\n\n{\n  ulong uVar1;\n  long lVar2;\n  bool bVar3;\n  \n  uVar1 = locale::id::_M_id((id *)&money_get<wchar_t,std::istreambuf_iterator<wchar_t,std::char_traits<wchar_t>>>\n                                   ::id);\n  bVar3 = false;\n  if ((uVar1 < *(ulong *)(*(long *)param_1 + 0x10)) &&\n     (lVar2 = *(long *)(*(long *)(*(long *)param_1 + 8) + uVar1 * 8), bVar3 = false, lVar2 != 0)) {\n    lVar2 = __dynamic_cast(lVar2,&locale::facet::typeinfo,\n                           &money_get<wchar_t,std::istreambuf_iterator<wchar_t,std::char_traits<wchar_t>>>\n                            ::typeinfo,0);\n    bVar3 = lVar2 != 0;\n  }\n  return bVar3;\n}\n\n" comment comment (declaration "bool std::\n     has_facet<std::money_get<wchar_t,std::istreambuf_iterator<wchar_t,std::char_traits<wchar_t>>>>\n               (locale *param_1)\n\n{\n  ulong uVar1;" primitive_type (ERROR "std::\n     has_facet<std::money_get<" identifier : : identifier < identifier : : identifier <) identifier , (ERROR "std::istreambuf_iterator<" identifier : : identifier <) identifier , (ERROR "std::char_traits<wchar_t>>>>\n               (locale *param_1)\n\n{\n  ulong" 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 "long lVar2;" (sized_type_specifier "long" long) identifier ;) (declaration "bool bVar3;" primitive_type identifier ;) (ERROR "uVar1 = locale::" (assignment_expression "uVar1 = locale" identifier = identifier) : :) (labeled_statement "id::_M_id((id *)&money_get<wchar_t,std::istreambuf_iterator<wchar_t,std::char_traits<wchar_t>>>\n                                   ::id);" statement_identifier (ERROR "::_M_id((id *)&money_get<wchar_t,std::istreambuf_iterator<wchar_t,std:" : : identifier ( (binary_expression "(id *)&money_get<wchar_t" (cast_expression "(id *)&money_get" ( (type_descriptor "id *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&money_get" & identifier)) < identifier) , identifier : : (comma_expression "istreambuf_iterator<wchar_t,std" (binary_expression "istreambuf_iterator<wchar_t" identifier < identifier) , identifier) :) : (expression_statement "char_traits<wchar_t>>>\n                                   ::id);" (binary_expression "char_traits<wchar_t>>>\n                                   ::id" identifier < (binary_expression "wchar_t>>>\n                                   ::id" identifier >> (ERROR ">\n                                   ::" > : :) identifier)) (ERROR ")" )) ;)) (expression_statement "bVar3 = false;" (assignment_expression "bVar3 = false" identifier = false) ;) (if_statement "if ((uVar1 < *(ulong *)(*(long *)param_1 + 0x10)) &&\n     (lVar2 = *(long *)(*(long *)(*(long *)param_1 + 8) + uVar1 * 8), bVar3 = false, lVar2 != 0)) {\n    lVar2 = __dynamic_cast(lVar2,&locale::facet::typeinfo,\n                           &money_get<wchar_t,std::istreambuf_iterator<wchar_t,std::char_traits<wchar_t>>>\n                            ::typeinfo,0);\n    bVar3 = lVar2 != 0;\n  }" if (parenthesized_expression "((uVar1 < *(ulong *)(*(long *)param_1 + 0x10)) &&\n     (lVar2 = *(long *)(*(long *)(*(long *)param_1 + 8) + uVar1 * 8), bVar3 = false, lVar2 != 0))" ( (binary_expression "(uVar1 < *(ulong *)(*(long *)param_1 + 0x10)) &&\n     (lVar2 = *(long *)(*(long *)(*(long *)param_1 + 8) + uVar1 * 8), bVar3 = false, lVar2 != 0)" (parenthesized_expression "(uVar1 < *(ulong *)(*(long *)param_1 + 0x10))" ( (binary_expression "uVar1 < *(ulong *)(*(long *)param_1 + 0x10)" identifier < (pointer_expression "*(ulong *)(*(long *)param_1 + 0x10)" * (cast_expression "(ulong *)(*(long *)param_1 + 0x10)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)param_1 + 0x10)" ( (binary_expression "*(long *)param_1 + 0x10" (pointer_expression "*(long *)param_1" * (cast_expression "(long *)param_1" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) ))))) )) && (parenthesized_expression "(lVar2 = *(long *)(*(long *)(*(long *)param_1 + 8) + uVar1 * 8), bVar3 = false, lVar2 != 0)" ( (comma_expression "lVar2 = *(long *)(*(long *)(*(long *)param_1 + 8) + uVar1 * 8), bVar3 = false, lVar2 != 0" (assignment_expression "lVar2 = *(long *)(*(long *)(*(long *)param_1 + 8) + uVar1 * 8)" identifier = (pointer_expression "*(long *)(*(long *)(*(long *)param_1 + 8) + uVar1 * 8)" * (cast_expression "(long *)(*(long *)(*(long *)param_1 + 8) + uVar1 * 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(*(long *)param_1 + 8) + uVar1 * 8)" ( (binary_expression "*(long *)(*(long *)param_1 + 8) + uVar1 * 8" (pointer_expression "*(long *)(*(long *)param_1 + 8)" * (cast_expression "(long *)(*(long *)param_1 + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)param_1 + 8)" ( (binary_expression "*(long *)param_1 + 8" (pointer_expression "*(long *)param_1" * (cast_expression "(long *)param_1" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) )))) + (binary_expression "uVar1 * 8" identifier * number_literal)) ))))) , (comma_expression "bVar3 = false, lVar2 != 0" (assignment_expression "bVar3 = false" identifier = false) , (binary_expression "lVar2 != 0" identifier != number_literal))) ))) )) (compound_statement "{\n    lVar2 = __dynamic_cast(lVar2,&locale::facet::typeinfo,\n                           &money_get<wchar_t,std::istreambuf_iterator<wchar_t,std::char_traits<wchar_t>>>\n                            ::typeinfo,0);\n    bVar3 = lVar2 != 0;\n  }" { (expression_statement "lVar2 = __dynamic_cast(lVar2,&locale::facet::typeinfo,\n                           &money_get<wchar_t,std::istreambuf_iterator<wchar_t,std::char_traits<wchar_t>>>\n                            ::typeinfo,0);" (assignment_expression "lVar2 = __dynamic_cast(lVar2,&locale::facet::typeinfo,\n                           &money_get<wchar_t,std::istreambuf_iterator<wchar_t,std::char_traits<wchar_t>>>\n                            ::typeinfo,0)" identifier = (call_expression "__dynamic_cast(lVar2,&locale::facet::typeinfo,\n                           &money_get<wchar_t,std::istreambuf_iterator<wchar_t,std::char_traits<wchar_t>>>\n                            ::typeinfo,0)" identifier (argument_list "(lVar2,&locale::facet::typeinfo,\n                           &money_get<wchar_t,std::istreambuf_iterator<wchar_t,std::char_traits<wchar_t>>>\n                            ::typeinfo,0)" ( identifier , (ERROR "&locale::facet::" (pointer_expression "&locale" & identifier) : : identifier : :) identifier , (binary_expression "&money_get<wchar_t" (pointer_expression "&money_get" & identifier) < identifier) , (ERROR "std::" identifier : :) (binary_expression "istreambuf_iterator<wchar_t" identifier < identifier) , (ERROR "std::" identifier : :) (binary_expression "char_traits<wchar_t>>>\n                            ::typeinfo" identifier < (binary_expression "wchar_t>>>\n                            ::typeinfo" identifier >> (ERROR ">\n                            ::" > : :) identifier)) , number_literal )))) ;) (expression_statement "bVar3 = lVar2 != 0;" (assignment_expression "bVar3 = lVar2 != 0" identifier = (binary_expression "lVar2 != 0" identifier != number_literal)) ;) })) (return_statement "return bVar3;" return identifier ;) (ERROR "}" }))
(translation_unit "bool FUN_00340c90(long *param_1)\n\n{\n  ulong uVar1;\n  long lVar2;\n  bool bVar3;\n  \n  uVar1 = FUN_002dd3a0(&DAT_0044bd20);\n  bVar3 = false;\n  if ((uVar1 < *(ulong *)(*param_1 + 0x10)) &&\n     (lVar2 = *(long *)(*(long *)(*param_1 + 8) + uVar1 * 8), lVar2 != 0)) {\n    lVar2 = FUN_0031b7b0(lVar2,&PTR_PTR_FUN_00438640,&PTR_PTR_FUN_0043c770,0);\n    bVar3 = lVar2 != 0;\n  }\n  return bVar3;\n}\n\n" (function_definition "bool FUN_00340c90(long *param_1)\n\n{\n  ulong uVar1;\n  long lVar2;\n  bool bVar3;\n  \n  uVar1 = FUN_002dd3a0(&DAT_0044bd20);\n  bVar3 = false;\n  if ((uVar1 < *(ulong *)(*param_1 + 0x10)) &&\n     (lVar2 = *(long *)(*(long *)(*param_1 + 8) + uVar1 * 8), lVar2 != 0)) {\n    lVar2 = FUN_0031b7b0(lVar2,&PTR_PTR_FUN_00438640,&PTR_PTR_FUN_0043c770,0);\n    bVar3 = lVar2 != 0;\n  }\n  return bVar3;\n}" primitive_type (function_declarator "FUN_00340c90(long *param_1)" identifier (parameter_list "(long *param_1)" ( (parameter_declaration "long *param_1" (sized_type_specifier "long" long) (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  ulong uVar1;\n  long lVar2;\n  bool bVar3;\n  \n  uVar1 = FUN_002dd3a0(&DAT_0044bd20);\n  bVar3 = false;\n  if ((uVar1 < *(ulong *)(*param_1 + 0x10)) &&\n     (lVar2 = *(long *)(*(long *)(*param_1 + 8) + uVar1 * 8), lVar2 != 0)) {\n    lVar2 = FUN_0031b7b0(lVar2,&PTR_PTR_FUN_00438640,&PTR_PTR_FUN_0043c770,0);\n    bVar3 = lVar2 != 0;\n  }\n  return bVar3;\n}" { (declaration "ulong uVar1;" type_identifier identifier ;) (declaration "long lVar2;" (sized_type_specifier "long" long) identifier ;) (declaration "bool bVar3;" primitive_type identifier ;) (expression_statement "uVar1 = FUN_002dd3a0(&DAT_0044bd20);" (assignment_expression "uVar1 = FUN_002dd3a0(&DAT_0044bd20)" identifier = (call_expression "FUN_002dd3a0(&DAT_0044bd20)" identifier (argument_list "(&DAT_0044bd20)" ( (pointer_expression "&DAT_0044bd20" & identifier) )))) ;) (expression_statement "bVar3 = false;" (assignment_expression "bVar3 = false" identifier = false) ;) (if_statement "if ((uVar1 < *(ulong *)(*param_1 + 0x10)) &&\n     (lVar2 = *(long *)(*(long *)(*param_1 + 8) + uVar1 * 8), lVar2 != 0)) {\n    lVar2 = FUN_0031b7b0(lVar2,&PTR_PTR_FUN_00438640,&PTR_PTR_FUN_0043c770,0);\n    bVar3 = lVar2 != 0;\n  }" if (parenthesized_expression "((uVar1 < *(ulong *)(*param_1 + 0x10)) &&\n     (lVar2 = *(long *)(*(long *)(*param_1 + 8) + uVar1 * 8), lVar2 != 0))" ( (binary_expression "(uVar1 < *(ulong *)(*param_1 + 0x10)) &&\n     (lVar2 = *(long *)(*(long *)(*param_1 + 8) + uVar1 * 8), lVar2 != 0)" (parenthesized_expression "(uVar1 < *(ulong *)(*param_1 + 0x10))" ( (binary_expression "uVar1 < *(ulong *)(*param_1 + 0x10)" identifier < (pointer_expression "*(ulong *)(*param_1 + 0x10)" * (cast_expression "(ulong *)(*param_1 + 0x10)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0x10)" ( (binary_expression "*param_1 + 0x10" (pointer_expression "*param_1" * identifier) + number_literal) ))))) )) && (parenthesized_expression "(lVar2 = *(long *)(*(long *)(*param_1 + 8) + uVar1 * 8), lVar2 != 0)" ( (comma_expression "lVar2 = *(long *)(*(long *)(*param_1 + 8) + uVar1 * 8), lVar2 != 0" (assignment_expression "lVar2 = *(long *)(*(long *)(*param_1 + 8) + uVar1 * 8)" identifier = (pointer_expression "*(long *)(*(long *)(*param_1 + 8) + uVar1 * 8)" * (cast_expression "(long *)(*(long *)(*param_1 + 8) + uVar1 * 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(*param_1 + 8) + uVar1 * 8)" ( (binary_expression "*(long *)(*param_1 + 8) + uVar1 * 8" (pointer_expression "*(long *)(*param_1 + 8)" * (cast_expression "(long *)(*param_1 + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 8)" ( (binary_expression "*param_1 + 8" (pointer_expression "*param_1" * identifier) + number_literal) )))) + (binary_expression "uVar1 * 8" identifier * number_literal)) ))))) , (binary_expression "lVar2 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n    lVar2 = FUN_0031b7b0(lVar2,&PTR_PTR_FUN_00438640,&PTR_PTR_FUN_0043c770,0);\n    bVar3 = lVar2 != 0;\n  }" { (expression_statement "lVar2 = FUN_0031b7b0(lVar2,&PTR_PTR_FUN_00438640,&PTR_PTR_FUN_0043c770,0);" (assignment_expression "lVar2 = FUN_0031b7b0(lVar2,&PTR_PTR_FUN_00438640,&PTR_PTR_FUN_0043c770,0)" identifier = (call_expression "FUN_0031b7b0(lVar2,&PTR_PTR_FUN_00438640,&PTR_PTR_FUN_0043c770,0)" identifier (argument_list "(lVar2,&PTR_PTR_FUN_00438640,&PTR_PTR_FUN_0043c770,0)" ( identifier , (pointer_expression "&PTR_PTR_FUN_00438640" & identifier) , (pointer_expression "&PTR_PTR_FUN_0043c770" & identifier) , number_literal )))) ;) (expression_statement "bVar3 = lVar2 != 0;" (assignment_expression "bVar3 = lVar2 != 0" identifier = (binary_expression "lVar2 != 0" identifier != number_literal)) ;) })) (return_statement "return bVar3;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression & IDENT) )))) ;) (expression_statement (assignment_expression IDENT = BOOL) ;) (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 (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (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 , (pointer_expression & IDENT) , (pointer_expression & IDENT) , LIT )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT != LIT)) ;) })) (return_statement return IDENT ;) })))
(function_definition "bool FUN_00340c90(long *param_1)\n\n{\n  ulong uVar1;\n  long lVar2;\n  bool bVar3;\n  \n  uVar1 = FUN_002dd3a0(&DAT_0044bd20);\n  bVar3 = false;\n  if ((uVar1 < *(ulong *)(*param_1 + 0x10)) &&\n     (lVar2 = *(long *)(*(long *)(*param_1 + 8) + uVar1 * 8), lVar2 != 0)) {\n    lVar2 = FUN_0031b7b0(lVar2,&PTR_PTR_FUN_00438640,&PTR_PTR_FUN_0043c770,0);\n    bVar3 = lVar2 != 0;\n  }\n  return bVar3;\n}" (primitive_type "bool") (function_declarator "FUN_00340c90(long *param_1)" (identifier "FUN_00340c90") (parameter_list "(long *param_1)" (( "(") (parameter_declaration "long *param_1" (sized_type_specifier "long" (long "long")) (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  ulong uVar1;\n  long lVar2;\n  bool bVar3;\n  \n  uVar1 = FUN_002dd3a0(&DAT_0044bd20);\n  bVar3 = false;\n  if ((uVar1 < *(ulong *)(*param_1 + 0x10)) &&\n     (lVar2 = *(long *)(*(long *)(*param_1 + 8) + uVar1 * 8), lVar2 != 0)) {\n    lVar2 = FUN_0031b7b0(lVar2,&PTR_PTR_FUN_00438640,&PTR_PTR_FUN_0043c770,0);\n    bVar3 = lVar2 != 0;\n  }\n  return bVar3;\n}" ({ "{") (declaration "ulong uVar1;" (type_identifier "ulong") (identifier "uVar1") (; ";")) (declaration "long lVar2;" (sized_type_specifier "long" (long "long")) (identifier "lVar2") (; ";")) (declaration "bool bVar3;" (primitive_type "bool") (identifier "bVar3") (; ";")) (expression_statement "uVar1 = FUN_002dd3a0(&DAT_0044bd20);" (assignment_expression "uVar1 = FUN_002dd3a0(&DAT_0044bd20)" (identifier "uVar1") (= "=") (call_expression "FUN_002dd3a0(&DAT_0044bd20)" (identifier "FUN_002dd3a0") (argument_list "(&DAT_0044bd20)" (( "(") (pointer_expression "&DAT_0044bd20" (& "&") (identifier "DAT_0044bd20")) () ")")))) (; ";")) (expression_statement "bVar3 = false;" (assignment_expression "bVar3 = false" (identifier "bVar3") (= "=") (false "false")) (; ";")) (if_statement "if ((uVar1 < *(ulong *)(*param_1 + 0x10)) &&\n     (lVar2 = *(long *)(*(long *)(*param_1 + 8) + uVar1 * 8), lVar2 != 0)) {\n    lVar2 = FUN_0031b7b0(lVar2,&PTR_PTR_FUN_00438640,&PTR_PTR_FUN_0043c770,0);\n    bVar3 = lVar2 != 0;\n  }" (if "if") (parenthesized_expression "((uVar1 < *(ulong *)(*param_1 + 0x10)) &&\n     (lVar2 = *(long *)(*(long *)(*param_1 + 8) + uVar1 * 8), lVar2 != 0))" (( "(") (binary_expression "(uVar1 < *(ulong *)(*param_1 + 0x10)) &&\n     (lVar2 = *(long *)(*(long *)(*param_1 + 8) + uVar1 * 8), lVar2 != 0)" (parenthesized_expression "(uVar1 < *(ulong *)(*param_1 + 0x10))" (( "(") (binary_expression "uVar1 < *(ulong *)(*param_1 + 0x10)" (identifier "uVar1") (< "<") (pointer_expression "*(ulong *)(*param_1 + 0x10)" (* "*") (cast_expression "(ulong *)(*param_1 + 0x10)" (( "(") (type_descriptor "ulong *" (type_identifier "ulong") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1 + 0x10)" (( "(") (binary_expression "*param_1 + 0x10" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "0x10")) () ")"))))) () ")")) (&& "&&") (parenthesized_expression "(lVar2 = *(long *)(*(long *)(*param_1 + 8) + uVar1 * 8), lVar2 != 0)" (( "(") (comma_expression "lVar2 = *(long *)(*(long *)(*param_1 + 8) + uVar1 * 8), lVar2 != 0" (assignment_expression "lVar2 = *(long *)(*(long *)(*param_1 + 8) + uVar1 * 8)" (identifier "lVar2") (= "=") (pointer_expression "*(long *)(*(long *)(*param_1 + 8) + uVar1 * 8)" (* "*") (cast_expression "(long *)(*(long *)(*param_1 + 8) + uVar1 * 8)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(long *)(*param_1 + 8) + uVar1 * 8)" (( "(") (binary_expression "*(long *)(*param_1 + 8) + uVar1 * 8" (pointer_expression "*(long *)(*param_1 + 8)" (* "*") (cast_expression "(long *)(*param_1 + 8)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1 + 8)" (( "(") (binary_expression "*param_1 + 8" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "8")) () ")")))) (+ "+") (binary_expression "uVar1 * 8" (identifier "uVar1") (* "*") (number_literal "8"))) () ")"))))) (, ",") (binary_expression "lVar2 != 0" (identifier "lVar2") (!= "!=") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n    lVar2 = FUN_0031b7b0(lVar2,&PTR_PTR_FUN_00438640,&PTR_PTR_FUN_0043c770,0);\n    bVar3 = lVar2 != 0;\n  }" ({ "{") (expression_statement "lVar2 = FUN_0031b7b0(lVar2,&PTR_PTR_FUN_00438640,&PTR_PTR_FUN_0043c770,0);" (assignment_expression "lVar2 = FUN_0031b7b0(lVar2,&PTR_PTR_FUN_00438640,&PTR_PTR_FUN_0043c770,0)" (identifier "lVar2") (= "=") (call_expression "FUN_0031b7b0(lVar2,&PTR_PTR_FUN_00438640,&PTR_PTR_FUN_0043c770,0)" (identifier "FUN_0031b7b0") (argument_list "(lVar2,&PTR_PTR_FUN_00438640,&PTR_PTR_FUN_0043c770,0)" (( "(") (identifier "lVar2") (, ",") (pointer_expression "&PTR_PTR_FUN_00438640" (& "&") (identifier "PTR_PTR_FUN_00438640")) (, ",") (pointer_expression "&PTR_PTR_FUN_0043c770" (& "&") (identifier "PTR_PTR_FUN_0043c770")) (, ",") (number_literal "0") () ")")))) (; ";")) (expression_statement "bVar3 = lVar2 != 0;" (assignment_expression "bVar3 = lVar2 != 0" (identifier "bVar3") (= "=") (binary_expression "lVar2 != 0" (identifier "lVar2") (!= "!=") (number_literal "0"))) (; ";")) (} "}"))) (return_statement "return bVar3;" (return "return") (identifier "bVar3") (; ";")) (} "}")))

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

bool std::
     has_facet<std::money_get<var_2,std::var_7<var_2,std::var_1<var_2>>>>
               (locale *param_1)

{
  type_1 var_4;
  long var_5;
  bool bVar3;
  
  var_4 = locale::id::_M_id((var_3 *)&money_get<var_2,std::var_7<var_2,std::var_1<var_2>>>
                                   ::var_3);
  bVar3 = false;
  if ((var_4 < *(type_1 *)(*(long *)param_1 + 0x10)) &&
     (var_5 = *(long *)(*(long *)(*(long *)param_1 + 8) + var_4 * 8), bVar3 = false, var_5 != 0)) {
    var_5 = var_6(var_5,&locale::facet::var_8,
                           &money_get<var_2,std::var_7<var_2,std::var_1<var_2>>>
                            ::var_8,0);
    bVar3 = var_5 != 0;
  }
  return bVar3;
}


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

bool MASKED(long *param_1)

{
  ulong uVar1;
  long lVar2;
  bool bVar3;
  
  uVar1 = FUN_002dd3a0(&DAT_0044bd20);
  bVar3 = false;
  if ((uVar1 < *(ulong *)(*param_1 + 0x10)) &&
     (lVar2 = *(long *)(*(long *)(*param_1 + 8) + uVar1 * 8), lVar2 != 0)) {
    lVar2 = FUN_0031b7b0(lVar2,&PTR_PTR_FUN_00438640,&PTR_PTR_FUN_0043c770,0);
    bVar3 = lVar2 != 0;
  }
  return bVar3;
}

