
/* std::wistream::ignore(long) [clone .cold.25] */

void std::wistream::ignore(long param_1)

{
  uint *puVar1;
  long lVar2;
  long in_RDX;
  long *unaff_RBX;
  
  if (in_RDX != 1) {
    __cxa_begin_catch();
    lVar2 = *(long *)(*unaff_RBX + -0x18);
    puVar1 = (uint *)((long)unaff_RBX + lVar2 + 0x20);
    *puVar1 = *puVar1 | 1;
    if ((*(byte *)((long)unaff_RBX + lVar2 + 0x1c) & 1) != 0) {
                    /* WARNING: Subroutine does not return */
                    /* try { // try from 00150490 to 00150494 has its CatchHandler @ 001504b7 */
      __cxa_rethrow();
    }
    __cxa_end_catch();
    return;
  }
  __cxa_begin_catch();
  lVar2 = *(long *)(*unaff_RBX + -0x18);
  puVar1 = (uint *)((long)unaff_RBX + lVar2 + 0x20);
  *puVar1 = *puVar1 | 1;
  if ((*(byte *)((long)unaff_RBX + lVar2 + 0x1c) & 1) != 0) {
                    /* WARNING: Subroutine does not return */
                    /* try { // try from 00150472 to 00150476 has its CatchHandler @ 0015049a */
    __cxa_rethrow();
  }
                    /* WARNING: Subroutine does not return */
                    /* try { // try from 00150495 to 00150499 has its CatchHandler @ 0015049a */
  __cxa_rethrow();
}



void FUN_00150456(undefined8 param_1,undefined8 param_2,long param_3)

{
  uint *puVar1;
  long lVar2;
  long *unaff_RBX;
  
  if (param_3 != 1) {
    FUN_002da4e0();
    lVar2 = *(long *)(*unaff_RBX + -0x18);
    puVar1 = (uint *)((long)unaff_RBX + lVar2 + 0x20);
    *puVar1 = *puVar1 | 1;
    if ((*(byte *)((long)unaff_RBX + lVar2 + 0x1c) & 1) != 0) {
                    /* WARNING: Subroutine does not return */
                    /* try { // try from 00150490 to 00150494 has its CatchHandler @ 001504b7 */
      FUN_002d9870();
    }
    FUN_002da550();
    return;
  }
  FUN_002da4e0();
  lVar2 = *(long *)(*unaff_RBX + -0x18);
  puVar1 = (uint *)((long)unaff_RBX + lVar2 + 0x20);
  *puVar1 = *puVar1 | 1;
  if ((*(byte *)((long)unaff_RBX + lVar2 + 0x1c) & 1) != 0) {
                    /* WARNING: Subroutine does not return */
                    /* try { // try from 00150472 to 00150476 has its CatchHandler @ 0015049a */
    FUN_002d9870();
  }
                    /* WARNING: Subroutine does not return */
                    /* try { // try from 00150495 to 00150499 has its CatchHandler @ 0015049a */
  FUN_002d9870();
}


SUB RDX,0x1
JNZ 0x00150477
CALL 0x002da4e0
MOV RAX,qword ptr [RBX]
ADD RBX,qword ptr [RAX + -0x18]
OR dword ptr [RBX + 0x20],0x1
TEST byte ptr [RBX + 0x1c],0x1
JZ 0x00150495
CALL 0x002d9870
CALL 0x002da4e0
MOV RAX,qword ptr [RBX]
MOV RCX,qword ptr [RAX + -0x18]
ADD RCX,RBX
OR dword ptr [RCX + 0x20],0x1
TEST byte ptr [RCX + 0x1c],0x1
JZ 0x001504aa
CALL 0x002d9870
CALL 0x002d9870
CALL 0x002da550
MOV RAX,RBX
JMP 0x0035b133
(translation_unit "void FUN_00150456(undefined8 param_1,undefined8 param_2,long param_3)\n\n{\n  uint *puVar1;\n  long lVar2;\n  long *unaff_RBX;\n  \n  if (param_3 != 1) {\n    FUN_002da4e0();\n    lVar2 = *(long *)(*unaff_RBX + -0x18);\n    puVar1 = (uint *)((long)unaff_RBX + lVar2 + 0x20);\n    *puVar1 = *puVar1 | 1;\n    if ((*(byte *)((long)unaff_RBX + lVar2 + 0x1c) & 1) != 0) {\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 00150490 to 00150494 has its CatchHandler @ 001504b7 */\n      FUN_002d9870();\n    }\n    FUN_002da550();\n    return;\n  }\n  FUN_002da4e0();\n  lVar2 = *(long *)(*unaff_RBX + -0x18);\n  puVar1 = (uint *)((long)unaff_RBX + lVar2 + 0x20);\n  *puVar1 = *puVar1 | 1;\n  if ((*(byte *)((long)unaff_RBX + lVar2 + 0x1c) & 1) != 0) {\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 00150472 to 00150476 has its CatchHandler @ 0015049a */\n    FUN_002d9870();\n  }\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 00150495 to 00150499 has its CatchHandler @ 0015049a */\n  FUN_002d9870();\n}\n\n" (function_definition "void FUN_00150456(undefined8 param_1,undefined8 param_2,long param_3)\n\n{\n  uint *puVar1;\n  long lVar2;\n  long *unaff_RBX;\n  \n  if (param_3 != 1) {\n    FUN_002da4e0();\n    lVar2 = *(long *)(*unaff_RBX + -0x18);\n    puVar1 = (uint *)((long)unaff_RBX + lVar2 + 0x20);\n    *puVar1 = *puVar1 | 1;\n    if ((*(byte *)((long)unaff_RBX + lVar2 + 0x1c) & 1) != 0) {\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 00150490 to 00150494 has its CatchHandler @ 001504b7 */\n      FUN_002d9870();\n    }\n    FUN_002da550();\n    return;\n  }\n  FUN_002da4e0();\n  lVar2 = *(long *)(*unaff_RBX + -0x18);\n  puVar1 = (uint *)((long)unaff_RBX + lVar2 + 0x20);\n  *puVar1 = *puVar1 | 1;\n  if ((*(byte *)((long)unaff_RBX + lVar2 + 0x1c) & 1) != 0) {\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 00150472 to 00150476 has its CatchHandler @ 0015049a */\n    FUN_002d9870();\n  }\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 00150495 to 00150499 has its CatchHandler @ 0015049a */\n  FUN_002d9870();\n}" primitive_type (function_declarator "FUN_00150456(undefined8 param_1,undefined8 param_2,long param_3)" identifier (parameter_list "(undefined8 param_1,undefined8 param_2,long param_3)" ( (parameter_declaration "undefined8 param_1" type_identifier identifier) , (parameter_declaration "undefined8 param_2" type_identifier identifier) , (parameter_declaration "long param_3" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  uint *puVar1;\n  long lVar2;\n  long *unaff_RBX;\n  \n  if (param_3 != 1) {\n    FUN_002da4e0();\n    lVar2 = *(long *)(*unaff_RBX + -0x18);\n    puVar1 = (uint *)((long)unaff_RBX + lVar2 + 0x20);\n    *puVar1 = *puVar1 | 1;\n    if ((*(byte *)((long)unaff_RBX + lVar2 + 0x1c) & 1) != 0) {\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 00150490 to 00150494 has its CatchHandler @ 001504b7 */\n      FUN_002d9870();\n    }\n    FUN_002da550();\n    return;\n  }\n  FUN_002da4e0();\n  lVar2 = *(long *)(*unaff_RBX + -0x18);\n  puVar1 = (uint *)((long)unaff_RBX + lVar2 + 0x20);\n  *puVar1 = *puVar1 | 1;\n  if ((*(byte *)((long)unaff_RBX + lVar2 + 0x1c) & 1) != 0) {\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 00150472 to 00150476 has its CatchHandler @ 0015049a */\n    FUN_002d9870();\n  }\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 00150495 to 00150499 has its CatchHandler @ 0015049a */\n  FUN_002d9870();\n}" { (declaration "uint *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "long lVar2;" (sized_type_specifier "long" long) identifier ;) (declaration "long *unaff_RBX;" (sized_type_specifier "long" long) (pointer_declarator "*unaff_RBX" * identifier) ;) (if_statement "if (param_3 != 1) {\n    FUN_002da4e0();\n    lVar2 = *(long *)(*unaff_RBX + -0x18);\n    puVar1 = (uint *)((long)unaff_RBX + lVar2 + 0x20);\n    *puVar1 = *puVar1 | 1;\n    if ((*(byte *)((long)unaff_RBX + lVar2 + 0x1c) & 1) != 0) {\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 00150490 to 00150494 has its CatchHandler @ 001504b7 */\n      FUN_002d9870();\n    }\n    FUN_002da550();\n    return;\n  }" if (parenthesized_expression "(param_3 != 1)" ( (binary_expression "param_3 != 1" identifier != number_literal) )) (compound_statement "{\n    FUN_002da4e0();\n    lVar2 = *(long *)(*unaff_RBX + -0x18);\n    puVar1 = (uint *)((long)unaff_RBX + lVar2 + 0x20);\n    *puVar1 = *puVar1 | 1;\n    if ((*(byte *)((long)unaff_RBX + lVar2 + 0x1c) & 1) != 0) {\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 00150490 to 00150494 has its CatchHandler @ 001504b7 */\n      FUN_002d9870();\n    }\n    FUN_002da550();\n    return;\n  }" { (expression_statement "FUN_002da4e0();" (call_expression "FUN_002da4e0()" identifier (argument_list "()" ( ))) ;) (expression_statement "lVar2 = *(long *)(*unaff_RBX + -0x18);" (assignment_expression "lVar2 = *(long *)(*unaff_RBX + -0x18)" identifier = (pointer_expression "*(long *)(*unaff_RBX + -0x18)" * (cast_expression "(long *)(*unaff_RBX + -0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*unaff_RBX + -0x18)" ( (binary_expression "*unaff_RBX + -0x18" (pointer_expression "*unaff_RBX" * identifier) + number_literal) ))))) ;) (expression_statement "puVar1 = (uint *)((long)unaff_RBX + lVar2 + 0x20);" (assignment_expression "puVar1 = (uint *)((long)unaff_RBX + lVar2 + 0x20)" identifier = (cast_expression "(uint *)((long)unaff_RBX + lVar2 + 0x20)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)unaff_RBX + lVar2 + 0x20)" ( (binary_expression "(long)unaff_RBX + lVar2 + 0x20" (binary_expression "(long)unaff_RBX + lVar2" (cast_expression "(long)unaff_RBX" ( (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_RBX + lVar2 + 0x1c) & 1) != 0) {\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 00150490 to 00150494 has its CatchHandler @ 001504b7 */\n      FUN_002d9870();\n    }" if (parenthesized_expression "((*(byte *)((long)unaff_RBX + lVar2 + 0x1c) & 1) != 0)" ( (binary_expression "(*(byte *)((long)unaff_RBX + lVar2 + 0x1c) & 1) != 0" (parenthesized_expression "(*(byte *)((long)unaff_RBX + lVar2 + 0x1c) & 1)" ( (binary_expression "*(byte *)((long)unaff_RBX + lVar2 + 0x1c) & 1" (pointer_expression "*(byte *)((long)unaff_RBX + lVar2 + 0x1c)" * (cast_expression "(byte *)((long)unaff_RBX + lVar2 + 0x1c)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)unaff_RBX + lVar2 + 0x1c)" ( (binary_expression "(long)unaff_RBX + lVar2 + 0x1c" (binary_expression "(long)unaff_RBX + lVar2" (cast_expression "(long)unaff_RBX" ( (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                    /* try { // try from 00150490 to 00150494 has its CatchHandler @ 001504b7 */\n      FUN_002d9870();\n    }" { comment comment (expression_statement "FUN_002d9870();" (call_expression "FUN_002d9870()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "FUN_002da550();" (call_expression "FUN_002da550()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (expression_statement "FUN_002da4e0();" (call_expression "FUN_002da4e0()" identifier (argument_list "()" ( ))) ;) (expression_statement "lVar2 = *(long *)(*unaff_RBX + -0x18);" (assignment_expression "lVar2 = *(long *)(*unaff_RBX + -0x18)" identifier = (pointer_expression "*(long *)(*unaff_RBX + -0x18)" * (cast_expression "(long *)(*unaff_RBX + -0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*unaff_RBX + -0x18)" ( (binary_expression "*unaff_RBX + -0x18" (pointer_expression "*unaff_RBX" * identifier) + number_literal) ))))) ;) (expression_statement "puVar1 = (uint *)((long)unaff_RBX + lVar2 + 0x20);" (assignment_expression "puVar1 = (uint *)((long)unaff_RBX + lVar2 + 0x20)" identifier = (cast_expression "(uint *)((long)unaff_RBX + lVar2 + 0x20)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)unaff_RBX + lVar2 + 0x20)" ( (binary_expression "(long)unaff_RBX + lVar2 + 0x20" (binary_expression "(long)unaff_RBX + lVar2" (cast_expression "(long)unaff_RBX" ( (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_RBX + lVar2 + 0x1c) & 1) != 0) {\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 00150472 to 00150476 has its CatchHandler @ 0015049a */\n    FUN_002d9870();\n  }" if (parenthesized_expression "((*(byte *)((long)unaff_RBX + lVar2 + 0x1c) & 1) != 0)" ( (binary_expression "(*(byte *)((long)unaff_RBX + lVar2 + 0x1c) & 1) != 0" (parenthesized_expression "(*(byte *)((long)unaff_RBX + lVar2 + 0x1c) & 1)" ( (binary_expression "*(byte *)((long)unaff_RBX + lVar2 + 0x1c) & 1" (pointer_expression "*(byte *)((long)unaff_RBX + lVar2 + 0x1c)" * (cast_expression "(byte *)((long)unaff_RBX + lVar2 + 0x1c)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)unaff_RBX + lVar2 + 0x1c)" ( (binary_expression "(long)unaff_RBX + lVar2 + 0x1c" (binary_expression "(long)unaff_RBX + lVar2" (cast_expression "(long)unaff_RBX" ( (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                    /* try { // try from 00150472 to 00150476 has its CatchHandler @ 0015049a */\n    FUN_002d9870();\n  }" { comment comment (expression_statement "FUN_002d9870();" (call_expression "FUN_002d9870()" identifier (argument_list "()" ( ))) ;) })) comment comment (expression_statement "FUN_002d9870();" (call_expression "FUN_002d9870()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "/* std::wistream::ignore(long) [clone .cold.25] */\n\nvoid std::wistream::ignore(long param_1)\n\n{\n  uint *puVar1;\n  long lVar2;\n  long in_RDX;\n  long *unaff_RBX;\n  \n  if (in_RDX != 1) {\n    __cxa_begin_catch();\n    lVar2 = *(long *)(*unaff_RBX + -0x18);\n    puVar1 = (uint *)((long)unaff_RBX + lVar2 + 0x20);\n    *puVar1 = *puVar1 | 1;\n    if ((*(byte *)((long)unaff_RBX + lVar2 + 0x1c) & 1) != 0) {\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 00150490 to 00150494 has its CatchHandler @ 001504b7 */\n      __cxa_rethrow();\n    }\n    __cxa_end_catch();\n    return;\n  }\n  __cxa_begin_catch();\n  lVar2 = *(long *)(*unaff_RBX + -0x18);\n  puVar1 = (uint *)((long)unaff_RBX + lVar2 + 0x20);\n  *puVar1 = *puVar1 | 1;\n  if ((*(byte *)((long)unaff_RBX + lVar2 + 0x1c) & 1) != 0) {\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 00150472 to 00150476 has its CatchHandler @ 0015049a */\n    __cxa_rethrow();\n  }\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 00150495 to 00150499 has its CatchHandler @ 0015049a */\n  __cxa_rethrow();\n}\n\n" comment (function_definition "void std::wistream::ignore(long param_1)\n\n{\n  uint *puVar1;\n  long lVar2;\n  long in_RDX;\n  long *unaff_RBX;\n  \n  if (in_RDX != 1) {\n    __cxa_begin_catch();\n    lVar2 = *(long *)(*unaff_RBX + -0x18);\n    puVar1 = (uint *)((long)unaff_RBX + lVar2 + 0x20);\n    *puVar1 = *puVar1 | 1;\n    if ((*(byte *)((long)unaff_RBX + lVar2 + 0x1c) & 1) != 0) {\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 00150490 to 00150494 has its CatchHandler @ 001504b7 */\n      __cxa_rethrow();\n    }\n    __cxa_end_catch();\n    return;\n  }\n  __cxa_begin_catch();\n  lVar2 = *(long *)(*unaff_RBX + -0x18);\n  puVar1 = (uint *)((long)unaff_RBX + lVar2 + 0x20);\n  *puVar1 = *puVar1 | 1;\n  if ((*(byte *)((long)unaff_RBX + lVar2 + 0x1c) & 1) != 0) {\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 00150472 to 00150476 has its CatchHandler @ 0015049a */\n    __cxa_rethrow();\n  }\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 00150495 to 00150499 has its CatchHandler @ 0015049a */\n  __cxa_rethrow();\n}" primitive_type (ERROR "std::wistream::" identifier : : identifier : :) (function_declarator "ignore(long param_1)" identifier (parameter_list "(long param_1)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  uint *puVar1;\n  long lVar2;\n  long in_RDX;\n  long *unaff_RBX;\n  \n  if (in_RDX != 1) {\n    __cxa_begin_catch();\n    lVar2 = *(long *)(*unaff_RBX + -0x18);\n    puVar1 = (uint *)((long)unaff_RBX + lVar2 + 0x20);\n    *puVar1 = *puVar1 | 1;\n    if ((*(byte *)((long)unaff_RBX + lVar2 + 0x1c) & 1) != 0) {\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 00150490 to 00150494 has its CatchHandler @ 001504b7 */\n      __cxa_rethrow();\n    }\n    __cxa_end_catch();\n    return;\n  }\n  __cxa_begin_catch();\n  lVar2 = *(long *)(*unaff_RBX + -0x18);\n  puVar1 = (uint *)((long)unaff_RBX + lVar2 + 0x20);\n  *puVar1 = *puVar1 | 1;\n  if ((*(byte *)((long)unaff_RBX + lVar2 + 0x1c) & 1) != 0) {\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 00150472 to 00150476 has its CatchHandler @ 0015049a */\n    __cxa_rethrow();\n  }\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 00150495 to 00150499 has its CatchHandler @ 0015049a */\n  __cxa_rethrow();\n}" { (declaration "uint *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "long lVar2;" (sized_type_specifier "long" long) identifier ;) (declaration "long in_RDX;" (sized_type_specifier "long" long) identifier ;) (declaration "long *unaff_RBX;" (sized_type_specifier "long" long) (pointer_declarator "*unaff_RBX" * identifier) ;) (if_statement "if (in_RDX != 1) {\n    __cxa_begin_catch();\n    lVar2 = *(long *)(*unaff_RBX + -0x18);\n    puVar1 = (uint *)((long)unaff_RBX + lVar2 + 0x20);\n    *puVar1 = *puVar1 | 1;\n    if ((*(byte *)((long)unaff_RBX + lVar2 + 0x1c) & 1) != 0) {\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 00150490 to 00150494 has its CatchHandler @ 001504b7 */\n      __cxa_rethrow();\n    }\n    __cxa_end_catch();\n    return;\n  }" if (parenthesized_expression "(in_RDX != 1)" ( (binary_expression "in_RDX != 1" identifier != number_literal) )) (compound_statement "{\n    __cxa_begin_catch();\n    lVar2 = *(long *)(*unaff_RBX + -0x18);\n    puVar1 = (uint *)((long)unaff_RBX + lVar2 + 0x20);\n    *puVar1 = *puVar1 | 1;\n    if ((*(byte *)((long)unaff_RBX + lVar2 + 0x1c) & 1) != 0) {\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 00150490 to 00150494 has its CatchHandler @ 001504b7 */\n      __cxa_rethrow();\n    }\n    __cxa_end_catch();\n    return;\n  }" { (expression_statement "__cxa_begin_catch();" (call_expression "__cxa_begin_catch()" identifier (argument_list "()" ( ))) ;) (expression_statement "lVar2 = *(long *)(*unaff_RBX + -0x18);" (assignment_expression "lVar2 = *(long *)(*unaff_RBX + -0x18)" identifier = (pointer_expression "*(long *)(*unaff_RBX + -0x18)" * (cast_expression "(long *)(*unaff_RBX + -0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*unaff_RBX + -0x18)" ( (binary_expression "*unaff_RBX + -0x18" (pointer_expression "*unaff_RBX" * identifier) + number_literal) ))))) ;) (expression_statement "puVar1 = (uint *)((long)unaff_RBX + lVar2 + 0x20);" (assignment_expression "puVar1 = (uint *)((long)unaff_RBX + lVar2 + 0x20)" identifier = (cast_expression "(uint *)((long)unaff_RBX + lVar2 + 0x20)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)unaff_RBX + lVar2 + 0x20)" ( (binary_expression "(long)unaff_RBX + lVar2 + 0x20" (binary_expression "(long)unaff_RBX + lVar2" (cast_expression "(long)unaff_RBX" ( (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_RBX + lVar2 + 0x1c) & 1) != 0) {\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 00150490 to 00150494 has its CatchHandler @ 001504b7 */\n      __cxa_rethrow();\n    }" if (parenthesized_expression "((*(byte *)((long)unaff_RBX + lVar2 + 0x1c) & 1) != 0)" ( (binary_expression "(*(byte *)((long)unaff_RBX + lVar2 + 0x1c) & 1) != 0" (parenthesized_expression "(*(byte *)((long)unaff_RBX + lVar2 + 0x1c) & 1)" ( (binary_expression "*(byte *)((long)unaff_RBX + lVar2 + 0x1c) & 1" (pointer_expression "*(byte *)((long)unaff_RBX + lVar2 + 0x1c)" * (cast_expression "(byte *)((long)unaff_RBX + lVar2 + 0x1c)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)unaff_RBX + lVar2 + 0x1c)" ( (binary_expression "(long)unaff_RBX + lVar2 + 0x1c" (binary_expression "(long)unaff_RBX + lVar2" (cast_expression "(long)unaff_RBX" ( (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                    /* try { // try from 00150490 to 00150494 has its CatchHandler @ 001504b7 */\n      __cxa_rethrow();\n    }" { comment 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 "()" ( ))) ;) (return_statement "return;" return ;) })) (expression_statement "__cxa_begin_catch();" (call_expression "__cxa_begin_catch()" identifier (argument_list "()" ( ))) ;) (expression_statement "lVar2 = *(long *)(*unaff_RBX + -0x18);" (assignment_expression "lVar2 = *(long *)(*unaff_RBX + -0x18)" identifier = (pointer_expression "*(long *)(*unaff_RBX + -0x18)" * (cast_expression "(long *)(*unaff_RBX + -0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*unaff_RBX + -0x18)" ( (binary_expression "*unaff_RBX + -0x18" (pointer_expression "*unaff_RBX" * identifier) + number_literal) ))))) ;) (expression_statement "puVar1 = (uint *)((long)unaff_RBX + lVar2 + 0x20);" (assignment_expression "puVar1 = (uint *)((long)unaff_RBX + lVar2 + 0x20)" identifier = (cast_expression "(uint *)((long)unaff_RBX + lVar2 + 0x20)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)unaff_RBX + lVar2 + 0x20)" ( (binary_expression "(long)unaff_RBX + lVar2 + 0x20" (binary_expression "(long)unaff_RBX + lVar2" (cast_expression "(long)unaff_RBX" ( (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_RBX + lVar2 + 0x1c) & 1) != 0) {\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 00150472 to 00150476 has its CatchHandler @ 0015049a */\n    __cxa_rethrow();\n  }" if (parenthesized_expression "((*(byte *)((long)unaff_RBX + lVar2 + 0x1c) & 1) != 0)" ( (binary_expression "(*(byte *)((long)unaff_RBX + lVar2 + 0x1c) & 1) != 0" (parenthesized_expression "(*(byte *)((long)unaff_RBX + lVar2 + 0x1c) & 1)" ( (binary_expression "*(byte *)((long)unaff_RBX + lVar2 + 0x1c) & 1" (pointer_expression "*(byte *)((long)unaff_RBX + lVar2 + 0x1c)" * (cast_expression "(byte *)((long)unaff_RBX + lVar2 + 0x1c)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)unaff_RBX + lVar2 + 0x1c)" ( (binary_expression "(long)unaff_RBX + lVar2 + 0x1c" (binary_expression "(long)unaff_RBX + lVar2" (cast_expression "(long)unaff_RBX" ( (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                    /* try { // try from 00150472 to 00150476 has its CatchHandler @ 0015049a */\n    __cxa_rethrow();\n  }" { comment 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_00150456(undefined8 param_1,undefined8 param_2,long param_3)\n\n{\n  uint *puVar1;\n  long lVar2;\n  long *unaff_RBX;\n  \n  if (param_3 != 1) {\n    FUN_002da4e0();\n    lVar2 = *(long *)(*unaff_RBX + -0x18);\n    puVar1 = (uint *)((long)unaff_RBX + lVar2 + 0x20);\n    *puVar1 = *puVar1 | 1;\n    if ((*(byte *)((long)unaff_RBX + lVar2 + 0x1c) & 1) != 0) {\n                    \n                    \n      FUN_002d9870();\n    }\n    FUN_002da550();\n    return;\n  }\n  FUN_002da4e0();\n  lVar2 = *(long *)(*unaff_RBX + -0x18);\n  puVar1 = (uint *)((long)unaff_RBX + lVar2 + 0x20);\n  *puVar1 = *puVar1 | 1;\n  if ((*(byte *)((long)unaff_RBX + lVar2 + 0x1c) & 1) != 0) {\n                    \n                    \n    FUN_002d9870();\n  }\n                    \n                    \n  FUN_002d9870();\n}\n\n" (function_definition "void FUN_00150456(undefined8 param_1,undefined8 param_2,long param_3)\n\n{\n  uint *puVar1;\n  long lVar2;\n  long *unaff_RBX;\n  \n  if (param_3 != 1) {\n    FUN_002da4e0();\n    lVar2 = *(long *)(*unaff_RBX + -0x18);\n    puVar1 = (uint *)((long)unaff_RBX + lVar2 + 0x20);\n    *puVar1 = *puVar1 | 1;\n    if ((*(byte *)((long)unaff_RBX + lVar2 + 0x1c) & 1) != 0) {\n                    \n                    \n      FUN_002d9870();\n    }\n    FUN_002da550();\n    return;\n  }\n  FUN_002da4e0();\n  lVar2 = *(long *)(*unaff_RBX + -0x18);\n  puVar1 = (uint *)((long)unaff_RBX + lVar2 + 0x20);\n  *puVar1 = *puVar1 | 1;\n  if ((*(byte *)((long)unaff_RBX + lVar2 + 0x1c) & 1) != 0) {\n                    \n                    \n    FUN_002d9870();\n  }\n                    \n                    \n  FUN_002d9870();\n}" primitive_type (function_declarator "FUN_00150456(undefined8 param_1,undefined8 param_2,long param_3)" identifier (parameter_list "(undefined8 param_1,undefined8 param_2,long param_3)" ( (parameter_declaration "undefined8 param_1" type_identifier identifier) , (parameter_declaration "undefined8 param_2" type_identifier identifier) , (parameter_declaration "long param_3" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  uint *puVar1;\n  long lVar2;\n  long *unaff_RBX;\n  \n  if (param_3 != 1) {\n    FUN_002da4e0();\n    lVar2 = *(long *)(*unaff_RBX + -0x18);\n    puVar1 = (uint *)((long)unaff_RBX + lVar2 + 0x20);\n    *puVar1 = *puVar1 | 1;\n    if ((*(byte *)((long)unaff_RBX + lVar2 + 0x1c) & 1) != 0) {\n                    \n                    \n      FUN_002d9870();\n    }\n    FUN_002da550();\n    return;\n  }\n  FUN_002da4e0();\n  lVar2 = *(long *)(*unaff_RBX + -0x18);\n  puVar1 = (uint *)((long)unaff_RBX + lVar2 + 0x20);\n  *puVar1 = *puVar1 | 1;\n  if ((*(byte *)((long)unaff_RBX + lVar2 + 0x1c) & 1) != 0) {\n                    \n                    \n    FUN_002d9870();\n  }\n                    \n                    \n  FUN_002d9870();\n}" { (declaration "uint *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "long lVar2;" (sized_type_specifier "long" long) identifier ;) (declaration "long *unaff_RBX;" (sized_type_specifier "long" long) (pointer_declarator "*unaff_RBX" * identifier) ;) (if_statement "if (param_3 != 1) {\n    FUN_002da4e0();\n    lVar2 = *(long *)(*unaff_RBX + -0x18);\n    puVar1 = (uint *)((long)unaff_RBX + lVar2 + 0x20);\n    *puVar1 = *puVar1 | 1;\n    if ((*(byte *)((long)unaff_RBX + lVar2 + 0x1c) & 1) != 0) {\n                    \n                    \n      FUN_002d9870();\n    }\n    FUN_002da550();\n    return;\n  }" if (parenthesized_expression "(param_3 != 1)" ( (binary_expression "param_3 != 1" identifier != number_literal) )) (compound_statement "{\n    FUN_002da4e0();\n    lVar2 = *(long *)(*unaff_RBX + -0x18);\n    puVar1 = (uint *)((long)unaff_RBX + lVar2 + 0x20);\n    *puVar1 = *puVar1 | 1;\n    if ((*(byte *)((long)unaff_RBX + lVar2 + 0x1c) & 1) != 0) {\n                    \n                    \n      FUN_002d9870();\n    }\n    FUN_002da550();\n    return;\n  }" { (expression_statement "FUN_002da4e0();" (call_expression "FUN_002da4e0()" identifier (argument_list "()" ( ))) ;) (expression_statement "lVar2 = *(long *)(*unaff_RBX + -0x18);" (assignment_expression "lVar2 = *(long *)(*unaff_RBX + -0x18)" identifier = (pointer_expression "*(long *)(*unaff_RBX + -0x18)" * (cast_expression "(long *)(*unaff_RBX + -0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*unaff_RBX + -0x18)" ( (binary_expression "*unaff_RBX + -0x18" (pointer_expression "*unaff_RBX" * identifier) + number_literal) ))))) ;) (expression_statement "puVar1 = (uint *)((long)unaff_RBX + lVar2 + 0x20);" (assignment_expression "puVar1 = (uint *)((long)unaff_RBX + lVar2 + 0x20)" identifier = (cast_expression "(uint *)((long)unaff_RBX + lVar2 + 0x20)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)unaff_RBX + lVar2 + 0x20)" ( (binary_expression "(long)unaff_RBX + lVar2 + 0x20" (binary_expression "(long)unaff_RBX + lVar2" (cast_expression "(long)unaff_RBX" ( (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_RBX + lVar2 + 0x1c) & 1) != 0) {\n                    \n                    \n      FUN_002d9870();\n    }" if (parenthesized_expression "((*(byte *)((long)unaff_RBX + lVar2 + 0x1c) & 1) != 0)" ( (binary_expression "(*(byte *)((long)unaff_RBX + lVar2 + 0x1c) & 1) != 0" (parenthesized_expression "(*(byte *)((long)unaff_RBX + lVar2 + 0x1c) & 1)" ( (binary_expression "*(byte *)((long)unaff_RBX + lVar2 + 0x1c) & 1" (pointer_expression "*(byte *)((long)unaff_RBX + lVar2 + 0x1c)" * (cast_expression "(byte *)((long)unaff_RBX + lVar2 + 0x1c)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)unaff_RBX + lVar2 + 0x1c)" ( (binary_expression "(long)unaff_RBX + lVar2 + 0x1c" (binary_expression "(long)unaff_RBX + lVar2" (cast_expression "(long)unaff_RBX" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + identifier) + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n                    \n                    \n      FUN_002d9870();\n    }" { (expression_statement "FUN_002d9870();" (call_expression "FUN_002d9870()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "FUN_002da550();" (call_expression "FUN_002da550()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (expression_statement "FUN_002da4e0();" (call_expression "FUN_002da4e0()" identifier (argument_list "()" ( ))) ;) (expression_statement "lVar2 = *(long *)(*unaff_RBX + -0x18);" (assignment_expression "lVar2 = *(long *)(*unaff_RBX + -0x18)" identifier = (pointer_expression "*(long *)(*unaff_RBX + -0x18)" * (cast_expression "(long *)(*unaff_RBX + -0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*unaff_RBX + -0x18)" ( (binary_expression "*unaff_RBX + -0x18" (pointer_expression "*unaff_RBX" * identifier) + number_literal) ))))) ;) (expression_statement "puVar1 = (uint *)((long)unaff_RBX + lVar2 + 0x20);" (assignment_expression "puVar1 = (uint *)((long)unaff_RBX + lVar2 + 0x20)" identifier = (cast_expression "(uint *)((long)unaff_RBX + lVar2 + 0x20)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)unaff_RBX + lVar2 + 0x20)" ( (binary_expression "(long)unaff_RBX + lVar2 + 0x20" (binary_expression "(long)unaff_RBX + lVar2" (cast_expression "(long)unaff_RBX" ( (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_RBX + lVar2 + 0x1c) & 1) != 0) {\n                    \n                    \n    FUN_002d9870();\n  }" if (parenthesized_expression "((*(byte *)((long)unaff_RBX + lVar2 + 0x1c) & 1) != 0)" ( (binary_expression "(*(byte *)((long)unaff_RBX + lVar2 + 0x1c) & 1) != 0" (parenthesized_expression "(*(byte *)((long)unaff_RBX + lVar2 + 0x1c) & 1)" ( (binary_expression "*(byte *)((long)unaff_RBX + lVar2 + 0x1c) & 1" (pointer_expression "*(byte *)((long)unaff_RBX + lVar2 + 0x1c)" * (cast_expression "(byte *)((long)unaff_RBX + lVar2 + 0x1c)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)unaff_RBX + lVar2 + 0x1c)" ( (binary_expression "(long)unaff_RBX + lVar2 + 0x1c" (binary_expression "(long)unaff_RBX + lVar2" (cast_expression "(long)unaff_RBX" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + identifier) + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n                    \n                    \n    FUN_002d9870();\n  }" { (expression_statement "FUN_002d9870();" (call_expression "FUN_002d9870()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "FUN_002d9870();" (call_expression "FUN_002d9870()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration (sized_type_specifier long) IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration (sized_type_specifier long) IDENT ;) (declaration (sized_type_specifier long) (pointer_declarator * IDENT) ;) (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 (call_expression IDENT (argument_list ( ))) ;) (return_statement return ;) })) (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_00150456(undefined8 param_1,undefined8 param_2,long param_3)\n\n{\n  uint *puVar1;\n  long lVar2;\n  long *unaff_RBX;\n  \n  if (param_3 != 1) {\n    FUN_002da4e0();\n    lVar2 = *(long *)(*unaff_RBX + -0x18);\n    puVar1 = (uint *)((long)unaff_RBX + lVar2 + 0x20);\n    *puVar1 = *puVar1 | 1;\n    if ((*(byte *)((long)unaff_RBX + lVar2 + 0x1c) & 1) != 0) {\n                    \n                    \n      FUN_002d9870();\n    }\n    FUN_002da550();\n    return;\n  }\n  FUN_002da4e0();\n  lVar2 = *(long *)(*unaff_RBX + -0x18);\n  puVar1 = (uint *)((long)unaff_RBX + lVar2 + 0x20);\n  *puVar1 = *puVar1 | 1;\n  if ((*(byte *)((long)unaff_RBX + lVar2 + 0x1c) & 1) != 0) {\n                    \n                    \n    FUN_002d9870();\n  }\n                    \n                    \n  FUN_002d9870();\n}" (primitive_type "void") (function_declarator "FUN_00150456(undefined8 param_1,undefined8 param_2,long param_3)" (identifier "FUN_00150456") (parameter_list "(undefined8 param_1,undefined8 param_2,long param_3)" (( "(") (parameter_declaration "undefined8 param_1" (type_identifier "undefined8") (identifier "param_1")) (, ",") (parameter_declaration "undefined8 param_2" (type_identifier "undefined8") (identifier "param_2")) (, ",") (parameter_declaration "long param_3" (sized_type_specifier "long" (long "long")) (identifier "param_3")) () ")"))) (compound_statement "{\n  uint *puVar1;\n  long lVar2;\n  long *unaff_RBX;\n  \n  if (param_3 != 1) {\n    FUN_002da4e0();\n    lVar2 = *(long *)(*unaff_RBX + -0x18);\n    puVar1 = (uint *)((long)unaff_RBX + lVar2 + 0x20);\n    *puVar1 = *puVar1 | 1;\n    if ((*(byte *)((long)unaff_RBX + lVar2 + 0x1c) & 1) != 0) {\n                    \n                    \n      FUN_002d9870();\n    }\n    FUN_002da550();\n    return;\n  }\n  FUN_002da4e0();\n  lVar2 = *(long *)(*unaff_RBX + -0x18);\n  puVar1 = (uint *)((long)unaff_RBX + lVar2 + 0x20);\n  *puVar1 = *puVar1 | 1;\n  if ((*(byte *)((long)unaff_RBX + lVar2 + 0x1c) & 1) != 0) {\n                    \n                    \n    FUN_002d9870();\n  }\n                    \n                    \n  FUN_002d9870();\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_RBX;" (sized_type_specifier "long" (long "long")) (pointer_declarator "*unaff_RBX" (* "*") (identifier "unaff_RBX")) (; ";")) (if_statement "if (param_3 != 1) {\n    FUN_002da4e0();\n    lVar2 = *(long *)(*unaff_RBX + -0x18);\n    puVar1 = (uint *)((long)unaff_RBX + lVar2 + 0x20);\n    *puVar1 = *puVar1 | 1;\n    if ((*(byte *)((long)unaff_RBX + lVar2 + 0x1c) & 1) != 0) {\n                    \n                    \n      FUN_002d9870();\n    }\n    FUN_002da550();\n    return;\n  }" (if "if") (parenthesized_expression "(param_3 != 1)" (( "(") (binary_expression "param_3 != 1" (identifier "param_3") (!= "!=") (number_literal "1")) () ")")) (compound_statement "{\n    FUN_002da4e0();\n    lVar2 = *(long *)(*unaff_RBX + -0x18);\n    puVar1 = (uint *)((long)unaff_RBX + lVar2 + 0x20);\n    *puVar1 = *puVar1 | 1;\n    if ((*(byte *)((long)unaff_RBX + lVar2 + 0x1c) & 1) != 0) {\n                    \n                    \n      FUN_002d9870();\n    }\n    FUN_002da550();\n    return;\n  }" ({ "{") (expression_statement "FUN_002da4e0();" (call_expression "FUN_002da4e0()" (identifier "FUN_002da4e0") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "lVar2 = *(long *)(*unaff_RBX + -0x18);" (assignment_expression "lVar2 = *(long *)(*unaff_RBX + -0x18)" (identifier "lVar2") (= "=") (pointer_expression "*(long *)(*unaff_RBX + -0x18)" (* "*") (cast_expression "(long *)(*unaff_RBX + -0x18)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*unaff_RBX + -0x18)" (( "(") (binary_expression "*unaff_RBX + -0x18" (pointer_expression "*unaff_RBX" (* "*") (identifier "unaff_RBX")) (+ "+") (number_literal "-0x18")) () ")"))))) (; ";")) (expression_statement "puVar1 = (uint *)((long)unaff_RBX + lVar2 + 0x20);" (assignment_expression "puVar1 = (uint *)((long)unaff_RBX + lVar2 + 0x20)" (identifier "puVar1") (= "=") (cast_expression "(uint *)((long)unaff_RBX + lVar2 + 0x20)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)unaff_RBX + lVar2 + 0x20)" (( "(") (binary_expression "(long)unaff_RBX + lVar2 + 0x20" (binary_expression "(long)unaff_RBX + lVar2" (cast_expression "(long)unaff_RBX" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "unaff_RBX")) (+ "+") (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_RBX + lVar2 + 0x1c) & 1) != 0) {\n                    \n                    \n      FUN_002d9870();\n    }" (if "if") (parenthesized_expression "((*(byte *)((long)unaff_RBX + lVar2 + 0x1c) & 1) != 0)" (( "(") (binary_expression "(*(byte *)((long)unaff_RBX + lVar2 + 0x1c) & 1) != 0" (parenthesized_expression "(*(byte *)((long)unaff_RBX + lVar2 + 0x1c) & 1)" (( "(") (binary_expression "*(byte *)((long)unaff_RBX + lVar2 + 0x1c) & 1" (pointer_expression "*(byte *)((long)unaff_RBX + lVar2 + 0x1c)" (* "*") (cast_expression "(byte *)((long)unaff_RBX + lVar2 + 0x1c)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)unaff_RBX + lVar2 + 0x1c)" (( "(") (binary_expression "(long)unaff_RBX + lVar2 + 0x1c" (binary_expression "(long)unaff_RBX + lVar2" (cast_expression "(long)unaff_RBX" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "unaff_RBX")) (+ "+") (identifier "lVar2")) (+ "+") (number_literal "0x1c")) () ")")))) (& "&") (number_literal "1")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                    \n                    \n      FUN_002d9870();\n    }" ({ "{") (expression_statement "FUN_002d9870();" (call_expression "FUN_002d9870()" (identifier "FUN_002d9870") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "FUN_002da550();" (call_expression "FUN_002da550()" (identifier "FUN_002da550") (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "FUN_002da4e0();" (call_expression "FUN_002da4e0()" (identifier "FUN_002da4e0") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "lVar2 = *(long *)(*unaff_RBX + -0x18);" (assignment_expression "lVar2 = *(long *)(*unaff_RBX + -0x18)" (identifier "lVar2") (= "=") (pointer_expression "*(long *)(*unaff_RBX + -0x18)" (* "*") (cast_expression "(long *)(*unaff_RBX + -0x18)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*unaff_RBX + -0x18)" (( "(") (binary_expression "*unaff_RBX + -0x18" (pointer_expression "*unaff_RBX" (* "*") (identifier "unaff_RBX")) (+ "+") (number_literal "-0x18")) () ")"))))) (; ";")) (expression_statement "puVar1 = (uint *)((long)unaff_RBX + lVar2 + 0x20);" (assignment_expression "puVar1 = (uint *)((long)unaff_RBX + lVar2 + 0x20)" (identifier "puVar1") (= "=") (cast_expression "(uint *)((long)unaff_RBX + lVar2 + 0x20)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)unaff_RBX + lVar2 + 0x20)" (( "(") (binary_expression "(long)unaff_RBX + lVar2 + 0x20" (binary_expression "(long)unaff_RBX + lVar2" (cast_expression "(long)unaff_RBX" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "unaff_RBX")) (+ "+") (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_RBX + lVar2 + 0x1c) & 1) != 0) {\n                    \n                    \n    FUN_002d9870();\n  }" (if "if") (parenthesized_expression "((*(byte *)((long)unaff_RBX + lVar2 + 0x1c) & 1) != 0)" (( "(") (binary_expression "(*(byte *)((long)unaff_RBX + lVar2 + 0x1c) & 1) != 0" (parenthesized_expression "(*(byte *)((long)unaff_RBX + lVar2 + 0x1c) & 1)" (( "(") (binary_expression "*(byte *)((long)unaff_RBX + lVar2 + 0x1c) & 1" (pointer_expression "*(byte *)((long)unaff_RBX + lVar2 + 0x1c)" (* "*") (cast_expression "(byte *)((long)unaff_RBX + lVar2 + 0x1c)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)unaff_RBX + lVar2 + 0x1c)" (( "(") (binary_expression "(long)unaff_RBX + lVar2 + 0x1c" (binary_expression "(long)unaff_RBX + lVar2" (cast_expression "(long)unaff_RBX" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "unaff_RBX")) (+ "+") (identifier "lVar2")) (+ "+") (number_literal "0x1c")) () ")")))) (& "&") (number_literal "1")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                    \n                    \n    FUN_002d9870();\n  }" ({ "{") (expression_statement "FUN_002d9870();" (call_expression "FUN_002d9870()" (identifier "FUN_002d9870") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "FUN_002d9870();" (call_expression "FUN_002d9870()" (identifier "FUN_002d9870") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))

/* std::wistream::ignore(long) [clone .cold.25] */

void std::wistream::function_1(long param_1)

{
  type_1 *puVar1;
  long var_3;
  long var_1;
  long *unaff_RBX;
  
  if (var_1 != 1) {
    var_2();
    var_3 = *(long *)(*unaff_RBX + -0x18);
    puVar1 = (type_1 *)((long)unaff_RBX + var_3 + 0x20);
    *puVar1 = *puVar1 | 1;
    if ((*(type_2 *)((long)unaff_RBX + var_3 + 0x1c) & 1) != 0) {
                    /* WARNING: Subroutine does not return */
                    /* try { // try from 00150490 to 00150494 has its CatchHandler @ 001504b7 */
      var_4();
    }
    var_5();
    return;
  }
  var_2();
  var_3 = *(long *)(*unaff_RBX + -0x18);
  puVar1 = (type_1 *)((long)unaff_RBX + var_3 + 0x20);
  *puVar1 = *puVar1 | 1;
  if ((*(type_2 *)((long)unaff_RBX + var_3 + 0x1c) & 1) != 0) {
                    /* WARNING: Subroutine does not return */
                    /* try { // try from 00150472 to 00150476 has its CatchHandler @ 0015049a */
    var_4();
  }
                    /* WARNING: Subroutine does not return */
                    /* try { // try from 00150495 to 00150499 has its CatchHandler @ 0015049a */
  var_4();
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (sized_type_specifier) declarator: (identifier)))) 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: (pointer_declarator declarator: (identifier))) (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 (call_expression function: (identifier) arguments: (argument_list))) (return_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 (call_expression function: (identifier) arguments: (argument_list))))))

void MASKED(undefined8 param_1,undefined8 param_2,long param_3)

{
  uint *puVar1;
  long lVar2;
  long *unaff_RBX;
  
  if (param_3 != 1) {
    FUN_002da4e0();
    lVar2 = *(long *)(*unaff_RBX + -0x18);
    puVar1 = (uint *)((long)unaff_RBX + lVar2 + 0x20);
    *puVar1 = *puVar1 | 1;
    if ((*(byte *)((long)unaff_RBX + lVar2 + 0x1c) & 1) != 0) {
                    /* WARNING: Subroutine does not return */
                    /* try { // try from 00150490 to 00150494 has its CatchHandler @ 001504b7 */
      FUN_002d9870();
    }
    FUN_002da550();
    return;
  }
  FUN_002da4e0();
  lVar2 = *(long *)(*unaff_RBX + -0x18);
  puVar1 = (uint *)((long)unaff_RBX + lVar2 + 0x20);
  *puVar1 = *puVar1 | 1;
  if ((*(byte *)((long)unaff_RBX + lVar2 + 0x1c) & 1) != 0) {
                    /* WARNING: Subroutine does not return */
                    /* try { // try from 00150472 to 00150476 has its CatchHandler @ 0015049a */
    FUN_002d9870();
  }
                    /* WARNING: Subroutine does not return */
                    /* try { // try from 00150495 to 00150499 has its CatchHandler @ 0015049a */
  FUN_002d9870();
}

