
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* 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;
  bool bVar3;
  
  uVar1 = locale::id::_M_id((id *)PTR_id_0038efac);
  bVar3 = false;
  if ((uVar1 < *(uint *)(*(int *)param_1 + 8)) &&
     (iVar2 = *(int *)(*(int *)(*(int *)param_1 + 4) + uVar1 * 4), iVar2 != 0)) {
    iVar2 = __dynamic_cast(iVar2,PTR_PTR_0038ee44,PTR_PTR_0038eee8,0);
    bVar3 = iVar2 != 0;
  }
  return bVar3;
}



/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

bool FUN_0023e030(int *param_1)

{
  uint uVar1;
  int iVar2;
  bool bVar3;
  
  uVar1 = FUN_001e9740(PTR_DAT_0038efac);
  bVar3 = false;
  if ((uVar1 < *(uint *)(*param_1 + 8)) &&
     (iVar2 = *(int *)(*(int *)(*param_1 + 4) + uVar1 * 4), iVar2 != 0)) {
    iVar2 = FUN_0022ee90(iVar2,PTR_PTR_0038ee44,PTR_PTR_0038eee8,0);
    bVar3 = iVar2 != 0;
  }
  return bVar3;
}


PUSH EBX
CALL 0x00035840
ADD EBX,0x150fca
SUB ESP,0x14
PUSH dword ptr [EBX + 0xffffffac]
CALL 0x001e9740
MOV EDX,EAX
MOV EAX,dword ptr [ESP + 0x20]
ADD ESP,0x10
MOV ECX,dword ptr [EAX]
XOR EAX,EAX
CMP dword ptr [ECX + 0x8],EDX
JBE 0x0023e082
MOV ECX,dword ptr [ECX + 0x4]
MOV EDX,dword ptr [ECX + EDX*0x4]
TEST EDX,EDX
JZ 0x0023e082
PUSH 0x0
PUSH dword ptr [EBX + 0xfffffee8]
PUSH dword ptr [EBX + 0xfffffe44]
PUSH EDX
CALL 0x0022ee90
ADD ESP,0x10
TEST EAX,EAX
SETNZ AL
ADD ESP,0x8
POP EBX
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nbool FUN_0023e030(int *param_1)\n\n{\n  uint uVar1;\n  int iVar2;\n  bool bVar3;\n  \n  uVar1 = FUN_001e9740(PTR_DAT_0038efac);\n  bVar3 = false;\n  if ((uVar1 < *(uint *)(*param_1 + 8)) &&\n     (iVar2 = *(int *)(*(int *)(*param_1 + 4) + uVar1 * 4), iVar2 != 0)) {\n    iVar2 = FUN_0022ee90(iVar2,PTR_PTR_0038ee44,PTR_PTR_0038eee8,0);\n    bVar3 = iVar2 != 0;\n  }\n  return bVar3;\n}\n\n" comment (function_definition "bool FUN_0023e030(int *param_1)\n\n{\n  uint uVar1;\n  int iVar2;\n  bool bVar3;\n  \n  uVar1 = FUN_001e9740(PTR_DAT_0038efac);\n  bVar3 = false;\n  if ((uVar1 < *(uint *)(*param_1 + 8)) &&\n     (iVar2 = *(int *)(*(int *)(*param_1 + 4) + uVar1 * 4), iVar2 != 0)) {\n    iVar2 = FUN_0022ee90(iVar2,PTR_PTR_0038ee44,PTR_PTR_0038eee8,0);\n    bVar3 = iVar2 != 0;\n  }\n  return bVar3;\n}" primitive_type (function_declarator "FUN_0023e030(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  bool bVar3;\n  \n  uVar1 = FUN_001e9740(PTR_DAT_0038efac);\n  bVar3 = false;\n  if ((uVar1 < *(uint *)(*param_1 + 8)) &&\n     (iVar2 = *(int *)(*(int *)(*param_1 + 4) + uVar1 * 4), iVar2 != 0)) {\n    iVar2 = FUN_0022ee90(iVar2,PTR_PTR_0038ee44,PTR_PTR_0038eee8,0);\n    bVar3 = iVar2 != 0;\n  }\n  return bVar3;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "bool bVar3;" primitive_type identifier ;) (expression_statement "uVar1 = FUN_001e9740(PTR_DAT_0038efac);" (assignment_expression "uVar1 = FUN_001e9740(PTR_DAT_0038efac)" identifier = (call_expression "FUN_001e9740(PTR_DAT_0038efac)" identifier (argument_list "(PTR_DAT_0038efac)" ( identifier )))) ;) (expression_statement "bVar3 = false;" (assignment_expression "bVar3 = false" identifier = false) ;) (if_statement "if ((uVar1 < *(uint *)(*param_1 + 8)) &&\n     (iVar2 = *(int *)(*(int *)(*param_1 + 4) + uVar1 * 4), iVar2 != 0)) {\n    iVar2 = FUN_0022ee90(iVar2,PTR_PTR_0038ee44,PTR_PTR_0038eee8,0);\n    bVar3 = 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 = FUN_0022ee90(iVar2,PTR_PTR_0038ee44,PTR_PTR_0038eee8,0);\n    bVar3 = iVar2 != 0;\n  }" { (expression_statement "iVar2 = FUN_0022ee90(iVar2,PTR_PTR_0038ee44,PTR_PTR_0038eee8,0);" (assignment_expression "iVar2 = FUN_0022ee90(iVar2,PTR_PTR_0038ee44,PTR_PTR_0038eee8,0)" identifier = (call_expression "FUN_0022ee90(iVar2,PTR_PTR_0038ee44,PTR_PTR_0038eee8,0)" identifier (argument_list "(iVar2,PTR_PTR_0038ee44,PTR_PTR_0038eee8,0)" ( identifier , identifier , identifier , number_literal )))) ;) (expression_statement "bVar3 = iVar2 != 0;" (assignment_expression "bVar3 = iVar2 != 0" identifier = (binary_expression "iVar2 != 0" identifier != number_literal)) ;) })) (return_statement "return bVar3;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* 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  bool bVar3;\n  \n  uVar1 = locale::id::_M_id((id *)PTR_id_0038efac);\n  bVar3 = false;\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_0038ee44,PTR_PTR_0038eee8,0);\n    bVar3 = iVar2 != 0;\n  }\n  return bVar3;\n}\n\n" comment 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 ;) (declaration "bool bVar3;" primitive_type identifier ;) (ERROR "uVar1 = locale::" (assignment_expression "uVar1 = locale" identifier = identifier) : :) (labeled_statement "id::_M_id((id *)PTR_id_0038efac);" statement_identifier : (ERROR ":" :) (expression_statement "_M_id((id *)PTR_id_0038efac);" (call_expression "_M_id((id *)PTR_id_0038efac)" identifier (argument_list "((id *)PTR_id_0038efac)" ( (cast_expression "(id *)PTR_id_0038efac" ( (type_descriptor "id *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) ))) ;)) (expression_statement "bVar3 = false;" (assignment_expression "bVar3 = false" identifier = false) ;) (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_0038ee44,PTR_PTR_0038eee8,0);\n    bVar3 = 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_0038ee44,PTR_PTR_0038eee8,0);\n    bVar3 = iVar2 != 0;\n  }" { (expression_statement "iVar2 = __dynamic_cast(iVar2,PTR_PTR_0038ee44,PTR_PTR_0038eee8,0);" (assignment_expression "iVar2 = __dynamic_cast(iVar2,PTR_PTR_0038ee44,PTR_PTR_0038eee8,0)" identifier = (call_expression "__dynamic_cast(iVar2,PTR_PTR_0038ee44,PTR_PTR_0038eee8,0)" identifier (argument_list "(iVar2,PTR_PTR_0038ee44,PTR_PTR_0038eee8,0)" ( identifier , identifier , identifier , number_literal )))) ;) (expression_statement "bVar3 = iVar2 != 0;" (assignment_expression "bVar3 = iVar2 != 0" identifier = (binary_expression "iVar2 != 0" identifier != number_literal)) ;) })) (return_statement "return bVar3;" return identifier ;) (ERROR "}" }))
(translation_unit "bool FUN_0023e030(int *param_1)\n\n{\n  uint uVar1;\n  int iVar2;\n  bool bVar3;\n  \n  uVar1 = FUN_001e9740(PTR_DAT_0038efac);\n  bVar3 = false;\n  if ((uVar1 < *(uint *)(*param_1 + 8)) &&\n     (iVar2 = *(int *)(*(int *)(*param_1 + 4) + uVar1 * 4), iVar2 != 0)) {\n    iVar2 = FUN_0022ee90(iVar2,PTR_PTR_0038ee44,PTR_PTR_0038eee8,0);\n    bVar3 = iVar2 != 0;\n  }\n  return bVar3;\n}\n\n" (function_definition "bool FUN_0023e030(int *param_1)\n\n{\n  uint uVar1;\n  int iVar2;\n  bool bVar3;\n  \n  uVar1 = FUN_001e9740(PTR_DAT_0038efac);\n  bVar3 = false;\n  if ((uVar1 < *(uint *)(*param_1 + 8)) &&\n     (iVar2 = *(int *)(*(int *)(*param_1 + 4) + uVar1 * 4), iVar2 != 0)) {\n    iVar2 = FUN_0022ee90(iVar2,PTR_PTR_0038ee44,PTR_PTR_0038eee8,0);\n    bVar3 = iVar2 != 0;\n  }\n  return bVar3;\n}" primitive_type (function_declarator "FUN_0023e030(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  bool bVar3;\n  \n  uVar1 = FUN_001e9740(PTR_DAT_0038efac);\n  bVar3 = false;\n  if ((uVar1 < *(uint *)(*param_1 + 8)) &&\n     (iVar2 = *(int *)(*(int *)(*param_1 + 4) + uVar1 * 4), iVar2 != 0)) {\n    iVar2 = FUN_0022ee90(iVar2,PTR_PTR_0038ee44,PTR_PTR_0038eee8,0);\n    bVar3 = iVar2 != 0;\n  }\n  return bVar3;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "bool bVar3;" primitive_type identifier ;) (expression_statement "uVar1 = FUN_001e9740(PTR_DAT_0038efac);" (assignment_expression "uVar1 = FUN_001e9740(PTR_DAT_0038efac)" identifier = (call_expression "FUN_001e9740(PTR_DAT_0038efac)" identifier (argument_list "(PTR_DAT_0038efac)" ( identifier )))) ;) (expression_statement "bVar3 = false;" (assignment_expression "bVar3 = false" identifier = false) ;) (if_statement "if ((uVar1 < *(uint *)(*param_1 + 8)) &&\n     (iVar2 = *(int *)(*(int *)(*param_1 + 4) + uVar1 * 4), iVar2 != 0)) {\n    iVar2 = FUN_0022ee90(iVar2,PTR_PTR_0038ee44,PTR_PTR_0038eee8,0);\n    bVar3 = 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 = FUN_0022ee90(iVar2,PTR_PTR_0038ee44,PTR_PTR_0038eee8,0);\n    bVar3 = iVar2 != 0;\n  }" { (expression_statement "iVar2 = FUN_0022ee90(iVar2,PTR_PTR_0038ee44,PTR_PTR_0038eee8,0);" (assignment_expression "iVar2 = FUN_0022ee90(iVar2,PTR_PTR_0038ee44,PTR_PTR_0038eee8,0)" identifier = (call_expression "FUN_0022ee90(iVar2,PTR_PTR_0038ee44,PTR_PTR_0038eee8,0)" identifier (argument_list "(iVar2,PTR_PTR_0038ee44,PTR_PTR_0038eee8,0)" ( identifier , identifier , identifier , number_literal )))) ;) (expression_statement "bVar3 = iVar2 != 0;" (assignment_expression "bVar3 = iVar2 != 0" identifier = (binary_expression "iVar2 != 0" identifier != number_literal)) ;) })) (return_statement "return bVar3;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( 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 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 )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT != LIT)) ;) })) (return_statement return IDENT ;) })))
(function_definition "bool FUN_0023e030(int *param_1)\n\n{\n  uint uVar1;\n  int iVar2;\n  bool bVar3;\n  \n  uVar1 = FUN_001e9740(PTR_DAT_0038efac);\n  bVar3 = false;\n  if ((uVar1 < *(uint *)(*param_1 + 8)) &&\n     (iVar2 = *(int *)(*(int *)(*param_1 + 4) + uVar1 * 4), iVar2 != 0)) {\n    iVar2 = FUN_0022ee90(iVar2,PTR_PTR_0038ee44,PTR_PTR_0038eee8,0);\n    bVar3 = iVar2 != 0;\n  }\n  return bVar3;\n}" (primitive_type "bool") (function_declarator "FUN_0023e030(int *param_1)" (identifier "FUN_0023e030") (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  bool bVar3;\n  \n  uVar1 = FUN_001e9740(PTR_DAT_0038efac);\n  bVar3 = false;\n  if ((uVar1 < *(uint *)(*param_1 + 8)) &&\n     (iVar2 = *(int *)(*(int *)(*param_1 + 4) + uVar1 * 4), iVar2 != 0)) {\n    iVar2 = FUN_0022ee90(iVar2,PTR_PTR_0038ee44,PTR_PTR_0038eee8,0);\n    bVar3 = iVar2 != 0;\n  }\n  return bVar3;\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "bool bVar3;" (primitive_type "bool") (identifier "bVar3") (; ";")) (expression_statement "uVar1 = FUN_001e9740(PTR_DAT_0038efac);" (assignment_expression "uVar1 = FUN_001e9740(PTR_DAT_0038efac)" (identifier "uVar1") (= "=") (call_expression "FUN_001e9740(PTR_DAT_0038efac)" (identifier "FUN_001e9740") (argument_list "(PTR_DAT_0038efac)" (( "(") (identifier "PTR_DAT_0038efac") () ")")))) (; ";")) (expression_statement "bVar3 = false;" (assignment_expression "bVar3 = false" (identifier "bVar3") (= "=") (false "false")) (; ";")) (if_statement "if ((uVar1 < *(uint *)(*param_1 + 8)) &&\n     (iVar2 = *(int *)(*(int *)(*param_1 + 4) + uVar1 * 4), iVar2 != 0)) {\n    iVar2 = FUN_0022ee90(iVar2,PTR_PTR_0038ee44,PTR_PTR_0038eee8,0);\n    bVar3 = 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 = FUN_0022ee90(iVar2,PTR_PTR_0038ee44,PTR_PTR_0038eee8,0);\n    bVar3 = iVar2 != 0;\n  }" ({ "{") (expression_statement "iVar2 = FUN_0022ee90(iVar2,PTR_PTR_0038ee44,PTR_PTR_0038eee8,0);" (assignment_expression "iVar2 = FUN_0022ee90(iVar2,PTR_PTR_0038ee44,PTR_PTR_0038eee8,0)" (identifier "iVar2") (= "=") (call_expression "FUN_0022ee90(iVar2,PTR_PTR_0038ee44,PTR_PTR_0038eee8,0)" (identifier "FUN_0022ee90") (argument_list "(iVar2,PTR_PTR_0038ee44,PTR_PTR_0038eee8,0)" (( "(") (identifier "iVar2") (, ",") (identifier "PTR_PTR_0038ee44") (, ",") (identifier "PTR_PTR_0038eee8") (, ",") (number_literal "0") () ")")))) (; ";")) (expression_statement "bVar3 = iVar2 != 0;" (assignment_expression "bVar3 = iVar2 != 0" (identifier "bVar3") (= "=") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0"))) (; ";")) (} "}"))) (return_statement "return bVar3;" (return "return") (identifier "bVar3") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* 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_2;
  int var_3;
  bool bVar3;
  
  var_2 = locale::id::var_1((type_1 *)PTR_id_0038efac);
  bVar3 = false;
  if ((var_2 < *(type_2 *)(*(int *)param_1 + 8)) &&
     (var_3 = *(int *)(*(int *)(*(int *)param_1 + 4) + var_2 * 4), var_3 != 0)) {
    var_3 = var_4(var_3,PTR_PTR_0038ee44,PTR_PTR_0038eee8,0);
    bVar3 = var_3 != 0;
  }
  return bVar3;
}


(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)) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (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: (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))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))) (return_statement (identifier)))))

/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

bool MASKED(int *param_1)

{
  uint uVar1;
  int iVar2;
  bool bVar3;
  
  uVar1 = FUN_001e9740(PTR_DAT_0038efac);
  bVar3 = false;
  if ((uVar1 < *(uint *)(*param_1 + 8)) &&
     (iVar2 = *(int *)(*(int *)(*param_1 + 4) + uVar1 * 4), iVar2 != 0)) {
    iVar2 = FUN_0022ee90(iVar2,PTR_PTR_0038ee44,PTR_PTR_0038eee8,0);
    bVar3 = iVar2 != 0;
  }
  return bVar3;
}

