
int sqlite3GetInt32(char *zNum,int *pValue)

{
  byte bVar1;
  ulonglong uVar2;
  char cVar3;
  uint uVar4;
  uint uVar5;
  uint uVar6;
  uint *puVar7;
  int iVar8;
  byte *pbVar9;
  byte *pbVar10;
  int unaff_EDI;
  undefined8 uVar11;
  uint local_1c;
  
  uVar11 = __x86_get_pc_thunk_di();
  puVar7 = (uint *)((ulonglong)uVar11 >> 0x20);
  pbVar9 = (byte *)uVar11;
  bVar1 = *pbVar9;
  uVar6 = (uint)bVar1;
  if (bVar1 == 0x2d) {
    local_1c = 1;
LAB_0003e64a:
    pbVar9 = pbVar9 + 1;
    uVar6 = (uint)*pbVar9;
    if ((*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 4) != 0) goto LAB_0003e666;
    return 0;
  }
  if (bVar1 == 0x2b) {
    local_1c = 0;
    goto LAB_0003e64a;
  }
  if (bVar1 == 0x30) {
    if ((pbVar9[1] & 0xdf) == 0x58) {
      uVar6 = (uint)pbVar9[2];
      if ((*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 8) != 0) {
        pbVar10 = pbVar9 + 2;
        if (pbVar9[2] == 0x30) {
          do {
            pbVar10 = pbVar10 + 1;
            bVar1 = *pbVar10;
            uVar6 = (uint)bVar1;
          } while (bVar1 == 0x30);
          if ((*(byte *)(unaff_EDI + 0xedfe9 + (uint)bVar1) & 8) == 0) {
            uVar4 = 0;
            goto LAB_0003e7bc;
          }
        }
        pbVar9 = pbVar10 + 1;
        uVar4 = 0;
        while( true ) {
          cVar3 = (char)uVar6;
          uVar6 = (uint)*pbVar9;
          uVar4 = uVar4 * 0x10 + ((int)cVar3 + ((int)cVar3 >> 6 & 1U) * 9 & 0xf);
          if ((*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 8) == 0) break;
          pbVar9 = pbVar9 + 1;
          if (pbVar10 + 9 == pbVar9) {
            return 0;
          }
        }
        if ((int)uVar4 < 0) {
          return 0;
        }
LAB_0003e7bc:
        *puVar7 = uVar4;
        return 1;
      }
    }
    local_1c = 0;
    do {
      pbVar9 = pbVar9 + 1;
      uVar6 = (uint)*pbVar9;
LAB_0003e666:
    } while ((char)uVar6 == '0');
  }
  else {
    if ((*(byte *)(unaff_EDI + 0xedfe9 + (uint)bVar1) & 4) == 0) {
      return 0;
    }
    local_1c = 0;
  }
  pbVar10 = pbVar9 + 0xb;
  uVar4 = 0;
  iVar8 = 0;
  while( true ) {
    pbVar9 = pbVar9 + 1;
    uVar6 = (int)(char)uVar6 - 0x30;
    if (9 < uVar6) {
      if ((int)-(iVar8 - (uint)(uVar4 < local_1c)) < (int)(uint)(0x7fffffff < uVar4 - local_1c)) {
        return 0;
      }
      if (local_1c != 0) {
        uVar4 = -uVar4;
      }
      *puVar7 = uVar4;
      return 1;
    }
    uVar2 = (ulonglong)uVar4;
    uVar5 = (uint)(uVar2 * 10);
    uVar4 = uVar5 + uVar6;
    iVar8 = (int)(uVar2 * 10 >> 0x20) + iVar8 * 10 + ((int)uVar6 >> 0x1f) +
            (uint)CARRY4(uVar5,uVar6);
    if (pbVar10 == pbVar9) break;
    uVar6 = (uint)*pbVar9;
  }
  return 0;
}



undefined4 FUN_0003e5f0(void)

{
  byte bVar1;
  ulonglong uVar2;
  char cVar3;
  uint uVar4;
  uint uVar5;
  uint uVar6;
  uint *puVar7;
  int iVar8;
  byte *pbVar9;
  byte *pbVar10;
  int unaff_EDI;
  undefined8 uVar11;
  uint local_1c;
  
  uVar11 = FUN_00036ac5();
  puVar7 = (uint *)((ulonglong)uVar11 >> 0x20);
  pbVar9 = (byte *)uVar11;
  bVar1 = *pbVar9;
  uVar6 = (uint)bVar1;
  if (bVar1 == 0x2d) {
    local_1c = 1;
LAB_0003e64a:
    pbVar9 = pbVar9 + 1;
    uVar6 = (uint)*pbVar9;
    if ((*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 4) != 0) goto LAB_0003e666;
    return 0;
  }
  if (bVar1 == 0x2b) {
    local_1c = 0;
    goto LAB_0003e64a;
  }
  if (bVar1 == 0x30) {
    if ((pbVar9[1] & 0xdf) == 0x58) {
      uVar6 = (uint)pbVar9[2];
      if ((*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 8) != 0) {
        pbVar10 = pbVar9 + 2;
        if (pbVar9[2] == 0x30) {
          do {
            pbVar10 = pbVar10 + 1;
            bVar1 = *pbVar10;
            uVar6 = (uint)bVar1;
          } while (bVar1 == 0x30);
          if ((*(byte *)(unaff_EDI + 0xedfe9 + (uint)bVar1) & 8) == 0) {
            uVar4 = 0;
            goto LAB_0003e7bc;
          }
        }
        pbVar9 = pbVar10 + 1;
        uVar4 = 0;
        while( true ) {
          cVar3 = (char)uVar6;
          uVar6 = (uint)*pbVar9;
          uVar4 = uVar4 * 0x10 + ((int)cVar3 + ((int)cVar3 >> 6 & 1U) * 9 & 0xf);
          if ((*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 8) == 0) break;
          pbVar9 = pbVar9 + 1;
          if (pbVar10 + 9 == pbVar9) {
            return 0;
          }
        }
        if ((int)uVar4 < 0) {
          return 0;
        }
LAB_0003e7bc:
        *puVar7 = uVar4;
        return 1;
      }
    }
    local_1c = 0;
    do {
      pbVar9 = pbVar9 + 1;
      uVar6 = (uint)*pbVar9;
LAB_0003e666:
    } while ((char)uVar6 == '0');
  }
  else {
    if ((*(byte *)(unaff_EDI + 0xedfe9 + (uint)bVar1) & 4) == 0) {
      return 0;
    }
    local_1c = 0;
  }
  pbVar10 = pbVar9 + 0xb;
  uVar4 = 0;
  iVar8 = 0;
  while( true ) {
    pbVar9 = pbVar9 + 1;
    uVar6 = (int)(char)uVar6 - 0x30;
    if (9 < uVar6) {
      if ((int)-(iVar8 - (uint)(uVar4 < local_1c)) < (int)(uint)(0x7fffffff < uVar4 - local_1c)) {
        return 0;
      }
      if (local_1c != 0) {
        uVar4 = -uVar4;
      }
      *puVar7 = uVar4;
      return 1;
    }
    uVar2 = (ulonglong)uVar4;
    uVar5 = (uint)(uVar2 * 10);
    uVar4 = uVar5 + uVar6;
    iVar8 = (int)(uVar2 * 10 >> 0x20) + iVar8 * 10 + ((int)uVar6 >> 0x1f) +
            (uint)CARRY4(uVar5,uVar6);
    if (pbVar10 == pbVar9) break;
    uVar6 = (uint)*pbVar9;
  }
  return 0;
}


PUSH EBP
PUSH EDI
CALL 0x00036ac5
ADD EDI,0x13d831
PUSH ESI
MOV ESI,EAX
PUSH EBX
SUB ESP,0xc
MOVZX ECX,byte ptr [EAX]
MOV dword ptr [ESP + 0x4],EDX
CMP CL,0x2d
JZ 0x0003e700
CMP CL,0x2b
JZ 0x0003e640
CMP CL,0x30
JZ 0x0003e710
MOVZX EAX,CL
XOR EBX,EBX
TEST byte ptr [EDI + EAX*0x1 + 0xfffb07b8],0x4
JNZ 0x0003e7a8
ADD ESP,0xc
MOV EAX,EBX
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV dword ptr [ESP],0x0
ADD ESI,0x1
MOVZX EAX,byte ptr [ESI]
MOV ECX,EAX
TEST byte ptr [EDI + EAX*0x1 + 0xfffb07b8],0x4
JNZ 0x0003e666
JMP 0x0003e6a5
ADD ESI,0x1
MOVZX ECX,byte ptr [ESI]
CMP CL,0x30
JZ 0x0003e660
LEA EBX,[ESI + 0x1]
LEA EDI,[ESI + 0xb]
XOR EAX,EAX
XOR EDX,EDX
MOV EBP,0xa
MOV ESI,EBX
JMP 0x0003e686
MOVZX ECX,byte ptr [ESI]
ADD ESI,0x1
MOVSX ECX,CL
SUB ECX,0x30
CMP ECX,0x9
JA 0x0003e6b8
IMUL EBX,EDX,0xa
MUL EBP
ADD EDX,EBX
MOV EBX,ECX
SAR EBX,0x1f
ADD EAX,ECX
ADC EDX,EBX
CMP EDI,ESI
JNZ 0x0003e680
XOR EBX,EBX
ADD ESP,0xc
MOV EAX,EBX
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV ECX,dword ptr [ESP]
MOV EDI,EAX
MOV EBP,EDX
MOV ESI,0x7fffffff
MOV EBX,ECX
SAR EBX,0x1f
SUB EDI,ECX
MOV ECX,0x0
SBB EBP,EBX
CMP ESI,EDI
MOV EBX,0x0
SBB ECX,EBP
JL 0x0003e635
MOV EDX,dword ptr [ESP]
TEST EDX,EDX
JZ 0x0003e6ea
NEG EAX
MOV EDI,dword ptr [ESP + 0x4]
MOV EBX,0x1
MOV dword ptr [EDI],EAX
ADD ESP,0xc
MOV EAX,EBX
POP EBX
POP ESI
POP EDI
POP EBP
RET
ADD ESI,0x1
MOV dword ptr [ESP],0x1
JMP 0x0003e64a
MOVZX EAX,byte ptr [EAX + 0x1]
AND EAX,0xffffffdf
CMP AL,0x58
JNZ 0x0003e798
MOVZX EDX,byte ptr [ESI + 0x2]
MOV EAX,EDX
TEST byte ptr [EDI + EDX*0x1 + 0xfffb07b8],0x8
JZ 0x0003e798
ADD ESI,0x2
CMP DL,0x30
JNZ 0x0003e74f
LEA ESI,[ESI]
NOP
ADD ESI,0x1
MOVZX EAX,byte ptr [ESI]
CMP AL,0x30
JZ 0x0003e738
MOVZX EDX,AL
TEST byte ptr [EDI + EDX*0x1 + 0xfffb07b8],0x8
JZ 0x0003e7cc
LEA ECX,[ESI + 0x1]
XOR EBX,EBX
LEA EDI,[EDI + 0xfffb07b8]
ADD ESI,0x9
LEA ESI,[ESI]
MOVSX EAX,AL
SHL EBX,0x4
MOV EDX,EAX
SAR EDX,0x6
AND EDX,0x1
LEA EAX,[EAX + EDX*0x8]
ADD EAX,EDX
MOVZX EDX,byte ptr [ECX]
AND EAX,0xf
ADD EBX,EAX
MOV EAX,EDX
TEST byte ptr [EDI + EDX*0x1],0x8
JZ 0x0003e7b4
ADD ECX,0x1
CMP ESI,ECX
JNZ 0x0003e760
XOR EBX,EBX
JMP 0x0003e6a7
MOV dword ptr [ESP],0x0
JMP 0x0003e660
MOV dword ptr [ESP],0x0
JMP 0x0003e66b
TEST EBX,EBX
JS 0x0003e6a5
MOV EAX,dword ptr [ESP + 0x4]
MOV dword ptr [EAX],EBX
MOV EBX,0x1
JMP 0x0003e635
XOR EBX,EBX
JMP 0x0003e7bc
(translation_unit "undefined4 FUN_0003e5f0(void)\n\n{\n  byte bVar1;\n  ulonglong uVar2;\n  char cVar3;\n  uint uVar4;\n  uint uVar5;\n  uint uVar6;\n  uint *puVar7;\n  int iVar8;\n  byte *pbVar9;\n  byte *pbVar10;\n  int unaff_EDI;\n  undefined8 uVar11;\n  uint local_1c;\n  \n  uVar11 = FUN_00036ac5();\n  puVar7 = (uint *)((ulonglong)uVar11 >> 0x20);\n  pbVar9 = (byte *)uVar11;\n  bVar1 = *pbVar9;\n  uVar6 = (uint)bVar1;\n  if (bVar1 == 0x2d) {\n    local_1c = 1;\nLAB_0003e64a:\n    pbVar9 = pbVar9 + 1;\n    uVar6 = (uint)*pbVar9;\n    if ((*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 4) != 0) goto LAB_0003e666;\n    return 0;\n  }\n  if (bVar1 == 0x2b) {\n    local_1c = 0;\n    goto LAB_0003e64a;\n  }\n  if (bVar1 == 0x30) {\n    if ((pbVar9[1] & 0xdf) == 0x58) {\n      uVar6 = (uint)pbVar9[2];\n      if ((*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 8) != 0) {\n        pbVar10 = pbVar9 + 2;\n        if (pbVar9[2] == 0x30) {\n          do {\n            pbVar10 = pbVar10 + 1;\n            bVar1 = *pbVar10;\n            uVar6 = (uint)bVar1;\n          } while (bVar1 == 0x30);\n          if ((*(byte *)(unaff_EDI + 0xedfe9 + (uint)bVar1) & 8) == 0) {\n            uVar4 = 0;\n            goto LAB_0003e7bc;\n          }\n        }\n        pbVar9 = pbVar10 + 1;\n        uVar4 = 0;\n        while( true ) {\n          cVar3 = (char)uVar6;\n          uVar6 = (uint)*pbVar9;\n          uVar4 = uVar4 * 0x10 + ((int)cVar3 + ((int)cVar3 >> 6 & 1U) * 9 & 0xf);\n          if ((*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 8) == 0) break;\n          pbVar9 = pbVar9 + 1;\n          if (pbVar10 + 9 == pbVar9) {\n            return 0;\n          }\n        }\n        if ((int)uVar4 < 0) {\n          return 0;\n        }\nLAB_0003e7bc:\n        *puVar7 = uVar4;\n        return 1;\n      }\n    }\n    local_1c = 0;\n    do {\n      pbVar9 = pbVar9 + 1;\n      uVar6 = (uint)*pbVar9;\nLAB_0003e666:\n    } while ((char)uVar6 == '0');\n  }\n  else {\n    if ((*(byte *)(unaff_EDI + 0xedfe9 + (uint)bVar1) & 4) == 0) {\n      return 0;\n    }\n    local_1c = 0;\n  }\n  pbVar10 = pbVar9 + 0xb;\n  uVar4 = 0;\n  iVar8 = 0;\n  while( true ) {\n    pbVar9 = pbVar9 + 1;\n    uVar6 = (int)(char)uVar6 - 0x30;\n    if (9 < uVar6) {\n      if ((int)-(iVar8 - (uint)(uVar4 < local_1c)) < (int)(uint)(0x7fffffff < uVar4 - local_1c)) {\n        return 0;\n      }\n      if (local_1c != 0) {\n        uVar4 = -uVar4;\n      }\n      *puVar7 = uVar4;\n      return 1;\n    }\n    uVar2 = (ulonglong)uVar4;\n    uVar5 = (uint)(uVar2 * 10);\n    uVar4 = uVar5 + uVar6;\n    iVar8 = (int)(uVar2 * 10 >> 0x20) + iVar8 * 10 + ((int)uVar6 >> 0x1f) +\n            (uint)CARRY4(uVar5,uVar6);\n    if (pbVar10 == pbVar9) break;\n    uVar6 = (uint)*pbVar9;\n  }\n  return 0;\n}\n\n" (function_definition "undefined4 FUN_0003e5f0(void)\n\n{\n  byte bVar1;\n  ulonglong uVar2;\n  char cVar3;\n  uint uVar4;\n  uint uVar5;\n  uint uVar6;\n  uint *puVar7;\n  int iVar8;\n  byte *pbVar9;\n  byte *pbVar10;\n  int unaff_EDI;\n  undefined8 uVar11;\n  uint local_1c;\n  \n  uVar11 = FUN_00036ac5();\n  puVar7 = (uint *)((ulonglong)uVar11 >> 0x20);\n  pbVar9 = (byte *)uVar11;\n  bVar1 = *pbVar9;\n  uVar6 = (uint)bVar1;\n  if (bVar1 == 0x2d) {\n    local_1c = 1;\nLAB_0003e64a:\n    pbVar9 = pbVar9 + 1;\n    uVar6 = (uint)*pbVar9;\n    if ((*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 4) != 0) goto LAB_0003e666;\n    return 0;\n  }\n  if (bVar1 == 0x2b) {\n    local_1c = 0;\n    goto LAB_0003e64a;\n  }\n  if (bVar1 == 0x30) {\n    if ((pbVar9[1] & 0xdf) == 0x58) {\n      uVar6 = (uint)pbVar9[2];\n      if ((*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 8) != 0) {\n        pbVar10 = pbVar9 + 2;\n        if (pbVar9[2] == 0x30) {\n          do {\n            pbVar10 = pbVar10 + 1;\n            bVar1 = *pbVar10;\n            uVar6 = (uint)bVar1;\n          } while (bVar1 == 0x30);\n          if ((*(byte *)(unaff_EDI + 0xedfe9 + (uint)bVar1) & 8) == 0) {\n            uVar4 = 0;\n            goto LAB_0003e7bc;\n          }\n        }\n        pbVar9 = pbVar10 + 1;\n        uVar4 = 0;\n        while( true ) {\n          cVar3 = (char)uVar6;\n          uVar6 = (uint)*pbVar9;\n          uVar4 = uVar4 * 0x10 + ((int)cVar3 + ((int)cVar3 >> 6 & 1U) * 9 & 0xf);\n          if ((*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 8) == 0) break;\n          pbVar9 = pbVar9 + 1;\n          if (pbVar10 + 9 == pbVar9) {\n            return 0;\n          }\n        }\n        if ((int)uVar4 < 0) {\n          return 0;\n        }\nLAB_0003e7bc:\n        *puVar7 = uVar4;\n        return 1;\n      }\n    }\n    local_1c = 0;\n    do {\n      pbVar9 = pbVar9 + 1;\n      uVar6 = (uint)*pbVar9;\nLAB_0003e666:\n    } while ((char)uVar6 == '0');\n  }\n  else {\n    if ((*(byte *)(unaff_EDI + 0xedfe9 + (uint)bVar1) & 4) == 0) {\n      return 0;\n    }\n    local_1c = 0;\n  }\n  pbVar10 = pbVar9 + 0xb;\n  uVar4 = 0;\n  iVar8 = 0;\n  while( true ) {\n    pbVar9 = pbVar9 + 1;\n    uVar6 = (int)(char)uVar6 - 0x30;\n    if (9 < uVar6) {\n      if ((int)-(iVar8 - (uint)(uVar4 < local_1c)) < (int)(uint)(0x7fffffff < uVar4 - local_1c)) {\n        return 0;\n      }\n      if (local_1c != 0) {\n        uVar4 = -uVar4;\n      }\n      *puVar7 = uVar4;\n      return 1;\n    }\n    uVar2 = (ulonglong)uVar4;\n    uVar5 = (uint)(uVar2 * 10);\n    uVar4 = uVar5 + uVar6;\n    iVar8 = (int)(uVar2 * 10 >> 0x20) + iVar8 * 10 + ((int)uVar6 >> 0x1f) +\n            (uint)CARRY4(uVar5,uVar6);\n    if (pbVar10 == pbVar9) break;\n    uVar6 = (uint)*pbVar9;\n  }\n  return 0;\n}" type_identifier (function_declarator "FUN_0003e5f0(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  byte bVar1;\n  ulonglong uVar2;\n  char cVar3;\n  uint uVar4;\n  uint uVar5;\n  uint uVar6;\n  uint *puVar7;\n  int iVar8;\n  byte *pbVar9;\n  byte *pbVar10;\n  int unaff_EDI;\n  undefined8 uVar11;\n  uint local_1c;\n  \n  uVar11 = FUN_00036ac5();\n  puVar7 = (uint *)((ulonglong)uVar11 >> 0x20);\n  pbVar9 = (byte *)uVar11;\n  bVar1 = *pbVar9;\n  uVar6 = (uint)bVar1;\n  if (bVar1 == 0x2d) {\n    local_1c = 1;\nLAB_0003e64a:\n    pbVar9 = pbVar9 + 1;\n    uVar6 = (uint)*pbVar9;\n    if ((*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 4) != 0) goto LAB_0003e666;\n    return 0;\n  }\n  if (bVar1 == 0x2b) {\n    local_1c = 0;\n    goto LAB_0003e64a;\n  }\n  if (bVar1 == 0x30) {\n    if ((pbVar9[1] & 0xdf) == 0x58) {\n      uVar6 = (uint)pbVar9[2];\n      if ((*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 8) != 0) {\n        pbVar10 = pbVar9 + 2;\n        if (pbVar9[2] == 0x30) {\n          do {\n            pbVar10 = pbVar10 + 1;\n            bVar1 = *pbVar10;\n            uVar6 = (uint)bVar1;\n          } while (bVar1 == 0x30);\n          if ((*(byte *)(unaff_EDI + 0xedfe9 + (uint)bVar1) & 8) == 0) {\n            uVar4 = 0;\n            goto LAB_0003e7bc;\n          }\n        }\n        pbVar9 = pbVar10 + 1;\n        uVar4 = 0;\n        while( true ) {\n          cVar3 = (char)uVar6;\n          uVar6 = (uint)*pbVar9;\n          uVar4 = uVar4 * 0x10 + ((int)cVar3 + ((int)cVar3 >> 6 & 1U) * 9 & 0xf);\n          if ((*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 8) == 0) break;\n          pbVar9 = pbVar9 + 1;\n          if (pbVar10 + 9 == pbVar9) {\n            return 0;\n          }\n        }\n        if ((int)uVar4 < 0) {\n          return 0;\n        }\nLAB_0003e7bc:\n        *puVar7 = uVar4;\n        return 1;\n      }\n    }\n    local_1c = 0;\n    do {\n      pbVar9 = pbVar9 + 1;\n      uVar6 = (uint)*pbVar9;\nLAB_0003e666:\n    } while ((char)uVar6 == '0');\n  }\n  else {\n    if ((*(byte *)(unaff_EDI + 0xedfe9 + (uint)bVar1) & 4) == 0) {\n      return 0;\n    }\n    local_1c = 0;\n  }\n  pbVar10 = pbVar9 + 0xb;\n  uVar4 = 0;\n  iVar8 = 0;\n  while( true ) {\n    pbVar9 = pbVar9 + 1;\n    uVar6 = (int)(char)uVar6 - 0x30;\n    if (9 < uVar6) {\n      if ((int)-(iVar8 - (uint)(uVar4 < local_1c)) < (int)(uint)(0x7fffffff < uVar4 - local_1c)) {\n        return 0;\n      }\n      if (local_1c != 0) {\n        uVar4 = -uVar4;\n      }\n      *puVar7 = uVar4;\n      return 1;\n    }\n    uVar2 = (ulonglong)uVar4;\n    uVar5 = (uint)(uVar2 * 10);\n    uVar4 = uVar5 + uVar6;\n    iVar8 = (int)(uVar2 * 10 >> 0x20) + iVar8 * 10 + ((int)uVar6 >> 0x1f) +\n            (uint)CARRY4(uVar5,uVar6);\n    if (pbVar10 == pbVar9) break;\n    uVar6 = (uint)*pbVar9;\n  }\n  return 0;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "ulonglong uVar2;" type_identifier identifier ;) (declaration "char cVar3;" primitive_type identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "uint *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "byte *pbVar9;" type_identifier (pointer_declarator "*pbVar9" * identifier) ;) (declaration "byte *pbVar10;" type_identifier (pointer_declarator "*pbVar10" * identifier) ;) (declaration "int unaff_EDI;" primitive_type identifier ;) (declaration "undefined8 uVar11;" type_identifier identifier ;) (declaration "uint local_1c;" type_identifier identifier ;) (expression_statement "uVar11 = FUN_00036ac5();" (assignment_expression "uVar11 = FUN_00036ac5()" identifier = (call_expression "FUN_00036ac5()" identifier (argument_list "()" ( )))) ;) (expression_statement "puVar7 = (uint *)((ulonglong)uVar11 >> 0x20);" (assignment_expression "puVar7 = (uint *)((ulonglong)uVar11 >> 0x20)" identifier = (cast_expression "(uint *)((ulonglong)uVar11 >> 0x20)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((ulonglong)uVar11 >> 0x20)" ( (binary_expression "(ulonglong)uVar11 >> 0x20" (cast_expression "(ulonglong)uVar11" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "pbVar9 = (byte *)uVar11;" (assignment_expression "pbVar9 = (byte *)uVar11" identifier = (cast_expression "(byte *)uVar11" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "bVar1 = *pbVar9;" (assignment_expression "bVar1 = *pbVar9" identifier = (pointer_expression "*pbVar9" * identifier)) ;) (expression_statement "uVar6 = (uint)bVar1;" (assignment_expression "uVar6 = (uint)bVar1" identifier = (cast_expression "(uint)bVar1" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (if_statement "if (bVar1 == 0x2d) {\n    local_1c = 1;\nLAB_0003e64a:\n    pbVar9 = pbVar9 + 1;\n    uVar6 = (uint)*pbVar9;\n    if ((*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 4) != 0) goto LAB_0003e666;\n    return 0;\n  }" if (parenthesized_expression "(bVar1 == 0x2d)" ( (binary_expression "bVar1 == 0x2d" identifier == number_literal) )) (compound_statement "{\n    local_1c = 1;\nLAB_0003e64a:\n    pbVar9 = pbVar9 + 1;\n    uVar6 = (uint)*pbVar9;\n    if ((*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 4) != 0) goto LAB_0003e666;\n    return 0;\n  }" { (expression_statement "local_1c = 1;" (assignment_expression "local_1c = 1" identifier = number_literal) ;) (labeled_statement "LAB_0003e64a:\n    pbVar9 = pbVar9 + 1;" statement_identifier : (expression_statement "pbVar9 = pbVar9 + 1;" (assignment_expression "pbVar9 = pbVar9 + 1" identifier = (binary_expression "pbVar9 + 1" identifier + number_literal)) ;)) (expression_statement "uVar6 = (uint)*pbVar9;" (assignment_expression "uVar6 = (uint)*pbVar9" identifier = (binary_expression "(uint)*pbVar9" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) (if_statement "if ((*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 4) != 0) goto LAB_0003e666;" if (parenthesized_expression "((*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 4) != 0)" ( (binary_expression "(*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 4) != 0" (parenthesized_expression "(*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 4)" ( (binary_expression "*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 4" (pointer_expression "*(byte *)(unaff_EDI + 0xedfe9 + uVar6)" * (cast_expression "(byte *)(unaff_EDI + 0xedfe9 + uVar6)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0xedfe9 + uVar6)" ( (binary_expression "unaff_EDI + 0xedfe9 + uVar6" (binary_expression "unaff_EDI + 0xedfe9" identifier + number_literal) + identifier) )))) & number_literal) )) != number_literal) )) (goto_statement "goto LAB_0003e666;" goto statement_identifier ;)) (return_statement "return 0;" return number_literal ;) })) (if_statement "if (bVar1 == 0x2b) {\n    local_1c = 0;\n    goto LAB_0003e64a;\n  }" if (parenthesized_expression "(bVar1 == 0x2b)" ( (binary_expression "bVar1 == 0x2b" identifier == number_literal) )) (compound_statement "{\n    local_1c = 0;\n    goto LAB_0003e64a;\n  }" { (expression_statement "local_1c = 0;" (assignment_expression "local_1c = 0" identifier = number_literal) ;) (goto_statement "goto LAB_0003e64a;" goto statement_identifier ;) })) (if_statement "if (bVar1 == 0x30) {\n    if ((pbVar9[1] & 0xdf) == 0x58) {\n      uVar6 = (uint)pbVar9[2];\n      if ((*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 8) != 0) {\n        pbVar10 = pbVar9 + 2;\n        if (pbVar9[2] == 0x30) {\n          do {\n            pbVar10 = pbVar10 + 1;\n            bVar1 = *pbVar10;\n            uVar6 = (uint)bVar1;\n          } while (bVar1 == 0x30);\n          if ((*(byte *)(unaff_EDI + 0xedfe9 + (uint)bVar1) & 8) == 0) {\n            uVar4 = 0;\n            goto LAB_0003e7bc;\n          }\n        }\n        pbVar9 = pbVar10 + 1;\n        uVar4 = 0;\n        while( true ) {\n          cVar3 = (char)uVar6;\n          uVar6 = (uint)*pbVar9;\n          uVar4 = uVar4 * 0x10 + ((int)cVar3 + ((int)cVar3 >> 6 & 1U) * 9 & 0xf);\n          if ((*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 8) == 0) break;\n          pbVar9 = pbVar9 + 1;\n          if (pbVar10 + 9 == pbVar9) {\n            return 0;\n          }\n        }\n        if ((int)uVar4 < 0) {\n          return 0;\n        }\nLAB_0003e7bc:\n        *puVar7 = uVar4;\n        return 1;\n      }\n    }\n    local_1c = 0;\n    do {\n      pbVar9 = pbVar9 + 1;\n      uVar6 = (uint)*pbVar9;\nLAB_0003e666:\n    } while ((char)uVar6 == '0');\n  }\n  else {\n    if ((*(byte *)(unaff_EDI + 0xedfe9 + (uint)bVar1) & 4) == 0) {\n      return 0;\n    }\n    local_1c = 0;\n  }" if (parenthesized_expression "(bVar1 == 0x30)" ( (binary_expression "bVar1 == 0x30" identifier == number_literal) )) (compound_statement "{\n    if ((pbVar9[1] & 0xdf) == 0x58) {\n      uVar6 = (uint)pbVar9[2];\n      if ((*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 8) != 0) {\n        pbVar10 = pbVar9 + 2;\n        if (pbVar9[2] == 0x30) {\n          do {\n            pbVar10 = pbVar10 + 1;\n            bVar1 = *pbVar10;\n            uVar6 = (uint)bVar1;\n          } while (bVar1 == 0x30);\n          if ((*(byte *)(unaff_EDI + 0xedfe9 + (uint)bVar1) & 8) == 0) {\n            uVar4 = 0;\n            goto LAB_0003e7bc;\n          }\n        }\n        pbVar9 = pbVar10 + 1;\n        uVar4 = 0;\n        while( true ) {\n          cVar3 = (char)uVar6;\n          uVar6 = (uint)*pbVar9;\n          uVar4 = uVar4 * 0x10 + ((int)cVar3 + ((int)cVar3 >> 6 & 1U) * 9 & 0xf);\n          if ((*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 8) == 0) break;\n          pbVar9 = pbVar9 + 1;\n          if (pbVar10 + 9 == pbVar9) {\n            return 0;\n          }\n        }\n        if ((int)uVar4 < 0) {\n          return 0;\n        }\nLAB_0003e7bc:\n        *puVar7 = uVar4;\n        return 1;\n      }\n    }\n    local_1c = 0;\n    do {\n      pbVar9 = pbVar9 + 1;\n      uVar6 = (uint)*pbVar9;\nLAB_0003e666:\n    } while ((char)uVar6 == '0');\n  }" { (if_statement "if ((pbVar9[1] & 0xdf) == 0x58) {\n      uVar6 = (uint)pbVar9[2];\n      if ((*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 8) != 0) {\n        pbVar10 = pbVar9 + 2;\n        if (pbVar9[2] == 0x30) {\n          do {\n            pbVar10 = pbVar10 + 1;\n            bVar1 = *pbVar10;\n            uVar6 = (uint)bVar1;\n          } while (bVar1 == 0x30);\n          if ((*(byte *)(unaff_EDI + 0xedfe9 + (uint)bVar1) & 8) == 0) {\n            uVar4 = 0;\n            goto LAB_0003e7bc;\n          }\n        }\n        pbVar9 = pbVar10 + 1;\n        uVar4 = 0;\n        while( true ) {\n          cVar3 = (char)uVar6;\n          uVar6 = (uint)*pbVar9;\n          uVar4 = uVar4 * 0x10 + ((int)cVar3 + ((int)cVar3 >> 6 & 1U) * 9 & 0xf);\n          if ((*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 8) == 0) break;\n          pbVar9 = pbVar9 + 1;\n          if (pbVar10 + 9 == pbVar9) {\n            return 0;\n          }\n        }\n        if ((int)uVar4 < 0) {\n          return 0;\n        }\nLAB_0003e7bc:\n        *puVar7 = uVar4;\n        return 1;\n      }\n    }" if (parenthesized_expression "((pbVar9[1] & 0xdf) == 0x58)" ( (binary_expression "(pbVar9[1] & 0xdf) == 0x58" (parenthesized_expression "(pbVar9[1] & 0xdf)" ( (binary_expression "pbVar9[1] & 0xdf" (subscript_expression "pbVar9[1]" identifier [ number_literal ]) & number_literal) )) == number_literal) )) (compound_statement "{\n      uVar6 = (uint)pbVar9[2];\n      if ((*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 8) != 0) {\n        pbVar10 = pbVar9 + 2;\n        if (pbVar9[2] == 0x30) {\n          do {\n            pbVar10 = pbVar10 + 1;\n            bVar1 = *pbVar10;\n            uVar6 = (uint)bVar1;\n          } while (bVar1 == 0x30);\n          if ((*(byte *)(unaff_EDI + 0xedfe9 + (uint)bVar1) & 8) == 0) {\n            uVar4 = 0;\n            goto LAB_0003e7bc;\n          }\n        }\n        pbVar9 = pbVar10 + 1;\n        uVar4 = 0;\n        while( true ) {\n          cVar3 = (char)uVar6;\n          uVar6 = (uint)*pbVar9;\n          uVar4 = uVar4 * 0x10 + ((int)cVar3 + ((int)cVar3 >> 6 & 1U) * 9 & 0xf);\n          if ((*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 8) == 0) break;\n          pbVar9 = pbVar9 + 1;\n          if (pbVar10 + 9 == pbVar9) {\n            return 0;\n          }\n        }\n        if ((int)uVar4 < 0) {\n          return 0;\n        }\nLAB_0003e7bc:\n        *puVar7 = uVar4;\n        return 1;\n      }\n    }" { (expression_statement "uVar6 = (uint)pbVar9[2];" (assignment_expression "uVar6 = (uint)pbVar9[2]" identifier = (cast_expression "(uint)pbVar9[2]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar9[2]" identifier [ number_literal ]))) ;) (if_statement "if ((*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 8) != 0) {\n        pbVar10 = pbVar9 + 2;\n        if (pbVar9[2] == 0x30) {\n          do {\n            pbVar10 = pbVar10 + 1;\n            bVar1 = *pbVar10;\n            uVar6 = (uint)bVar1;\n          } while (bVar1 == 0x30);\n          if ((*(byte *)(unaff_EDI + 0xedfe9 + (uint)bVar1) & 8) == 0) {\n            uVar4 = 0;\n            goto LAB_0003e7bc;\n          }\n        }\n        pbVar9 = pbVar10 + 1;\n        uVar4 = 0;\n        while( true ) {\n          cVar3 = (char)uVar6;\n          uVar6 = (uint)*pbVar9;\n          uVar4 = uVar4 * 0x10 + ((int)cVar3 + ((int)cVar3 >> 6 & 1U) * 9 & 0xf);\n          if ((*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 8) == 0) break;\n          pbVar9 = pbVar9 + 1;\n          if (pbVar10 + 9 == pbVar9) {\n            return 0;\n          }\n        }\n        if ((int)uVar4 < 0) {\n          return 0;\n        }\nLAB_0003e7bc:\n        *puVar7 = uVar4;\n        return 1;\n      }" if (parenthesized_expression "((*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 8) != 0)" ( (binary_expression "(*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 8) != 0" (parenthesized_expression "(*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 8)" ( (binary_expression "*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 8" (pointer_expression "*(byte *)(unaff_EDI + 0xedfe9 + uVar6)" * (cast_expression "(byte *)(unaff_EDI + 0xedfe9 + uVar6)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0xedfe9 + uVar6)" ( (binary_expression "unaff_EDI + 0xedfe9 + uVar6" (binary_expression "unaff_EDI + 0xedfe9" identifier + number_literal) + identifier) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n        pbVar10 = pbVar9 + 2;\n        if (pbVar9[2] == 0x30) {\n          do {\n            pbVar10 = pbVar10 + 1;\n            bVar1 = *pbVar10;\n            uVar6 = (uint)bVar1;\n          } while (bVar1 == 0x30);\n          if ((*(byte *)(unaff_EDI + 0xedfe9 + (uint)bVar1) & 8) == 0) {\n            uVar4 = 0;\n            goto LAB_0003e7bc;\n          }\n        }\n        pbVar9 = pbVar10 + 1;\n        uVar4 = 0;\n        while( true ) {\n          cVar3 = (char)uVar6;\n          uVar6 = (uint)*pbVar9;\n          uVar4 = uVar4 * 0x10 + ((int)cVar3 + ((int)cVar3 >> 6 & 1U) * 9 & 0xf);\n          if ((*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 8) == 0) break;\n          pbVar9 = pbVar9 + 1;\n          if (pbVar10 + 9 == pbVar9) {\n            return 0;\n          }\n        }\n        if ((int)uVar4 < 0) {\n          return 0;\n        }\nLAB_0003e7bc:\n        *puVar7 = uVar4;\n        return 1;\n      }" { (expression_statement "pbVar10 = pbVar9 + 2;" (assignment_expression "pbVar10 = pbVar9 + 2" identifier = (binary_expression "pbVar9 + 2" identifier + number_literal)) ;) (if_statement "if (pbVar9[2] == 0x30) {\n          do {\n            pbVar10 = pbVar10 + 1;\n            bVar1 = *pbVar10;\n            uVar6 = (uint)bVar1;\n          } while (bVar1 == 0x30);\n          if ((*(byte *)(unaff_EDI + 0xedfe9 + (uint)bVar1) & 8) == 0) {\n            uVar4 = 0;\n            goto LAB_0003e7bc;\n          }\n        }" if (parenthesized_expression "(pbVar9[2] == 0x30)" ( (binary_expression "pbVar9[2] == 0x30" (subscript_expression "pbVar9[2]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n          do {\n            pbVar10 = pbVar10 + 1;\n            bVar1 = *pbVar10;\n            uVar6 = (uint)bVar1;\n          } while (bVar1 == 0x30);\n          if ((*(byte *)(unaff_EDI + 0xedfe9 + (uint)bVar1) & 8) == 0) {\n            uVar4 = 0;\n            goto LAB_0003e7bc;\n          }\n        }" { (do_statement "do {\n            pbVar10 = pbVar10 + 1;\n            bVar1 = *pbVar10;\n            uVar6 = (uint)bVar1;\n          } while (bVar1 == 0x30);" do (compound_statement "{\n            pbVar10 = pbVar10 + 1;\n            bVar1 = *pbVar10;\n            uVar6 = (uint)bVar1;\n          }" { (expression_statement "pbVar10 = pbVar10 + 1;" (assignment_expression "pbVar10 = pbVar10 + 1" identifier = (binary_expression "pbVar10 + 1" identifier + number_literal)) ;) (expression_statement "bVar1 = *pbVar10;" (assignment_expression "bVar1 = *pbVar10" identifier = (pointer_expression "*pbVar10" * identifier)) ;) (expression_statement "uVar6 = (uint)bVar1;" (assignment_expression "uVar6 = (uint)bVar1" identifier = (cast_expression "(uint)bVar1" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) }) while (parenthesized_expression "(bVar1 == 0x30)" ( (binary_expression "bVar1 == 0x30" identifier == number_literal) )) ;) (if_statement "if ((*(byte *)(unaff_EDI + 0xedfe9 + (uint)bVar1) & 8) == 0) {\n            uVar4 = 0;\n            goto LAB_0003e7bc;\n          }" if (parenthesized_expression "((*(byte *)(unaff_EDI + 0xedfe9 + (uint)bVar1) & 8) == 0)" ( (binary_expression "(*(byte *)(unaff_EDI + 0xedfe9 + (uint)bVar1) & 8) == 0" (parenthesized_expression "(*(byte *)(unaff_EDI + 0xedfe9 + (uint)bVar1) & 8)" ( (binary_expression "*(byte *)(unaff_EDI + 0xedfe9 + (uint)bVar1) & 8" (pointer_expression "*(byte *)(unaff_EDI + 0xedfe9 + (uint)bVar1)" * (cast_expression "(byte *)(unaff_EDI + 0xedfe9 + (uint)bVar1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0xedfe9 + (uint)bVar1)" ( (binary_expression "unaff_EDI + 0xedfe9 + (uint)bVar1" (binary_expression "unaff_EDI + 0xedfe9" identifier + number_literal) + (cast_expression "(uint)bVar1" ( (type_descriptor "uint" type_identifier) ) identifier)) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n            uVar4 = 0;\n            goto LAB_0003e7bc;\n          }" { (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) (goto_statement "goto LAB_0003e7bc;" goto statement_identifier ;) })) })) (expression_statement "pbVar9 = pbVar10 + 1;" (assignment_expression "pbVar9 = pbVar10 + 1" identifier = (binary_expression "pbVar10 + 1" identifier + number_literal)) ;) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) (while_statement "while( true ) {\n          cVar3 = (char)uVar6;\n          uVar6 = (uint)*pbVar9;\n          uVar4 = uVar4 * 0x10 + ((int)cVar3 + ((int)cVar3 >> 6 & 1U) * 9 & 0xf);\n          if ((*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 8) == 0) break;\n          pbVar9 = pbVar9 + 1;\n          if (pbVar10 + 9 == pbVar9) {\n            return 0;\n          }\n        }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n          cVar3 = (char)uVar6;\n          uVar6 = (uint)*pbVar9;\n          uVar4 = uVar4 * 0x10 + ((int)cVar3 + ((int)cVar3 >> 6 & 1U) * 9 & 0xf);\n          if ((*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 8) == 0) break;\n          pbVar9 = pbVar9 + 1;\n          if (pbVar10 + 9 == pbVar9) {\n            return 0;\n          }\n        }" { (expression_statement "cVar3 = (char)uVar6;" (assignment_expression "cVar3 = (char)uVar6" identifier = (cast_expression "(char)uVar6" ( (type_descriptor "char" primitive_type) ) identifier)) ;) (expression_statement "uVar6 = (uint)*pbVar9;" (assignment_expression "uVar6 = (uint)*pbVar9" identifier = (binary_expression "(uint)*pbVar9" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) (expression_statement "uVar4 = uVar4 * 0x10 + ((int)cVar3 + ((int)cVar3 >> 6 & 1U) * 9 & 0xf);" (assignment_expression "uVar4 = uVar4 * 0x10 + ((int)cVar3 + ((int)cVar3 >> 6 & 1U) * 9 & 0xf)" identifier = (binary_expression "uVar4 * 0x10 + ((int)cVar3 + ((int)cVar3 >> 6 & 1U) * 9 & 0xf)" (binary_expression "uVar4 * 0x10" identifier * number_literal) + (parenthesized_expression "((int)cVar3 + ((int)cVar3 >> 6 & 1U) * 9 & 0xf)" ( (binary_expression "(int)cVar3 + ((int)cVar3 >> 6 & 1U) * 9 & 0xf" (binary_expression "(int)cVar3 + ((int)cVar3 >> 6 & 1U) * 9" (cast_expression "(int)cVar3" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "((int)cVar3 >> 6 & 1U) * 9" (parenthesized_expression "((int)cVar3 >> 6 & 1U)" ( (binary_expression "(int)cVar3 >> 6 & 1U" (binary_expression "(int)cVar3 >> 6" (cast_expression "(int)cVar3" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) & number_literal) )) * number_literal)) & number_literal) )))) ;) (if_statement "if ((*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 8) == 0) break;" if (parenthesized_expression "((*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 8) == 0)" ( (binary_expression "(*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 8) == 0" (parenthesized_expression "(*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 8)" ( (binary_expression "*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 8" (pointer_expression "*(byte *)(unaff_EDI + 0xedfe9 + uVar6)" * (cast_expression "(byte *)(unaff_EDI + 0xedfe9 + uVar6)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0xedfe9 + uVar6)" ( (binary_expression "unaff_EDI + 0xedfe9 + uVar6" (binary_expression "unaff_EDI + 0xedfe9" identifier + number_literal) + identifier) )))) & number_literal) )) == number_literal) )) (break_statement "break;" break ;)) (expression_statement "pbVar9 = pbVar9 + 1;" (assignment_expression "pbVar9 = pbVar9 + 1" identifier = (binary_expression "pbVar9 + 1" identifier + number_literal)) ;) (if_statement "if (pbVar10 + 9 == pbVar9) {\n            return 0;\n          }" if (parenthesized_expression "(pbVar10 + 9 == pbVar9)" ( (binary_expression "pbVar10 + 9 == pbVar9" (binary_expression "pbVar10 + 9" identifier + number_literal) == identifier) )) (compound_statement "{\n            return 0;\n          }" { (return_statement "return 0;" return number_literal ;) })) })) (if_statement "if ((int)uVar4 < 0) {\n          return 0;\n        }" if (parenthesized_expression "((int)uVar4 < 0)" ( (binary_expression "(int)uVar4 < 0" (cast_expression "(int)uVar4" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n          return 0;\n        }" { (return_statement "return 0;" return number_literal ;) })) (labeled_statement "LAB_0003e7bc:\n        *puVar7 = uVar4;" statement_identifier : (expression_statement "*puVar7 = uVar4;" (assignment_expression "*puVar7 = uVar4" (pointer_expression "*puVar7" * identifier) = identifier) ;)) (return_statement "return 1;" return number_literal ;) })) })) (expression_statement "local_1c = 0;" (assignment_expression "local_1c = 0" identifier = number_literal) ;) (do_statement "do {\n      pbVar9 = pbVar9 + 1;\n      uVar6 = (uint)*pbVar9;\nLAB_0003e666:\n    } while ((char)uVar6 == '0');" do (compound_statement "{\n      pbVar9 = pbVar9 + 1;\n      uVar6 = (uint)*pbVar9;\nLAB_0003e666:\n    }" { (expression_statement "pbVar9 = pbVar9 + 1;" (assignment_expression "pbVar9 = pbVar9 + 1" identifier = (binary_expression "pbVar9 + 1" identifier + number_literal)) ;) (expression_statement "uVar6 = (uint)*pbVar9;" (assignment_expression "uVar6 = (uint)*pbVar9" identifier = (binary_expression "(uint)*pbVar9" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) (labeled_statement "LAB_0003e666:" statement_identifier : (expression_statement "" ;)) }) while (parenthesized_expression "((char)uVar6 == '0')" ( (binary_expression "(char)uVar6 == '0'" (cast_expression "(char)uVar6" ( (type_descriptor "char" primitive_type) ) identifier) == (char_literal "'0'" ' character ')) )) ;) }) (else_clause "else {\n    if ((*(byte *)(unaff_EDI + 0xedfe9 + (uint)bVar1) & 4) == 0) {\n      return 0;\n    }\n    local_1c = 0;\n  }" else (compound_statement "{\n    if ((*(byte *)(unaff_EDI + 0xedfe9 + (uint)bVar1) & 4) == 0) {\n      return 0;\n    }\n    local_1c = 0;\n  }" { (if_statement "if ((*(byte *)(unaff_EDI + 0xedfe9 + (uint)bVar1) & 4) == 0) {\n      return 0;\n    }" if (parenthesized_expression "((*(byte *)(unaff_EDI + 0xedfe9 + (uint)bVar1) & 4) == 0)" ( (binary_expression "(*(byte *)(unaff_EDI + 0xedfe9 + (uint)bVar1) & 4) == 0" (parenthesized_expression "(*(byte *)(unaff_EDI + 0xedfe9 + (uint)bVar1) & 4)" ( (binary_expression "*(byte *)(unaff_EDI + 0xedfe9 + (uint)bVar1) & 4" (pointer_expression "*(byte *)(unaff_EDI + 0xedfe9 + (uint)bVar1)" * (cast_expression "(byte *)(unaff_EDI + 0xedfe9 + (uint)bVar1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0xedfe9 + (uint)bVar1)" ( (binary_expression "unaff_EDI + 0xedfe9 + (uint)bVar1" (binary_expression "unaff_EDI + 0xedfe9" identifier + number_literal) + (cast_expression "(uint)bVar1" ( (type_descriptor "uint" type_identifier) ) identifier)) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "local_1c = 0;" (assignment_expression "local_1c = 0" identifier = number_literal) ;) }))) (expression_statement "pbVar10 = pbVar9 + 0xb;" (assignment_expression "pbVar10 = pbVar9 + 0xb" identifier = (binary_expression "pbVar9 + 0xb" identifier + number_literal)) ;) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) (expression_statement "iVar8 = 0;" (assignment_expression "iVar8 = 0" identifier = number_literal) ;) (while_statement "while( true ) {\n    pbVar9 = pbVar9 + 1;\n    uVar6 = (int)(char)uVar6 - 0x30;\n    if (9 < uVar6) {\n      if ((int)-(iVar8 - (uint)(uVar4 < local_1c)) < (int)(uint)(0x7fffffff < uVar4 - local_1c)) {\n        return 0;\n      }\n      if (local_1c != 0) {\n        uVar4 = -uVar4;\n      }\n      *puVar7 = uVar4;\n      return 1;\n    }\n    uVar2 = (ulonglong)uVar4;\n    uVar5 = (uint)(uVar2 * 10);\n    uVar4 = uVar5 + uVar6;\n    iVar8 = (int)(uVar2 * 10 >> 0x20) + iVar8 * 10 + ((int)uVar6 >> 0x1f) +\n            (uint)CARRY4(uVar5,uVar6);\n    if (pbVar10 == pbVar9) break;\n    uVar6 = (uint)*pbVar9;\n  }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n    pbVar9 = pbVar9 + 1;\n    uVar6 = (int)(char)uVar6 - 0x30;\n    if (9 < uVar6) {\n      if ((int)-(iVar8 - (uint)(uVar4 < local_1c)) < (int)(uint)(0x7fffffff < uVar4 - local_1c)) {\n        return 0;\n      }\n      if (local_1c != 0) {\n        uVar4 = -uVar4;\n      }\n      *puVar7 = uVar4;\n      return 1;\n    }\n    uVar2 = (ulonglong)uVar4;\n    uVar5 = (uint)(uVar2 * 10);\n    uVar4 = uVar5 + uVar6;\n    iVar8 = (int)(uVar2 * 10 >> 0x20) + iVar8 * 10 + ((int)uVar6 >> 0x1f) +\n            (uint)CARRY4(uVar5,uVar6);\n    if (pbVar10 == pbVar9) break;\n    uVar6 = (uint)*pbVar9;\n  }" { (expression_statement "pbVar9 = pbVar9 + 1;" (assignment_expression "pbVar9 = pbVar9 + 1" identifier = (binary_expression "pbVar9 + 1" identifier + number_literal)) ;) (expression_statement "uVar6 = (int)(char)uVar6 - 0x30;" (assignment_expression "uVar6 = (int)(char)uVar6 - 0x30" identifier = (binary_expression "(int)(char)uVar6 - 0x30" (cast_expression "(int)(char)uVar6" ( (type_descriptor "int" primitive_type) ) (cast_expression "(char)uVar6" ( (type_descriptor "char" primitive_type) ) identifier)) - number_literal)) ;) (if_statement "if (9 < uVar6) {\n      if ((int)-(iVar8 - (uint)(uVar4 < local_1c)) < (int)(uint)(0x7fffffff < uVar4 - local_1c)) {\n        return 0;\n      }\n      if (local_1c != 0) {\n        uVar4 = -uVar4;\n      }\n      *puVar7 = uVar4;\n      return 1;\n    }" if (parenthesized_expression "(9 < uVar6)" ( (binary_expression "9 < uVar6" number_literal < identifier) )) (compound_statement "{\n      if ((int)-(iVar8 - (uint)(uVar4 < local_1c)) < (int)(uint)(0x7fffffff < uVar4 - local_1c)) {\n        return 0;\n      }\n      if (local_1c != 0) {\n        uVar4 = -uVar4;\n      }\n      *puVar7 = uVar4;\n      return 1;\n    }" { (if_statement "if ((int)-(iVar8 - (uint)(uVar4 < local_1c)) < (int)(uint)(0x7fffffff < uVar4 - local_1c)) {\n        return 0;\n      }" if (parenthesized_expression "((int)-(iVar8 - (uint)(uVar4 < local_1c)) < (int)(uint)(0x7fffffff < uVar4 - local_1c))" ( (binary_expression "(int)-(iVar8 - (uint)(uVar4 < local_1c)) < (int)(uint)(0x7fffffff < uVar4 - local_1c)" (cast_expression "(int)-(iVar8 - (uint)(uVar4 < local_1c))" ( (type_descriptor "int" primitive_type) ) (unary_expression "-(iVar8 - (uint)(uVar4 < local_1c))" - (parenthesized_expression "(iVar8 - (uint)(uVar4 < local_1c))" ( (binary_expression "iVar8 - (uint)(uVar4 < local_1c)" identifier - (call_expression "(uint)(uVar4 < local_1c)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar4 < local_1c)" ( (binary_expression "uVar4 < local_1c" identifier < identifier) )))) )))) < (cast_expression "(int)(uint)(0x7fffffff < uVar4 - local_1c)" ( (type_descriptor "int" primitive_type) ) (call_expression "(uint)(0x7fffffff < uVar4 - local_1c)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(0x7fffffff < uVar4 - local_1c)" ( (binary_expression "0x7fffffff < uVar4 - local_1c" number_literal < (binary_expression "uVar4 - local_1c" identifier - identifier)) ))))) )) (compound_statement "{\n        return 0;\n      }" { (return_statement "return 0;" return number_literal ;) })) (if_statement "if (local_1c != 0) {\n        uVar4 = -uVar4;\n      }" if (parenthesized_expression "(local_1c != 0)" ( (binary_expression "local_1c != 0" identifier != number_literal) )) (compound_statement "{\n        uVar4 = -uVar4;\n      }" { (expression_statement "uVar4 = -uVar4;" (assignment_expression "uVar4 = -uVar4" identifier = (unary_expression "-uVar4" - identifier)) ;) })) (expression_statement "*puVar7 = uVar4;" (assignment_expression "*puVar7 = uVar4" (pointer_expression "*puVar7" * identifier) = identifier) ;) (return_statement "return 1;" return number_literal ;) })) (expression_statement "uVar2 = (ulonglong)uVar4;" (assignment_expression "uVar2 = (ulonglong)uVar4" identifier = (cast_expression "(ulonglong)uVar4" ( (type_descriptor "ulonglong" type_identifier) ) identifier)) ;) (expression_statement "uVar5 = (uint)(uVar2 * 10);" (assignment_expression "uVar5 = (uint)(uVar2 * 10)" identifier = (call_expression "(uint)(uVar2 * 10)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar2 * 10)" ( (binary_expression "uVar2 * 10" identifier * number_literal) )))) ;) (expression_statement "uVar4 = uVar5 + uVar6;" (assignment_expression "uVar4 = uVar5 + uVar6" identifier = (binary_expression "uVar5 + uVar6" identifier + identifier)) ;) (expression_statement "iVar8 = (int)(uVar2 * 10 >> 0x20) + iVar8 * 10 + ((int)uVar6 >> 0x1f) +\n            (uint)CARRY4(uVar5,uVar6);" (assignment_expression "iVar8 = (int)(uVar2 * 10 >> 0x20) + iVar8 * 10 + ((int)uVar6 >> 0x1f) +\n            (uint)CARRY4(uVar5,uVar6)" identifier = (binary_expression "(int)(uVar2 * 10 >> 0x20) + iVar8 * 10 + ((int)uVar6 >> 0x1f) +\n            (uint)CARRY4(uVar5,uVar6)" (binary_expression "(int)(uVar2 * 10 >> 0x20) + iVar8 * 10 + ((int)uVar6 >> 0x1f)" (binary_expression "(int)(uVar2 * 10 >> 0x20) + iVar8 * 10" (cast_expression "(int)(uVar2 * 10 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uVar2 * 10 >> 0x20)" ( (binary_expression "uVar2 * 10 >> 0x20" (binary_expression "uVar2 * 10" identifier * number_literal) >> number_literal) ))) + (binary_expression "iVar8 * 10" identifier * number_literal)) + (parenthesized_expression "((int)uVar6 >> 0x1f)" ( (binary_expression "(int)uVar6 >> 0x1f" (cast_expression "(int)uVar6" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) ))) + (cast_expression "(uint)CARRY4(uVar5,uVar6)" ( (type_descriptor "uint" type_identifier) ) (call_expression "CARRY4(uVar5,uVar6)" identifier (argument_list "(uVar5,uVar6)" ( identifier , identifier )))))) ;) (if_statement "if (pbVar10 == pbVar9) break;" if (parenthesized_expression "(pbVar10 == pbVar9)" ( (binary_expression "pbVar10 == pbVar9" identifier == identifier) )) (break_statement "break;" break ;)) (expression_statement "uVar6 = (uint)*pbVar9;" (assignment_expression "uVar6 = (uint)*pbVar9" identifier = (binary_expression "(uint)*pbVar9" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "int sqlite3GetInt32(char *zNum,int *pValue)\n\n{\n  byte bVar1;\n  ulonglong uVar2;\n  char cVar3;\n  uint uVar4;\n  uint uVar5;\n  uint uVar6;\n  uint *puVar7;\n  int iVar8;\n  byte *pbVar9;\n  byte *pbVar10;\n  int unaff_EDI;\n  undefined8 uVar11;\n  uint local_1c;\n  \n  uVar11 = __x86_get_pc_thunk_di();\n  puVar7 = (uint *)((ulonglong)uVar11 >> 0x20);\n  pbVar9 = (byte *)uVar11;\n  bVar1 = *pbVar9;\n  uVar6 = (uint)bVar1;\n  if (bVar1 == 0x2d) {\n    local_1c = 1;\nLAB_0003e64a:\n    pbVar9 = pbVar9 + 1;\n    uVar6 = (uint)*pbVar9;\n    if ((*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 4) != 0) goto LAB_0003e666;\n    return 0;\n  }\n  if (bVar1 == 0x2b) {\n    local_1c = 0;\n    goto LAB_0003e64a;\n  }\n  if (bVar1 == 0x30) {\n    if ((pbVar9[1] & 0xdf) == 0x58) {\n      uVar6 = (uint)pbVar9[2];\n      if ((*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 8) != 0) {\n        pbVar10 = pbVar9 + 2;\n        if (pbVar9[2] == 0x30) {\n          do {\n            pbVar10 = pbVar10 + 1;\n            bVar1 = *pbVar10;\n            uVar6 = (uint)bVar1;\n          } while (bVar1 == 0x30);\n          if ((*(byte *)(unaff_EDI + 0xedfe9 + (uint)bVar1) & 8) == 0) {\n            uVar4 = 0;\n            goto LAB_0003e7bc;\n          }\n        }\n        pbVar9 = pbVar10 + 1;\n        uVar4 = 0;\n        while( true ) {\n          cVar3 = (char)uVar6;\n          uVar6 = (uint)*pbVar9;\n          uVar4 = uVar4 * 0x10 + ((int)cVar3 + ((int)cVar3 >> 6 & 1U) * 9 & 0xf);\n          if ((*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 8) == 0) break;\n          pbVar9 = pbVar9 + 1;\n          if (pbVar10 + 9 == pbVar9) {\n            return 0;\n          }\n        }\n        if ((int)uVar4 < 0) {\n          return 0;\n        }\nLAB_0003e7bc:\n        *puVar7 = uVar4;\n        return 1;\n      }\n    }\n    local_1c = 0;\n    do {\n      pbVar9 = pbVar9 + 1;\n      uVar6 = (uint)*pbVar9;\nLAB_0003e666:\n    } while ((char)uVar6 == '0');\n  }\n  else {\n    if ((*(byte *)(unaff_EDI + 0xedfe9 + (uint)bVar1) & 4) == 0) {\n      return 0;\n    }\n    local_1c = 0;\n  }\n  pbVar10 = pbVar9 + 0xb;\n  uVar4 = 0;\n  iVar8 = 0;\n  while( true ) {\n    pbVar9 = pbVar9 + 1;\n    uVar6 = (int)(char)uVar6 - 0x30;\n    if (9 < uVar6) {\n      if ((int)-(iVar8 - (uint)(uVar4 < local_1c)) < (int)(uint)(0x7fffffff < uVar4 - local_1c)) {\n        return 0;\n      }\n      if (local_1c != 0) {\n        uVar4 = -uVar4;\n      }\n      *puVar7 = uVar4;\n      return 1;\n    }\n    uVar2 = (ulonglong)uVar4;\n    uVar5 = (uint)(uVar2 * 10);\n    uVar4 = uVar5 + uVar6;\n    iVar8 = (int)(uVar2 * 10 >> 0x20) + iVar8 * 10 + ((int)uVar6 >> 0x1f) +\n            (uint)CARRY4(uVar5,uVar6);\n    if (pbVar10 == pbVar9) break;\n    uVar6 = (uint)*pbVar9;\n  }\n  return 0;\n}\n\n" (function_definition "int sqlite3GetInt32(char *zNum,int *pValue)\n\n{\n  byte bVar1;\n  ulonglong uVar2;\n  char cVar3;\n  uint uVar4;\n  uint uVar5;\n  uint uVar6;\n  uint *puVar7;\n  int iVar8;\n  byte *pbVar9;\n  byte *pbVar10;\n  int unaff_EDI;\n  undefined8 uVar11;\n  uint local_1c;\n  \n  uVar11 = __x86_get_pc_thunk_di();\n  puVar7 = (uint *)((ulonglong)uVar11 >> 0x20);\n  pbVar9 = (byte *)uVar11;\n  bVar1 = *pbVar9;\n  uVar6 = (uint)bVar1;\n  if (bVar1 == 0x2d) {\n    local_1c = 1;\nLAB_0003e64a:\n    pbVar9 = pbVar9 + 1;\n    uVar6 = (uint)*pbVar9;\n    if ((*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 4) != 0) goto LAB_0003e666;\n    return 0;\n  }\n  if (bVar1 == 0x2b) {\n    local_1c = 0;\n    goto LAB_0003e64a;\n  }\n  if (bVar1 == 0x30) {\n    if ((pbVar9[1] & 0xdf) == 0x58) {\n      uVar6 = (uint)pbVar9[2];\n      if ((*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 8) != 0) {\n        pbVar10 = pbVar9 + 2;\n        if (pbVar9[2] == 0x30) {\n          do {\n            pbVar10 = pbVar10 + 1;\n            bVar1 = *pbVar10;\n            uVar6 = (uint)bVar1;\n          } while (bVar1 == 0x30);\n          if ((*(byte *)(unaff_EDI + 0xedfe9 + (uint)bVar1) & 8) == 0) {\n            uVar4 = 0;\n            goto LAB_0003e7bc;\n          }\n        }\n        pbVar9 = pbVar10 + 1;\n        uVar4 = 0;\n        while( true ) {\n          cVar3 = (char)uVar6;\n          uVar6 = (uint)*pbVar9;\n          uVar4 = uVar4 * 0x10 + ((int)cVar3 + ((int)cVar3 >> 6 & 1U) * 9 & 0xf);\n          if ((*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 8) == 0) break;\n          pbVar9 = pbVar9 + 1;\n          if (pbVar10 + 9 == pbVar9) {\n            return 0;\n          }\n        }\n        if ((int)uVar4 < 0) {\n          return 0;\n        }\nLAB_0003e7bc:\n        *puVar7 = uVar4;\n        return 1;\n      }\n    }\n    local_1c = 0;\n    do {\n      pbVar9 = pbVar9 + 1;\n      uVar6 = (uint)*pbVar9;\nLAB_0003e666:\n    } while ((char)uVar6 == '0');\n  }\n  else {\n    if ((*(byte *)(unaff_EDI + 0xedfe9 + (uint)bVar1) & 4) == 0) {\n      return 0;\n    }\n    local_1c = 0;\n  }\n  pbVar10 = pbVar9 + 0xb;\n  uVar4 = 0;\n  iVar8 = 0;\n  while( true ) {\n    pbVar9 = pbVar9 + 1;\n    uVar6 = (int)(char)uVar6 - 0x30;\n    if (9 < uVar6) {\n      if ((int)-(iVar8 - (uint)(uVar4 < local_1c)) < (int)(uint)(0x7fffffff < uVar4 - local_1c)) {\n        return 0;\n      }\n      if (local_1c != 0) {\n        uVar4 = -uVar4;\n      }\n      *puVar7 = uVar4;\n      return 1;\n    }\n    uVar2 = (ulonglong)uVar4;\n    uVar5 = (uint)(uVar2 * 10);\n    uVar4 = uVar5 + uVar6;\n    iVar8 = (int)(uVar2 * 10 >> 0x20) + iVar8 * 10 + ((int)uVar6 >> 0x1f) +\n            (uint)CARRY4(uVar5,uVar6);\n    if (pbVar10 == pbVar9) break;\n    uVar6 = (uint)*pbVar9;\n  }\n  return 0;\n}" primitive_type (function_declarator "sqlite3GetInt32(char *zNum,int *pValue)" identifier (parameter_list "(char *zNum,int *pValue)" ( (parameter_declaration "char *zNum" primitive_type (pointer_declarator "*zNum" * identifier)) , (parameter_declaration "int *pValue" primitive_type (pointer_declarator "*pValue" * identifier)) ))) (compound_statement "{\n  byte bVar1;\n  ulonglong uVar2;\n  char cVar3;\n  uint uVar4;\n  uint uVar5;\n  uint uVar6;\n  uint *puVar7;\n  int iVar8;\n  byte *pbVar9;\n  byte *pbVar10;\n  int unaff_EDI;\n  undefined8 uVar11;\n  uint local_1c;\n  \n  uVar11 = __x86_get_pc_thunk_di();\n  puVar7 = (uint *)((ulonglong)uVar11 >> 0x20);\n  pbVar9 = (byte *)uVar11;\n  bVar1 = *pbVar9;\n  uVar6 = (uint)bVar1;\n  if (bVar1 == 0x2d) {\n    local_1c = 1;\nLAB_0003e64a:\n    pbVar9 = pbVar9 + 1;\n    uVar6 = (uint)*pbVar9;\n    if ((*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 4) != 0) goto LAB_0003e666;\n    return 0;\n  }\n  if (bVar1 == 0x2b) {\n    local_1c = 0;\n    goto LAB_0003e64a;\n  }\n  if (bVar1 == 0x30) {\n    if ((pbVar9[1] & 0xdf) == 0x58) {\n      uVar6 = (uint)pbVar9[2];\n      if ((*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 8) != 0) {\n        pbVar10 = pbVar9 + 2;\n        if (pbVar9[2] == 0x30) {\n          do {\n            pbVar10 = pbVar10 + 1;\n            bVar1 = *pbVar10;\n            uVar6 = (uint)bVar1;\n          } while (bVar1 == 0x30);\n          if ((*(byte *)(unaff_EDI + 0xedfe9 + (uint)bVar1) & 8) == 0) {\n            uVar4 = 0;\n            goto LAB_0003e7bc;\n          }\n        }\n        pbVar9 = pbVar10 + 1;\n        uVar4 = 0;\n        while( true ) {\n          cVar3 = (char)uVar6;\n          uVar6 = (uint)*pbVar9;\n          uVar4 = uVar4 * 0x10 + ((int)cVar3 + ((int)cVar3 >> 6 & 1U) * 9 & 0xf);\n          if ((*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 8) == 0) break;\n          pbVar9 = pbVar9 + 1;\n          if (pbVar10 + 9 == pbVar9) {\n            return 0;\n          }\n        }\n        if ((int)uVar4 < 0) {\n          return 0;\n        }\nLAB_0003e7bc:\n        *puVar7 = uVar4;\n        return 1;\n      }\n    }\n    local_1c = 0;\n    do {\n      pbVar9 = pbVar9 + 1;\n      uVar6 = (uint)*pbVar9;\nLAB_0003e666:\n    } while ((char)uVar6 == '0');\n  }\n  else {\n    if ((*(byte *)(unaff_EDI + 0xedfe9 + (uint)bVar1) & 4) == 0) {\n      return 0;\n    }\n    local_1c = 0;\n  }\n  pbVar10 = pbVar9 + 0xb;\n  uVar4 = 0;\n  iVar8 = 0;\n  while( true ) {\n    pbVar9 = pbVar9 + 1;\n    uVar6 = (int)(char)uVar6 - 0x30;\n    if (9 < uVar6) {\n      if ((int)-(iVar8 - (uint)(uVar4 < local_1c)) < (int)(uint)(0x7fffffff < uVar4 - local_1c)) {\n        return 0;\n      }\n      if (local_1c != 0) {\n        uVar4 = -uVar4;\n      }\n      *puVar7 = uVar4;\n      return 1;\n    }\n    uVar2 = (ulonglong)uVar4;\n    uVar5 = (uint)(uVar2 * 10);\n    uVar4 = uVar5 + uVar6;\n    iVar8 = (int)(uVar2 * 10 >> 0x20) + iVar8 * 10 + ((int)uVar6 >> 0x1f) +\n            (uint)CARRY4(uVar5,uVar6);\n    if (pbVar10 == pbVar9) break;\n    uVar6 = (uint)*pbVar9;\n  }\n  return 0;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "ulonglong uVar2;" type_identifier identifier ;) (declaration "char cVar3;" primitive_type identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "uint *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "byte *pbVar9;" type_identifier (pointer_declarator "*pbVar9" * identifier) ;) (declaration "byte *pbVar10;" type_identifier (pointer_declarator "*pbVar10" * identifier) ;) (declaration "int unaff_EDI;" primitive_type identifier ;) (declaration "undefined8 uVar11;" type_identifier identifier ;) (declaration "uint local_1c;" type_identifier identifier ;) (expression_statement "uVar11 = __x86_get_pc_thunk_di();" (assignment_expression "uVar11 = __x86_get_pc_thunk_di()" identifier = (call_expression "__x86_get_pc_thunk_di()" identifier (argument_list "()" ( )))) ;) (expression_statement "puVar7 = (uint *)((ulonglong)uVar11 >> 0x20);" (assignment_expression "puVar7 = (uint *)((ulonglong)uVar11 >> 0x20)" identifier = (cast_expression "(uint *)((ulonglong)uVar11 >> 0x20)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((ulonglong)uVar11 >> 0x20)" ( (binary_expression "(ulonglong)uVar11 >> 0x20" (cast_expression "(ulonglong)uVar11" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "pbVar9 = (byte *)uVar11;" (assignment_expression "pbVar9 = (byte *)uVar11" identifier = (cast_expression "(byte *)uVar11" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "bVar1 = *pbVar9;" (assignment_expression "bVar1 = *pbVar9" identifier = (pointer_expression "*pbVar9" * identifier)) ;) (expression_statement "uVar6 = (uint)bVar1;" (assignment_expression "uVar6 = (uint)bVar1" identifier = (cast_expression "(uint)bVar1" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (if_statement "if (bVar1 == 0x2d) {\n    local_1c = 1;\nLAB_0003e64a:\n    pbVar9 = pbVar9 + 1;\n    uVar6 = (uint)*pbVar9;\n    if ((*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 4) != 0) goto LAB_0003e666;\n    return 0;\n  }" if (parenthesized_expression "(bVar1 == 0x2d)" ( (binary_expression "bVar1 == 0x2d" identifier == number_literal) )) (compound_statement "{\n    local_1c = 1;\nLAB_0003e64a:\n    pbVar9 = pbVar9 + 1;\n    uVar6 = (uint)*pbVar9;\n    if ((*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 4) != 0) goto LAB_0003e666;\n    return 0;\n  }" { (expression_statement "local_1c = 1;" (assignment_expression "local_1c = 1" identifier = number_literal) ;) (labeled_statement "LAB_0003e64a:\n    pbVar9 = pbVar9 + 1;" statement_identifier : (expression_statement "pbVar9 = pbVar9 + 1;" (assignment_expression "pbVar9 = pbVar9 + 1" identifier = (binary_expression "pbVar9 + 1" identifier + number_literal)) ;)) (expression_statement "uVar6 = (uint)*pbVar9;" (assignment_expression "uVar6 = (uint)*pbVar9" identifier = (binary_expression "(uint)*pbVar9" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) (if_statement "if ((*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 4) != 0) goto LAB_0003e666;" if (parenthesized_expression "((*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 4) != 0)" ( (binary_expression "(*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 4) != 0" (parenthesized_expression "(*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 4)" ( (binary_expression "*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 4" (pointer_expression "*(byte *)(unaff_EDI + 0xedfe9 + uVar6)" * (cast_expression "(byte *)(unaff_EDI + 0xedfe9 + uVar6)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0xedfe9 + uVar6)" ( (binary_expression "unaff_EDI + 0xedfe9 + uVar6" (binary_expression "unaff_EDI + 0xedfe9" identifier + number_literal) + identifier) )))) & number_literal) )) != number_literal) )) (goto_statement "goto LAB_0003e666;" goto statement_identifier ;)) (return_statement "return 0;" return number_literal ;) })) (if_statement "if (bVar1 == 0x2b) {\n    local_1c = 0;\n    goto LAB_0003e64a;\n  }" if (parenthesized_expression "(bVar1 == 0x2b)" ( (binary_expression "bVar1 == 0x2b" identifier == number_literal) )) (compound_statement "{\n    local_1c = 0;\n    goto LAB_0003e64a;\n  }" { (expression_statement "local_1c = 0;" (assignment_expression "local_1c = 0" identifier = number_literal) ;) (goto_statement "goto LAB_0003e64a;" goto statement_identifier ;) })) (if_statement "if (bVar1 == 0x30) {\n    if ((pbVar9[1] & 0xdf) == 0x58) {\n      uVar6 = (uint)pbVar9[2];\n      if ((*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 8) != 0) {\n        pbVar10 = pbVar9 + 2;\n        if (pbVar9[2] == 0x30) {\n          do {\n            pbVar10 = pbVar10 + 1;\n            bVar1 = *pbVar10;\n            uVar6 = (uint)bVar1;\n          } while (bVar1 == 0x30);\n          if ((*(byte *)(unaff_EDI + 0xedfe9 + (uint)bVar1) & 8) == 0) {\n            uVar4 = 0;\n            goto LAB_0003e7bc;\n          }\n        }\n        pbVar9 = pbVar10 + 1;\n        uVar4 = 0;\n        while( true ) {\n          cVar3 = (char)uVar6;\n          uVar6 = (uint)*pbVar9;\n          uVar4 = uVar4 * 0x10 + ((int)cVar3 + ((int)cVar3 >> 6 & 1U) * 9 & 0xf);\n          if ((*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 8) == 0) break;\n          pbVar9 = pbVar9 + 1;\n          if (pbVar10 + 9 == pbVar9) {\n            return 0;\n          }\n        }\n        if ((int)uVar4 < 0) {\n          return 0;\n        }\nLAB_0003e7bc:\n        *puVar7 = uVar4;\n        return 1;\n      }\n    }\n    local_1c = 0;\n    do {\n      pbVar9 = pbVar9 + 1;\n      uVar6 = (uint)*pbVar9;\nLAB_0003e666:\n    } while ((char)uVar6 == '0');\n  }\n  else {\n    if ((*(byte *)(unaff_EDI + 0xedfe9 + (uint)bVar1) & 4) == 0) {\n      return 0;\n    }\n    local_1c = 0;\n  }" if (parenthesized_expression "(bVar1 == 0x30)" ( (binary_expression "bVar1 == 0x30" identifier == number_literal) )) (compound_statement "{\n    if ((pbVar9[1] & 0xdf) == 0x58) {\n      uVar6 = (uint)pbVar9[2];\n      if ((*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 8) != 0) {\n        pbVar10 = pbVar9 + 2;\n        if (pbVar9[2] == 0x30) {\n          do {\n            pbVar10 = pbVar10 + 1;\n            bVar1 = *pbVar10;\n            uVar6 = (uint)bVar1;\n          } while (bVar1 == 0x30);\n          if ((*(byte *)(unaff_EDI + 0xedfe9 + (uint)bVar1) & 8) == 0) {\n            uVar4 = 0;\n            goto LAB_0003e7bc;\n          }\n        }\n        pbVar9 = pbVar10 + 1;\n        uVar4 = 0;\n        while( true ) {\n          cVar3 = (char)uVar6;\n          uVar6 = (uint)*pbVar9;\n          uVar4 = uVar4 * 0x10 + ((int)cVar3 + ((int)cVar3 >> 6 & 1U) * 9 & 0xf);\n          if ((*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 8) == 0) break;\n          pbVar9 = pbVar9 + 1;\n          if (pbVar10 + 9 == pbVar9) {\n            return 0;\n          }\n        }\n        if ((int)uVar4 < 0) {\n          return 0;\n        }\nLAB_0003e7bc:\n        *puVar7 = uVar4;\n        return 1;\n      }\n    }\n    local_1c = 0;\n    do {\n      pbVar9 = pbVar9 + 1;\n      uVar6 = (uint)*pbVar9;\nLAB_0003e666:\n    } while ((char)uVar6 == '0');\n  }" { (if_statement "if ((pbVar9[1] & 0xdf) == 0x58) {\n      uVar6 = (uint)pbVar9[2];\n      if ((*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 8) != 0) {\n        pbVar10 = pbVar9 + 2;\n        if (pbVar9[2] == 0x30) {\n          do {\n            pbVar10 = pbVar10 + 1;\n            bVar1 = *pbVar10;\n            uVar6 = (uint)bVar1;\n          } while (bVar1 == 0x30);\n          if ((*(byte *)(unaff_EDI + 0xedfe9 + (uint)bVar1) & 8) == 0) {\n            uVar4 = 0;\n            goto LAB_0003e7bc;\n          }\n        }\n        pbVar9 = pbVar10 + 1;\n        uVar4 = 0;\n        while( true ) {\n          cVar3 = (char)uVar6;\n          uVar6 = (uint)*pbVar9;\n          uVar4 = uVar4 * 0x10 + ((int)cVar3 + ((int)cVar3 >> 6 & 1U) * 9 & 0xf);\n          if ((*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 8) == 0) break;\n          pbVar9 = pbVar9 + 1;\n          if (pbVar10 + 9 == pbVar9) {\n            return 0;\n          }\n        }\n        if ((int)uVar4 < 0) {\n          return 0;\n        }\nLAB_0003e7bc:\n        *puVar7 = uVar4;\n        return 1;\n      }\n    }" if (parenthesized_expression "((pbVar9[1] & 0xdf) == 0x58)" ( (binary_expression "(pbVar9[1] & 0xdf) == 0x58" (parenthesized_expression "(pbVar9[1] & 0xdf)" ( (binary_expression "pbVar9[1] & 0xdf" (subscript_expression "pbVar9[1]" identifier [ number_literal ]) & number_literal) )) == number_literal) )) (compound_statement "{\n      uVar6 = (uint)pbVar9[2];\n      if ((*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 8) != 0) {\n        pbVar10 = pbVar9 + 2;\n        if (pbVar9[2] == 0x30) {\n          do {\n            pbVar10 = pbVar10 + 1;\n            bVar1 = *pbVar10;\n            uVar6 = (uint)bVar1;\n          } while (bVar1 == 0x30);\n          if ((*(byte *)(unaff_EDI + 0xedfe9 + (uint)bVar1) & 8) == 0) {\n            uVar4 = 0;\n            goto LAB_0003e7bc;\n          }\n        }\n        pbVar9 = pbVar10 + 1;\n        uVar4 = 0;\n        while( true ) {\n          cVar3 = (char)uVar6;\n          uVar6 = (uint)*pbVar9;\n          uVar4 = uVar4 * 0x10 + ((int)cVar3 + ((int)cVar3 >> 6 & 1U) * 9 & 0xf);\n          if ((*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 8) == 0) break;\n          pbVar9 = pbVar9 + 1;\n          if (pbVar10 + 9 == pbVar9) {\n            return 0;\n          }\n        }\n        if ((int)uVar4 < 0) {\n          return 0;\n        }\nLAB_0003e7bc:\n        *puVar7 = uVar4;\n        return 1;\n      }\n    }" { (expression_statement "uVar6 = (uint)pbVar9[2];" (assignment_expression "uVar6 = (uint)pbVar9[2]" identifier = (cast_expression "(uint)pbVar9[2]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar9[2]" identifier [ number_literal ]))) ;) (if_statement "if ((*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 8) != 0) {\n        pbVar10 = pbVar9 + 2;\n        if (pbVar9[2] == 0x30) {\n          do {\n            pbVar10 = pbVar10 + 1;\n            bVar1 = *pbVar10;\n            uVar6 = (uint)bVar1;\n          } while (bVar1 == 0x30);\n          if ((*(byte *)(unaff_EDI + 0xedfe9 + (uint)bVar1) & 8) == 0) {\n            uVar4 = 0;\n            goto LAB_0003e7bc;\n          }\n        }\n        pbVar9 = pbVar10 + 1;\n        uVar4 = 0;\n        while( true ) {\n          cVar3 = (char)uVar6;\n          uVar6 = (uint)*pbVar9;\n          uVar4 = uVar4 * 0x10 + ((int)cVar3 + ((int)cVar3 >> 6 & 1U) * 9 & 0xf);\n          if ((*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 8) == 0) break;\n          pbVar9 = pbVar9 + 1;\n          if (pbVar10 + 9 == pbVar9) {\n            return 0;\n          }\n        }\n        if ((int)uVar4 < 0) {\n          return 0;\n        }\nLAB_0003e7bc:\n        *puVar7 = uVar4;\n        return 1;\n      }" if (parenthesized_expression "((*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 8) != 0)" ( (binary_expression "(*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 8) != 0" (parenthesized_expression "(*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 8)" ( (binary_expression "*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 8" (pointer_expression "*(byte *)(unaff_EDI + 0xedfe9 + uVar6)" * (cast_expression "(byte *)(unaff_EDI + 0xedfe9 + uVar6)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0xedfe9 + uVar6)" ( (binary_expression "unaff_EDI + 0xedfe9 + uVar6" (binary_expression "unaff_EDI + 0xedfe9" identifier + number_literal) + identifier) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n        pbVar10 = pbVar9 + 2;\n        if (pbVar9[2] == 0x30) {\n          do {\n            pbVar10 = pbVar10 + 1;\n            bVar1 = *pbVar10;\n            uVar6 = (uint)bVar1;\n          } while (bVar1 == 0x30);\n          if ((*(byte *)(unaff_EDI + 0xedfe9 + (uint)bVar1) & 8) == 0) {\n            uVar4 = 0;\n            goto LAB_0003e7bc;\n          }\n        }\n        pbVar9 = pbVar10 + 1;\n        uVar4 = 0;\n        while( true ) {\n          cVar3 = (char)uVar6;\n          uVar6 = (uint)*pbVar9;\n          uVar4 = uVar4 * 0x10 + ((int)cVar3 + ((int)cVar3 >> 6 & 1U) * 9 & 0xf);\n          if ((*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 8) == 0) break;\n          pbVar9 = pbVar9 + 1;\n          if (pbVar10 + 9 == pbVar9) {\n            return 0;\n          }\n        }\n        if ((int)uVar4 < 0) {\n          return 0;\n        }\nLAB_0003e7bc:\n        *puVar7 = uVar4;\n        return 1;\n      }" { (expression_statement "pbVar10 = pbVar9 + 2;" (assignment_expression "pbVar10 = pbVar9 + 2" identifier = (binary_expression "pbVar9 + 2" identifier + number_literal)) ;) (if_statement "if (pbVar9[2] == 0x30) {\n          do {\n            pbVar10 = pbVar10 + 1;\n            bVar1 = *pbVar10;\n            uVar6 = (uint)bVar1;\n          } while (bVar1 == 0x30);\n          if ((*(byte *)(unaff_EDI + 0xedfe9 + (uint)bVar1) & 8) == 0) {\n            uVar4 = 0;\n            goto LAB_0003e7bc;\n          }\n        }" if (parenthesized_expression "(pbVar9[2] == 0x30)" ( (binary_expression "pbVar9[2] == 0x30" (subscript_expression "pbVar9[2]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n          do {\n            pbVar10 = pbVar10 + 1;\n            bVar1 = *pbVar10;\n            uVar6 = (uint)bVar1;\n          } while (bVar1 == 0x30);\n          if ((*(byte *)(unaff_EDI + 0xedfe9 + (uint)bVar1) & 8) == 0) {\n            uVar4 = 0;\n            goto LAB_0003e7bc;\n          }\n        }" { (do_statement "do {\n            pbVar10 = pbVar10 + 1;\n            bVar1 = *pbVar10;\n            uVar6 = (uint)bVar1;\n          } while (bVar1 == 0x30);" do (compound_statement "{\n            pbVar10 = pbVar10 + 1;\n            bVar1 = *pbVar10;\n            uVar6 = (uint)bVar1;\n          }" { (expression_statement "pbVar10 = pbVar10 + 1;" (assignment_expression "pbVar10 = pbVar10 + 1" identifier = (binary_expression "pbVar10 + 1" identifier + number_literal)) ;) (expression_statement "bVar1 = *pbVar10;" (assignment_expression "bVar1 = *pbVar10" identifier = (pointer_expression "*pbVar10" * identifier)) ;) (expression_statement "uVar6 = (uint)bVar1;" (assignment_expression "uVar6 = (uint)bVar1" identifier = (cast_expression "(uint)bVar1" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) }) while (parenthesized_expression "(bVar1 == 0x30)" ( (binary_expression "bVar1 == 0x30" identifier == number_literal) )) ;) (if_statement "if ((*(byte *)(unaff_EDI + 0xedfe9 + (uint)bVar1) & 8) == 0) {\n            uVar4 = 0;\n            goto LAB_0003e7bc;\n          }" if (parenthesized_expression "((*(byte *)(unaff_EDI + 0xedfe9 + (uint)bVar1) & 8) == 0)" ( (binary_expression "(*(byte *)(unaff_EDI + 0xedfe9 + (uint)bVar1) & 8) == 0" (parenthesized_expression "(*(byte *)(unaff_EDI + 0xedfe9 + (uint)bVar1) & 8)" ( (binary_expression "*(byte *)(unaff_EDI + 0xedfe9 + (uint)bVar1) & 8" (pointer_expression "*(byte *)(unaff_EDI + 0xedfe9 + (uint)bVar1)" * (cast_expression "(byte *)(unaff_EDI + 0xedfe9 + (uint)bVar1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0xedfe9 + (uint)bVar1)" ( (binary_expression "unaff_EDI + 0xedfe9 + (uint)bVar1" (binary_expression "unaff_EDI + 0xedfe9" identifier + number_literal) + (cast_expression "(uint)bVar1" ( (type_descriptor "uint" type_identifier) ) identifier)) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n            uVar4 = 0;\n            goto LAB_0003e7bc;\n          }" { (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) (goto_statement "goto LAB_0003e7bc;" goto statement_identifier ;) })) })) (expression_statement "pbVar9 = pbVar10 + 1;" (assignment_expression "pbVar9 = pbVar10 + 1" identifier = (binary_expression "pbVar10 + 1" identifier + number_literal)) ;) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) (while_statement "while( true ) {\n          cVar3 = (char)uVar6;\n          uVar6 = (uint)*pbVar9;\n          uVar4 = uVar4 * 0x10 + ((int)cVar3 + ((int)cVar3 >> 6 & 1U) * 9 & 0xf);\n          if ((*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 8) == 0) break;\n          pbVar9 = pbVar9 + 1;\n          if (pbVar10 + 9 == pbVar9) {\n            return 0;\n          }\n        }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n          cVar3 = (char)uVar6;\n          uVar6 = (uint)*pbVar9;\n          uVar4 = uVar4 * 0x10 + ((int)cVar3 + ((int)cVar3 >> 6 & 1U) * 9 & 0xf);\n          if ((*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 8) == 0) break;\n          pbVar9 = pbVar9 + 1;\n          if (pbVar10 + 9 == pbVar9) {\n            return 0;\n          }\n        }" { (expression_statement "cVar3 = (char)uVar6;" (assignment_expression "cVar3 = (char)uVar6" identifier = (cast_expression "(char)uVar6" ( (type_descriptor "char" primitive_type) ) identifier)) ;) (expression_statement "uVar6 = (uint)*pbVar9;" (assignment_expression "uVar6 = (uint)*pbVar9" identifier = (binary_expression "(uint)*pbVar9" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) (expression_statement "uVar4 = uVar4 * 0x10 + ((int)cVar3 + ((int)cVar3 >> 6 & 1U) * 9 & 0xf);" (assignment_expression "uVar4 = uVar4 * 0x10 + ((int)cVar3 + ((int)cVar3 >> 6 & 1U) * 9 & 0xf)" identifier = (binary_expression "uVar4 * 0x10 + ((int)cVar3 + ((int)cVar3 >> 6 & 1U) * 9 & 0xf)" (binary_expression "uVar4 * 0x10" identifier * number_literal) + (parenthesized_expression "((int)cVar3 + ((int)cVar3 >> 6 & 1U) * 9 & 0xf)" ( (binary_expression "(int)cVar3 + ((int)cVar3 >> 6 & 1U) * 9 & 0xf" (binary_expression "(int)cVar3 + ((int)cVar3 >> 6 & 1U) * 9" (cast_expression "(int)cVar3" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "((int)cVar3 >> 6 & 1U) * 9" (parenthesized_expression "((int)cVar3 >> 6 & 1U)" ( (binary_expression "(int)cVar3 >> 6 & 1U" (binary_expression "(int)cVar3 >> 6" (cast_expression "(int)cVar3" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) & number_literal) )) * number_literal)) & number_literal) )))) ;) (if_statement "if ((*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 8) == 0) break;" if (parenthesized_expression "((*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 8) == 0)" ( (binary_expression "(*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 8) == 0" (parenthesized_expression "(*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 8)" ( (binary_expression "*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 8" (pointer_expression "*(byte *)(unaff_EDI + 0xedfe9 + uVar6)" * (cast_expression "(byte *)(unaff_EDI + 0xedfe9 + uVar6)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0xedfe9 + uVar6)" ( (binary_expression "unaff_EDI + 0xedfe9 + uVar6" (binary_expression "unaff_EDI + 0xedfe9" identifier + number_literal) + identifier) )))) & number_literal) )) == number_literal) )) (break_statement "break;" break ;)) (expression_statement "pbVar9 = pbVar9 + 1;" (assignment_expression "pbVar9 = pbVar9 + 1" identifier = (binary_expression "pbVar9 + 1" identifier + number_literal)) ;) (if_statement "if (pbVar10 + 9 == pbVar9) {\n            return 0;\n          }" if (parenthesized_expression "(pbVar10 + 9 == pbVar9)" ( (binary_expression "pbVar10 + 9 == pbVar9" (binary_expression "pbVar10 + 9" identifier + number_literal) == identifier) )) (compound_statement "{\n            return 0;\n          }" { (return_statement "return 0;" return number_literal ;) })) })) (if_statement "if ((int)uVar4 < 0) {\n          return 0;\n        }" if (parenthesized_expression "((int)uVar4 < 0)" ( (binary_expression "(int)uVar4 < 0" (cast_expression "(int)uVar4" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n          return 0;\n        }" { (return_statement "return 0;" return number_literal ;) })) (labeled_statement "LAB_0003e7bc:\n        *puVar7 = uVar4;" statement_identifier : (expression_statement "*puVar7 = uVar4;" (assignment_expression "*puVar7 = uVar4" (pointer_expression "*puVar7" * identifier) = identifier) ;)) (return_statement "return 1;" return number_literal ;) })) })) (expression_statement "local_1c = 0;" (assignment_expression "local_1c = 0" identifier = number_literal) ;) (do_statement "do {\n      pbVar9 = pbVar9 + 1;\n      uVar6 = (uint)*pbVar9;\nLAB_0003e666:\n    } while ((char)uVar6 == '0');" do (compound_statement "{\n      pbVar9 = pbVar9 + 1;\n      uVar6 = (uint)*pbVar9;\nLAB_0003e666:\n    }" { (expression_statement "pbVar9 = pbVar9 + 1;" (assignment_expression "pbVar9 = pbVar9 + 1" identifier = (binary_expression "pbVar9 + 1" identifier + number_literal)) ;) (expression_statement "uVar6 = (uint)*pbVar9;" (assignment_expression "uVar6 = (uint)*pbVar9" identifier = (binary_expression "(uint)*pbVar9" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) (labeled_statement "LAB_0003e666:" statement_identifier : (expression_statement "" ;)) }) while (parenthesized_expression "((char)uVar6 == '0')" ( (binary_expression "(char)uVar6 == '0'" (cast_expression "(char)uVar6" ( (type_descriptor "char" primitive_type) ) identifier) == (char_literal "'0'" ' character ')) )) ;) }) (else_clause "else {\n    if ((*(byte *)(unaff_EDI + 0xedfe9 + (uint)bVar1) & 4) == 0) {\n      return 0;\n    }\n    local_1c = 0;\n  }" else (compound_statement "{\n    if ((*(byte *)(unaff_EDI + 0xedfe9 + (uint)bVar1) & 4) == 0) {\n      return 0;\n    }\n    local_1c = 0;\n  }" { (if_statement "if ((*(byte *)(unaff_EDI + 0xedfe9 + (uint)bVar1) & 4) == 0) {\n      return 0;\n    }" if (parenthesized_expression "((*(byte *)(unaff_EDI + 0xedfe9 + (uint)bVar1) & 4) == 0)" ( (binary_expression "(*(byte *)(unaff_EDI + 0xedfe9 + (uint)bVar1) & 4) == 0" (parenthesized_expression "(*(byte *)(unaff_EDI + 0xedfe9 + (uint)bVar1) & 4)" ( (binary_expression "*(byte *)(unaff_EDI + 0xedfe9 + (uint)bVar1) & 4" (pointer_expression "*(byte *)(unaff_EDI + 0xedfe9 + (uint)bVar1)" * (cast_expression "(byte *)(unaff_EDI + 0xedfe9 + (uint)bVar1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0xedfe9 + (uint)bVar1)" ( (binary_expression "unaff_EDI + 0xedfe9 + (uint)bVar1" (binary_expression "unaff_EDI + 0xedfe9" identifier + number_literal) + (cast_expression "(uint)bVar1" ( (type_descriptor "uint" type_identifier) ) identifier)) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "local_1c = 0;" (assignment_expression "local_1c = 0" identifier = number_literal) ;) }))) (expression_statement "pbVar10 = pbVar9 + 0xb;" (assignment_expression "pbVar10 = pbVar9 + 0xb" identifier = (binary_expression "pbVar9 + 0xb" identifier + number_literal)) ;) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) (expression_statement "iVar8 = 0;" (assignment_expression "iVar8 = 0" identifier = number_literal) ;) (while_statement "while( true ) {\n    pbVar9 = pbVar9 + 1;\n    uVar6 = (int)(char)uVar6 - 0x30;\n    if (9 < uVar6) {\n      if ((int)-(iVar8 - (uint)(uVar4 < local_1c)) < (int)(uint)(0x7fffffff < uVar4 - local_1c)) {\n        return 0;\n      }\n      if (local_1c != 0) {\n        uVar4 = -uVar4;\n      }\n      *puVar7 = uVar4;\n      return 1;\n    }\n    uVar2 = (ulonglong)uVar4;\n    uVar5 = (uint)(uVar2 * 10);\n    uVar4 = uVar5 + uVar6;\n    iVar8 = (int)(uVar2 * 10 >> 0x20) + iVar8 * 10 + ((int)uVar6 >> 0x1f) +\n            (uint)CARRY4(uVar5,uVar6);\n    if (pbVar10 == pbVar9) break;\n    uVar6 = (uint)*pbVar9;\n  }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n    pbVar9 = pbVar9 + 1;\n    uVar6 = (int)(char)uVar6 - 0x30;\n    if (9 < uVar6) {\n      if ((int)-(iVar8 - (uint)(uVar4 < local_1c)) < (int)(uint)(0x7fffffff < uVar4 - local_1c)) {\n        return 0;\n      }\n      if (local_1c != 0) {\n        uVar4 = -uVar4;\n      }\n      *puVar7 = uVar4;\n      return 1;\n    }\n    uVar2 = (ulonglong)uVar4;\n    uVar5 = (uint)(uVar2 * 10);\n    uVar4 = uVar5 + uVar6;\n    iVar8 = (int)(uVar2 * 10 >> 0x20) + iVar8 * 10 + ((int)uVar6 >> 0x1f) +\n            (uint)CARRY4(uVar5,uVar6);\n    if (pbVar10 == pbVar9) break;\n    uVar6 = (uint)*pbVar9;\n  }" { (expression_statement "pbVar9 = pbVar9 + 1;" (assignment_expression "pbVar9 = pbVar9 + 1" identifier = (binary_expression "pbVar9 + 1" identifier + number_literal)) ;) (expression_statement "uVar6 = (int)(char)uVar6 - 0x30;" (assignment_expression "uVar6 = (int)(char)uVar6 - 0x30" identifier = (binary_expression "(int)(char)uVar6 - 0x30" (cast_expression "(int)(char)uVar6" ( (type_descriptor "int" primitive_type) ) (cast_expression "(char)uVar6" ( (type_descriptor "char" primitive_type) ) identifier)) - number_literal)) ;) (if_statement "if (9 < uVar6) {\n      if ((int)-(iVar8 - (uint)(uVar4 < local_1c)) < (int)(uint)(0x7fffffff < uVar4 - local_1c)) {\n        return 0;\n      }\n      if (local_1c != 0) {\n        uVar4 = -uVar4;\n      }\n      *puVar7 = uVar4;\n      return 1;\n    }" if (parenthesized_expression "(9 < uVar6)" ( (binary_expression "9 < uVar6" number_literal < identifier) )) (compound_statement "{\n      if ((int)-(iVar8 - (uint)(uVar4 < local_1c)) < (int)(uint)(0x7fffffff < uVar4 - local_1c)) {\n        return 0;\n      }\n      if (local_1c != 0) {\n        uVar4 = -uVar4;\n      }\n      *puVar7 = uVar4;\n      return 1;\n    }" { (if_statement "if ((int)-(iVar8 - (uint)(uVar4 < local_1c)) < (int)(uint)(0x7fffffff < uVar4 - local_1c)) {\n        return 0;\n      }" if (parenthesized_expression "((int)-(iVar8 - (uint)(uVar4 < local_1c)) < (int)(uint)(0x7fffffff < uVar4 - local_1c))" ( (binary_expression "(int)-(iVar8 - (uint)(uVar4 < local_1c)) < (int)(uint)(0x7fffffff < uVar4 - local_1c)" (cast_expression "(int)-(iVar8 - (uint)(uVar4 < local_1c))" ( (type_descriptor "int" primitive_type) ) (unary_expression "-(iVar8 - (uint)(uVar4 < local_1c))" - (parenthesized_expression "(iVar8 - (uint)(uVar4 < local_1c))" ( (binary_expression "iVar8 - (uint)(uVar4 < local_1c)" identifier - (call_expression "(uint)(uVar4 < local_1c)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar4 < local_1c)" ( (binary_expression "uVar4 < local_1c" identifier < identifier) )))) )))) < (cast_expression "(int)(uint)(0x7fffffff < uVar4 - local_1c)" ( (type_descriptor "int" primitive_type) ) (call_expression "(uint)(0x7fffffff < uVar4 - local_1c)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(0x7fffffff < uVar4 - local_1c)" ( (binary_expression "0x7fffffff < uVar4 - local_1c" number_literal < (binary_expression "uVar4 - local_1c" identifier - identifier)) ))))) )) (compound_statement "{\n        return 0;\n      }" { (return_statement "return 0;" return number_literal ;) })) (if_statement "if (local_1c != 0) {\n        uVar4 = -uVar4;\n      }" if (parenthesized_expression "(local_1c != 0)" ( (binary_expression "local_1c != 0" identifier != number_literal) )) (compound_statement "{\n        uVar4 = -uVar4;\n      }" { (expression_statement "uVar4 = -uVar4;" (assignment_expression "uVar4 = -uVar4" identifier = (unary_expression "-uVar4" - identifier)) ;) })) (expression_statement "*puVar7 = uVar4;" (assignment_expression "*puVar7 = uVar4" (pointer_expression "*puVar7" * identifier) = identifier) ;) (return_statement "return 1;" return number_literal ;) })) (expression_statement "uVar2 = (ulonglong)uVar4;" (assignment_expression "uVar2 = (ulonglong)uVar4" identifier = (cast_expression "(ulonglong)uVar4" ( (type_descriptor "ulonglong" type_identifier) ) identifier)) ;) (expression_statement "uVar5 = (uint)(uVar2 * 10);" (assignment_expression "uVar5 = (uint)(uVar2 * 10)" identifier = (call_expression "(uint)(uVar2 * 10)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar2 * 10)" ( (binary_expression "uVar2 * 10" identifier * number_literal) )))) ;) (expression_statement "uVar4 = uVar5 + uVar6;" (assignment_expression "uVar4 = uVar5 + uVar6" identifier = (binary_expression "uVar5 + uVar6" identifier + identifier)) ;) (expression_statement "iVar8 = (int)(uVar2 * 10 >> 0x20) + iVar8 * 10 + ((int)uVar6 >> 0x1f) +\n            (uint)CARRY4(uVar5,uVar6);" (assignment_expression "iVar8 = (int)(uVar2 * 10 >> 0x20) + iVar8 * 10 + ((int)uVar6 >> 0x1f) +\n            (uint)CARRY4(uVar5,uVar6)" identifier = (binary_expression "(int)(uVar2 * 10 >> 0x20) + iVar8 * 10 + ((int)uVar6 >> 0x1f) +\n            (uint)CARRY4(uVar5,uVar6)" (binary_expression "(int)(uVar2 * 10 >> 0x20) + iVar8 * 10 + ((int)uVar6 >> 0x1f)" (binary_expression "(int)(uVar2 * 10 >> 0x20) + iVar8 * 10" (cast_expression "(int)(uVar2 * 10 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uVar2 * 10 >> 0x20)" ( (binary_expression "uVar2 * 10 >> 0x20" (binary_expression "uVar2 * 10" identifier * number_literal) >> number_literal) ))) + (binary_expression "iVar8 * 10" identifier * number_literal)) + (parenthesized_expression "((int)uVar6 >> 0x1f)" ( (binary_expression "(int)uVar6 >> 0x1f" (cast_expression "(int)uVar6" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) ))) + (cast_expression "(uint)CARRY4(uVar5,uVar6)" ( (type_descriptor "uint" type_identifier) ) (call_expression "CARRY4(uVar5,uVar6)" identifier (argument_list "(uVar5,uVar6)" ( identifier , identifier )))))) ;) (if_statement "if (pbVar10 == pbVar9) break;" if (parenthesized_expression "(pbVar10 == pbVar9)" ( (binary_expression "pbVar10 == pbVar9" identifier == identifier) )) (break_statement "break;" break ;)) (expression_statement "uVar6 = (uint)*pbVar9;" (assignment_expression "uVar6 = (uint)*pbVar9" identifier = (binary_expression "(uint)*pbVar9" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "undefined4 FUN_0003e5f0(void)\n\n{\n  byte bVar1;\n  ulonglong uVar2;\n  char cVar3;\n  uint uVar4;\n  uint uVar5;\n  uint uVar6;\n  uint *puVar7;\n  int iVar8;\n  byte *pbVar9;\n  byte *pbVar10;\n  int unaff_EDI;\n  undefined8 uVar11;\n  uint local_1c;\n  \n  uVar11 = FUN_00036ac5();\n  puVar7 = (uint *)((ulonglong)uVar11 >> 0x20);\n  pbVar9 = (byte *)uVar11;\n  bVar1 = *pbVar9;\n  uVar6 = (uint)bVar1;\n  if (bVar1 == 0x2d) {\n    local_1c = 1;\nLAB_0003e64a:\n    pbVar9 = pbVar9 + 1;\n    uVar6 = (uint)*pbVar9;\n    if ((*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 4) != 0) goto LAB_0003e666;\n    return 0;\n  }\n  if (bVar1 == 0x2b) {\n    local_1c = 0;\n    goto LAB_0003e64a;\n  }\n  if (bVar1 == 0x30) {\n    if ((pbVar9[1] & 0xdf) == 0x58) {\n      uVar6 = (uint)pbVar9[2];\n      if ((*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 8) != 0) {\n        pbVar10 = pbVar9 + 2;\n        if (pbVar9[2] == 0x30) {\n          do {\n            pbVar10 = pbVar10 + 1;\n            bVar1 = *pbVar10;\n            uVar6 = (uint)bVar1;\n          } while (bVar1 == 0x30);\n          if ((*(byte *)(unaff_EDI + 0xedfe9 + (uint)bVar1) & 8) == 0) {\n            uVar4 = 0;\n            goto LAB_0003e7bc;\n          }\n        }\n        pbVar9 = pbVar10 + 1;\n        uVar4 = 0;\n        while( true ) {\n          cVar3 = (char)uVar6;\n          uVar6 = (uint)*pbVar9;\n          uVar4 = uVar4 * 0x10 + ((int)cVar3 + ((int)cVar3 >> 6 & 1U) * 9 & 0xf);\n          if ((*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 8) == 0) break;\n          pbVar9 = pbVar9 + 1;\n          if (pbVar10 + 9 == pbVar9) {\n            return 0;\n          }\n        }\n        if ((int)uVar4 < 0) {\n          return 0;\n        }\nLAB_0003e7bc:\n        *puVar7 = uVar4;\n        return 1;\n      }\n    }\n    local_1c = 0;\n    do {\n      pbVar9 = pbVar9 + 1;\n      uVar6 = (uint)*pbVar9;\nLAB_0003e666:\n    } while ((char)uVar6 == '0');\n  }\n  else {\n    if ((*(byte *)(unaff_EDI + 0xedfe9 + (uint)bVar1) & 4) == 0) {\n      return 0;\n    }\n    local_1c = 0;\n  }\n  pbVar10 = pbVar9 + 0xb;\n  uVar4 = 0;\n  iVar8 = 0;\n  while( true ) {\n    pbVar9 = pbVar9 + 1;\n    uVar6 = (int)(char)uVar6 - 0x30;\n    if (9 < uVar6) {\n      if ((int)-(iVar8 - (uint)(uVar4 < local_1c)) < (int)(uint)(0x7fffffff < uVar4 - local_1c)) {\n        return 0;\n      }\n      if (local_1c != 0) {\n        uVar4 = -uVar4;\n      }\n      *puVar7 = uVar4;\n      return 1;\n    }\n    uVar2 = (ulonglong)uVar4;\n    uVar5 = (uint)(uVar2 * 10);\n    uVar4 = uVar5 + uVar6;\n    iVar8 = (int)(uVar2 * 10 >> 0x20) + iVar8 * 10 + ((int)uVar6 >> 0x1f) +\n            (uint)CARRY4(uVar5,uVar6);\n    if (pbVar10 == pbVar9) break;\n    uVar6 = (uint)*pbVar9;\n  }\n  return 0;\n}\n\n" (function_definition "undefined4 FUN_0003e5f0(void)\n\n{\n  byte bVar1;\n  ulonglong uVar2;\n  char cVar3;\n  uint uVar4;\n  uint uVar5;\n  uint uVar6;\n  uint *puVar7;\n  int iVar8;\n  byte *pbVar9;\n  byte *pbVar10;\n  int unaff_EDI;\n  undefined8 uVar11;\n  uint local_1c;\n  \n  uVar11 = FUN_00036ac5();\n  puVar7 = (uint *)((ulonglong)uVar11 >> 0x20);\n  pbVar9 = (byte *)uVar11;\n  bVar1 = *pbVar9;\n  uVar6 = (uint)bVar1;\n  if (bVar1 == 0x2d) {\n    local_1c = 1;\nLAB_0003e64a:\n    pbVar9 = pbVar9 + 1;\n    uVar6 = (uint)*pbVar9;\n    if ((*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 4) != 0) goto LAB_0003e666;\n    return 0;\n  }\n  if (bVar1 == 0x2b) {\n    local_1c = 0;\n    goto LAB_0003e64a;\n  }\n  if (bVar1 == 0x30) {\n    if ((pbVar9[1] & 0xdf) == 0x58) {\n      uVar6 = (uint)pbVar9[2];\n      if ((*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 8) != 0) {\n        pbVar10 = pbVar9 + 2;\n        if (pbVar9[2] == 0x30) {\n          do {\n            pbVar10 = pbVar10 + 1;\n            bVar1 = *pbVar10;\n            uVar6 = (uint)bVar1;\n          } while (bVar1 == 0x30);\n          if ((*(byte *)(unaff_EDI + 0xedfe9 + (uint)bVar1) & 8) == 0) {\n            uVar4 = 0;\n            goto LAB_0003e7bc;\n          }\n        }\n        pbVar9 = pbVar10 + 1;\n        uVar4 = 0;\n        while( true ) {\n          cVar3 = (char)uVar6;\n          uVar6 = (uint)*pbVar9;\n          uVar4 = uVar4 * 0x10 + ((int)cVar3 + ((int)cVar3 >> 6 & 1U) * 9 & 0xf);\n          if ((*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 8) == 0) break;\n          pbVar9 = pbVar9 + 1;\n          if (pbVar10 + 9 == pbVar9) {\n            return 0;\n          }\n        }\n        if ((int)uVar4 < 0) {\n          return 0;\n        }\nLAB_0003e7bc:\n        *puVar7 = uVar4;\n        return 1;\n      }\n    }\n    local_1c = 0;\n    do {\n      pbVar9 = pbVar9 + 1;\n      uVar6 = (uint)*pbVar9;\nLAB_0003e666:\n    } while ((char)uVar6 == '0');\n  }\n  else {\n    if ((*(byte *)(unaff_EDI + 0xedfe9 + (uint)bVar1) & 4) == 0) {\n      return 0;\n    }\n    local_1c = 0;\n  }\n  pbVar10 = pbVar9 + 0xb;\n  uVar4 = 0;\n  iVar8 = 0;\n  while( true ) {\n    pbVar9 = pbVar9 + 1;\n    uVar6 = (int)(char)uVar6 - 0x30;\n    if (9 < uVar6) {\n      if ((int)-(iVar8 - (uint)(uVar4 < local_1c)) < (int)(uint)(0x7fffffff < uVar4 - local_1c)) {\n        return 0;\n      }\n      if (local_1c != 0) {\n        uVar4 = -uVar4;\n      }\n      *puVar7 = uVar4;\n      return 1;\n    }\n    uVar2 = (ulonglong)uVar4;\n    uVar5 = (uint)(uVar2 * 10);\n    uVar4 = uVar5 + uVar6;\n    iVar8 = (int)(uVar2 * 10 >> 0x20) + iVar8 * 10 + ((int)uVar6 >> 0x1f) +\n            (uint)CARRY4(uVar5,uVar6);\n    if (pbVar10 == pbVar9) break;\n    uVar6 = (uint)*pbVar9;\n  }\n  return 0;\n}" type_identifier (function_declarator "FUN_0003e5f0(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  byte bVar1;\n  ulonglong uVar2;\n  char cVar3;\n  uint uVar4;\n  uint uVar5;\n  uint uVar6;\n  uint *puVar7;\n  int iVar8;\n  byte *pbVar9;\n  byte *pbVar10;\n  int unaff_EDI;\n  undefined8 uVar11;\n  uint local_1c;\n  \n  uVar11 = FUN_00036ac5();\n  puVar7 = (uint *)((ulonglong)uVar11 >> 0x20);\n  pbVar9 = (byte *)uVar11;\n  bVar1 = *pbVar9;\n  uVar6 = (uint)bVar1;\n  if (bVar1 == 0x2d) {\n    local_1c = 1;\nLAB_0003e64a:\n    pbVar9 = pbVar9 + 1;\n    uVar6 = (uint)*pbVar9;\n    if ((*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 4) != 0) goto LAB_0003e666;\n    return 0;\n  }\n  if (bVar1 == 0x2b) {\n    local_1c = 0;\n    goto LAB_0003e64a;\n  }\n  if (bVar1 == 0x30) {\n    if ((pbVar9[1] & 0xdf) == 0x58) {\n      uVar6 = (uint)pbVar9[2];\n      if ((*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 8) != 0) {\n        pbVar10 = pbVar9 + 2;\n        if (pbVar9[2] == 0x30) {\n          do {\n            pbVar10 = pbVar10 + 1;\n            bVar1 = *pbVar10;\n            uVar6 = (uint)bVar1;\n          } while (bVar1 == 0x30);\n          if ((*(byte *)(unaff_EDI + 0xedfe9 + (uint)bVar1) & 8) == 0) {\n            uVar4 = 0;\n            goto LAB_0003e7bc;\n          }\n        }\n        pbVar9 = pbVar10 + 1;\n        uVar4 = 0;\n        while( true ) {\n          cVar3 = (char)uVar6;\n          uVar6 = (uint)*pbVar9;\n          uVar4 = uVar4 * 0x10 + ((int)cVar3 + ((int)cVar3 >> 6 & 1U) * 9 & 0xf);\n          if ((*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 8) == 0) break;\n          pbVar9 = pbVar9 + 1;\n          if (pbVar10 + 9 == pbVar9) {\n            return 0;\n          }\n        }\n        if ((int)uVar4 < 0) {\n          return 0;\n        }\nLAB_0003e7bc:\n        *puVar7 = uVar4;\n        return 1;\n      }\n    }\n    local_1c = 0;\n    do {\n      pbVar9 = pbVar9 + 1;\n      uVar6 = (uint)*pbVar9;\nLAB_0003e666:\n    } while ((char)uVar6 == '0');\n  }\n  else {\n    if ((*(byte *)(unaff_EDI + 0xedfe9 + (uint)bVar1) & 4) == 0) {\n      return 0;\n    }\n    local_1c = 0;\n  }\n  pbVar10 = pbVar9 + 0xb;\n  uVar4 = 0;\n  iVar8 = 0;\n  while( true ) {\n    pbVar9 = pbVar9 + 1;\n    uVar6 = (int)(char)uVar6 - 0x30;\n    if (9 < uVar6) {\n      if ((int)-(iVar8 - (uint)(uVar4 < local_1c)) < (int)(uint)(0x7fffffff < uVar4 - local_1c)) {\n        return 0;\n      }\n      if (local_1c != 0) {\n        uVar4 = -uVar4;\n      }\n      *puVar7 = uVar4;\n      return 1;\n    }\n    uVar2 = (ulonglong)uVar4;\n    uVar5 = (uint)(uVar2 * 10);\n    uVar4 = uVar5 + uVar6;\n    iVar8 = (int)(uVar2 * 10 >> 0x20) + iVar8 * 10 + ((int)uVar6 >> 0x1f) +\n            (uint)CARRY4(uVar5,uVar6);\n    if (pbVar10 == pbVar9) break;\n    uVar6 = (uint)*pbVar9;\n  }\n  return 0;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "ulonglong uVar2;" type_identifier identifier ;) (declaration "char cVar3;" primitive_type identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "uint *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "byte *pbVar9;" type_identifier (pointer_declarator "*pbVar9" * identifier) ;) (declaration "byte *pbVar10;" type_identifier (pointer_declarator "*pbVar10" * identifier) ;) (declaration "int unaff_EDI;" primitive_type identifier ;) (declaration "undefined8 uVar11;" type_identifier identifier ;) (declaration "uint local_1c;" type_identifier identifier ;) (expression_statement "uVar11 = FUN_00036ac5();" (assignment_expression "uVar11 = FUN_00036ac5()" identifier = (call_expression "FUN_00036ac5()" identifier (argument_list "()" ( )))) ;) (expression_statement "puVar7 = (uint *)((ulonglong)uVar11 >> 0x20);" (assignment_expression "puVar7 = (uint *)((ulonglong)uVar11 >> 0x20)" identifier = (cast_expression "(uint *)((ulonglong)uVar11 >> 0x20)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((ulonglong)uVar11 >> 0x20)" ( (binary_expression "(ulonglong)uVar11 >> 0x20" (cast_expression "(ulonglong)uVar11" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "pbVar9 = (byte *)uVar11;" (assignment_expression "pbVar9 = (byte *)uVar11" identifier = (cast_expression "(byte *)uVar11" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "bVar1 = *pbVar9;" (assignment_expression "bVar1 = *pbVar9" identifier = (pointer_expression "*pbVar9" * identifier)) ;) (expression_statement "uVar6 = (uint)bVar1;" (assignment_expression "uVar6 = (uint)bVar1" identifier = (cast_expression "(uint)bVar1" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (if_statement "if (bVar1 == 0x2d) {\n    local_1c = 1;\nLAB_0003e64a:\n    pbVar9 = pbVar9 + 1;\n    uVar6 = (uint)*pbVar9;\n    if ((*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 4) != 0) goto LAB_0003e666;\n    return 0;\n  }" if (parenthesized_expression "(bVar1 == 0x2d)" ( (binary_expression "bVar1 == 0x2d" identifier == number_literal) )) (compound_statement "{\n    local_1c = 1;\nLAB_0003e64a:\n    pbVar9 = pbVar9 + 1;\n    uVar6 = (uint)*pbVar9;\n    if ((*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 4) != 0) goto LAB_0003e666;\n    return 0;\n  }" { (expression_statement "local_1c = 1;" (assignment_expression "local_1c = 1" identifier = number_literal) ;) (labeled_statement "LAB_0003e64a:\n    pbVar9 = pbVar9 + 1;" statement_identifier : (expression_statement "pbVar9 = pbVar9 + 1;" (assignment_expression "pbVar9 = pbVar9 + 1" identifier = (binary_expression "pbVar9 + 1" identifier + number_literal)) ;)) (expression_statement "uVar6 = (uint)*pbVar9;" (assignment_expression "uVar6 = (uint)*pbVar9" identifier = (binary_expression "(uint)*pbVar9" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) (if_statement "if ((*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 4) != 0) goto LAB_0003e666;" if (parenthesized_expression "((*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 4) != 0)" ( (binary_expression "(*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 4) != 0" (parenthesized_expression "(*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 4)" ( (binary_expression "*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 4" (pointer_expression "*(byte *)(unaff_EDI + 0xedfe9 + uVar6)" * (cast_expression "(byte *)(unaff_EDI + 0xedfe9 + uVar6)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0xedfe9 + uVar6)" ( (binary_expression "unaff_EDI + 0xedfe9 + uVar6" (binary_expression "unaff_EDI + 0xedfe9" identifier + number_literal) + identifier) )))) & number_literal) )) != number_literal) )) (goto_statement "goto LAB_0003e666;" goto statement_identifier ;)) (return_statement "return 0;" return number_literal ;) })) (if_statement "if (bVar1 == 0x2b) {\n    local_1c = 0;\n    goto LAB_0003e64a;\n  }" if (parenthesized_expression "(bVar1 == 0x2b)" ( (binary_expression "bVar1 == 0x2b" identifier == number_literal) )) (compound_statement "{\n    local_1c = 0;\n    goto LAB_0003e64a;\n  }" { (expression_statement "local_1c = 0;" (assignment_expression "local_1c = 0" identifier = number_literal) ;) (goto_statement "goto LAB_0003e64a;" goto statement_identifier ;) })) (if_statement "if (bVar1 == 0x30) {\n    if ((pbVar9[1] & 0xdf) == 0x58) {\n      uVar6 = (uint)pbVar9[2];\n      if ((*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 8) != 0) {\n        pbVar10 = pbVar9 + 2;\n        if (pbVar9[2] == 0x30) {\n          do {\n            pbVar10 = pbVar10 + 1;\n            bVar1 = *pbVar10;\n            uVar6 = (uint)bVar1;\n          } while (bVar1 == 0x30);\n          if ((*(byte *)(unaff_EDI + 0xedfe9 + (uint)bVar1) & 8) == 0) {\n            uVar4 = 0;\n            goto LAB_0003e7bc;\n          }\n        }\n        pbVar9 = pbVar10 + 1;\n        uVar4 = 0;\n        while( true ) {\n          cVar3 = (char)uVar6;\n          uVar6 = (uint)*pbVar9;\n          uVar4 = uVar4 * 0x10 + ((int)cVar3 + ((int)cVar3 >> 6 & 1U) * 9 & 0xf);\n          if ((*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 8) == 0) break;\n          pbVar9 = pbVar9 + 1;\n          if (pbVar10 + 9 == pbVar9) {\n            return 0;\n          }\n        }\n        if ((int)uVar4 < 0) {\n          return 0;\n        }\nLAB_0003e7bc:\n        *puVar7 = uVar4;\n        return 1;\n      }\n    }\n    local_1c = 0;\n    do {\n      pbVar9 = pbVar9 + 1;\n      uVar6 = (uint)*pbVar9;\nLAB_0003e666:\n    } while ((char)uVar6 == '0');\n  }\n  else {\n    if ((*(byte *)(unaff_EDI + 0xedfe9 + (uint)bVar1) & 4) == 0) {\n      return 0;\n    }\n    local_1c = 0;\n  }" if (parenthesized_expression "(bVar1 == 0x30)" ( (binary_expression "bVar1 == 0x30" identifier == number_literal) )) (compound_statement "{\n    if ((pbVar9[1] & 0xdf) == 0x58) {\n      uVar6 = (uint)pbVar9[2];\n      if ((*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 8) != 0) {\n        pbVar10 = pbVar9 + 2;\n        if (pbVar9[2] == 0x30) {\n          do {\n            pbVar10 = pbVar10 + 1;\n            bVar1 = *pbVar10;\n            uVar6 = (uint)bVar1;\n          } while (bVar1 == 0x30);\n          if ((*(byte *)(unaff_EDI + 0xedfe9 + (uint)bVar1) & 8) == 0) {\n            uVar4 = 0;\n            goto LAB_0003e7bc;\n          }\n        }\n        pbVar9 = pbVar10 + 1;\n        uVar4 = 0;\n        while( true ) {\n          cVar3 = (char)uVar6;\n          uVar6 = (uint)*pbVar9;\n          uVar4 = uVar4 * 0x10 + ((int)cVar3 + ((int)cVar3 >> 6 & 1U) * 9 & 0xf);\n          if ((*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 8) == 0) break;\n          pbVar9 = pbVar9 + 1;\n          if (pbVar10 + 9 == pbVar9) {\n            return 0;\n          }\n        }\n        if ((int)uVar4 < 0) {\n          return 0;\n        }\nLAB_0003e7bc:\n        *puVar7 = uVar4;\n        return 1;\n      }\n    }\n    local_1c = 0;\n    do {\n      pbVar9 = pbVar9 + 1;\n      uVar6 = (uint)*pbVar9;\nLAB_0003e666:\n    } while ((char)uVar6 == '0');\n  }" { (if_statement "if ((pbVar9[1] & 0xdf) == 0x58) {\n      uVar6 = (uint)pbVar9[2];\n      if ((*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 8) != 0) {\n        pbVar10 = pbVar9 + 2;\n        if (pbVar9[2] == 0x30) {\n          do {\n            pbVar10 = pbVar10 + 1;\n            bVar1 = *pbVar10;\n            uVar6 = (uint)bVar1;\n          } while (bVar1 == 0x30);\n          if ((*(byte *)(unaff_EDI + 0xedfe9 + (uint)bVar1) & 8) == 0) {\n            uVar4 = 0;\n            goto LAB_0003e7bc;\n          }\n        }\n        pbVar9 = pbVar10 + 1;\n        uVar4 = 0;\n        while( true ) {\n          cVar3 = (char)uVar6;\n          uVar6 = (uint)*pbVar9;\n          uVar4 = uVar4 * 0x10 + ((int)cVar3 + ((int)cVar3 >> 6 & 1U) * 9 & 0xf);\n          if ((*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 8) == 0) break;\n          pbVar9 = pbVar9 + 1;\n          if (pbVar10 + 9 == pbVar9) {\n            return 0;\n          }\n        }\n        if ((int)uVar4 < 0) {\n          return 0;\n        }\nLAB_0003e7bc:\n        *puVar7 = uVar4;\n        return 1;\n      }\n    }" if (parenthesized_expression "((pbVar9[1] & 0xdf) == 0x58)" ( (binary_expression "(pbVar9[1] & 0xdf) == 0x58" (parenthesized_expression "(pbVar9[1] & 0xdf)" ( (binary_expression "pbVar9[1] & 0xdf" (subscript_expression "pbVar9[1]" identifier [ number_literal ]) & number_literal) )) == number_literal) )) (compound_statement "{\n      uVar6 = (uint)pbVar9[2];\n      if ((*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 8) != 0) {\n        pbVar10 = pbVar9 + 2;\n        if (pbVar9[2] == 0x30) {\n          do {\n            pbVar10 = pbVar10 + 1;\n            bVar1 = *pbVar10;\n            uVar6 = (uint)bVar1;\n          } while (bVar1 == 0x30);\n          if ((*(byte *)(unaff_EDI + 0xedfe9 + (uint)bVar1) & 8) == 0) {\n            uVar4 = 0;\n            goto LAB_0003e7bc;\n          }\n        }\n        pbVar9 = pbVar10 + 1;\n        uVar4 = 0;\n        while( true ) {\n          cVar3 = (char)uVar6;\n          uVar6 = (uint)*pbVar9;\n          uVar4 = uVar4 * 0x10 + ((int)cVar3 + ((int)cVar3 >> 6 & 1U) * 9 & 0xf);\n          if ((*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 8) == 0) break;\n          pbVar9 = pbVar9 + 1;\n          if (pbVar10 + 9 == pbVar9) {\n            return 0;\n          }\n        }\n        if ((int)uVar4 < 0) {\n          return 0;\n        }\nLAB_0003e7bc:\n        *puVar7 = uVar4;\n        return 1;\n      }\n    }" { (expression_statement "uVar6 = (uint)pbVar9[2];" (assignment_expression "uVar6 = (uint)pbVar9[2]" identifier = (cast_expression "(uint)pbVar9[2]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar9[2]" identifier [ number_literal ]))) ;) (if_statement "if ((*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 8) != 0) {\n        pbVar10 = pbVar9 + 2;\n        if (pbVar9[2] == 0x30) {\n          do {\n            pbVar10 = pbVar10 + 1;\n            bVar1 = *pbVar10;\n            uVar6 = (uint)bVar1;\n          } while (bVar1 == 0x30);\n          if ((*(byte *)(unaff_EDI + 0xedfe9 + (uint)bVar1) & 8) == 0) {\n            uVar4 = 0;\n            goto LAB_0003e7bc;\n          }\n        }\n        pbVar9 = pbVar10 + 1;\n        uVar4 = 0;\n        while( true ) {\n          cVar3 = (char)uVar6;\n          uVar6 = (uint)*pbVar9;\n          uVar4 = uVar4 * 0x10 + ((int)cVar3 + ((int)cVar3 >> 6 & 1U) * 9 & 0xf);\n          if ((*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 8) == 0) break;\n          pbVar9 = pbVar9 + 1;\n          if (pbVar10 + 9 == pbVar9) {\n            return 0;\n          }\n        }\n        if ((int)uVar4 < 0) {\n          return 0;\n        }\nLAB_0003e7bc:\n        *puVar7 = uVar4;\n        return 1;\n      }" if (parenthesized_expression "((*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 8) != 0)" ( (binary_expression "(*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 8) != 0" (parenthesized_expression "(*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 8)" ( (binary_expression "*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 8" (pointer_expression "*(byte *)(unaff_EDI + 0xedfe9 + uVar6)" * (cast_expression "(byte *)(unaff_EDI + 0xedfe9 + uVar6)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0xedfe9 + uVar6)" ( (binary_expression "unaff_EDI + 0xedfe9 + uVar6" (binary_expression "unaff_EDI + 0xedfe9" identifier + number_literal) + identifier) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n        pbVar10 = pbVar9 + 2;\n        if (pbVar9[2] == 0x30) {\n          do {\n            pbVar10 = pbVar10 + 1;\n            bVar1 = *pbVar10;\n            uVar6 = (uint)bVar1;\n          } while (bVar1 == 0x30);\n          if ((*(byte *)(unaff_EDI + 0xedfe9 + (uint)bVar1) & 8) == 0) {\n            uVar4 = 0;\n            goto LAB_0003e7bc;\n          }\n        }\n        pbVar9 = pbVar10 + 1;\n        uVar4 = 0;\n        while( true ) {\n          cVar3 = (char)uVar6;\n          uVar6 = (uint)*pbVar9;\n          uVar4 = uVar4 * 0x10 + ((int)cVar3 + ((int)cVar3 >> 6 & 1U) * 9 & 0xf);\n          if ((*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 8) == 0) break;\n          pbVar9 = pbVar9 + 1;\n          if (pbVar10 + 9 == pbVar9) {\n            return 0;\n          }\n        }\n        if ((int)uVar4 < 0) {\n          return 0;\n        }\nLAB_0003e7bc:\n        *puVar7 = uVar4;\n        return 1;\n      }" { (expression_statement "pbVar10 = pbVar9 + 2;" (assignment_expression "pbVar10 = pbVar9 + 2" identifier = (binary_expression "pbVar9 + 2" identifier + number_literal)) ;) (if_statement "if (pbVar9[2] == 0x30) {\n          do {\n            pbVar10 = pbVar10 + 1;\n            bVar1 = *pbVar10;\n            uVar6 = (uint)bVar1;\n          } while (bVar1 == 0x30);\n          if ((*(byte *)(unaff_EDI + 0xedfe9 + (uint)bVar1) & 8) == 0) {\n            uVar4 = 0;\n            goto LAB_0003e7bc;\n          }\n        }" if (parenthesized_expression "(pbVar9[2] == 0x30)" ( (binary_expression "pbVar9[2] == 0x30" (subscript_expression "pbVar9[2]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n          do {\n            pbVar10 = pbVar10 + 1;\n            bVar1 = *pbVar10;\n            uVar6 = (uint)bVar1;\n          } while (bVar1 == 0x30);\n          if ((*(byte *)(unaff_EDI + 0xedfe9 + (uint)bVar1) & 8) == 0) {\n            uVar4 = 0;\n            goto LAB_0003e7bc;\n          }\n        }" { (do_statement "do {\n            pbVar10 = pbVar10 + 1;\n            bVar1 = *pbVar10;\n            uVar6 = (uint)bVar1;\n          } while (bVar1 == 0x30);" do (compound_statement "{\n            pbVar10 = pbVar10 + 1;\n            bVar1 = *pbVar10;\n            uVar6 = (uint)bVar1;\n          }" { (expression_statement "pbVar10 = pbVar10 + 1;" (assignment_expression "pbVar10 = pbVar10 + 1" identifier = (binary_expression "pbVar10 + 1" identifier + number_literal)) ;) (expression_statement "bVar1 = *pbVar10;" (assignment_expression "bVar1 = *pbVar10" identifier = (pointer_expression "*pbVar10" * identifier)) ;) (expression_statement "uVar6 = (uint)bVar1;" (assignment_expression "uVar6 = (uint)bVar1" identifier = (cast_expression "(uint)bVar1" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) }) while (parenthesized_expression "(bVar1 == 0x30)" ( (binary_expression "bVar1 == 0x30" identifier == number_literal) )) ;) (if_statement "if ((*(byte *)(unaff_EDI + 0xedfe9 + (uint)bVar1) & 8) == 0) {\n            uVar4 = 0;\n            goto LAB_0003e7bc;\n          }" if (parenthesized_expression "((*(byte *)(unaff_EDI + 0xedfe9 + (uint)bVar1) & 8) == 0)" ( (binary_expression "(*(byte *)(unaff_EDI + 0xedfe9 + (uint)bVar1) & 8) == 0" (parenthesized_expression "(*(byte *)(unaff_EDI + 0xedfe9 + (uint)bVar1) & 8)" ( (binary_expression "*(byte *)(unaff_EDI + 0xedfe9 + (uint)bVar1) & 8" (pointer_expression "*(byte *)(unaff_EDI + 0xedfe9 + (uint)bVar1)" * (cast_expression "(byte *)(unaff_EDI + 0xedfe9 + (uint)bVar1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0xedfe9 + (uint)bVar1)" ( (binary_expression "unaff_EDI + 0xedfe9 + (uint)bVar1" (binary_expression "unaff_EDI + 0xedfe9" identifier + number_literal) + (cast_expression "(uint)bVar1" ( (type_descriptor "uint" type_identifier) ) identifier)) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n            uVar4 = 0;\n            goto LAB_0003e7bc;\n          }" { (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) (goto_statement "goto LAB_0003e7bc;" goto statement_identifier ;) })) })) (expression_statement "pbVar9 = pbVar10 + 1;" (assignment_expression "pbVar9 = pbVar10 + 1" identifier = (binary_expression "pbVar10 + 1" identifier + number_literal)) ;) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) (while_statement "while( true ) {\n          cVar3 = (char)uVar6;\n          uVar6 = (uint)*pbVar9;\n          uVar4 = uVar4 * 0x10 + ((int)cVar3 + ((int)cVar3 >> 6 & 1U) * 9 & 0xf);\n          if ((*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 8) == 0) break;\n          pbVar9 = pbVar9 + 1;\n          if (pbVar10 + 9 == pbVar9) {\n            return 0;\n          }\n        }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n          cVar3 = (char)uVar6;\n          uVar6 = (uint)*pbVar9;\n          uVar4 = uVar4 * 0x10 + ((int)cVar3 + ((int)cVar3 >> 6 & 1U) * 9 & 0xf);\n          if ((*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 8) == 0) break;\n          pbVar9 = pbVar9 + 1;\n          if (pbVar10 + 9 == pbVar9) {\n            return 0;\n          }\n        }" { (expression_statement "cVar3 = (char)uVar6;" (assignment_expression "cVar3 = (char)uVar6" identifier = (cast_expression "(char)uVar6" ( (type_descriptor "char" primitive_type) ) identifier)) ;) (expression_statement "uVar6 = (uint)*pbVar9;" (assignment_expression "uVar6 = (uint)*pbVar9" identifier = (binary_expression "(uint)*pbVar9" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) (expression_statement "uVar4 = uVar4 * 0x10 + ((int)cVar3 + ((int)cVar3 >> 6 & 1U) * 9 & 0xf);" (assignment_expression "uVar4 = uVar4 * 0x10 + ((int)cVar3 + ((int)cVar3 >> 6 & 1U) * 9 & 0xf)" identifier = (binary_expression "uVar4 * 0x10 + ((int)cVar3 + ((int)cVar3 >> 6 & 1U) * 9 & 0xf)" (binary_expression "uVar4 * 0x10" identifier * number_literal) + (parenthesized_expression "((int)cVar3 + ((int)cVar3 >> 6 & 1U) * 9 & 0xf)" ( (binary_expression "(int)cVar3 + ((int)cVar3 >> 6 & 1U) * 9 & 0xf" (binary_expression "(int)cVar3 + ((int)cVar3 >> 6 & 1U) * 9" (cast_expression "(int)cVar3" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "((int)cVar3 >> 6 & 1U) * 9" (parenthesized_expression "((int)cVar3 >> 6 & 1U)" ( (binary_expression "(int)cVar3 >> 6 & 1U" (binary_expression "(int)cVar3 >> 6" (cast_expression "(int)cVar3" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) & number_literal) )) * number_literal)) & number_literal) )))) ;) (if_statement "if ((*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 8) == 0) break;" if (parenthesized_expression "((*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 8) == 0)" ( (binary_expression "(*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 8) == 0" (parenthesized_expression "(*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 8)" ( (binary_expression "*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 8" (pointer_expression "*(byte *)(unaff_EDI + 0xedfe9 + uVar6)" * (cast_expression "(byte *)(unaff_EDI + 0xedfe9 + uVar6)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0xedfe9 + uVar6)" ( (binary_expression "unaff_EDI + 0xedfe9 + uVar6" (binary_expression "unaff_EDI + 0xedfe9" identifier + number_literal) + identifier) )))) & number_literal) )) == number_literal) )) (break_statement "break;" break ;)) (expression_statement "pbVar9 = pbVar9 + 1;" (assignment_expression "pbVar9 = pbVar9 + 1" identifier = (binary_expression "pbVar9 + 1" identifier + number_literal)) ;) (if_statement "if (pbVar10 + 9 == pbVar9) {\n            return 0;\n          }" if (parenthesized_expression "(pbVar10 + 9 == pbVar9)" ( (binary_expression "pbVar10 + 9 == pbVar9" (binary_expression "pbVar10 + 9" identifier + number_literal) == identifier) )) (compound_statement "{\n            return 0;\n          }" { (return_statement "return 0;" return number_literal ;) })) })) (if_statement "if ((int)uVar4 < 0) {\n          return 0;\n        }" if (parenthesized_expression "((int)uVar4 < 0)" ( (binary_expression "(int)uVar4 < 0" (cast_expression "(int)uVar4" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n          return 0;\n        }" { (return_statement "return 0;" return number_literal ;) })) (labeled_statement "LAB_0003e7bc:\n        *puVar7 = uVar4;" statement_identifier : (expression_statement "*puVar7 = uVar4;" (assignment_expression "*puVar7 = uVar4" (pointer_expression "*puVar7" * identifier) = identifier) ;)) (return_statement "return 1;" return number_literal ;) })) })) (expression_statement "local_1c = 0;" (assignment_expression "local_1c = 0" identifier = number_literal) ;) (do_statement "do {\n      pbVar9 = pbVar9 + 1;\n      uVar6 = (uint)*pbVar9;\nLAB_0003e666:\n    } while ((char)uVar6 == '0');" do (compound_statement "{\n      pbVar9 = pbVar9 + 1;\n      uVar6 = (uint)*pbVar9;\nLAB_0003e666:\n    }" { (expression_statement "pbVar9 = pbVar9 + 1;" (assignment_expression "pbVar9 = pbVar9 + 1" identifier = (binary_expression "pbVar9 + 1" identifier + number_literal)) ;) (expression_statement "uVar6 = (uint)*pbVar9;" (assignment_expression "uVar6 = (uint)*pbVar9" identifier = (binary_expression "(uint)*pbVar9" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) (labeled_statement "LAB_0003e666:" statement_identifier : (expression_statement "" ;)) }) while (parenthesized_expression "((char)uVar6 == '0')" ( (binary_expression "(char)uVar6 == '0'" (cast_expression "(char)uVar6" ( (type_descriptor "char" primitive_type) ) identifier) == (char_literal "'0'" ' character ')) )) ;) }) (else_clause "else {\n    if ((*(byte *)(unaff_EDI + 0xedfe9 + (uint)bVar1) & 4) == 0) {\n      return 0;\n    }\n    local_1c = 0;\n  }" else (compound_statement "{\n    if ((*(byte *)(unaff_EDI + 0xedfe9 + (uint)bVar1) & 4) == 0) {\n      return 0;\n    }\n    local_1c = 0;\n  }" { (if_statement "if ((*(byte *)(unaff_EDI + 0xedfe9 + (uint)bVar1) & 4) == 0) {\n      return 0;\n    }" if (parenthesized_expression "((*(byte *)(unaff_EDI + 0xedfe9 + (uint)bVar1) & 4) == 0)" ( (binary_expression "(*(byte *)(unaff_EDI + 0xedfe9 + (uint)bVar1) & 4) == 0" (parenthesized_expression "(*(byte *)(unaff_EDI + 0xedfe9 + (uint)bVar1) & 4)" ( (binary_expression "*(byte *)(unaff_EDI + 0xedfe9 + (uint)bVar1) & 4" (pointer_expression "*(byte *)(unaff_EDI + 0xedfe9 + (uint)bVar1)" * (cast_expression "(byte *)(unaff_EDI + 0xedfe9 + (uint)bVar1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0xedfe9 + (uint)bVar1)" ( (binary_expression "unaff_EDI + 0xedfe9 + (uint)bVar1" (binary_expression "unaff_EDI + 0xedfe9" identifier + number_literal) + (cast_expression "(uint)bVar1" ( (type_descriptor "uint" type_identifier) ) identifier)) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "local_1c = 0;" (assignment_expression "local_1c = 0" identifier = number_literal) ;) }))) (expression_statement "pbVar10 = pbVar9 + 0xb;" (assignment_expression "pbVar10 = pbVar9 + 0xb" identifier = (binary_expression "pbVar9 + 0xb" identifier + number_literal)) ;) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) (expression_statement "iVar8 = 0;" (assignment_expression "iVar8 = 0" identifier = number_literal) ;) (while_statement "while( true ) {\n    pbVar9 = pbVar9 + 1;\n    uVar6 = (int)(char)uVar6 - 0x30;\n    if (9 < uVar6) {\n      if ((int)-(iVar8 - (uint)(uVar4 < local_1c)) < (int)(uint)(0x7fffffff < uVar4 - local_1c)) {\n        return 0;\n      }\n      if (local_1c != 0) {\n        uVar4 = -uVar4;\n      }\n      *puVar7 = uVar4;\n      return 1;\n    }\n    uVar2 = (ulonglong)uVar4;\n    uVar5 = (uint)(uVar2 * 10);\n    uVar4 = uVar5 + uVar6;\n    iVar8 = (int)(uVar2 * 10 >> 0x20) + iVar8 * 10 + ((int)uVar6 >> 0x1f) +\n            (uint)CARRY4(uVar5,uVar6);\n    if (pbVar10 == pbVar9) break;\n    uVar6 = (uint)*pbVar9;\n  }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n    pbVar9 = pbVar9 + 1;\n    uVar6 = (int)(char)uVar6 - 0x30;\n    if (9 < uVar6) {\n      if ((int)-(iVar8 - (uint)(uVar4 < local_1c)) < (int)(uint)(0x7fffffff < uVar4 - local_1c)) {\n        return 0;\n      }\n      if (local_1c != 0) {\n        uVar4 = -uVar4;\n      }\n      *puVar7 = uVar4;\n      return 1;\n    }\n    uVar2 = (ulonglong)uVar4;\n    uVar5 = (uint)(uVar2 * 10);\n    uVar4 = uVar5 + uVar6;\n    iVar8 = (int)(uVar2 * 10 >> 0x20) + iVar8 * 10 + ((int)uVar6 >> 0x1f) +\n            (uint)CARRY4(uVar5,uVar6);\n    if (pbVar10 == pbVar9) break;\n    uVar6 = (uint)*pbVar9;\n  }" { (expression_statement "pbVar9 = pbVar9 + 1;" (assignment_expression "pbVar9 = pbVar9 + 1" identifier = (binary_expression "pbVar9 + 1" identifier + number_literal)) ;) (expression_statement "uVar6 = (int)(char)uVar6 - 0x30;" (assignment_expression "uVar6 = (int)(char)uVar6 - 0x30" identifier = (binary_expression "(int)(char)uVar6 - 0x30" (cast_expression "(int)(char)uVar6" ( (type_descriptor "int" primitive_type) ) (cast_expression "(char)uVar6" ( (type_descriptor "char" primitive_type) ) identifier)) - number_literal)) ;) (if_statement "if (9 < uVar6) {\n      if ((int)-(iVar8 - (uint)(uVar4 < local_1c)) < (int)(uint)(0x7fffffff < uVar4 - local_1c)) {\n        return 0;\n      }\n      if (local_1c != 0) {\n        uVar4 = -uVar4;\n      }\n      *puVar7 = uVar4;\n      return 1;\n    }" if (parenthesized_expression "(9 < uVar6)" ( (binary_expression "9 < uVar6" number_literal < identifier) )) (compound_statement "{\n      if ((int)-(iVar8 - (uint)(uVar4 < local_1c)) < (int)(uint)(0x7fffffff < uVar4 - local_1c)) {\n        return 0;\n      }\n      if (local_1c != 0) {\n        uVar4 = -uVar4;\n      }\n      *puVar7 = uVar4;\n      return 1;\n    }" { (if_statement "if ((int)-(iVar8 - (uint)(uVar4 < local_1c)) < (int)(uint)(0x7fffffff < uVar4 - local_1c)) {\n        return 0;\n      }" if (parenthesized_expression "((int)-(iVar8 - (uint)(uVar4 < local_1c)) < (int)(uint)(0x7fffffff < uVar4 - local_1c))" ( (binary_expression "(int)-(iVar8 - (uint)(uVar4 < local_1c)) < (int)(uint)(0x7fffffff < uVar4 - local_1c)" (cast_expression "(int)-(iVar8 - (uint)(uVar4 < local_1c))" ( (type_descriptor "int" primitive_type) ) (unary_expression "-(iVar8 - (uint)(uVar4 < local_1c))" - (parenthesized_expression "(iVar8 - (uint)(uVar4 < local_1c))" ( (binary_expression "iVar8 - (uint)(uVar4 < local_1c)" identifier - (call_expression "(uint)(uVar4 < local_1c)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar4 < local_1c)" ( (binary_expression "uVar4 < local_1c" identifier < identifier) )))) )))) < (cast_expression "(int)(uint)(0x7fffffff < uVar4 - local_1c)" ( (type_descriptor "int" primitive_type) ) (call_expression "(uint)(0x7fffffff < uVar4 - local_1c)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(0x7fffffff < uVar4 - local_1c)" ( (binary_expression "0x7fffffff < uVar4 - local_1c" number_literal < (binary_expression "uVar4 - local_1c" identifier - identifier)) ))))) )) (compound_statement "{\n        return 0;\n      }" { (return_statement "return 0;" return number_literal ;) })) (if_statement "if (local_1c != 0) {\n        uVar4 = -uVar4;\n      }" if (parenthesized_expression "(local_1c != 0)" ( (binary_expression "local_1c != 0" identifier != number_literal) )) (compound_statement "{\n        uVar4 = -uVar4;\n      }" { (expression_statement "uVar4 = -uVar4;" (assignment_expression "uVar4 = -uVar4" identifier = (unary_expression "-uVar4" - identifier)) ;) })) (expression_statement "*puVar7 = uVar4;" (assignment_expression "*puVar7 = uVar4" (pointer_expression "*puVar7" * identifier) = identifier) ;) (return_statement "return 1;" return number_literal ;) })) (expression_statement "uVar2 = (ulonglong)uVar4;" (assignment_expression "uVar2 = (ulonglong)uVar4" identifier = (cast_expression "(ulonglong)uVar4" ( (type_descriptor "ulonglong" type_identifier) ) identifier)) ;) (expression_statement "uVar5 = (uint)(uVar2 * 10);" (assignment_expression "uVar5 = (uint)(uVar2 * 10)" identifier = (call_expression "(uint)(uVar2 * 10)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar2 * 10)" ( (binary_expression "uVar2 * 10" identifier * number_literal) )))) ;) (expression_statement "uVar4 = uVar5 + uVar6;" (assignment_expression "uVar4 = uVar5 + uVar6" identifier = (binary_expression "uVar5 + uVar6" identifier + identifier)) ;) (expression_statement "iVar8 = (int)(uVar2 * 10 >> 0x20) + iVar8 * 10 + ((int)uVar6 >> 0x1f) +\n            (uint)CARRY4(uVar5,uVar6);" (assignment_expression "iVar8 = (int)(uVar2 * 10 >> 0x20) + iVar8 * 10 + ((int)uVar6 >> 0x1f) +\n            (uint)CARRY4(uVar5,uVar6)" identifier = (binary_expression "(int)(uVar2 * 10 >> 0x20) + iVar8 * 10 + ((int)uVar6 >> 0x1f) +\n            (uint)CARRY4(uVar5,uVar6)" (binary_expression "(int)(uVar2 * 10 >> 0x20) + iVar8 * 10 + ((int)uVar6 >> 0x1f)" (binary_expression "(int)(uVar2 * 10 >> 0x20) + iVar8 * 10" (cast_expression "(int)(uVar2 * 10 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uVar2 * 10 >> 0x20)" ( (binary_expression "uVar2 * 10 >> 0x20" (binary_expression "uVar2 * 10" identifier * number_literal) >> number_literal) ))) + (binary_expression "iVar8 * 10" identifier * number_literal)) + (parenthesized_expression "((int)uVar6 >> 0x1f)" ( (binary_expression "(int)uVar6 >> 0x1f" (cast_expression "(int)uVar6" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) ))) + (cast_expression "(uint)CARRY4(uVar5,uVar6)" ( (type_descriptor "uint" type_identifier) ) (call_expression "CARRY4(uVar5,uVar6)" identifier (argument_list "(uVar5,uVar6)" ( identifier , identifier )))))) ;) (if_statement "if (pbVar10 == pbVar9) break;" if (parenthesized_expression "(pbVar10 == pbVar9)" ( (binary_expression "pbVar10 == pbVar9" identifier == identifier) )) (break_statement "break;" break ;)) (expression_statement "uVar6 = (uint)*pbVar9;" (assignment_expression "uVar6 = (uint)*pbVar9" identifier = (binary_expression "(uint)*pbVar9" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;)) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( IDENT )) * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + IDENT) )))) & LIT) )) != LIT) )) (goto_statement goto statement_identifier ;)) (return_statement return LIT ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) & LIT) )) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ]))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + IDENT) )))) & LIT) )) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) }) while (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 (binary_expression IDENT + LIT) + (cast_expression ( (type_descriptor TYPE) ) IDENT)) )))) & LIT) )) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;) })) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( IDENT )) * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT * LIT) + (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (binary_expression (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) & LIT) )) * LIT)) & LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + IDENT) )))) & LIT) )) == LIT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) == IDENT) )) (compound_statement { (return_statement return LIT ;) })) })) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < LIT) )) (compound_statement { (return_statement return LIT ;) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;)) (return_statement return LIT ;) })) })) (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( IDENT )) * IDENT)) ;) (labeled_statement statement_identifier : (expression_statement ;)) }) while (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) == (char_literal ' character ')) )) ;) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + (cast_expression ( (type_descriptor TYPE) ) IDENT)) )))) & LIT) )) == LIT) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) }))) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) (cast_expression ( (type_descriptor TYPE) ) IDENT)) - LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (unary_expression - (parenthesized_expression ( (binary_expression IDENT - (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT < IDENT) )))) )))) < (cast_expression ( (type_descriptor TYPE) ) (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression LIT < (binary_expression IDENT - IDENT)) ))))) )) (compound_statement { (return_statement return LIT ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (unary_expression - IDENT)) ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT * LIT) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT * LIT) >> LIT) ))) + (binary_expression IDENT * LIT)) + (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) ))) + (cast_expression ( (type_descriptor TYPE) ) (call_expression IDENT (argument_list ( IDENT , IDENT )))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( IDENT )) * IDENT)) ;) })) (return_statement return LIT ;) })))
(function_definition "undefined4 FUN_0003e5f0(void)\n\n{\n  byte bVar1;\n  ulonglong uVar2;\n  char cVar3;\n  uint uVar4;\n  uint uVar5;\n  uint uVar6;\n  uint *puVar7;\n  int iVar8;\n  byte *pbVar9;\n  byte *pbVar10;\n  int unaff_EDI;\n  undefined8 uVar11;\n  uint local_1c;\n  \n  uVar11 = FUN_00036ac5();\n  puVar7 = (uint *)((ulonglong)uVar11 >> 0x20);\n  pbVar9 = (byte *)uVar11;\n  bVar1 = *pbVar9;\n  uVar6 = (uint)bVar1;\n  if (bVar1 == 0x2d) {\n    local_1c = 1;\nLAB_0003e64a:\n    pbVar9 = pbVar9 + 1;\n    uVar6 = (uint)*pbVar9;\n    if ((*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 4) != 0) goto LAB_0003e666;\n    return 0;\n  }\n  if (bVar1 == 0x2b) {\n    local_1c = 0;\n    goto LAB_0003e64a;\n  }\n  if (bVar1 == 0x30) {\n    if ((pbVar9[1] & 0xdf) == 0x58) {\n      uVar6 = (uint)pbVar9[2];\n      if ((*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 8) != 0) {\n        pbVar10 = pbVar9 + 2;\n        if (pbVar9[2] == 0x30) {\n          do {\n            pbVar10 = pbVar10 + 1;\n            bVar1 = *pbVar10;\n            uVar6 = (uint)bVar1;\n          } while (bVar1 == 0x30);\n          if ((*(byte *)(unaff_EDI + 0xedfe9 + (uint)bVar1) & 8) == 0) {\n            uVar4 = 0;\n            goto LAB_0003e7bc;\n          }\n        }\n        pbVar9 = pbVar10 + 1;\n        uVar4 = 0;\n        while( true ) {\n          cVar3 = (char)uVar6;\n          uVar6 = (uint)*pbVar9;\n          uVar4 = uVar4 * 0x10 + ((int)cVar3 + ((int)cVar3 >> 6 & 1U) * 9 & 0xf);\n          if ((*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 8) == 0) break;\n          pbVar9 = pbVar9 + 1;\n          if (pbVar10 + 9 == pbVar9) {\n            return 0;\n          }\n        }\n        if ((int)uVar4 < 0) {\n          return 0;\n        }\nLAB_0003e7bc:\n        *puVar7 = uVar4;\n        return 1;\n      }\n    }\n    local_1c = 0;\n    do {\n      pbVar9 = pbVar9 + 1;\n      uVar6 = (uint)*pbVar9;\nLAB_0003e666:\n    } while ((char)uVar6 == '0');\n  }\n  else {\n    if ((*(byte *)(unaff_EDI + 0xedfe9 + (uint)bVar1) & 4) == 0) {\n      return 0;\n    }\n    local_1c = 0;\n  }\n  pbVar10 = pbVar9 + 0xb;\n  uVar4 = 0;\n  iVar8 = 0;\n  while( true ) {\n    pbVar9 = pbVar9 + 1;\n    uVar6 = (int)(char)uVar6 - 0x30;\n    if (9 < uVar6) {\n      if ((int)-(iVar8 - (uint)(uVar4 < local_1c)) < (int)(uint)(0x7fffffff < uVar4 - local_1c)) {\n        return 0;\n      }\n      if (local_1c != 0) {\n        uVar4 = -uVar4;\n      }\n      *puVar7 = uVar4;\n      return 1;\n    }\n    uVar2 = (ulonglong)uVar4;\n    uVar5 = (uint)(uVar2 * 10);\n    uVar4 = uVar5 + uVar6;\n    iVar8 = (int)(uVar2 * 10 >> 0x20) + iVar8 * 10 + ((int)uVar6 >> 0x1f) +\n            (uint)CARRY4(uVar5,uVar6);\n    if (pbVar10 == pbVar9) break;\n    uVar6 = (uint)*pbVar9;\n  }\n  return 0;\n}" (type_identifier "undefined4") (function_declarator "FUN_0003e5f0(void)" (identifier "FUN_0003e5f0") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  byte bVar1;\n  ulonglong uVar2;\n  char cVar3;\n  uint uVar4;\n  uint uVar5;\n  uint uVar6;\n  uint *puVar7;\n  int iVar8;\n  byte *pbVar9;\n  byte *pbVar10;\n  int unaff_EDI;\n  undefined8 uVar11;\n  uint local_1c;\n  \n  uVar11 = FUN_00036ac5();\n  puVar7 = (uint *)((ulonglong)uVar11 >> 0x20);\n  pbVar9 = (byte *)uVar11;\n  bVar1 = *pbVar9;\n  uVar6 = (uint)bVar1;\n  if (bVar1 == 0x2d) {\n    local_1c = 1;\nLAB_0003e64a:\n    pbVar9 = pbVar9 + 1;\n    uVar6 = (uint)*pbVar9;\n    if ((*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 4) != 0) goto LAB_0003e666;\n    return 0;\n  }\n  if (bVar1 == 0x2b) {\n    local_1c = 0;\n    goto LAB_0003e64a;\n  }\n  if (bVar1 == 0x30) {\n    if ((pbVar9[1] & 0xdf) == 0x58) {\n      uVar6 = (uint)pbVar9[2];\n      if ((*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 8) != 0) {\n        pbVar10 = pbVar9 + 2;\n        if (pbVar9[2] == 0x30) {\n          do {\n            pbVar10 = pbVar10 + 1;\n            bVar1 = *pbVar10;\n            uVar6 = (uint)bVar1;\n          } while (bVar1 == 0x30);\n          if ((*(byte *)(unaff_EDI + 0xedfe9 + (uint)bVar1) & 8) == 0) {\n            uVar4 = 0;\n            goto LAB_0003e7bc;\n          }\n        }\n        pbVar9 = pbVar10 + 1;\n        uVar4 = 0;\n        while( true ) {\n          cVar3 = (char)uVar6;\n          uVar6 = (uint)*pbVar9;\n          uVar4 = uVar4 * 0x10 + ((int)cVar3 + ((int)cVar3 >> 6 & 1U) * 9 & 0xf);\n          if ((*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 8) == 0) break;\n          pbVar9 = pbVar9 + 1;\n          if (pbVar10 + 9 == pbVar9) {\n            return 0;\n          }\n        }\n        if ((int)uVar4 < 0) {\n          return 0;\n        }\nLAB_0003e7bc:\n        *puVar7 = uVar4;\n        return 1;\n      }\n    }\n    local_1c = 0;\n    do {\n      pbVar9 = pbVar9 + 1;\n      uVar6 = (uint)*pbVar9;\nLAB_0003e666:\n    } while ((char)uVar6 == '0');\n  }\n  else {\n    if ((*(byte *)(unaff_EDI + 0xedfe9 + (uint)bVar1) & 4) == 0) {\n      return 0;\n    }\n    local_1c = 0;\n  }\n  pbVar10 = pbVar9 + 0xb;\n  uVar4 = 0;\n  iVar8 = 0;\n  while( true ) {\n    pbVar9 = pbVar9 + 1;\n    uVar6 = (int)(char)uVar6 - 0x30;\n    if (9 < uVar6) {\n      if ((int)-(iVar8 - (uint)(uVar4 < local_1c)) < (int)(uint)(0x7fffffff < uVar4 - local_1c)) {\n        return 0;\n      }\n      if (local_1c != 0) {\n        uVar4 = -uVar4;\n      }\n      *puVar7 = uVar4;\n      return 1;\n    }\n    uVar2 = (ulonglong)uVar4;\n    uVar5 = (uint)(uVar2 * 10);\n    uVar4 = uVar5 + uVar6;\n    iVar8 = (int)(uVar2 * 10 >> 0x20) + iVar8 * 10 + ((int)uVar6 >> 0x1f) +\n            (uint)CARRY4(uVar5,uVar6);\n    if (pbVar10 == pbVar9) break;\n    uVar6 = (uint)*pbVar9;\n  }\n  return 0;\n}" ({ "{") (declaration "byte bVar1;" (type_identifier "byte") (identifier "bVar1") (; ";")) (declaration "ulonglong uVar2;" (type_identifier "ulonglong") (identifier "uVar2") (; ";")) (declaration "char cVar3;" (primitive_type "char") (identifier "cVar3") (; ";")) (declaration "uint uVar4;" (type_identifier "uint") (identifier "uVar4") (; ";")) (declaration "uint uVar5;" (type_identifier "uint") (identifier "uVar5") (; ";")) (declaration "uint uVar6;" (type_identifier "uint") (identifier "uVar6") (; ";")) (declaration "uint *puVar7;" (type_identifier "uint") (pointer_declarator "*puVar7" (* "*") (identifier "puVar7")) (; ";")) (declaration "int iVar8;" (primitive_type "int") (identifier "iVar8") (; ";")) (declaration "byte *pbVar9;" (type_identifier "byte") (pointer_declarator "*pbVar9" (* "*") (identifier "pbVar9")) (; ";")) (declaration "byte *pbVar10;" (type_identifier "byte") (pointer_declarator "*pbVar10" (* "*") (identifier "pbVar10")) (; ";")) (declaration "int unaff_EDI;" (primitive_type "int") (identifier "unaff_EDI") (; ";")) (declaration "undefined8 uVar11;" (type_identifier "undefined8") (identifier "uVar11") (; ";")) (declaration "uint local_1c;" (type_identifier "uint") (identifier "local_1c") (; ";")) (expression_statement "uVar11 = FUN_00036ac5();" (assignment_expression "uVar11 = FUN_00036ac5()" (identifier "uVar11") (= "=") (call_expression "FUN_00036ac5()" (identifier "FUN_00036ac5") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "puVar7 = (uint *)((ulonglong)uVar11 >> 0x20);" (assignment_expression "puVar7 = (uint *)((ulonglong)uVar11 >> 0x20)" (identifier "puVar7") (= "=") (cast_expression "(uint *)((ulonglong)uVar11 >> 0x20)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((ulonglong)uVar11 >> 0x20)" (( "(") (binary_expression "(ulonglong)uVar11 >> 0x20" (cast_expression "(ulonglong)uVar11" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (identifier "uVar11")) (>> ">>") (number_literal "0x20")) () ")")))) (; ";")) (expression_statement "pbVar9 = (byte *)uVar11;" (assignment_expression "pbVar9 = (byte *)uVar11" (identifier "pbVar9") (= "=") (cast_expression "(byte *)uVar11" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "uVar11"))) (; ";")) (expression_statement "bVar1 = *pbVar9;" (assignment_expression "bVar1 = *pbVar9" (identifier "bVar1") (= "=") (pointer_expression "*pbVar9" (* "*") (identifier "pbVar9"))) (; ";")) (expression_statement "uVar6 = (uint)bVar1;" (assignment_expression "uVar6 = (uint)bVar1" (identifier "uVar6") (= "=") (cast_expression "(uint)bVar1" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar1"))) (; ";")) (if_statement "if (bVar1 == 0x2d) {\n    local_1c = 1;\nLAB_0003e64a:\n    pbVar9 = pbVar9 + 1;\n    uVar6 = (uint)*pbVar9;\n    if ((*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 4) != 0) goto LAB_0003e666;\n    return 0;\n  }" (if "if") (parenthesized_expression "(bVar1 == 0x2d)" (( "(") (binary_expression "bVar1 == 0x2d" (identifier "bVar1") (== "==") (number_literal "0x2d")) () ")")) (compound_statement "{\n    local_1c = 1;\nLAB_0003e64a:\n    pbVar9 = pbVar9 + 1;\n    uVar6 = (uint)*pbVar9;\n    if ((*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 4) != 0) goto LAB_0003e666;\n    return 0;\n  }" ({ "{") (expression_statement "local_1c = 1;" (assignment_expression "local_1c = 1" (identifier "local_1c") (= "=") (number_literal "1")) (; ";")) (labeled_statement "LAB_0003e64a:\n    pbVar9 = pbVar9 + 1;" (statement_identifier "LAB_0003e64a") (: ":") (expression_statement "pbVar9 = pbVar9 + 1;" (assignment_expression "pbVar9 = pbVar9 + 1" (identifier "pbVar9") (= "=") (binary_expression "pbVar9 + 1" (identifier "pbVar9") (+ "+") (number_literal "1"))) (; ";"))) (expression_statement "uVar6 = (uint)*pbVar9;" (assignment_expression "uVar6 = (uint)*pbVar9" (identifier "uVar6") (= "=") (binary_expression "(uint)*pbVar9" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (identifier "pbVar9"))) (; ";")) (if_statement "if ((*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 4) != 0) goto LAB_0003e666;" (if "if") (parenthesized_expression "((*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 4) != 0)" (( "(") (binary_expression "(*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 4) != 0" (parenthesized_expression "(*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 4)" (( "(") (binary_expression "*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 4" (pointer_expression "*(byte *)(unaff_EDI + 0xedfe9 + uVar6)" (* "*") (cast_expression "(byte *)(unaff_EDI + 0xedfe9 + uVar6)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_EDI + 0xedfe9 + uVar6)" (( "(") (binary_expression "unaff_EDI + 0xedfe9 + uVar6" (binary_expression "unaff_EDI + 0xedfe9" (identifier "unaff_EDI") (+ "+") (number_literal "0xedfe9")) (+ "+") (identifier "uVar6")) () ")")))) (& "&") (number_literal "4")) () ")")) (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_0003e666;" (goto "goto") (statement_identifier "LAB_0003e666") (; ";"))) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (if_statement "if (bVar1 == 0x2b) {\n    local_1c = 0;\n    goto LAB_0003e64a;\n  }" (if "if") (parenthesized_expression "(bVar1 == 0x2b)" (( "(") (binary_expression "bVar1 == 0x2b" (identifier "bVar1") (== "==") (number_literal "0x2b")) () ")")) (compound_statement "{\n    local_1c = 0;\n    goto LAB_0003e64a;\n  }" ({ "{") (expression_statement "local_1c = 0;" (assignment_expression "local_1c = 0" (identifier "local_1c") (= "=") (number_literal "0")) (; ";")) (goto_statement "goto LAB_0003e64a;" (goto "goto") (statement_identifier "LAB_0003e64a") (; ";")) (} "}"))) (if_statement "if (bVar1 == 0x30) {\n    if ((pbVar9[1] & 0xdf) == 0x58) {\n      uVar6 = (uint)pbVar9[2];\n      if ((*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 8) != 0) {\n        pbVar10 = pbVar9 + 2;\n        if (pbVar9[2] == 0x30) {\n          do {\n            pbVar10 = pbVar10 + 1;\n            bVar1 = *pbVar10;\n            uVar6 = (uint)bVar1;\n          } while (bVar1 == 0x30);\n          if ((*(byte *)(unaff_EDI + 0xedfe9 + (uint)bVar1) & 8) == 0) {\n            uVar4 = 0;\n            goto LAB_0003e7bc;\n          }\n        }\n        pbVar9 = pbVar10 + 1;\n        uVar4 = 0;\n        while( true ) {\n          cVar3 = (char)uVar6;\n          uVar6 = (uint)*pbVar9;\n          uVar4 = uVar4 * 0x10 + ((int)cVar3 + ((int)cVar3 >> 6 & 1U) * 9 & 0xf);\n          if ((*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 8) == 0) break;\n          pbVar9 = pbVar9 + 1;\n          if (pbVar10 + 9 == pbVar9) {\n            return 0;\n          }\n        }\n        if ((int)uVar4 < 0) {\n          return 0;\n        }\nLAB_0003e7bc:\n        *puVar7 = uVar4;\n        return 1;\n      }\n    }\n    local_1c = 0;\n    do {\n      pbVar9 = pbVar9 + 1;\n      uVar6 = (uint)*pbVar9;\nLAB_0003e666:\n    } while ((char)uVar6 == '0');\n  }\n  else {\n    if ((*(byte *)(unaff_EDI + 0xedfe9 + (uint)bVar1) & 4) == 0) {\n      return 0;\n    }\n    local_1c = 0;\n  }" (if "if") (parenthesized_expression "(bVar1 == 0x30)" (( "(") (binary_expression "bVar1 == 0x30" (identifier "bVar1") (== "==") (number_literal "0x30")) () ")")) (compound_statement "{\n    if ((pbVar9[1] & 0xdf) == 0x58) {\n      uVar6 = (uint)pbVar9[2];\n      if ((*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 8) != 0) {\n        pbVar10 = pbVar9 + 2;\n        if (pbVar9[2] == 0x30) {\n          do {\n            pbVar10 = pbVar10 + 1;\n            bVar1 = *pbVar10;\n            uVar6 = (uint)bVar1;\n          } while (bVar1 == 0x30);\n          if ((*(byte *)(unaff_EDI + 0xedfe9 + (uint)bVar1) & 8) == 0) {\n            uVar4 = 0;\n            goto LAB_0003e7bc;\n          }\n        }\n        pbVar9 = pbVar10 + 1;\n        uVar4 = 0;\n        while( true ) {\n          cVar3 = (char)uVar6;\n          uVar6 = (uint)*pbVar9;\n          uVar4 = uVar4 * 0x10 + ((int)cVar3 + ((int)cVar3 >> 6 & 1U) * 9 & 0xf);\n          if ((*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 8) == 0) break;\n          pbVar9 = pbVar9 + 1;\n          if (pbVar10 + 9 == pbVar9) {\n            return 0;\n          }\n        }\n        if ((int)uVar4 < 0) {\n          return 0;\n        }\nLAB_0003e7bc:\n        *puVar7 = uVar4;\n        return 1;\n      }\n    }\n    local_1c = 0;\n    do {\n      pbVar9 = pbVar9 + 1;\n      uVar6 = (uint)*pbVar9;\nLAB_0003e666:\n    } while ((char)uVar6 == '0');\n  }" ({ "{") (if_statement "if ((pbVar9[1] & 0xdf) == 0x58) {\n      uVar6 = (uint)pbVar9[2];\n      if ((*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 8) != 0) {\n        pbVar10 = pbVar9 + 2;\n        if (pbVar9[2] == 0x30) {\n          do {\n            pbVar10 = pbVar10 + 1;\n            bVar1 = *pbVar10;\n            uVar6 = (uint)bVar1;\n          } while (bVar1 == 0x30);\n          if ((*(byte *)(unaff_EDI + 0xedfe9 + (uint)bVar1) & 8) == 0) {\n            uVar4 = 0;\n            goto LAB_0003e7bc;\n          }\n        }\n        pbVar9 = pbVar10 + 1;\n        uVar4 = 0;\n        while( true ) {\n          cVar3 = (char)uVar6;\n          uVar6 = (uint)*pbVar9;\n          uVar4 = uVar4 * 0x10 + ((int)cVar3 + ((int)cVar3 >> 6 & 1U) * 9 & 0xf);\n          if ((*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 8) == 0) break;\n          pbVar9 = pbVar9 + 1;\n          if (pbVar10 + 9 == pbVar9) {\n            return 0;\n          }\n        }\n        if ((int)uVar4 < 0) {\n          return 0;\n        }\nLAB_0003e7bc:\n        *puVar7 = uVar4;\n        return 1;\n      }\n    }" (if "if") (parenthesized_expression "((pbVar9[1] & 0xdf) == 0x58)" (( "(") (binary_expression "(pbVar9[1] & 0xdf) == 0x58" (parenthesized_expression "(pbVar9[1] & 0xdf)" (( "(") (binary_expression "pbVar9[1] & 0xdf" (subscript_expression "pbVar9[1]" (identifier "pbVar9") ([ "[") (number_literal "1") (] "]")) (& "&") (number_literal "0xdf")) () ")")) (== "==") (number_literal "0x58")) () ")")) (compound_statement "{\n      uVar6 = (uint)pbVar9[2];\n      if ((*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 8) != 0) {\n        pbVar10 = pbVar9 + 2;\n        if (pbVar9[2] == 0x30) {\n          do {\n            pbVar10 = pbVar10 + 1;\n            bVar1 = *pbVar10;\n            uVar6 = (uint)bVar1;\n          } while (bVar1 == 0x30);\n          if ((*(byte *)(unaff_EDI + 0xedfe9 + (uint)bVar1) & 8) == 0) {\n            uVar4 = 0;\n            goto LAB_0003e7bc;\n          }\n        }\n        pbVar9 = pbVar10 + 1;\n        uVar4 = 0;\n        while( true ) {\n          cVar3 = (char)uVar6;\n          uVar6 = (uint)*pbVar9;\n          uVar4 = uVar4 * 0x10 + ((int)cVar3 + ((int)cVar3 >> 6 & 1U) * 9 & 0xf);\n          if ((*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 8) == 0) break;\n          pbVar9 = pbVar9 + 1;\n          if (pbVar10 + 9 == pbVar9) {\n            return 0;\n          }\n        }\n        if ((int)uVar4 < 0) {\n          return 0;\n        }\nLAB_0003e7bc:\n        *puVar7 = uVar4;\n        return 1;\n      }\n    }" ({ "{") (expression_statement "uVar6 = (uint)pbVar9[2];" (assignment_expression "uVar6 = (uint)pbVar9[2]" (identifier "uVar6") (= "=") (cast_expression "(uint)pbVar9[2]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "pbVar9[2]" (identifier "pbVar9") ([ "[") (number_literal "2") (] "]")))) (; ";")) (if_statement "if ((*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 8) != 0) {\n        pbVar10 = pbVar9 + 2;\n        if (pbVar9[2] == 0x30) {\n          do {\n            pbVar10 = pbVar10 + 1;\n            bVar1 = *pbVar10;\n            uVar6 = (uint)bVar1;\n          } while (bVar1 == 0x30);\n          if ((*(byte *)(unaff_EDI + 0xedfe9 + (uint)bVar1) & 8) == 0) {\n            uVar4 = 0;\n            goto LAB_0003e7bc;\n          }\n        }\n        pbVar9 = pbVar10 + 1;\n        uVar4 = 0;\n        while( true ) {\n          cVar3 = (char)uVar6;\n          uVar6 = (uint)*pbVar9;\n          uVar4 = uVar4 * 0x10 + ((int)cVar3 + ((int)cVar3 >> 6 & 1U) * 9 & 0xf);\n          if ((*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 8) == 0) break;\n          pbVar9 = pbVar9 + 1;\n          if (pbVar10 + 9 == pbVar9) {\n            return 0;\n          }\n        }\n        if ((int)uVar4 < 0) {\n          return 0;\n        }\nLAB_0003e7bc:\n        *puVar7 = uVar4;\n        return 1;\n      }" (if "if") (parenthesized_expression "((*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 8) != 0)" (( "(") (binary_expression "(*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 8) != 0" (parenthesized_expression "(*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 8)" (( "(") (binary_expression "*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 8" (pointer_expression "*(byte *)(unaff_EDI + 0xedfe9 + uVar6)" (* "*") (cast_expression "(byte *)(unaff_EDI + 0xedfe9 + uVar6)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_EDI + 0xedfe9 + uVar6)" (( "(") (binary_expression "unaff_EDI + 0xedfe9 + uVar6" (binary_expression "unaff_EDI + 0xedfe9" (identifier "unaff_EDI") (+ "+") (number_literal "0xedfe9")) (+ "+") (identifier "uVar6")) () ")")))) (& "&") (number_literal "8")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        pbVar10 = pbVar9 + 2;\n        if (pbVar9[2] == 0x30) {\n          do {\n            pbVar10 = pbVar10 + 1;\n            bVar1 = *pbVar10;\n            uVar6 = (uint)bVar1;\n          } while (bVar1 == 0x30);\n          if ((*(byte *)(unaff_EDI + 0xedfe9 + (uint)bVar1) & 8) == 0) {\n            uVar4 = 0;\n            goto LAB_0003e7bc;\n          }\n        }\n        pbVar9 = pbVar10 + 1;\n        uVar4 = 0;\n        while( true ) {\n          cVar3 = (char)uVar6;\n          uVar6 = (uint)*pbVar9;\n          uVar4 = uVar4 * 0x10 + ((int)cVar3 + ((int)cVar3 >> 6 & 1U) * 9 & 0xf);\n          if ((*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 8) == 0) break;\n          pbVar9 = pbVar9 + 1;\n          if (pbVar10 + 9 == pbVar9) {\n            return 0;\n          }\n        }\n        if ((int)uVar4 < 0) {\n          return 0;\n        }\nLAB_0003e7bc:\n        *puVar7 = uVar4;\n        return 1;\n      }" ({ "{") (expression_statement "pbVar10 = pbVar9 + 2;" (assignment_expression "pbVar10 = pbVar9 + 2" (identifier "pbVar10") (= "=") (binary_expression "pbVar9 + 2" (identifier "pbVar9") (+ "+") (number_literal "2"))) (; ";")) (if_statement "if (pbVar9[2] == 0x30) {\n          do {\n            pbVar10 = pbVar10 + 1;\n            bVar1 = *pbVar10;\n            uVar6 = (uint)bVar1;\n          } while (bVar1 == 0x30);\n          if ((*(byte *)(unaff_EDI + 0xedfe9 + (uint)bVar1) & 8) == 0) {\n            uVar4 = 0;\n            goto LAB_0003e7bc;\n          }\n        }" (if "if") (parenthesized_expression "(pbVar9[2] == 0x30)" (( "(") (binary_expression "pbVar9[2] == 0x30" (subscript_expression "pbVar9[2]" (identifier "pbVar9") ([ "[") (number_literal "2") (] "]")) (== "==") (number_literal "0x30")) () ")")) (compound_statement "{\n          do {\n            pbVar10 = pbVar10 + 1;\n            bVar1 = *pbVar10;\n            uVar6 = (uint)bVar1;\n          } while (bVar1 == 0x30);\n          if ((*(byte *)(unaff_EDI + 0xedfe9 + (uint)bVar1) & 8) == 0) {\n            uVar4 = 0;\n            goto LAB_0003e7bc;\n          }\n        }" ({ "{") (do_statement "do {\n            pbVar10 = pbVar10 + 1;\n            bVar1 = *pbVar10;\n            uVar6 = (uint)bVar1;\n          } while (bVar1 == 0x30);" (do "do") (compound_statement "{\n            pbVar10 = pbVar10 + 1;\n            bVar1 = *pbVar10;\n            uVar6 = (uint)bVar1;\n          }" ({ "{") (expression_statement "pbVar10 = pbVar10 + 1;" (assignment_expression "pbVar10 = pbVar10 + 1" (identifier "pbVar10") (= "=") (binary_expression "pbVar10 + 1" (identifier "pbVar10") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "bVar1 = *pbVar10;" (assignment_expression "bVar1 = *pbVar10" (identifier "bVar1") (= "=") (pointer_expression "*pbVar10" (* "*") (identifier "pbVar10"))) (; ";")) (expression_statement "uVar6 = (uint)bVar1;" (assignment_expression "uVar6 = (uint)bVar1" (identifier "uVar6") (= "=") (cast_expression "(uint)bVar1" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(bVar1 == 0x30)" (( "(") (binary_expression "bVar1 == 0x30" (identifier "bVar1") (== "==") (number_literal "0x30")) () ")")) (; ";")) (if_statement "if ((*(byte *)(unaff_EDI + 0xedfe9 + (uint)bVar1) & 8) == 0) {\n            uVar4 = 0;\n            goto LAB_0003e7bc;\n          }" (if "if") (parenthesized_expression "((*(byte *)(unaff_EDI + 0xedfe9 + (uint)bVar1) & 8) == 0)" (( "(") (binary_expression "(*(byte *)(unaff_EDI + 0xedfe9 + (uint)bVar1) & 8) == 0" (parenthesized_expression "(*(byte *)(unaff_EDI + 0xedfe9 + (uint)bVar1) & 8)" (( "(") (binary_expression "*(byte *)(unaff_EDI + 0xedfe9 + (uint)bVar1) & 8" (pointer_expression "*(byte *)(unaff_EDI + 0xedfe9 + (uint)bVar1)" (* "*") (cast_expression "(byte *)(unaff_EDI + 0xedfe9 + (uint)bVar1)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_EDI + 0xedfe9 + (uint)bVar1)" (( "(") (binary_expression "unaff_EDI + 0xedfe9 + (uint)bVar1" (binary_expression "unaff_EDI + 0xedfe9" (identifier "unaff_EDI") (+ "+") (number_literal "0xedfe9")) (+ "+") (cast_expression "(uint)bVar1" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar1"))) () ")")))) (& "&") (number_literal "8")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n            uVar4 = 0;\n            goto LAB_0003e7bc;\n          }" ({ "{") (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" (identifier "uVar4") (= "=") (number_literal "0")) (; ";")) (goto_statement "goto LAB_0003e7bc;" (goto "goto") (statement_identifier "LAB_0003e7bc") (; ";")) (} "}"))) (} "}"))) (expression_statement "pbVar9 = pbVar10 + 1;" (assignment_expression "pbVar9 = pbVar10 + 1" (identifier "pbVar9") (= "=") (binary_expression "pbVar10 + 1" (identifier "pbVar10") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" (identifier "uVar4") (= "=") (number_literal "0")) (; ";")) (while_statement "while( true ) {\n          cVar3 = (char)uVar6;\n          uVar6 = (uint)*pbVar9;\n          uVar4 = uVar4 * 0x10 + ((int)cVar3 + ((int)cVar3 >> 6 & 1U) * 9 & 0xf);\n          if ((*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 8) == 0) break;\n          pbVar9 = pbVar9 + 1;\n          if (pbVar10 + 9 == pbVar9) {\n            return 0;\n          }\n        }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n          cVar3 = (char)uVar6;\n          uVar6 = (uint)*pbVar9;\n          uVar4 = uVar4 * 0x10 + ((int)cVar3 + ((int)cVar3 >> 6 & 1U) * 9 & 0xf);\n          if ((*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 8) == 0) break;\n          pbVar9 = pbVar9 + 1;\n          if (pbVar10 + 9 == pbVar9) {\n            return 0;\n          }\n        }" ({ "{") (expression_statement "cVar3 = (char)uVar6;" (assignment_expression "cVar3 = (char)uVar6" (identifier "cVar3") (= "=") (cast_expression "(char)uVar6" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "uVar6"))) (; ";")) (expression_statement "uVar6 = (uint)*pbVar9;" (assignment_expression "uVar6 = (uint)*pbVar9" (identifier "uVar6") (= "=") (binary_expression "(uint)*pbVar9" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (identifier "pbVar9"))) (; ";")) (expression_statement "uVar4 = uVar4 * 0x10 + ((int)cVar3 + ((int)cVar3 >> 6 & 1U) * 9 & 0xf);" (assignment_expression "uVar4 = uVar4 * 0x10 + ((int)cVar3 + ((int)cVar3 >> 6 & 1U) * 9 & 0xf)" (identifier "uVar4") (= "=") (binary_expression "uVar4 * 0x10 + ((int)cVar3 + ((int)cVar3 >> 6 & 1U) * 9 & 0xf)" (binary_expression "uVar4 * 0x10" (identifier "uVar4") (* "*") (number_literal "0x10")) (+ "+") (parenthesized_expression "((int)cVar3 + ((int)cVar3 >> 6 & 1U) * 9 & 0xf)" (( "(") (binary_expression "(int)cVar3 + ((int)cVar3 >> 6 & 1U) * 9 & 0xf" (binary_expression "(int)cVar3 + ((int)cVar3 >> 6 & 1U) * 9" (cast_expression "(int)cVar3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "cVar3")) (+ "+") (binary_expression "((int)cVar3 >> 6 & 1U) * 9" (parenthesized_expression "((int)cVar3 >> 6 & 1U)" (( "(") (binary_expression "(int)cVar3 >> 6 & 1U" (binary_expression "(int)cVar3 >> 6" (cast_expression "(int)cVar3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "cVar3")) (>> ">>") (number_literal "6")) (& "&") (number_literal "1U")) () ")")) (* "*") (number_literal "9"))) (& "&") (number_literal "0xf")) () ")")))) (; ";")) (if_statement "if ((*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 8) == 0) break;" (if "if") (parenthesized_expression "((*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 8) == 0)" (( "(") (binary_expression "(*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 8) == 0" (parenthesized_expression "(*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 8)" (( "(") (binary_expression "*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 8" (pointer_expression "*(byte *)(unaff_EDI + 0xedfe9 + uVar6)" (* "*") (cast_expression "(byte *)(unaff_EDI + 0xedfe9 + uVar6)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_EDI + 0xedfe9 + uVar6)" (( "(") (binary_expression "unaff_EDI + 0xedfe9 + uVar6" (binary_expression "unaff_EDI + 0xedfe9" (identifier "unaff_EDI") (+ "+") (number_literal "0xedfe9")) (+ "+") (identifier "uVar6")) () ")")))) (& "&") (number_literal "8")) () ")")) (== "==") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "pbVar9 = pbVar9 + 1;" (assignment_expression "pbVar9 = pbVar9 + 1" (identifier "pbVar9") (= "=") (binary_expression "pbVar9 + 1" (identifier "pbVar9") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (pbVar10 + 9 == pbVar9) {\n            return 0;\n          }" (if "if") (parenthesized_expression "(pbVar10 + 9 == pbVar9)" (( "(") (binary_expression "pbVar10 + 9 == pbVar9" (binary_expression "pbVar10 + 9" (identifier "pbVar10") (+ "+") (number_literal "9")) (== "==") (identifier "pbVar9")) () ")")) (compound_statement "{\n            return 0;\n          }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (} "}"))) (if_statement "if ((int)uVar4 < 0) {\n          return 0;\n        }" (if "if") (parenthesized_expression "((int)uVar4 < 0)" (( "(") (binary_expression "(int)uVar4 < 0" (cast_expression "(int)uVar4" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar4")) (< "<") (number_literal "0")) () ")")) (compound_statement "{\n          return 0;\n        }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (labeled_statement "LAB_0003e7bc:\n        *puVar7 = uVar4;" (statement_identifier "LAB_0003e7bc") (: ":") (expression_statement "*puVar7 = uVar4;" (assignment_expression "*puVar7 = uVar4" (pointer_expression "*puVar7" (* "*") (identifier "puVar7")) (= "=") (identifier "uVar4")) (; ";"))) (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (} "}"))) (expression_statement "local_1c = 0;" (assignment_expression "local_1c = 0" (identifier "local_1c") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n      pbVar9 = pbVar9 + 1;\n      uVar6 = (uint)*pbVar9;\nLAB_0003e666:\n    } while ((char)uVar6 == '0');" (do "do") (compound_statement "{\n      pbVar9 = pbVar9 + 1;\n      uVar6 = (uint)*pbVar9;\nLAB_0003e666:\n    }" ({ "{") (expression_statement "pbVar9 = pbVar9 + 1;" (assignment_expression "pbVar9 = pbVar9 + 1" (identifier "pbVar9") (= "=") (binary_expression "pbVar9 + 1" (identifier "pbVar9") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "uVar6 = (uint)*pbVar9;" (assignment_expression "uVar6 = (uint)*pbVar9" (identifier "uVar6") (= "=") (binary_expression "(uint)*pbVar9" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (identifier "pbVar9"))) (; ";")) (labeled_statement "LAB_0003e666:" (statement_identifier "LAB_0003e666") (: ":") (expression_statement "" (; ""))) (} "}")) (while "while") (parenthesized_expression "((char)uVar6 == '0')" (( "(") (binary_expression "(char)uVar6 == '0'" (cast_expression "(char)uVar6" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "uVar6")) (== "==") (char_literal "'0'" (' "'") (character "0") (' "'"))) () ")")) (; ";")) (} "}")) (else_clause "else {\n    if ((*(byte *)(unaff_EDI + 0xedfe9 + (uint)bVar1) & 4) == 0) {\n      return 0;\n    }\n    local_1c = 0;\n  }" (else "else") (compound_statement "{\n    if ((*(byte *)(unaff_EDI + 0xedfe9 + (uint)bVar1) & 4) == 0) {\n      return 0;\n    }\n    local_1c = 0;\n  }" ({ "{") (if_statement "if ((*(byte *)(unaff_EDI + 0xedfe9 + (uint)bVar1) & 4) == 0) {\n      return 0;\n    }" (if "if") (parenthesized_expression "((*(byte *)(unaff_EDI + 0xedfe9 + (uint)bVar1) & 4) == 0)" (( "(") (binary_expression "(*(byte *)(unaff_EDI + 0xedfe9 + (uint)bVar1) & 4) == 0" (parenthesized_expression "(*(byte *)(unaff_EDI + 0xedfe9 + (uint)bVar1) & 4)" (( "(") (binary_expression "*(byte *)(unaff_EDI + 0xedfe9 + (uint)bVar1) & 4" (pointer_expression "*(byte *)(unaff_EDI + 0xedfe9 + (uint)bVar1)" (* "*") (cast_expression "(byte *)(unaff_EDI + 0xedfe9 + (uint)bVar1)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_EDI + 0xedfe9 + (uint)bVar1)" (( "(") (binary_expression "unaff_EDI + 0xedfe9 + (uint)bVar1" (binary_expression "unaff_EDI + 0xedfe9" (identifier "unaff_EDI") (+ "+") (number_literal "0xedfe9")) (+ "+") (cast_expression "(uint)bVar1" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar1"))) () ")")))) (& "&") (number_literal "4")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      return 0;\n    }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (expression_statement "local_1c = 0;" (assignment_expression "local_1c = 0" (identifier "local_1c") (= "=") (number_literal "0")) (; ";")) (} "}")))) (expression_statement "pbVar10 = pbVar9 + 0xb;" (assignment_expression "pbVar10 = pbVar9 + 0xb" (identifier "pbVar10") (= "=") (binary_expression "pbVar9 + 0xb" (identifier "pbVar9") (+ "+") (number_literal "0xb"))) (; ";")) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" (identifier "uVar4") (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar8 = 0;" (assignment_expression "iVar8 = 0" (identifier "iVar8") (= "=") (number_literal "0")) (; ";")) (while_statement "while( true ) {\n    pbVar9 = pbVar9 + 1;\n    uVar6 = (int)(char)uVar6 - 0x30;\n    if (9 < uVar6) {\n      if ((int)-(iVar8 - (uint)(uVar4 < local_1c)) < (int)(uint)(0x7fffffff < uVar4 - local_1c)) {\n        return 0;\n      }\n      if (local_1c != 0) {\n        uVar4 = -uVar4;\n      }\n      *puVar7 = uVar4;\n      return 1;\n    }\n    uVar2 = (ulonglong)uVar4;\n    uVar5 = (uint)(uVar2 * 10);\n    uVar4 = uVar5 + uVar6;\n    iVar8 = (int)(uVar2 * 10 >> 0x20) + iVar8 * 10 + ((int)uVar6 >> 0x1f) +\n            (uint)CARRY4(uVar5,uVar6);\n    if (pbVar10 == pbVar9) break;\n    uVar6 = (uint)*pbVar9;\n  }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n    pbVar9 = pbVar9 + 1;\n    uVar6 = (int)(char)uVar6 - 0x30;\n    if (9 < uVar6) {\n      if ((int)-(iVar8 - (uint)(uVar4 < local_1c)) < (int)(uint)(0x7fffffff < uVar4 - local_1c)) {\n        return 0;\n      }\n      if (local_1c != 0) {\n        uVar4 = -uVar4;\n      }\n      *puVar7 = uVar4;\n      return 1;\n    }\n    uVar2 = (ulonglong)uVar4;\n    uVar5 = (uint)(uVar2 * 10);\n    uVar4 = uVar5 + uVar6;\n    iVar8 = (int)(uVar2 * 10 >> 0x20) + iVar8 * 10 + ((int)uVar6 >> 0x1f) +\n            (uint)CARRY4(uVar5,uVar6);\n    if (pbVar10 == pbVar9) break;\n    uVar6 = (uint)*pbVar9;\n  }" ({ "{") (expression_statement "pbVar9 = pbVar9 + 1;" (assignment_expression "pbVar9 = pbVar9 + 1" (identifier "pbVar9") (= "=") (binary_expression "pbVar9 + 1" (identifier "pbVar9") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "uVar6 = (int)(char)uVar6 - 0x30;" (assignment_expression "uVar6 = (int)(char)uVar6 - 0x30" (identifier "uVar6") (= "=") (binary_expression "(int)(char)uVar6 - 0x30" (cast_expression "(int)(char)uVar6" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (cast_expression "(char)uVar6" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "uVar6"))) (- "-") (number_literal "0x30"))) (; ";")) (if_statement "if (9 < uVar6) {\n      if ((int)-(iVar8 - (uint)(uVar4 < local_1c)) < (int)(uint)(0x7fffffff < uVar4 - local_1c)) {\n        return 0;\n      }\n      if (local_1c != 0) {\n        uVar4 = -uVar4;\n      }\n      *puVar7 = uVar4;\n      return 1;\n    }" (if "if") (parenthesized_expression "(9 < uVar6)" (( "(") (binary_expression "9 < uVar6" (number_literal "9") (< "<") (identifier "uVar6")) () ")")) (compound_statement "{\n      if ((int)-(iVar8 - (uint)(uVar4 < local_1c)) < (int)(uint)(0x7fffffff < uVar4 - local_1c)) {\n        return 0;\n      }\n      if (local_1c != 0) {\n        uVar4 = -uVar4;\n      }\n      *puVar7 = uVar4;\n      return 1;\n    }" ({ "{") (if_statement "if ((int)-(iVar8 - (uint)(uVar4 < local_1c)) < (int)(uint)(0x7fffffff < uVar4 - local_1c)) {\n        return 0;\n      }" (if "if") (parenthesized_expression "((int)-(iVar8 - (uint)(uVar4 < local_1c)) < (int)(uint)(0x7fffffff < uVar4 - local_1c))" (( "(") (binary_expression "(int)-(iVar8 - (uint)(uVar4 < local_1c)) < (int)(uint)(0x7fffffff < uVar4 - local_1c)" (cast_expression "(int)-(iVar8 - (uint)(uVar4 < local_1c))" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (unary_expression "-(iVar8 - (uint)(uVar4 < local_1c))" (- "-") (parenthesized_expression "(iVar8 - (uint)(uVar4 < local_1c))" (( "(") (binary_expression "iVar8 - (uint)(uVar4 < local_1c)" (identifier "iVar8") (- "-") (call_expression "(uint)(uVar4 < local_1c)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(uVar4 < local_1c)" (( "(") (binary_expression "uVar4 < local_1c" (identifier "uVar4") (< "<") (identifier "local_1c")) () ")")))) () ")")))) (< "<") (cast_expression "(int)(uint)(0x7fffffff < uVar4 - local_1c)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (call_expression "(uint)(0x7fffffff < uVar4 - local_1c)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(0x7fffffff < uVar4 - local_1c)" (( "(") (binary_expression "0x7fffffff < uVar4 - local_1c" (number_literal "0x7fffffff") (< "<") (binary_expression "uVar4 - local_1c" (identifier "uVar4") (- "-") (identifier "local_1c"))) () ")"))))) () ")")) (compound_statement "{\n        return 0;\n      }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (if_statement "if (local_1c != 0) {\n        uVar4 = -uVar4;\n      }" (if "if") (parenthesized_expression "(local_1c != 0)" (( "(") (binary_expression "local_1c != 0" (identifier "local_1c") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        uVar4 = -uVar4;\n      }" ({ "{") (expression_statement "uVar4 = -uVar4;" (assignment_expression "uVar4 = -uVar4" (identifier "uVar4") (= "=") (unary_expression "-uVar4" (- "-") (identifier "uVar4"))) (; ";")) (} "}"))) (expression_statement "*puVar7 = uVar4;" (assignment_expression "*puVar7 = uVar4" (pointer_expression "*puVar7" (* "*") (identifier "puVar7")) (= "=") (identifier "uVar4")) (; ";")) (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (expression_statement "uVar2 = (ulonglong)uVar4;" (assignment_expression "uVar2 = (ulonglong)uVar4" (identifier "uVar2") (= "=") (cast_expression "(ulonglong)uVar4" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (identifier "uVar4"))) (; ";")) (expression_statement "uVar5 = (uint)(uVar2 * 10);" (assignment_expression "uVar5 = (uint)(uVar2 * 10)" (identifier "uVar5") (= "=") (call_expression "(uint)(uVar2 * 10)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(uVar2 * 10)" (( "(") (binary_expression "uVar2 * 10" (identifier "uVar2") (* "*") (number_literal "10")) () ")")))) (; ";")) (expression_statement "uVar4 = uVar5 + uVar6;" (assignment_expression "uVar4 = uVar5 + uVar6" (identifier "uVar4") (= "=") (binary_expression "uVar5 + uVar6" (identifier "uVar5") (+ "+") (identifier "uVar6"))) (; ";")) (expression_statement "iVar8 = (int)(uVar2 * 10 >> 0x20) + iVar8 * 10 + ((int)uVar6 >> 0x1f) +\n            (uint)CARRY4(uVar5,uVar6);" (assignment_expression "iVar8 = (int)(uVar2 * 10 >> 0x20) + iVar8 * 10 + ((int)uVar6 >> 0x1f) +\n            (uint)CARRY4(uVar5,uVar6)" (identifier "iVar8") (= "=") (binary_expression "(int)(uVar2 * 10 >> 0x20) + iVar8 * 10 + ((int)uVar6 >> 0x1f) +\n            (uint)CARRY4(uVar5,uVar6)" (binary_expression "(int)(uVar2 * 10 >> 0x20) + iVar8 * 10 + ((int)uVar6 >> 0x1f)" (binary_expression "(int)(uVar2 * 10 >> 0x20) + iVar8 * 10" (cast_expression "(int)(uVar2 * 10 >> 0x20)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(uVar2 * 10 >> 0x20)" (( "(") (binary_expression "uVar2 * 10 >> 0x20" (binary_expression "uVar2 * 10" (identifier "uVar2") (* "*") (number_literal "10")) (>> ">>") (number_literal "0x20")) () ")"))) (+ "+") (binary_expression "iVar8 * 10" (identifier "iVar8") (* "*") (number_literal "10"))) (+ "+") (parenthesized_expression "((int)uVar6 >> 0x1f)" (( "(") (binary_expression "(int)uVar6 >> 0x1f" (cast_expression "(int)uVar6" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar6")) (>> ">>") (number_literal "0x1f")) () ")"))) (+ "+") (cast_expression "(uint)CARRY4(uVar5,uVar6)" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (call_expression "CARRY4(uVar5,uVar6)" (identifier "CARRY4") (argument_list "(uVar5,uVar6)" (( "(") (identifier "uVar5") (, ",") (identifier "uVar6") () ")")))))) (; ";")) (if_statement "if (pbVar10 == pbVar9) break;" (if "if") (parenthesized_expression "(pbVar10 == pbVar9)" (( "(") (binary_expression "pbVar10 == pbVar9" (identifier "pbVar10") (== "==") (identifier "pbVar9")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "uVar6 = (uint)*pbVar9;" (assignment_expression "uVar6 = (uint)*pbVar9" (identifier "uVar6") (= "=") (binary_expression "(uint)*pbVar9" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (identifier "pbVar9"))) (; ";")) (} "}"))) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))

int function_1(char *zNum,int *pValue)

{
  type_1 var_2;
  type_2 var_10;
  char cVar3;
  type_3 var_7;
  type_3 var_11;
  type_3 var_5;
  type_3 *puVar7;
  int var_8;
  type_1 *var_3;
  type_1 *var_6;
  int var_4;
  type_4 uVar11;
  type_3 var_9;
  
  uVar11 = var_1();
  puVar7 = (type_3 *)((type_2)uVar11 >> 0x20);
  var_3 = (type_1 *)uVar11;
  var_2 = *var_3;
  var_5 = (type_3)var_2;
  if (var_2 == 0x2d) {
    var_9 = 1;
LAB_0003e64a:
    var_3 = var_3 + 1;
    var_5 = (type_3)*var_3;
    if ((*(type_1 *)(var_4 + 0xedfe9 + var_5) & 4) != 0) goto LAB_0003e666;
    return 0;
  }
  if (var_2 == 0x2b) {
    var_9 = 0;
    goto LAB_0003e64a;
  }
  if (var_2 == 0x30) {
    if ((var_3[1] & 0xdf) == 0x58) {
      var_5 = (type_3)var_3[2];
      if ((*(type_1 *)(var_4 + 0xedfe9 + var_5) & 8) != 0) {
        var_6 = var_3 + 2;
        if (var_3[2] == 0x30) {
          do {
            var_6 = var_6 + 1;
            var_2 = *var_6;
            var_5 = (type_3)var_2;
          } while (var_2 == 0x30);
          if ((*(type_1 *)(var_4 + 0xedfe9 + (type_3)var_2) & 8) == 0) {
            var_7 = 0;
            goto LAB_0003e7bc;
          }
        }
        var_3 = var_6 + 1;
        var_7 = 0;
        while( true ) {
          cVar3 = (char)var_5;
          var_5 = (type_3)*var_3;
          var_7 = var_7 * 0x10 + ((int)cVar3 + ((int)cVar3 >> 6 & 1U) * 9 & 0xf);
          if ((*(type_1 *)(var_4 + 0xedfe9 + var_5) & 8) == 0) break;
          var_3 = var_3 + 1;
          if (var_6 + 9 == var_3) {
            return 0;
          }
        }
        if ((int)var_7 < 0) {
          return 0;
        }
LAB_0003e7bc:
        *puVar7 = var_7;
        return 1;
      }
    }
    var_9 = 0;
    do {
      var_3 = var_3 + 1;
      var_5 = (type_3)*var_3;
LAB_0003e666:
    } while ((char)var_5 == '0');
  }
  else {
    if ((*(type_1 *)(var_4 + 0xedfe9 + (type_3)var_2) & 4) == 0) {
      return 0;
    }
    var_9 = 0;
  }
  var_6 = var_3 + 0xb;
  var_7 = 0;
  var_8 = 0;
  while( true ) {
    var_3 = var_3 + 1;
    var_5 = (int)(char)var_5 - 0x30;
    if (9 < var_5) {
      if ((int)-(var_8 - (type_3)(var_7 < var_9)) < (int)(type_3)(0x7fffffff < var_7 - var_9)) {
        return 0;
      }
      if (var_9 != 0) {
        var_7 = -var_7;
      }
      *puVar7 = var_7;
      return 1;
    }
    var_10 = (type_2)var_7;
    var_11 = (type_3)(var_10 * 10);
    var_7 = var_11 + var_5;
    var_8 = (int)(var_10 * 10 >> 0x20) + var_8 * 10 + ((int)var_5 >> 0x1f) +
            (type_3)var_12(var_11,var_5);
    if (var_6 == var_3) break;
    var_5 = (type_3)*var_3;
  }
  return 0;
}


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

undefined4 MASKED(void)

{
  byte bVar1;
  ulonglong uVar2;
  char cVar3;
  uint uVar4;
  uint uVar5;
  uint uVar6;
  uint *puVar7;
  int iVar8;
  byte *pbVar9;
  byte *pbVar10;
  int unaff_EDI;
  undefined8 uVar11;
  uint local_1c;
  
  uVar11 = FUN_00036ac5();
  puVar7 = (uint *)((ulonglong)uVar11 >> 0x20);
  pbVar9 = (byte *)uVar11;
  bVar1 = *pbVar9;
  uVar6 = (uint)bVar1;
  if (bVar1 == 0x2d) {
    local_1c = 1;
LAB_0003e64a:
    pbVar9 = pbVar9 + 1;
    uVar6 = (uint)*pbVar9;
    if ((*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 4) != 0) goto LAB_0003e666;
    return 0;
  }
  if (bVar1 == 0x2b) {
    local_1c = 0;
    goto LAB_0003e64a;
  }
  if (bVar1 == 0x30) {
    if ((pbVar9[1] & 0xdf) == 0x58) {
      uVar6 = (uint)pbVar9[2];
      if ((*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 8) != 0) {
        pbVar10 = pbVar9 + 2;
        if (pbVar9[2] == 0x30) {
          do {
            pbVar10 = pbVar10 + 1;
            bVar1 = *pbVar10;
            uVar6 = (uint)bVar1;
          } while (bVar1 == 0x30);
          if ((*(byte *)(unaff_EDI + 0xedfe9 + (uint)bVar1) & 8) == 0) {
            uVar4 = 0;
            goto LAB_0003e7bc;
          }
        }
        pbVar9 = pbVar10 + 1;
        uVar4 = 0;
        while( true ) {
          cVar3 = (char)uVar6;
          uVar6 = (uint)*pbVar9;
          uVar4 = uVar4 * 0x10 + ((int)cVar3 + ((int)cVar3 >> 6 & 1U) * 9 & 0xf);
          if ((*(byte *)(unaff_EDI + 0xedfe9 + uVar6) & 8) == 0) break;
          pbVar9 = pbVar9 + 1;
          if (pbVar10 + 9 == pbVar9) {
            return 0;
          }
        }
        if ((int)uVar4 < 0) {
          return 0;
        }
LAB_0003e7bc:
        *puVar7 = uVar4;
        return 1;
      }
    }
    local_1c = 0;
    do {
      pbVar9 = pbVar9 + 1;
      uVar6 = (uint)*pbVar9;
LAB_0003e666:
    } while ((char)uVar6 == '0');
  }
  else {
    if ((*(byte *)(unaff_EDI + 0xedfe9 + (uint)bVar1) & 4) == 0) {
      return 0;
    }
    local_1c = 0;
  }
  pbVar10 = pbVar9 + 0xb;
  uVar4 = 0;
  iVar8 = 0;
  while( true ) {
    pbVar9 = pbVar9 + 1;
    uVar6 = (int)(char)uVar6 - 0x30;
    if (9 < uVar6) {
      if ((int)-(iVar8 - (uint)(uVar4 < local_1c)) < (int)(uint)(0x7fffffff < uVar4 - local_1c)) {
        return 0;
      }
      if (local_1c != 0) {
        uVar4 = -uVar4;
      }
      *puVar7 = uVar4;
      return 1;
    }
    uVar2 = (ulonglong)uVar4;
    uVar5 = (uint)(uVar2 * 10);
    uVar4 = uVar5 + uVar6;
    iVar8 = (int)(uVar2 * 10 >> 0x20) + iVar8 * 10 + ((int)uVar6 >> 0x1f) +
            (uint)CARRY4(uVar5,uVar6);
    if (pbVar10 == pbVar9) break;
    uVar6 = (uint)*pbVar9;
  }
  return 0;
}

