
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention -- yet parameter storage is locked */
/* std::messages<wchar_t> const& std::use_facet<std::messages<wchar_t> >(std::locale const&) */

messages * std::use_facet<std::messages<wchar_t>>(locale *param_1)

{
  int iVar1;
  uint uVar2;
  messages *pmVar3;
  
  uVar2 = locale::id::_M_id((id *)PTR_id_0038ef5c);
  if ((uVar2 < *(uint *)(*(int *)param_1 + 8)) &&
     (iVar1 = *(int *)(*(int *)(*(int *)param_1 + 4) + uVar2 * 4), iVar1 != 0)) {
    pmVar3 = (messages *)__dynamic_cast(iVar1,PTR_PTR_0038ee44,PTR_PTR_0038eec0,0);
    if (pmVar3 != (messages *)0x0) {
      return pmVar3;
    }
                    /* WARNING: Subroutine does not return */
    __cxa_bad_cast();
  }
                    /* WARNING: Subroutine does not return */
  __throw_bad_cast();
}



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

void FUN_00255aa0(int *param_1)

{
  uint uVar1;
  int iVar2;
  
  uVar1 = FUN_001e9740(PTR_DAT_0038ef5c);
  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_0038eec0,0);
    if (iVar2 != 0) {
      return;
    }
                    /* WARNING: Subroutine does not return */
    FUN_001e66c0();
  }
                    /* WARNING: Subroutine does not return */
  FUN_0022c630();
}


PUSH EBX
CALL 0x00035840
ADD EBX,0x13955a
SUB ESP,0x14
PUSH dword ptr [EBX + 0xffffff5c]
CALL 0x001e9740
MOV EDX,dword ptr [ESP + 0x20]
ADD ESP,0x10
MOV EDX,dword ptr [EDX]
MOV ECX,dword ptr [EDX + 0x4]
CMP dword ptr [EDX + 0x8],EAX
JBE 0x00255af2
MOV EAX,dword ptr [ECX + EAX*0x4]
TEST EAX,EAX
JZ 0x00255af2
PUSH 0x0
PUSH dword ptr [EBX + 0xfffffec0]
PUSH dword ptr [EBX + 0xfffffe44]
PUSH EAX
CALL 0x0022ee90
ADD ESP,0x10
TEST EAX,EAX
JZ 0x00255af7
ADD ESP,0x8
POP EBX
RET
CALL 0x0022c630
CALL 0x001e66c0
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_00255aa0(int *param_1)\n\n{\n  uint uVar1;\n  int iVar2;\n  \n  uVar1 = FUN_001e9740(PTR_DAT_0038ef5c);\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_0038eec0,0);\n    if (iVar2 != 0) {\n      return;\n    }\n                    /* WARNING: Subroutine does not return */\n    FUN_001e66c0();\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0022c630();\n}\n\n" comment (function_definition "void FUN_00255aa0(int *param_1)\n\n{\n  uint uVar1;\n  int iVar2;\n  \n  uVar1 = FUN_001e9740(PTR_DAT_0038ef5c);\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_0038eec0,0);\n    if (iVar2 != 0) {\n      return;\n    }\n                    /* WARNING: Subroutine does not return */\n    FUN_001e66c0();\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0022c630();\n}" primitive_type (function_declarator "FUN_00255aa0(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 = FUN_001e9740(PTR_DAT_0038ef5c);\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_0038eec0,0);\n    if (iVar2 != 0) {\n      return;\n    }\n                    /* WARNING: Subroutine does not return */\n    FUN_001e66c0();\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0022c630();\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (expression_statement "uVar1 = FUN_001e9740(PTR_DAT_0038ef5c);" (assignment_expression "uVar1 = FUN_001e9740(PTR_DAT_0038ef5c)" identifier = (call_expression "FUN_001e9740(PTR_DAT_0038ef5c)" identifier (argument_list "(PTR_DAT_0038ef5c)" ( identifier )))) ;) (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_0038eec0,0);\n    if (iVar2 != 0) {\n      return;\n    }\n                    /* WARNING: Subroutine does not return */\n    FUN_001e66c0();\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_0038eec0,0);\n    if (iVar2 != 0) {\n      return;\n    }\n                    /* WARNING: Subroutine does not return */\n    FUN_001e66c0();\n  }" { (expression_statement "iVar2 = FUN_0022ee90(iVar2,PTR_PTR_0038ee44,PTR_PTR_0038eec0,0);" (assignment_expression "iVar2 = FUN_0022ee90(iVar2,PTR_PTR_0038ee44,PTR_PTR_0038eec0,0)" identifier = (call_expression "FUN_0022ee90(iVar2,PTR_PTR_0038ee44,PTR_PTR_0038eec0,0)" identifier (argument_list "(iVar2,PTR_PTR_0038ee44,PTR_PTR_0038eec0,0)" ( identifier , identifier , identifier , number_literal )))) ;) (if_statement "if (iVar2 != 0) {\n      return;\n    }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) comment (expression_statement "FUN_001e66c0();" (call_expression "FUN_001e66c0()" identifier (argument_list "()" ( ))) ;) })) comment (expression_statement "FUN_0022c630();" (call_expression "FUN_0022c630()" identifier (argument_list "()" ( ))) ;) })))
(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/* std::messages<wchar_t> const& std::use_facet<std::messages<wchar_t> >(std::locale const&) */\n\nmessages * std::use_facet<std::messages<wchar_t>>(locale *param_1)\n\n{\n  int iVar1;\n  uint uVar2;\n  messages *pmVar3;\n  \n  uVar2 = locale::id::_M_id((id *)PTR_id_0038ef5c);\n  if ((uVar2 < *(uint *)(*(int *)param_1 + 8)) &&\n     (iVar1 = *(int *)(*(int *)(*(int *)param_1 + 4) + uVar2 * 4), iVar1 != 0)) {\n    pmVar3 = (messages *)__dynamic_cast(iVar1,PTR_PTR_0038ee44,PTR_PTR_0038eec0,0);\n    if (pmVar3 != (messages *)0x0) {\n      return pmVar3;\n    }\n                    /* WARNING: Subroutine does not return */\n    __cxa_bad_cast();\n  }\n                    /* WARNING: Subroutine does not return */\n  __throw_bad_cast();\n}\n\n" comment comment comment (ERROR "messages * std::use_facet<std::messages<wchar_t>>(locale *param_1)" (binary_expression "messages * std::use_facet<std::messages<wchar_t>>(locale *param_1)" (binary_expression "messages * std::use_facet<std" (binary_expression "messages * std" identifier * identifier) (ERROR "::use_facet" : : identifier) < identifier) (ERROR "::messages" : : identifier) < (binary_expression "wchar_t>>(locale *param_1)" identifier >> (parenthesized_expression "(locale *param_1)" ( (binary_expression "locale *param_1" identifier * identifier) ))))) (compound_statement "{\n  int iVar1;\n  uint uVar2;\n  messages *pmVar3;\n  \n  uVar2 = locale::id::_M_id((id *)PTR_id_0038ef5c);\n  if ((uVar2 < *(uint *)(*(int *)param_1 + 8)) &&\n     (iVar1 = *(int *)(*(int *)(*(int *)param_1 + 4) + uVar2 * 4), iVar1 != 0)) {\n    pmVar3 = (messages *)__dynamic_cast(iVar1,PTR_PTR_0038ee44,PTR_PTR_0038eec0,0);\n    if (pmVar3 != (messages *)0x0) {\n      return pmVar3;\n    }\n                    /* WARNING: Subroutine does not return */\n    __cxa_bad_cast();\n  }\n                    /* WARNING: Subroutine does not return */\n  __throw_bad_cast();\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "messages *pmVar3;" type_identifier (pointer_declarator "*pmVar3" * identifier) ;) (ERROR "uVar2 = locale::" (assignment_expression "uVar2 = locale" identifier = identifier) : :) (labeled_statement "id::_M_id((id *)PTR_id_0038ef5c);" statement_identifier : (ERROR ":" :) (expression_statement "_M_id((id *)PTR_id_0038ef5c);" (call_expression "_M_id((id *)PTR_id_0038ef5c)" identifier (argument_list "((id *)PTR_id_0038ef5c)" ( (cast_expression "(id *)PTR_id_0038ef5c" ( (type_descriptor "id *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) ))) ;)) (if_statement "if ((uVar2 < *(uint *)(*(int *)param_1 + 8)) &&\n     (iVar1 = *(int *)(*(int *)(*(int *)param_1 + 4) + uVar2 * 4), iVar1 != 0)) {\n    pmVar3 = (messages *)__dynamic_cast(iVar1,PTR_PTR_0038ee44,PTR_PTR_0038eec0,0);\n    if (pmVar3 != (messages *)0x0) {\n      return pmVar3;\n    }\n                    /* WARNING: Subroutine does not return */\n    __cxa_bad_cast();\n  }" if (parenthesized_expression "((uVar2 < *(uint *)(*(int *)param_1 + 8)) &&\n     (iVar1 = *(int *)(*(int *)(*(int *)param_1 + 4) + uVar2 * 4), iVar1 != 0))" ( (binary_expression "(uVar2 < *(uint *)(*(int *)param_1 + 8)) &&\n     (iVar1 = *(int *)(*(int *)(*(int *)param_1 + 4) + uVar2 * 4), iVar1 != 0)" (parenthesized_expression "(uVar2 < *(uint *)(*(int *)param_1 + 8))" ( (binary_expression "uVar2 < *(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 "(iVar1 = *(int *)(*(int *)(*(int *)param_1 + 4) + uVar2 * 4), iVar1 != 0)" ( (comma_expression "iVar1 = *(int *)(*(int *)(*(int *)param_1 + 4) + uVar2 * 4), iVar1 != 0" (assignment_expression "iVar1 = *(int *)(*(int *)(*(int *)param_1 + 4) + uVar2 * 4)" identifier = (pointer_expression "*(int *)(*(int *)(*(int *)param_1 + 4) + uVar2 * 4)" * (cast_expression "(int *)(*(int *)(*(int *)param_1 + 4) + uVar2 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(*(int *)param_1 + 4) + uVar2 * 4)" ( (binary_expression "*(int *)(*(int *)param_1 + 4) + uVar2 * 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 "uVar2 * 4" identifier * number_literal)) ))))) , (binary_expression "iVar1 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n    pmVar3 = (messages *)__dynamic_cast(iVar1,PTR_PTR_0038ee44,PTR_PTR_0038eec0,0);\n    if (pmVar3 != (messages *)0x0) {\n      return pmVar3;\n    }\n                    /* WARNING: Subroutine does not return */\n    __cxa_bad_cast();\n  }" { (expression_statement "pmVar3 = (messages *)__dynamic_cast(iVar1,PTR_PTR_0038ee44,PTR_PTR_0038eec0,0);" (assignment_expression "pmVar3 = (messages *)__dynamic_cast(iVar1,PTR_PTR_0038ee44,PTR_PTR_0038eec0,0)" identifier = (cast_expression "(messages *)__dynamic_cast(iVar1,PTR_PTR_0038ee44,PTR_PTR_0038eec0,0)" ( (type_descriptor "messages *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "__dynamic_cast(iVar1,PTR_PTR_0038ee44,PTR_PTR_0038eec0,0)" identifier (argument_list "(iVar1,PTR_PTR_0038ee44,PTR_PTR_0038eec0,0)" ( identifier , identifier , identifier , number_literal ))))) ;) (if_statement "if (pmVar3 != (messages *)0x0) {\n      return pmVar3;\n    }" if (parenthesized_expression "(pmVar3 != (messages *)0x0)" ( (binary_expression "pmVar3 != (messages *)0x0" identifier != (cast_expression "(messages *)0x0" ( (type_descriptor "messages *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      return pmVar3;\n    }" { (return_statement "return pmVar3;" return identifier ;) })) comment (expression_statement "__cxa_bad_cast();" (call_expression "__cxa_bad_cast()" identifier (argument_list "()" ( ))) ;) })) comment (expression_statement "__throw_bad_cast();" (call_expression "__throw_bad_cast()" identifier (argument_list "()" ( ))) ;) }))
(translation_unit "void FUN_00255aa0(int *param_1)\n\n{\n  uint uVar1;\n  int iVar2;\n  \n  uVar1 = FUN_001e9740(PTR_DAT_0038ef5c);\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_0038eec0,0);\n    if (iVar2 != 0) {\n      return;\n    }\n                    \n    FUN_001e66c0();\n  }\n                    \n  FUN_0022c630();\n}\n\n" (function_definition "void FUN_00255aa0(int *param_1)\n\n{\n  uint uVar1;\n  int iVar2;\n  \n  uVar1 = FUN_001e9740(PTR_DAT_0038ef5c);\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_0038eec0,0);\n    if (iVar2 != 0) {\n      return;\n    }\n                    \n    FUN_001e66c0();\n  }\n                    \n  FUN_0022c630();\n}" primitive_type (function_declarator "FUN_00255aa0(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 = FUN_001e9740(PTR_DAT_0038ef5c);\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_0038eec0,0);\n    if (iVar2 != 0) {\n      return;\n    }\n                    \n    FUN_001e66c0();\n  }\n                    \n  FUN_0022c630();\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (expression_statement "uVar1 = FUN_001e9740(PTR_DAT_0038ef5c);" (assignment_expression "uVar1 = FUN_001e9740(PTR_DAT_0038ef5c)" identifier = (call_expression "FUN_001e9740(PTR_DAT_0038ef5c)" identifier (argument_list "(PTR_DAT_0038ef5c)" ( identifier )))) ;) (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_0038eec0,0);\n    if (iVar2 != 0) {\n      return;\n    }\n                    \n    FUN_001e66c0();\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_0038eec0,0);\n    if (iVar2 != 0) {\n      return;\n    }\n                    \n    FUN_001e66c0();\n  }" { (expression_statement "iVar2 = FUN_0022ee90(iVar2,PTR_PTR_0038ee44,PTR_PTR_0038eec0,0);" (assignment_expression "iVar2 = FUN_0022ee90(iVar2,PTR_PTR_0038ee44,PTR_PTR_0038eec0,0)" identifier = (call_expression "FUN_0022ee90(iVar2,PTR_PTR_0038ee44,PTR_PTR_0038eec0,0)" identifier (argument_list "(iVar2,PTR_PTR_0038ee44,PTR_PTR_0038eec0,0)" ( identifier , identifier , identifier , number_literal )))) ;) (if_statement "if (iVar2 != 0) {\n      return;\n    }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) (expression_statement "FUN_001e66c0();" (call_expression "FUN_001e66c0()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "FUN_0022c630();" (call_expression "FUN_0022c630()" identifier (argument_list "()" ( ))) ;) })))
(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 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 )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })))
(function_definition "void FUN_00255aa0(int *param_1)\n\n{\n  uint uVar1;\n  int iVar2;\n  \n  uVar1 = FUN_001e9740(PTR_DAT_0038ef5c);\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_0038eec0,0);\n    if (iVar2 != 0) {\n      return;\n    }\n                    \n    FUN_001e66c0();\n  }\n                    \n  FUN_0022c630();\n}" (primitive_type "void") (function_declarator "FUN_00255aa0(int *param_1)" (identifier "FUN_00255aa0") (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 = FUN_001e9740(PTR_DAT_0038ef5c);\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_0038eec0,0);\n    if (iVar2 != 0) {\n      return;\n    }\n                    \n    FUN_001e66c0();\n  }\n                    \n  FUN_0022c630();\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (expression_statement "uVar1 = FUN_001e9740(PTR_DAT_0038ef5c);" (assignment_expression "uVar1 = FUN_001e9740(PTR_DAT_0038ef5c)" (identifier "uVar1") (= "=") (call_expression "FUN_001e9740(PTR_DAT_0038ef5c)" (identifier "FUN_001e9740") (argument_list "(PTR_DAT_0038ef5c)" (( "(") (identifier "PTR_DAT_0038ef5c") () ")")))) (; ";")) (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_0038eec0,0);\n    if (iVar2 != 0) {\n      return;\n    }\n                    \n    FUN_001e66c0();\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_0038eec0,0);\n    if (iVar2 != 0) {\n      return;\n    }\n                    \n    FUN_001e66c0();\n  }" ({ "{") (expression_statement "iVar2 = FUN_0022ee90(iVar2,PTR_PTR_0038ee44,PTR_PTR_0038eec0,0);" (assignment_expression "iVar2 = FUN_0022ee90(iVar2,PTR_PTR_0038ee44,PTR_PTR_0038eec0,0)" (identifier "iVar2") (= "=") (call_expression "FUN_0022ee90(iVar2,PTR_PTR_0038ee44,PTR_PTR_0038eec0,0)" (identifier "FUN_0022ee90") (argument_list "(iVar2,PTR_PTR_0038ee44,PTR_PTR_0038eec0,0)" (( "(") (identifier "iVar2") (, ",") (identifier "PTR_PTR_0038ee44") (, ",") (identifier "PTR_PTR_0038eec0") (, ",") (number_literal "0") () ")")))) (; ";")) (if_statement "if (iVar2 != 0) {\n      return;\n    }" (if "if") (parenthesized_expression "(iVar2 != 0)" (( "(") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      return;\n    }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "FUN_001e66c0();" (call_expression "FUN_001e66c0()" (identifier "FUN_001e66c0") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "FUN_0022c630();" (call_expression "FUN_0022c630()" (identifier "FUN_0022c630") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention -- yet parameter storage is locked */
/* std::messages<wchar_t> const& std::use_facet<std::messages<wchar_t> >(std::locale const&) */

type_2 * std::use_facet<std::type_2<wchar_t>>(locale *param_1)

{
  int var_3;
  type_1 var_2;
  type_2 *var_5;
  
  var_2 = locale::id::var_1((type_3 *)PTR_id_0038ef5c);
  if ((var_2 < *(type_1 *)(*(int *)param_1 + 8)) &&
     (var_3 = *(int *)(*(int *)(*(int *)param_1 + 4) + var_2 * 4), var_3 != 0)) {
    var_5 = (type_2 *)var_4(var_3,PTR_PTR_0038ee44,PTR_PTR_0038eec0,0);
    if (var_5 != (type_2 *)0x0) {
      return var_5;
    }
                    /* WARNING: Subroutine does not return */
    var_6();
  }
                    /* WARNING: Subroutine does not return */
  var_7();
}


(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: (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))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))))))

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

void MASKED(int *param_1)

{
  uint uVar1;
  int iVar2;
  
  uVar1 = FUN_001e9740(PTR_DAT_0038ef5c);
  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_0038eec0,0);
    if (iVar2 != 0) {
      return;
    }
                    /* WARNING: Subroutine does not return */
    FUN_001e66c0();
  }
                    /* WARNING: Subroutine does not return */
  FUN_0022c630();
}

