
/* WARNING: Unknown calling convention -- yet parameter storage is locked */
/* std::istream& std::TEMPNAMEPLACEHOLDERVALUE(std::istream&, char*) [clone .cold.30] */

istream * std::operator>>(istream *param_1,char *param_2)

{
  long lVar1;
  locale *unaff_RBX;
  long unaff_R12;
  istream *unaff_R13;
  
  locale::~locale(unaff_RBX);
  if (unaff_R12 != 1) {
    __cxa_begin_catch();
    lVar1 = *(long *)(*(long *)unaff_R13 + -0x18);
    *(uint *)(unaff_R13 + lVar1 + 0x20) = *(uint *)(unaff_R13 + lVar1 + 0x20) | 1;
    if (((byte)unaff_R13[lVar1 + 0x1c] & 1) == 0) {
      __cxa_end_catch();
      ios::clear((ios *)(unaff_R13 + *(long *)(*(long *)unaff_R13 + -0x18)),
                 *(_Ios_Iostate *)
                  ((ios *)(unaff_R13 + *(long *)(*(long *)unaff_R13 + -0x18)) + 0x20) | _S_failbit);
      return unaff_R13;
    }
                    /* WARNING: Subroutine does not return */
    __cxa_rethrow();
  }
  __cxa_begin_catch();
  lVar1 = *(long *)(*(long *)unaff_R13 + -0x18);
  *(uint *)(unaff_R13 + lVar1 + 0x20) = *(uint *)(unaff_R13 + lVar1 + 0x20) | 1;
  if (((byte)unaff_R13[lVar1 + 0x1c] & 1) == 0) {
                    /* WARNING: Subroutine does not return */
    __cxa_rethrow();
  }
                    /* WARNING: Subroutine does not return */
                    /* try { // try from 0014ff19 to 0014ff1d has its CatchHandler @ 0014ff46 */
  __cxa_rethrow();
}



void FUN_0014fee7(void)

{
  uint *puVar1;
  long lVar2;
  long unaff_R12;
  long *unaff_R13;
  
  FUN_002dd1a0();
  if (unaff_R12 != 1) {
    FUN_002da4d0();
    lVar2 = *(long *)(*unaff_R13 + -0x18);
    puVar1 = (uint *)((long)unaff_R13 + lVar2 + 0x20);
    *puVar1 = *puVar1 | 1;
    if ((*(byte *)((long)unaff_R13 + lVar2 + 0x1c) & 1) == 0) {
      FUN_002da540();
      lVar2 = *(long *)(*unaff_R13 + -0x18) + (long)unaff_R13;
      FUN_00300860(lVar2,*(uint *)(lVar2 + 0x20) | 4);
      return;
    }
                    /* WARNING: Subroutine does not return */
    FUN_002d9860();
  }
  FUN_002da4d0();
  lVar2 = *(long *)(*unaff_R13 + -0x18);
  puVar1 = (uint *)((long)unaff_R13 + lVar2 + 0x20);
  *puVar1 = *puVar1 | 1;
  if ((*(byte *)((long)unaff_R13 + lVar2 + 0x1c) & 1) == 0) {
                    /* WARNING: Subroutine does not return */
    FUN_002d9860();
  }
                    /* WARNING: Subroutine does not return */
                    /* try { // try from 0014ff19 to 0014ff1d has its CatchHandler @ 0014ff46 */
  FUN_002d9860();
}


MOV RDI,RBX
CALL 0x002dd1a0
MOV RAX,RBP
MOV RDX,R12
XOR EBP,EBP
SUB RDX,0x1
MOV RDI,RAX
JNZ 0x0014ff22
CALL 0x002da4d0
MOV RAX,qword ptr [R13]
ADD R13,qword ptr [RAX + -0x18]
OR dword ptr [R13 + 0x20],0x1
TEST byte ptr [R13 + 0x1c],0x1
JZ 0x0014ff41
CALL 0x002d9860
(translation_unit "void FUN_0014fee7(void)\n\n{\n  uint *puVar1;\n  long lVar2;\n  long unaff_R12;\n  long *unaff_R13;\n  \n  FUN_002dd1a0();\n  if (unaff_R12 != 1) {\n    FUN_002da4d0();\n    lVar2 = *(long *)(*unaff_R13 + -0x18);\n    puVar1 = (uint *)((long)unaff_R13 + lVar2 + 0x20);\n    *puVar1 = *puVar1 | 1;\n    if ((*(byte *)((long)unaff_R13 + lVar2 + 0x1c) & 1) == 0) {\n      FUN_002da540();\n      lVar2 = *(long *)(*unaff_R13 + -0x18) + (long)unaff_R13;\n      FUN_00300860(lVar2,*(uint *)(lVar2 + 0x20) | 4);\n      return;\n    }\n                    /* WARNING: Subroutine does not return */\n    FUN_002d9860();\n  }\n  FUN_002da4d0();\n  lVar2 = *(long *)(*unaff_R13 + -0x18);\n  puVar1 = (uint *)((long)unaff_R13 + lVar2 + 0x20);\n  *puVar1 = *puVar1 | 1;\n  if ((*(byte *)((long)unaff_R13 + lVar2 + 0x1c) & 1) == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_002d9860();\n  }\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 0014ff19 to 0014ff1d has its CatchHandler @ 0014ff46 */\n  FUN_002d9860();\n}\n\n" (function_definition "void FUN_0014fee7(void)\n\n{\n  uint *puVar1;\n  long lVar2;\n  long unaff_R12;\n  long *unaff_R13;\n  \n  FUN_002dd1a0();\n  if (unaff_R12 != 1) {\n    FUN_002da4d0();\n    lVar2 = *(long *)(*unaff_R13 + -0x18);\n    puVar1 = (uint *)((long)unaff_R13 + lVar2 + 0x20);\n    *puVar1 = *puVar1 | 1;\n    if ((*(byte *)((long)unaff_R13 + lVar2 + 0x1c) & 1) == 0) {\n      FUN_002da540();\n      lVar2 = *(long *)(*unaff_R13 + -0x18) + (long)unaff_R13;\n      FUN_00300860(lVar2,*(uint *)(lVar2 + 0x20) | 4);\n      return;\n    }\n                    /* WARNING: Subroutine does not return */\n    FUN_002d9860();\n  }\n  FUN_002da4d0();\n  lVar2 = *(long *)(*unaff_R13 + -0x18);\n  puVar1 = (uint *)((long)unaff_R13 + lVar2 + 0x20);\n  *puVar1 = *puVar1 | 1;\n  if ((*(byte *)((long)unaff_R13 + lVar2 + 0x1c) & 1) == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_002d9860();\n  }\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 0014ff19 to 0014ff1d has its CatchHandler @ 0014ff46 */\n  FUN_002d9860();\n}" primitive_type (function_declarator "FUN_0014fee7(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  uint *puVar1;\n  long lVar2;\n  long unaff_R12;\n  long *unaff_R13;\n  \n  FUN_002dd1a0();\n  if (unaff_R12 != 1) {\n    FUN_002da4d0();\n    lVar2 = *(long *)(*unaff_R13 + -0x18);\n    puVar1 = (uint *)((long)unaff_R13 + lVar2 + 0x20);\n    *puVar1 = *puVar1 | 1;\n    if ((*(byte *)((long)unaff_R13 + lVar2 + 0x1c) & 1) == 0) {\n      FUN_002da540();\n      lVar2 = *(long *)(*unaff_R13 + -0x18) + (long)unaff_R13;\n      FUN_00300860(lVar2,*(uint *)(lVar2 + 0x20) | 4);\n      return;\n    }\n                    /* WARNING: Subroutine does not return */\n    FUN_002d9860();\n  }\n  FUN_002da4d0();\n  lVar2 = *(long *)(*unaff_R13 + -0x18);\n  puVar1 = (uint *)((long)unaff_R13 + lVar2 + 0x20);\n  *puVar1 = *puVar1 | 1;\n  if ((*(byte *)((long)unaff_R13 + lVar2 + 0x1c) & 1) == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_002d9860();\n  }\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 0014ff19 to 0014ff1d has its CatchHandler @ 0014ff46 */\n  FUN_002d9860();\n}" { (declaration "uint *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "long lVar2;" (sized_type_specifier "long" long) identifier ;) (declaration "long unaff_R12;" (sized_type_specifier "long" long) identifier ;) (declaration "long *unaff_R13;" (sized_type_specifier "long" long) (pointer_declarator "*unaff_R13" * identifier) ;) (expression_statement "FUN_002dd1a0();" (call_expression "FUN_002dd1a0()" identifier (argument_list "()" ( ))) ;) (if_statement "if (unaff_R12 != 1) {\n    FUN_002da4d0();\n    lVar2 = *(long *)(*unaff_R13 + -0x18);\n    puVar1 = (uint *)((long)unaff_R13 + lVar2 + 0x20);\n    *puVar1 = *puVar1 | 1;\n    if ((*(byte *)((long)unaff_R13 + lVar2 + 0x1c) & 1) == 0) {\n      FUN_002da540();\n      lVar2 = *(long *)(*unaff_R13 + -0x18) + (long)unaff_R13;\n      FUN_00300860(lVar2,*(uint *)(lVar2 + 0x20) | 4);\n      return;\n    }\n                    /* WARNING: Subroutine does not return */\n    FUN_002d9860();\n  }" if (parenthesized_expression "(unaff_R12 != 1)" ( (binary_expression "unaff_R12 != 1" identifier != number_literal) )) (compound_statement "{\n    FUN_002da4d0();\n    lVar2 = *(long *)(*unaff_R13 + -0x18);\n    puVar1 = (uint *)((long)unaff_R13 + lVar2 + 0x20);\n    *puVar1 = *puVar1 | 1;\n    if ((*(byte *)((long)unaff_R13 + lVar2 + 0x1c) & 1) == 0) {\n      FUN_002da540();\n      lVar2 = *(long *)(*unaff_R13 + -0x18) + (long)unaff_R13;\n      FUN_00300860(lVar2,*(uint *)(lVar2 + 0x20) | 4);\n      return;\n    }\n                    /* WARNING: Subroutine does not return */\n    FUN_002d9860();\n  }" { (expression_statement "FUN_002da4d0();" (call_expression "FUN_002da4d0()" identifier (argument_list "()" ( ))) ;) (expression_statement "lVar2 = *(long *)(*unaff_R13 + -0x18);" (assignment_expression "lVar2 = *(long *)(*unaff_R13 + -0x18)" identifier = (pointer_expression "*(long *)(*unaff_R13 + -0x18)" * (cast_expression "(long *)(*unaff_R13 + -0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*unaff_R13 + -0x18)" ( (binary_expression "*unaff_R13 + -0x18" (pointer_expression "*unaff_R13" * identifier) + number_literal) ))))) ;) (expression_statement "puVar1 = (uint *)((long)unaff_R13 + lVar2 + 0x20);" (assignment_expression "puVar1 = (uint *)((long)unaff_R13 + lVar2 + 0x20)" identifier = (cast_expression "(uint *)((long)unaff_R13 + lVar2 + 0x20)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)unaff_R13 + lVar2 + 0x20)" ( (binary_expression "(long)unaff_R13 + lVar2 + 0x20" (binary_expression "(long)unaff_R13 + lVar2" (cast_expression "(long)unaff_R13" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + 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 *)((long)unaff_R13 + lVar2 + 0x1c) & 1) == 0) {\n      FUN_002da540();\n      lVar2 = *(long *)(*unaff_R13 + -0x18) + (long)unaff_R13;\n      FUN_00300860(lVar2,*(uint *)(lVar2 + 0x20) | 4);\n      return;\n    }" if (parenthesized_expression "((*(byte *)((long)unaff_R13 + lVar2 + 0x1c) & 1) == 0)" ( (binary_expression "(*(byte *)((long)unaff_R13 + lVar2 + 0x1c) & 1) == 0" (parenthesized_expression "(*(byte *)((long)unaff_R13 + lVar2 + 0x1c) & 1)" ( (binary_expression "*(byte *)((long)unaff_R13 + lVar2 + 0x1c) & 1" (pointer_expression "*(byte *)((long)unaff_R13 + lVar2 + 0x1c)" * (cast_expression "(byte *)((long)unaff_R13 + lVar2 + 0x1c)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)unaff_R13 + lVar2 + 0x1c)" ( (binary_expression "(long)unaff_R13 + lVar2 + 0x1c" (binary_expression "(long)unaff_R13 + lVar2" (cast_expression "(long)unaff_R13" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + identifier) + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n      FUN_002da540();\n      lVar2 = *(long *)(*unaff_R13 + -0x18) + (long)unaff_R13;\n      FUN_00300860(lVar2,*(uint *)(lVar2 + 0x20) | 4);\n      return;\n    }" { (expression_statement "FUN_002da540();" (call_expression "FUN_002da540()" identifier (argument_list "()" ( ))) ;) (expression_statement "lVar2 = *(long *)(*unaff_R13 + -0x18) + (long)unaff_R13;" (assignment_expression "lVar2 = *(long *)(*unaff_R13 + -0x18) + (long)unaff_R13" identifier = (binary_expression "*(long *)(*unaff_R13 + -0x18) + (long)unaff_R13" (pointer_expression "*(long *)(*unaff_R13 + -0x18)" * (cast_expression "(long *)(*unaff_R13 + -0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*unaff_R13 + -0x18)" ( (binary_expression "*unaff_R13 + -0x18" (pointer_expression "*unaff_R13" * identifier) + number_literal) )))) + (cast_expression "(long)unaff_R13" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier))) ;) (expression_statement "FUN_00300860(lVar2,*(uint *)(lVar2 + 0x20) | 4);" (call_expression "FUN_00300860(lVar2,*(uint *)(lVar2 + 0x20) | 4)" identifier (argument_list "(lVar2,*(uint *)(lVar2 + 0x20) | 4)" ( identifier , (binary_expression "*(uint *)(lVar2 + 0x20) | 4" (pointer_expression "*(uint *)(lVar2 + 0x20)" * (cast_expression "(uint *)(lVar2 + 0x20)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + 0x20)" ( (binary_expression "lVar2 + 0x20" identifier + number_literal) )))) | number_literal) ))) ;) (return_statement "return;" return ;) })) comment (expression_statement "FUN_002d9860();" (call_expression "FUN_002d9860()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "FUN_002da4d0();" (call_expression "FUN_002da4d0()" identifier (argument_list "()" ( ))) ;) (expression_statement "lVar2 = *(long *)(*unaff_R13 + -0x18);" (assignment_expression "lVar2 = *(long *)(*unaff_R13 + -0x18)" identifier = (pointer_expression "*(long *)(*unaff_R13 + -0x18)" * (cast_expression "(long *)(*unaff_R13 + -0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*unaff_R13 + -0x18)" ( (binary_expression "*unaff_R13 + -0x18" (pointer_expression "*unaff_R13" * identifier) + number_literal) ))))) ;) (expression_statement "puVar1 = (uint *)((long)unaff_R13 + lVar2 + 0x20);" (assignment_expression "puVar1 = (uint *)((long)unaff_R13 + lVar2 + 0x20)" identifier = (cast_expression "(uint *)((long)unaff_R13 + lVar2 + 0x20)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)unaff_R13 + lVar2 + 0x20)" ( (binary_expression "(long)unaff_R13 + lVar2 + 0x20" (binary_expression "(long)unaff_R13 + lVar2" (cast_expression "(long)unaff_R13" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + 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 *)((long)unaff_R13 + lVar2 + 0x1c) & 1) == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_002d9860();\n  }" if (parenthesized_expression "((*(byte *)((long)unaff_R13 + lVar2 + 0x1c) & 1) == 0)" ( (binary_expression "(*(byte *)((long)unaff_R13 + lVar2 + 0x1c) & 1) == 0" (parenthesized_expression "(*(byte *)((long)unaff_R13 + lVar2 + 0x1c) & 1)" ( (binary_expression "*(byte *)((long)unaff_R13 + lVar2 + 0x1c) & 1" (pointer_expression "*(byte *)((long)unaff_R13 + lVar2 + 0x1c)" * (cast_expression "(byte *)((long)unaff_R13 + lVar2 + 0x1c)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)unaff_R13 + lVar2 + 0x1c)" ( (binary_expression "(long)unaff_R13 + lVar2 + 0x1c" (binary_expression "(long)unaff_R13 + lVar2" (cast_expression "(long)unaff_R13" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + identifier) + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    FUN_002d9860();\n  }" { comment (expression_statement "FUN_002d9860();" (call_expression "FUN_002d9860()" identifier (argument_list "()" ( ))) ;) })) comment comment (expression_statement "FUN_002d9860();" (call_expression "FUN_002d9860()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n/* std::istream& std::TEMPNAMEPLACEHOLDERVALUE(std::istream&, char*) [clone .cold.30] */\n\nistream * std::operator>>(istream *param_1,char *param_2)\n\n{\n  long lVar1;\n  locale *unaff_RBX;\n  long unaff_R12;\n  istream *unaff_R13;\n  \n  locale::~locale(unaff_RBX);\n  if (unaff_R12 != 1) {\n    __cxa_begin_catch();\n    lVar1 = *(long *)(*(long *)unaff_R13 + -0x18);\n    *(uint *)(unaff_R13 + lVar1 + 0x20) = *(uint *)(unaff_R13 + lVar1 + 0x20) | 1;\n    if (((byte)unaff_R13[lVar1 + 0x1c] & 1) == 0) {\n      __cxa_end_catch();\n      ios::clear((ios *)(unaff_R13 + *(long *)(*(long *)unaff_R13 + -0x18)),\n                 *(_Ios_Iostate *)\n                  ((ios *)(unaff_R13 + *(long *)(*(long *)unaff_R13 + -0x18)) + 0x20) | _S_failbit);\n      return unaff_R13;\n    }\n                    /* WARNING: Subroutine does not return */\n    __cxa_rethrow();\n  }\n  __cxa_begin_catch();\n  lVar1 = *(long *)(*(long *)unaff_R13 + -0x18);\n  *(uint *)(unaff_R13 + lVar1 + 0x20) = *(uint *)(unaff_R13 + lVar1 + 0x20) | 1;\n  if (((byte)unaff_R13[lVar1 + 0x1c] & 1) == 0) {\n                    /* WARNING: Subroutine does not return */\n    __cxa_rethrow();\n  }\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 0014ff19 to 0014ff1d has its CatchHandler @ 0014ff46 */\n  __cxa_rethrow();\n}\n\n" comment comment (ERROR "istream * std::operator>>(istream *param_1,char *param_2)" (binary_expression "istream * std::operator>>(istream *param_1,char *param_2)" (binary_expression "istream * std" identifier * identifier) (ERROR "::operator" : : identifier) >> (parenthesized_expression "(istream *param_1,char *param_2)" ( (comma_expression "istream *param_1,char *param_2" (binary_expression "istream *param_1" identifier * identifier) , (binary_expression "char *param_2" identifier * identifier)) )))) (compound_statement "{\n  long lVar1;\n  locale *unaff_RBX;\n  long unaff_R12;\n  istream *unaff_R13;\n  \n  locale::~locale(unaff_RBX);\n  if (unaff_R12 != 1) {\n    __cxa_begin_catch();\n    lVar1 = *(long *)(*(long *)unaff_R13 + -0x18);\n    *(uint *)(unaff_R13 + lVar1 + 0x20) = *(uint *)(unaff_R13 + lVar1 + 0x20) | 1;\n    if (((byte)unaff_R13[lVar1 + 0x1c] & 1) == 0) {\n      __cxa_end_catch();\n      ios::clear((ios *)(unaff_R13 + *(long *)(*(long *)unaff_R13 + -0x18)),\n                 *(_Ios_Iostate *)\n                  ((ios *)(unaff_R13 + *(long *)(*(long *)unaff_R13 + -0x18)) + 0x20) | _S_failbit);\n      return unaff_R13;\n    }\n                    /* WARNING: Subroutine does not return */\n    __cxa_rethrow();\n  }\n  __cxa_begin_catch();\n  lVar1 = *(long *)(*(long *)unaff_R13 + -0x18);\n  *(uint *)(unaff_R13 + lVar1 + 0x20) = *(uint *)(unaff_R13 + lVar1 + 0x20) | 1;\n  if (((byte)unaff_R13[lVar1 + 0x1c] & 1) == 0) {\n                    /* WARNING: Subroutine does not return */\n    __cxa_rethrow();\n  }\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 0014ff19 to 0014ff1d has its CatchHandler @ 0014ff46 */\n  __cxa_rethrow();\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (declaration "locale *unaff_RBX;" type_identifier (pointer_declarator "*unaff_RBX" * identifier) ;) (declaration "long unaff_R12;" (sized_type_specifier "long" long) identifier ;) (declaration "istream *unaff_R13;" type_identifier (pointer_declarator "*unaff_R13" * identifier) ;) (labeled_statement "locale::~locale(unaff_RBX);" statement_identifier : (ERROR ":" :) (expression_statement "~locale(unaff_RBX);" (unary_expression "~locale(unaff_RBX)" ~ (call_expression "locale(unaff_RBX)" identifier (argument_list "(unaff_RBX)" ( identifier )))) ;)) (if_statement "if (unaff_R12 != 1) {\n    __cxa_begin_catch();\n    lVar1 = *(long *)(*(long *)unaff_R13 + -0x18);\n    *(uint *)(unaff_R13 + lVar1 + 0x20) = *(uint *)(unaff_R13 + lVar1 + 0x20) | 1;\n    if (((byte)unaff_R13[lVar1 + 0x1c] & 1) == 0) {\n      __cxa_end_catch();\n      ios::clear((ios *)(unaff_R13 + *(long *)(*(long *)unaff_R13 + -0x18)),\n                 *(_Ios_Iostate *)\n                  ((ios *)(unaff_R13 + *(long *)(*(long *)unaff_R13 + -0x18)) + 0x20) | _S_failbit);\n      return unaff_R13;\n    }\n                    /* WARNING: Subroutine does not return */\n    __cxa_rethrow();\n  }" if (parenthesized_expression "(unaff_R12 != 1)" ( (binary_expression "unaff_R12 != 1" identifier != number_literal) )) (compound_statement "{\n    __cxa_begin_catch();\n    lVar1 = *(long *)(*(long *)unaff_R13 + -0x18);\n    *(uint *)(unaff_R13 + lVar1 + 0x20) = *(uint *)(unaff_R13 + lVar1 + 0x20) | 1;\n    if (((byte)unaff_R13[lVar1 + 0x1c] & 1) == 0) {\n      __cxa_end_catch();\n      ios::clear((ios *)(unaff_R13 + *(long *)(*(long *)unaff_R13 + -0x18)),\n                 *(_Ios_Iostate *)\n                  ((ios *)(unaff_R13 + *(long *)(*(long *)unaff_R13 + -0x18)) + 0x20) | _S_failbit);\n      return unaff_R13;\n    }\n                    /* WARNING: Subroutine does not return */\n    __cxa_rethrow();\n  }" { (expression_statement "__cxa_begin_catch();" (call_expression "__cxa_begin_catch()" identifier (argument_list "()" ( ))) ;) (expression_statement "lVar1 = *(long *)(*(long *)unaff_R13 + -0x18);" (assignment_expression "lVar1 = *(long *)(*(long *)unaff_R13 + -0x18)" identifier = (pointer_expression "*(long *)(*(long *)unaff_R13 + -0x18)" * (cast_expression "(long *)(*(long *)unaff_R13 + -0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)unaff_R13 + -0x18)" ( (binary_expression "*(long *)unaff_R13 + -0x18" (pointer_expression "*(long *)unaff_R13" * (cast_expression "(long *)unaff_R13" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) ))))) ;) (expression_statement "*(uint *)(unaff_R13 + lVar1 + 0x20) = *(uint *)(unaff_R13 + lVar1 + 0x20) | 1;" (assignment_expression "*(uint *)(unaff_R13 + lVar1 + 0x20) = *(uint *)(unaff_R13 + lVar1 + 0x20) | 1" (pointer_expression "*(uint *)(unaff_R13 + lVar1 + 0x20)" * (cast_expression "(uint *)(unaff_R13 + lVar1 + 0x20)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_R13 + lVar1 + 0x20)" ( (binary_expression "unaff_R13 + lVar1 + 0x20" (binary_expression "unaff_R13 + lVar1" identifier + identifier) + number_literal) )))) = (binary_expression "*(uint *)(unaff_R13 + lVar1 + 0x20) | 1" (pointer_expression "*(uint *)(unaff_R13 + lVar1 + 0x20)" * (cast_expression "(uint *)(unaff_R13 + lVar1 + 0x20)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_R13 + lVar1 + 0x20)" ( (binary_expression "unaff_R13 + lVar1 + 0x20" (binary_expression "unaff_R13 + lVar1" identifier + identifier) + number_literal) )))) | number_literal)) ;) (if_statement "if (((byte)unaff_R13[lVar1 + 0x1c] & 1) == 0) {\n      __cxa_end_catch();\n      ios::clear((ios *)(unaff_R13 + *(long *)(*(long *)unaff_R13 + -0x18)),\n                 *(_Ios_Iostate *)\n                  ((ios *)(unaff_R13 + *(long *)(*(long *)unaff_R13 + -0x18)) + 0x20) | _S_failbit);\n      return unaff_R13;\n    }" if (parenthesized_expression "(((byte)unaff_R13[lVar1 + 0x1c] & 1) == 0)" ( (binary_expression "((byte)unaff_R13[lVar1 + 0x1c] & 1) == 0" (parenthesized_expression "((byte)unaff_R13[lVar1 + 0x1c] & 1)" ( (binary_expression "(byte)unaff_R13[lVar1 + 0x1c] & 1" (cast_expression "(byte)unaff_R13[lVar1 + 0x1c]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "unaff_R13[lVar1 + 0x1c]" identifier [ (binary_expression "lVar1 + 0x1c" identifier + number_literal) ])) & number_literal) )) == number_literal) )) (compound_statement "{\n      __cxa_end_catch();\n      ios::clear((ios *)(unaff_R13 + *(long *)(*(long *)unaff_R13 + -0x18)),\n                 *(_Ios_Iostate *)\n                  ((ios *)(unaff_R13 + *(long *)(*(long *)unaff_R13 + -0x18)) + 0x20) | _S_failbit);\n      return unaff_R13;\n    }" { (expression_statement "__cxa_end_catch();" (call_expression "__cxa_end_catch()" identifier (argument_list "()" ( ))) ;) (labeled_statement "ios::clear((ios *)(unaff_R13 + *(long *)(*(long *)unaff_R13 + -0x18)),\n                 *(_Ios_Iostate *)\n                  ((ios *)(unaff_R13 + *(long *)(*(long *)unaff_R13 + -0x18)) + 0x20) | _S_failbit);" statement_identifier : (ERROR ":" :) (expression_statement "clear((ios *)(unaff_R13 + *(long *)(*(long *)unaff_R13 + -0x18)),\n                 *(_Ios_Iostate *)\n                  ((ios *)(unaff_R13 + *(long *)(*(long *)unaff_R13 + -0x18)) + 0x20) | _S_failbit);" (call_expression "clear((ios *)(unaff_R13 + *(long *)(*(long *)unaff_R13 + -0x18)),\n                 *(_Ios_Iostate *)\n                  ((ios *)(unaff_R13 + *(long *)(*(long *)unaff_R13 + -0x18)) + 0x20) | _S_failbit)" identifier (argument_list "((ios *)(unaff_R13 + *(long *)(*(long *)unaff_R13 + -0x18)),\n                 *(_Ios_Iostate *)\n                  ((ios *)(unaff_R13 + *(long *)(*(long *)unaff_R13 + -0x18)) + 0x20) | _S_failbit)" ( (cast_expression "(ios *)(unaff_R13 + *(long *)(*(long *)unaff_R13 + -0x18))" ( (type_descriptor "ios *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_R13 + *(long *)(*(long *)unaff_R13 + -0x18))" ( (binary_expression "unaff_R13 + *(long *)(*(long *)unaff_R13 + -0x18)" identifier + (pointer_expression "*(long *)(*(long *)unaff_R13 + -0x18)" * (cast_expression "(long *)(*(long *)unaff_R13 + -0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)unaff_R13 + -0x18)" ( (binary_expression "*(long *)unaff_R13 + -0x18" (pointer_expression "*(long *)unaff_R13" * (cast_expression "(long *)unaff_R13" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) ))))) ))) , (binary_expression "*(_Ios_Iostate *)\n                  ((ios *)(unaff_R13 + *(long *)(*(long *)unaff_R13 + -0x18)) + 0x20) | _S_failbit" (pointer_expression "*(_Ios_Iostate *)\n                  ((ios *)(unaff_R13 + *(long *)(*(long *)unaff_R13 + -0x18)) + 0x20)" * (cast_expression "(_Ios_Iostate *)\n                  ((ios *)(unaff_R13 + *(long *)(*(long *)unaff_R13 + -0x18)) + 0x20)" ( (type_descriptor "_Ios_Iostate *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((ios *)(unaff_R13 + *(long *)(*(long *)unaff_R13 + -0x18)) + 0x20)" ( (binary_expression "(ios *)(unaff_R13 + *(long *)(*(long *)unaff_R13 + -0x18)) + 0x20" (cast_expression "(ios *)(unaff_R13 + *(long *)(*(long *)unaff_R13 + -0x18))" ( (type_descriptor "ios *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_R13 + *(long *)(*(long *)unaff_R13 + -0x18))" ( (binary_expression "unaff_R13 + *(long *)(*(long *)unaff_R13 + -0x18)" identifier + (pointer_expression "*(long *)(*(long *)unaff_R13 + -0x18)" * (cast_expression "(long *)(*(long *)unaff_R13 + -0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)unaff_R13 + -0x18)" ( (binary_expression "*(long *)unaff_R13 + -0x18" (pointer_expression "*(long *)unaff_R13" * (cast_expression "(long *)unaff_R13" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) ))))) ))) + number_literal) )))) | identifier) ))) ;)) (return_statement "return unaff_R13;" return identifier ;) })) comment (expression_statement "__cxa_rethrow();" (call_expression "__cxa_rethrow()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "__cxa_begin_catch();" (call_expression "__cxa_begin_catch()" identifier (argument_list "()" ( ))) ;) (expression_statement "lVar1 = *(long *)(*(long *)unaff_R13 + -0x18);" (assignment_expression "lVar1 = *(long *)(*(long *)unaff_R13 + -0x18)" identifier = (pointer_expression "*(long *)(*(long *)unaff_R13 + -0x18)" * (cast_expression "(long *)(*(long *)unaff_R13 + -0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)unaff_R13 + -0x18)" ( (binary_expression "*(long *)unaff_R13 + -0x18" (pointer_expression "*(long *)unaff_R13" * (cast_expression "(long *)unaff_R13" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) ))))) ;) (expression_statement "*(uint *)(unaff_R13 + lVar1 + 0x20) = *(uint *)(unaff_R13 + lVar1 + 0x20) | 1;" (assignment_expression "*(uint *)(unaff_R13 + lVar1 + 0x20) = *(uint *)(unaff_R13 + lVar1 + 0x20) | 1" (pointer_expression "*(uint *)(unaff_R13 + lVar1 + 0x20)" * (cast_expression "(uint *)(unaff_R13 + lVar1 + 0x20)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_R13 + lVar1 + 0x20)" ( (binary_expression "unaff_R13 + lVar1 + 0x20" (binary_expression "unaff_R13 + lVar1" identifier + identifier) + number_literal) )))) = (binary_expression "*(uint *)(unaff_R13 + lVar1 + 0x20) | 1" (pointer_expression "*(uint *)(unaff_R13 + lVar1 + 0x20)" * (cast_expression "(uint *)(unaff_R13 + lVar1 + 0x20)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_R13 + lVar1 + 0x20)" ( (binary_expression "unaff_R13 + lVar1 + 0x20" (binary_expression "unaff_R13 + lVar1" identifier + identifier) + number_literal) )))) | number_literal)) ;) (if_statement "if (((byte)unaff_R13[lVar1 + 0x1c] & 1) == 0) {\n                    /* WARNING: Subroutine does not return */\n    __cxa_rethrow();\n  }" if (parenthesized_expression "(((byte)unaff_R13[lVar1 + 0x1c] & 1) == 0)" ( (binary_expression "((byte)unaff_R13[lVar1 + 0x1c] & 1) == 0" (parenthesized_expression "((byte)unaff_R13[lVar1 + 0x1c] & 1)" ( (binary_expression "(byte)unaff_R13[lVar1 + 0x1c] & 1" (cast_expression "(byte)unaff_R13[lVar1 + 0x1c]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "unaff_R13[lVar1 + 0x1c]" identifier [ (binary_expression "lVar1 + 0x1c" 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 "()" ( ))) ;) })) comment comment (expression_statement "__cxa_rethrow();" (call_expression "__cxa_rethrow()" identifier (argument_list "()" ( ))) ;) }))
(translation_unit "void FUN_0014fee7(void)\n\n{\n  uint *puVar1;\n  long lVar2;\n  long unaff_R12;\n  long *unaff_R13;\n  \n  FUN_002dd1a0();\n  if (unaff_R12 != 1) {\n    FUN_002da4d0();\n    lVar2 = *(long *)(*unaff_R13 + -0x18);\n    puVar1 = (uint *)((long)unaff_R13 + lVar2 + 0x20);\n    *puVar1 = *puVar1 | 1;\n    if ((*(byte *)((long)unaff_R13 + lVar2 + 0x1c) & 1) == 0) {\n      FUN_002da540();\n      lVar2 = *(long *)(*unaff_R13 + -0x18) + (long)unaff_R13;\n      FUN_00300860(lVar2,*(uint *)(lVar2 + 0x20) | 4);\n      return;\n    }\n                    \n    FUN_002d9860();\n  }\n  FUN_002da4d0();\n  lVar2 = *(long *)(*unaff_R13 + -0x18);\n  puVar1 = (uint *)((long)unaff_R13 + lVar2 + 0x20);\n  *puVar1 = *puVar1 | 1;\n  if ((*(byte *)((long)unaff_R13 + lVar2 + 0x1c) & 1) == 0) {\n                    \n    FUN_002d9860();\n  }\n                    \n                    \n  FUN_002d9860();\n}\n\n" (function_definition "void FUN_0014fee7(void)\n\n{\n  uint *puVar1;\n  long lVar2;\n  long unaff_R12;\n  long *unaff_R13;\n  \n  FUN_002dd1a0();\n  if (unaff_R12 != 1) {\n    FUN_002da4d0();\n    lVar2 = *(long *)(*unaff_R13 + -0x18);\n    puVar1 = (uint *)((long)unaff_R13 + lVar2 + 0x20);\n    *puVar1 = *puVar1 | 1;\n    if ((*(byte *)((long)unaff_R13 + lVar2 + 0x1c) & 1) == 0) {\n      FUN_002da540();\n      lVar2 = *(long *)(*unaff_R13 + -0x18) + (long)unaff_R13;\n      FUN_00300860(lVar2,*(uint *)(lVar2 + 0x20) | 4);\n      return;\n    }\n                    \n    FUN_002d9860();\n  }\n  FUN_002da4d0();\n  lVar2 = *(long *)(*unaff_R13 + -0x18);\n  puVar1 = (uint *)((long)unaff_R13 + lVar2 + 0x20);\n  *puVar1 = *puVar1 | 1;\n  if ((*(byte *)((long)unaff_R13 + lVar2 + 0x1c) & 1) == 0) {\n                    \n    FUN_002d9860();\n  }\n                    \n                    \n  FUN_002d9860();\n}" primitive_type (function_declarator "FUN_0014fee7(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  uint *puVar1;\n  long lVar2;\n  long unaff_R12;\n  long *unaff_R13;\n  \n  FUN_002dd1a0();\n  if (unaff_R12 != 1) {\n    FUN_002da4d0();\n    lVar2 = *(long *)(*unaff_R13 + -0x18);\n    puVar1 = (uint *)((long)unaff_R13 + lVar2 + 0x20);\n    *puVar1 = *puVar1 | 1;\n    if ((*(byte *)((long)unaff_R13 + lVar2 + 0x1c) & 1) == 0) {\n      FUN_002da540();\n      lVar2 = *(long *)(*unaff_R13 + -0x18) + (long)unaff_R13;\n      FUN_00300860(lVar2,*(uint *)(lVar2 + 0x20) | 4);\n      return;\n    }\n                    \n    FUN_002d9860();\n  }\n  FUN_002da4d0();\n  lVar2 = *(long *)(*unaff_R13 + -0x18);\n  puVar1 = (uint *)((long)unaff_R13 + lVar2 + 0x20);\n  *puVar1 = *puVar1 | 1;\n  if ((*(byte *)((long)unaff_R13 + lVar2 + 0x1c) & 1) == 0) {\n                    \n    FUN_002d9860();\n  }\n                    \n                    \n  FUN_002d9860();\n}" { (declaration "uint *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "long lVar2;" (sized_type_specifier "long" long) identifier ;) (declaration "long unaff_R12;" (sized_type_specifier "long" long) identifier ;) (declaration "long *unaff_R13;" (sized_type_specifier "long" long) (pointer_declarator "*unaff_R13" * identifier) ;) (expression_statement "FUN_002dd1a0();" (call_expression "FUN_002dd1a0()" identifier (argument_list "()" ( ))) ;) (if_statement "if (unaff_R12 != 1) {\n    FUN_002da4d0();\n    lVar2 = *(long *)(*unaff_R13 + -0x18);\n    puVar1 = (uint *)((long)unaff_R13 + lVar2 + 0x20);\n    *puVar1 = *puVar1 | 1;\n    if ((*(byte *)((long)unaff_R13 + lVar2 + 0x1c) & 1) == 0) {\n      FUN_002da540();\n      lVar2 = *(long *)(*unaff_R13 + -0x18) + (long)unaff_R13;\n      FUN_00300860(lVar2,*(uint *)(lVar2 + 0x20) | 4);\n      return;\n    }\n                    \n    FUN_002d9860();\n  }" if (parenthesized_expression "(unaff_R12 != 1)" ( (binary_expression "unaff_R12 != 1" identifier != number_literal) )) (compound_statement "{\n    FUN_002da4d0();\n    lVar2 = *(long *)(*unaff_R13 + -0x18);\n    puVar1 = (uint *)((long)unaff_R13 + lVar2 + 0x20);\n    *puVar1 = *puVar1 | 1;\n    if ((*(byte *)((long)unaff_R13 + lVar2 + 0x1c) & 1) == 0) {\n      FUN_002da540();\n      lVar2 = *(long *)(*unaff_R13 + -0x18) + (long)unaff_R13;\n      FUN_00300860(lVar2,*(uint *)(lVar2 + 0x20) | 4);\n      return;\n    }\n                    \n    FUN_002d9860();\n  }" { (expression_statement "FUN_002da4d0();" (call_expression "FUN_002da4d0()" identifier (argument_list "()" ( ))) ;) (expression_statement "lVar2 = *(long *)(*unaff_R13 + -0x18);" (assignment_expression "lVar2 = *(long *)(*unaff_R13 + -0x18)" identifier = (pointer_expression "*(long *)(*unaff_R13 + -0x18)" * (cast_expression "(long *)(*unaff_R13 + -0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*unaff_R13 + -0x18)" ( (binary_expression "*unaff_R13 + -0x18" (pointer_expression "*unaff_R13" * identifier) + number_literal) ))))) ;) (expression_statement "puVar1 = (uint *)((long)unaff_R13 + lVar2 + 0x20);" (assignment_expression "puVar1 = (uint *)((long)unaff_R13 + lVar2 + 0x20)" identifier = (cast_expression "(uint *)((long)unaff_R13 + lVar2 + 0x20)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)unaff_R13 + lVar2 + 0x20)" ( (binary_expression "(long)unaff_R13 + lVar2 + 0x20" (binary_expression "(long)unaff_R13 + lVar2" (cast_expression "(long)unaff_R13" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + 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 *)((long)unaff_R13 + lVar2 + 0x1c) & 1) == 0) {\n      FUN_002da540();\n      lVar2 = *(long *)(*unaff_R13 + -0x18) + (long)unaff_R13;\n      FUN_00300860(lVar2,*(uint *)(lVar2 + 0x20) | 4);\n      return;\n    }" if (parenthesized_expression "((*(byte *)((long)unaff_R13 + lVar2 + 0x1c) & 1) == 0)" ( (binary_expression "(*(byte *)((long)unaff_R13 + lVar2 + 0x1c) & 1) == 0" (parenthesized_expression "(*(byte *)((long)unaff_R13 + lVar2 + 0x1c) & 1)" ( (binary_expression "*(byte *)((long)unaff_R13 + lVar2 + 0x1c) & 1" (pointer_expression "*(byte *)((long)unaff_R13 + lVar2 + 0x1c)" * (cast_expression "(byte *)((long)unaff_R13 + lVar2 + 0x1c)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)unaff_R13 + lVar2 + 0x1c)" ( (binary_expression "(long)unaff_R13 + lVar2 + 0x1c" (binary_expression "(long)unaff_R13 + lVar2" (cast_expression "(long)unaff_R13" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + identifier) + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n      FUN_002da540();\n      lVar2 = *(long *)(*unaff_R13 + -0x18) + (long)unaff_R13;\n      FUN_00300860(lVar2,*(uint *)(lVar2 + 0x20) | 4);\n      return;\n    }" { (expression_statement "FUN_002da540();" (call_expression "FUN_002da540()" identifier (argument_list "()" ( ))) ;) (expression_statement "lVar2 = *(long *)(*unaff_R13 + -0x18) + (long)unaff_R13;" (assignment_expression "lVar2 = *(long *)(*unaff_R13 + -0x18) + (long)unaff_R13" identifier = (binary_expression "*(long *)(*unaff_R13 + -0x18) + (long)unaff_R13" (pointer_expression "*(long *)(*unaff_R13 + -0x18)" * (cast_expression "(long *)(*unaff_R13 + -0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*unaff_R13 + -0x18)" ( (binary_expression "*unaff_R13 + -0x18" (pointer_expression "*unaff_R13" * identifier) + number_literal) )))) + (cast_expression "(long)unaff_R13" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier))) ;) (expression_statement "FUN_00300860(lVar2,*(uint *)(lVar2 + 0x20) | 4);" (call_expression "FUN_00300860(lVar2,*(uint *)(lVar2 + 0x20) | 4)" identifier (argument_list "(lVar2,*(uint *)(lVar2 + 0x20) | 4)" ( identifier , (binary_expression "*(uint *)(lVar2 + 0x20) | 4" (pointer_expression "*(uint *)(lVar2 + 0x20)" * (cast_expression "(uint *)(lVar2 + 0x20)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + 0x20)" ( (binary_expression "lVar2 + 0x20" identifier + number_literal) )))) | number_literal) ))) ;) (return_statement "return;" return ;) })) (expression_statement "FUN_002d9860();" (call_expression "FUN_002d9860()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "FUN_002da4d0();" (call_expression "FUN_002da4d0()" identifier (argument_list "()" ( ))) ;) (expression_statement "lVar2 = *(long *)(*unaff_R13 + -0x18);" (assignment_expression "lVar2 = *(long *)(*unaff_R13 + -0x18)" identifier = (pointer_expression "*(long *)(*unaff_R13 + -0x18)" * (cast_expression "(long *)(*unaff_R13 + -0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*unaff_R13 + -0x18)" ( (binary_expression "*unaff_R13 + -0x18" (pointer_expression "*unaff_R13" * identifier) + number_literal) ))))) ;) (expression_statement "puVar1 = (uint *)((long)unaff_R13 + lVar2 + 0x20);" (assignment_expression "puVar1 = (uint *)((long)unaff_R13 + lVar2 + 0x20)" identifier = (cast_expression "(uint *)((long)unaff_R13 + lVar2 + 0x20)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)unaff_R13 + lVar2 + 0x20)" ( (binary_expression "(long)unaff_R13 + lVar2 + 0x20" (binary_expression "(long)unaff_R13 + lVar2" (cast_expression "(long)unaff_R13" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + 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 *)((long)unaff_R13 + lVar2 + 0x1c) & 1) == 0) {\n                    \n    FUN_002d9860();\n  }" if (parenthesized_expression "((*(byte *)((long)unaff_R13 + lVar2 + 0x1c) & 1) == 0)" ( (binary_expression "(*(byte *)((long)unaff_R13 + lVar2 + 0x1c) & 1) == 0" (parenthesized_expression "(*(byte *)((long)unaff_R13 + lVar2 + 0x1c) & 1)" ( (binary_expression "*(byte *)((long)unaff_R13 + lVar2 + 0x1c) & 1" (pointer_expression "*(byte *)((long)unaff_R13 + lVar2 + 0x1c)" * (cast_expression "(byte *)((long)unaff_R13 + lVar2 + 0x1c)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)unaff_R13 + lVar2 + 0x1c)" ( (binary_expression "(long)unaff_R13 + lVar2 + 0x1c" (binary_expression "(long)unaff_R13 + lVar2" (cast_expression "(long)unaff_R13" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + identifier) + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n                    \n    FUN_002d9860();\n  }" { (expression_statement "FUN_002d9860();" (call_expression "FUN_002d9860()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "FUN_002d9860();" (call_expression "FUN_002d9860()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration (sized_type_specifier long) IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration (sized_type_specifier long) (pointer_declarator * IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + 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 (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + IDENT) + LIT) )))) & LIT) )) == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) + (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT))) ;) (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 ;) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + 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 (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + IDENT) + LIT) )))) & LIT) )) == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })))
(function_definition "void FUN_0014fee7(void)\n\n{\n  uint *puVar1;\n  long lVar2;\n  long unaff_R12;\n  long *unaff_R13;\n  \n  FUN_002dd1a0();\n  if (unaff_R12 != 1) {\n    FUN_002da4d0();\n    lVar2 = *(long *)(*unaff_R13 + -0x18);\n    puVar1 = (uint *)((long)unaff_R13 + lVar2 + 0x20);\n    *puVar1 = *puVar1 | 1;\n    if ((*(byte *)((long)unaff_R13 + lVar2 + 0x1c) & 1) == 0) {\n      FUN_002da540();\n      lVar2 = *(long *)(*unaff_R13 + -0x18) + (long)unaff_R13;\n      FUN_00300860(lVar2,*(uint *)(lVar2 + 0x20) | 4);\n      return;\n    }\n                    \n    FUN_002d9860();\n  }\n  FUN_002da4d0();\n  lVar2 = *(long *)(*unaff_R13 + -0x18);\n  puVar1 = (uint *)((long)unaff_R13 + lVar2 + 0x20);\n  *puVar1 = *puVar1 | 1;\n  if ((*(byte *)((long)unaff_R13 + lVar2 + 0x1c) & 1) == 0) {\n                    \n    FUN_002d9860();\n  }\n                    \n                    \n  FUN_002d9860();\n}" (primitive_type "void") (function_declarator "FUN_0014fee7(void)" (identifier "FUN_0014fee7") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  uint *puVar1;\n  long lVar2;\n  long unaff_R12;\n  long *unaff_R13;\n  \n  FUN_002dd1a0();\n  if (unaff_R12 != 1) {\n    FUN_002da4d0();\n    lVar2 = *(long *)(*unaff_R13 + -0x18);\n    puVar1 = (uint *)((long)unaff_R13 + lVar2 + 0x20);\n    *puVar1 = *puVar1 | 1;\n    if ((*(byte *)((long)unaff_R13 + lVar2 + 0x1c) & 1) == 0) {\n      FUN_002da540();\n      lVar2 = *(long *)(*unaff_R13 + -0x18) + (long)unaff_R13;\n      FUN_00300860(lVar2,*(uint *)(lVar2 + 0x20) | 4);\n      return;\n    }\n                    \n    FUN_002d9860();\n  }\n  FUN_002da4d0();\n  lVar2 = *(long *)(*unaff_R13 + -0x18);\n  puVar1 = (uint *)((long)unaff_R13 + lVar2 + 0x20);\n  *puVar1 = *puVar1 | 1;\n  if ((*(byte *)((long)unaff_R13 + lVar2 + 0x1c) & 1) == 0) {\n                    \n    FUN_002d9860();\n  }\n                    \n                    \n  FUN_002d9860();\n}" ({ "{") (declaration "uint *puVar1;" (type_identifier "uint") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "long lVar2;" (sized_type_specifier "long" (long "long")) (identifier "lVar2") (; ";")) (declaration "long unaff_R12;" (sized_type_specifier "long" (long "long")) (identifier "unaff_R12") (; ";")) (declaration "long *unaff_R13;" (sized_type_specifier "long" (long "long")) (pointer_declarator "*unaff_R13" (* "*") (identifier "unaff_R13")) (; ";")) (expression_statement "FUN_002dd1a0();" (call_expression "FUN_002dd1a0()" (identifier "FUN_002dd1a0") (argument_list "()" (( "(") () ")"))) (; ";")) (if_statement "if (unaff_R12 != 1) {\n    FUN_002da4d0();\n    lVar2 = *(long *)(*unaff_R13 + -0x18);\n    puVar1 = (uint *)((long)unaff_R13 + lVar2 + 0x20);\n    *puVar1 = *puVar1 | 1;\n    if ((*(byte *)((long)unaff_R13 + lVar2 + 0x1c) & 1) == 0) {\n      FUN_002da540();\n      lVar2 = *(long *)(*unaff_R13 + -0x18) + (long)unaff_R13;\n      FUN_00300860(lVar2,*(uint *)(lVar2 + 0x20) | 4);\n      return;\n    }\n                    \n    FUN_002d9860();\n  }" (if "if") (parenthesized_expression "(unaff_R12 != 1)" (( "(") (binary_expression "unaff_R12 != 1" (identifier "unaff_R12") (!= "!=") (number_literal "1")) () ")")) (compound_statement "{\n    FUN_002da4d0();\n    lVar2 = *(long *)(*unaff_R13 + -0x18);\n    puVar1 = (uint *)((long)unaff_R13 + lVar2 + 0x20);\n    *puVar1 = *puVar1 | 1;\n    if ((*(byte *)((long)unaff_R13 + lVar2 + 0x1c) & 1) == 0) {\n      FUN_002da540();\n      lVar2 = *(long *)(*unaff_R13 + -0x18) + (long)unaff_R13;\n      FUN_00300860(lVar2,*(uint *)(lVar2 + 0x20) | 4);\n      return;\n    }\n                    \n    FUN_002d9860();\n  }" ({ "{") (expression_statement "FUN_002da4d0();" (call_expression "FUN_002da4d0()" (identifier "FUN_002da4d0") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "lVar2 = *(long *)(*unaff_R13 + -0x18);" (assignment_expression "lVar2 = *(long *)(*unaff_R13 + -0x18)" (identifier "lVar2") (= "=") (pointer_expression "*(long *)(*unaff_R13 + -0x18)" (* "*") (cast_expression "(long *)(*unaff_R13 + -0x18)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*unaff_R13 + -0x18)" (( "(") (binary_expression "*unaff_R13 + -0x18" (pointer_expression "*unaff_R13" (* "*") (identifier "unaff_R13")) (+ "+") (number_literal "-0x18")) () ")"))))) (; ";")) (expression_statement "puVar1 = (uint *)((long)unaff_R13 + lVar2 + 0x20);" (assignment_expression "puVar1 = (uint *)((long)unaff_R13 + lVar2 + 0x20)" (identifier "puVar1") (= "=") (cast_expression "(uint *)((long)unaff_R13 + lVar2 + 0x20)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)unaff_R13 + lVar2 + 0x20)" (( "(") (binary_expression "(long)unaff_R13 + lVar2 + 0x20" (binary_expression "(long)unaff_R13 + lVar2" (cast_expression "(long)unaff_R13" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "unaff_R13")) (+ "+") (identifier "lVar2")) (+ "+") (number_literal "0x20")) () ")")))) (; ";")) (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 *)((long)unaff_R13 + lVar2 + 0x1c) & 1) == 0) {\n      FUN_002da540();\n      lVar2 = *(long *)(*unaff_R13 + -0x18) + (long)unaff_R13;\n      FUN_00300860(lVar2,*(uint *)(lVar2 + 0x20) | 4);\n      return;\n    }" (if "if") (parenthesized_expression "((*(byte *)((long)unaff_R13 + lVar2 + 0x1c) & 1) == 0)" (( "(") (binary_expression "(*(byte *)((long)unaff_R13 + lVar2 + 0x1c) & 1) == 0" (parenthesized_expression "(*(byte *)((long)unaff_R13 + lVar2 + 0x1c) & 1)" (( "(") (binary_expression "*(byte *)((long)unaff_R13 + lVar2 + 0x1c) & 1" (pointer_expression "*(byte *)((long)unaff_R13 + lVar2 + 0x1c)" (* "*") (cast_expression "(byte *)((long)unaff_R13 + lVar2 + 0x1c)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)unaff_R13 + lVar2 + 0x1c)" (( "(") (binary_expression "(long)unaff_R13 + lVar2 + 0x1c" (binary_expression "(long)unaff_R13 + lVar2" (cast_expression "(long)unaff_R13" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "unaff_R13")) (+ "+") (identifier "lVar2")) (+ "+") (number_literal "0x1c")) () ")")))) (& "&") (number_literal "1")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      FUN_002da540();\n      lVar2 = *(long *)(*unaff_R13 + -0x18) + (long)unaff_R13;\n      FUN_00300860(lVar2,*(uint *)(lVar2 + 0x20) | 4);\n      return;\n    }" ({ "{") (expression_statement "FUN_002da540();" (call_expression "FUN_002da540()" (identifier "FUN_002da540") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "lVar2 = *(long *)(*unaff_R13 + -0x18) + (long)unaff_R13;" (assignment_expression "lVar2 = *(long *)(*unaff_R13 + -0x18) + (long)unaff_R13" (identifier "lVar2") (= "=") (binary_expression "*(long *)(*unaff_R13 + -0x18) + (long)unaff_R13" (pointer_expression "*(long *)(*unaff_R13 + -0x18)" (* "*") (cast_expression "(long *)(*unaff_R13 + -0x18)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*unaff_R13 + -0x18)" (( "(") (binary_expression "*unaff_R13 + -0x18" (pointer_expression "*unaff_R13" (* "*") (identifier "unaff_R13")) (+ "+") (number_literal "-0x18")) () ")")))) (+ "+") (cast_expression "(long)unaff_R13" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "unaff_R13")))) (; ";")) (expression_statement "FUN_00300860(lVar2,*(uint *)(lVar2 + 0x20) | 4);" (call_expression "FUN_00300860(lVar2,*(uint *)(lVar2 + 0x20) | 4)" (identifier "FUN_00300860") (argument_list "(lVar2,*(uint *)(lVar2 + 0x20) | 4)" (( "(") (identifier "lVar2") (, ",") (binary_expression "*(uint *)(lVar2 + 0x20) | 4" (pointer_expression "*(uint *)(lVar2 + 0x20)" (* "*") (cast_expression "(uint *)(lVar2 + 0x20)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar2 + 0x20)" (( "(") (binary_expression "lVar2 + 0x20" (identifier "lVar2") (+ "+") (number_literal "0x20")) () ")")))) (| "|") (number_literal "4")) () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "FUN_002d9860();" (call_expression "FUN_002d9860()" (identifier "FUN_002d9860") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "FUN_002da4d0();" (call_expression "FUN_002da4d0()" (identifier "FUN_002da4d0") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "lVar2 = *(long *)(*unaff_R13 + -0x18);" (assignment_expression "lVar2 = *(long *)(*unaff_R13 + -0x18)" (identifier "lVar2") (= "=") (pointer_expression "*(long *)(*unaff_R13 + -0x18)" (* "*") (cast_expression "(long *)(*unaff_R13 + -0x18)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*unaff_R13 + -0x18)" (( "(") (binary_expression "*unaff_R13 + -0x18" (pointer_expression "*unaff_R13" (* "*") (identifier "unaff_R13")) (+ "+") (number_literal "-0x18")) () ")"))))) (; ";")) (expression_statement "puVar1 = (uint *)((long)unaff_R13 + lVar2 + 0x20);" (assignment_expression "puVar1 = (uint *)((long)unaff_R13 + lVar2 + 0x20)" (identifier "puVar1") (= "=") (cast_expression "(uint *)((long)unaff_R13 + lVar2 + 0x20)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)unaff_R13 + lVar2 + 0x20)" (( "(") (binary_expression "(long)unaff_R13 + lVar2 + 0x20" (binary_expression "(long)unaff_R13 + lVar2" (cast_expression "(long)unaff_R13" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "unaff_R13")) (+ "+") (identifier "lVar2")) (+ "+") (number_literal "0x20")) () ")")))) (; ";")) (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 *)((long)unaff_R13 + lVar2 + 0x1c) & 1) == 0) {\n                    \n    FUN_002d9860();\n  }" (if "if") (parenthesized_expression "((*(byte *)((long)unaff_R13 + lVar2 + 0x1c) & 1) == 0)" (( "(") (binary_expression "(*(byte *)((long)unaff_R13 + lVar2 + 0x1c) & 1) == 0" (parenthesized_expression "(*(byte *)((long)unaff_R13 + lVar2 + 0x1c) & 1)" (( "(") (binary_expression "*(byte *)((long)unaff_R13 + lVar2 + 0x1c) & 1" (pointer_expression "*(byte *)((long)unaff_R13 + lVar2 + 0x1c)" (* "*") (cast_expression "(byte *)((long)unaff_R13 + lVar2 + 0x1c)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)unaff_R13 + lVar2 + 0x1c)" (( "(") (binary_expression "(long)unaff_R13 + lVar2 + 0x1c" (binary_expression "(long)unaff_R13 + lVar2" (cast_expression "(long)unaff_R13" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "unaff_R13")) (+ "+") (identifier "lVar2")) (+ "+") (number_literal "0x1c")) () ")")))) (& "&") (number_literal "1")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                    \n    FUN_002d9860();\n  }" ({ "{") (expression_statement "FUN_002d9860();" (call_expression "FUN_002d9860()" (identifier "FUN_002d9860") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "FUN_002d9860();" (call_expression "FUN_002d9860()" (identifier "FUN_002d9860") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))

/* WARNING: Unknown calling convention -- yet parameter storage is locked */
/* std::istream& std::TEMPNAMEPLACEHOLDERVALUE(std::istream&, char*) [clone .cold.30] */

type_2 * std::operator>>(type_2 *param_1,char *param_2)

{
  long var_4;
  type_1 *unaff_RBX;
  long var_1;
  type_2 *var_3;
  
  locale::~type_1(unaff_RBX);
  if (var_1 != 1) {
    var_2();
    var_4 = *(long *)(*(long *)var_3 + -0x18);
    *(type_3 *)(var_3 + var_4 + 0x20) = *(type_3 *)(var_3 + var_4 + 0x20) | 1;
    if (((type_4)var_3[var_4 + 0x1c] & 1) == 0) {
      var_5();
      ios::var_6((type_5 *)(var_3 + *(long *)(*(long *)var_3 + -0x18)),
                 *(type_6 *)
                  ((type_5 *)(var_3 + *(long *)(*(long *)var_3 + -0x18)) + 0x20) | var_7);
      return var_3;
    }
                    /* WARNING: Subroutine does not return */
    var_8();
  }
  var_2();
  var_4 = *(long *)(*(long *)var_3 + -0x18);
  *(type_3 *)(var_3 + var_4 + 0x20) = *(type_3 *)(var_3 + var_4 + 0x20) | 1;
  if (((type_4)var_3[var_4 + 0x1c] & 1) == 0) {
                    /* WARNING: Subroutine does not return */
    var_8();
  }
                    /* WARNING: Subroutine does not return */
                    /* try { // try from 0014ff19 to 0014ff1d has its CatchHandler @ 0014ff46 */
  var_8();
}


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

void MASKED(void)

{
  uint *puVar1;
  long lVar2;
  long unaff_R12;
  long *unaff_R13;
  
  FUN_002dd1a0();
  if (unaff_R12 != 1) {
    FUN_002da4d0();
    lVar2 = *(long *)(*unaff_R13 + -0x18);
    puVar1 = (uint *)((long)unaff_R13 + lVar2 + 0x20);
    *puVar1 = *puVar1 | 1;
    if ((*(byte *)((long)unaff_R13 + lVar2 + 0x1c) & 1) == 0) {
      FUN_002da540();
      lVar2 = *(long *)(*unaff_R13 + -0x18) + (long)unaff_R13;
      FUN_00300860(lVar2,*(uint *)(lVar2 + 0x20) | 4);
      return;
    }
                    /* WARNING: Subroutine does not return */
    FUN_002d9860();
  }
  FUN_002da4d0();
  lVar2 = *(long *)(*unaff_R13 + -0x18);
  puVar1 = (uint *)((long)unaff_R13 + lVar2 + 0x20);
  *puVar1 = *puVar1 | 1;
  if ((*(byte *)((long)unaff_R13 + lVar2 + 0x1c) & 1) == 0) {
                    /* WARNING: Subroutine does not return */
    FUN_002d9860();
  }
                    /* WARNING: Subroutine does not return */
                    /* try { // try from 0014ff19 to 0014ff1d has its CatchHandler @ 0014ff46 */
  FUN_002d9860();
}

