
/* WARNING: Unknown calling convention -- yet parameter storage is locked */
/* std::wistream& std::getline<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t>
   >(std::wistream&, std::wstring&, wchar_t) [clone .cold.45] */

wistream *
std::getline<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t>>
          (wistream *param_1,wstring *param_2,wchar_t param_3)

{
  uint *puVar1;
  int in_EDX;
  wios *this;
  int unaff_EBP;
  int iVar2;
  
  *(undefined4 *)(unaff_EBP + -0x2c) = 1;
  if (in_EDX != 1) {
    __cxa_begin_catch();
    iVar2 = *(int *)(unaff_EBP + 8) + *(int *)(**(int **)(unaff_EBP + 8) + -0xc);
    puVar1 = (uint *)(iVar2 + 0x14);
    *puVar1 = *puVar1 | 1;
    if ((*(byte *)(iVar2 + 0x10) & 1) != 0) {
                    /* WARNING: Subroutine does not return */
      __cxa_rethrow();
    }
    __cxa_end_catch();
    if (*(int *)(unaff_EBP + -0x2c) == 0) {
      this = (wios *)(*(int *)(unaff_EBP + 8) + *(int *)(**(int **)(unaff_EBP + 8) + -0xc));
      wios::clear(this,*(_Ios_Iostate *)(this + 0x14) | _S_failbit);
    }
    return *(wistream **)(unaff_EBP + 8);
  }
  __cxa_begin_catch();
  iVar2 = *(int *)(unaff_EBP + 8) + *(int *)(**(int **)(unaff_EBP + 8) + -0xc);
  puVar1 = (uint *)(iVar2 + 0x14);
  *puVar1 = *puVar1 | 1;
  if ((*(byte *)(iVar2 + 0x10) & 1) != 0) {
                    /* WARNING: Subroutine does not return */
                    /* try { // try from 00032156 to 0003215a has its CatchHandler @ 000321ce */
    __cxa_rethrow();
  }
                    /* WARNING: Subroutine does not return */
  __cxa_rethrow();
}



undefined4 __regparm3 FUN_00032123(undefined4 param_1,int param_2)

{
  uint *puVar1;
  int unaff_EBP;
  int iVar2;
  
  *(undefined4 *)(unaff_EBP + -0x2c) = 1;
  if (param_2 != 1) {
    FUN_001e64c0(param_1);
    iVar2 = *(int *)(unaff_EBP + 8) + *(int *)(**(int **)(unaff_EBP + 8) + -0xc);
    puVar1 = (uint *)(iVar2 + 0x14);
    *puVar1 = *puVar1 | 1;
    if ((*(byte *)(iVar2 + 0x10) & 1) != 0) {
                    /* WARNING: Subroutine does not return */
      FUN_001e5680();
    }
    FUN_001e6560();
    if (*(int *)(unaff_EBP + -0x2c) == 0) {
      iVar2 = *(int *)(unaff_EBP + 8) + *(int *)(**(int **)(unaff_EBP + 8) + -0xc);
      FUN_002116a0(iVar2,*(uint *)(iVar2 + 0x14) | 4);
    }
    return *(undefined4 *)(unaff_EBP + 8);
  }
  FUN_001e64c0(param_1);
  iVar2 = *(int *)(unaff_EBP + 8) + *(int *)(**(int **)(unaff_EBP + 8) + -0xc);
  puVar1 = (uint *)(iVar2 + 0x14);
  *puVar1 = *puVar1 | 1;
  if ((*(byte *)(iVar2 + 0x10) & 1) != 0) {
                    /* WARNING: Subroutine does not return */
                    /* try { // try from 00032156 to 0003215a has its CatchHandler @ 000321ce */
    FUN_001e5680();
  }
                    /* WARNING: Subroutine does not return */
  FUN_001e5680();
}


MOV dword ptr [EBP + -0x2c],0x1
SUB EDX,0x1
JNZ 0x00032164
SUB ESP,0xc
MOV EBX,dword ptr [EBP + -0x38]
PUSH EAX
CALL 0x001e64c0
MOV EAX,dword ptr [EBP + 0x8]
MOV ESI,dword ptr [EBP + 0x8]
ADD ESP,0x10
MOV EBX,dword ptr [EBP + -0x38]
MOV EAX,dword ptr [EAX]
ADD ESI,dword ptr [EAX + -0xc]
OR dword ptr [ESI + 0x14],0x1
TEST byte ptr [ESI + 0x10],0x1
JZ 0x000321c9
CALL 0x001e5680
(translation_unit "undefined4 __regparm3 FUN_00032123(undefined4 param_1,int param_2)\n\n{\n  uint *puVar1;\n  int unaff_EBP;\n  int iVar2;\n  \n  *(undefined4 *)(unaff_EBP + -0x2c) = 1;\n  if (param_2 != 1) {\n    FUN_001e64c0(param_1);\n    iVar2 = *(int *)(unaff_EBP + 8) + *(int *)(**(int **)(unaff_EBP + 8) + -0xc);\n    puVar1 = (uint *)(iVar2 + 0x14);\n    *puVar1 = *puVar1 | 1;\n    if ((*(byte *)(iVar2 + 0x10) & 1) != 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_001e5680();\n    }\n    FUN_001e6560();\n    if (*(int *)(unaff_EBP + -0x2c) == 0) {\n      iVar2 = *(int *)(unaff_EBP + 8) + *(int *)(**(int **)(unaff_EBP + 8) + -0xc);\n      FUN_002116a0(iVar2,*(uint *)(iVar2 + 0x14) | 4);\n    }\n    return *(undefined4 *)(unaff_EBP + 8);\n  }\n  FUN_001e64c0(param_1);\n  iVar2 = *(int *)(unaff_EBP + 8) + *(int *)(**(int **)(unaff_EBP + 8) + -0xc);\n  puVar1 = (uint *)(iVar2 + 0x14);\n  *puVar1 = *puVar1 | 1;\n  if ((*(byte *)(iVar2 + 0x10) & 1) != 0) {\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 00032156 to 0003215a has its CatchHandler @ 000321ce */\n    FUN_001e5680();\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_001e5680();\n}\n\n" (function_definition "undefined4 __regparm3 FUN_00032123(undefined4 param_1,int param_2)\n\n{\n  uint *puVar1;\n  int unaff_EBP;\n  int iVar2;\n  \n  *(undefined4 *)(unaff_EBP + -0x2c) = 1;\n  if (param_2 != 1) {\n    FUN_001e64c0(param_1);\n    iVar2 = *(int *)(unaff_EBP + 8) + *(int *)(**(int **)(unaff_EBP + 8) + -0xc);\n    puVar1 = (uint *)(iVar2 + 0x14);\n    *puVar1 = *puVar1 | 1;\n    if ((*(byte *)(iVar2 + 0x10) & 1) != 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_001e5680();\n    }\n    FUN_001e6560();\n    if (*(int *)(unaff_EBP + -0x2c) == 0) {\n      iVar2 = *(int *)(unaff_EBP + 8) + *(int *)(**(int **)(unaff_EBP + 8) + -0xc);\n      FUN_002116a0(iVar2,*(uint *)(iVar2 + 0x14) | 4);\n    }\n    return *(undefined4 *)(unaff_EBP + 8);\n  }\n  FUN_001e64c0(param_1);\n  iVar2 = *(int *)(unaff_EBP + 8) + *(int *)(**(int **)(unaff_EBP + 8) + -0xc);\n  puVar1 = (uint *)(iVar2 + 0x14);\n  *puVar1 = *puVar1 | 1;\n  if ((*(byte *)(iVar2 + 0x10) & 1) != 0) {\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 00032156 to 0003215a has its CatchHandler @ 000321ce */\n    FUN_001e5680();\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_001e5680();\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "FUN_00032123(undefined4 param_1,int param_2)" identifier (parameter_list "(undefined4 param_1,int param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  uint *puVar1;\n  int unaff_EBP;\n  int iVar2;\n  \n  *(undefined4 *)(unaff_EBP + -0x2c) = 1;\n  if (param_2 != 1) {\n    FUN_001e64c0(param_1);\n    iVar2 = *(int *)(unaff_EBP + 8) + *(int *)(**(int **)(unaff_EBP + 8) + -0xc);\n    puVar1 = (uint *)(iVar2 + 0x14);\n    *puVar1 = *puVar1 | 1;\n    if ((*(byte *)(iVar2 + 0x10) & 1) != 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_001e5680();\n    }\n    FUN_001e6560();\n    if (*(int *)(unaff_EBP + -0x2c) == 0) {\n      iVar2 = *(int *)(unaff_EBP + 8) + *(int *)(**(int **)(unaff_EBP + 8) + -0xc);\n      FUN_002116a0(iVar2,*(uint *)(iVar2 + 0x14) | 4);\n    }\n    return *(undefined4 *)(unaff_EBP + 8);\n  }\n  FUN_001e64c0(param_1);\n  iVar2 = *(int *)(unaff_EBP + 8) + *(int *)(**(int **)(unaff_EBP + 8) + -0xc);\n  puVar1 = (uint *)(iVar2 + 0x14);\n  *puVar1 = *puVar1 | 1;\n  if ((*(byte *)(iVar2 + 0x10) & 1) != 0) {\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 00032156 to 0003215a has its CatchHandler @ 000321ce */\n    FUN_001e5680();\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_001e5680();\n}" { (declaration "uint *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int unaff_EBP;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (expression_statement "*(undefined4 *)(unaff_EBP + -0x2c) = 1;" (assignment_expression "*(undefined4 *)(unaff_EBP + -0x2c) = 1" (pointer_expression "*(undefined4 *)(unaff_EBP + -0x2c)" * (cast_expression "(undefined4 *)(unaff_EBP + -0x2c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EBP + -0x2c)" ( (binary_expression "unaff_EBP + -0x2c" identifier + number_literal) )))) = number_literal) ;) (if_statement "if (param_2 != 1) {\n    FUN_001e64c0(param_1);\n    iVar2 = *(int *)(unaff_EBP + 8) + *(int *)(**(int **)(unaff_EBP + 8) + -0xc);\n    puVar1 = (uint *)(iVar2 + 0x14);\n    *puVar1 = *puVar1 | 1;\n    if ((*(byte *)(iVar2 + 0x10) & 1) != 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_001e5680();\n    }\n    FUN_001e6560();\n    if (*(int *)(unaff_EBP + -0x2c) == 0) {\n      iVar2 = *(int *)(unaff_EBP + 8) + *(int *)(**(int **)(unaff_EBP + 8) + -0xc);\n      FUN_002116a0(iVar2,*(uint *)(iVar2 + 0x14) | 4);\n    }\n    return *(undefined4 *)(unaff_EBP + 8);\n  }" if (parenthesized_expression "(param_2 != 1)" ( (binary_expression "param_2 != 1" identifier != number_literal) )) (compound_statement "{\n    FUN_001e64c0(param_1);\n    iVar2 = *(int *)(unaff_EBP + 8) + *(int *)(**(int **)(unaff_EBP + 8) + -0xc);\n    puVar1 = (uint *)(iVar2 + 0x14);\n    *puVar1 = *puVar1 | 1;\n    if ((*(byte *)(iVar2 + 0x10) & 1) != 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_001e5680();\n    }\n    FUN_001e6560();\n    if (*(int *)(unaff_EBP + -0x2c) == 0) {\n      iVar2 = *(int *)(unaff_EBP + 8) + *(int *)(**(int **)(unaff_EBP + 8) + -0xc);\n      FUN_002116a0(iVar2,*(uint *)(iVar2 + 0x14) | 4);\n    }\n    return *(undefined4 *)(unaff_EBP + 8);\n  }" { (expression_statement "FUN_001e64c0(param_1);" (call_expression "FUN_001e64c0(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (expression_statement "iVar2 = *(int *)(unaff_EBP + 8) + *(int *)(**(int **)(unaff_EBP + 8) + -0xc);" (assignment_expression "iVar2 = *(int *)(unaff_EBP + 8) + *(int *)(**(int **)(unaff_EBP + 8) + -0xc)" identifier = (binary_expression "*(int *)(unaff_EBP + 8) + *(int *)(**(int **)(unaff_EBP + 8) + -0xc)" (pointer_expression "*(int *)(unaff_EBP + 8)" * (cast_expression "(int *)(unaff_EBP + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EBP + 8)" ( (binary_expression "unaff_EBP + 8" identifier + number_literal) )))) + (pointer_expression "*(int *)(**(int **)(unaff_EBP + 8) + -0xc)" * (cast_expression "(int *)(**(int **)(unaff_EBP + 8) + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(**(int **)(unaff_EBP + 8) + -0xc)" ( (binary_expression "**(int **)(unaff_EBP + 8) + -0xc" (pointer_expression "**(int **)(unaff_EBP + 8)" * (pointer_expression "*(int **)(unaff_EBP + 8)" * (cast_expression "(int **)(unaff_EBP + 8)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(unaff_EBP + 8)" ( (binary_expression "unaff_EBP + 8" identifier + number_literal) ))))) + number_literal) )))))) ;) (expression_statement "puVar1 = (uint *)(iVar2 + 0x14);" (assignment_expression "puVar1 = (uint *)(iVar2 + 0x14)" identifier = (cast_expression "(uint *)(iVar2 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x14)" ( (binary_expression "iVar2 + 0x14" identifier + number_literal) )))) ;) (expression_statement "*puVar1 = *puVar1 | 1;" (assignment_expression "*puVar1 = *puVar1 | 1" (pointer_expression "*puVar1" * identifier) = (binary_expression "*puVar1 | 1" (pointer_expression "*puVar1" * identifier) | number_literal)) ;) (if_statement "if ((*(byte *)(iVar2 + 0x10) & 1) != 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_001e5680();\n    }" if (parenthesized_expression "((*(byte *)(iVar2 + 0x10) & 1) != 0)" ( (binary_expression "(*(byte *)(iVar2 + 0x10) & 1) != 0" (parenthesized_expression "(*(byte *)(iVar2 + 0x10) & 1)" ( (binary_expression "*(byte *)(iVar2 + 0x10) & 1" (pointer_expression "*(byte *)(iVar2 + 0x10)" * (cast_expression "(byte *)(iVar2 + 0x10)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x10)" ( (binary_expression "iVar2 + 0x10" identifier + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      FUN_001e5680();\n    }" { comment (expression_statement "FUN_001e5680();" (call_expression "FUN_001e5680()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "FUN_001e6560();" (call_expression "FUN_001e6560()" identifier (argument_list "()" ( ))) ;) (if_statement "if (*(int *)(unaff_EBP + -0x2c) == 0) {\n      iVar2 = *(int *)(unaff_EBP + 8) + *(int *)(**(int **)(unaff_EBP + 8) + -0xc);\n      FUN_002116a0(iVar2,*(uint *)(iVar2 + 0x14) | 4);\n    }" if (parenthesized_expression "(*(int *)(unaff_EBP + -0x2c) == 0)" ( (binary_expression "*(int *)(unaff_EBP + -0x2c) == 0" (pointer_expression "*(int *)(unaff_EBP + -0x2c)" * (cast_expression "(int *)(unaff_EBP + -0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EBP + -0x2c)" ( (binary_expression "unaff_EBP + -0x2c" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n      iVar2 = *(int *)(unaff_EBP + 8) + *(int *)(**(int **)(unaff_EBP + 8) + -0xc);\n      FUN_002116a0(iVar2,*(uint *)(iVar2 + 0x14) | 4);\n    }" { (expression_statement "iVar2 = *(int *)(unaff_EBP + 8) + *(int *)(**(int **)(unaff_EBP + 8) + -0xc);" (assignment_expression "iVar2 = *(int *)(unaff_EBP + 8) + *(int *)(**(int **)(unaff_EBP + 8) + -0xc)" identifier = (binary_expression "*(int *)(unaff_EBP + 8) + *(int *)(**(int **)(unaff_EBP + 8) + -0xc)" (pointer_expression "*(int *)(unaff_EBP + 8)" * (cast_expression "(int *)(unaff_EBP + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EBP + 8)" ( (binary_expression "unaff_EBP + 8" identifier + number_literal) )))) + (pointer_expression "*(int *)(**(int **)(unaff_EBP + 8) + -0xc)" * (cast_expression "(int *)(**(int **)(unaff_EBP + 8) + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(**(int **)(unaff_EBP + 8) + -0xc)" ( (binary_expression "**(int **)(unaff_EBP + 8) + -0xc" (pointer_expression "**(int **)(unaff_EBP + 8)" * (pointer_expression "*(int **)(unaff_EBP + 8)" * (cast_expression "(int **)(unaff_EBP + 8)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(unaff_EBP + 8)" ( (binary_expression "unaff_EBP + 8" identifier + number_literal) ))))) + number_literal) )))))) ;) (expression_statement "FUN_002116a0(iVar2,*(uint *)(iVar2 + 0x14) | 4);" (call_expression "FUN_002116a0(iVar2,*(uint *)(iVar2 + 0x14) | 4)" identifier (argument_list "(iVar2,*(uint *)(iVar2 + 0x14) | 4)" ( identifier , (binary_expression "*(uint *)(iVar2 + 0x14) | 4" (pointer_expression "*(uint *)(iVar2 + 0x14)" * (cast_expression "(uint *)(iVar2 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x14)" ( (binary_expression "iVar2 + 0x14" identifier + number_literal) )))) | number_literal) ))) ;) })) (return_statement "return *(undefined4 *)(unaff_EBP + 8);" return (pointer_expression "*(undefined4 *)(unaff_EBP + 8)" * (cast_expression "(undefined4 *)(unaff_EBP + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EBP + 8)" ( (binary_expression "unaff_EBP + 8" identifier + number_literal) )))) ;) })) (expression_statement "FUN_001e64c0(param_1);" (call_expression "FUN_001e64c0(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (expression_statement "iVar2 = *(int *)(unaff_EBP + 8) + *(int *)(**(int **)(unaff_EBP + 8) + -0xc);" (assignment_expression "iVar2 = *(int *)(unaff_EBP + 8) + *(int *)(**(int **)(unaff_EBP + 8) + -0xc)" identifier = (binary_expression "*(int *)(unaff_EBP + 8) + *(int *)(**(int **)(unaff_EBP + 8) + -0xc)" (pointer_expression "*(int *)(unaff_EBP + 8)" * (cast_expression "(int *)(unaff_EBP + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EBP + 8)" ( (binary_expression "unaff_EBP + 8" identifier + number_literal) )))) + (pointer_expression "*(int *)(**(int **)(unaff_EBP + 8) + -0xc)" * (cast_expression "(int *)(**(int **)(unaff_EBP + 8) + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(**(int **)(unaff_EBP + 8) + -0xc)" ( (binary_expression "**(int **)(unaff_EBP + 8) + -0xc" (pointer_expression "**(int **)(unaff_EBP + 8)" * (pointer_expression "*(int **)(unaff_EBP + 8)" * (cast_expression "(int **)(unaff_EBP + 8)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(unaff_EBP + 8)" ( (binary_expression "unaff_EBP + 8" identifier + number_literal) ))))) + number_literal) )))))) ;) (expression_statement "puVar1 = (uint *)(iVar2 + 0x14);" (assignment_expression "puVar1 = (uint *)(iVar2 + 0x14)" identifier = (cast_expression "(uint *)(iVar2 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x14)" ( (binary_expression "iVar2 + 0x14" identifier + number_literal) )))) ;) (expression_statement "*puVar1 = *puVar1 | 1;" (assignment_expression "*puVar1 = *puVar1 | 1" (pointer_expression "*puVar1" * identifier) = (binary_expression "*puVar1 | 1" (pointer_expression "*puVar1" * identifier) | number_literal)) ;) (if_statement "if ((*(byte *)(iVar2 + 0x10) & 1) != 0) {\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 00032156 to 0003215a has its CatchHandler @ 000321ce */\n    FUN_001e5680();\n  }" if (parenthesized_expression "((*(byte *)(iVar2 + 0x10) & 1) != 0)" ( (binary_expression "(*(byte *)(iVar2 + 0x10) & 1) != 0" (parenthesized_expression "(*(byte *)(iVar2 + 0x10) & 1)" ( (binary_expression "*(byte *)(iVar2 + 0x10) & 1" (pointer_expression "*(byte *)(iVar2 + 0x10)" * (cast_expression "(byte *)(iVar2 + 0x10)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x10)" ( (binary_expression "iVar2 + 0x10" identifier + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 00032156 to 0003215a has its CatchHandler @ 000321ce */\n    FUN_001e5680();\n  }" { comment comment (expression_statement "FUN_001e5680();" (call_expression "FUN_001e5680()" identifier (argument_list "()" ( ))) ;) })) comment (expression_statement "FUN_001e5680();" (call_expression "FUN_001e5680()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n/* std::wistream& std::getline<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t>\n   >(std::wistream&, std::wstring&, wchar_t) [clone .cold.45] */\n\nwistream *\nstd::getline<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t>>\n          (wistream *param_1,wstring *param_2,wchar_t param_3)\n\n{\n  uint *puVar1;\n  int in_EDX;\n  wios *this;\n  int unaff_EBP;\n  int iVar2;\n  \n  *(undefined4 *)(unaff_EBP + -0x2c) = 1;\n  if (in_EDX != 1) {\n    __cxa_begin_catch();\n    iVar2 = *(int *)(unaff_EBP + 8) + *(int *)(**(int **)(unaff_EBP + 8) + -0xc);\n    puVar1 = (uint *)(iVar2 + 0x14);\n    *puVar1 = *puVar1 | 1;\n    if ((*(byte *)(iVar2 + 0x10) & 1) != 0) {\n                    /* WARNING: Subroutine does not return */\n      __cxa_rethrow();\n    }\n    __cxa_end_catch();\n    if (*(int *)(unaff_EBP + -0x2c) == 0) {\n      this = (wios *)(*(int *)(unaff_EBP + 8) + *(int *)(**(int **)(unaff_EBP + 8) + -0xc));\n      wios::clear(this,*(_Ios_Iostate *)(this + 0x14) | _S_failbit);\n    }\n    return *(wistream **)(unaff_EBP + 8);\n  }\n  __cxa_begin_catch();\n  iVar2 = *(int *)(unaff_EBP + 8) + *(int *)(**(int **)(unaff_EBP + 8) + -0xc);\n  puVar1 = (uint *)(iVar2 + 0x14);\n  *puVar1 = *puVar1 | 1;\n  if ((*(byte *)(iVar2 + 0x10) & 1) != 0) {\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 00032156 to 0003215a has its CatchHandler @ 000321ce */\n    __cxa_rethrow();\n  }\n                    /* WARNING: Subroutine does not return */\n  __cxa_rethrow();\n}\n\n" comment comment (ERROR "wistream *\nstd::getline<wchar_t," (binary_expression "wistream *\nstd::getline<wchar_t" (binary_expression "wistream *\nstd" identifier * identifier) (ERROR "::getline" : : identifier) < identifier) ,) (labeled_statement "std::char_traits<wchar_t>,std::allocator<wchar_t>>\n          (wistream *param_1,wstring *param_2,wchar_t param_3)" statement_identifier (ERROR "::char_traits<wchar_t>,std:" : : (binary_expression "char_traits<wchar_t>,std" (binary_expression "char_traits<wchar_t" identifier < identifier) > (ERROR "," ,) identifier) :) : (expression_statement "allocator<wchar_t>>\n          (wistream *param_1,wstring *param_2,wchar_t param_3)" (binary_expression "allocator<wchar_t>>\n          (wistream *param_1,wstring *param_2,wchar_t param_3)" identifier < (binary_expression "wchar_t>>\n          (wistream *param_1,wstring *param_2,wchar_t param_3)" identifier >> (parenthesized_expression "(wistream *param_1,wstring *param_2,wchar_t param_3)" ( (comma_expression "wistream *param_1,wstring *param_2,wchar_t" (binary_expression "wistream *param_1" identifier * identifier) , (comma_expression "wstring *param_2,wchar_t" (binary_expression "wstring *param_2" identifier * identifier) , identifier)) (ERROR "param_3" identifier) )))) ;)) (compound_statement "{\n  uint *puVar1;\n  int in_EDX;\n  wios *this;\n  int unaff_EBP;\n  int iVar2;\n  \n  *(undefined4 *)(unaff_EBP + -0x2c) = 1;\n  if (in_EDX != 1) {\n    __cxa_begin_catch();\n    iVar2 = *(int *)(unaff_EBP + 8) + *(int *)(**(int **)(unaff_EBP + 8) + -0xc);\n    puVar1 = (uint *)(iVar2 + 0x14);\n    *puVar1 = *puVar1 | 1;\n    if ((*(byte *)(iVar2 + 0x10) & 1) != 0) {\n                    /* WARNING: Subroutine does not return */\n      __cxa_rethrow();\n    }\n    __cxa_end_catch();\n    if (*(int *)(unaff_EBP + -0x2c) == 0) {\n      this = (wios *)(*(int *)(unaff_EBP + 8) + *(int *)(**(int **)(unaff_EBP + 8) + -0xc));\n      wios::clear(this,*(_Ios_Iostate *)(this + 0x14) | _S_failbit);\n    }\n    return *(wistream **)(unaff_EBP + 8);\n  }\n  __cxa_begin_catch();\n  iVar2 = *(int *)(unaff_EBP + 8) + *(int *)(**(int **)(unaff_EBP + 8) + -0xc);\n  puVar1 = (uint *)(iVar2 + 0x14);\n  *puVar1 = *puVar1 | 1;\n  if ((*(byte *)(iVar2 + 0x10) & 1) != 0) {\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 00032156 to 0003215a has its CatchHandler @ 000321ce */\n    __cxa_rethrow();\n  }\n                    /* WARNING: Subroutine does not return */\n  __cxa_rethrow();\n}" { (declaration "uint *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int in_EDX;" primitive_type identifier ;) (declaration "wios *this;" type_identifier (pointer_declarator "*this" * identifier) ;) (declaration "int unaff_EBP;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (expression_statement "*(undefined4 *)(unaff_EBP + -0x2c) = 1;" (assignment_expression "*(undefined4 *)(unaff_EBP + -0x2c) = 1" (pointer_expression "*(undefined4 *)(unaff_EBP + -0x2c)" * (cast_expression "(undefined4 *)(unaff_EBP + -0x2c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EBP + -0x2c)" ( (binary_expression "unaff_EBP + -0x2c" identifier + number_literal) )))) = number_literal) ;) (if_statement "if (in_EDX != 1) {\n    __cxa_begin_catch();\n    iVar2 = *(int *)(unaff_EBP + 8) + *(int *)(**(int **)(unaff_EBP + 8) + -0xc);\n    puVar1 = (uint *)(iVar2 + 0x14);\n    *puVar1 = *puVar1 | 1;\n    if ((*(byte *)(iVar2 + 0x10) & 1) != 0) {\n                    /* WARNING: Subroutine does not return */\n      __cxa_rethrow();\n    }\n    __cxa_end_catch();\n    if (*(int *)(unaff_EBP + -0x2c) == 0) {\n      this = (wios *)(*(int *)(unaff_EBP + 8) + *(int *)(**(int **)(unaff_EBP + 8) + -0xc));\n      wios::clear(this,*(_Ios_Iostate *)(this + 0x14) | _S_failbit);\n    }\n    return *(wistream **)(unaff_EBP + 8);\n  }" if (parenthesized_expression "(in_EDX != 1)" ( (binary_expression "in_EDX != 1" identifier != number_literal) )) (compound_statement "{\n    __cxa_begin_catch();\n    iVar2 = *(int *)(unaff_EBP + 8) + *(int *)(**(int **)(unaff_EBP + 8) + -0xc);\n    puVar1 = (uint *)(iVar2 + 0x14);\n    *puVar1 = *puVar1 | 1;\n    if ((*(byte *)(iVar2 + 0x10) & 1) != 0) {\n                    /* WARNING: Subroutine does not return */\n      __cxa_rethrow();\n    }\n    __cxa_end_catch();\n    if (*(int *)(unaff_EBP + -0x2c) == 0) {\n      this = (wios *)(*(int *)(unaff_EBP + 8) + *(int *)(**(int **)(unaff_EBP + 8) + -0xc));\n      wios::clear(this,*(_Ios_Iostate *)(this + 0x14) | _S_failbit);\n    }\n    return *(wistream **)(unaff_EBP + 8);\n  }" { (expression_statement "__cxa_begin_catch();" (call_expression "__cxa_begin_catch()" identifier (argument_list "()" ( ))) ;) (expression_statement "iVar2 = *(int *)(unaff_EBP + 8) + *(int *)(**(int **)(unaff_EBP + 8) + -0xc);" (assignment_expression "iVar2 = *(int *)(unaff_EBP + 8) + *(int *)(**(int **)(unaff_EBP + 8) + -0xc)" identifier = (binary_expression "*(int *)(unaff_EBP + 8) + *(int *)(**(int **)(unaff_EBP + 8) + -0xc)" (pointer_expression "*(int *)(unaff_EBP + 8)" * (cast_expression "(int *)(unaff_EBP + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EBP + 8)" ( (binary_expression "unaff_EBP + 8" identifier + number_literal) )))) + (pointer_expression "*(int *)(**(int **)(unaff_EBP + 8) + -0xc)" * (cast_expression "(int *)(**(int **)(unaff_EBP + 8) + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(**(int **)(unaff_EBP + 8) + -0xc)" ( (binary_expression "**(int **)(unaff_EBP + 8) + -0xc" (pointer_expression "**(int **)(unaff_EBP + 8)" * (pointer_expression "*(int **)(unaff_EBP + 8)" * (cast_expression "(int **)(unaff_EBP + 8)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(unaff_EBP + 8)" ( (binary_expression "unaff_EBP + 8" identifier + number_literal) ))))) + number_literal) )))))) ;) (expression_statement "puVar1 = (uint *)(iVar2 + 0x14);" (assignment_expression "puVar1 = (uint *)(iVar2 + 0x14)" identifier = (cast_expression "(uint *)(iVar2 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x14)" ( (binary_expression "iVar2 + 0x14" identifier + number_literal) )))) ;) (expression_statement "*puVar1 = *puVar1 | 1;" (assignment_expression "*puVar1 = *puVar1 | 1" (pointer_expression "*puVar1" * identifier) = (binary_expression "*puVar1 | 1" (pointer_expression "*puVar1" * identifier) | number_literal)) ;) (if_statement "if ((*(byte *)(iVar2 + 0x10) & 1) != 0) {\n                    /* WARNING: Subroutine does not return */\n      __cxa_rethrow();\n    }" if (parenthesized_expression "((*(byte *)(iVar2 + 0x10) & 1) != 0)" ( (binary_expression "(*(byte *)(iVar2 + 0x10) & 1) != 0" (parenthesized_expression "(*(byte *)(iVar2 + 0x10) & 1)" ( (binary_expression "*(byte *)(iVar2 + 0x10) & 1" (pointer_expression "*(byte *)(iVar2 + 0x10)" * (cast_expression "(byte *)(iVar2 + 0x10)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x10)" ( (binary_expression "iVar2 + 0x10" identifier + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      __cxa_rethrow();\n    }" { comment (expression_statement "__cxa_rethrow();" (call_expression "__cxa_rethrow()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "__cxa_end_catch();" (call_expression "__cxa_end_catch()" identifier (argument_list "()" ( ))) ;) (if_statement "if (*(int *)(unaff_EBP + -0x2c) == 0) {\n      this = (wios *)(*(int *)(unaff_EBP + 8) + *(int *)(**(int **)(unaff_EBP + 8) + -0xc));\n      wios::clear(this,*(_Ios_Iostate *)(this + 0x14) | _S_failbit);\n    }" if (parenthesized_expression "(*(int *)(unaff_EBP + -0x2c) == 0)" ( (binary_expression "*(int *)(unaff_EBP + -0x2c) == 0" (pointer_expression "*(int *)(unaff_EBP + -0x2c)" * (cast_expression "(int *)(unaff_EBP + -0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EBP + -0x2c)" ( (binary_expression "unaff_EBP + -0x2c" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n      this = (wios *)(*(int *)(unaff_EBP + 8) + *(int *)(**(int **)(unaff_EBP + 8) + -0xc));\n      wios::clear(this,*(_Ios_Iostate *)(this + 0x14) | _S_failbit);\n    }" { (expression_statement "this = (wios *)(*(int *)(unaff_EBP + 8) + *(int *)(**(int **)(unaff_EBP + 8) + -0xc));" (assignment_expression "this = (wios *)(*(int *)(unaff_EBP + 8) + *(int *)(**(int **)(unaff_EBP + 8) + -0xc))" identifier = (cast_expression "(wios *)(*(int *)(unaff_EBP + 8) + *(int *)(**(int **)(unaff_EBP + 8) + -0xc))" ( (type_descriptor "wios *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(unaff_EBP + 8) + *(int *)(**(int **)(unaff_EBP + 8) + -0xc))" ( (binary_expression "*(int *)(unaff_EBP + 8) + *(int *)(**(int **)(unaff_EBP + 8) + -0xc)" (pointer_expression "*(int *)(unaff_EBP + 8)" * (cast_expression "(int *)(unaff_EBP + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EBP + 8)" ( (binary_expression "unaff_EBP + 8" identifier + number_literal) )))) + (pointer_expression "*(int *)(**(int **)(unaff_EBP + 8) + -0xc)" * (cast_expression "(int *)(**(int **)(unaff_EBP + 8) + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(**(int **)(unaff_EBP + 8) + -0xc)" ( (binary_expression "**(int **)(unaff_EBP + 8) + -0xc" (pointer_expression "**(int **)(unaff_EBP + 8)" * (pointer_expression "*(int **)(unaff_EBP + 8)" * (cast_expression "(int **)(unaff_EBP + 8)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(unaff_EBP + 8)" ( (binary_expression "unaff_EBP + 8" identifier + number_literal) ))))) + number_literal) ))))) )))) ;) (labeled_statement "wios::clear(this,*(_Ios_Iostate *)(this + 0x14) | _S_failbit);" statement_identifier : (ERROR ":" :) (expression_statement "clear(this,*(_Ios_Iostate *)(this + 0x14) | _S_failbit);" (call_expression "clear(this,*(_Ios_Iostate *)(this + 0x14) | _S_failbit)" identifier (argument_list "(this,*(_Ios_Iostate *)(this + 0x14) | _S_failbit)" ( identifier , (binary_expression "*(_Ios_Iostate *)(this + 0x14) | _S_failbit" (pointer_expression "*(_Ios_Iostate *)(this + 0x14)" * (cast_expression "(_Ios_Iostate *)(this + 0x14)" ( (type_descriptor "_Ios_Iostate *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x14)" ( (binary_expression "this + 0x14" identifier + number_literal) )))) | identifier) ))) ;)) })) (return_statement "return *(wistream **)(unaff_EBP + 8);" return (pointer_expression "*(wistream **)(unaff_EBP + 8)" * (cast_expression "(wistream **)(unaff_EBP + 8)" ( (type_descriptor "wistream **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(unaff_EBP + 8)" ( (binary_expression "unaff_EBP + 8" identifier + number_literal) )))) ;) })) (expression_statement "__cxa_begin_catch();" (call_expression "__cxa_begin_catch()" identifier (argument_list "()" ( ))) ;) (expression_statement "iVar2 = *(int *)(unaff_EBP + 8) + *(int *)(**(int **)(unaff_EBP + 8) + -0xc);" (assignment_expression "iVar2 = *(int *)(unaff_EBP + 8) + *(int *)(**(int **)(unaff_EBP + 8) + -0xc)" identifier = (binary_expression "*(int *)(unaff_EBP + 8) + *(int *)(**(int **)(unaff_EBP + 8) + -0xc)" (pointer_expression "*(int *)(unaff_EBP + 8)" * (cast_expression "(int *)(unaff_EBP + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EBP + 8)" ( (binary_expression "unaff_EBP + 8" identifier + number_literal) )))) + (pointer_expression "*(int *)(**(int **)(unaff_EBP + 8) + -0xc)" * (cast_expression "(int *)(**(int **)(unaff_EBP + 8) + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(**(int **)(unaff_EBP + 8) + -0xc)" ( (binary_expression "**(int **)(unaff_EBP + 8) + -0xc" (pointer_expression "**(int **)(unaff_EBP + 8)" * (pointer_expression "*(int **)(unaff_EBP + 8)" * (cast_expression "(int **)(unaff_EBP + 8)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(unaff_EBP + 8)" ( (binary_expression "unaff_EBP + 8" identifier + number_literal) ))))) + number_literal) )))))) ;) (expression_statement "puVar1 = (uint *)(iVar2 + 0x14);" (assignment_expression "puVar1 = (uint *)(iVar2 + 0x14)" identifier = (cast_expression "(uint *)(iVar2 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x14)" ( (binary_expression "iVar2 + 0x14" identifier + number_literal) )))) ;) (expression_statement "*puVar1 = *puVar1 | 1;" (assignment_expression "*puVar1 = *puVar1 | 1" (pointer_expression "*puVar1" * identifier) = (binary_expression "*puVar1 | 1" (pointer_expression "*puVar1" * identifier) | number_literal)) ;) (if_statement "if ((*(byte *)(iVar2 + 0x10) & 1) != 0) {\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 00032156 to 0003215a has its CatchHandler @ 000321ce */\n    __cxa_rethrow();\n  }" if (parenthesized_expression "((*(byte *)(iVar2 + 0x10) & 1) != 0)" ( (binary_expression "(*(byte *)(iVar2 + 0x10) & 1) != 0" (parenthesized_expression "(*(byte *)(iVar2 + 0x10) & 1)" ( (binary_expression "*(byte *)(iVar2 + 0x10) & 1" (pointer_expression "*(byte *)(iVar2 + 0x10)" * (cast_expression "(byte *)(iVar2 + 0x10)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x10)" ( (binary_expression "iVar2 + 0x10" identifier + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 00032156 to 0003215a has its CatchHandler @ 000321ce */\n    __cxa_rethrow();\n  }" { comment comment (expression_statement "__cxa_rethrow();" (call_expression "__cxa_rethrow()" identifier (argument_list "()" ( ))) ;) })) comment (expression_statement "__cxa_rethrow();" (call_expression "__cxa_rethrow()" identifier (argument_list "()" ( ))) ;) }))
(translation_unit "undefined4 __regparm3 FUN_00032123(undefined4 param_1,int param_2)\n\n{\n  uint *puVar1;\n  int unaff_EBP;\n  int iVar2;\n  \n  *(undefined4 *)(unaff_EBP + -0x2c) = 1;\n  if (param_2 != 1) {\n    FUN_001e64c0(param_1);\n    iVar2 = *(int *)(unaff_EBP + 8) + *(int *)(**(int **)(unaff_EBP + 8) + -0xc);\n    puVar1 = (uint *)(iVar2 + 0x14);\n    *puVar1 = *puVar1 | 1;\n    if ((*(byte *)(iVar2 + 0x10) & 1) != 0) {\n                    \n      FUN_001e5680();\n    }\n    FUN_001e6560();\n    if (*(int *)(unaff_EBP + -0x2c) == 0) {\n      iVar2 = *(int *)(unaff_EBP + 8) + *(int *)(**(int **)(unaff_EBP + 8) + -0xc);\n      FUN_002116a0(iVar2,*(uint *)(iVar2 + 0x14) | 4);\n    }\n    return *(undefined4 *)(unaff_EBP + 8);\n  }\n  FUN_001e64c0(param_1);\n  iVar2 = *(int *)(unaff_EBP + 8) + *(int *)(**(int **)(unaff_EBP + 8) + -0xc);\n  puVar1 = (uint *)(iVar2 + 0x14);\n  *puVar1 = *puVar1 | 1;\n  if ((*(byte *)(iVar2 + 0x10) & 1) != 0) {\n                    \n                    \n    FUN_001e5680();\n  }\n                    \n  FUN_001e5680();\n}\n\n" (function_definition "undefined4 __regparm3 FUN_00032123(undefined4 param_1,int param_2)\n\n{\n  uint *puVar1;\n  int unaff_EBP;\n  int iVar2;\n  \n  *(undefined4 *)(unaff_EBP + -0x2c) = 1;\n  if (param_2 != 1) {\n    FUN_001e64c0(param_1);\n    iVar2 = *(int *)(unaff_EBP + 8) + *(int *)(**(int **)(unaff_EBP + 8) + -0xc);\n    puVar1 = (uint *)(iVar2 + 0x14);\n    *puVar1 = *puVar1 | 1;\n    if ((*(byte *)(iVar2 + 0x10) & 1) != 0) {\n                    \n      FUN_001e5680();\n    }\n    FUN_001e6560();\n    if (*(int *)(unaff_EBP + -0x2c) == 0) {\n      iVar2 = *(int *)(unaff_EBP + 8) + *(int *)(**(int **)(unaff_EBP + 8) + -0xc);\n      FUN_002116a0(iVar2,*(uint *)(iVar2 + 0x14) | 4);\n    }\n    return *(undefined4 *)(unaff_EBP + 8);\n  }\n  FUN_001e64c0(param_1);\n  iVar2 = *(int *)(unaff_EBP + 8) + *(int *)(**(int **)(unaff_EBP + 8) + -0xc);\n  puVar1 = (uint *)(iVar2 + 0x14);\n  *puVar1 = *puVar1 | 1;\n  if ((*(byte *)(iVar2 + 0x10) & 1) != 0) {\n                    \n                    \n    FUN_001e5680();\n  }\n                    \n  FUN_001e5680();\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "FUN_00032123(undefined4 param_1,int param_2)" identifier (parameter_list "(undefined4 param_1,int param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  uint *puVar1;\n  int unaff_EBP;\n  int iVar2;\n  \n  *(undefined4 *)(unaff_EBP + -0x2c) = 1;\n  if (param_2 != 1) {\n    FUN_001e64c0(param_1);\n    iVar2 = *(int *)(unaff_EBP + 8) + *(int *)(**(int **)(unaff_EBP + 8) + -0xc);\n    puVar1 = (uint *)(iVar2 + 0x14);\n    *puVar1 = *puVar1 | 1;\n    if ((*(byte *)(iVar2 + 0x10) & 1) != 0) {\n                    \n      FUN_001e5680();\n    }\n    FUN_001e6560();\n    if (*(int *)(unaff_EBP + -0x2c) == 0) {\n      iVar2 = *(int *)(unaff_EBP + 8) + *(int *)(**(int **)(unaff_EBP + 8) + -0xc);\n      FUN_002116a0(iVar2,*(uint *)(iVar2 + 0x14) | 4);\n    }\n    return *(undefined4 *)(unaff_EBP + 8);\n  }\n  FUN_001e64c0(param_1);\n  iVar2 = *(int *)(unaff_EBP + 8) + *(int *)(**(int **)(unaff_EBP + 8) + -0xc);\n  puVar1 = (uint *)(iVar2 + 0x14);\n  *puVar1 = *puVar1 | 1;\n  if ((*(byte *)(iVar2 + 0x10) & 1) != 0) {\n                    \n                    \n    FUN_001e5680();\n  }\n                    \n  FUN_001e5680();\n}" { (declaration "uint *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int unaff_EBP;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (expression_statement "*(undefined4 *)(unaff_EBP + -0x2c) = 1;" (assignment_expression "*(undefined4 *)(unaff_EBP + -0x2c) = 1" (pointer_expression "*(undefined4 *)(unaff_EBP + -0x2c)" * (cast_expression "(undefined4 *)(unaff_EBP + -0x2c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EBP + -0x2c)" ( (binary_expression "unaff_EBP + -0x2c" identifier + number_literal) )))) = number_literal) ;) (if_statement "if (param_2 != 1) {\n    FUN_001e64c0(param_1);\n    iVar2 = *(int *)(unaff_EBP + 8) + *(int *)(**(int **)(unaff_EBP + 8) + -0xc);\n    puVar1 = (uint *)(iVar2 + 0x14);\n    *puVar1 = *puVar1 | 1;\n    if ((*(byte *)(iVar2 + 0x10) & 1) != 0) {\n                    \n      FUN_001e5680();\n    }\n    FUN_001e6560();\n    if (*(int *)(unaff_EBP + -0x2c) == 0) {\n      iVar2 = *(int *)(unaff_EBP + 8) + *(int *)(**(int **)(unaff_EBP + 8) + -0xc);\n      FUN_002116a0(iVar2,*(uint *)(iVar2 + 0x14) | 4);\n    }\n    return *(undefined4 *)(unaff_EBP + 8);\n  }" if (parenthesized_expression "(param_2 != 1)" ( (binary_expression "param_2 != 1" identifier != number_literal) )) (compound_statement "{\n    FUN_001e64c0(param_1);\n    iVar2 = *(int *)(unaff_EBP + 8) + *(int *)(**(int **)(unaff_EBP + 8) + -0xc);\n    puVar1 = (uint *)(iVar2 + 0x14);\n    *puVar1 = *puVar1 | 1;\n    if ((*(byte *)(iVar2 + 0x10) & 1) != 0) {\n                    \n      FUN_001e5680();\n    }\n    FUN_001e6560();\n    if (*(int *)(unaff_EBP + -0x2c) == 0) {\n      iVar2 = *(int *)(unaff_EBP + 8) + *(int *)(**(int **)(unaff_EBP + 8) + -0xc);\n      FUN_002116a0(iVar2,*(uint *)(iVar2 + 0x14) | 4);\n    }\n    return *(undefined4 *)(unaff_EBP + 8);\n  }" { (expression_statement "FUN_001e64c0(param_1);" (call_expression "FUN_001e64c0(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (expression_statement "iVar2 = *(int *)(unaff_EBP + 8) + *(int *)(**(int **)(unaff_EBP + 8) + -0xc);" (assignment_expression "iVar2 = *(int *)(unaff_EBP + 8) + *(int *)(**(int **)(unaff_EBP + 8) + -0xc)" identifier = (binary_expression "*(int *)(unaff_EBP + 8) + *(int *)(**(int **)(unaff_EBP + 8) + -0xc)" (pointer_expression "*(int *)(unaff_EBP + 8)" * (cast_expression "(int *)(unaff_EBP + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EBP + 8)" ( (binary_expression "unaff_EBP + 8" identifier + number_literal) )))) + (pointer_expression "*(int *)(**(int **)(unaff_EBP + 8) + -0xc)" * (cast_expression "(int *)(**(int **)(unaff_EBP + 8) + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(**(int **)(unaff_EBP + 8) + -0xc)" ( (binary_expression "**(int **)(unaff_EBP + 8) + -0xc" (pointer_expression "**(int **)(unaff_EBP + 8)" * (pointer_expression "*(int **)(unaff_EBP + 8)" * (cast_expression "(int **)(unaff_EBP + 8)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(unaff_EBP + 8)" ( (binary_expression "unaff_EBP + 8" identifier + number_literal) ))))) + number_literal) )))))) ;) (expression_statement "puVar1 = (uint *)(iVar2 + 0x14);" (assignment_expression "puVar1 = (uint *)(iVar2 + 0x14)" identifier = (cast_expression "(uint *)(iVar2 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x14)" ( (binary_expression "iVar2 + 0x14" identifier + number_literal) )))) ;) (expression_statement "*puVar1 = *puVar1 | 1;" (assignment_expression "*puVar1 = *puVar1 | 1" (pointer_expression "*puVar1" * identifier) = (binary_expression "*puVar1 | 1" (pointer_expression "*puVar1" * identifier) | number_literal)) ;) (if_statement "if ((*(byte *)(iVar2 + 0x10) & 1) != 0) {\n                    \n      FUN_001e5680();\n    }" if (parenthesized_expression "((*(byte *)(iVar2 + 0x10) & 1) != 0)" ( (binary_expression "(*(byte *)(iVar2 + 0x10) & 1) != 0" (parenthesized_expression "(*(byte *)(iVar2 + 0x10) & 1)" ( (binary_expression "*(byte *)(iVar2 + 0x10) & 1" (pointer_expression "*(byte *)(iVar2 + 0x10)" * (cast_expression "(byte *)(iVar2 + 0x10)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x10)" ( (binary_expression "iVar2 + 0x10" identifier + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n                    \n      FUN_001e5680();\n    }" { (expression_statement "FUN_001e5680();" (call_expression "FUN_001e5680()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "FUN_001e6560();" (call_expression "FUN_001e6560()" identifier (argument_list "()" ( ))) ;) (if_statement "if (*(int *)(unaff_EBP + -0x2c) == 0) {\n      iVar2 = *(int *)(unaff_EBP + 8) + *(int *)(**(int **)(unaff_EBP + 8) + -0xc);\n      FUN_002116a0(iVar2,*(uint *)(iVar2 + 0x14) | 4);\n    }" if (parenthesized_expression "(*(int *)(unaff_EBP + -0x2c) == 0)" ( (binary_expression "*(int *)(unaff_EBP + -0x2c) == 0" (pointer_expression "*(int *)(unaff_EBP + -0x2c)" * (cast_expression "(int *)(unaff_EBP + -0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EBP + -0x2c)" ( (binary_expression "unaff_EBP + -0x2c" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n      iVar2 = *(int *)(unaff_EBP + 8) + *(int *)(**(int **)(unaff_EBP + 8) + -0xc);\n      FUN_002116a0(iVar2,*(uint *)(iVar2 + 0x14) | 4);\n    }" { (expression_statement "iVar2 = *(int *)(unaff_EBP + 8) + *(int *)(**(int **)(unaff_EBP + 8) + -0xc);" (assignment_expression "iVar2 = *(int *)(unaff_EBP + 8) + *(int *)(**(int **)(unaff_EBP + 8) + -0xc)" identifier = (binary_expression "*(int *)(unaff_EBP + 8) + *(int *)(**(int **)(unaff_EBP + 8) + -0xc)" (pointer_expression "*(int *)(unaff_EBP + 8)" * (cast_expression "(int *)(unaff_EBP + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EBP + 8)" ( (binary_expression "unaff_EBP + 8" identifier + number_literal) )))) + (pointer_expression "*(int *)(**(int **)(unaff_EBP + 8) + -0xc)" * (cast_expression "(int *)(**(int **)(unaff_EBP + 8) + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(**(int **)(unaff_EBP + 8) + -0xc)" ( (binary_expression "**(int **)(unaff_EBP + 8) + -0xc" (pointer_expression "**(int **)(unaff_EBP + 8)" * (pointer_expression "*(int **)(unaff_EBP + 8)" * (cast_expression "(int **)(unaff_EBP + 8)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(unaff_EBP + 8)" ( (binary_expression "unaff_EBP + 8" identifier + number_literal) ))))) + number_literal) )))))) ;) (expression_statement "FUN_002116a0(iVar2,*(uint *)(iVar2 + 0x14) | 4);" (call_expression "FUN_002116a0(iVar2,*(uint *)(iVar2 + 0x14) | 4)" identifier (argument_list "(iVar2,*(uint *)(iVar2 + 0x14) | 4)" ( identifier , (binary_expression "*(uint *)(iVar2 + 0x14) | 4" (pointer_expression "*(uint *)(iVar2 + 0x14)" * (cast_expression "(uint *)(iVar2 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x14)" ( (binary_expression "iVar2 + 0x14" identifier + number_literal) )))) | number_literal) ))) ;) })) (return_statement "return *(undefined4 *)(unaff_EBP + 8);" return (pointer_expression "*(undefined4 *)(unaff_EBP + 8)" * (cast_expression "(undefined4 *)(unaff_EBP + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EBP + 8)" ( (binary_expression "unaff_EBP + 8" identifier + number_literal) )))) ;) })) (expression_statement "FUN_001e64c0(param_1);" (call_expression "FUN_001e64c0(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (expression_statement "iVar2 = *(int *)(unaff_EBP + 8) + *(int *)(**(int **)(unaff_EBP + 8) + -0xc);" (assignment_expression "iVar2 = *(int *)(unaff_EBP + 8) + *(int *)(**(int **)(unaff_EBP + 8) + -0xc)" identifier = (binary_expression "*(int *)(unaff_EBP + 8) + *(int *)(**(int **)(unaff_EBP + 8) + -0xc)" (pointer_expression "*(int *)(unaff_EBP + 8)" * (cast_expression "(int *)(unaff_EBP + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EBP + 8)" ( (binary_expression "unaff_EBP + 8" identifier + number_literal) )))) + (pointer_expression "*(int *)(**(int **)(unaff_EBP + 8) + -0xc)" * (cast_expression "(int *)(**(int **)(unaff_EBP + 8) + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(**(int **)(unaff_EBP + 8) + -0xc)" ( (binary_expression "**(int **)(unaff_EBP + 8) + -0xc" (pointer_expression "**(int **)(unaff_EBP + 8)" * (pointer_expression "*(int **)(unaff_EBP + 8)" * (cast_expression "(int **)(unaff_EBP + 8)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(unaff_EBP + 8)" ( (binary_expression "unaff_EBP + 8" identifier + number_literal) ))))) + number_literal) )))))) ;) (expression_statement "puVar1 = (uint *)(iVar2 + 0x14);" (assignment_expression "puVar1 = (uint *)(iVar2 + 0x14)" identifier = (cast_expression "(uint *)(iVar2 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x14)" ( (binary_expression "iVar2 + 0x14" identifier + number_literal) )))) ;) (expression_statement "*puVar1 = *puVar1 | 1;" (assignment_expression "*puVar1 = *puVar1 | 1" (pointer_expression "*puVar1" * identifier) = (binary_expression "*puVar1 | 1" (pointer_expression "*puVar1" * identifier) | number_literal)) ;) (if_statement "if ((*(byte *)(iVar2 + 0x10) & 1) != 0) {\n                    \n                    \n    FUN_001e5680();\n  }" if (parenthesized_expression "((*(byte *)(iVar2 + 0x10) & 1) != 0)" ( (binary_expression "(*(byte *)(iVar2 + 0x10) & 1) != 0" (parenthesized_expression "(*(byte *)(iVar2 + 0x10) & 1)" ( (binary_expression "*(byte *)(iVar2 + 0x10) & 1" (pointer_expression "*(byte *)(iVar2 + 0x10)" * (cast_expression "(byte *)(iVar2 + 0x10)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x10)" ( (binary_expression "iVar2 + 0x10" identifier + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n                    \n                    \n    FUN_001e5680();\n  }" { (expression_statement "FUN_001e5680();" (call_expression "FUN_001e5680()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "FUN_001e5680();" (call_expression "FUN_001e5680()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) + LIT) )))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (pointer_expression * IDENT) | LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) )) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) + LIT) )))))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) | LIT) ))) ;) })) (return_statement return (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) + LIT) )))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (pointer_expression * IDENT) | LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) )) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })))
(function_definition "undefined4 __regparm3 FUN_00032123(undefined4 param_1,int param_2)\n\n{\n  uint *puVar1;\n  int unaff_EBP;\n  int iVar2;\n  \n  *(undefined4 *)(unaff_EBP + -0x2c) = 1;\n  if (param_2 != 1) {\n    FUN_001e64c0(param_1);\n    iVar2 = *(int *)(unaff_EBP + 8) + *(int *)(**(int **)(unaff_EBP + 8) + -0xc);\n    puVar1 = (uint *)(iVar2 + 0x14);\n    *puVar1 = *puVar1 | 1;\n    if ((*(byte *)(iVar2 + 0x10) & 1) != 0) {\n                    \n      FUN_001e5680();\n    }\n    FUN_001e6560();\n    if (*(int *)(unaff_EBP + -0x2c) == 0) {\n      iVar2 = *(int *)(unaff_EBP + 8) + *(int *)(**(int **)(unaff_EBP + 8) + -0xc);\n      FUN_002116a0(iVar2,*(uint *)(iVar2 + 0x14) | 4);\n    }\n    return *(undefined4 *)(unaff_EBP + 8);\n  }\n  FUN_001e64c0(param_1);\n  iVar2 = *(int *)(unaff_EBP + 8) + *(int *)(**(int **)(unaff_EBP + 8) + -0xc);\n  puVar1 = (uint *)(iVar2 + 0x14);\n  *puVar1 = *puVar1 | 1;\n  if ((*(byte *)(iVar2 + 0x10) & 1) != 0) {\n                    \n                    \n    FUN_001e5680();\n  }\n                    \n  FUN_001e5680();\n}" (type_identifier "undefined4") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_00032123(undefined4 param_1,int param_2)" (identifier "FUN_00032123") (parameter_list "(undefined4 param_1,int param_2)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  uint *puVar1;\n  int unaff_EBP;\n  int iVar2;\n  \n  *(undefined4 *)(unaff_EBP + -0x2c) = 1;\n  if (param_2 != 1) {\n    FUN_001e64c0(param_1);\n    iVar2 = *(int *)(unaff_EBP + 8) + *(int *)(**(int **)(unaff_EBP + 8) + -0xc);\n    puVar1 = (uint *)(iVar2 + 0x14);\n    *puVar1 = *puVar1 | 1;\n    if ((*(byte *)(iVar2 + 0x10) & 1) != 0) {\n                    \n      FUN_001e5680();\n    }\n    FUN_001e6560();\n    if (*(int *)(unaff_EBP + -0x2c) == 0) {\n      iVar2 = *(int *)(unaff_EBP + 8) + *(int *)(**(int **)(unaff_EBP + 8) + -0xc);\n      FUN_002116a0(iVar2,*(uint *)(iVar2 + 0x14) | 4);\n    }\n    return *(undefined4 *)(unaff_EBP + 8);\n  }\n  FUN_001e64c0(param_1);\n  iVar2 = *(int *)(unaff_EBP + 8) + *(int *)(**(int **)(unaff_EBP + 8) + -0xc);\n  puVar1 = (uint *)(iVar2 + 0x14);\n  *puVar1 = *puVar1 | 1;\n  if ((*(byte *)(iVar2 + 0x10) & 1) != 0) {\n                    \n                    \n    FUN_001e5680();\n  }\n                    \n  FUN_001e5680();\n}" ({ "{") (declaration "uint *puVar1;" (type_identifier "uint") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "int unaff_EBP;" (primitive_type "int") (identifier "unaff_EBP") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (expression_statement "*(undefined4 *)(unaff_EBP + -0x2c) = 1;" (assignment_expression "*(undefined4 *)(unaff_EBP + -0x2c) = 1" (pointer_expression "*(undefined4 *)(unaff_EBP + -0x2c)" (* "*") (cast_expression "(undefined4 *)(unaff_EBP + -0x2c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_EBP + -0x2c)" (( "(") (binary_expression "unaff_EBP + -0x2c" (identifier "unaff_EBP") (+ "+") (number_literal "-0x2c")) () ")")))) (= "=") (number_literal "1")) (; ";")) (if_statement "if (param_2 != 1) {\n    FUN_001e64c0(param_1);\n    iVar2 = *(int *)(unaff_EBP + 8) + *(int *)(**(int **)(unaff_EBP + 8) + -0xc);\n    puVar1 = (uint *)(iVar2 + 0x14);\n    *puVar1 = *puVar1 | 1;\n    if ((*(byte *)(iVar2 + 0x10) & 1) != 0) {\n                    \n      FUN_001e5680();\n    }\n    FUN_001e6560();\n    if (*(int *)(unaff_EBP + -0x2c) == 0) {\n      iVar2 = *(int *)(unaff_EBP + 8) + *(int *)(**(int **)(unaff_EBP + 8) + -0xc);\n      FUN_002116a0(iVar2,*(uint *)(iVar2 + 0x14) | 4);\n    }\n    return *(undefined4 *)(unaff_EBP + 8);\n  }" (if "if") (parenthesized_expression "(param_2 != 1)" (( "(") (binary_expression "param_2 != 1" (identifier "param_2") (!= "!=") (number_literal "1")) () ")")) (compound_statement "{\n    FUN_001e64c0(param_1);\n    iVar2 = *(int *)(unaff_EBP + 8) + *(int *)(**(int **)(unaff_EBP + 8) + -0xc);\n    puVar1 = (uint *)(iVar2 + 0x14);\n    *puVar1 = *puVar1 | 1;\n    if ((*(byte *)(iVar2 + 0x10) & 1) != 0) {\n                    \n      FUN_001e5680();\n    }\n    FUN_001e6560();\n    if (*(int *)(unaff_EBP + -0x2c) == 0) {\n      iVar2 = *(int *)(unaff_EBP + 8) + *(int *)(**(int **)(unaff_EBP + 8) + -0xc);\n      FUN_002116a0(iVar2,*(uint *)(iVar2 + 0x14) | 4);\n    }\n    return *(undefined4 *)(unaff_EBP + 8);\n  }" ({ "{") (expression_statement "FUN_001e64c0(param_1);" (call_expression "FUN_001e64c0(param_1)" (identifier "FUN_001e64c0") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))) (; ";")) (expression_statement "iVar2 = *(int *)(unaff_EBP + 8) + *(int *)(**(int **)(unaff_EBP + 8) + -0xc);" (assignment_expression "iVar2 = *(int *)(unaff_EBP + 8) + *(int *)(**(int **)(unaff_EBP + 8) + -0xc)" (identifier "iVar2") (= "=") (binary_expression "*(int *)(unaff_EBP + 8) + *(int *)(**(int **)(unaff_EBP + 8) + -0xc)" (pointer_expression "*(int *)(unaff_EBP + 8)" (* "*") (cast_expression "(int *)(unaff_EBP + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_EBP + 8)" (( "(") (binary_expression "unaff_EBP + 8" (identifier "unaff_EBP") (+ "+") (number_literal "8")) () ")")))) (+ "+") (pointer_expression "*(int *)(**(int **)(unaff_EBP + 8) + -0xc)" (* "*") (cast_expression "(int *)(**(int **)(unaff_EBP + 8) + -0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(**(int **)(unaff_EBP + 8) + -0xc)" (( "(") (binary_expression "**(int **)(unaff_EBP + 8) + -0xc" (pointer_expression "**(int **)(unaff_EBP + 8)" (* "*") (pointer_expression "*(int **)(unaff_EBP + 8)" (* "*") (cast_expression "(int **)(unaff_EBP + 8)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(unaff_EBP + 8)" (( "(") (binary_expression "unaff_EBP + 8" (identifier "unaff_EBP") (+ "+") (number_literal "8")) () ")"))))) (+ "+") (number_literal "-0xc")) () ")")))))) (; ";")) (expression_statement "puVar1 = (uint *)(iVar2 + 0x14);" (assignment_expression "puVar1 = (uint *)(iVar2 + 0x14)" (identifier "puVar1") (= "=") (cast_expression "(uint *)(iVar2 + 0x14)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x14)" (( "(") (binary_expression "iVar2 + 0x14" (identifier "iVar2") (+ "+") (number_literal "0x14")) () ")")))) (; ";")) (expression_statement "*puVar1 = *puVar1 | 1;" (assignment_expression "*puVar1 = *puVar1 | 1" (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (= "=") (binary_expression "*puVar1 | 1" (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (| "|") (number_literal "1"))) (; ";")) (if_statement "if ((*(byte *)(iVar2 + 0x10) & 1) != 0) {\n                    \n      FUN_001e5680();\n    }" (if "if") (parenthesized_expression "((*(byte *)(iVar2 + 0x10) & 1) != 0)" (( "(") (binary_expression "(*(byte *)(iVar2 + 0x10) & 1) != 0" (parenthesized_expression "(*(byte *)(iVar2 + 0x10) & 1)" (( "(") (binary_expression "*(byte *)(iVar2 + 0x10) & 1" (pointer_expression "*(byte *)(iVar2 + 0x10)" (* "*") (cast_expression "(byte *)(iVar2 + 0x10)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x10)" (( "(") (binary_expression "iVar2 + 0x10" (identifier "iVar2") (+ "+") (number_literal "0x10")) () ")")))) (& "&") (number_literal "1")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                    \n      FUN_001e5680();\n    }" ({ "{") (expression_statement "FUN_001e5680();" (call_expression "FUN_001e5680()" (identifier "FUN_001e5680") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "FUN_001e6560();" (call_expression "FUN_001e6560()" (identifier "FUN_001e6560") (argument_list "()" (( "(") () ")"))) (; ";")) (if_statement "if (*(int *)(unaff_EBP + -0x2c) == 0) {\n      iVar2 = *(int *)(unaff_EBP + 8) + *(int *)(**(int **)(unaff_EBP + 8) + -0xc);\n      FUN_002116a0(iVar2,*(uint *)(iVar2 + 0x14) | 4);\n    }" (if "if") (parenthesized_expression "(*(int *)(unaff_EBP + -0x2c) == 0)" (( "(") (binary_expression "*(int *)(unaff_EBP + -0x2c) == 0" (pointer_expression "*(int *)(unaff_EBP + -0x2c)" (* "*") (cast_expression "(int *)(unaff_EBP + -0x2c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_EBP + -0x2c)" (( "(") (binary_expression "unaff_EBP + -0x2c" (identifier "unaff_EBP") (+ "+") (number_literal "-0x2c")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      iVar2 = *(int *)(unaff_EBP + 8) + *(int *)(**(int **)(unaff_EBP + 8) + -0xc);\n      FUN_002116a0(iVar2,*(uint *)(iVar2 + 0x14) | 4);\n    }" ({ "{") (expression_statement "iVar2 = *(int *)(unaff_EBP + 8) + *(int *)(**(int **)(unaff_EBP + 8) + -0xc);" (assignment_expression "iVar2 = *(int *)(unaff_EBP + 8) + *(int *)(**(int **)(unaff_EBP + 8) + -0xc)" (identifier "iVar2") (= "=") (binary_expression "*(int *)(unaff_EBP + 8) + *(int *)(**(int **)(unaff_EBP + 8) + -0xc)" (pointer_expression "*(int *)(unaff_EBP + 8)" (* "*") (cast_expression "(int *)(unaff_EBP + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_EBP + 8)" (( "(") (binary_expression "unaff_EBP + 8" (identifier "unaff_EBP") (+ "+") (number_literal "8")) () ")")))) (+ "+") (pointer_expression "*(int *)(**(int **)(unaff_EBP + 8) + -0xc)" (* "*") (cast_expression "(int *)(**(int **)(unaff_EBP + 8) + -0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(**(int **)(unaff_EBP + 8) + -0xc)" (( "(") (binary_expression "**(int **)(unaff_EBP + 8) + -0xc" (pointer_expression "**(int **)(unaff_EBP + 8)" (* "*") (pointer_expression "*(int **)(unaff_EBP + 8)" (* "*") (cast_expression "(int **)(unaff_EBP + 8)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(unaff_EBP + 8)" (( "(") (binary_expression "unaff_EBP + 8" (identifier "unaff_EBP") (+ "+") (number_literal "8")) () ")"))))) (+ "+") (number_literal "-0xc")) () ")")))))) (; ";")) (expression_statement "FUN_002116a0(iVar2,*(uint *)(iVar2 + 0x14) | 4);" (call_expression "FUN_002116a0(iVar2,*(uint *)(iVar2 + 0x14) | 4)" (identifier "FUN_002116a0") (argument_list "(iVar2,*(uint *)(iVar2 + 0x14) | 4)" (( "(") (identifier "iVar2") (, ",") (binary_expression "*(uint *)(iVar2 + 0x14) | 4" (pointer_expression "*(uint *)(iVar2 + 0x14)" (* "*") (cast_expression "(uint *)(iVar2 + 0x14)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x14)" (( "(") (binary_expression "iVar2 + 0x14" (identifier "iVar2") (+ "+") (number_literal "0x14")) () ")")))) (| "|") (number_literal "4")) () ")"))) (; ";")) (} "}"))) (return_statement "return *(undefined4 *)(unaff_EBP + 8);" (return "return") (pointer_expression "*(undefined4 *)(unaff_EBP + 8)" (* "*") (cast_expression "(undefined4 *)(unaff_EBP + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_EBP + 8)" (( "(") (binary_expression "unaff_EBP + 8" (identifier "unaff_EBP") (+ "+") (number_literal "8")) () ")")))) (; ";")) (} "}"))) (expression_statement "FUN_001e64c0(param_1);" (call_expression "FUN_001e64c0(param_1)" (identifier "FUN_001e64c0") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))) (; ";")) (expression_statement "iVar2 = *(int *)(unaff_EBP + 8) + *(int *)(**(int **)(unaff_EBP + 8) + -0xc);" (assignment_expression "iVar2 = *(int *)(unaff_EBP + 8) + *(int *)(**(int **)(unaff_EBP + 8) + -0xc)" (identifier "iVar2") (= "=") (binary_expression "*(int *)(unaff_EBP + 8) + *(int *)(**(int **)(unaff_EBP + 8) + -0xc)" (pointer_expression "*(int *)(unaff_EBP + 8)" (* "*") (cast_expression "(int *)(unaff_EBP + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_EBP + 8)" (( "(") (binary_expression "unaff_EBP + 8" (identifier "unaff_EBP") (+ "+") (number_literal "8")) () ")")))) (+ "+") (pointer_expression "*(int *)(**(int **)(unaff_EBP + 8) + -0xc)" (* "*") (cast_expression "(int *)(**(int **)(unaff_EBP + 8) + -0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(**(int **)(unaff_EBP + 8) + -0xc)" (( "(") (binary_expression "**(int **)(unaff_EBP + 8) + -0xc" (pointer_expression "**(int **)(unaff_EBP + 8)" (* "*") (pointer_expression "*(int **)(unaff_EBP + 8)" (* "*") (cast_expression "(int **)(unaff_EBP + 8)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(unaff_EBP + 8)" (( "(") (binary_expression "unaff_EBP + 8" (identifier "unaff_EBP") (+ "+") (number_literal "8")) () ")"))))) (+ "+") (number_literal "-0xc")) () ")")))))) (; ";")) (expression_statement "puVar1 = (uint *)(iVar2 + 0x14);" (assignment_expression "puVar1 = (uint *)(iVar2 + 0x14)" (identifier "puVar1") (= "=") (cast_expression "(uint *)(iVar2 + 0x14)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x14)" (( "(") (binary_expression "iVar2 + 0x14" (identifier "iVar2") (+ "+") (number_literal "0x14")) () ")")))) (; ";")) (expression_statement "*puVar1 = *puVar1 | 1;" (assignment_expression "*puVar1 = *puVar1 | 1" (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (= "=") (binary_expression "*puVar1 | 1" (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (| "|") (number_literal "1"))) (; ";")) (if_statement "if ((*(byte *)(iVar2 + 0x10) & 1) != 0) {\n                    \n                    \n    FUN_001e5680();\n  }" (if "if") (parenthesized_expression "((*(byte *)(iVar2 + 0x10) & 1) != 0)" (( "(") (binary_expression "(*(byte *)(iVar2 + 0x10) & 1) != 0" (parenthesized_expression "(*(byte *)(iVar2 + 0x10) & 1)" (( "(") (binary_expression "*(byte *)(iVar2 + 0x10) & 1" (pointer_expression "*(byte *)(iVar2 + 0x10)" (* "*") (cast_expression "(byte *)(iVar2 + 0x10)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x10)" (( "(") (binary_expression "iVar2 + 0x10" (identifier "iVar2") (+ "+") (number_literal "0x10")) () ")")))) (& "&") (number_literal "1")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                    \n                    \n    FUN_001e5680();\n  }" ({ "{") (expression_statement "FUN_001e5680();" (call_expression "FUN_001e5680()" (identifier "FUN_001e5680") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "FUN_001e5680();" (call_expression "FUN_001e5680()" (identifier "FUN_001e5680") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))

/* WARNING: Unknown calling convention -- yet parameter storage is locked */
/* std::wistream& std::getline<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t>
   >(std::wistream&, std::wstring&, wchar_t) [clone .cold.45] */

var_3 *
std::getline<var_2,std::char_traits<var_2>,std::var_1<var_2>>
          (var_3 *var_4,var_5 *var_6,var_2 param_3)

{
  type_1 *puVar1;
  int var_8;
  type_2 *var_14;
  int var_7;
  int var_10;
  
  *(type_3 *)(var_7 + -0x2c) = 1;
  if (var_8 != 1) {
    var_9();
    var_10 = *(int *)(var_7 + 8) + *(int *)(**(int **)(var_7 + 8) + -0xc);
    puVar1 = (type_1 *)(var_10 + 0x14);
    *puVar1 = *puVar1 | 1;
    if ((*(type_4 *)(var_10 + 0x10) & 1) != 0) {
                    /* WARNING: Subroutine does not return */
      var_11();
    }
    var_12();
    if (*(int *)(var_7 + -0x2c) == 0) {
      var_14 = (type_2 *)(*(int *)(var_7 + 8) + *(int *)(**(int **)(var_7 + 8) + -0xc));
      wios::var_13(var_14,*(type_5 *)(var_14 + 0x14) | var_15);
    }
    return *(var_3 **)(var_7 + 8);
  }
  var_9();
  var_10 = *(int *)(var_7 + 8) + *(int *)(**(int **)(var_7 + 8) + -0xc);
  puVar1 = (type_1 *)(var_10 + 0x14);
  *puVar1 = *puVar1 | 1;
  if ((*(type_4 *)(var_10 + 0x10) & 1) != 0) {
                    /* WARNING: Subroutine does not return */
                    /* try { // try from 00032156 to 0003215a has its CatchHandler @ 000321ce */
    var_11();
  }
                    /* WARNING: Subroutine does not return */
  var_11();
}


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

undefined4 __regparm3 MASKED(undefined4 param_1,int param_2)

{
  uint *puVar1;
  int unaff_EBP;
  int iVar2;
  
  *(undefined4 *)(unaff_EBP + -0x2c) = 1;
  if (param_2 != 1) {
    FUN_001e64c0(param_1);
    iVar2 = *(int *)(unaff_EBP + 8) + *(int *)(**(int **)(unaff_EBP + 8) + -0xc);
    puVar1 = (uint *)(iVar2 + 0x14);
    *puVar1 = *puVar1 | 1;
    if ((*(byte *)(iVar2 + 0x10) & 1) != 0) {
                    /* WARNING: Subroutine does not return */
      FUN_001e5680();
    }
    FUN_001e6560();
    if (*(int *)(unaff_EBP + -0x2c) == 0) {
      iVar2 = *(int *)(unaff_EBP + 8) + *(int *)(**(int **)(unaff_EBP + 8) + -0xc);
      FUN_002116a0(iVar2,*(uint *)(iVar2 + 0x14) | 4);
    }
    return *(undefined4 *)(unaff_EBP + 8);
  }
  FUN_001e64c0(param_1);
  iVar2 = *(int *)(unaff_EBP + 8) + *(int *)(**(int **)(unaff_EBP + 8) + -0xc);
  puVar1 = (uint *)(iVar2 + 0x14);
  *puVar1 = *puVar1 | 1;
  if ((*(byte *)(iVar2 + 0x10) & 1) != 0) {
                    /* WARNING: Subroutine does not return */
                    /* try { // try from 00032156 to 0003215a has its CatchHandler @ 000321ce */
    FUN_001e5680();
  }
                    /* WARNING: Subroutine does not return */
  FUN_001e5680();
}

