
int __regparm3 sqlite3VdbeMemNumerify(Mem *pMem)

{
  int iVar1;
  int iVar2;
  undefined4 uVar3;
  bool bVar4;
  longlong lVar5;
  ushort uVar6;
  int iVar7;
  uint length;
  int in_GS_OFFSET;
  double *pResult;
  u8 in_stack_ffffffb0;
  int local_34;
  int iStack_30;
  double r2;
  
  iVar1 = *(int *)(in_GS_OFFSET + 0x14);
  if ((pMem->flags & 0xd) != 0) {
    uVar6 = pMem->flags & 0xbfed;
    goto LAB_00024381;
  }
  length = (uint)pMem->enc;
  pResult = (double *)0x243b5;
  iVar7 = sqlite3Atoi64(pMem->z,(i64 *)pMem,pMem->n,pMem->enc);
  if (iVar7 == 0) {
    uVar6 = pMem->flags & 0x3e00 | 4;
    goto LAB_00024381;
  }
  iVar2 = (pMem->u).nZero;
  uVar3 = *(undefined4 *)((int)&pMem->u + 4);
  lVar5 = (pMem->u).i;
  sqlite3AtoF((char *)(uint)pMem->enc,pResult,length,in_stack_ffffffb0);
  if (iVar7 == 1) {
    r2._0_4_ = SUB84((double)lVar5,0);
    local_34 = (pMem->u).nZero;
    if (local_34 == r2._0_4_) {
      r2._4_4_ = (int)((ulonglong)(double)lVar5 >> 0x20);
      bVar4 = false;
      iStack_30 = (int)((ulonglong)pMem->u >> 0x20);
      if (iStack_30 != r2._4_4_) goto LAB_0002441e;
    }
    else {
LAB_0002441e:
      bVar4 = true;
    }
    uVar6 = pMem->flags & 0x3e00;
    if (!bVar4) {
      (pMem->u).nZero = iVar2;
      uVar6 = uVar6 | 4;
      *(undefined4 *)((int)&pMem->u + 4) = uVar3;
      goto LAB_00024381;
    }
  }
  else {
    uVar6 = pMem->flags & 0x3e00;
  }
  uVar6 = uVar6 | 8;
LAB_00024381:
  pMem->flags = uVar6;
  if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {
                    /* WARNING: Subroutine does not return */
    __stack_chk_fail_local();
  }
  return 0;
}



undefined4 __regparm3 FUN_00024360(longlong *param_1)

{
  int iVar1;
  undefined4 uVar2;
  bool bVar3;
  longlong lVar4;
  longlong lVar5;
  ushort uVar6;
  int iVar7;
  int in_GS_OFFSET;
  int local_34;
  int iStack_30;
  int local_2c;
  int iStack_28;
  
  iVar1 = *(int *)(in_GS_OFFSET + 0x14);
  if ((*(ushort *)(param_1 + 1) & 0xd) != 0) {
    uVar6 = *(ushort *)(param_1 + 1) & 0xbfed;
    goto LAB_00024381;
  }
  iVar7 = FUN_0001ba60(*(undefined1 *)((int)param_1 + 10));
  if (iVar7 == 0) {
    uVar6 = *(ushort *)(param_1 + 1) & 0x3e00 | 4;
    goto LAB_00024381;
  }
  lVar5 = *param_1;
  uVar2 = *(undefined4 *)((int)param_1 + 4);
  lVar4 = *param_1;
  FUN_0001b260(*(undefined1 *)((int)param_1 + 10));
  if (iVar7 == 1) {
    local_2c = SUB84((double)lVar4,0);
    local_34 = (int)*param_1;
    if (local_34 == local_2c) {
      iStack_28 = (int)((ulonglong)(double)lVar4 >> 0x20);
      bVar3 = false;
      iStack_30 = (int)((ulonglong)*param_1 >> 0x20);
      if (iStack_30 != iStack_28) goto LAB_0002441e;
    }
    else {
LAB_0002441e:
      bVar3 = true;
    }
    uVar6 = *(ushort *)(param_1 + 1) & 0x3e00;
    if (!bVar3) {
      *(int *)param_1 = (int)lVar5;
      uVar6 = uVar6 | 4;
      *(undefined4 *)((int)param_1 + 4) = uVar2;
      goto LAB_00024381;
    }
  }
  else {
    uVar6 = *(ushort *)(param_1 + 1) & 0x3e00;
  }
  uVar6 = uVar6 | 8;
LAB_00024381:
  *(ushort *)(param_1 + 1) = uVar6;
  if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {
                    /* WARNING: Subroutine does not return */
    FUN_000f6410();
  }
  return 0;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
MOV EBX,EAX
SUB ESP,0x3c
MOV EAX,GS:[0x14]
MOV dword ptr [ESP + 0x2c],EAX
XOR EAX,EAX
MOVZX EAX,word ptr [EBX + 0x8]
TEST AL,0xd
JZ 0x000243a0
AND AX,0xbfed
MOV word ptr [EBX + 0x8],AX
XOR EAX,EAX
MOV EDI,dword ptr [ESP + 0x2c]
XOR EDI,dword ptr GS:[0x14]
JNZ 0x0002444e
ADD ESP,0x3c
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOVZX EDX,byte ptr [EBX + 0xa]
SUB ESP,0x4
MOV ECX,dword ptr [EBX + 0xc]
MOV EAX,dword ptr [EBX + 0x10]
PUSH EDX
MOV EDX,EBX
CALL 0x0001ba60
MOV EBP,EAX
POP EAX
POP EDX
TEST EBP,EBP
JNZ 0x000243d0
MOVZX EAX,word ptr [EBX + 0x8]
AND AX,0x3e00
OR EAX,0x4
JMP 0x00024381
MOVZX EDX,byte ptr [EBX + 0xa]
SUB ESP,0xc
MOV ECX,dword ptr [EBX + 0xc]
MOV EAX,dword ptr [EBX + 0x10]
MOV ESI,dword ptr [EBX]
PUSH EDX
MOV EDX,EBX
MOV EDI,dword ptr [EBX + 0x4]
CALL 0x0001b260
ADD ESP,0x10
CMP EBP,0x1
JZ 0x00024400
MOVZX EAX,word ptr [EBX + 0x8]
AND AX,0x3e00
OR EAX,0x8
JMP 0x00024381
FLD qword ptr [EBX]
MOV dword ptr [ESP],ESI
MOV dword ptr [ESP + 0x4],EDI
FSTP qword ptr [ESP + 0x18]
FILD qword ptr [ESP]
FSTP qword ptr [ESP + 0x20]
MOV EAX,dword ptr [ESP + 0x20]
CMP dword ptr [ESP + 0x18],EAX
JZ 0x00024440
MOV EDX,0x1
MOVZX EAX,word ptr [EBX + 0x8]
AND AX,0x3e00
TEST EDX,EDX
JNZ 0x000243fa
MOV dword ptr [EBX],ESI
OR EAX,0x4
MOV dword ptr [EBX + 0x4],EDI
JMP 0x00024381
MOV EAX,dword ptr [ESP + 0x24]
XOR EDX,EDX
CMP dword ptr [ESP + 0x1c],EAX
JNZ 0x0002441e
JMP 0x00024423
CALL 0x000f6410
(translation_unit "undefined4 __regparm3 FUN_00024360(longlong *param_1)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  bool bVar3;\n  longlong lVar4;\n  longlong lVar5;\n  ushort uVar6;\n  int iVar7;\n  int in_GS_OFFSET;\n  int local_34;\n  int iStack_30;\n  int local_2c;\n  int iStack_28;\n  \n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  if ((*(ushort *)(param_1 + 1) & 0xd) != 0) {\n    uVar6 = *(ushort *)(param_1 + 1) & 0xbfed;\n    goto LAB_00024381;\n  }\n  iVar7 = FUN_0001ba60(*(undefined1 *)((int)param_1 + 10));\n  if (iVar7 == 0) {\n    uVar6 = *(ushort *)(param_1 + 1) & 0x3e00 | 4;\n    goto LAB_00024381;\n  }\n  lVar5 = *param_1;\n  uVar2 = *(undefined4 *)((int)param_1 + 4);\n  lVar4 = *param_1;\n  FUN_0001b260(*(undefined1 *)((int)param_1 + 10));\n  if (iVar7 == 1) {\n    local_2c = SUB84((double)lVar4,0);\n    local_34 = (int)*param_1;\n    if (local_34 == local_2c) {\n      iStack_28 = (int)((ulonglong)(double)lVar4 >> 0x20);\n      bVar3 = false;\n      iStack_30 = (int)((ulonglong)*param_1 >> 0x20);\n      if (iStack_30 != iStack_28) goto LAB_0002441e;\n    }\n    else {\nLAB_0002441e:\n      bVar3 = true;\n    }\n    uVar6 = *(ushort *)(param_1 + 1) & 0x3e00;\n    if (!bVar3) {\n      *(int *)param_1 = (int)lVar5;\n      uVar6 = uVar6 | 4;\n      *(undefined4 *)((int)param_1 + 4) = uVar2;\n      goto LAB_00024381;\n    }\n  }\n  else {\n    uVar6 = *(ushort *)(param_1 + 1) & 0x3e00;\n  }\n  uVar6 = uVar6 | 8;\nLAB_00024381:\n  *(ushort *)(param_1 + 1) = uVar6;\n  if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_000f6410();\n  }\n  return 0;\n}\n\n" (function_definition "undefined4 __regparm3 FUN_00024360(longlong *param_1)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  bool bVar3;\n  longlong lVar4;\n  longlong lVar5;\n  ushort uVar6;\n  int iVar7;\n  int in_GS_OFFSET;\n  int local_34;\n  int iStack_30;\n  int local_2c;\n  int iStack_28;\n  \n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  if ((*(ushort *)(param_1 + 1) & 0xd) != 0) {\n    uVar6 = *(ushort *)(param_1 + 1) & 0xbfed;\n    goto LAB_00024381;\n  }\n  iVar7 = FUN_0001ba60(*(undefined1 *)((int)param_1 + 10));\n  if (iVar7 == 0) {\n    uVar6 = *(ushort *)(param_1 + 1) & 0x3e00 | 4;\n    goto LAB_00024381;\n  }\n  lVar5 = *param_1;\n  uVar2 = *(undefined4 *)((int)param_1 + 4);\n  lVar4 = *param_1;\n  FUN_0001b260(*(undefined1 *)((int)param_1 + 10));\n  if (iVar7 == 1) {\n    local_2c = SUB84((double)lVar4,0);\n    local_34 = (int)*param_1;\n    if (local_34 == local_2c) {\n      iStack_28 = (int)((ulonglong)(double)lVar4 >> 0x20);\n      bVar3 = false;\n      iStack_30 = (int)((ulonglong)*param_1 >> 0x20);\n      if (iStack_30 != iStack_28) goto LAB_0002441e;\n    }\n    else {\nLAB_0002441e:\n      bVar3 = true;\n    }\n    uVar6 = *(ushort *)(param_1 + 1) & 0x3e00;\n    if (!bVar3) {\n      *(int *)param_1 = (int)lVar5;\n      uVar6 = uVar6 | 4;\n      *(undefined4 *)((int)param_1 + 4) = uVar2;\n      goto LAB_00024381;\n    }\n  }\n  else {\n    uVar6 = *(ushort *)(param_1 + 1) & 0x3e00;\n  }\n  uVar6 = uVar6 | 8;\nLAB_00024381:\n  *(ushort *)(param_1 + 1) = uVar6;\n  if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_000f6410();\n  }\n  return 0;\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "FUN_00024360(longlong *param_1)" identifier (parameter_list "(longlong *param_1)" ( (parameter_declaration "longlong *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  bool bVar3;\n  longlong lVar4;\n  longlong lVar5;\n  ushort uVar6;\n  int iVar7;\n  int in_GS_OFFSET;\n  int local_34;\n  int iStack_30;\n  int local_2c;\n  int iStack_28;\n  \n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  if ((*(ushort *)(param_1 + 1) & 0xd) != 0) {\n    uVar6 = *(ushort *)(param_1 + 1) & 0xbfed;\n    goto LAB_00024381;\n  }\n  iVar7 = FUN_0001ba60(*(undefined1 *)((int)param_1 + 10));\n  if (iVar7 == 0) {\n    uVar6 = *(ushort *)(param_1 + 1) & 0x3e00 | 4;\n    goto LAB_00024381;\n  }\n  lVar5 = *param_1;\n  uVar2 = *(undefined4 *)((int)param_1 + 4);\n  lVar4 = *param_1;\n  FUN_0001b260(*(undefined1 *)((int)param_1 + 10));\n  if (iVar7 == 1) {\n    local_2c = SUB84((double)lVar4,0);\n    local_34 = (int)*param_1;\n    if (local_34 == local_2c) {\n      iStack_28 = (int)((ulonglong)(double)lVar4 >> 0x20);\n      bVar3 = false;\n      iStack_30 = (int)((ulonglong)*param_1 >> 0x20);\n      if (iStack_30 != iStack_28) goto LAB_0002441e;\n    }\n    else {\nLAB_0002441e:\n      bVar3 = true;\n    }\n    uVar6 = *(ushort *)(param_1 + 1) & 0x3e00;\n    if (!bVar3) {\n      *(int *)param_1 = (int)lVar5;\n      uVar6 = uVar6 | 4;\n      *(undefined4 *)((int)param_1 + 4) = uVar2;\n      goto LAB_00024381;\n    }\n  }\n  else {\n    uVar6 = *(ushort *)(param_1 + 1) & 0x3e00;\n  }\n  uVar6 = uVar6 | 8;\nLAB_00024381:\n  *(ushort *)(param_1 + 1) = uVar6;\n  if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_000f6410();\n  }\n  return 0;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "bool bVar3;" primitive_type identifier ;) (declaration "longlong lVar4;" type_identifier identifier ;) (declaration "longlong lVar5;" type_identifier identifier ;) (declaration "ushort uVar6;" type_identifier identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "int local_34;" primitive_type identifier ;) (declaration "int iStack_30;" primitive_type identifier ;) (declaration "int local_2c;" primitive_type identifier ;) (declaration "int iStack_28;" primitive_type identifier ;) (expression_statement "iVar1 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "iVar1 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (if_statement "if ((*(ushort *)(param_1 + 1) & 0xd) != 0) {\n    uVar6 = *(ushort *)(param_1 + 1) & 0xbfed;\n    goto LAB_00024381;\n  }" if (parenthesized_expression "((*(ushort *)(param_1 + 1) & 0xd) != 0)" ( (binary_expression "(*(ushort *)(param_1 + 1) & 0xd) != 0" (parenthesized_expression "(*(ushort *)(param_1 + 1) & 0xd)" ( (binary_expression "*(ushort *)(param_1 + 1) & 0xd" (pointer_expression "*(ushort *)(param_1 + 1)" * (cast_expression "(ushort *)(param_1 + 1)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 1)" ( (binary_expression "param_1 + 1" identifier + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n    uVar6 = *(ushort *)(param_1 + 1) & 0xbfed;\n    goto LAB_00024381;\n  }" { (expression_statement "uVar6 = *(ushort *)(param_1 + 1) & 0xbfed;" (assignment_expression "uVar6 = *(ushort *)(param_1 + 1) & 0xbfed" identifier = (binary_expression "*(ushort *)(param_1 + 1) & 0xbfed" (pointer_expression "*(ushort *)(param_1 + 1)" * (cast_expression "(ushort *)(param_1 + 1)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 1)" ( (binary_expression "param_1 + 1" identifier + number_literal) )))) & number_literal)) ;) (goto_statement "goto LAB_00024381;" goto statement_identifier ;) })) (expression_statement "iVar7 = FUN_0001ba60(*(undefined1 *)((int)param_1 + 10));" (assignment_expression "iVar7 = FUN_0001ba60(*(undefined1 *)((int)param_1 + 10))" identifier = (call_expression "FUN_0001ba60(*(undefined1 *)((int)param_1 + 10))" identifier (argument_list "(*(undefined1 *)((int)param_1 + 10))" ( (pointer_expression "*(undefined1 *)((int)param_1 + 10)" * (cast_expression "(undefined1 *)((int)param_1 + 10)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 10)" ( (binary_expression "(int)param_1 + 10" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) )))) ;) (if_statement "if (iVar7 == 0) {\n    uVar6 = *(ushort *)(param_1 + 1) & 0x3e00 | 4;\n    goto LAB_00024381;\n  }" if (parenthesized_expression "(iVar7 == 0)" ( (binary_expression "iVar7 == 0" identifier == number_literal) )) (compound_statement "{\n    uVar6 = *(ushort *)(param_1 + 1) & 0x3e00 | 4;\n    goto LAB_00024381;\n  }" { (expression_statement "uVar6 = *(ushort *)(param_1 + 1) & 0x3e00 | 4;" (assignment_expression "uVar6 = *(ushort *)(param_1 + 1) & 0x3e00 | 4" identifier = (binary_expression "*(ushort *)(param_1 + 1) & 0x3e00 | 4" (binary_expression "*(ushort *)(param_1 + 1) & 0x3e00" (pointer_expression "*(ushort *)(param_1 + 1)" * (cast_expression "(ushort *)(param_1 + 1)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 1)" ( (binary_expression "param_1 + 1" identifier + number_literal) )))) & number_literal) | number_literal)) ;) (goto_statement "goto LAB_00024381;" goto statement_identifier ;) })) (expression_statement "lVar5 = *param_1;" (assignment_expression "lVar5 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "uVar2 = *(undefined4 *)((int)param_1 + 4);" (assignment_expression "uVar2 = *(undefined4 *)((int)param_1 + 4)" identifier = (pointer_expression "*(undefined4 *)((int)param_1 + 4)" * (cast_expression "(undefined4 *)((int)param_1 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 4)" ( (binary_expression "(int)param_1 + 4" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (expression_statement "lVar4 = *param_1;" (assignment_expression "lVar4 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "FUN_0001b260(*(undefined1 *)((int)param_1 + 10));" (call_expression "FUN_0001b260(*(undefined1 *)((int)param_1 + 10))" identifier (argument_list "(*(undefined1 *)((int)param_1 + 10))" ( (pointer_expression "*(undefined1 *)((int)param_1 + 10)" * (cast_expression "(undefined1 *)((int)param_1 + 10)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 10)" ( (binary_expression "(int)param_1 + 10" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ))) ;) (if_statement "if (iVar7 == 1) {\n    local_2c = SUB84((double)lVar4,0);\n    local_34 = (int)*param_1;\n    if (local_34 == local_2c) {\n      iStack_28 = (int)((ulonglong)(double)lVar4 >> 0x20);\n      bVar3 = false;\n      iStack_30 = (int)((ulonglong)*param_1 >> 0x20);\n      if (iStack_30 != iStack_28) goto LAB_0002441e;\n    }\n    else {\nLAB_0002441e:\n      bVar3 = true;\n    }\n    uVar6 = *(ushort *)(param_1 + 1) & 0x3e00;\n    if (!bVar3) {\n      *(int *)param_1 = (int)lVar5;\n      uVar6 = uVar6 | 4;\n      *(undefined4 *)((int)param_1 + 4) = uVar2;\n      goto LAB_00024381;\n    }\n  }\n  else {\n    uVar6 = *(ushort *)(param_1 + 1) & 0x3e00;\n  }" if (parenthesized_expression "(iVar7 == 1)" ( (binary_expression "iVar7 == 1" identifier == number_literal) )) (compound_statement "{\n    local_2c = SUB84((double)lVar4,0);\n    local_34 = (int)*param_1;\n    if (local_34 == local_2c) {\n      iStack_28 = (int)((ulonglong)(double)lVar4 >> 0x20);\n      bVar3 = false;\n      iStack_30 = (int)((ulonglong)*param_1 >> 0x20);\n      if (iStack_30 != iStack_28) goto LAB_0002441e;\n    }\n    else {\nLAB_0002441e:\n      bVar3 = true;\n    }\n    uVar6 = *(ushort *)(param_1 + 1) & 0x3e00;\n    if (!bVar3) {\n      *(int *)param_1 = (int)lVar5;\n      uVar6 = uVar6 | 4;\n      *(undefined4 *)((int)param_1 + 4) = uVar2;\n      goto LAB_00024381;\n    }\n  }" { (expression_statement "local_2c = SUB84((double)lVar4,0);" (assignment_expression "local_2c = SUB84((double)lVar4,0)" identifier = (call_expression "SUB84((double)lVar4,0)" identifier (argument_list "((double)lVar4,0)" ( (cast_expression "(double)lVar4" ( (type_descriptor "double" primitive_type) ) identifier) , number_literal )))) ;) (expression_statement "local_34 = (int)*param_1;" (assignment_expression "local_34 = (int)*param_1" identifier = (cast_expression "(int)*param_1" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*param_1" * identifier))) ;) (if_statement "if (local_34 == local_2c) {\n      iStack_28 = (int)((ulonglong)(double)lVar4 >> 0x20);\n      bVar3 = false;\n      iStack_30 = (int)((ulonglong)*param_1 >> 0x20);\n      if (iStack_30 != iStack_28) goto LAB_0002441e;\n    }\n    else {\nLAB_0002441e:\n      bVar3 = true;\n    }" if (parenthesized_expression "(local_34 == local_2c)" ( (binary_expression "local_34 == local_2c" identifier == identifier) )) (compound_statement "{\n      iStack_28 = (int)((ulonglong)(double)lVar4 >> 0x20);\n      bVar3 = false;\n      iStack_30 = (int)((ulonglong)*param_1 >> 0x20);\n      if (iStack_30 != iStack_28) goto LAB_0002441e;\n    }" { (expression_statement "iStack_28 = (int)((ulonglong)(double)lVar4 >> 0x20);" (assignment_expression "iStack_28 = (int)((ulonglong)(double)lVar4 >> 0x20)" identifier = (cast_expression "(int)((ulonglong)(double)lVar4 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)(double)lVar4 >> 0x20)" ( (binary_expression "(ulonglong)(double)lVar4 >> 0x20" (cast_expression "(ulonglong)(double)lVar4" ( (type_descriptor "ulonglong" type_identifier) ) (cast_expression "(double)lVar4" ( (type_descriptor "double" primitive_type) ) identifier)) >> number_literal) )))) ;) (expression_statement "bVar3 = false;" (assignment_expression "bVar3 = false" identifier = false) ;) (expression_statement "iStack_30 = (int)((ulonglong)*param_1 >> 0x20);" (assignment_expression "iStack_30 = (int)((ulonglong)*param_1 >> 0x20)" identifier = (cast_expression "(int)((ulonglong)*param_1 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)*param_1 >> 0x20)" ( (binary_expression "(ulonglong)*param_1 >> 0x20" (binary_expression "(ulonglong)*param_1" (parenthesized_expression "(ulonglong)" ( identifier )) * identifier) >> number_literal) )))) ;) (if_statement "if (iStack_30 != iStack_28) goto LAB_0002441e;" if (parenthesized_expression "(iStack_30 != iStack_28)" ( (binary_expression "iStack_30 != iStack_28" identifier != identifier) )) (goto_statement "goto LAB_0002441e;" goto statement_identifier ;)) }) (else_clause "else {\nLAB_0002441e:\n      bVar3 = true;\n    }" else (compound_statement "{\nLAB_0002441e:\n      bVar3 = true;\n    }" { (labeled_statement "LAB_0002441e:\n      bVar3 = true;" statement_identifier : (expression_statement "bVar3 = true;" (assignment_expression "bVar3 = true" identifier = true) ;)) }))) (expression_statement "uVar6 = *(ushort *)(param_1 + 1) & 0x3e00;" (assignment_expression "uVar6 = *(ushort *)(param_1 + 1) & 0x3e00" identifier = (binary_expression "*(ushort *)(param_1 + 1) & 0x3e00" (pointer_expression "*(ushort *)(param_1 + 1)" * (cast_expression "(ushort *)(param_1 + 1)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 1)" ( (binary_expression "param_1 + 1" identifier + number_literal) )))) & number_literal)) ;) (if_statement "if (!bVar3) {\n      *(int *)param_1 = (int)lVar5;\n      uVar6 = uVar6 | 4;\n      *(undefined4 *)((int)param_1 + 4) = uVar2;\n      goto LAB_00024381;\n    }" if (parenthesized_expression "(!bVar3)" ( (unary_expression "!bVar3" ! identifier) )) (compound_statement "{\n      *(int *)param_1 = (int)lVar5;\n      uVar6 = uVar6 | 4;\n      *(undefined4 *)((int)param_1 + 4) = uVar2;\n      goto LAB_00024381;\n    }" { (expression_statement "*(int *)param_1 = (int)lVar5;" (assignment_expression "*(int *)param_1 = (int)lVar5" (pointer_expression "*(int *)param_1" * (cast_expression "(int *)param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) = (cast_expression "(int)lVar5" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "uVar6 = uVar6 | 4;" (assignment_expression "uVar6 = uVar6 | 4" identifier = (binary_expression "uVar6 | 4" identifier | number_literal)) ;) (expression_statement "*(undefined4 *)((int)param_1 + 4) = uVar2;" (assignment_expression "*(undefined4 *)((int)param_1 + 4) = uVar2" (pointer_expression "*(undefined4 *)((int)param_1 + 4)" * (cast_expression "(undefined4 *)((int)param_1 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 4)" ( (binary_expression "(int)param_1 + 4" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (goto_statement "goto LAB_00024381;" goto statement_identifier ;) })) }) (else_clause "else {\n    uVar6 = *(ushort *)(param_1 + 1) & 0x3e00;\n  }" else (compound_statement "{\n    uVar6 = *(ushort *)(param_1 + 1) & 0x3e00;\n  }" { (expression_statement "uVar6 = *(ushort *)(param_1 + 1) & 0x3e00;" (assignment_expression "uVar6 = *(ushort *)(param_1 + 1) & 0x3e00" identifier = (binary_expression "*(ushort *)(param_1 + 1) & 0x3e00" (pointer_expression "*(ushort *)(param_1 + 1)" * (cast_expression "(ushort *)(param_1 + 1)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 1)" ( (binary_expression "param_1 + 1" identifier + number_literal) )))) & number_literal)) ;) }))) (expression_statement "uVar6 = uVar6 | 8;" (assignment_expression "uVar6 = uVar6 | 8" identifier = (binary_expression "uVar6 | 8" identifier | number_literal)) ;) (labeled_statement "LAB_00024381:\n  *(ushort *)(param_1 + 1) = uVar6;" statement_identifier : (expression_statement "*(ushort *)(param_1 + 1) = uVar6;" (assignment_expression "*(ushort *)(param_1 + 1) = uVar6" (pointer_expression "*(ushort *)(param_1 + 1)" * (cast_expression "(ushort *)(param_1 + 1)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 1)" ( (binary_expression "param_1 + 1" identifier + number_literal) )))) = identifier) ;)) (if_statement "if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_000f6410();\n  }" if (parenthesized_expression "(iVar1 != *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "iVar1 != *(int *)(in_GS_OFFSET + 0x14)" identifier != (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    FUN_000f6410();\n  }" { comment (expression_statement "FUN_000f6410();" (call_expression "FUN_000f6410()" identifier (argument_list "()" ( ))) ;) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "int __regparm3 sqlite3VdbeMemNumerify(Mem *pMem)\n\n{\n  int iVar1;\n  int iVar2;\n  undefined4 uVar3;\n  bool bVar4;\n  longlong lVar5;\n  ushort uVar6;\n  int iVar7;\n  uint length;\n  int in_GS_OFFSET;\n  double *pResult;\n  u8 in_stack_ffffffb0;\n  int local_34;\n  int iStack_30;\n  double r2;\n  \n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  if ((pMem->flags & 0xd) != 0) {\n    uVar6 = pMem->flags & 0xbfed;\n    goto LAB_00024381;\n  }\n  length = (uint)pMem->enc;\n  pResult = (double *)0x243b5;\n  iVar7 = sqlite3Atoi64(pMem->z,(i64 *)pMem,pMem->n,pMem->enc);\n  if (iVar7 == 0) {\n    uVar6 = pMem->flags & 0x3e00 | 4;\n    goto LAB_00024381;\n  }\n  iVar2 = (pMem->u).nZero;\n  uVar3 = *(undefined4 *)((int)&pMem->u + 4);\n  lVar5 = (pMem->u).i;\n  sqlite3AtoF((char *)(uint)pMem->enc,pResult,length,in_stack_ffffffb0);\n  if (iVar7 == 1) {\n    r2._0_4_ = SUB84((double)lVar5,0);\n    local_34 = (pMem->u).nZero;\n    if (local_34 == r2._0_4_) {\n      r2._4_4_ = (int)((ulonglong)(double)lVar5 >> 0x20);\n      bVar4 = false;\n      iStack_30 = (int)((ulonglong)pMem->u >> 0x20);\n      if (iStack_30 != r2._4_4_) goto LAB_0002441e;\n    }\n    else {\nLAB_0002441e:\n      bVar4 = true;\n    }\n    uVar6 = pMem->flags & 0x3e00;\n    if (!bVar4) {\n      (pMem->u).nZero = iVar2;\n      uVar6 = uVar6 | 4;\n      *(undefined4 *)((int)&pMem->u + 4) = uVar3;\n      goto LAB_00024381;\n    }\n  }\n  else {\n    uVar6 = pMem->flags & 0x3e00;\n  }\n  uVar6 = uVar6 | 8;\nLAB_00024381:\n  pMem->flags = uVar6;\n  if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }\n  return 0;\n}\n\n" (function_definition "int __regparm3 sqlite3VdbeMemNumerify(Mem *pMem)\n\n{\n  int iVar1;\n  int iVar2;\n  undefined4 uVar3;\n  bool bVar4;\n  longlong lVar5;\n  ushort uVar6;\n  int iVar7;\n  uint length;\n  int in_GS_OFFSET;\n  double *pResult;\n  u8 in_stack_ffffffb0;\n  int local_34;\n  int iStack_30;\n  double r2;\n  \n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  if ((pMem->flags & 0xd) != 0) {\n    uVar6 = pMem->flags & 0xbfed;\n    goto LAB_00024381;\n  }\n  length = (uint)pMem->enc;\n  pResult = (double *)0x243b5;\n  iVar7 = sqlite3Atoi64(pMem->z,(i64 *)pMem,pMem->n,pMem->enc);\n  if (iVar7 == 0) {\n    uVar6 = pMem->flags & 0x3e00 | 4;\n    goto LAB_00024381;\n  }\n  iVar2 = (pMem->u).nZero;\n  uVar3 = *(undefined4 *)((int)&pMem->u + 4);\n  lVar5 = (pMem->u).i;\n  sqlite3AtoF((char *)(uint)pMem->enc,pResult,length,in_stack_ffffffb0);\n  if (iVar7 == 1) {\n    r2._0_4_ = SUB84((double)lVar5,0);\n    local_34 = (pMem->u).nZero;\n    if (local_34 == r2._0_4_) {\n      r2._4_4_ = (int)((ulonglong)(double)lVar5 >> 0x20);\n      bVar4 = false;\n      iStack_30 = (int)((ulonglong)pMem->u >> 0x20);\n      if (iStack_30 != r2._4_4_) goto LAB_0002441e;\n    }\n    else {\nLAB_0002441e:\n      bVar4 = true;\n    }\n    uVar6 = pMem->flags & 0x3e00;\n    if (!bVar4) {\n      (pMem->u).nZero = iVar2;\n      uVar6 = uVar6 | 4;\n      *(undefined4 *)((int)&pMem->u + 4) = uVar3;\n      goto LAB_00024381;\n    }\n  }\n  else {\n    uVar6 = pMem->flags & 0x3e00;\n  }\n  uVar6 = uVar6 | 8;\nLAB_00024381:\n  pMem->flags = uVar6;\n  if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }\n  return 0;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "sqlite3VdbeMemNumerify(Mem *pMem)" identifier (parameter_list "(Mem *pMem)" ( (parameter_declaration "Mem *pMem" type_identifier (pointer_declarator "*pMem" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  undefined4 uVar3;\n  bool bVar4;\n  longlong lVar5;\n  ushort uVar6;\n  int iVar7;\n  uint length;\n  int in_GS_OFFSET;\n  double *pResult;\n  u8 in_stack_ffffffb0;\n  int local_34;\n  int iStack_30;\n  double r2;\n  \n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  if ((pMem->flags & 0xd) != 0) {\n    uVar6 = pMem->flags & 0xbfed;\n    goto LAB_00024381;\n  }\n  length = (uint)pMem->enc;\n  pResult = (double *)0x243b5;\n  iVar7 = sqlite3Atoi64(pMem->z,(i64 *)pMem,pMem->n,pMem->enc);\n  if (iVar7 == 0) {\n    uVar6 = pMem->flags & 0x3e00 | 4;\n    goto LAB_00024381;\n  }\n  iVar2 = (pMem->u).nZero;\n  uVar3 = *(undefined4 *)((int)&pMem->u + 4);\n  lVar5 = (pMem->u).i;\n  sqlite3AtoF((char *)(uint)pMem->enc,pResult,length,in_stack_ffffffb0);\n  if (iVar7 == 1) {\n    r2._0_4_ = SUB84((double)lVar5,0);\n    local_34 = (pMem->u).nZero;\n    if (local_34 == r2._0_4_) {\n      r2._4_4_ = (int)((ulonglong)(double)lVar5 >> 0x20);\n      bVar4 = false;\n      iStack_30 = (int)((ulonglong)pMem->u >> 0x20);\n      if (iStack_30 != r2._4_4_) goto LAB_0002441e;\n    }\n    else {\nLAB_0002441e:\n      bVar4 = true;\n    }\n    uVar6 = pMem->flags & 0x3e00;\n    if (!bVar4) {\n      (pMem->u).nZero = iVar2;\n      uVar6 = uVar6 | 4;\n      *(undefined4 *)((int)&pMem->u + 4) = uVar3;\n      goto LAB_00024381;\n    }\n  }\n  else {\n    uVar6 = pMem->flags & 0x3e00;\n  }\n  uVar6 = uVar6 | 8;\nLAB_00024381:\n  pMem->flags = uVar6;\n  if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }\n  return 0;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "bool bVar4;" primitive_type identifier ;) (declaration "longlong lVar5;" type_identifier identifier ;) (declaration "ushort uVar6;" type_identifier identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "uint length;" type_identifier identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "double *pResult;" primitive_type (pointer_declarator "*pResult" * identifier) ;) (declaration "u8 in_stack_ffffffb0;" type_identifier identifier ;) (declaration "int local_34;" primitive_type identifier ;) (declaration "int iStack_30;" primitive_type identifier ;) (declaration "double r2;" primitive_type identifier ;) (expression_statement "iVar1 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "iVar1 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (if_statement "if ((pMem->flags & 0xd) != 0) {\n    uVar6 = pMem->flags & 0xbfed;\n    goto LAB_00024381;\n  }" if (parenthesized_expression "((pMem->flags & 0xd) != 0)" ( (binary_expression "(pMem->flags & 0xd) != 0" (parenthesized_expression "(pMem->flags & 0xd)" ( (binary_expression "pMem->flags & 0xd" (field_expression "pMem->flags" identifier -> field_identifier) & number_literal) )) != number_literal) )) (compound_statement "{\n    uVar6 = pMem->flags & 0xbfed;\n    goto LAB_00024381;\n  }" { (expression_statement "uVar6 = pMem->flags & 0xbfed;" (assignment_expression "uVar6 = pMem->flags & 0xbfed" identifier = (binary_expression "pMem->flags & 0xbfed" (field_expression "pMem->flags" identifier -> field_identifier) & number_literal)) ;) (goto_statement "goto LAB_00024381;" goto statement_identifier ;) })) (expression_statement "length = (uint)pMem->enc;" (assignment_expression "length = (uint)pMem->enc" identifier = (cast_expression "(uint)pMem->enc" ( (type_descriptor "uint" type_identifier) ) (field_expression "pMem->enc" identifier -> field_identifier))) ;) (expression_statement "pResult = (double *)0x243b5;" (assignment_expression "pResult = (double *)0x243b5" identifier = (cast_expression "(double *)0x243b5" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "iVar7 = sqlite3Atoi64(pMem->z,(i64 *)pMem,pMem->n,pMem->enc);" (assignment_expression "iVar7 = sqlite3Atoi64(pMem->z,(i64 *)pMem,pMem->n,pMem->enc)" identifier = (call_expression "sqlite3Atoi64(pMem->z,(i64 *)pMem,pMem->n,pMem->enc)" identifier (argument_list "(pMem->z,(i64 *)pMem,pMem->n,pMem->enc)" ( (field_expression "pMem->z" identifier -> field_identifier) , (cast_expression "(i64 *)pMem" ( (type_descriptor "i64 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , (field_expression "pMem->n" identifier -> field_identifier) , (field_expression "pMem->enc" identifier -> field_identifier) )))) ;) (if_statement "if (iVar7 == 0) {\n    uVar6 = pMem->flags & 0x3e00 | 4;\n    goto LAB_00024381;\n  }" if (parenthesized_expression "(iVar7 == 0)" ( (binary_expression "iVar7 == 0" identifier == number_literal) )) (compound_statement "{\n    uVar6 = pMem->flags & 0x3e00 | 4;\n    goto LAB_00024381;\n  }" { (expression_statement "uVar6 = pMem->flags & 0x3e00 | 4;" (assignment_expression "uVar6 = pMem->flags & 0x3e00 | 4" identifier = (binary_expression "pMem->flags & 0x3e00 | 4" (binary_expression "pMem->flags & 0x3e00" (field_expression "pMem->flags" identifier -> field_identifier) & number_literal) | number_literal)) ;) (goto_statement "goto LAB_00024381;" goto statement_identifier ;) })) (expression_statement "iVar2 = (pMem->u).nZero;" (assignment_expression "iVar2 = (pMem->u).nZero" identifier = (field_expression "(pMem->u).nZero" (parenthesized_expression "(pMem->u)" ( (field_expression "pMem->u" identifier -> field_identifier) )) . field_identifier)) ;) (expression_statement "uVar3 = *(undefined4 *)((int)&pMem->u + 4);" (assignment_expression "uVar3 = *(undefined4 *)((int)&pMem->u + 4)" identifier = (pointer_expression "*(undefined4 *)((int)&pMem->u + 4)" * (cast_expression "(undefined4 *)((int)&pMem->u + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&pMem->u + 4)" ( (binary_expression "(int)&pMem->u + 4" (cast_expression "(int)&pMem->u" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&pMem->u" & (field_expression "pMem->u" identifier -> field_identifier))) + number_literal) ))))) ;) (expression_statement "lVar5 = (pMem->u).i;" (assignment_expression "lVar5 = (pMem->u).i" identifier = (field_expression "(pMem->u).i" (parenthesized_expression "(pMem->u)" ( (field_expression "pMem->u" identifier -> field_identifier) )) . field_identifier)) ;) (expression_statement "sqlite3AtoF((char *)(uint)pMem->enc,pResult,length,in_stack_ffffffb0);" (call_expression "sqlite3AtoF((char *)(uint)pMem->enc,pResult,length,in_stack_ffffffb0)" identifier (argument_list "((char *)(uint)pMem->enc,pResult,length,in_stack_ffffffb0)" ( (cast_expression "(char *)(uint)pMem->enc" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (cast_expression "(uint)pMem->enc" ( (type_descriptor "uint" type_identifier) ) (field_expression "pMem->enc" identifier -> field_identifier))) , identifier , identifier , identifier ))) ;) (if_statement "if (iVar7 == 1) {\n    r2._0_4_ = SUB84((double)lVar5,0);\n    local_34 = (pMem->u).nZero;\n    if (local_34 == r2._0_4_) {\n      r2._4_4_ = (int)((ulonglong)(double)lVar5 >> 0x20);\n      bVar4 = false;\n      iStack_30 = (int)((ulonglong)pMem->u >> 0x20);\n      if (iStack_30 != r2._4_4_) goto LAB_0002441e;\n    }\n    else {\nLAB_0002441e:\n      bVar4 = true;\n    }\n    uVar6 = pMem->flags & 0x3e00;\n    if (!bVar4) {\n      (pMem->u).nZero = iVar2;\n      uVar6 = uVar6 | 4;\n      *(undefined4 *)((int)&pMem->u + 4) = uVar3;\n      goto LAB_00024381;\n    }\n  }\n  else {\n    uVar6 = pMem->flags & 0x3e00;\n  }" if (parenthesized_expression "(iVar7 == 1)" ( (binary_expression "iVar7 == 1" identifier == number_literal) )) (compound_statement "{\n    r2._0_4_ = SUB84((double)lVar5,0);\n    local_34 = (pMem->u).nZero;\n    if (local_34 == r2._0_4_) {\n      r2._4_4_ = (int)((ulonglong)(double)lVar5 >> 0x20);\n      bVar4 = false;\n      iStack_30 = (int)((ulonglong)pMem->u >> 0x20);\n      if (iStack_30 != r2._4_4_) goto LAB_0002441e;\n    }\n    else {\nLAB_0002441e:\n      bVar4 = true;\n    }\n    uVar6 = pMem->flags & 0x3e00;\n    if (!bVar4) {\n      (pMem->u).nZero = iVar2;\n      uVar6 = uVar6 | 4;\n      *(undefined4 *)((int)&pMem->u + 4) = uVar3;\n      goto LAB_00024381;\n    }\n  }" { (expression_statement "r2._0_4_ = SUB84((double)lVar5,0);" (assignment_expression "r2._0_4_ = SUB84((double)lVar5,0)" (field_expression "r2._0_4_" identifier . field_identifier) = (call_expression "SUB84((double)lVar5,0)" identifier (argument_list "((double)lVar5,0)" ( (cast_expression "(double)lVar5" ( (type_descriptor "double" primitive_type) ) identifier) , number_literal )))) ;) (expression_statement "local_34 = (pMem->u).nZero;" (assignment_expression "local_34 = (pMem->u).nZero" identifier = (field_expression "(pMem->u).nZero" (parenthesized_expression "(pMem->u)" ( (field_expression "pMem->u" identifier -> field_identifier) )) . field_identifier)) ;) (if_statement "if (local_34 == r2._0_4_) {\n      r2._4_4_ = (int)((ulonglong)(double)lVar5 >> 0x20);\n      bVar4 = false;\n      iStack_30 = (int)((ulonglong)pMem->u >> 0x20);\n      if (iStack_30 != r2._4_4_) goto LAB_0002441e;\n    }\n    else {\nLAB_0002441e:\n      bVar4 = true;\n    }" if (parenthesized_expression "(local_34 == r2._0_4_)" ( (binary_expression "local_34 == r2._0_4_" identifier == (field_expression "r2._0_4_" identifier . field_identifier)) )) (compound_statement "{\n      r2._4_4_ = (int)((ulonglong)(double)lVar5 >> 0x20);\n      bVar4 = false;\n      iStack_30 = (int)((ulonglong)pMem->u >> 0x20);\n      if (iStack_30 != r2._4_4_) goto LAB_0002441e;\n    }" { (expression_statement "r2._4_4_ = (int)((ulonglong)(double)lVar5 >> 0x20);" (assignment_expression "r2._4_4_ = (int)((ulonglong)(double)lVar5 >> 0x20)" (field_expression "r2._4_4_" identifier . field_identifier) = (cast_expression "(int)((ulonglong)(double)lVar5 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)(double)lVar5 >> 0x20)" ( (binary_expression "(ulonglong)(double)lVar5 >> 0x20" (cast_expression "(ulonglong)(double)lVar5" ( (type_descriptor "ulonglong" type_identifier) ) (cast_expression "(double)lVar5" ( (type_descriptor "double" primitive_type) ) identifier)) >> number_literal) )))) ;) (expression_statement "bVar4 = false;" (assignment_expression "bVar4 = false" identifier = false) ;) (expression_statement "iStack_30 = (int)((ulonglong)pMem->u >> 0x20);" (assignment_expression "iStack_30 = (int)((ulonglong)pMem->u >> 0x20)" identifier = (cast_expression "(int)((ulonglong)pMem->u >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)pMem->u >> 0x20)" ( (binary_expression "(ulonglong)pMem->u >> 0x20" (cast_expression "(ulonglong)pMem->u" ( (type_descriptor "ulonglong" type_identifier) ) (field_expression "pMem->u" identifier -> field_identifier)) >> number_literal) )))) ;) (if_statement "if (iStack_30 != r2._4_4_) goto LAB_0002441e;" if (parenthesized_expression "(iStack_30 != r2._4_4_)" ( (binary_expression "iStack_30 != r2._4_4_" identifier != (field_expression "r2._4_4_" identifier . field_identifier)) )) (goto_statement "goto LAB_0002441e;" goto statement_identifier ;)) }) (else_clause "else {\nLAB_0002441e:\n      bVar4 = true;\n    }" else (compound_statement "{\nLAB_0002441e:\n      bVar4 = true;\n    }" { (labeled_statement "LAB_0002441e:\n      bVar4 = true;" statement_identifier : (expression_statement "bVar4 = true;" (assignment_expression "bVar4 = true" identifier = true) ;)) }))) (expression_statement "uVar6 = pMem->flags & 0x3e00;" (assignment_expression "uVar6 = pMem->flags & 0x3e00" identifier = (binary_expression "pMem->flags & 0x3e00" (field_expression "pMem->flags" identifier -> field_identifier) & number_literal)) ;) (if_statement "if (!bVar4) {\n      (pMem->u).nZero = iVar2;\n      uVar6 = uVar6 | 4;\n      *(undefined4 *)((int)&pMem->u + 4) = uVar3;\n      goto LAB_00024381;\n    }" if (parenthesized_expression "(!bVar4)" ( (unary_expression "!bVar4" ! identifier) )) (compound_statement "{\n      (pMem->u).nZero = iVar2;\n      uVar6 = uVar6 | 4;\n      *(undefined4 *)((int)&pMem->u + 4) = uVar3;\n      goto LAB_00024381;\n    }" { (expression_statement "(pMem->u).nZero = iVar2;" (assignment_expression "(pMem->u).nZero = iVar2" (field_expression "(pMem->u).nZero" (parenthesized_expression "(pMem->u)" ( (field_expression "pMem->u" identifier -> field_identifier) )) . field_identifier) = identifier) ;) (expression_statement "uVar6 = uVar6 | 4;" (assignment_expression "uVar6 = uVar6 | 4" identifier = (binary_expression "uVar6 | 4" identifier | number_literal)) ;) (expression_statement "*(undefined4 *)((int)&pMem->u + 4) = uVar3;" (assignment_expression "*(undefined4 *)((int)&pMem->u + 4) = uVar3" (pointer_expression "*(undefined4 *)((int)&pMem->u + 4)" * (cast_expression "(undefined4 *)((int)&pMem->u + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&pMem->u + 4)" ( (binary_expression "(int)&pMem->u + 4" (cast_expression "(int)&pMem->u" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&pMem->u" & (field_expression "pMem->u" identifier -> field_identifier))) + number_literal) )))) = identifier) ;) (goto_statement "goto LAB_00024381;" goto statement_identifier ;) })) }) (else_clause "else {\n    uVar6 = pMem->flags & 0x3e00;\n  }" else (compound_statement "{\n    uVar6 = pMem->flags & 0x3e00;\n  }" { (expression_statement "uVar6 = pMem->flags & 0x3e00;" (assignment_expression "uVar6 = pMem->flags & 0x3e00" identifier = (binary_expression "pMem->flags & 0x3e00" (field_expression "pMem->flags" identifier -> field_identifier) & number_literal)) ;) }))) (expression_statement "uVar6 = uVar6 | 8;" (assignment_expression "uVar6 = uVar6 | 8" identifier = (binary_expression "uVar6 | 8" identifier | number_literal)) ;) (labeled_statement "LAB_00024381:\n  pMem->flags = uVar6;" statement_identifier : (expression_statement "pMem->flags = uVar6;" (assignment_expression "pMem->flags = uVar6" (field_expression "pMem->flags" identifier -> field_identifier) = identifier) ;)) (if_statement "if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }" if (parenthesized_expression "(iVar1 != *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "iVar1 != *(int *)(in_GS_OFFSET + 0x14)" identifier != (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }" { comment (expression_statement "__stack_chk_fail_local();" (call_expression "__stack_chk_fail_local()" identifier (argument_list "()" ( ))) ;) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "undefined4 __regparm3 FUN_00024360(longlong *param_1)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  bool bVar3;\n  longlong lVar4;\n  longlong lVar5;\n  ushort uVar6;\n  int iVar7;\n  int in_GS_OFFSET;\n  int local_34;\n  int iStack_30;\n  int local_2c;\n  int iStack_28;\n  \n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  if ((*(ushort *)(param_1 + 1) & 0xd) != 0) {\n    uVar6 = *(ushort *)(param_1 + 1) & 0xbfed;\n    goto LAB_00024381;\n  }\n  iVar7 = FUN_0001ba60(*(undefined1 *)((int)param_1 + 10));\n  if (iVar7 == 0) {\n    uVar6 = *(ushort *)(param_1 + 1) & 0x3e00 | 4;\n    goto LAB_00024381;\n  }\n  lVar5 = *param_1;\n  uVar2 = *(undefined4 *)((int)param_1 + 4);\n  lVar4 = *param_1;\n  FUN_0001b260(*(undefined1 *)((int)param_1 + 10));\n  if (iVar7 == 1) {\n    local_2c = SUB84((double)lVar4,0);\n    local_34 = (int)*param_1;\n    if (local_34 == local_2c) {\n      iStack_28 = (int)((ulonglong)(double)lVar4 >> 0x20);\n      bVar3 = false;\n      iStack_30 = (int)((ulonglong)*param_1 >> 0x20);\n      if (iStack_30 != iStack_28) goto LAB_0002441e;\n    }\n    else {\nLAB_0002441e:\n      bVar3 = true;\n    }\n    uVar6 = *(ushort *)(param_1 + 1) & 0x3e00;\n    if (!bVar3) {\n      *(int *)param_1 = (int)lVar5;\n      uVar6 = uVar6 | 4;\n      *(undefined4 *)((int)param_1 + 4) = uVar2;\n      goto LAB_00024381;\n    }\n  }\n  else {\n    uVar6 = *(ushort *)(param_1 + 1) & 0x3e00;\n  }\n  uVar6 = uVar6 | 8;\nLAB_00024381:\n  *(ushort *)(param_1 + 1) = uVar6;\n  if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_000f6410();\n  }\n  return 0;\n}\n\n" (function_definition "undefined4 __regparm3 FUN_00024360(longlong *param_1)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  bool bVar3;\n  longlong lVar4;\n  longlong lVar5;\n  ushort uVar6;\n  int iVar7;\n  int in_GS_OFFSET;\n  int local_34;\n  int iStack_30;\n  int local_2c;\n  int iStack_28;\n  \n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  if ((*(ushort *)(param_1 + 1) & 0xd) != 0) {\n    uVar6 = *(ushort *)(param_1 + 1) & 0xbfed;\n    goto LAB_00024381;\n  }\n  iVar7 = FUN_0001ba60(*(undefined1 *)((int)param_1 + 10));\n  if (iVar7 == 0) {\n    uVar6 = *(ushort *)(param_1 + 1) & 0x3e00 | 4;\n    goto LAB_00024381;\n  }\n  lVar5 = *param_1;\n  uVar2 = *(undefined4 *)((int)param_1 + 4);\n  lVar4 = *param_1;\n  FUN_0001b260(*(undefined1 *)((int)param_1 + 10));\n  if (iVar7 == 1) {\n    local_2c = SUB84((double)lVar4,0);\n    local_34 = (int)*param_1;\n    if (local_34 == local_2c) {\n      iStack_28 = (int)((ulonglong)(double)lVar4 >> 0x20);\n      bVar3 = false;\n      iStack_30 = (int)((ulonglong)*param_1 >> 0x20);\n      if (iStack_30 != iStack_28) goto LAB_0002441e;\n    }\n    else {\nLAB_0002441e:\n      bVar3 = true;\n    }\n    uVar6 = *(ushort *)(param_1 + 1) & 0x3e00;\n    if (!bVar3) {\n      *(int *)param_1 = (int)lVar5;\n      uVar6 = uVar6 | 4;\n      *(undefined4 *)((int)param_1 + 4) = uVar2;\n      goto LAB_00024381;\n    }\n  }\n  else {\n    uVar6 = *(ushort *)(param_1 + 1) & 0x3e00;\n  }\n  uVar6 = uVar6 | 8;\nLAB_00024381:\n  *(ushort *)(param_1 + 1) = uVar6;\n  if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_000f6410();\n  }\n  return 0;\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "FUN_00024360(longlong *param_1)" identifier (parameter_list "(longlong *param_1)" ( (parameter_declaration "longlong *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  bool bVar3;\n  longlong lVar4;\n  longlong lVar5;\n  ushort uVar6;\n  int iVar7;\n  int in_GS_OFFSET;\n  int local_34;\n  int iStack_30;\n  int local_2c;\n  int iStack_28;\n  \n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  if ((*(ushort *)(param_1 + 1) & 0xd) != 0) {\n    uVar6 = *(ushort *)(param_1 + 1) & 0xbfed;\n    goto LAB_00024381;\n  }\n  iVar7 = FUN_0001ba60(*(undefined1 *)((int)param_1 + 10));\n  if (iVar7 == 0) {\n    uVar6 = *(ushort *)(param_1 + 1) & 0x3e00 | 4;\n    goto LAB_00024381;\n  }\n  lVar5 = *param_1;\n  uVar2 = *(undefined4 *)((int)param_1 + 4);\n  lVar4 = *param_1;\n  FUN_0001b260(*(undefined1 *)((int)param_1 + 10));\n  if (iVar7 == 1) {\n    local_2c = SUB84((double)lVar4,0);\n    local_34 = (int)*param_1;\n    if (local_34 == local_2c) {\n      iStack_28 = (int)((ulonglong)(double)lVar4 >> 0x20);\n      bVar3 = false;\n      iStack_30 = (int)((ulonglong)*param_1 >> 0x20);\n      if (iStack_30 != iStack_28) goto LAB_0002441e;\n    }\n    else {\nLAB_0002441e:\n      bVar3 = true;\n    }\n    uVar6 = *(ushort *)(param_1 + 1) & 0x3e00;\n    if (!bVar3) {\n      *(int *)param_1 = (int)lVar5;\n      uVar6 = uVar6 | 4;\n      *(undefined4 *)((int)param_1 + 4) = uVar2;\n      goto LAB_00024381;\n    }\n  }\n  else {\n    uVar6 = *(ushort *)(param_1 + 1) & 0x3e00;\n  }\n  uVar6 = uVar6 | 8;\nLAB_00024381:\n  *(ushort *)(param_1 + 1) = uVar6;\n  if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_000f6410();\n  }\n  return 0;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "bool bVar3;" primitive_type identifier ;) (declaration "longlong lVar4;" type_identifier identifier ;) (declaration "longlong lVar5;" type_identifier identifier ;) (declaration "ushort uVar6;" type_identifier identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "int local_34;" primitive_type identifier ;) (declaration "int iStack_30;" primitive_type identifier ;) (declaration "int local_2c;" primitive_type identifier ;) (declaration "int iStack_28;" primitive_type identifier ;) (expression_statement "iVar1 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "iVar1 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (if_statement "if ((*(ushort *)(param_1 + 1) & 0xd) != 0) {\n    uVar6 = *(ushort *)(param_1 + 1) & 0xbfed;\n    goto LAB_00024381;\n  }" if (parenthesized_expression "((*(ushort *)(param_1 + 1) & 0xd) != 0)" ( (binary_expression "(*(ushort *)(param_1 + 1) & 0xd) != 0" (parenthesized_expression "(*(ushort *)(param_1 + 1) & 0xd)" ( (binary_expression "*(ushort *)(param_1 + 1) & 0xd" (pointer_expression "*(ushort *)(param_1 + 1)" * (cast_expression "(ushort *)(param_1 + 1)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 1)" ( (binary_expression "param_1 + 1" identifier + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n    uVar6 = *(ushort *)(param_1 + 1) & 0xbfed;\n    goto LAB_00024381;\n  }" { (expression_statement "uVar6 = *(ushort *)(param_1 + 1) & 0xbfed;" (assignment_expression "uVar6 = *(ushort *)(param_1 + 1) & 0xbfed" identifier = (binary_expression "*(ushort *)(param_1 + 1) & 0xbfed" (pointer_expression "*(ushort *)(param_1 + 1)" * (cast_expression "(ushort *)(param_1 + 1)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 1)" ( (binary_expression "param_1 + 1" identifier + number_literal) )))) & number_literal)) ;) (goto_statement "goto LAB_00024381;" goto statement_identifier ;) })) (expression_statement "iVar7 = FUN_0001ba60(*(undefined1 *)((int)param_1 + 10));" (assignment_expression "iVar7 = FUN_0001ba60(*(undefined1 *)((int)param_1 + 10))" identifier = (call_expression "FUN_0001ba60(*(undefined1 *)((int)param_1 + 10))" identifier (argument_list "(*(undefined1 *)((int)param_1 + 10))" ( (pointer_expression "*(undefined1 *)((int)param_1 + 10)" * (cast_expression "(undefined1 *)((int)param_1 + 10)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 10)" ( (binary_expression "(int)param_1 + 10" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) )))) ;) (if_statement "if (iVar7 == 0) {\n    uVar6 = *(ushort *)(param_1 + 1) & 0x3e00 | 4;\n    goto LAB_00024381;\n  }" if (parenthesized_expression "(iVar7 == 0)" ( (binary_expression "iVar7 == 0" identifier == number_literal) )) (compound_statement "{\n    uVar6 = *(ushort *)(param_1 + 1) & 0x3e00 | 4;\n    goto LAB_00024381;\n  }" { (expression_statement "uVar6 = *(ushort *)(param_1 + 1) & 0x3e00 | 4;" (assignment_expression "uVar6 = *(ushort *)(param_1 + 1) & 0x3e00 | 4" identifier = (binary_expression "*(ushort *)(param_1 + 1) & 0x3e00 | 4" (binary_expression "*(ushort *)(param_1 + 1) & 0x3e00" (pointer_expression "*(ushort *)(param_1 + 1)" * (cast_expression "(ushort *)(param_1 + 1)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 1)" ( (binary_expression "param_1 + 1" identifier + number_literal) )))) & number_literal) | number_literal)) ;) (goto_statement "goto LAB_00024381;" goto statement_identifier ;) })) (expression_statement "lVar5 = *param_1;" (assignment_expression "lVar5 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "uVar2 = *(undefined4 *)((int)param_1 + 4);" (assignment_expression "uVar2 = *(undefined4 *)((int)param_1 + 4)" identifier = (pointer_expression "*(undefined4 *)((int)param_1 + 4)" * (cast_expression "(undefined4 *)((int)param_1 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 4)" ( (binary_expression "(int)param_1 + 4" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (expression_statement "lVar4 = *param_1;" (assignment_expression "lVar4 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "FUN_0001b260(*(undefined1 *)((int)param_1 + 10));" (call_expression "FUN_0001b260(*(undefined1 *)((int)param_1 + 10))" identifier (argument_list "(*(undefined1 *)((int)param_1 + 10))" ( (pointer_expression "*(undefined1 *)((int)param_1 + 10)" * (cast_expression "(undefined1 *)((int)param_1 + 10)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 10)" ( (binary_expression "(int)param_1 + 10" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ))) ;) (if_statement "if (iVar7 == 1) {\n    local_2c = SUB84((double)lVar4,0);\n    local_34 = (int)*param_1;\n    if (local_34 == local_2c) {\n      iStack_28 = (int)((ulonglong)(double)lVar4 >> 0x20);\n      bVar3 = false;\n      iStack_30 = (int)((ulonglong)*param_1 >> 0x20);\n      if (iStack_30 != iStack_28) goto LAB_0002441e;\n    }\n    else {\nLAB_0002441e:\n      bVar3 = true;\n    }\n    uVar6 = *(ushort *)(param_1 + 1) & 0x3e00;\n    if (!bVar3) {\n      *(int *)param_1 = (int)lVar5;\n      uVar6 = uVar6 | 4;\n      *(undefined4 *)((int)param_1 + 4) = uVar2;\n      goto LAB_00024381;\n    }\n  }\n  else {\n    uVar6 = *(ushort *)(param_1 + 1) & 0x3e00;\n  }" if (parenthesized_expression "(iVar7 == 1)" ( (binary_expression "iVar7 == 1" identifier == number_literal) )) (compound_statement "{\n    local_2c = SUB84((double)lVar4,0);\n    local_34 = (int)*param_1;\n    if (local_34 == local_2c) {\n      iStack_28 = (int)((ulonglong)(double)lVar4 >> 0x20);\n      bVar3 = false;\n      iStack_30 = (int)((ulonglong)*param_1 >> 0x20);\n      if (iStack_30 != iStack_28) goto LAB_0002441e;\n    }\n    else {\nLAB_0002441e:\n      bVar3 = true;\n    }\n    uVar6 = *(ushort *)(param_1 + 1) & 0x3e00;\n    if (!bVar3) {\n      *(int *)param_1 = (int)lVar5;\n      uVar6 = uVar6 | 4;\n      *(undefined4 *)((int)param_1 + 4) = uVar2;\n      goto LAB_00024381;\n    }\n  }" { (expression_statement "local_2c = SUB84((double)lVar4,0);" (assignment_expression "local_2c = SUB84((double)lVar4,0)" identifier = (call_expression "SUB84((double)lVar4,0)" identifier (argument_list "((double)lVar4,0)" ( (cast_expression "(double)lVar4" ( (type_descriptor "double" primitive_type) ) identifier) , number_literal )))) ;) (expression_statement "local_34 = (int)*param_1;" (assignment_expression "local_34 = (int)*param_1" identifier = (cast_expression "(int)*param_1" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*param_1" * identifier))) ;) (if_statement "if (local_34 == local_2c) {\n      iStack_28 = (int)((ulonglong)(double)lVar4 >> 0x20);\n      bVar3 = false;\n      iStack_30 = (int)((ulonglong)*param_1 >> 0x20);\n      if (iStack_30 != iStack_28) goto LAB_0002441e;\n    }\n    else {\nLAB_0002441e:\n      bVar3 = true;\n    }" if (parenthesized_expression "(local_34 == local_2c)" ( (binary_expression "local_34 == local_2c" identifier == identifier) )) (compound_statement "{\n      iStack_28 = (int)((ulonglong)(double)lVar4 >> 0x20);\n      bVar3 = false;\n      iStack_30 = (int)((ulonglong)*param_1 >> 0x20);\n      if (iStack_30 != iStack_28) goto LAB_0002441e;\n    }" { (expression_statement "iStack_28 = (int)((ulonglong)(double)lVar4 >> 0x20);" (assignment_expression "iStack_28 = (int)((ulonglong)(double)lVar4 >> 0x20)" identifier = (cast_expression "(int)((ulonglong)(double)lVar4 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)(double)lVar4 >> 0x20)" ( (binary_expression "(ulonglong)(double)lVar4 >> 0x20" (cast_expression "(ulonglong)(double)lVar4" ( (type_descriptor "ulonglong" type_identifier) ) (cast_expression "(double)lVar4" ( (type_descriptor "double" primitive_type) ) identifier)) >> number_literal) )))) ;) (expression_statement "bVar3 = false;" (assignment_expression "bVar3 = false" identifier = false) ;) (expression_statement "iStack_30 = (int)((ulonglong)*param_1 >> 0x20);" (assignment_expression "iStack_30 = (int)((ulonglong)*param_1 >> 0x20)" identifier = (cast_expression "(int)((ulonglong)*param_1 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)*param_1 >> 0x20)" ( (binary_expression "(ulonglong)*param_1 >> 0x20" (binary_expression "(ulonglong)*param_1" (parenthesized_expression "(ulonglong)" ( identifier )) * identifier) >> number_literal) )))) ;) (if_statement "if (iStack_30 != iStack_28) goto LAB_0002441e;" if (parenthesized_expression "(iStack_30 != iStack_28)" ( (binary_expression "iStack_30 != iStack_28" identifier != identifier) )) (goto_statement "goto LAB_0002441e;" goto statement_identifier ;)) }) (else_clause "else {\nLAB_0002441e:\n      bVar3 = true;\n    }" else (compound_statement "{\nLAB_0002441e:\n      bVar3 = true;\n    }" { (labeled_statement "LAB_0002441e:\n      bVar3 = true;" statement_identifier : (expression_statement "bVar3 = true;" (assignment_expression "bVar3 = true" identifier = true) ;)) }))) (expression_statement "uVar6 = *(ushort *)(param_1 + 1) & 0x3e00;" (assignment_expression "uVar6 = *(ushort *)(param_1 + 1) & 0x3e00" identifier = (binary_expression "*(ushort *)(param_1 + 1) & 0x3e00" (pointer_expression "*(ushort *)(param_1 + 1)" * (cast_expression "(ushort *)(param_1 + 1)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 1)" ( (binary_expression "param_1 + 1" identifier + number_literal) )))) & number_literal)) ;) (if_statement "if (!bVar3) {\n      *(int *)param_1 = (int)lVar5;\n      uVar6 = uVar6 | 4;\n      *(undefined4 *)((int)param_1 + 4) = uVar2;\n      goto LAB_00024381;\n    }" if (parenthesized_expression "(!bVar3)" ( (unary_expression "!bVar3" ! identifier) )) (compound_statement "{\n      *(int *)param_1 = (int)lVar5;\n      uVar6 = uVar6 | 4;\n      *(undefined4 *)((int)param_1 + 4) = uVar2;\n      goto LAB_00024381;\n    }" { (expression_statement "*(int *)param_1 = (int)lVar5;" (assignment_expression "*(int *)param_1 = (int)lVar5" (pointer_expression "*(int *)param_1" * (cast_expression "(int *)param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) = (cast_expression "(int)lVar5" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "uVar6 = uVar6 | 4;" (assignment_expression "uVar6 = uVar6 | 4" identifier = (binary_expression "uVar6 | 4" identifier | number_literal)) ;) (expression_statement "*(undefined4 *)((int)param_1 + 4) = uVar2;" (assignment_expression "*(undefined4 *)((int)param_1 + 4) = uVar2" (pointer_expression "*(undefined4 *)((int)param_1 + 4)" * (cast_expression "(undefined4 *)((int)param_1 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 4)" ( (binary_expression "(int)param_1 + 4" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (goto_statement "goto LAB_00024381;" goto statement_identifier ;) })) }) (else_clause "else {\n    uVar6 = *(ushort *)(param_1 + 1) & 0x3e00;\n  }" else (compound_statement "{\n    uVar6 = *(ushort *)(param_1 + 1) & 0x3e00;\n  }" { (expression_statement "uVar6 = *(ushort *)(param_1 + 1) & 0x3e00;" (assignment_expression "uVar6 = *(ushort *)(param_1 + 1) & 0x3e00" identifier = (binary_expression "*(ushort *)(param_1 + 1) & 0x3e00" (pointer_expression "*(ushort *)(param_1 + 1)" * (cast_expression "(ushort *)(param_1 + 1)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 1)" ( (binary_expression "param_1 + 1" identifier + number_literal) )))) & number_literal)) ;) }))) (expression_statement "uVar6 = uVar6 | 8;" (assignment_expression "uVar6 = uVar6 | 8" identifier = (binary_expression "uVar6 | 8" identifier | number_literal)) ;) (labeled_statement "LAB_00024381:\n  *(ushort *)(param_1 + 1) = uVar6;" statement_identifier : (expression_statement "*(ushort *)(param_1 + 1) = uVar6;" (assignment_expression "*(ushort *)(param_1 + 1) = uVar6" (pointer_expression "*(ushort *)(param_1 + 1)" * (cast_expression "(ushort *)(param_1 + 1)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 1)" ( (binary_expression "param_1 + 1" identifier + number_literal) )))) = identifier) ;)) (if_statement "if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_000f6410();\n  }" if (parenthesized_expression "(iVar1 != *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "iVar1 != *(int *)(in_GS_OFFSET + 0x14)" identifier != (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n                    \n    FUN_000f6410();\n  }" { (expression_statement "FUN_000f6410();" (call_expression "FUN_000f6410()" identifier (argument_list "()" ( ))) ;) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) )) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT)) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) | LIT)) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE) ) IDENT) , LIT )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (cast_expression ( (type_descriptor TYPE) ) IDENT)) >> LIT) )))) ;) (expression_statement (assignment_expression IDENT = BOOL) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (binary_expression (parenthesized_expression ( IDENT )) * IDENT) >> LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (goto_statement goto statement_identifier ;)) }) (else_clause else (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = BOOL) ;)) }))) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT)) ;) (if_statement if (parenthesized_expression ( (unary_expression ! IDENT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT | LIT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = IDENT) ;) (goto_statement goto statement_identifier ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT)) ;) }))) (expression_statement (assignment_expression IDENT = (binary_expression IDENT | LIT)) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (return_statement return LIT ;) })))
(function_definition "undefined4 __regparm3 FUN_00024360(longlong *param_1)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  bool bVar3;\n  longlong lVar4;\n  longlong lVar5;\n  ushort uVar6;\n  int iVar7;\n  int in_GS_OFFSET;\n  int local_34;\n  int iStack_30;\n  int local_2c;\n  int iStack_28;\n  \n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  if ((*(ushort *)(param_1 + 1) & 0xd) != 0) {\n    uVar6 = *(ushort *)(param_1 + 1) & 0xbfed;\n    goto LAB_00024381;\n  }\n  iVar7 = FUN_0001ba60(*(undefined1 *)((int)param_1 + 10));\n  if (iVar7 == 0) {\n    uVar6 = *(ushort *)(param_1 + 1) & 0x3e00 | 4;\n    goto LAB_00024381;\n  }\n  lVar5 = *param_1;\n  uVar2 = *(undefined4 *)((int)param_1 + 4);\n  lVar4 = *param_1;\n  FUN_0001b260(*(undefined1 *)((int)param_1 + 10));\n  if (iVar7 == 1) {\n    local_2c = SUB84((double)lVar4,0);\n    local_34 = (int)*param_1;\n    if (local_34 == local_2c) {\n      iStack_28 = (int)((ulonglong)(double)lVar4 >> 0x20);\n      bVar3 = false;\n      iStack_30 = (int)((ulonglong)*param_1 >> 0x20);\n      if (iStack_30 != iStack_28) goto LAB_0002441e;\n    }\n    else {\nLAB_0002441e:\n      bVar3 = true;\n    }\n    uVar6 = *(ushort *)(param_1 + 1) & 0x3e00;\n    if (!bVar3) {\n      *(int *)param_1 = (int)lVar5;\n      uVar6 = uVar6 | 4;\n      *(undefined4 *)((int)param_1 + 4) = uVar2;\n      goto LAB_00024381;\n    }\n  }\n  else {\n    uVar6 = *(ushort *)(param_1 + 1) & 0x3e00;\n  }\n  uVar6 = uVar6 | 8;\nLAB_00024381:\n  *(ushort *)(param_1 + 1) = uVar6;\n  if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_000f6410();\n  }\n  return 0;\n}" (type_identifier "undefined4") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_00024360(longlong *param_1)" (identifier "FUN_00024360") (parameter_list "(longlong *param_1)" (( "(") (parameter_declaration "longlong *param_1" (type_identifier "longlong") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  bool bVar3;\n  longlong lVar4;\n  longlong lVar5;\n  ushort uVar6;\n  int iVar7;\n  int in_GS_OFFSET;\n  int local_34;\n  int iStack_30;\n  int local_2c;\n  int iStack_28;\n  \n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  if ((*(ushort *)(param_1 + 1) & 0xd) != 0) {\n    uVar6 = *(ushort *)(param_1 + 1) & 0xbfed;\n    goto LAB_00024381;\n  }\n  iVar7 = FUN_0001ba60(*(undefined1 *)((int)param_1 + 10));\n  if (iVar7 == 0) {\n    uVar6 = *(ushort *)(param_1 + 1) & 0x3e00 | 4;\n    goto LAB_00024381;\n  }\n  lVar5 = *param_1;\n  uVar2 = *(undefined4 *)((int)param_1 + 4);\n  lVar4 = *param_1;\n  FUN_0001b260(*(undefined1 *)((int)param_1 + 10));\n  if (iVar7 == 1) {\n    local_2c = SUB84((double)lVar4,0);\n    local_34 = (int)*param_1;\n    if (local_34 == local_2c) {\n      iStack_28 = (int)((ulonglong)(double)lVar4 >> 0x20);\n      bVar3 = false;\n      iStack_30 = (int)((ulonglong)*param_1 >> 0x20);\n      if (iStack_30 != iStack_28) goto LAB_0002441e;\n    }\n    else {\nLAB_0002441e:\n      bVar3 = true;\n    }\n    uVar6 = *(ushort *)(param_1 + 1) & 0x3e00;\n    if (!bVar3) {\n      *(int *)param_1 = (int)lVar5;\n      uVar6 = uVar6 | 4;\n      *(undefined4 *)((int)param_1 + 4) = uVar2;\n      goto LAB_00024381;\n    }\n  }\n  else {\n    uVar6 = *(ushort *)(param_1 + 1) & 0x3e00;\n  }\n  uVar6 = uVar6 | 8;\nLAB_00024381:\n  *(ushort *)(param_1 + 1) = uVar6;\n  if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_000f6410();\n  }\n  return 0;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (declaration "bool bVar3;" (primitive_type "bool") (identifier "bVar3") (; ";")) (declaration "longlong lVar4;" (type_identifier "longlong") (identifier "lVar4") (; ";")) (declaration "longlong lVar5;" (type_identifier "longlong") (identifier "lVar5") (; ";")) (declaration "ushort uVar6;" (type_identifier "ushort") (identifier "uVar6") (; ";")) (declaration "int iVar7;" (primitive_type "int") (identifier "iVar7") (; ";")) (declaration "int in_GS_OFFSET;" (primitive_type "int") (identifier "in_GS_OFFSET") (; ";")) (declaration "int local_34;" (primitive_type "int") (identifier "local_34") (; ";")) (declaration "int iStack_30;" (primitive_type "int") (identifier "iStack_30") (; ";")) (declaration "int local_2c;" (primitive_type "int") (identifier "local_2c") (; ";")) (declaration "int iStack_28;" (primitive_type "int") (identifier "iStack_28") (; ";")) (expression_statement "iVar1 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "iVar1 = *(int *)(in_GS_OFFSET + 0x14)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(int *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (if_statement "if ((*(ushort *)(param_1 + 1) & 0xd) != 0) {\n    uVar6 = *(ushort *)(param_1 + 1) & 0xbfed;\n    goto LAB_00024381;\n  }" (if "if") (parenthesized_expression "((*(ushort *)(param_1 + 1) & 0xd) != 0)" (( "(") (binary_expression "(*(ushort *)(param_1 + 1) & 0xd) != 0" (parenthesized_expression "(*(ushort *)(param_1 + 1) & 0xd)" (( "(") (binary_expression "*(ushort *)(param_1 + 1) & 0xd" (pointer_expression "*(ushort *)(param_1 + 1)" (* "*") (cast_expression "(ushort *)(param_1 + 1)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 1)" (( "(") (binary_expression "param_1 + 1" (identifier "param_1") (+ "+") (number_literal "1")) () ")")))) (& "&") (number_literal "0xd")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    uVar6 = *(ushort *)(param_1 + 1) & 0xbfed;\n    goto LAB_00024381;\n  }" ({ "{") (expression_statement "uVar6 = *(ushort *)(param_1 + 1) & 0xbfed;" (assignment_expression "uVar6 = *(ushort *)(param_1 + 1) & 0xbfed" (identifier "uVar6") (= "=") (binary_expression "*(ushort *)(param_1 + 1) & 0xbfed" (pointer_expression "*(ushort *)(param_1 + 1)" (* "*") (cast_expression "(ushort *)(param_1 + 1)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 1)" (( "(") (binary_expression "param_1 + 1" (identifier "param_1") (+ "+") (number_literal "1")) () ")")))) (& "&") (number_literal "0xbfed"))) (; ";")) (goto_statement "goto LAB_00024381;" (goto "goto") (statement_identifier "LAB_00024381") (; ";")) (} "}"))) (expression_statement "iVar7 = FUN_0001ba60(*(undefined1 *)((int)param_1 + 10));" (assignment_expression "iVar7 = FUN_0001ba60(*(undefined1 *)((int)param_1 + 10))" (identifier "iVar7") (= "=") (call_expression "FUN_0001ba60(*(undefined1 *)((int)param_1 + 10))" (identifier "FUN_0001ba60") (argument_list "(*(undefined1 *)((int)param_1 + 10))" (( "(") (pointer_expression "*(undefined1 *)((int)param_1 + 10)" (* "*") (cast_expression "(undefined1 *)((int)param_1 + 10)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + 10)" (( "(") (binary_expression "(int)param_1 + 10" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (number_literal "10")) () ")")))) () ")")))) (; ";")) (if_statement "if (iVar7 == 0) {\n    uVar6 = *(ushort *)(param_1 + 1) & 0x3e00 | 4;\n    goto LAB_00024381;\n  }" (if "if") (parenthesized_expression "(iVar7 == 0)" (( "(") (binary_expression "iVar7 == 0" (identifier "iVar7") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    uVar6 = *(ushort *)(param_1 + 1) & 0x3e00 | 4;\n    goto LAB_00024381;\n  }" ({ "{") (expression_statement "uVar6 = *(ushort *)(param_1 + 1) & 0x3e00 | 4;" (assignment_expression "uVar6 = *(ushort *)(param_1 + 1) & 0x3e00 | 4" (identifier "uVar6") (= "=") (binary_expression "*(ushort *)(param_1 + 1) & 0x3e00 | 4" (binary_expression "*(ushort *)(param_1 + 1) & 0x3e00" (pointer_expression "*(ushort *)(param_1 + 1)" (* "*") (cast_expression "(ushort *)(param_1 + 1)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 1)" (( "(") (binary_expression "param_1 + 1" (identifier "param_1") (+ "+") (number_literal "1")) () ")")))) (& "&") (number_literal "0x3e00")) (| "|") (number_literal "4"))) (; ";")) (goto_statement "goto LAB_00024381;" (goto "goto") (statement_identifier "LAB_00024381") (; ";")) (} "}"))) (expression_statement "lVar5 = *param_1;" (assignment_expression "lVar5 = *param_1" (identifier "lVar5") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "uVar2 = *(undefined4 *)((int)param_1 + 4);" (assignment_expression "uVar2 = *(undefined4 *)((int)param_1 + 4)" (identifier "uVar2") (= "=") (pointer_expression "*(undefined4 *)((int)param_1 + 4)" (* "*") (cast_expression "(undefined4 *)((int)param_1 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + 4)" (( "(") (binary_expression "(int)param_1 + 4" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (number_literal "4")) () ")"))))) (; ";")) (expression_statement "lVar4 = *param_1;" (assignment_expression "lVar4 = *param_1" (identifier "lVar4") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "FUN_0001b260(*(undefined1 *)((int)param_1 + 10));" (call_expression "FUN_0001b260(*(undefined1 *)((int)param_1 + 10))" (identifier "FUN_0001b260") (argument_list "(*(undefined1 *)((int)param_1 + 10))" (( "(") (pointer_expression "*(undefined1 *)((int)param_1 + 10)" (* "*") (cast_expression "(undefined1 *)((int)param_1 + 10)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + 10)" (( "(") (binary_expression "(int)param_1 + 10" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (number_literal "10")) () ")")))) () ")"))) (; ";")) (if_statement "if (iVar7 == 1) {\n    local_2c = SUB84((double)lVar4,0);\n    local_34 = (int)*param_1;\n    if (local_34 == local_2c) {\n      iStack_28 = (int)((ulonglong)(double)lVar4 >> 0x20);\n      bVar3 = false;\n      iStack_30 = (int)((ulonglong)*param_1 >> 0x20);\n      if (iStack_30 != iStack_28) goto LAB_0002441e;\n    }\n    else {\nLAB_0002441e:\n      bVar3 = true;\n    }\n    uVar6 = *(ushort *)(param_1 + 1) & 0x3e00;\n    if (!bVar3) {\n      *(int *)param_1 = (int)lVar5;\n      uVar6 = uVar6 | 4;\n      *(undefined4 *)((int)param_1 + 4) = uVar2;\n      goto LAB_00024381;\n    }\n  }\n  else {\n    uVar6 = *(ushort *)(param_1 + 1) & 0x3e00;\n  }" (if "if") (parenthesized_expression "(iVar7 == 1)" (( "(") (binary_expression "iVar7 == 1" (identifier "iVar7") (== "==") (number_literal "1")) () ")")) (compound_statement "{\n    local_2c = SUB84((double)lVar4,0);\n    local_34 = (int)*param_1;\n    if (local_34 == local_2c) {\n      iStack_28 = (int)((ulonglong)(double)lVar4 >> 0x20);\n      bVar3 = false;\n      iStack_30 = (int)((ulonglong)*param_1 >> 0x20);\n      if (iStack_30 != iStack_28) goto LAB_0002441e;\n    }\n    else {\nLAB_0002441e:\n      bVar3 = true;\n    }\n    uVar6 = *(ushort *)(param_1 + 1) & 0x3e00;\n    if (!bVar3) {\n      *(int *)param_1 = (int)lVar5;\n      uVar6 = uVar6 | 4;\n      *(undefined4 *)((int)param_1 + 4) = uVar2;\n      goto LAB_00024381;\n    }\n  }" ({ "{") (expression_statement "local_2c = SUB84((double)lVar4,0);" (assignment_expression "local_2c = SUB84((double)lVar4,0)" (identifier "local_2c") (= "=") (call_expression "SUB84((double)lVar4,0)" (identifier "SUB84") (argument_list "((double)lVar4,0)" (( "(") (cast_expression "(double)lVar4" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (identifier "lVar4")) (, ",") (number_literal "0") () ")")))) (; ";")) (expression_statement "local_34 = (int)*param_1;" (assignment_expression "local_34 = (int)*param_1" (identifier "local_34") (= "=") (cast_expression "(int)*param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1")))) (; ";")) (if_statement "if (local_34 == local_2c) {\n      iStack_28 = (int)((ulonglong)(double)lVar4 >> 0x20);\n      bVar3 = false;\n      iStack_30 = (int)((ulonglong)*param_1 >> 0x20);\n      if (iStack_30 != iStack_28) goto LAB_0002441e;\n    }\n    else {\nLAB_0002441e:\n      bVar3 = true;\n    }" (if "if") (parenthesized_expression "(local_34 == local_2c)" (( "(") (binary_expression "local_34 == local_2c" (identifier "local_34") (== "==") (identifier "local_2c")) () ")")) (compound_statement "{\n      iStack_28 = (int)((ulonglong)(double)lVar4 >> 0x20);\n      bVar3 = false;\n      iStack_30 = (int)((ulonglong)*param_1 >> 0x20);\n      if (iStack_30 != iStack_28) goto LAB_0002441e;\n    }" ({ "{") (expression_statement "iStack_28 = (int)((ulonglong)(double)lVar4 >> 0x20);" (assignment_expression "iStack_28 = (int)((ulonglong)(double)lVar4 >> 0x20)" (identifier "iStack_28") (= "=") (cast_expression "(int)((ulonglong)(double)lVar4 >> 0x20)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "((ulonglong)(double)lVar4 >> 0x20)" (( "(") (binary_expression "(ulonglong)(double)lVar4 >> 0x20" (cast_expression "(ulonglong)(double)lVar4" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (cast_expression "(double)lVar4" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (identifier "lVar4"))) (>> ">>") (number_literal "0x20")) () ")")))) (; ";")) (expression_statement "bVar3 = false;" (assignment_expression "bVar3 = false" (identifier "bVar3") (= "=") (false "false")) (; ";")) (expression_statement "iStack_30 = (int)((ulonglong)*param_1 >> 0x20);" (assignment_expression "iStack_30 = (int)((ulonglong)*param_1 >> 0x20)" (identifier "iStack_30") (= "=") (cast_expression "(int)((ulonglong)*param_1 >> 0x20)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "((ulonglong)*param_1 >> 0x20)" (( "(") (binary_expression "(ulonglong)*param_1 >> 0x20" (binary_expression "(ulonglong)*param_1" (parenthesized_expression "(ulonglong)" (( "(") (identifier "ulonglong") () ")")) (* "*") (identifier "param_1")) (>> ">>") (number_literal "0x20")) () ")")))) (; ";")) (if_statement "if (iStack_30 != iStack_28) goto LAB_0002441e;" (if "if") (parenthesized_expression "(iStack_30 != iStack_28)" (( "(") (binary_expression "iStack_30 != iStack_28" (identifier "iStack_30") (!= "!=") (identifier "iStack_28")) () ")")) (goto_statement "goto LAB_0002441e;" (goto "goto") (statement_identifier "LAB_0002441e") (; ";"))) (} "}")) (else_clause "else {\nLAB_0002441e:\n      bVar3 = true;\n    }" (else "else") (compound_statement "{\nLAB_0002441e:\n      bVar3 = true;\n    }" ({ "{") (labeled_statement "LAB_0002441e:\n      bVar3 = true;" (statement_identifier "LAB_0002441e") (: ":") (expression_statement "bVar3 = true;" (assignment_expression "bVar3 = true" (identifier "bVar3") (= "=") (true "true")) (; ";"))) (} "}")))) (expression_statement "uVar6 = *(ushort *)(param_1 + 1) & 0x3e00;" (assignment_expression "uVar6 = *(ushort *)(param_1 + 1) & 0x3e00" (identifier "uVar6") (= "=") (binary_expression "*(ushort *)(param_1 + 1) & 0x3e00" (pointer_expression "*(ushort *)(param_1 + 1)" (* "*") (cast_expression "(ushort *)(param_1 + 1)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 1)" (( "(") (binary_expression "param_1 + 1" (identifier "param_1") (+ "+") (number_literal "1")) () ")")))) (& "&") (number_literal "0x3e00"))) (; ";")) (if_statement "if (!bVar3) {\n      *(int *)param_1 = (int)lVar5;\n      uVar6 = uVar6 | 4;\n      *(undefined4 *)((int)param_1 + 4) = uVar2;\n      goto LAB_00024381;\n    }" (if "if") (parenthesized_expression "(!bVar3)" (( "(") (unary_expression "!bVar3" (! "!") (identifier "bVar3")) () ")")) (compound_statement "{\n      *(int *)param_1 = (int)lVar5;\n      uVar6 = uVar6 | 4;\n      *(undefined4 *)((int)param_1 + 4) = uVar2;\n      goto LAB_00024381;\n    }" ({ "{") (expression_statement "*(int *)param_1 = (int)lVar5;" (assignment_expression "*(int *)param_1 = (int)lVar5" (pointer_expression "*(int *)param_1" (* "*") (cast_expression "(int *)param_1" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "param_1"))) (= "=") (cast_expression "(int)lVar5" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "lVar5"))) (; ";")) (expression_statement "uVar6 = uVar6 | 4;" (assignment_expression "uVar6 = uVar6 | 4" (identifier "uVar6") (= "=") (binary_expression "uVar6 | 4" (identifier "uVar6") (| "|") (number_literal "4"))) (; ";")) (expression_statement "*(undefined4 *)((int)param_1 + 4) = uVar2;" (assignment_expression "*(undefined4 *)((int)param_1 + 4) = uVar2" (pointer_expression "*(undefined4 *)((int)param_1 + 4)" (* "*") (cast_expression "(undefined4 *)((int)param_1 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + 4)" (( "(") (binary_expression "(int)param_1 + 4" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (number_literal "4")) () ")")))) (= "=") (identifier "uVar2")) (; ";")) (goto_statement "goto LAB_00024381;" (goto "goto") (statement_identifier "LAB_00024381") (; ";")) (} "}"))) (} "}")) (else_clause "else {\n    uVar6 = *(ushort *)(param_1 + 1) & 0x3e00;\n  }" (else "else") (compound_statement "{\n    uVar6 = *(ushort *)(param_1 + 1) & 0x3e00;\n  }" ({ "{") (expression_statement "uVar6 = *(ushort *)(param_1 + 1) & 0x3e00;" (assignment_expression "uVar6 = *(ushort *)(param_1 + 1) & 0x3e00" (identifier "uVar6") (= "=") (binary_expression "*(ushort *)(param_1 + 1) & 0x3e00" (pointer_expression "*(ushort *)(param_1 + 1)" (* "*") (cast_expression "(ushort *)(param_1 + 1)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 1)" (( "(") (binary_expression "param_1 + 1" (identifier "param_1") (+ "+") (number_literal "1")) () ")")))) (& "&") (number_literal "0x3e00"))) (; ";")) (} "}")))) (expression_statement "uVar6 = uVar6 | 8;" (assignment_expression "uVar6 = uVar6 | 8" (identifier "uVar6") (= "=") (binary_expression "uVar6 | 8" (identifier "uVar6") (| "|") (number_literal "8"))) (; ";")) (labeled_statement "LAB_00024381:\n  *(ushort *)(param_1 + 1) = uVar6;" (statement_identifier "LAB_00024381") (: ":") (expression_statement "*(ushort *)(param_1 + 1) = uVar6;" (assignment_expression "*(ushort *)(param_1 + 1) = uVar6" (pointer_expression "*(ushort *)(param_1 + 1)" (* "*") (cast_expression "(ushort *)(param_1 + 1)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 1)" (( "(") (binary_expression "param_1 + 1" (identifier "param_1") (+ "+") (number_literal "1")) () ")")))) (= "=") (identifier "uVar6")) (; ";"))) (if_statement "if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_000f6410();\n  }" (if "if") (parenthesized_expression "(iVar1 != *(int *)(in_GS_OFFSET + 0x14))" (( "(") (binary_expression "iVar1 != *(int *)(in_GS_OFFSET + 0x14)" (identifier "iVar1") (!= "!=") (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(int *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) () ")")) (compound_statement "{\n                    \n    FUN_000f6410();\n  }" ({ "{") (expression_statement "FUN_000f6410();" (call_expression "FUN_000f6410()" (identifier "FUN_000f6410") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))

int __regparm3 function_1(type_1 *pMem)

{
  int var_9;
  int iVar2;
  type_2 uVar3;
  bool bVar4;
  type_3 lVar5;
  type_4 var_8;
  int var_3;
  type_5 length;
  int var_1;
  double *pResult;
  type_6 in_stack_ffffffb0;
  int var_6;
  int var_7;
  double r2;
  
  var_9 = *(int *)(var_1 + 0x14);
  if ((pMem->flags & 0xd) != 0) {
    var_8 = pMem->flags & 0xbfed;
    goto LAB_00024381;
  }
  length = (type_5)pMem->enc;
  pResult = (double *)0x243b5;
  var_3 = var_2(pMem->z,(type_7 *)pMem,pMem->n,pMem->enc);
  if (var_3 == 0) {
    var_8 = pMem->flags & 0x3e00 | 4;
    goto LAB_00024381;
  }
  iVar2 = (pMem->u).nZero;
  uVar3 = *(type_2 *)((int)&pMem->u + 4);
  lVar5 = (pMem->u).i;
  var_4((char *)(type_5)pMem->enc,pResult,length,in_stack_ffffffb0);
  if (var_3 == 1) {
    r2._0_4_ = var_5((double)lVar5,0);
    var_6 = (pMem->u).nZero;
    if (var_6 == r2._0_4_) {
      r2._4_4_ = (int)((type_8)(double)lVar5 >> 0x20);
      bVar4 = false;
      var_7 = (int)((type_8)pMem->u >> 0x20);
      if (var_7 != r2._4_4_) goto LAB_0002441e;
    }
    else {
LAB_0002441e:
      bVar4 = true;
    }
    var_8 = pMem->flags & 0x3e00;
    if (!bVar4) {
      (pMem->u).nZero = iVar2;
      var_8 = var_8 | 4;
      *(type_2 *)((int)&pMem->u + 4) = uVar3;
      goto LAB_00024381;
    }
  }
  else {
    var_8 = pMem->flags & 0x3e00;
  }
  var_8 = var_8 | 8;
LAB_00024381:
  pMem->flags = var_8;
  if (var_9 != *(int *)(var_1 + 0x14)) {
                    /* WARNING: Subroutine does not return */
    var_10();
  }
  return 0;
}


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

undefined4 __regparm3 MASKED(longlong *param_1)

{
  int iVar1;
  undefined4 uVar2;
  bool bVar3;
  longlong lVar4;
  longlong lVar5;
  ushort uVar6;
  int iVar7;
  int in_GS_OFFSET;
  int local_34;
  int iStack_30;
  int local_2c;
  int iStack_28;
  
  iVar1 = *(int *)(in_GS_OFFSET + 0x14);
  if ((*(ushort *)(param_1 + 1) & 0xd) != 0) {
    uVar6 = *(ushort *)(param_1 + 1) & 0xbfed;
    goto LAB_00024381;
  }
  iVar7 = FUN_0001ba60(*(undefined1 *)((int)param_1 + 10));
  if (iVar7 == 0) {
    uVar6 = *(ushort *)(param_1 + 1) & 0x3e00 | 4;
    goto LAB_00024381;
  }
  lVar5 = *param_1;
  uVar2 = *(undefined4 *)((int)param_1 + 4);
  lVar4 = *param_1;
  FUN_0001b260(*(undefined1 *)((int)param_1 + 10));
  if (iVar7 == 1) {
    local_2c = SUB84((double)lVar4,0);
    local_34 = (int)*param_1;
    if (local_34 == local_2c) {
      iStack_28 = (int)((ulonglong)(double)lVar4 >> 0x20);
      bVar3 = false;
      iStack_30 = (int)((ulonglong)*param_1 >> 0x20);
      if (iStack_30 != iStack_28) goto LAB_0002441e;
    }
    else {
LAB_0002441e:
      bVar3 = true;
    }
    uVar6 = *(ushort *)(param_1 + 1) & 0x3e00;
    if (!bVar3) {
      *(int *)param_1 = (int)lVar5;
      uVar6 = uVar6 | 4;
      *(undefined4 *)((int)param_1 + 4) = uVar2;
      goto LAB_00024381;
    }
  }
  else {
    uVar6 = *(ushort *)(param_1 + 1) & 0x3e00;
  }
  uVar6 = uVar6 | 8;
LAB_00024381:
  *(ushort *)(param_1 + 1) = uVar6;
  if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {
                    /* WARNING: Subroutine does not return */
    FUN_000f6410();
  }
  return 0;
}

