
undefined4 _Unwind_RaiseException_Phase2(void)

{
  undefined4 *puVar1;
  int iVar2;
  undefined4 uVar3;
  int *extraout_ECX;
  int iVar4;
  uint uVar5;
  int iVar6;
  undefined8 uVar7;
  code *local_34;
  
  iVar6 = 1;
  uVar7 = __x86_get_pc_thunk_di();
  iVar4 = (int)((ulonglong)uVar7 >> 0x20);
  puVar1 = (undefined4 *)uVar7;
  do {
    iVar2 = uw_frame_state_for();
    uVar5 = (uint)(puVar1[4] == *(int *)(iVar4 + 0x48) + (*(int *)(iVar4 + 0x60) >> 0x1f));
    if (iVar2 != 0) {
      return 2;
    }
    if (local_34 != (code *)0x0) {
      iVar2 = (*local_34)(1,uVar5 << 2 | 2,*puVar1,puVar1[1],uVar7);
      if (iVar2 == 7) {
        *extraout_ECX = iVar6;
        return 7;
      }
      if (iVar2 != 8) {
        return 2;
      }
    }
    if (uVar5 != 0) {
      uVar3 = _Unwind_RaiseException_Phase2_cold_12();
      return uVar3;
    }
    iVar6 = iVar6 + 1;
    uw_update_context();
  } while( true );
}



undefined4 FUN_00216fd0(void)

{
  undefined4 *puVar1;
  int iVar2;
  undefined4 uVar3;
  int *extraout_ECX;
  int iVar4;
  uint uVar5;
  int iVar6;
  undefined8 uVar7;
  code *local_34;
  
  iVar6 = 1;
  uVar7 = FUN_0004fb7e();
  iVar4 = (int)((ulonglong)uVar7 >> 0x20);
  puVar1 = (undefined4 *)uVar7;
  do {
    iVar2 = FUN_00215e20();
    uVar5 = (uint)(puVar1[4] == *(int *)(iVar4 + 0x48) + (*(int *)(iVar4 + 0x60) >> 0x1f));
    if (iVar2 != 0) {
      return 2;
    }
    if (local_34 != (code *)0x0) {
      iVar2 = (*local_34)(1,uVar5 << 2 | 2,*puVar1,puVar1[1],uVar7);
      if (iVar2 == 7) {
        *extraout_ECX = iVar6;
        return 7;
      }
      if (iVar2 != 8) {
        return 2;
      }
    }
    if (uVar5 != 0) {
      uVar3 = FUN_000315b1();
      return uVar3;
    }
    iVar6 = iVar6 + 1;
    FUN_00216f60();
  } while( true );
}


PUSH EBP
MOV EBP,0x1
PUSH EDI
CALL 0x0004fb7e
ADD EDI,0xeb024
PUSH ESI
MOV ESI,EAX
PUSH EBX
MOV EBX,EDX
SUB ESP,0xdc
MOV dword ptr [ESP + 0x8],ECX
MOV dword ptr [ESP + 0xc],EDI
LEA EDI,[ESP + 0x10]
JMP 0x00217044
MOV EAX,dword ptr [ESP + 0xb8]
TEST EAX,EAX
JZ 0x00217034
SUB ESP,0x8
MOV ECX,EDX
PUSH EBX
OR ECX,0x2
PUSH ESI
PUSH dword ptr [ESI + 0x4]
PUSH dword ptr [ESI]
MOV dword ptr [ESP + 0x1c],EDX
PUSH ECX
PUSH 0x1
CALL EAX
ADD ESP,0x20
CMP EAX,0x7
JZ 0x00217080
CMP EAX,0x8
MOV EDX,dword ptr [ESP + 0x4]
JNZ 0x00217068
TEST EDX,EDX
JNZ 0x00217091
MOV EDX,EDI
MOV EAX,EBX
ADD EBP,0x1
CALL 0x00216f60
MOV EDX,EDI
MOV EAX,EBX
CALL 0x00215e20
MOV EDX,dword ptr [EBX + 0x60]
MOV ECX,dword ptr [EBX + 0x48]
SHR EDX,0x1f
SUB ECX,EDX
CMP dword ptr [ESI + 0x10],ECX
SETZ DL
MOVZX EDX,DL
SHL EDX,0x2
TEST EAX,EAX
JZ 0x00217000
ADD ESP,0xdc
MOV EAX,0x2
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EDI,dword ptr [ESP + 0x8]
MOV dword ptr [EDI],EBP
ADD ESP,0xdc
POP EBX
POP ESI
POP EDI
POP EBP
RET
JMP 0x000315b1
(translation_unit "undefined4 FUN_00216fd0(void)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  int *extraout_ECX;\n  int iVar4;\n  uint uVar5;\n  int iVar6;\n  undefined8 uVar7;\n  code *local_34;\n  \n  iVar6 = 1;\n  uVar7 = FUN_0004fb7e();\n  iVar4 = (int)((ulonglong)uVar7 >> 0x20);\n  puVar1 = (undefined4 *)uVar7;\n  do {\n    iVar2 = FUN_00215e20();\n    uVar5 = (uint)(puVar1[4] == *(int *)(iVar4 + 0x48) + (*(int *)(iVar4 + 0x60) >> 0x1f));\n    if (iVar2 != 0) {\n      return 2;\n    }\n    if (local_34 != (code *)0x0) {\n      iVar2 = (*local_34)(1,uVar5 << 2 | 2,*puVar1,puVar1[1],uVar7);\n      if (iVar2 == 7) {\n        *extraout_ECX = iVar6;\n        return 7;\n      }\n      if (iVar2 != 8) {\n        return 2;\n      }\n    }\n    if (uVar5 != 0) {\n      uVar3 = FUN_000315b1();\n      return uVar3;\n    }\n    iVar6 = iVar6 + 1;\n    FUN_00216f60();\n  } while( true );\n}\n\n" (function_definition "undefined4 FUN_00216fd0(void)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  int *extraout_ECX;\n  int iVar4;\n  uint uVar5;\n  int iVar6;\n  undefined8 uVar7;\n  code *local_34;\n  \n  iVar6 = 1;\n  uVar7 = FUN_0004fb7e();\n  iVar4 = (int)((ulonglong)uVar7 >> 0x20);\n  puVar1 = (undefined4 *)uVar7;\n  do {\n    iVar2 = FUN_00215e20();\n    uVar5 = (uint)(puVar1[4] == *(int *)(iVar4 + 0x48) + (*(int *)(iVar4 + 0x60) >> 0x1f));\n    if (iVar2 != 0) {\n      return 2;\n    }\n    if (local_34 != (code *)0x0) {\n      iVar2 = (*local_34)(1,uVar5 << 2 | 2,*puVar1,puVar1[1],uVar7);\n      if (iVar2 == 7) {\n        *extraout_ECX = iVar6;\n        return 7;\n      }\n      if (iVar2 != 8) {\n        return 2;\n      }\n    }\n    if (uVar5 != 0) {\n      uVar3 = FUN_000315b1();\n      return uVar3;\n    }\n    iVar6 = iVar6 + 1;\n    FUN_00216f60();\n  } while( true );\n}" type_identifier (function_declarator "FUN_00216fd0(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  undefined4 *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  int *extraout_ECX;\n  int iVar4;\n  uint uVar5;\n  int iVar6;\n  undefined8 uVar7;\n  code *local_34;\n  \n  iVar6 = 1;\n  uVar7 = FUN_0004fb7e();\n  iVar4 = (int)((ulonglong)uVar7 >> 0x20);\n  puVar1 = (undefined4 *)uVar7;\n  do {\n    iVar2 = FUN_00215e20();\n    uVar5 = (uint)(puVar1[4] == *(int *)(iVar4 + 0x48) + (*(int *)(iVar4 + 0x60) >> 0x1f));\n    if (iVar2 != 0) {\n      return 2;\n    }\n    if (local_34 != (code *)0x0) {\n      iVar2 = (*local_34)(1,uVar5 << 2 | 2,*puVar1,puVar1[1],uVar7);\n      if (iVar2 == 7) {\n        *extraout_ECX = iVar6;\n        return 7;\n      }\n      if (iVar2 != 8) {\n        return 2;\n      }\n    }\n    if (uVar5 != 0) {\n      uVar3 = FUN_000315b1();\n      return uVar3;\n    }\n    iVar6 = iVar6 + 1;\n    FUN_00216f60();\n  } while( true );\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "int *extraout_ECX;" primitive_type (pointer_declarator "*extraout_ECX" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "undefined8 uVar7;" type_identifier identifier ;) (declaration "code *local_34;" type_identifier (pointer_declarator "*local_34" * identifier) ;) (expression_statement "iVar6 = 1;" (assignment_expression "iVar6 = 1" identifier = number_literal) ;) (expression_statement "uVar7 = FUN_0004fb7e();" (assignment_expression "uVar7 = FUN_0004fb7e()" identifier = (call_expression "FUN_0004fb7e()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar4 = (int)((ulonglong)uVar7 >> 0x20);" (assignment_expression "iVar4 = (int)((ulonglong)uVar7 >> 0x20)" identifier = (cast_expression "(int)((ulonglong)uVar7 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)uVar7 >> 0x20)" ( (binary_expression "(ulonglong)uVar7 >> 0x20" (cast_expression "(ulonglong)uVar7" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "puVar1 = (undefined4 *)uVar7;" (assignment_expression "puVar1 = (undefined4 *)uVar7" identifier = (cast_expression "(undefined4 *)uVar7" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (do_statement "do {\n    iVar2 = FUN_00215e20();\n    uVar5 = (uint)(puVar1[4] == *(int *)(iVar4 + 0x48) + (*(int *)(iVar4 + 0x60) >> 0x1f));\n    if (iVar2 != 0) {\n      return 2;\n    }\n    if (local_34 != (code *)0x0) {\n      iVar2 = (*local_34)(1,uVar5 << 2 | 2,*puVar1,puVar1[1],uVar7);\n      if (iVar2 == 7) {\n        *extraout_ECX = iVar6;\n        return 7;\n      }\n      if (iVar2 != 8) {\n        return 2;\n      }\n    }\n    if (uVar5 != 0) {\n      uVar3 = FUN_000315b1();\n      return uVar3;\n    }\n    iVar6 = iVar6 + 1;\n    FUN_00216f60();\n  } while( true );" do (compound_statement "{\n    iVar2 = FUN_00215e20();\n    uVar5 = (uint)(puVar1[4] == *(int *)(iVar4 + 0x48) + (*(int *)(iVar4 + 0x60) >> 0x1f));\n    if (iVar2 != 0) {\n      return 2;\n    }\n    if (local_34 != (code *)0x0) {\n      iVar2 = (*local_34)(1,uVar5 << 2 | 2,*puVar1,puVar1[1],uVar7);\n      if (iVar2 == 7) {\n        *extraout_ECX = iVar6;\n        return 7;\n      }\n      if (iVar2 != 8) {\n        return 2;\n      }\n    }\n    if (uVar5 != 0) {\n      uVar3 = FUN_000315b1();\n      return uVar3;\n    }\n    iVar6 = iVar6 + 1;\n    FUN_00216f60();\n  }" { (expression_statement "iVar2 = FUN_00215e20();" (assignment_expression "iVar2 = FUN_00215e20()" identifier = (call_expression "FUN_00215e20()" identifier (argument_list "()" ( )))) ;) (expression_statement "uVar5 = (uint)(puVar1[4] == *(int *)(iVar4 + 0x48) + (*(int *)(iVar4 + 0x60) >> 0x1f));" (assignment_expression "uVar5 = (uint)(puVar1[4] == *(int *)(iVar4 + 0x48) + (*(int *)(iVar4 + 0x60) >> 0x1f))" identifier = (call_expression "(uint)(puVar1[4] == *(int *)(iVar4 + 0x48) + (*(int *)(iVar4 + 0x60) >> 0x1f))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(puVar1[4] == *(int *)(iVar4 + 0x48) + (*(int *)(iVar4 + 0x60) >> 0x1f))" ( (binary_expression "puVar1[4] == *(int *)(iVar4 + 0x48) + (*(int *)(iVar4 + 0x60) >> 0x1f)" (subscript_expression "puVar1[4]" identifier [ number_literal ]) == (binary_expression "*(int *)(iVar4 + 0x48) + (*(int *)(iVar4 + 0x60) >> 0x1f)" (pointer_expression "*(int *)(iVar4 + 0x48)" * (cast_expression "(int *)(iVar4 + 0x48)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x48)" ( (binary_expression "iVar4 + 0x48" identifier + number_literal) )))) + (parenthesized_expression "(*(int *)(iVar4 + 0x60) >> 0x1f)" ( (binary_expression "*(int *)(iVar4 + 0x60) >> 0x1f" (pointer_expression "*(int *)(iVar4 + 0x60)" * (cast_expression "(int *)(iVar4 + 0x60)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x60)" ( (binary_expression "iVar4 + 0x60" identifier + number_literal) )))) >> number_literal) )))) )))) ;) (if_statement "if (iVar2 != 0) {\n      return 2;\n    }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n      return 2;\n    }" { (return_statement "return 2;" return number_literal ;) })) (if_statement "if (local_34 != (code *)0x0) {\n      iVar2 = (*local_34)(1,uVar5 << 2 | 2,*puVar1,puVar1[1],uVar7);\n      if (iVar2 == 7) {\n        *extraout_ECX = iVar6;\n        return 7;\n      }\n      if (iVar2 != 8) {\n        return 2;\n      }\n    }" if (parenthesized_expression "(local_34 != (code *)0x0)" ( (binary_expression "local_34 != (code *)0x0" identifier != (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      iVar2 = (*local_34)(1,uVar5 << 2 | 2,*puVar1,puVar1[1],uVar7);\n      if (iVar2 == 7) {\n        *extraout_ECX = iVar6;\n        return 7;\n      }\n      if (iVar2 != 8) {\n        return 2;\n      }\n    }" { (expression_statement "iVar2 = (*local_34)(1,uVar5 << 2 | 2,*puVar1,puVar1[1],uVar7);" (assignment_expression "iVar2 = (*local_34)(1,uVar5 << 2 | 2,*puVar1,puVar1[1],uVar7)" identifier = (call_expression "(*local_34)(1,uVar5 << 2 | 2,*puVar1,puVar1[1],uVar7)" (parenthesized_expression "(*local_34)" ( (pointer_expression "*local_34" * identifier) )) (argument_list "(1,uVar5 << 2 | 2,*puVar1,puVar1[1],uVar7)" ( number_literal , (binary_expression "uVar5 << 2 | 2" (binary_expression "uVar5 << 2" identifier << number_literal) | number_literal) , (pointer_expression "*puVar1" * identifier) , (subscript_expression "puVar1[1]" identifier [ number_literal ]) , identifier )))) ;) (if_statement "if (iVar2 == 7) {\n        *extraout_ECX = iVar6;\n        return 7;\n      }" if (parenthesized_expression "(iVar2 == 7)" ( (binary_expression "iVar2 == 7" identifier == number_literal) )) (compound_statement "{\n        *extraout_ECX = iVar6;\n        return 7;\n      }" { (expression_statement "*extraout_ECX = iVar6;" (assignment_expression "*extraout_ECX = iVar6" (pointer_expression "*extraout_ECX" * identifier) = identifier) ;) (return_statement "return 7;" return number_literal ;) })) (if_statement "if (iVar2 != 8) {\n        return 2;\n      }" if (parenthesized_expression "(iVar2 != 8)" ( (binary_expression "iVar2 != 8" identifier != number_literal) )) (compound_statement "{\n        return 2;\n      }" { (return_statement "return 2;" return number_literal ;) })) })) (if_statement "if (uVar5 != 0) {\n      uVar3 = FUN_000315b1();\n      return uVar3;\n    }" if (parenthesized_expression "(uVar5 != 0)" ( (binary_expression "uVar5 != 0" identifier != number_literal) )) (compound_statement "{\n      uVar3 = FUN_000315b1();\n      return uVar3;\n    }" { (expression_statement "uVar3 = FUN_000315b1();" (assignment_expression "uVar3 = FUN_000315b1()" identifier = (call_expression "FUN_000315b1()" identifier (argument_list "()" ( )))) ;) (return_statement "return uVar3;" return identifier ;) })) (expression_statement "iVar6 = iVar6 + 1;" (assignment_expression "iVar6 = iVar6 + 1" identifier = (binary_expression "iVar6 + 1" identifier + number_literal)) ;) (expression_statement "FUN_00216f60();" (call_expression "FUN_00216f60()" identifier (argument_list "()" ( ))) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit "undefined4 _Unwind_RaiseException_Phase2(void)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  int *extraout_ECX;\n  int iVar4;\n  uint uVar5;\n  int iVar6;\n  undefined8 uVar7;\n  code *local_34;\n  \n  iVar6 = 1;\n  uVar7 = __x86_get_pc_thunk_di();\n  iVar4 = (int)((ulonglong)uVar7 >> 0x20);\n  puVar1 = (undefined4 *)uVar7;\n  do {\n    iVar2 = uw_frame_state_for();\n    uVar5 = (uint)(puVar1[4] == *(int *)(iVar4 + 0x48) + (*(int *)(iVar4 + 0x60) >> 0x1f));\n    if (iVar2 != 0) {\n      return 2;\n    }\n    if (local_34 != (code *)0x0) {\n      iVar2 = (*local_34)(1,uVar5 << 2 | 2,*puVar1,puVar1[1],uVar7);\n      if (iVar2 == 7) {\n        *extraout_ECX = iVar6;\n        return 7;\n      }\n      if (iVar2 != 8) {\n        return 2;\n      }\n    }\n    if (uVar5 != 0) {\n      uVar3 = _Unwind_RaiseException_Phase2_cold_12();\n      return uVar3;\n    }\n    iVar6 = iVar6 + 1;\n    uw_update_context();\n  } while( true );\n}\n\n" (function_definition "undefined4 _Unwind_RaiseException_Phase2(void)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  int *extraout_ECX;\n  int iVar4;\n  uint uVar5;\n  int iVar6;\n  undefined8 uVar7;\n  code *local_34;\n  \n  iVar6 = 1;\n  uVar7 = __x86_get_pc_thunk_di();\n  iVar4 = (int)((ulonglong)uVar7 >> 0x20);\n  puVar1 = (undefined4 *)uVar7;\n  do {\n    iVar2 = uw_frame_state_for();\n    uVar5 = (uint)(puVar1[4] == *(int *)(iVar4 + 0x48) + (*(int *)(iVar4 + 0x60) >> 0x1f));\n    if (iVar2 != 0) {\n      return 2;\n    }\n    if (local_34 != (code *)0x0) {\n      iVar2 = (*local_34)(1,uVar5 << 2 | 2,*puVar1,puVar1[1],uVar7);\n      if (iVar2 == 7) {\n        *extraout_ECX = iVar6;\n        return 7;\n      }\n      if (iVar2 != 8) {\n        return 2;\n      }\n    }\n    if (uVar5 != 0) {\n      uVar3 = _Unwind_RaiseException_Phase2_cold_12();\n      return uVar3;\n    }\n    iVar6 = iVar6 + 1;\n    uw_update_context();\n  } while( true );\n}" type_identifier (function_declarator "_Unwind_RaiseException_Phase2(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  undefined4 *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  int *extraout_ECX;\n  int iVar4;\n  uint uVar5;\n  int iVar6;\n  undefined8 uVar7;\n  code *local_34;\n  \n  iVar6 = 1;\n  uVar7 = __x86_get_pc_thunk_di();\n  iVar4 = (int)((ulonglong)uVar7 >> 0x20);\n  puVar1 = (undefined4 *)uVar7;\n  do {\n    iVar2 = uw_frame_state_for();\n    uVar5 = (uint)(puVar1[4] == *(int *)(iVar4 + 0x48) + (*(int *)(iVar4 + 0x60) >> 0x1f));\n    if (iVar2 != 0) {\n      return 2;\n    }\n    if (local_34 != (code *)0x0) {\n      iVar2 = (*local_34)(1,uVar5 << 2 | 2,*puVar1,puVar1[1],uVar7);\n      if (iVar2 == 7) {\n        *extraout_ECX = iVar6;\n        return 7;\n      }\n      if (iVar2 != 8) {\n        return 2;\n      }\n    }\n    if (uVar5 != 0) {\n      uVar3 = _Unwind_RaiseException_Phase2_cold_12();\n      return uVar3;\n    }\n    iVar6 = iVar6 + 1;\n    uw_update_context();\n  } while( true );\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "int *extraout_ECX;" primitive_type (pointer_declarator "*extraout_ECX" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "undefined8 uVar7;" type_identifier identifier ;) (declaration "code *local_34;" type_identifier (pointer_declarator "*local_34" * identifier) ;) (expression_statement "iVar6 = 1;" (assignment_expression "iVar6 = 1" identifier = number_literal) ;) (expression_statement "uVar7 = __x86_get_pc_thunk_di();" (assignment_expression "uVar7 = __x86_get_pc_thunk_di()" identifier = (call_expression "__x86_get_pc_thunk_di()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar4 = (int)((ulonglong)uVar7 >> 0x20);" (assignment_expression "iVar4 = (int)((ulonglong)uVar7 >> 0x20)" identifier = (cast_expression "(int)((ulonglong)uVar7 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)uVar7 >> 0x20)" ( (binary_expression "(ulonglong)uVar7 >> 0x20" (cast_expression "(ulonglong)uVar7" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "puVar1 = (undefined4 *)uVar7;" (assignment_expression "puVar1 = (undefined4 *)uVar7" identifier = (cast_expression "(undefined4 *)uVar7" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (do_statement "do {\n    iVar2 = uw_frame_state_for();\n    uVar5 = (uint)(puVar1[4] == *(int *)(iVar4 + 0x48) + (*(int *)(iVar4 + 0x60) >> 0x1f));\n    if (iVar2 != 0) {\n      return 2;\n    }\n    if (local_34 != (code *)0x0) {\n      iVar2 = (*local_34)(1,uVar5 << 2 | 2,*puVar1,puVar1[1],uVar7);\n      if (iVar2 == 7) {\n        *extraout_ECX = iVar6;\n        return 7;\n      }\n      if (iVar2 != 8) {\n        return 2;\n      }\n    }\n    if (uVar5 != 0) {\n      uVar3 = _Unwind_RaiseException_Phase2_cold_12();\n      return uVar3;\n    }\n    iVar6 = iVar6 + 1;\n    uw_update_context();\n  } while( true );" do (compound_statement "{\n    iVar2 = uw_frame_state_for();\n    uVar5 = (uint)(puVar1[4] == *(int *)(iVar4 + 0x48) + (*(int *)(iVar4 + 0x60) >> 0x1f));\n    if (iVar2 != 0) {\n      return 2;\n    }\n    if (local_34 != (code *)0x0) {\n      iVar2 = (*local_34)(1,uVar5 << 2 | 2,*puVar1,puVar1[1],uVar7);\n      if (iVar2 == 7) {\n        *extraout_ECX = iVar6;\n        return 7;\n      }\n      if (iVar2 != 8) {\n        return 2;\n      }\n    }\n    if (uVar5 != 0) {\n      uVar3 = _Unwind_RaiseException_Phase2_cold_12();\n      return uVar3;\n    }\n    iVar6 = iVar6 + 1;\n    uw_update_context();\n  }" { (expression_statement "iVar2 = uw_frame_state_for();" (assignment_expression "iVar2 = uw_frame_state_for()" identifier = (call_expression "uw_frame_state_for()" identifier (argument_list "()" ( )))) ;) (expression_statement "uVar5 = (uint)(puVar1[4] == *(int *)(iVar4 + 0x48) + (*(int *)(iVar4 + 0x60) >> 0x1f));" (assignment_expression "uVar5 = (uint)(puVar1[4] == *(int *)(iVar4 + 0x48) + (*(int *)(iVar4 + 0x60) >> 0x1f))" identifier = (call_expression "(uint)(puVar1[4] == *(int *)(iVar4 + 0x48) + (*(int *)(iVar4 + 0x60) >> 0x1f))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(puVar1[4] == *(int *)(iVar4 + 0x48) + (*(int *)(iVar4 + 0x60) >> 0x1f))" ( (binary_expression "puVar1[4] == *(int *)(iVar4 + 0x48) + (*(int *)(iVar4 + 0x60) >> 0x1f)" (subscript_expression "puVar1[4]" identifier [ number_literal ]) == (binary_expression "*(int *)(iVar4 + 0x48) + (*(int *)(iVar4 + 0x60) >> 0x1f)" (pointer_expression "*(int *)(iVar4 + 0x48)" * (cast_expression "(int *)(iVar4 + 0x48)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x48)" ( (binary_expression "iVar4 + 0x48" identifier + number_literal) )))) + (parenthesized_expression "(*(int *)(iVar4 + 0x60) >> 0x1f)" ( (binary_expression "*(int *)(iVar4 + 0x60) >> 0x1f" (pointer_expression "*(int *)(iVar4 + 0x60)" * (cast_expression "(int *)(iVar4 + 0x60)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x60)" ( (binary_expression "iVar4 + 0x60" identifier + number_literal) )))) >> number_literal) )))) )))) ;) (if_statement "if (iVar2 != 0) {\n      return 2;\n    }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n      return 2;\n    }" { (return_statement "return 2;" return number_literal ;) })) (if_statement "if (local_34 != (code *)0x0) {\n      iVar2 = (*local_34)(1,uVar5 << 2 | 2,*puVar1,puVar1[1],uVar7);\n      if (iVar2 == 7) {\n        *extraout_ECX = iVar6;\n        return 7;\n      }\n      if (iVar2 != 8) {\n        return 2;\n      }\n    }" if (parenthesized_expression "(local_34 != (code *)0x0)" ( (binary_expression "local_34 != (code *)0x0" identifier != (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      iVar2 = (*local_34)(1,uVar5 << 2 | 2,*puVar1,puVar1[1],uVar7);\n      if (iVar2 == 7) {\n        *extraout_ECX = iVar6;\n        return 7;\n      }\n      if (iVar2 != 8) {\n        return 2;\n      }\n    }" { (expression_statement "iVar2 = (*local_34)(1,uVar5 << 2 | 2,*puVar1,puVar1[1],uVar7);" (assignment_expression "iVar2 = (*local_34)(1,uVar5 << 2 | 2,*puVar1,puVar1[1],uVar7)" identifier = (call_expression "(*local_34)(1,uVar5 << 2 | 2,*puVar1,puVar1[1],uVar7)" (parenthesized_expression "(*local_34)" ( (pointer_expression "*local_34" * identifier) )) (argument_list "(1,uVar5 << 2 | 2,*puVar1,puVar1[1],uVar7)" ( number_literal , (binary_expression "uVar5 << 2 | 2" (binary_expression "uVar5 << 2" identifier << number_literal) | number_literal) , (pointer_expression "*puVar1" * identifier) , (subscript_expression "puVar1[1]" identifier [ number_literal ]) , identifier )))) ;) (if_statement "if (iVar2 == 7) {\n        *extraout_ECX = iVar6;\n        return 7;\n      }" if (parenthesized_expression "(iVar2 == 7)" ( (binary_expression "iVar2 == 7" identifier == number_literal) )) (compound_statement "{\n        *extraout_ECX = iVar6;\n        return 7;\n      }" { (expression_statement "*extraout_ECX = iVar6;" (assignment_expression "*extraout_ECX = iVar6" (pointer_expression "*extraout_ECX" * identifier) = identifier) ;) (return_statement "return 7;" return number_literal ;) })) (if_statement "if (iVar2 != 8) {\n        return 2;\n      }" if (parenthesized_expression "(iVar2 != 8)" ( (binary_expression "iVar2 != 8" identifier != number_literal) )) (compound_statement "{\n        return 2;\n      }" { (return_statement "return 2;" return number_literal ;) })) })) (if_statement "if (uVar5 != 0) {\n      uVar3 = _Unwind_RaiseException_Phase2_cold_12();\n      return uVar3;\n    }" if (parenthesized_expression "(uVar5 != 0)" ( (binary_expression "uVar5 != 0" identifier != number_literal) )) (compound_statement "{\n      uVar3 = _Unwind_RaiseException_Phase2_cold_12();\n      return uVar3;\n    }" { (expression_statement "uVar3 = _Unwind_RaiseException_Phase2_cold_12();" (assignment_expression "uVar3 = _Unwind_RaiseException_Phase2_cold_12()" identifier = (call_expression "_Unwind_RaiseException_Phase2_cold_12()" identifier (argument_list "()" ( )))) ;) (return_statement "return uVar3;" return identifier ;) })) (expression_statement "iVar6 = iVar6 + 1;" (assignment_expression "iVar6 = iVar6 + 1" identifier = (binary_expression "iVar6 + 1" identifier + number_literal)) ;) (expression_statement "uw_update_context();" (call_expression "uw_update_context()" identifier (argument_list "()" ( ))) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit "undefined4 FUN_00216fd0(void)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  int *extraout_ECX;\n  int iVar4;\n  uint uVar5;\n  int iVar6;\n  undefined8 uVar7;\n  code *local_34;\n  \n  iVar6 = 1;\n  uVar7 = FUN_0004fb7e();\n  iVar4 = (int)((ulonglong)uVar7 >> 0x20);\n  puVar1 = (undefined4 *)uVar7;\n  do {\n    iVar2 = FUN_00215e20();\n    uVar5 = (uint)(puVar1[4] == *(int *)(iVar4 + 0x48) + (*(int *)(iVar4 + 0x60) >> 0x1f));\n    if (iVar2 != 0) {\n      return 2;\n    }\n    if (local_34 != (code *)0x0) {\n      iVar2 = (*local_34)(1,uVar5 << 2 | 2,*puVar1,puVar1[1],uVar7);\n      if (iVar2 == 7) {\n        *extraout_ECX = iVar6;\n        return 7;\n      }\n      if (iVar2 != 8) {\n        return 2;\n      }\n    }\n    if (uVar5 != 0) {\n      uVar3 = FUN_000315b1();\n      return uVar3;\n    }\n    iVar6 = iVar6 + 1;\n    FUN_00216f60();\n  } while( true );\n}\n\n" (function_definition "undefined4 FUN_00216fd0(void)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  int *extraout_ECX;\n  int iVar4;\n  uint uVar5;\n  int iVar6;\n  undefined8 uVar7;\n  code *local_34;\n  \n  iVar6 = 1;\n  uVar7 = FUN_0004fb7e();\n  iVar4 = (int)((ulonglong)uVar7 >> 0x20);\n  puVar1 = (undefined4 *)uVar7;\n  do {\n    iVar2 = FUN_00215e20();\n    uVar5 = (uint)(puVar1[4] == *(int *)(iVar4 + 0x48) + (*(int *)(iVar4 + 0x60) >> 0x1f));\n    if (iVar2 != 0) {\n      return 2;\n    }\n    if (local_34 != (code *)0x0) {\n      iVar2 = (*local_34)(1,uVar5 << 2 | 2,*puVar1,puVar1[1],uVar7);\n      if (iVar2 == 7) {\n        *extraout_ECX = iVar6;\n        return 7;\n      }\n      if (iVar2 != 8) {\n        return 2;\n      }\n    }\n    if (uVar5 != 0) {\n      uVar3 = FUN_000315b1();\n      return uVar3;\n    }\n    iVar6 = iVar6 + 1;\n    FUN_00216f60();\n  } while( true );\n}" type_identifier (function_declarator "FUN_00216fd0(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  undefined4 *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  int *extraout_ECX;\n  int iVar4;\n  uint uVar5;\n  int iVar6;\n  undefined8 uVar7;\n  code *local_34;\n  \n  iVar6 = 1;\n  uVar7 = FUN_0004fb7e();\n  iVar4 = (int)((ulonglong)uVar7 >> 0x20);\n  puVar1 = (undefined4 *)uVar7;\n  do {\n    iVar2 = FUN_00215e20();\n    uVar5 = (uint)(puVar1[4] == *(int *)(iVar4 + 0x48) + (*(int *)(iVar4 + 0x60) >> 0x1f));\n    if (iVar2 != 0) {\n      return 2;\n    }\n    if (local_34 != (code *)0x0) {\n      iVar2 = (*local_34)(1,uVar5 << 2 | 2,*puVar1,puVar1[1],uVar7);\n      if (iVar2 == 7) {\n        *extraout_ECX = iVar6;\n        return 7;\n      }\n      if (iVar2 != 8) {\n        return 2;\n      }\n    }\n    if (uVar5 != 0) {\n      uVar3 = FUN_000315b1();\n      return uVar3;\n    }\n    iVar6 = iVar6 + 1;\n    FUN_00216f60();\n  } while( true );\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "int *extraout_ECX;" primitive_type (pointer_declarator "*extraout_ECX" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "undefined8 uVar7;" type_identifier identifier ;) (declaration "code *local_34;" type_identifier (pointer_declarator "*local_34" * identifier) ;) (expression_statement "iVar6 = 1;" (assignment_expression "iVar6 = 1" identifier = number_literal) ;) (expression_statement "uVar7 = FUN_0004fb7e();" (assignment_expression "uVar7 = FUN_0004fb7e()" identifier = (call_expression "FUN_0004fb7e()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar4 = (int)((ulonglong)uVar7 >> 0x20);" (assignment_expression "iVar4 = (int)((ulonglong)uVar7 >> 0x20)" identifier = (cast_expression "(int)((ulonglong)uVar7 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)uVar7 >> 0x20)" ( (binary_expression "(ulonglong)uVar7 >> 0x20" (cast_expression "(ulonglong)uVar7" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "puVar1 = (undefined4 *)uVar7;" (assignment_expression "puVar1 = (undefined4 *)uVar7" identifier = (cast_expression "(undefined4 *)uVar7" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (do_statement "do {\n    iVar2 = FUN_00215e20();\n    uVar5 = (uint)(puVar1[4] == *(int *)(iVar4 + 0x48) + (*(int *)(iVar4 + 0x60) >> 0x1f));\n    if (iVar2 != 0) {\n      return 2;\n    }\n    if (local_34 != (code *)0x0) {\n      iVar2 = (*local_34)(1,uVar5 << 2 | 2,*puVar1,puVar1[1],uVar7);\n      if (iVar2 == 7) {\n        *extraout_ECX = iVar6;\n        return 7;\n      }\n      if (iVar2 != 8) {\n        return 2;\n      }\n    }\n    if (uVar5 != 0) {\n      uVar3 = FUN_000315b1();\n      return uVar3;\n    }\n    iVar6 = iVar6 + 1;\n    FUN_00216f60();\n  } while( true );" do (compound_statement "{\n    iVar2 = FUN_00215e20();\n    uVar5 = (uint)(puVar1[4] == *(int *)(iVar4 + 0x48) + (*(int *)(iVar4 + 0x60) >> 0x1f));\n    if (iVar2 != 0) {\n      return 2;\n    }\n    if (local_34 != (code *)0x0) {\n      iVar2 = (*local_34)(1,uVar5 << 2 | 2,*puVar1,puVar1[1],uVar7);\n      if (iVar2 == 7) {\n        *extraout_ECX = iVar6;\n        return 7;\n      }\n      if (iVar2 != 8) {\n        return 2;\n      }\n    }\n    if (uVar5 != 0) {\n      uVar3 = FUN_000315b1();\n      return uVar3;\n    }\n    iVar6 = iVar6 + 1;\n    FUN_00216f60();\n  }" { (expression_statement "iVar2 = FUN_00215e20();" (assignment_expression "iVar2 = FUN_00215e20()" identifier = (call_expression "FUN_00215e20()" identifier (argument_list "()" ( )))) ;) (expression_statement "uVar5 = (uint)(puVar1[4] == *(int *)(iVar4 + 0x48) + (*(int *)(iVar4 + 0x60) >> 0x1f));" (assignment_expression "uVar5 = (uint)(puVar1[4] == *(int *)(iVar4 + 0x48) + (*(int *)(iVar4 + 0x60) >> 0x1f))" identifier = (call_expression "(uint)(puVar1[4] == *(int *)(iVar4 + 0x48) + (*(int *)(iVar4 + 0x60) >> 0x1f))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(puVar1[4] == *(int *)(iVar4 + 0x48) + (*(int *)(iVar4 + 0x60) >> 0x1f))" ( (binary_expression "puVar1[4] == *(int *)(iVar4 + 0x48) + (*(int *)(iVar4 + 0x60) >> 0x1f)" (subscript_expression "puVar1[4]" identifier [ number_literal ]) == (binary_expression "*(int *)(iVar4 + 0x48) + (*(int *)(iVar4 + 0x60) >> 0x1f)" (pointer_expression "*(int *)(iVar4 + 0x48)" * (cast_expression "(int *)(iVar4 + 0x48)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x48)" ( (binary_expression "iVar4 + 0x48" identifier + number_literal) )))) + (parenthesized_expression "(*(int *)(iVar4 + 0x60) >> 0x1f)" ( (binary_expression "*(int *)(iVar4 + 0x60) >> 0x1f" (pointer_expression "*(int *)(iVar4 + 0x60)" * (cast_expression "(int *)(iVar4 + 0x60)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x60)" ( (binary_expression "iVar4 + 0x60" identifier + number_literal) )))) >> number_literal) )))) )))) ;) (if_statement "if (iVar2 != 0) {\n      return 2;\n    }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n      return 2;\n    }" { (return_statement "return 2;" return number_literal ;) })) (if_statement "if (local_34 != (code *)0x0) {\n      iVar2 = (*local_34)(1,uVar5 << 2 | 2,*puVar1,puVar1[1],uVar7);\n      if (iVar2 == 7) {\n        *extraout_ECX = iVar6;\n        return 7;\n      }\n      if (iVar2 != 8) {\n        return 2;\n      }\n    }" if (parenthesized_expression "(local_34 != (code *)0x0)" ( (binary_expression "local_34 != (code *)0x0" identifier != (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      iVar2 = (*local_34)(1,uVar5 << 2 | 2,*puVar1,puVar1[1],uVar7);\n      if (iVar2 == 7) {\n        *extraout_ECX = iVar6;\n        return 7;\n      }\n      if (iVar2 != 8) {\n        return 2;\n      }\n    }" { (expression_statement "iVar2 = (*local_34)(1,uVar5 << 2 | 2,*puVar1,puVar1[1],uVar7);" (assignment_expression "iVar2 = (*local_34)(1,uVar5 << 2 | 2,*puVar1,puVar1[1],uVar7)" identifier = (call_expression "(*local_34)(1,uVar5 << 2 | 2,*puVar1,puVar1[1],uVar7)" (parenthesized_expression "(*local_34)" ( (pointer_expression "*local_34" * identifier) )) (argument_list "(1,uVar5 << 2 | 2,*puVar1,puVar1[1],uVar7)" ( number_literal , (binary_expression "uVar5 << 2 | 2" (binary_expression "uVar5 << 2" identifier << number_literal) | number_literal) , (pointer_expression "*puVar1" * identifier) , (subscript_expression "puVar1[1]" identifier [ number_literal ]) , identifier )))) ;) (if_statement "if (iVar2 == 7) {\n        *extraout_ECX = iVar6;\n        return 7;\n      }" if (parenthesized_expression "(iVar2 == 7)" ( (binary_expression "iVar2 == 7" identifier == number_literal) )) (compound_statement "{\n        *extraout_ECX = iVar6;\n        return 7;\n      }" { (expression_statement "*extraout_ECX = iVar6;" (assignment_expression "*extraout_ECX = iVar6" (pointer_expression "*extraout_ECX" * identifier) = identifier) ;) (return_statement "return 7;" return number_literal ;) })) (if_statement "if (iVar2 != 8) {\n        return 2;\n      }" if (parenthesized_expression "(iVar2 != 8)" ( (binary_expression "iVar2 != 8" identifier != number_literal) )) (compound_statement "{\n        return 2;\n      }" { (return_statement "return 2;" return number_literal ;) })) })) (if_statement "if (uVar5 != 0) {\n      uVar3 = FUN_000315b1();\n      return uVar3;\n    }" if (parenthesized_expression "(uVar5 != 0)" ( (binary_expression "uVar5 != 0" identifier != number_literal) )) (compound_statement "{\n      uVar3 = FUN_000315b1();\n      return uVar3;\n    }" { (expression_statement "uVar3 = FUN_000315b1();" (assignment_expression "uVar3 = FUN_000315b1()" identifier = (call_expression "FUN_000315b1()" identifier (argument_list "()" ( )))) ;) (return_statement "return uVar3;" return identifier ;) })) (expression_statement "iVar6 = iVar6 + 1;" (assignment_expression "iVar6 = iVar6 + 1" identifier = (binary_expression "iVar6 + 1" identifier + number_literal)) ;) (expression_statement "FUN_00216f60();" (call_expression "FUN_00216f60()" identifier (argument_list "()" ( ))) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (subscript_expression IDENT [ LIT ]) == (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) >> LIT) )))) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (return_statement return LIT ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( LIT , (binary_expression (binary_expression IDENT << LIT) | LIT) , (pointer_expression * IDENT) , (subscript_expression IDENT [ LIT ]) , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (return_statement return LIT ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (return_statement return LIT ;) })) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) }) while (parenthesized_expression ( BOOL )) ;) })))
(function_definition "undefined4 FUN_00216fd0(void)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  int *extraout_ECX;\n  int iVar4;\n  uint uVar5;\n  int iVar6;\n  undefined8 uVar7;\n  code *local_34;\n  \n  iVar6 = 1;\n  uVar7 = FUN_0004fb7e();\n  iVar4 = (int)((ulonglong)uVar7 >> 0x20);\n  puVar1 = (undefined4 *)uVar7;\n  do {\n    iVar2 = FUN_00215e20();\n    uVar5 = (uint)(puVar1[4] == *(int *)(iVar4 + 0x48) + (*(int *)(iVar4 + 0x60) >> 0x1f));\n    if (iVar2 != 0) {\n      return 2;\n    }\n    if (local_34 != (code *)0x0) {\n      iVar2 = (*local_34)(1,uVar5 << 2 | 2,*puVar1,puVar1[1],uVar7);\n      if (iVar2 == 7) {\n        *extraout_ECX = iVar6;\n        return 7;\n      }\n      if (iVar2 != 8) {\n        return 2;\n      }\n    }\n    if (uVar5 != 0) {\n      uVar3 = FUN_000315b1();\n      return uVar3;\n    }\n    iVar6 = iVar6 + 1;\n    FUN_00216f60();\n  } while( true );\n}" (type_identifier "undefined4") (function_declarator "FUN_00216fd0(void)" (identifier "FUN_00216fd0") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  undefined4 *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  int *extraout_ECX;\n  int iVar4;\n  uint uVar5;\n  int iVar6;\n  undefined8 uVar7;\n  code *local_34;\n  \n  iVar6 = 1;\n  uVar7 = FUN_0004fb7e();\n  iVar4 = (int)((ulonglong)uVar7 >> 0x20);\n  puVar1 = (undefined4 *)uVar7;\n  do {\n    iVar2 = FUN_00215e20();\n    uVar5 = (uint)(puVar1[4] == *(int *)(iVar4 + 0x48) + (*(int *)(iVar4 + 0x60) >> 0x1f));\n    if (iVar2 != 0) {\n      return 2;\n    }\n    if (local_34 != (code *)0x0) {\n      iVar2 = (*local_34)(1,uVar5 << 2 | 2,*puVar1,puVar1[1],uVar7);\n      if (iVar2 == 7) {\n        *extraout_ECX = iVar6;\n        return 7;\n      }\n      if (iVar2 != 8) {\n        return 2;\n      }\n    }\n    if (uVar5 != 0) {\n      uVar3 = FUN_000315b1();\n      return uVar3;\n    }\n    iVar6 = iVar6 + 1;\n    FUN_00216f60();\n  } while( true );\n}" ({ "{") (declaration "undefined4 *puVar1;" (type_identifier "undefined4") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "undefined4 uVar3;" (type_identifier "undefined4") (identifier "uVar3") (; ";")) (declaration "int *extraout_ECX;" (primitive_type "int") (pointer_declarator "*extraout_ECX" (* "*") (identifier "extraout_ECX")) (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "uint uVar5;" (type_identifier "uint") (identifier "uVar5") (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "undefined8 uVar7;" (type_identifier "undefined8") (identifier "uVar7") (; ";")) (declaration "code *local_34;" (type_identifier "code") (pointer_declarator "*local_34" (* "*") (identifier "local_34")) (; ";")) (expression_statement "iVar6 = 1;" (assignment_expression "iVar6 = 1" (identifier "iVar6") (= "=") (number_literal "1")) (; ";")) (expression_statement "uVar7 = FUN_0004fb7e();" (assignment_expression "uVar7 = FUN_0004fb7e()" (identifier "uVar7") (= "=") (call_expression "FUN_0004fb7e()" (identifier "FUN_0004fb7e") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "iVar4 = (int)((ulonglong)uVar7 >> 0x20);" (assignment_expression "iVar4 = (int)((ulonglong)uVar7 >> 0x20)" (identifier "iVar4") (= "=") (cast_expression "(int)((ulonglong)uVar7 >> 0x20)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "((ulonglong)uVar7 >> 0x20)" (( "(") (binary_expression "(ulonglong)uVar7 >> 0x20" (cast_expression "(ulonglong)uVar7" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (identifier "uVar7")) (>> ">>") (number_literal "0x20")) () ")")))) (; ";")) (expression_statement "puVar1 = (undefined4 *)uVar7;" (assignment_expression "puVar1 = (undefined4 *)uVar7" (identifier "puVar1") (= "=") (cast_expression "(undefined4 *)uVar7" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "uVar7"))) (; ";")) (do_statement "do {\n    iVar2 = FUN_00215e20();\n    uVar5 = (uint)(puVar1[4] == *(int *)(iVar4 + 0x48) + (*(int *)(iVar4 + 0x60) >> 0x1f));\n    if (iVar2 != 0) {\n      return 2;\n    }\n    if (local_34 != (code *)0x0) {\n      iVar2 = (*local_34)(1,uVar5 << 2 | 2,*puVar1,puVar1[1],uVar7);\n      if (iVar2 == 7) {\n        *extraout_ECX = iVar6;\n        return 7;\n      }\n      if (iVar2 != 8) {\n        return 2;\n      }\n    }\n    if (uVar5 != 0) {\n      uVar3 = FUN_000315b1();\n      return uVar3;\n    }\n    iVar6 = iVar6 + 1;\n    FUN_00216f60();\n  } while( true );" (do "do") (compound_statement "{\n    iVar2 = FUN_00215e20();\n    uVar5 = (uint)(puVar1[4] == *(int *)(iVar4 + 0x48) + (*(int *)(iVar4 + 0x60) >> 0x1f));\n    if (iVar2 != 0) {\n      return 2;\n    }\n    if (local_34 != (code *)0x0) {\n      iVar2 = (*local_34)(1,uVar5 << 2 | 2,*puVar1,puVar1[1],uVar7);\n      if (iVar2 == 7) {\n        *extraout_ECX = iVar6;\n        return 7;\n      }\n      if (iVar2 != 8) {\n        return 2;\n      }\n    }\n    if (uVar5 != 0) {\n      uVar3 = FUN_000315b1();\n      return uVar3;\n    }\n    iVar6 = iVar6 + 1;\n    FUN_00216f60();\n  }" ({ "{") (expression_statement "iVar2 = FUN_00215e20();" (assignment_expression "iVar2 = FUN_00215e20()" (identifier "iVar2") (= "=") (call_expression "FUN_00215e20()" (identifier "FUN_00215e20") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "uVar5 = (uint)(puVar1[4] == *(int *)(iVar4 + 0x48) + (*(int *)(iVar4 + 0x60) >> 0x1f));" (assignment_expression "uVar5 = (uint)(puVar1[4] == *(int *)(iVar4 + 0x48) + (*(int *)(iVar4 + 0x60) >> 0x1f))" (identifier "uVar5") (= "=") (call_expression "(uint)(puVar1[4] == *(int *)(iVar4 + 0x48) + (*(int *)(iVar4 + 0x60) >> 0x1f))" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(puVar1[4] == *(int *)(iVar4 + 0x48) + (*(int *)(iVar4 + 0x60) >> 0x1f))" (( "(") (binary_expression "puVar1[4] == *(int *)(iVar4 + 0x48) + (*(int *)(iVar4 + 0x60) >> 0x1f)" (subscript_expression "puVar1[4]" (identifier "puVar1") ([ "[") (number_literal "4") (] "]")) (== "==") (binary_expression "*(int *)(iVar4 + 0x48) + (*(int *)(iVar4 + 0x60) >> 0x1f)" (pointer_expression "*(int *)(iVar4 + 0x48)" (* "*") (cast_expression "(int *)(iVar4 + 0x48)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x48)" (( "(") (binary_expression "iVar4 + 0x48" (identifier "iVar4") (+ "+") (number_literal "0x48")) () ")")))) (+ "+") (parenthesized_expression "(*(int *)(iVar4 + 0x60) >> 0x1f)" (( "(") (binary_expression "*(int *)(iVar4 + 0x60) >> 0x1f" (pointer_expression "*(int *)(iVar4 + 0x60)" (* "*") (cast_expression "(int *)(iVar4 + 0x60)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x60)" (( "(") (binary_expression "iVar4 + 0x60" (identifier "iVar4") (+ "+") (number_literal "0x60")) () ")")))) (>> ">>") (number_literal "0x1f")) () ")")))) () ")")))) (; ";")) (if_statement "if (iVar2 != 0) {\n      return 2;\n    }" (if "if") (parenthesized_expression "(iVar2 != 0)" (( "(") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      return 2;\n    }" ({ "{") (return_statement "return 2;" (return "return") (number_literal "2") (; ";")) (} "}"))) (if_statement "if (local_34 != (code *)0x0) {\n      iVar2 = (*local_34)(1,uVar5 << 2 | 2,*puVar1,puVar1[1],uVar7);\n      if (iVar2 == 7) {\n        *extraout_ECX = iVar6;\n        return 7;\n      }\n      if (iVar2 != 8) {\n        return 2;\n      }\n    }" (if "if") (parenthesized_expression "(local_34 != (code *)0x0)" (( "(") (binary_expression "local_34 != (code *)0x0" (identifier "local_34") (!= "!=") (cast_expression "(code *)0x0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      iVar2 = (*local_34)(1,uVar5 << 2 | 2,*puVar1,puVar1[1],uVar7);\n      if (iVar2 == 7) {\n        *extraout_ECX = iVar6;\n        return 7;\n      }\n      if (iVar2 != 8) {\n        return 2;\n      }\n    }" ({ "{") (expression_statement "iVar2 = (*local_34)(1,uVar5 << 2 | 2,*puVar1,puVar1[1],uVar7);" (assignment_expression "iVar2 = (*local_34)(1,uVar5 << 2 | 2,*puVar1,puVar1[1],uVar7)" (identifier "iVar2") (= "=") (call_expression "(*local_34)(1,uVar5 << 2 | 2,*puVar1,puVar1[1],uVar7)" (parenthesized_expression "(*local_34)" (( "(") (pointer_expression "*local_34" (* "*") (identifier "local_34")) () ")")) (argument_list "(1,uVar5 << 2 | 2,*puVar1,puVar1[1],uVar7)" (( "(") (number_literal "1") (, ",") (binary_expression "uVar5 << 2 | 2" (binary_expression "uVar5 << 2" (identifier "uVar5") (<< "<<") (number_literal "2")) (| "|") (number_literal "2")) (, ",") (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (, ",") (subscript_expression "puVar1[1]" (identifier "puVar1") ([ "[") (number_literal "1") (] "]")) (, ",") (identifier "uVar7") () ")")))) (; ";")) (if_statement "if (iVar2 == 7) {\n        *extraout_ECX = iVar6;\n        return 7;\n      }" (if "if") (parenthesized_expression "(iVar2 == 7)" (( "(") (binary_expression "iVar2 == 7" (identifier "iVar2") (== "==") (number_literal "7")) () ")")) (compound_statement "{\n        *extraout_ECX = iVar6;\n        return 7;\n      }" ({ "{") (expression_statement "*extraout_ECX = iVar6;" (assignment_expression "*extraout_ECX = iVar6" (pointer_expression "*extraout_ECX" (* "*") (identifier "extraout_ECX")) (= "=") (identifier "iVar6")) (; ";")) (return_statement "return 7;" (return "return") (number_literal "7") (; ";")) (} "}"))) (if_statement "if (iVar2 != 8) {\n        return 2;\n      }" (if "if") (parenthesized_expression "(iVar2 != 8)" (( "(") (binary_expression "iVar2 != 8" (identifier "iVar2") (!= "!=") (number_literal "8")) () ")")) (compound_statement "{\n        return 2;\n      }" ({ "{") (return_statement "return 2;" (return "return") (number_literal "2") (; ";")) (} "}"))) (} "}"))) (if_statement "if (uVar5 != 0) {\n      uVar3 = FUN_000315b1();\n      return uVar3;\n    }" (if "if") (parenthesized_expression "(uVar5 != 0)" (( "(") (binary_expression "uVar5 != 0" (identifier "uVar5") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      uVar3 = FUN_000315b1();\n      return uVar3;\n    }" ({ "{") (expression_statement "uVar3 = FUN_000315b1();" (assignment_expression "uVar3 = FUN_000315b1()" (identifier "uVar3") (= "=") (call_expression "FUN_000315b1()" (identifier "FUN_000315b1") (argument_list "()" (( "(") () ")")))) (; ";")) (return_statement "return uVar3;" (return "return") (identifier "uVar3") (; ";")) (} "}"))) (expression_statement "iVar6 = iVar6 + 1;" (assignment_expression "iVar6 = iVar6 + 1" (identifier "iVar6") (= "=") (binary_expression "iVar6 + 1" (identifier "iVar6") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "FUN_00216f60();" (call_expression "FUN_00216f60()" (identifier "FUN_00216f60") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (; ";")) (} "}")))

type_1 function_1(void)

{
  type_1 *puVar1;
  int var_4;
  type_1 uVar3;
  int *extraout_ECX;
  int var_3;
  type_2 var_6;
  int var_8;
  type_3 uVar7;
  type_4 *var_5;
  
  var_8 = 1;
  uVar7 = var_1();
  var_3 = (int)((type_5)uVar7 >> 0x20);
  puVar1 = (type_1 *)uVar7;
  do {
    var_4 = var_2();
    var_6 = (type_2)(puVar1[4] == *(int *)(var_3 + 0x48) + (*(int *)(var_3 + 0x60) >> 0x1f));
    if (var_4 != 0) {
      return 2;
    }
    if (var_5 != (type_4 *)0x0) {
      var_4 = (*var_5)(1,var_6 << 2 | 2,*puVar1,puVar1[1],uVar7);
      if (var_4 == 7) {
        *extraout_ECX = var_8;
        return 7;
      }
      if (var_4 != 8) {
        return 2;
      }
    }
    if (var_6 != 0) {
      uVar3 = var_7();
      return uVar3;
    }
    var_8 = var_8 + 1;
    var_9();
  } while( true );
}


(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type)))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (identifier))) arguments: (argument_list (number_literal) (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (number_literal)) (pointer_expression argument: (identifier)) (subscript_expression argument: (identifier) index: (number_literal)) (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (return_statement (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (return_statement (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list)))) condition: (parenthesized_expression (true))))))

undefined4 MASKED(void)

{
  undefined4 *puVar1;
  int iVar2;
  undefined4 uVar3;
  int *extraout_ECX;
  int iVar4;
  uint uVar5;
  int iVar6;
  undefined8 uVar7;
  code *local_34;
  
  iVar6 = 1;
  uVar7 = FUN_0004fb7e();
  iVar4 = (int)((ulonglong)uVar7 >> 0x20);
  puVar1 = (undefined4 *)uVar7;
  do {
    iVar2 = FUN_00215e20();
    uVar5 = (uint)(puVar1[4] == *(int *)(iVar4 + 0x48) + (*(int *)(iVar4 + 0x60) >> 0x1f));
    if (iVar2 != 0) {
      return 2;
    }
    if (local_34 != (code *)0x0) {
      iVar2 = (*local_34)(1,uVar5 << 2 | 2,*puVar1,puVar1[1],uVar7);
      if (iVar2 == 7) {
        *extraout_ECX = iVar6;
        return 7;
      }
      if (iVar2 != 8) {
        return 2;
      }
    }
    if (uVar5 != 0) {
      uVar3 = FUN_000315b1();
      return uVar3;
    }
    iVar6 = iVar6 + 1;
    FUN_00216f60();
  } while( true );
}

