
/* std::istream::ignore(int) [clone .cold.24] */

void __thiscall std::istream::ignore(istream *this,int param_1)

{
  uint *puVar1;
  int iVar2;
  int in_EDX;
  int *unaff_ESI;
  
  if (in_EDX != 1) {
    __cxa_begin_catch();
    iVar2 = *(int *)(*unaff_ESI + -0xc);
    puVar1 = (uint *)((int)unaff_ESI + iVar2 + 0x14);
    *puVar1 = *puVar1 | 1;
    if ((*(byte *)((int)unaff_ESI + iVar2 + 0x10) & 1) != 0) {
                    /* WARNING: Subroutine does not return */
                    /* try { // try from 00034506 to 0003450a has its CatchHandler @ 00034531 */
      __cxa_rethrow();
    }
    __cxa_end_catch();
    return;
  }
  __cxa_begin_catch();
  iVar2 = *(int *)(*unaff_ESI + -0xc);
  puVar1 = (uint *)((int)unaff_ESI + iVar2 + 0x14);
  *puVar1 = *puVar1 | 1;
  if ((*(byte *)((int)unaff_ESI + iVar2 + 0x10) & 1) != 0) {
                    /* WARNING: Subroutine does not return */
                    /* try { // try from 000344de to 000344e2 has its CatchHandler @ 00034510 */
    __cxa_rethrow();
  }
                    /* WARNING: Subroutine does not return */
                    /* try { // try from 0003450b to 0003450f has its CatchHandler @ 00034510 */
  __cxa_rethrow();
}



void __regparm3 FUN_000344b8(undefined4 param_1,int param_2)

{
  uint *puVar1;
  int iVar2;
  int *unaff_ESI;
  
  if (param_2 != 1) {
    FUN_001e64c0(param_1);
    iVar2 = *(int *)(*unaff_ESI + -0xc);
    puVar1 = (uint *)((int)unaff_ESI + iVar2 + 0x14);
    *puVar1 = *puVar1 | 1;
    if ((*(byte *)((int)unaff_ESI + iVar2 + 0x10) & 1) != 0) {
                    /* WARNING: Subroutine does not return */
                    /* try { // try from 00034506 to 0003450a has its CatchHandler @ 00034531 */
      FUN_001e5680();
    }
    FUN_001e6560();
    return;
  }
  FUN_001e64c0(param_1);
  iVar2 = *(int *)(*unaff_ESI + -0xc);
  puVar1 = (uint *)((int)unaff_ESI + iVar2 + 0x14);
  *puVar1 = *puVar1 | 1;
  if ((*(byte *)((int)unaff_ESI + iVar2 + 0x10) & 1) != 0) {
                    /* WARNING: Subroutine does not return */
                    /* try { // try from 000344de to 000344e2 has its CatchHandler @ 00034510 */
    FUN_001e5680();
  }
                    /* WARNING: Subroutine does not return */
                    /* try { // try from 0003450b to 0003450f has its CatchHandler @ 00034510 */
  FUN_001e5680();
}


SUB EDX,0x1
JNZ 0x000344e3
SUB ESP,0xc
MOV EBX,dword ptr [EBP + -0x34]
PUSH EAX
CALL 0x001e64c0
MOV EAX,dword ptr [ESI]
ADD ESP,0x10
MOV EBX,dword ptr [EBP + -0x34]
ADD ESI,dword ptr [EAX + -0xc]
OR dword ptr [ESI + 0x14],0x1
TEST byte ptr [ESI + 0x10],0x1
JZ 0x0003450b
CALL 0x001e5680
SUB ESP,0xc
MOV EBX,dword ptr [EBP + -0x34]
PUSH EAX
CALL 0x001e64c0
MOV EAX,dword ptr [ESI]
ADD ESP,0x10
MOV EBX,dword ptr [EBP + -0x34]
MOV EDI,dword ptr [EAX + -0xc]
ADD EDI,ESI
OR dword ptr [EDI + 0x14],0x1
TEST byte ptr [EDI + 0x10],0x1
JZ 0x00034525
CALL 0x001e5680
CALL 0x001e5680
CALL 0x001e6560
MOV EAX,ESI
JMP 0x0026f93a
(translation_unit "void __regparm3 FUN_000344b8(undefined4 param_1,int param_2)\n\n{\n  uint *puVar1;\n  int iVar2;\n  int *unaff_ESI;\n  \n  if (param_2 != 1) {\n    FUN_001e64c0(param_1);\n    iVar2 = *(int *)(*unaff_ESI + -0xc);\n    puVar1 = (uint *)((int)unaff_ESI + iVar2 + 0x14);\n    *puVar1 = *puVar1 | 1;\n    if ((*(byte *)((int)unaff_ESI + iVar2 + 0x10) & 1) != 0) {\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 00034506 to 0003450a has its CatchHandler @ 00034531 */\n      FUN_001e5680();\n    }\n    FUN_001e6560();\n    return;\n  }\n  FUN_001e64c0(param_1);\n  iVar2 = *(int *)(*unaff_ESI + -0xc);\n  puVar1 = (uint *)((int)unaff_ESI + iVar2 + 0x14);\n  *puVar1 = *puVar1 | 1;\n  if ((*(byte *)((int)unaff_ESI + iVar2 + 0x10) & 1) != 0) {\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 000344de to 000344e2 has its CatchHandler @ 00034510 */\n    FUN_001e5680();\n  }\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 0003450b to 0003450f has its CatchHandler @ 00034510 */\n  FUN_001e5680();\n}\n\n" (function_definition "void __regparm3 FUN_000344b8(undefined4 param_1,int param_2)\n\n{\n  uint *puVar1;\n  int iVar2;\n  int *unaff_ESI;\n  \n  if (param_2 != 1) {\n    FUN_001e64c0(param_1);\n    iVar2 = *(int *)(*unaff_ESI + -0xc);\n    puVar1 = (uint *)((int)unaff_ESI + iVar2 + 0x14);\n    *puVar1 = *puVar1 | 1;\n    if ((*(byte *)((int)unaff_ESI + iVar2 + 0x10) & 1) != 0) {\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 00034506 to 0003450a has its CatchHandler @ 00034531 */\n      FUN_001e5680();\n    }\n    FUN_001e6560();\n    return;\n  }\n  FUN_001e64c0(param_1);\n  iVar2 = *(int *)(*unaff_ESI + -0xc);\n  puVar1 = (uint *)((int)unaff_ESI + iVar2 + 0x14);\n  *puVar1 = *puVar1 | 1;\n  if ((*(byte *)((int)unaff_ESI + iVar2 + 0x10) & 1) != 0) {\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 000344de to 000344e2 has its CatchHandler @ 00034510 */\n    FUN_001e5680();\n  }\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 0003450b to 0003450f has its CatchHandler @ 00034510 */\n  FUN_001e5680();\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_000344b8(undefined4 param_1,int param_2)" identifier (parameter_list "(undefined4 param_1,int param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  uint *puVar1;\n  int iVar2;\n  int *unaff_ESI;\n  \n  if (param_2 != 1) {\n    FUN_001e64c0(param_1);\n    iVar2 = *(int *)(*unaff_ESI + -0xc);\n    puVar1 = (uint *)((int)unaff_ESI + iVar2 + 0x14);\n    *puVar1 = *puVar1 | 1;\n    if ((*(byte *)((int)unaff_ESI + iVar2 + 0x10) & 1) != 0) {\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 00034506 to 0003450a has its CatchHandler @ 00034531 */\n      FUN_001e5680();\n    }\n    FUN_001e6560();\n    return;\n  }\n  FUN_001e64c0(param_1);\n  iVar2 = *(int *)(*unaff_ESI + -0xc);\n  puVar1 = (uint *)((int)unaff_ESI + iVar2 + 0x14);\n  *puVar1 = *puVar1 | 1;\n  if ((*(byte *)((int)unaff_ESI + iVar2 + 0x10) & 1) != 0) {\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 000344de to 000344e2 has its CatchHandler @ 00034510 */\n    FUN_001e5680();\n  }\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 0003450b to 0003450f has its CatchHandler @ 00034510 */\n  FUN_001e5680();\n}" { (declaration "uint *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int *unaff_ESI;" primitive_type (pointer_declarator "*unaff_ESI" * identifier) ;) (if_statement "if (param_2 != 1) {\n    FUN_001e64c0(param_1);\n    iVar2 = *(int *)(*unaff_ESI + -0xc);\n    puVar1 = (uint *)((int)unaff_ESI + iVar2 + 0x14);\n    *puVar1 = *puVar1 | 1;\n    if ((*(byte *)((int)unaff_ESI + iVar2 + 0x10) & 1) != 0) {\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 00034506 to 0003450a has its CatchHandler @ 00034531 */\n      FUN_001e5680();\n    }\n    FUN_001e6560();\n    return;\n  }" if (parenthesized_expression "(param_2 != 1)" ( (binary_expression "param_2 != 1" identifier != number_literal) )) (compound_statement "{\n    FUN_001e64c0(param_1);\n    iVar2 = *(int *)(*unaff_ESI + -0xc);\n    puVar1 = (uint *)((int)unaff_ESI + iVar2 + 0x14);\n    *puVar1 = *puVar1 | 1;\n    if ((*(byte *)((int)unaff_ESI + iVar2 + 0x10) & 1) != 0) {\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 00034506 to 0003450a has its CatchHandler @ 00034531 */\n      FUN_001e5680();\n    }\n    FUN_001e6560();\n    return;\n  }" { (expression_statement "FUN_001e64c0(param_1);" (call_expression "FUN_001e64c0(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (expression_statement "iVar2 = *(int *)(*unaff_ESI + -0xc);" (assignment_expression "iVar2 = *(int *)(*unaff_ESI + -0xc)" identifier = (pointer_expression "*(int *)(*unaff_ESI + -0xc)" * (cast_expression "(int *)(*unaff_ESI + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*unaff_ESI + -0xc)" ( (binary_expression "*unaff_ESI + -0xc" (pointer_expression "*unaff_ESI" * identifier) + number_literal) ))))) ;) (expression_statement "puVar1 = (uint *)((int)unaff_ESI + iVar2 + 0x14);" (assignment_expression "puVar1 = (uint *)((int)unaff_ESI + iVar2 + 0x14)" identifier = (cast_expression "(uint *)((int)unaff_ESI + iVar2 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)unaff_ESI + iVar2 + 0x14)" ( (binary_expression "(int)unaff_ESI + iVar2 + 0x14" (binary_expression "(int)unaff_ESI + iVar2" (cast_expression "(int)unaff_ESI" ( (type_descriptor "int" primitive_type) ) 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 *)((int)unaff_ESI + iVar2 + 0x10) & 1) != 0) {\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 00034506 to 0003450a has its CatchHandler @ 00034531 */\n      FUN_001e5680();\n    }" if (parenthesized_expression "((*(byte *)((int)unaff_ESI + iVar2 + 0x10) & 1) != 0)" ( (binary_expression "(*(byte *)((int)unaff_ESI + iVar2 + 0x10) & 1) != 0" (parenthesized_expression "(*(byte *)((int)unaff_ESI + iVar2 + 0x10) & 1)" ( (binary_expression "*(byte *)((int)unaff_ESI + iVar2 + 0x10) & 1" (pointer_expression "*(byte *)((int)unaff_ESI + iVar2 + 0x10)" * (cast_expression "(byte *)((int)unaff_ESI + iVar2 + 0x10)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)unaff_ESI + iVar2 + 0x10)" ( (binary_expression "(int)unaff_ESI + iVar2 + 0x10" (binary_expression "(int)unaff_ESI + iVar2" (cast_expression "(int)unaff_ESI" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 00034506 to 0003450a has its CatchHandler @ 00034531 */\n      FUN_001e5680();\n    }" { comment comment (expression_statement "FUN_001e5680();" (call_expression "FUN_001e5680()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "FUN_001e6560();" (call_expression "FUN_001e6560()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (expression_statement "FUN_001e64c0(param_1);" (call_expression "FUN_001e64c0(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (expression_statement "iVar2 = *(int *)(*unaff_ESI + -0xc);" (assignment_expression "iVar2 = *(int *)(*unaff_ESI + -0xc)" identifier = (pointer_expression "*(int *)(*unaff_ESI + -0xc)" * (cast_expression "(int *)(*unaff_ESI + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*unaff_ESI + -0xc)" ( (binary_expression "*unaff_ESI + -0xc" (pointer_expression "*unaff_ESI" * identifier) + number_literal) ))))) ;) (expression_statement "puVar1 = (uint *)((int)unaff_ESI + iVar2 + 0x14);" (assignment_expression "puVar1 = (uint *)((int)unaff_ESI + iVar2 + 0x14)" identifier = (cast_expression "(uint *)((int)unaff_ESI + iVar2 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)unaff_ESI + iVar2 + 0x14)" ( (binary_expression "(int)unaff_ESI + iVar2 + 0x14" (binary_expression "(int)unaff_ESI + iVar2" (cast_expression "(int)unaff_ESI" ( (type_descriptor "int" primitive_type) ) 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 *)((int)unaff_ESI + iVar2 + 0x10) & 1) != 0) {\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 000344de to 000344e2 has its CatchHandler @ 00034510 */\n    FUN_001e5680();\n  }" if (parenthesized_expression "((*(byte *)((int)unaff_ESI + iVar2 + 0x10) & 1) != 0)" ( (binary_expression "(*(byte *)((int)unaff_ESI + iVar2 + 0x10) & 1) != 0" (parenthesized_expression "(*(byte *)((int)unaff_ESI + iVar2 + 0x10) & 1)" ( (binary_expression "*(byte *)((int)unaff_ESI + iVar2 + 0x10) & 1" (pointer_expression "*(byte *)((int)unaff_ESI + iVar2 + 0x10)" * (cast_expression "(byte *)((int)unaff_ESI + iVar2 + 0x10)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)unaff_ESI + iVar2 + 0x10)" ( (binary_expression "(int)unaff_ESI + iVar2 + 0x10" (binary_expression "(int)unaff_ESI + iVar2" (cast_expression "(int)unaff_ESI" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 000344de to 000344e2 has its CatchHandler @ 00034510 */\n    FUN_001e5680();\n  }" { comment comment (expression_statement "FUN_001e5680();" (call_expression "FUN_001e5680()" identifier (argument_list "()" ( ))) ;) })) comment comment (expression_statement "FUN_001e5680();" (call_expression "FUN_001e5680()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "/* std::istream::ignore(int) [clone .cold.24] */\n\nvoid __thiscall std::istream::ignore(istream *this,int param_1)\n\n{\n  uint *puVar1;\n  int iVar2;\n  int in_EDX;\n  int *unaff_ESI;\n  \n  if (in_EDX != 1) {\n    __cxa_begin_catch();\n    iVar2 = *(int *)(*unaff_ESI + -0xc);\n    puVar1 = (uint *)((int)unaff_ESI + iVar2 + 0x14);\n    *puVar1 = *puVar1 | 1;\n    if ((*(byte *)((int)unaff_ESI + iVar2 + 0x10) & 1) != 0) {\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 00034506 to 0003450a has its CatchHandler @ 00034531 */\n      __cxa_rethrow();\n    }\n    __cxa_end_catch();\n    return;\n  }\n  __cxa_begin_catch();\n  iVar2 = *(int *)(*unaff_ESI + -0xc);\n  puVar1 = (uint *)((int)unaff_ESI + iVar2 + 0x14);\n  *puVar1 = *puVar1 | 1;\n  if ((*(byte *)((int)unaff_ESI + iVar2 + 0x10) & 1) != 0) {\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 000344de to 000344e2 has its CatchHandler @ 00034510 */\n    __cxa_rethrow();\n  }\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 0003450b to 0003450f has its CatchHandler @ 00034510 */\n  __cxa_rethrow();\n}\n\n" comment (function_definition "void __thiscall std::istream::ignore(istream *this,int param_1)\n\n{\n  uint *puVar1;\n  int iVar2;\n  int in_EDX;\n  int *unaff_ESI;\n  \n  if (in_EDX != 1) {\n    __cxa_begin_catch();\n    iVar2 = *(int *)(*unaff_ESI + -0xc);\n    puVar1 = (uint *)((int)unaff_ESI + iVar2 + 0x14);\n    *puVar1 = *puVar1 | 1;\n    if ((*(byte *)((int)unaff_ESI + iVar2 + 0x10) & 1) != 0) {\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 00034506 to 0003450a has its CatchHandler @ 00034531 */\n      __cxa_rethrow();\n    }\n    __cxa_end_catch();\n    return;\n  }\n  __cxa_begin_catch();\n  iVar2 = *(int *)(*unaff_ESI + -0xc);\n  puVar1 = (uint *)((int)unaff_ESI + iVar2 + 0x14);\n  *puVar1 = *puVar1 | 1;\n  if ((*(byte *)((int)unaff_ESI + iVar2 + 0x10) & 1) != 0) {\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 000344de to 000344e2 has its CatchHandler @ 00034510 */\n    __cxa_rethrow();\n  }\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 0003450b to 0003450f has its CatchHandler @ 00034510 */\n  __cxa_rethrow();\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::istream::" identifier : : identifier : :) (function_declarator "ignore(istream *this,int param_1)" identifier (parameter_list "(istream *this,int param_1)" ( (parameter_declaration "istream *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  uint *puVar1;\n  int iVar2;\n  int in_EDX;\n  int *unaff_ESI;\n  \n  if (in_EDX != 1) {\n    __cxa_begin_catch();\n    iVar2 = *(int *)(*unaff_ESI + -0xc);\n    puVar1 = (uint *)((int)unaff_ESI + iVar2 + 0x14);\n    *puVar1 = *puVar1 | 1;\n    if ((*(byte *)((int)unaff_ESI + iVar2 + 0x10) & 1) != 0) {\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 00034506 to 0003450a has its CatchHandler @ 00034531 */\n      __cxa_rethrow();\n    }\n    __cxa_end_catch();\n    return;\n  }\n  __cxa_begin_catch();\n  iVar2 = *(int *)(*unaff_ESI + -0xc);\n  puVar1 = (uint *)((int)unaff_ESI + iVar2 + 0x14);\n  *puVar1 = *puVar1 | 1;\n  if ((*(byte *)((int)unaff_ESI + iVar2 + 0x10) & 1) != 0) {\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 000344de to 000344e2 has its CatchHandler @ 00034510 */\n    __cxa_rethrow();\n  }\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 0003450b to 0003450f has its CatchHandler @ 00034510 */\n  __cxa_rethrow();\n}" { (declaration "uint *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int in_EDX;" primitive_type identifier ;) (declaration "int *unaff_ESI;" primitive_type (pointer_declarator "*unaff_ESI" * identifier) ;) (if_statement "if (in_EDX != 1) {\n    __cxa_begin_catch();\n    iVar2 = *(int *)(*unaff_ESI + -0xc);\n    puVar1 = (uint *)((int)unaff_ESI + iVar2 + 0x14);\n    *puVar1 = *puVar1 | 1;\n    if ((*(byte *)((int)unaff_ESI + iVar2 + 0x10) & 1) != 0) {\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 00034506 to 0003450a has its CatchHandler @ 00034531 */\n      __cxa_rethrow();\n    }\n    __cxa_end_catch();\n    return;\n  }" if (parenthesized_expression "(in_EDX != 1)" ( (binary_expression "in_EDX != 1" identifier != number_literal) )) (compound_statement "{\n    __cxa_begin_catch();\n    iVar2 = *(int *)(*unaff_ESI + -0xc);\n    puVar1 = (uint *)((int)unaff_ESI + iVar2 + 0x14);\n    *puVar1 = *puVar1 | 1;\n    if ((*(byte *)((int)unaff_ESI + iVar2 + 0x10) & 1) != 0) {\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 00034506 to 0003450a has its CatchHandler @ 00034531 */\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 "iVar2 = *(int *)(*unaff_ESI + -0xc);" (assignment_expression "iVar2 = *(int *)(*unaff_ESI + -0xc)" identifier = (pointer_expression "*(int *)(*unaff_ESI + -0xc)" * (cast_expression "(int *)(*unaff_ESI + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*unaff_ESI + -0xc)" ( (binary_expression "*unaff_ESI + -0xc" (pointer_expression "*unaff_ESI" * identifier) + number_literal) ))))) ;) (expression_statement "puVar1 = (uint *)((int)unaff_ESI + iVar2 + 0x14);" (assignment_expression "puVar1 = (uint *)((int)unaff_ESI + iVar2 + 0x14)" identifier = (cast_expression "(uint *)((int)unaff_ESI + iVar2 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)unaff_ESI + iVar2 + 0x14)" ( (binary_expression "(int)unaff_ESI + iVar2 + 0x14" (binary_expression "(int)unaff_ESI + iVar2" (cast_expression "(int)unaff_ESI" ( (type_descriptor "int" primitive_type) ) 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 *)((int)unaff_ESI + iVar2 + 0x10) & 1) != 0) {\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 00034506 to 0003450a has its CatchHandler @ 00034531 */\n      __cxa_rethrow();\n    }" if (parenthesized_expression "((*(byte *)((int)unaff_ESI + iVar2 + 0x10) & 1) != 0)" ( (binary_expression "(*(byte *)((int)unaff_ESI + iVar2 + 0x10) & 1) != 0" (parenthesized_expression "(*(byte *)((int)unaff_ESI + iVar2 + 0x10) & 1)" ( (binary_expression "*(byte *)((int)unaff_ESI + iVar2 + 0x10) & 1" (pointer_expression "*(byte *)((int)unaff_ESI + iVar2 + 0x10)" * (cast_expression "(byte *)((int)unaff_ESI + iVar2 + 0x10)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)unaff_ESI + iVar2 + 0x10)" ( (binary_expression "(int)unaff_ESI + iVar2 + 0x10" (binary_expression "(int)unaff_ESI + iVar2" (cast_expression "(int)unaff_ESI" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 00034506 to 0003450a has its CatchHandler @ 00034531 */\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 "iVar2 = *(int *)(*unaff_ESI + -0xc);" (assignment_expression "iVar2 = *(int *)(*unaff_ESI + -0xc)" identifier = (pointer_expression "*(int *)(*unaff_ESI + -0xc)" * (cast_expression "(int *)(*unaff_ESI + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*unaff_ESI + -0xc)" ( (binary_expression "*unaff_ESI + -0xc" (pointer_expression "*unaff_ESI" * identifier) + number_literal) ))))) ;) (expression_statement "puVar1 = (uint *)((int)unaff_ESI + iVar2 + 0x14);" (assignment_expression "puVar1 = (uint *)((int)unaff_ESI + iVar2 + 0x14)" identifier = (cast_expression "(uint *)((int)unaff_ESI + iVar2 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)unaff_ESI + iVar2 + 0x14)" ( (binary_expression "(int)unaff_ESI + iVar2 + 0x14" (binary_expression "(int)unaff_ESI + iVar2" (cast_expression "(int)unaff_ESI" ( (type_descriptor "int" primitive_type) ) 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 *)((int)unaff_ESI + iVar2 + 0x10) & 1) != 0) {\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 000344de to 000344e2 has its CatchHandler @ 00034510 */\n    __cxa_rethrow();\n  }" if (parenthesized_expression "((*(byte *)((int)unaff_ESI + iVar2 + 0x10) & 1) != 0)" ( (binary_expression "(*(byte *)((int)unaff_ESI + iVar2 + 0x10) & 1) != 0" (parenthesized_expression "(*(byte *)((int)unaff_ESI + iVar2 + 0x10) & 1)" ( (binary_expression "*(byte *)((int)unaff_ESI + iVar2 + 0x10) & 1" (pointer_expression "*(byte *)((int)unaff_ESI + iVar2 + 0x10)" * (cast_expression "(byte *)((int)unaff_ESI + iVar2 + 0x10)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)unaff_ESI + iVar2 + 0x10)" ( (binary_expression "(int)unaff_ESI + iVar2 + 0x10" (binary_expression "(int)unaff_ESI + iVar2" (cast_expression "(int)unaff_ESI" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 000344de to 000344e2 has its CatchHandler @ 00034510 */\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 __regparm3 FUN_000344b8(undefined4 param_1,int param_2)\n\n{\n  uint *puVar1;\n  int iVar2;\n  int *unaff_ESI;\n  \n  if (param_2 != 1) {\n    FUN_001e64c0(param_1);\n    iVar2 = *(int *)(*unaff_ESI + -0xc);\n    puVar1 = (uint *)((int)unaff_ESI + iVar2 + 0x14);\n    *puVar1 = *puVar1 | 1;\n    if ((*(byte *)((int)unaff_ESI + iVar2 + 0x10) & 1) != 0) {\n                    \n                    \n      FUN_001e5680();\n    }\n    FUN_001e6560();\n    return;\n  }\n  FUN_001e64c0(param_1);\n  iVar2 = *(int *)(*unaff_ESI + -0xc);\n  puVar1 = (uint *)((int)unaff_ESI + iVar2 + 0x14);\n  *puVar1 = *puVar1 | 1;\n  if ((*(byte *)((int)unaff_ESI + iVar2 + 0x10) & 1) != 0) {\n                    \n                    \n    FUN_001e5680();\n  }\n                    \n                    \n  FUN_001e5680();\n}\n\n" (function_definition "void __regparm3 FUN_000344b8(undefined4 param_1,int param_2)\n\n{\n  uint *puVar1;\n  int iVar2;\n  int *unaff_ESI;\n  \n  if (param_2 != 1) {\n    FUN_001e64c0(param_1);\n    iVar2 = *(int *)(*unaff_ESI + -0xc);\n    puVar1 = (uint *)((int)unaff_ESI + iVar2 + 0x14);\n    *puVar1 = *puVar1 | 1;\n    if ((*(byte *)((int)unaff_ESI + iVar2 + 0x10) & 1) != 0) {\n                    \n                    \n      FUN_001e5680();\n    }\n    FUN_001e6560();\n    return;\n  }\n  FUN_001e64c0(param_1);\n  iVar2 = *(int *)(*unaff_ESI + -0xc);\n  puVar1 = (uint *)((int)unaff_ESI + iVar2 + 0x14);\n  *puVar1 = *puVar1 | 1;\n  if ((*(byte *)((int)unaff_ESI + iVar2 + 0x10) & 1) != 0) {\n                    \n                    \n    FUN_001e5680();\n  }\n                    \n                    \n  FUN_001e5680();\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_000344b8(undefined4 param_1,int param_2)" identifier (parameter_list "(undefined4 param_1,int param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  uint *puVar1;\n  int iVar2;\n  int *unaff_ESI;\n  \n  if (param_2 != 1) {\n    FUN_001e64c0(param_1);\n    iVar2 = *(int *)(*unaff_ESI + -0xc);\n    puVar1 = (uint *)((int)unaff_ESI + iVar2 + 0x14);\n    *puVar1 = *puVar1 | 1;\n    if ((*(byte *)((int)unaff_ESI + iVar2 + 0x10) & 1) != 0) {\n                    \n                    \n      FUN_001e5680();\n    }\n    FUN_001e6560();\n    return;\n  }\n  FUN_001e64c0(param_1);\n  iVar2 = *(int *)(*unaff_ESI + -0xc);\n  puVar1 = (uint *)((int)unaff_ESI + iVar2 + 0x14);\n  *puVar1 = *puVar1 | 1;\n  if ((*(byte *)((int)unaff_ESI + iVar2 + 0x10) & 1) != 0) {\n                    \n                    \n    FUN_001e5680();\n  }\n                    \n                    \n  FUN_001e5680();\n}" { (declaration "uint *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int *unaff_ESI;" primitive_type (pointer_declarator "*unaff_ESI" * identifier) ;) (if_statement "if (param_2 != 1) {\n    FUN_001e64c0(param_1);\n    iVar2 = *(int *)(*unaff_ESI + -0xc);\n    puVar1 = (uint *)((int)unaff_ESI + iVar2 + 0x14);\n    *puVar1 = *puVar1 | 1;\n    if ((*(byte *)((int)unaff_ESI + iVar2 + 0x10) & 1) != 0) {\n                    \n                    \n      FUN_001e5680();\n    }\n    FUN_001e6560();\n    return;\n  }" if (parenthesized_expression "(param_2 != 1)" ( (binary_expression "param_2 != 1" identifier != number_literal) )) (compound_statement "{\n    FUN_001e64c0(param_1);\n    iVar2 = *(int *)(*unaff_ESI + -0xc);\n    puVar1 = (uint *)((int)unaff_ESI + iVar2 + 0x14);\n    *puVar1 = *puVar1 | 1;\n    if ((*(byte *)((int)unaff_ESI + iVar2 + 0x10) & 1) != 0) {\n                    \n                    \n      FUN_001e5680();\n    }\n    FUN_001e6560();\n    return;\n  }" { (expression_statement "FUN_001e64c0(param_1);" (call_expression "FUN_001e64c0(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (expression_statement "iVar2 = *(int *)(*unaff_ESI + -0xc);" (assignment_expression "iVar2 = *(int *)(*unaff_ESI + -0xc)" identifier = (pointer_expression "*(int *)(*unaff_ESI + -0xc)" * (cast_expression "(int *)(*unaff_ESI + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*unaff_ESI + -0xc)" ( (binary_expression "*unaff_ESI + -0xc" (pointer_expression "*unaff_ESI" * identifier) + number_literal) ))))) ;) (expression_statement "puVar1 = (uint *)((int)unaff_ESI + iVar2 + 0x14);" (assignment_expression "puVar1 = (uint *)((int)unaff_ESI + iVar2 + 0x14)" identifier = (cast_expression "(uint *)((int)unaff_ESI + iVar2 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)unaff_ESI + iVar2 + 0x14)" ( (binary_expression "(int)unaff_ESI + iVar2 + 0x14" (binary_expression "(int)unaff_ESI + iVar2" (cast_expression "(int)unaff_ESI" ( (type_descriptor "int" primitive_type) ) 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 *)((int)unaff_ESI + iVar2 + 0x10) & 1) != 0) {\n                    \n                    \n      FUN_001e5680();\n    }" if (parenthesized_expression "((*(byte *)((int)unaff_ESI + iVar2 + 0x10) & 1) != 0)" ( (binary_expression "(*(byte *)((int)unaff_ESI + iVar2 + 0x10) & 1) != 0" (parenthesized_expression "(*(byte *)((int)unaff_ESI + iVar2 + 0x10) & 1)" ( (binary_expression "*(byte *)((int)unaff_ESI + iVar2 + 0x10) & 1" (pointer_expression "*(byte *)((int)unaff_ESI + iVar2 + 0x10)" * (cast_expression "(byte *)((int)unaff_ESI + iVar2 + 0x10)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)unaff_ESI + iVar2 + 0x10)" ( (binary_expression "(int)unaff_ESI + iVar2 + 0x10" (binary_expression "(int)unaff_ESI + iVar2" (cast_expression "(int)unaff_ESI" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n                    \n                    \n      FUN_001e5680();\n    }" { (expression_statement "FUN_001e5680();" (call_expression "FUN_001e5680()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "FUN_001e6560();" (call_expression "FUN_001e6560()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (expression_statement "FUN_001e64c0(param_1);" (call_expression "FUN_001e64c0(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (expression_statement "iVar2 = *(int *)(*unaff_ESI + -0xc);" (assignment_expression "iVar2 = *(int *)(*unaff_ESI + -0xc)" identifier = (pointer_expression "*(int *)(*unaff_ESI + -0xc)" * (cast_expression "(int *)(*unaff_ESI + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*unaff_ESI + -0xc)" ( (binary_expression "*unaff_ESI + -0xc" (pointer_expression "*unaff_ESI" * identifier) + number_literal) ))))) ;) (expression_statement "puVar1 = (uint *)((int)unaff_ESI + iVar2 + 0x14);" (assignment_expression "puVar1 = (uint *)((int)unaff_ESI + iVar2 + 0x14)" identifier = (cast_expression "(uint *)((int)unaff_ESI + iVar2 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)unaff_ESI + iVar2 + 0x14)" ( (binary_expression "(int)unaff_ESI + iVar2 + 0x14" (binary_expression "(int)unaff_ESI + iVar2" (cast_expression "(int)unaff_ESI" ( (type_descriptor "int" primitive_type) ) 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 *)((int)unaff_ESI + iVar2 + 0x10) & 1) != 0) {\n                    \n                    \n    FUN_001e5680();\n  }" if (parenthesized_expression "((*(byte *)((int)unaff_ESI + iVar2 + 0x10) & 1) != 0)" ( (binary_expression "(*(byte *)((int)unaff_ESI + iVar2 + 0x10) & 1) != 0" (parenthesized_expression "(*(byte *)((int)unaff_ESI + iVar2 + 0x10) & 1)" ( (binary_expression "*(byte *)((int)unaff_ESI + iVar2 + 0x10) & 1" (pointer_expression "*(byte *)((int)unaff_ESI + iVar2 + 0x10)" * (cast_expression "(byte *)((int)unaff_ESI + iVar2 + 0x10)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)unaff_ESI + iVar2 + 0x10)" ( (binary_expression "(int)unaff_ESI + iVar2 + 0x10" (binary_expression "(int)unaff_ESI + iVar2" (cast_expression "(int)unaff_ESI" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n                    \n                    \n    FUN_001e5680();\n  }" { (expression_statement "FUN_001e5680();" (call_expression "FUN_001e5680()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "FUN_001e5680();" (call_expression "FUN_001e5680()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (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 TYPE) ) 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 TYPE) ) 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 ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (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 TYPE) ) 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 TYPE) ) IDENT) + IDENT) + LIT) )))) & LIT) )) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })))
(function_definition "void __regparm3 FUN_000344b8(undefined4 param_1,int param_2)\n\n{\n  uint *puVar1;\n  int iVar2;\n  int *unaff_ESI;\n  \n  if (param_2 != 1) {\n    FUN_001e64c0(param_1);\n    iVar2 = *(int *)(*unaff_ESI + -0xc);\n    puVar1 = (uint *)((int)unaff_ESI + iVar2 + 0x14);\n    *puVar1 = *puVar1 | 1;\n    if ((*(byte *)((int)unaff_ESI + iVar2 + 0x10) & 1) != 0) {\n                    \n                    \n      FUN_001e5680();\n    }\n    FUN_001e6560();\n    return;\n  }\n  FUN_001e64c0(param_1);\n  iVar2 = *(int *)(*unaff_ESI + -0xc);\n  puVar1 = (uint *)((int)unaff_ESI + iVar2 + 0x14);\n  *puVar1 = *puVar1 | 1;\n  if ((*(byte *)((int)unaff_ESI + iVar2 + 0x10) & 1) != 0) {\n                    \n                    \n    FUN_001e5680();\n  }\n                    \n                    \n  FUN_001e5680();\n}" (primitive_type "void") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_000344b8(undefined4 param_1,int param_2)" (identifier "FUN_000344b8") (parameter_list "(undefined4 param_1,int param_2)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  uint *puVar1;\n  int iVar2;\n  int *unaff_ESI;\n  \n  if (param_2 != 1) {\n    FUN_001e64c0(param_1);\n    iVar2 = *(int *)(*unaff_ESI + -0xc);\n    puVar1 = (uint *)((int)unaff_ESI + iVar2 + 0x14);\n    *puVar1 = *puVar1 | 1;\n    if ((*(byte *)((int)unaff_ESI + iVar2 + 0x10) & 1) != 0) {\n                    \n                    \n      FUN_001e5680();\n    }\n    FUN_001e6560();\n    return;\n  }\n  FUN_001e64c0(param_1);\n  iVar2 = *(int *)(*unaff_ESI + -0xc);\n  puVar1 = (uint *)((int)unaff_ESI + iVar2 + 0x14);\n  *puVar1 = *puVar1 | 1;\n  if ((*(byte *)((int)unaff_ESI + iVar2 + 0x10) & 1) != 0) {\n                    \n                    \n    FUN_001e5680();\n  }\n                    \n                    \n  FUN_001e5680();\n}" ({ "{") (declaration "uint *puVar1;" (type_identifier "uint") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "int *unaff_ESI;" (primitive_type "int") (pointer_declarator "*unaff_ESI" (* "*") (identifier "unaff_ESI")) (; ";")) (if_statement "if (param_2 != 1) {\n    FUN_001e64c0(param_1);\n    iVar2 = *(int *)(*unaff_ESI + -0xc);\n    puVar1 = (uint *)((int)unaff_ESI + iVar2 + 0x14);\n    *puVar1 = *puVar1 | 1;\n    if ((*(byte *)((int)unaff_ESI + iVar2 + 0x10) & 1) != 0) {\n                    \n                    \n      FUN_001e5680();\n    }\n    FUN_001e6560();\n    return;\n  }" (if "if") (parenthesized_expression "(param_2 != 1)" (( "(") (binary_expression "param_2 != 1" (identifier "param_2") (!= "!=") (number_literal "1")) () ")")) (compound_statement "{\n    FUN_001e64c0(param_1);\n    iVar2 = *(int *)(*unaff_ESI + -0xc);\n    puVar1 = (uint *)((int)unaff_ESI + iVar2 + 0x14);\n    *puVar1 = *puVar1 | 1;\n    if ((*(byte *)((int)unaff_ESI + iVar2 + 0x10) & 1) != 0) {\n                    \n                    \n      FUN_001e5680();\n    }\n    FUN_001e6560();\n    return;\n  }" ({ "{") (expression_statement "FUN_001e64c0(param_1);" (call_expression "FUN_001e64c0(param_1)" (identifier "FUN_001e64c0") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))) (; ";")) (expression_statement "iVar2 = *(int *)(*unaff_ESI + -0xc);" (assignment_expression "iVar2 = *(int *)(*unaff_ESI + -0xc)" (identifier "iVar2") (= "=") (pointer_expression "*(int *)(*unaff_ESI + -0xc)" (* "*") (cast_expression "(int *)(*unaff_ESI + -0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*unaff_ESI + -0xc)" (( "(") (binary_expression "*unaff_ESI + -0xc" (pointer_expression "*unaff_ESI" (* "*") (identifier "unaff_ESI")) (+ "+") (number_literal "-0xc")) () ")"))))) (; ";")) (expression_statement "puVar1 = (uint *)((int)unaff_ESI + iVar2 + 0x14);" (assignment_expression "puVar1 = (uint *)((int)unaff_ESI + iVar2 + 0x14)" (identifier "puVar1") (= "=") (cast_expression "(uint *)((int)unaff_ESI + iVar2 + 0x14)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)unaff_ESI + iVar2 + 0x14)" (( "(") (binary_expression "(int)unaff_ESI + iVar2 + 0x14" (binary_expression "(int)unaff_ESI + iVar2" (cast_expression "(int)unaff_ESI" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "unaff_ESI")) (+ "+") (identifier "iVar2")) (+ "+") (number_literal "0x14")) () ")")))) (; ";")) (expression_statement "*puVar1 = *puVar1 | 1;" (assignment_expression "*puVar1 = *puVar1 | 1" (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (= "=") (binary_expression "*puVar1 | 1" (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (| "|") (number_literal "1"))) (; ";")) (if_statement "if ((*(byte *)((int)unaff_ESI + iVar2 + 0x10) & 1) != 0) {\n                    \n                    \n      FUN_001e5680();\n    }" (if "if") (parenthesized_expression "((*(byte *)((int)unaff_ESI + iVar2 + 0x10) & 1) != 0)" (( "(") (binary_expression "(*(byte *)((int)unaff_ESI + iVar2 + 0x10) & 1) != 0" (parenthesized_expression "(*(byte *)((int)unaff_ESI + iVar2 + 0x10) & 1)" (( "(") (binary_expression "*(byte *)((int)unaff_ESI + iVar2 + 0x10) & 1" (pointer_expression "*(byte *)((int)unaff_ESI + iVar2 + 0x10)" (* "*") (cast_expression "(byte *)((int)unaff_ESI + iVar2 + 0x10)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)unaff_ESI + iVar2 + 0x10)" (( "(") (binary_expression "(int)unaff_ESI + iVar2 + 0x10" (binary_expression "(int)unaff_ESI + iVar2" (cast_expression "(int)unaff_ESI" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "unaff_ESI")) (+ "+") (identifier "iVar2")) (+ "+") (number_literal "0x10")) () ")")))) (& "&") (number_literal "1")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                    \n                    \n      FUN_001e5680();\n    }" ({ "{") (expression_statement "FUN_001e5680();" (call_expression "FUN_001e5680()" (identifier "FUN_001e5680") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "FUN_001e6560();" (call_expression "FUN_001e6560()" (identifier "FUN_001e6560") (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "FUN_001e64c0(param_1);" (call_expression "FUN_001e64c0(param_1)" (identifier "FUN_001e64c0") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))) (; ";")) (expression_statement "iVar2 = *(int *)(*unaff_ESI + -0xc);" (assignment_expression "iVar2 = *(int *)(*unaff_ESI + -0xc)" (identifier "iVar2") (= "=") (pointer_expression "*(int *)(*unaff_ESI + -0xc)" (* "*") (cast_expression "(int *)(*unaff_ESI + -0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*unaff_ESI + -0xc)" (( "(") (binary_expression "*unaff_ESI + -0xc" (pointer_expression "*unaff_ESI" (* "*") (identifier "unaff_ESI")) (+ "+") (number_literal "-0xc")) () ")"))))) (; ";")) (expression_statement "puVar1 = (uint *)((int)unaff_ESI + iVar2 + 0x14);" (assignment_expression "puVar1 = (uint *)((int)unaff_ESI + iVar2 + 0x14)" (identifier "puVar1") (= "=") (cast_expression "(uint *)((int)unaff_ESI + iVar2 + 0x14)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)unaff_ESI + iVar2 + 0x14)" (( "(") (binary_expression "(int)unaff_ESI + iVar2 + 0x14" (binary_expression "(int)unaff_ESI + iVar2" (cast_expression "(int)unaff_ESI" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "unaff_ESI")) (+ "+") (identifier "iVar2")) (+ "+") (number_literal "0x14")) () ")")))) (; ";")) (expression_statement "*puVar1 = *puVar1 | 1;" (assignment_expression "*puVar1 = *puVar1 | 1" (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (= "=") (binary_expression "*puVar1 | 1" (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (| "|") (number_literal "1"))) (; ";")) (if_statement "if ((*(byte *)((int)unaff_ESI + iVar2 + 0x10) & 1) != 0) {\n                    \n                    \n    FUN_001e5680();\n  }" (if "if") (parenthesized_expression "((*(byte *)((int)unaff_ESI + iVar2 + 0x10) & 1) != 0)" (( "(") (binary_expression "(*(byte *)((int)unaff_ESI + iVar2 + 0x10) & 1) != 0" (parenthesized_expression "(*(byte *)((int)unaff_ESI + iVar2 + 0x10) & 1)" (( "(") (binary_expression "*(byte *)((int)unaff_ESI + iVar2 + 0x10) & 1" (pointer_expression "*(byte *)((int)unaff_ESI + iVar2 + 0x10)" (* "*") (cast_expression "(byte *)((int)unaff_ESI + iVar2 + 0x10)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)unaff_ESI + iVar2 + 0x10)" (( "(") (binary_expression "(int)unaff_ESI + iVar2 + 0x10" (binary_expression "(int)unaff_ESI + iVar2" (cast_expression "(int)unaff_ESI" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "unaff_ESI")) (+ "+") (identifier "iVar2")) (+ "+") (number_literal "0x10")) () ")")))) (& "&") (number_literal "1")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                    \n                    \n    FUN_001e5680();\n  }" ({ "{") (expression_statement "FUN_001e5680();" (call_expression "FUN_001e5680()" (identifier "FUN_001e5680") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "FUN_001e5680();" (call_expression "FUN_001e5680()" (identifier "FUN_001e5680") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))

/* std::istream::ignore(int) [clone .cold.24] */

void __thiscall std::type_1::function_1(type_1 *this,int param_1)

{
  type_2 *puVar1;
  int var_3;
  int var_1;
  int *unaff_ESI;
  
  if (var_1 != 1) {
    var_2();
    var_3 = *(int *)(*unaff_ESI + -0xc);
    puVar1 = (type_2 *)((int)unaff_ESI + var_3 + 0x14);
    *puVar1 = *puVar1 | 1;
    if ((*(type_3 *)((int)unaff_ESI + var_3 + 0x10) & 1) != 0) {
                    /* WARNING: Subroutine does not return */
                    /* try { // try from 00034506 to 0003450a has its CatchHandler @ 00034531 */
      var_4();
    }
    var_5();
    return;
  }
  var_2();
  var_3 = *(int *)(*unaff_ESI + -0xc);
  puVar1 = (type_2 *)((int)unaff_ESI + var_3 + 0x14);
  *puVar1 = *puVar1 | 1;
  if ((*(type_3 *)((int)unaff_ESI + var_3 + 0x10) & 1) != 0) {
                    /* WARNING: Subroutine does not return */
                    /* try { // try from 000344de to 000344e2 has its CatchHandler @ 00034510 */
    var_4();
  }
                    /* WARNING: Subroutine does not return */
                    /* try { // try from 0003450b to 0003450f has its CatchHandler @ 00034510 */
  var_4();
}


(translation_unit (function_definition type: (primitive_type) (ERROR (identifier)) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (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 (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (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: (primitive_type)) 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: (primitive_type)) 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 (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (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: (primitive_type)) 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: (primitive_type)) 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 __regparm3 MASKED(undefined4 param_1,int param_2)

{
  uint *puVar1;
  int iVar2;
  int *unaff_ESI;
  
  if (param_2 != 1) {
    FUN_001e64c0(param_1);
    iVar2 = *(int *)(*unaff_ESI + -0xc);
    puVar1 = (uint *)((int)unaff_ESI + iVar2 + 0x14);
    *puVar1 = *puVar1 | 1;
    if ((*(byte *)((int)unaff_ESI + iVar2 + 0x10) & 1) != 0) {
                    /* WARNING: Subroutine does not return */
                    /* try { // try from 00034506 to 0003450a has its CatchHandler @ 00034531 */
      FUN_001e5680();
    }
    FUN_001e6560();
    return;
  }
  FUN_001e64c0(param_1);
  iVar2 = *(int *)(*unaff_ESI + -0xc);
  puVar1 = (uint *)((int)unaff_ESI + iVar2 + 0x14);
  *puVar1 = *puVar1 | 1;
  if ((*(byte *)((int)unaff_ESI + iVar2 + 0x10) & 1) != 0) {
                    /* WARNING: Subroutine does not return */
                    /* try { // try from 000344de to 000344e2 has its CatchHandler @ 00034510 */
    FUN_001e5680();
  }
                    /* WARNING: Subroutine does not return */
                    /* try { // try from 0003450b to 0003450f has its CatchHandler @ 00034510 */
  FUN_001e5680();
}

