
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

void __regparm3 fts3ReadEndBlockField(sqlite3_stmt *pStmt,int iCol,i64 *piEndBlock,i64 *pnByte)

{
  byte bVar1;
  ulonglong uVar2;
  byte *pbVar3;
  uint uVar4;
  uint uVar5;
  undefined4 uVar6;
  uint uVar7;
  int iVar8;
  byte *pbVar9;
  int iVar10;
  uint local_24;
  int local_20;
  
  pbVar3 = sqlite3_column_text(pStmt,iCol);
  if (pbVar3 != (byte *)0x0) {
    bVar1 = *pbVar3;
    if ((byte)(bVar1 - 0x30) < 10) {
      uVar4 = 0;
      iVar8 = 0;
      iVar10 = 0;
      do {
        uVar2 = (ulonglong)uVar4;
        uVar5 = (uint)(uVar2 * 10);
        uVar7 = bVar1 - 0x30;
        uVar4 = uVar5 + uVar7;
        iVar8 = (int)(uVar2 * 10 >> 0x20) + iVar8 * 10 + ((int)uVar7 >> 0x1f) +
                (uint)CARRY4(uVar5,uVar7);
        iVar10 = iVar10 + 1;
        bVar1 = pbVar3[iVar10];
        pbVar9 = pbVar3 + iVar10;
      } while ((byte)(bVar1 - 0x30) < 10);
    }
    else {
      uVar4 = 0;
      iVar8 = 0;
      iVar10 = 0;
      pbVar9 = pbVar3;
    }
    *(uint *)piEndBlock = uVar4;
    *(int *)((int)piEndBlock + 4) = iVar8;
    bVar1 = *pbVar9;
    while (bVar1 == 0x20) {
      iVar10 = iVar10 + 1;
      bVar1 = pbVar3[iVar10];
    }
    local_24 = 1;
    local_20 = 0;
    if (bVar1 == 0x2d) {
      iVar10 = iVar10 + 1;
      local_24 = 0xffffffff;
      local_20 = -1;
    }
    bVar1 = pbVar3[iVar10];
    pbVar3 = pbVar3 + iVar10 + 1;
    if ((byte)(bVar1 - 0x30) < 10) {
      uVar4 = 0;
      iVar10 = 0;
      do {
        uVar7 = bVar1 - 0x30;
        uVar2 = (ulonglong)uVar4;
        uVar5 = (uint)(uVar2 * 10);
        uVar4 = uVar5 + uVar7;
        bVar1 = *pbVar3;
        iVar10 = (int)(uVar2 * 10 >> 0x20) + iVar10 * 10 + ((int)uVar7 >> 0x1f) +
                 (uint)CARRY4(uVar5,uVar7);
        pbVar3 = pbVar3 + 1;
      } while ((byte)(bVar1 - 0x30) < 10);
      uVar6 = (undefined4)((ulonglong)local_24 * (ulonglong)uVar4);
      iVar10 = (int)((ulonglong)local_24 * (ulonglong)uVar4 >> 0x20) +
               local_24 * iVar10 + local_20 * uVar4;
    }
    else {
      uVar6 = 0;
      iVar10 = 0;
    }
    *(undefined4 *)pnByte = uVar6;
    *(int *)((int)pnByte + 4) = iVar10;
  }
  return;
}



/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

void __regparm3
FUN_0004ebc0(undefined4 param_1,undefined4 param_2,uint *param_3,undefined4 *param_4)

{
  byte bVar1;
  ulonglong uVar2;
  byte *pbVar3;
  uint uVar4;
  uint uVar5;
  undefined4 uVar6;
  uint uVar7;
  uint uVar8;
  byte *pbVar9;
  int iVar10;
  uint local_24;
  int local_20;
  
  pbVar3 = (byte *)FUN_0004eb80(param_1,param_2);
  if (pbVar3 != (byte *)0x0) {
    bVar1 = *pbVar3;
    if ((byte)(bVar1 - 0x30) < 10) {
      uVar4 = 0;
      uVar8 = 0;
      iVar10 = 0;
      do {
        uVar2 = (ulonglong)uVar4;
        uVar5 = (uint)(uVar2 * 10);
        uVar7 = bVar1 - 0x30;
        uVar4 = uVar5 + uVar7;
        uVar8 = (int)(uVar2 * 10 >> 0x20) + uVar8 * 10 + ((int)uVar7 >> 0x1f) +
                (uint)CARRY4(uVar5,uVar7);
        iVar10 = iVar10 + 1;
        bVar1 = pbVar3[iVar10];
        pbVar9 = pbVar3 + iVar10;
      } while ((byte)(bVar1 - 0x30) < 10);
    }
    else {
      uVar4 = 0;
      uVar8 = 0;
      iVar10 = 0;
      pbVar9 = pbVar3;
    }
    *param_3 = uVar4;
    param_3[1] = uVar8;
    bVar1 = *pbVar9;
    while (bVar1 == 0x20) {
      iVar10 = iVar10 + 1;
      bVar1 = pbVar3[iVar10];
    }
    local_24 = 1;
    local_20 = 0;
    if (bVar1 == 0x2d) {
      iVar10 = iVar10 + 1;
      local_24 = 0xffffffff;
      local_20 = -1;
    }
    bVar1 = pbVar3[iVar10];
    pbVar3 = pbVar3 + iVar10 + 1;
    if ((byte)(bVar1 - 0x30) < 10) {
      uVar4 = 0;
      iVar10 = 0;
      do {
        uVar5 = bVar1 - 0x30;
        uVar2 = (ulonglong)uVar4;
        uVar8 = (uint)(uVar2 * 10);
        uVar4 = uVar8 + uVar5;
        bVar1 = *pbVar3;
        iVar10 = (int)(uVar2 * 10 >> 0x20) + iVar10 * 10 + ((int)uVar5 >> 0x1f) +
                 (uint)CARRY4(uVar8,uVar5);
        pbVar3 = pbVar3 + 1;
      } while ((byte)(bVar1 - 0x30) < 10);
      uVar6 = (undefined4)((ulonglong)local_24 * (ulonglong)uVar4);
      iVar10 = (int)((ulonglong)local_24 * (ulonglong)uVar4 >> 0x20) +
               local_24 * iVar10 + local_20 * uVar4;
    }
    else {
      uVar6 = 0;
      iVar10 = 0;
    }
    *param_4 = uVar6;
    param_4[1] = iVar10;
  }
  return;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00014d20
ADD EBX,0xfc30b
SUB ESP,0x24
MOV dword ptr [ESP + 0x10],ECX
PUSH EDX
PUSH EAX
CALL 0x0004eb80
ADD ESP,0x10
TEST EAX,EAX
JZ 0x0004ecca
MOVZX EBP,byte ptr [EAX]
MOV EDI,EAX
LEA EAX,[EBP + -0x30]
CMP AL,0x9
JA 0x0004ecf0
XOR EAX,EAX
XOR EDX,EDX
XOR ESI,ESI
MOV ECX,EBP
MOV EBP,0xa
IMUL EBX,EDX,0xa
MOVZX ECX,CL
MUL EBP
SUB ECX,0x30
ADD EDX,EBX
MOV EBX,ECX
SAR EBX,0x1f
ADD EAX,ECX
ADC EDX,EBX
ADD ESI,0x1
MOVZX ECX,byte ptr [EDI + ESI*0x1]
LEA EBP,[EDI + ESI*0x1]
LEA EBX,[ECX + -0x30]
CMP BL,0x9
JBE 0x0004ec00
MOV EBX,EBP
MOV ECX,dword ptr [ESP + 0x8]
MOV dword ptr [ECX],EAX
MOV dword ptr [ECX + 0x4],EDX
MOVZX EAX,byte ptr [EBX]
CMP AL,0x20
JNZ 0x0004ec4b
NOP
ADD ESI,0x1
MOVZX EAX,byte ptr [EDI + ESI*0x1]
CMP AL,0x20
JZ 0x0004ec40
MOV dword ptr [ESP + 0x8],0x1
MOV dword ptr [ESP + 0xc],0x0
CMP AL,0x2d
JZ 0x0004ecd8
MOVZX ECX,byte ptr [EDI + ESI*0x1]
LEA EBX,[EDI + ESI*0x1 + 0x1]
MOV EBP,0xa
XOR ESI,ESI
XOR EDI,EDI
LEA EAX,[ECX + -0x30]
CMP AL,0x9
JA 0x0004ed00
MOV EAX,ESI
MOV EDX,EDI
MOV ESI,EBX
LEA ESI,[ESI]
IMUL EBX,EDX,0xa
SUB ECX,0x30
MUL EBP
ADD EDX,EBX
MOV EBX,ECX
SAR EBX,0x1f
ADD EAX,ECX
MOVZX ECX,byte ptr [ESI]
ADC EDX,EBX
ADD ESI,0x1
LEA EBX,[ECX + -0x30]
CMP BL,0x9
JBE 0x0004ec88
MOV ESI,EAX
MOV EAX,dword ptr [ESP + 0x8]
MOV ECX,EAX
IMUL ECX,EDX
MOV EDX,dword ptr [ESP + 0xc]
IMUL EDX,ESI
ADD ECX,EDX
MUL ESI
ADD EDX,ECX
MOV ECX,dword ptr [ESP + 0x30]
MOV dword ptr [ECX],EAX
MOV dword ptr [ECX + 0x4],EDX
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
ADD ESI,0x1
MOV dword ptr [ESP + 0x8],0xffffffff
MOV dword ptr [ESP + 0xc],0xffffffff
JMP 0x0004ec5f
MOV EBX,EDI
XOR EAX,EAX
XOR EDX,EDX
XOR ESI,ESI
JMP 0x0004ec2f
XOR EAX,EAX
XOR EDX,EDX
JMP 0x0004ecc1
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid __regparm3\nFUN_0004ebc0(undefined4 param_1,undefined4 param_2,uint *param_3,undefined4 *param_4)\n\n{\n  byte bVar1;\n  ulonglong uVar2;\n  byte *pbVar3;\n  uint uVar4;\n  uint uVar5;\n  undefined4 uVar6;\n  uint uVar7;\n  uint uVar8;\n  byte *pbVar9;\n  int iVar10;\n  uint local_24;\n  int local_20;\n  \n  pbVar3 = (byte *)FUN_0004eb80(param_1,param_2);\n  if (pbVar3 != (byte *)0x0) {\n    bVar1 = *pbVar3;\n    if ((byte)(bVar1 - 0x30) < 10) {\n      uVar4 = 0;\n      uVar8 = 0;\n      iVar10 = 0;\n      do {\n        uVar2 = (ulonglong)uVar4;\n        uVar5 = (uint)(uVar2 * 10);\n        uVar7 = bVar1 - 0x30;\n        uVar4 = uVar5 + uVar7;\n        uVar8 = (int)(uVar2 * 10 >> 0x20) + uVar8 * 10 + ((int)uVar7 >> 0x1f) +\n                (uint)CARRY4(uVar5,uVar7);\n        iVar10 = iVar10 + 1;\n        bVar1 = pbVar3[iVar10];\n        pbVar9 = pbVar3 + iVar10;\n      } while ((byte)(bVar1 - 0x30) < 10);\n    }\n    else {\n      uVar4 = 0;\n      uVar8 = 0;\n      iVar10 = 0;\n      pbVar9 = pbVar3;\n    }\n    *param_3 = uVar4;\n    param_3[1] = uVar8;\n    bVar1 = *pbVar9;\n    while (bVar1 == 0x20) {\n      iVar10 = iVar10 + 1;\n      bVar1 = pbVar3[iVar10];\n    }\n    local_24 = 1;\n    local_20 = 0;\n    if (bVar1 == 0x2d) {\n      iVar10 = iVar10 + 1;\n      local_24 = 0xffffffff;\n      local_20 = -1;\n    }\n    bVar1 = pbVar3[iVar10];\n    pbVar3 = pbVar3 + iVar10 + 1;\n    if ((byte)(bVar1 - 0x30) < 10) {\n      uVar4 = 0;\n      iVar10 = 0;\n      do {\n        uVar5 = bVar1 - 0x30;\n        uVar2 = (ulonglong)uVar4;\n        uVar8 = (uint)(uVar2 * 10);\n        uVar4 = uVar8 + uVar5;\n        bVar1 = *pbVar3;\n        iVar10 = (int)(uVar2 * 10 >> 0x20) + iVar10 * 10 + ((int)uVar5 >> 0x1f) +\n                 (uint)CARRY4(uVar8,uVar5);\n        pbVar3 = pbVar3 + 1;\n      } while ((byte)(bVar1 - 0x30) < 10);\n      uVar6 = (undefined4)((ulonglong)local_24 * (ulonglong)uVar4);\n      iVar10 = (int)((ulonglong)local_24 * (ulonglong)uVar4 >> 0x20) +\n               local_24 * iVar10 + local_20 * uVar4;\n    }\n    else {\n      uVar6 = 0;\n      iVar10 = 0;\n    }\n    *param_4 = uVar6;\n    param_4[1] = iVar10;\n  }\n  return;\n}\n\n" comment (function_definition "void __regparm3\nFUN_0004ebc0(undefined4 param_1,undefined4 param_2,uint *param_3,undefined4 *param_4)\n\n{\n  byte bVar1;\n  ulonglong uVar2;\n  byte *pbVar3;\n  uint uVar4;\n  uint uVar5;\n  undefined4 uVar6;\n  uint uVar7;\n  uint uVar8;\n  byte *pbVar9;\n  int iVar10;\n  uint local_24;\n  int local_20;\n  \n  pbVar3 = (byte *)FUN_0004eb80(param_1,param_2);\n  if (pbVar3 != (byte *)0x0) {\n    bVar1 = *pbVar3;\n    if ((byte)(bVar1 - 0x30) < 10) {\n      uVar4 = 0;\n      uVar8 = 0;\n      iVar10 = 0;\n      do {\n        uVar2 = (ulonglong)uVar4;\n        uVar5 = (uint)(uVar2 * 10);\n        uVar7 = bVar1 - 0x30;\n        uVar4 = uVar5 + uVar7;\n        uVar8 = (int)(uVar2 * 10 >> 0x20) + uVar8 * 10 + ((int)uVar7 >> 0x1f) +\n                (uint)CARRY4(uVar5,uVar7);\n        iVar10 = iVar10 + 1;\n        bVar1 = pbVar3[iVar10];\n        pbVar9 = pbVar3 + iVar10;\n      } while ((byte)(bVar1 - 0x30) < 10);\n    }\n    else {\n      uVar4 = 0;\n      uVar8 = 0;\n      iVar10 = 0;\n      pbVar9 = pbVar3;\n    }\n    *param_3 = uVar4;\n    param_3[1] = uVar8;\n    bVar1 = *pbVar9;\n    while (bVar1 == 0x20) {\n      iVar10 = iVar10 + 1;\n      bVar1 = pbVar3[iVar10];\n    }\n    local_24 = 1;\n    local_20 = 0;\n    if (bVar1 == 0x2d) {\n      iVar10 = iVar10 + 1;\n      local_24 = 0xffffffff;\n      local_20 = -1;\n    }\n    bVar1 = pbVar3[iVar10];\n    pbVar3 = pbVar3 + iVar10 + 1;\n    if ((byte)(bVar1 - 0x30) < 10) {\n      uVar4 = 0;\n      iVar10 = 0;\n      do {\n        uVar5 = bVar1 - 0x30;\n        uVar2 = (ulonglong)uVar4;\n        uVar8 = (uint)(uVar2 * 10);\n        uVar4 = uVar8 + uVar5;\n        bVar1 = *pbVar3;\n        iVar10 = (int)(uVar2 * 10 >> 0x20) + iVar10 * 10 + ((int)uVar5 >> 0x1f) +\n                 (uint)CARRY4(uVar8,uVar5);\n        pbVar3 = pbVar3 + 1;\n      } while ((byte)(bVar1 - 0x30) < 10);\n      uVar6 = (undefined4)((ulonglong)local_24 * (ulonglong)uVar4);\n      iVar10 = (int)((ulonglong)local_24 * (ulonglong)uVar4 >> 0x20) +\n               local_24 * iVar10 + local_20 * uVar4;\n    }\n    else {\n      uVar6 = 0;\n      iVar10 = 0;\n    }\n    *param_4 = uVar6;\n    param_4[1] = iVar10;\n  }\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_0004ebc0(undefined4 param_1,undefined4 param_2,uint *param_3,undefined4 *param_4)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,uint *param_3,undefined4 *param_4)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "uint *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "undefined4 *param_4" type_identifier (pointer_declarator "*param_4" * identifier)) ))) (compound_statement "{\n  byte bVar1;\n  ulonglong uVar2;\n  byte *pbVar3;\n  uint uVar4;\n  uint uVar5;\n  undefined4 uVar6;\n  uint uVar7;\n  uint uVar8;\n  byte *pbVar9;\n  int iVar10;\n  uint local_24;\n  int local_20;\n  \n  pbVar3 = (byte *)FUN_0004eb80(param_1,param_2);\n  if (pbVar3 != (byte *)0x0) {\n    bVar1 = *pbVar3;\n    if ((byte)(bVar1 - 0x30) < 10) {\n      uVar4 = 0;\n      uVar8 = 0;\n      iVar10 = 0;\n      do {\n        uVar2 = (ulonglong)uVar4;\n        uVar5 = (uint)(uVar2 * 10);\n        uVar7 = bVar1 - 0x30;\n        uVar4 = uVar5 + uVar7;\n        uVar8 = (int)(uVar2 * 10 >> 0x20) + uVar8 * 10 + ((int)uVar7 >> 0x1f) +\n                (uint)CARRY4(uVar5,uVar7);\n        iVar10 = iVar10 + 1;\n        bVar1 = pbVar3[iVar10];\n        pbVar9 = pbVar3 + iVar10;\n      } while ((byte)(bVar1 - 0x30) < 10);\n    }\n    else {\n      uVar4 = 0;\n      uVar8 = 0;\n      iVar10 = 0;\n      pbVar9 = pbVar3;\n    }\n    *param_3 = uVar4;\n    param_3[1] = uVar8;\n    bVar1 = *pbVar9;\n    while (bVar1 == 0x20) {\n      iVar10 = iVar10 + 1;\n      bVar1 = pbVar3[iVar10];\n    }\n    local_24 = 1;\n    local_20 = 0;\n    if (bVar1 == 0x2d) {\n      iVar10 = iVar10 + 1;\n      local_24 = 0xffffffff;\n      local_20 = -1;\n    }\n    bVar1 = pbVar3[iVar10];\n    pbVar3 = pbVar3 + iVar10 + 1;\n    if ((byte)(bVar1 - 0x30) < 10) {\n      uVar4 = 0;\n      iVar10 = 0;\n      do {\n        uVar5 = bVar1 - 0x30;\n        uVar2 = (ulonglong)uVar4;\n        uVar8 = (uint)(uVar2 * 10);\n        uVar4 = uVar8 + uVar5;\n        bVar1 = *pbVar3;\n        iVar10 = (int)(uVar2 * 10 >> 0x20) + iVar10 * 10 + ((int)uVar5 >> 0x1f) +\n                 (uint)CARRY4(uVar8,uVar5);\n        pbVar3 = pbVar3 + 1;\n      } while ((byte)(bVar1 - 0x30) < 10);\n      uVar6 = (undefined4)((ulonglong)local_24 * (ulonglong)uVar4);\n      iVar10 = (int)((ulonglong)local_24 * (ulonglong)uVar4 >> 0x20) +\n               local_24 * iVar10 + local_20 * uVar4;\n    }\n    else {\n      uVar6 = 0;\n      iVar10 = 0;\n    }\n    *param_4 = uVar6;\n    param_4[1] = iVar10;\n  }\n  return;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "ulonglong uVar2;" type_identifier identifier ;) (declaration "byte *pbVar3;" type_identifier (pointer_declarator "*pbVar3" * identifier) ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "undefined4 uVar6;" type_identifier identifier ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "uint uVar8;" type_identifier identifier ;) (declaration "byte *pbVar9;" type_identifier (pointer_declarator "*pbVar9" * identifier) ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "uint local_24;" type_identifier identifier ;) (declaration "int local_20;" primitive_type identifier ;) (expression_statement "pbVar3 = (byte *)FUN_0004eb80(param_1,param_2);" (assignment_expression "pbVar3 = (byte *)FUN_0004eb80(param_1,param_2)" identifier = (cast_expression "(byte *)FUN_0004eb80(param_1,param_2)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0004eb80(param_1,param_2)" identifier (argument_list "(param_1,param_2)" ( identifier , identifier ))))) ;) (if_statement "if (pbVar3 != (byte *)0x0) {\n    bVar1 = *pbVar3;\n    if ((byte)(bVar1 - 0x30) < 10) {\n      uVar4 = 0;\n      uVar8 = 0;\n      iVar10 = 0;\n      do {\n        uVar2 = (ulonglong)uVar4;\n        uVar5 = (uint)(uVar2 * 10);\n        uVar7 = bVar1 - 0x30;\n        uVar4 = uVar5 + uVar7;\n        uVar8 = (int)(uVar2 * 10 >> 0x20) + uVar8 * 10 + ((int)uVar7 >> 0x1f) +\n                (uint)CARRY4(uVar5,uVar7);\n        iVar10 = iVar10 + 1;\n        bVar1 = pbVar3[iVar10];\n        pbVar9 = pbVar3 + iVar10;\n      } while ((byte)(bVar1 - 0x30) < 10);\n    }\n    else {\n      uVar4 = 0;\n      uVar8 = 0;\n      iVar10 = 0;\n      pbVar9 = pbVar3;\n    }\n    *param_3 = uVar4;\n    param_3[1] = uVar8;\n    bVar1 = *pbVar9;\n    while (bVar1 == 0x20) {\n      iVar10 = iVar10 + 1;\n      bVar1 = pbVar3[iVar10];\n    }\n    local_24 = 1;\n    local_20 = 0;\n    if (bVar1 == 0x2d) {\n      iVar10 = iVar10 + 1;\n      local_24 = 0xffffffff;\n      local_20 = -1;\n    }\n    bVar1 = pbVar3[iVar10];\n    pbVar3 = pbVar3 + iVar10 + 1;\n    if ((byte)(bVar1 - 0x30) < 10) {\n      uVar4 = 0;\n      iVar10 = 0;\n      do {\n        uVar5 = bVar1 - 0x30;\n        uVar2 = (ulonglong)uVar4;\n        uVar8 = (uint)(uVar2 * 10);\n        uVar4 = uVar8 + uVar5;\n        bVar1 = *pbVar3;\n        iVar10 = (int)(uVar2 * 10 >> 0x20) + iVar10 * 10 + ((int)uVar5 >> 0x1f) +\n                 (uint)CARRY4(uVar8,uVar5);\n        pbVar3 = pbVar3 + 1;\n      } while ((byte)(bVar1 - 0x30) < 10);\n      uVar6 = (undefined4)((ulonglong)local_24 * (ulonglong)uVar4);\n      iVar10 = (int)((ulonglong)local_24 * (ulonglong)uVar4 >> 0x20) +\n               local_24 * iVar10 + local_20 * uVar4;\n    }\n    else {\n      uVar6 = 0;\n      iVar10 = 0;\n    }\n    *param_4 = uVar6;\n    param_4[1] = iVar10;\n  }" if (parenthesized_expression "(pbVar3 != (byte *)0x0)" ( (binary_expression "pbVar3 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    bVar1 = *pbVar3;\n    if ((byte)(bVar1 - 0x30) < 10) {\n      uVar4 = 0;\n      uVar8 = 0;\n      iVar10 = 0;\n      do {\n        uVar2 = (ulonglong)uVar4;\n        uVar5 = (uint)(uVar2 * 10);\n        uVar7 = bVar1 - 0x30;\n        uVar4 = uVar5 + uVar7;\n        uVar8 = (int)(uVar2 * 10 >> 0x20) + uVar8 * 10 + ((int)uVar7 >> 0x1f) +\n                (uint)CARRY4(uVar5,uVar7);\n        iVar10 = iVar10 + 1;\n        bVar1 = pbVar3[iVar10];\n        pbVar9 = pbVar3 + iVar10;\n      } while ((byte)(bVar1 - 0x30) < 10);\n    }\n    else {\n      uVar4 = 0;\n      uVar8 = 0;\n      iVar10 = 0;\n      pbVar9 = pbVar3;\n    }\n    *param_3 = uVar4;\n    param_3[1] = uVar8;\n    bVar1 = *pbVar9;\n    while (bVar1 == 0x20) {\n      iVar10 = iVar10 + 1;\n      bVar1 = pbVar3[iVar10];\n    }\n    local_24 = 1;\n    local_20 = 0;\n    if (bVar1 == 0x2d) {\n      iVar10 = iVar10 + 1;\n      local_24 = 0xffffffff;\n      local_20 = -1;\n    }\n    bVar1 = pbVar3[iVar10];\n    pbVar3 = pbVar3 + iVar10 + 1;\n    if ((byte)(bVar1 - 0x30) < 10) {\n      uVar4 = 0;\n      iVar10 = 0;\n      do {\n        uVar5 = bVar1 - 0x30;\n        uVar2 = (ulonglong)uVar4;\n        uVar8 = (uint)(uVar2 * 10);\n        uVar4 = uVar8 + uVar5;\n        bVar1 = *pbVar3;\n        iVar10 = (int)(uVar2 * 10 >> 0x20) + iVar10 * 10 + ((int)uVar5 >> 0x1f) +\n                 (uint)CARRY4(uVar8,uVar5);\n        pbVar3 = pbVar3 + 1;\n      } while ((byte)(bVar1 - 0x30) < 10);\n      uVar6 = (undefined4)((ulonglong)local_24 * (ulonglong)uVar4);\n      iVar10 = (int)((ulonglong)local_24 * (ulonglong)uVar4 >> 0x20) +\n               local_24 * iVar10 + local_20 * uVar4;\n    }\n    else {\n      uVar6 = 0;\n      iVar10 = 0;\n    }\n    *param_4 = uVar6;\n    param_4[1] = iVar10;\n  }" { (expression_statement "bVar1 = *pbVar3;" (assignment_expression "bVar1 = *pbVar3" identifier = (pointer_expression "*pbVar3" * identifier)) ;) (if_statement "if ((byte)(bVar1 - 0x30) < 10) {\n      uVar4 = 0;\n      uVar8 = 0;\n      iVar10 = 0;\n      do {\n        uVar2 = (ulonglong)uVar4;\n        uVar5 = (uint)(uVar2 * 10);\n        uVar7 = bVar1 - 0x30;\n        uVar4 = uVar5 + uVar7;\n        uVar8 = (int)(uVar2 * 10 >> 0x20) + uVar8 * 10 + ((int)uVar7 >> 0x1f) +\n                (uint)CARRY4(uVar5,uVar7);\n        iVar10 = iVar10 + 1;\n        bVar1 = pbVar3[iVar10];\n        pbVar9 = pbVar3 + iVar10;\n      } while ((byte)(bVar1 - 0x30) < 10);\n    }\n    else {\n      uVar4 = 0;\n      uVar8 = 0;\n      iVar10 = 0;\n      pbVar9 = pbVar3;\n    }" if (parenthesized_expression "((byte)(bVar1 - 0x30) < 10)" ( (binary_expression "(byte)(bVar1 - 0x30) < 10" (call_expression "(byte)(bVar1 - 0x30)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(bVar1 - 0x30)" ( (binary_expression "bVar1 - 0x30" identifier - number_literal) ))) < number_literal) )) (compound_statement "{\n      uVar4 = 0;\n      uVar8 = 0;\n      iVar10 = 0;\n      do {\n        uVar2 = (ulonglong)uVar4;\n        uVar5 = (uint)(uVar2 * 10);\n        uVar7 = bVar1 - 0x30;\n        uVar4 = uVar5 + uVar7;\n        uVar8 = (int)(uVar2 * 10 >> 0x20) + uVar8 * 10 + ((int)uVar7 >> 0x1f) +\n                (uint)CARRY4(uVar5,uVar7);\n        iVar10 = iVar10 + 1;\n        bVar1 = pbVar3[iVar10];\n        pbVar9 = pbVar3 + iVar10;\n      } while ((byte)(bVar1 - 0x30) < 10);\n    }" { (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) (expression_statement "uVar8 = 0;" (assignment_expression "uVar8 = 0" identifier = number_literal) ;) (expression_statement "iVar10 = 0;" (assignment_expression "iVar10 = 0" identifier = number_literal) ;) (do_statement "do {\n        uVar2 = (ulonglong)uVar4;\n        uVar5 = (uint)(uVar2 * 10);\n        uVar7 = bVar1 - 0x30;\n        uVar4 = uVar5 + uVar7;\n        uVar8 = (int)(uVar2 * 10 >> 0x20) + uVar8 * 10 + ((int)uVar7 >> 0x1f) +\n                (uint)CARRY4(uVar5,uVar7);\n        iVar10 = iVar10 + 1;\n        bVar1 = pbVar3[iVar10];\n        pbVar9 = pbVar3 + iVar10;\n      } while ((byte)(bVar1 - 0x30) < 10);" do (compound_statement "{\n        uVar2 = (ulonglong)uVar4;\n        uVar5 = (uint)(uVar2 * 10);\n        uVar7 = bVar1 - 0x30;\n        uVar4 = uVar5 + uVar7;\n        uVar8 = (int)(uVar2 * 10 >> 0x20) + uVar8 * 10 + ((int)uVar7 >> 0x1f) +\n                (uint)CARRY4(uVar5,uVar7);\n        iVar10 = iVar10 + 1;\n        bVar1 = pbVar3[iVar10];\n        pbVar9 = pbVar3 + iVar10;\n      }" { (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 "uVar7 = bVar1 - 0x30;" (assignment_expression "uVar7 = bVar1 - 0x30" identifier = (binary_expression "bVar1 - 0x30" identifier - number_literal)) ;) (expression_statement "uVar4 = uVar5 + uVar7;" (assignment_expression "uVar4 = uVar5 + uVar7" identifier = (binary_expression "uVar5 + uVar7" identifier + identifier)) ;) (expression_statement "uVar8 = (int)(uVar2 * 10 >> 0x20) + uVar8 * 10 + ((int)uVar7 >> 0x1f) +\n                (uint)CARRY4(uVar5,uVar7);" (assignment_expression "uVar8 = (int)(uVar2 * 10 >> 0x20) + uVar8 * 10 + ((int)uVar7 >> 0x1f) +\n                (uint)CARRY4(uVar5,uVar7)" identifier = (binary_expression "(int)(uVar2 * 10 >> 0x20) + uVar8 * 10 + ((int)uVar7 >> 0x1f) +\n                (uint)CARRY4(uVar5,uVar7)" (binary_expression "(int)(uVar2 * 10 >> 0x20) + uVar8 * 10 + ((int)uVar7 >> 0x1f)" (binary_expression "(int)(uVar2 * 10 >> 0x20) + uVar8 * 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 "uVar8 * 10" identifier * number_literal)) + (parenthesized_expression "((int)uVar7 >> 0x1f)" ( (binary_expression "(int)uVar7 >> 0x1f" (cast_expression "(int)uVar7" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) ))) + (cast_expression "(uint)CARRY4(uVar5,uVar7)" ( (type_descriptor "uint" type_identifier) ) (call_expression "CARRY4(uVar5,uVar7)" identifier (argument_list "(uVar5,uVar7)" ( identifier , identifier )))))) ;) (expression_statement "iVar10 = iVar10 + 1;" (assignment_expression "iVar10 = iVar10 + 1" identifier = (binary_expression "iVar10 + 1" identifier + number_literal)) ;) (expression_statement "bVar1 = pbVar3[iVar10];" (assignment_expression "bVar1 = pbVar3[iVar10]" identifier = (subscript_expression "pbVar3[iVar10]" identifier [ identifier ])) ;) (expression_statement "pbVar9 = pbVar3 + iVar10;" (assignment_expression "pbVar9 = pbVar3 + iVar10" identifier = (binary_expression "pbVar3 + iVar10" identifier + identifier)) ;) }) while (parenthesized_expression "((byte)(bVar1 - 0x30) < 10)" ( (binary_expression "(byte)(bVar1 - 0x30) < 10" (call_expression "(byte)(bVar1 - 0x30)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(bVar1 - 0x30)" ( (binary_expression "bVar1 - 0x30" identifier - number_literal) ))) < number_literal) )) ;) }) (else_clause "else {\n      uVar4 = 0;\n      uVar8 = 0;\n      iVar10 = 0;\n      pbVar9 = pbVar3;\n    }" else (compound_statement "{\n      uVar4 = 0;\n      uVar8 = 0;\n      iVar10 = 0;\n      pbVar9 = pbVar3;\n    }" { (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) (expression_statement "uVar8 = 0;" (assignment_expression "uVar8 = 0" identifier = number_literal) ;) (expression_statement "iVar10 = 0;" (assignment_expression "iVar10 = 0" identifier = number_literal) ;) (expression_statement "pbVar9 = pbVar3;" (assignment_expression "pbVar9 = pbVar3" identifier = identifier) ;) }))) (expression_statement "*param_3 = uVar4;" (assignment_expression "*param_3 = uVar4" (pointer_expression "*param_3" * identifier) = identifier) ;) (expression_statement "param_3[1] = uVar8;" (assignment_expression "param_3[1] = uVar8" (subscript_expression "param_3[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "bVar1 = *pbVar9;" (assignment_expression "bVar1 = *pbVar9" identifier = (pointer_expression "*pbVar9" * identifier)) ;) (while_statement "while (bVar1 == 0x20) {\n      iVar10 = iVar10 + 1;\n      bVar1 = pbVar3[iVar10];\n    }" while (parenthesized_expression "(bVar1 == 0x20)" ( (binary_expression "bVar1 == 0x20" identifier == number_literal) )) (compound_statement "{\n      iVar10 = iVar10 + 1;\n      bVar1 = pbVar3[iVar10];\n    }" { (expression_statement "iVar10 = iVar10 + 1;" (assignment_expression "iVar10 = iVar10 + 1" identifier = (binary_expression "iVar10 + 1" identifier + number_literal)) ;) (expression_statement "bVar1 = pbVar3[iVar10];" (assignment_expression "bVar1 = pbVar3[iVar10]" identifier = (subscript_expression "pbVar3[iVar10]" identifier [ identifier ])) ;) })) (expression_statement "local_24 = 1;" (assignment_expression "local_24 = 1" identifier = number_literal) ;) (expression_statement "local_20 = 0;" (assignment_expression "local_20 = 0" identifier = number_literal) ;) (if_statement "if (bVar1 == 0x2d) {\n      iVar10 = iVar10 + 1;\n      local_24 = 0xffffffff;\n      local_20 = -1;\n    }" if (parenthesized_expression "(bVar1 == 0x2d)" ( (binary_expression "bVar1 == 0x2d" identifier == number_literal) )) (compound_statement "{\n      iVar10 = iVar10 + 1;\n      local_24 = 0xffffffff;\n      local_20 = -1;\n    }" { (expression_statement "iVar10 = iVar10 + 1;" (assignment_expression "iVar10 = iVar10 + 1" identifier = (binary_expression "iVar10 + 1" identifier + number_literal)) ;) (expression_statement "local_24 = 0xffffffff;" (assignment_expression "local_24 = 0xffffffff" identifier = number_literal) ;) (expression_statement "local_20 = -1;" (assignment_expression "local_20 = -1" identifier = number_literal) ;) })) (expression_statement "bVar1 = pbVar3[iVar10];" (assignment_expression "bVar1 = pbVar3[iVar10]" identifier = (subscript_expression "pbVar3[iVar10]" identifier [ identifier ])) ;) (expression_statement "pbVar3 = pbVar3 + iVar10 + 1;" (assignment_expression "pbVar3 = pbVar3 + iVar10 + 1" identifier = (binary_expression "pbVar3 + iVar10 + 1" (binary_expression "pbVar3 + iVar10" identifier + identifier) + number_literal)) ;) (if_statement "if ((byte)(bVar1 - 0x30) < 10) {\n      uVar4 = 0;\n      iVar10 = 0;\n      do {\n        uVar5 = bVar1 - 0x30;\n        uVar2 = (ulonglong)uVar4;\n        uVar8 = (uint)(uVar2 * 10);\n        uVar4 = uVar8 + uVar5;\n        bVar1 = *pbVar3;\n        iVar10 = (int)(uVar2 * 10 >> 0x20) + iVar10 * 10 + ((int)uVar5 >> 0x1f) +\n                 (uint)CARRY4(uVar8,uVar5);\n        pbVar3 = pbVar3 + 1;\n      } while ((byte)(bVar1 - 0x30) < 10);\n      uVar6 = (undefined4)((ulonglong)local_24 * (ulonglong)uVar4);\n      iVar10 = (int)((ulonglong)local_24 * (ulonglong)uVar4 >> 0x20) +\n               local_24 * iVar10 + local_20 * uVar4;\n    }\n    else {\n      uVar6 = 0;\n      iVar10 = 0;\n    }" if (parenthesized_expression "((byte)(bVar1 - 0x30) < 10)" ( (binary_expression "(byte)(bVar1 - 0x30) < 10" (call_expression "(byte)(bVar1 - 0x30)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(bVar1 - 0x30)" ( (binary_expression "bVar1 - 0x30" identifier - number_literal) ))) < number_literal) )) (compound_statement "{\n      uVar4 = 0;\n      iVar10 = 0;\n      do {\n        uVar5 = bVar1 - 0x30;\n        uVar2 = (ulonglong)uVar4;\n        uVar8 = (uint)(uVar2 * 10);\n        uVar4 = uVar8 + uVar5;\n        bVar1 = *pbVar3;\n        iVar10 = (int)(uVar2 * 10 >> 0x20) + iVar10 * 10 + ((int)uVar5 >> 0x1f) +\n                 (uint)CARRY4(uVar8,uVar5);\n        pbVar3 = pbVar3 + 1;\n      } while ((byte)(bVar1 - 0x30) < 10);\n      uVar6 = (undefined4)((ulonglong)local_24 * (ulonglong)uVar4);\n      iVar10 = (int)((ulonglong)local_24 * (ulonglong)uVar4 >> 0x20) +\n               local_24 * iVar10 + local_20 * uVar4;\n    }" { (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) (expression_statement "iVar10 = 0;" (assignment_expression "iVar10 = 0" identifier = number_literal) ;) (do_statement "do {\n        uVar5 = bVar1 - 0x30;\n        uVar2 = (ulonglong)uVar4;\n        uVar8 = (uint)(uVar2 * 10);\n        uVar4 = uVar8 + uVar5;\n        bVar1 = *pbVar3;\n        iVar10 = (int)(uVar2 * 10 >> 0x20) + iVar10 * 10 + ((int)uVar5 >> 0x1f) +\n                 (uint)CARRY4(uVar8,uVar5);\n        pbVar3 = pbVar3 + 1;\n      } while ((byte)(bVar1 - 0x30) < 10);" do (compound_statement "{\n        uVar5 = bVar1 - 0x30;\n        uVar2 = (ulonglong)uVar4;\n        uVar8 = (uint)(uVar2 * 10);\n        uVar4 = uVar8 + uVar5;\n        bVar1 = *pbVar3;\n        iVar10 = (int)(uVar2 * 10 >> 0x20) + iVar10 * 10 + ((int)uVar5 >> 0x1f) +\n                 (uint)CARRY4(uVar8,uVar5);\n        pbVar3 = pbVar3 + 1;\n      }" { (expression_statement "uVar5 = bVar1 - 0x30;" (assignment_expression "uVar5 = bVar1 - 0x30" identifier = (binary_expression "bVar1 - 0x30" identifier - 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 "uVar8 = (uint)(uVar2 * 10);" (assignment_expression "uVar8 = (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 = uVar8 + uVar5;" (assignment_expression "uVar4 = uVar8 + uVar5" identifier = (binary_expression "uVar8 + uVar5" identifier + identifier)) ;) (expression_statement "bVar1 = *pbVar3;" (assignment_expression "bVar1 = *pbVar3" identifier = (pointer_expression "*pbVar3" * identifier)) ;) (expression_statement "iVar10 = (int)(uVar2 * 10 >> 0x20) + iVar10 * 10 + ((int)uVar5 >> 0x1f) +\n                 (uint)CARRY4(uVar8,uVar5);" (assignment_expression "iVar10 = (int)(uVar2 * 10 >> 0x20) + iVar10 * 10 + ((int)uVar5 >> 0x1f) +\n                 (uint)CARRY4(uVar8,uVar5)" identifier = (binary_expression "(int)(uVar2 * 10 >> 0x20) + iVar10 * 10 + ((int)uVar5 >> 0x1f) +\n                 (uint)CARRY4(uVar8,uVar5)" (binary_expression "(int)(uVar2 * 10 >> 0x20) + iVar10 * 10 + ((int)uVar5 >> 0x1f)" (binary_expression "(int)(uVar2 * 10 >> 0x20) + iVar10 * 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 "iVar10 * 10" identifier * number_literal)) + (parenthesized_expression "((int)uVar5 >> 0x1f)" ( (binary_expression "(int)uVar5 >> 0x1f" (cast_expression "(int)uVar5" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) ))) + (cast_expression "(uint)CARRY4(uVar8,uVar5)" ( (type_descriptor "uint" type_identifier) ) (call_expression "CARRY4(uVar8,uVar5)" identifier (argument_list "(uVar8,uVar5)" ( identifier , identifier )))))) ;) (expression_statement "pbVar3 = pbVar3 + 1;" (assignment_expression "pbVar3 = pbVar3 + 1" identifier = (binary_expression "pbVar3 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "((byte)(bVar1 - 0x30) < 10)" ( (binary_expression "(byte)(bVar1 - 0x30) < 10" (call_expression "(byte)(bVar1 - 0x30)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(bVar1 - 0x30)" ( (binary_expression "bVar1 - 0x30" identifier - number_literal) ))) < number_literal) )) ;) (expression_statement "uVar6 = (undefined4)((ulonglong)local_24 * (ulonglong)uVar4);" (assignment_expression "uVar6 = (undefined4)((ulonglong)local_24 * (ulonglong)uVar4)" identifier = (call_expression "(undefined4)((ulonglong)local_24 * (ulonglong)uVar4)" (parenthesized_expression "(undefined4)" ( identifier )) (argument_list "((ulonglong)local_24 * (ulonglong)uVar4)" ( (binary_expression "(ulonglong)local_24 * (ulonglong)uVar4" (cast_expression "(ulonglong)local_24" ( (type_descriptor "ulonglong" type_identifier) ) identifier) * (cast_expression "(ulonglong)uVar4" ( (type_descriptor "ulonglong" type_identifier) ) identifier)) )))) ;) (expression_statement "iVar10 = (int)((ulonglong)local_24 * (ulonglong)uVar4 >> 0x20) +\n               local_24 * iVar10 + local_20 * uVar4;" (assignment_expression "iVar10 = (int)((ulonglong)local_24 * (ulonglong)uVar4 >> 0x20) +\n               local_24 * iVar10 + local_20 * uVar4" identifier = (binary_expression "(int)((ulonglong)local_24 * (ulonglong)uVar4 >> 0x20) +\n               local_24 * iVar10 + local_20 * uVar4" (binary_expression "(int)((ulonglong)local_24 * (ulonglong)uVar4 >> 0x20) +\n               local_24 * iVar10" (cast_expression "(int)((ulonglong)local_24 * (ulonglong)uVar4 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)local_24 * (ulonglong)uVar4 >> 0x20)" ( (binary_expression "(ulonglong)local_24 * (ulonglong)uVar4 >> 0x20" (binary_expression "(ulonglong)local_24 * (ulonglong)uVar4" (cast_expression "(ulonglong)local_24" ( (type_descriptor "ulonglong" type_identifier) ) identifier) * (cast_expression "(ulonglong)uVar4" ( (type_descriptor "ulonglong" type_identifier) ) identifier)) >> number_literal) ))) + (binary_expression "local_24 * iVar10" identifier * identifier)) + (binary_expression "local_20 * uVar4" identifier * identifier))) ;) }) (else_clause "else {\n      uVar6 = 0;\n      iVar10 = 0;\n    }" else (compound_statement "{\n      uVar6 = 0;\n      iVar10 = 0;\n    }" { (expression_statement "uVar6 = 0;" (assignment_expression "uVar6 = 0" identifier = number_literal) ;) (expression_statement "iVar10 = 0;" (assignment_expression "iVar10 = 0" identifier = number_literal) ;) }))) (expression_statement "*param_4 = uVar6;" (assignment_expression "*param_4 = uVar6" (pointer_expression "*param_4" * identifier) = identifier) ;) (expression_statement "param_4[1] = iVar10;" (assignment_expression "param_4[1] = iVar10" (subscript_expression "param_4[1]" identifier [ number_literal ]) = identifier) ;) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid __regparm3 fts3ReadEndBlockField(sqlite3_stmt *pStmt,int iCol,i64 *piEndBlock,i64 *pnByte)\n\n{\n  byte bVar1;\n  ulonglong uVar2;\n  byte *pbVar3;\n  uint uVar4;\n  uint uVar5;\n  undefined4 uVar6;\n  uint uVar7;\n  int iVar8;\n  byte *pbVar9;\n  int iVar10;\n  uint local_24;\n  int local_20;\n  \n  pbVar3 = sqlite3_column_text(pStmt,iCol);\n  if (pbVar3 != (byte *)0x0) {\n    bVar1 = *pbVar3;\n    if ((byte)(bVar1 - 0x30) < 10) {\n      uVar4 = 0;\n      iVar8 = 0;\n      iVar10 = 0;\n      do {\n        uVar2 = (ulonglong)uVar4;\n        uVar5 = (uint)(uVar2 * 10);\n        uVar7 = bVar1 - 0x30;\n        uVar4 = uVar5 + uVar7;\n        iVar8 = (int)(uVar2 * 10 >> 0x20) + iVar8 * 10 + ((int)uVar7 >> 0x1f) +\n                (uint)CARRY4(uVar5,uVar7);\n        iVar10 = iVar10 + 1;\n        bVar1 = pbVar3[iVar10];\n        pbVar9 = pbVar3 + iVar10;\n      } while ((byte)(bVar1 - 0x30) < 10);\n    }\n    else {\n      uVar4 = 0;\n      iVar8 = 0;\n      iVar10 = 0;\n      pbVar9 = pbVar3;\n    }\n    *(uint *)piEndBlock = uVar4;\n    *(int *)((int)piEndBlock + 4) = iVar8;\n    bVar1 = *pbVar9;\n    while (bVar1 == 0x20) {\n      iVar10 = iVar10 + 1;\n      bVar1 = pbVar3[iVar10];\n    }\n    local_24 = 1;\n    local_20 = 0;\n    if (bVar1 == 0x2d) {\n      iVar10 = iVar10 + 1;\n      local_24 = 0xffffffff;\n      local_20 = -1;\n    }\n    bVar1 = pbVar3[iVar10];\n    pbVar3 = pbVar3 + iVar10 + 1;\n    if ((byte)(bVar1 - 0x30) < 10) {\n      uVar4 = 0;\n      iVar10 = 0;\n      do {\n        uVar7 = bVar1 - 0x30;\n        uVar2 = (ulonglong)uVar4;\n        uVar5 = (uint)(uVar2 * 10);\n        uVar4 = uVar5 + uVar7;\n        bVar1 = *pbVar3;\n        iVar10 = (int)(uVar2 * 10 >> 0x20) + iVar10 * 10 + ((int)uVar7 >> 0x1f) +\n                 (uint)CARRY4(uVar5,uVar7);\n        pbVar3 = pbVar3 + 1;\n      } while ((byte)(bVar1 - 0x30) < 10);\n      uVar6 = (undefined4)((ulonglong)local_24 * (ulonglong)uVar4);\n      iVar10 = (int)((ulonglong)local_24 * (ulonglong)uVar4 >> 0x20) +\n               local_24 * iVar10 + local_20 * uVar4;\n    }\n    else {\n      uVar6 = 0;\n      iVar10 = 0;\n    }\n    *(undefined4 *)pnByte = uVar6;\n    *(int *)((int)pnByte + 4) = iVar10;\n  }\n  return;\n}\n\n" comment (function_definition "void __regparm3 fts3ReadEndBlockField(sqlite3_stmt *pStmt,int iCol,i64 *piEndBlock,i64 *pnByte)\n\n{\n  byte bVar1;\n  ulonglong uVar2;\n  byte *pbVar3;\n  uint uVar4;\n  uint uVar5;\n  undefined4 uVar6;\n  uint uVar7;\n  int iVar8;\n  byte *pbVar9;\n  int iVar10;\n  uint local_24;\n  int local_20;\n  \n  pbVar3 = sqlite3_column_text(pStmt,iCol);\n  if (pbVar3 != (byte *)0x0) {\n    bVar1 = *pbVar3;\n    if ((byte)(bVar1 - 0x30) < 10) {\n      uVar4 = 0;\n      iVar8 = 0;\n      iVar10 = 0;\n      do {\n        uVar2 = (ulonglong)uVar4;\n        uVar5 = (uint)(uVar2 * 10);\n        uVar7 = bVar1 - 0x30;\n        uVar4 = uVar5 + uVar7;\n        iVar8 = (int)(uVar2 * 10 >> 0x20) + iVar8 * 10 + ((int)uVar7 >> 0x1f) +\n                (uint)CARRY4(uVar5,uVar7);\n        iVar10 = iVar10 + 1;\n        bVar1 = pbVar3[iVar10];\n        pbVar9 = pbVar3 + iVar10;\n      } while ((byte)(bVar1 - 0x30) < 10);\n    }\n    else {\n      uVar4 = 0;\n      iVar8 = 0;\n      iVar10 = 0;\n      pbVar9 = pbVar3;\n    }\n    *(uint *)piEndBlock = uVar4;\n    *(int *)((int)piEndBlock + 4) = iVar8;\n    bVar1 = *pbVar9;\n    while (bVar1 == 0x20) {\n      iVar10 = iVar10 + 1;\n      bVar1 = pbVar3[iVar10];\n    }\n    local_24 = 1;\n    local_20 = 0;\n    if (bVar1 == 0x2d) {\n      iVar10 = iVar10 + 1;\n      local_24 = 0xffffffff;\n      local_20 = -1;\n    }\n    bVar1 = pbVar3[iVar10];\n    pbVar3 = pbVar3 + iVar10 + 1;\n    if ((byte)(bVar1 - 0x30) < 10) {\n      uVar4 = 0;\n      iVar10 = 0;\n      do {\n        uVar7 = bVar1 - 0x30;\n        uVar2 = (ulonglong)uVar4;\n        uVar5 = (uint)(uVar2 * 10);\n        uVar4 = uVar5 + uVar7;\n        bVar1 = *pbVar3;\n        iVar10 = (int)(uVar2 * 10 >> 0x20) + iVar10 * 10 + ((int)uVar7 >> 0x1f) +\n                 (uint)CARRY4(uVar5,uVar7);\n        pbVar3 = pbVar3 + 1;\n      } while ((byte)(bVar1 - 0x30) < 10);\n      uVar6 = (undefined4)((ulonglong)local_24 * (ulonglong)uVar4);\n      iVar10 = (int)((ulonglong)local_24 * (ulonglong)uVar4 >> 0x20) +\n               local_24 * iVar10 + local_20 * uVar4;\n    }\n    else {\n      uVar6 = 0;\n      iVar10 = 0;\n    }\n    *(undefined4 *)pnByte = uVar6;\n    *(int *)((int)pnByte + 4) = iVar10;\n  }\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "fts3ReadEndBlockField(sqlite3_stmt *pStmt,int iCol,i64 *piEndBlock,i64 *pnByte)" identifier (parameter_list "(sqlite3_stmt *pStmt,int iCol,i64 *piEndBlock,i64 *pnByte)" ( (parameter_declaration "sqlite3_stmt *pStmt" type_identifier (pointer_declarator "*pStmt" * identifier)) , (parameter_declaration "int iCol" primitive_type identifier) , (parameter_declaration "i64 *piEndBlock" type_identifier (pointer_declarator "*piEndBlock" * identifier)) , (parameter_declaration "i64 *pnByte" type_identifier (pointer_declarator "*pnByte" * identifier)) ))) (compound_statement "{\n  byte bVar1;\n  ulonglong uVar2;\n  byte *pbVar3;\n  uint uVar4;\n  uint uVar5;\n  undefined4 uVar6;\n  uint uVar7;\n  int iVar8;\n  byte *pbVar9;\n  int iVar10;\n  uint local_24;\n  int local_20;\n  \n  pbVar3 = sqlite3_column_text(pStmt,iCol);\n  if (pbVar3 != (byte *)0x0) {\n    bVar1 = *pbVar3;\n    if ((byte)(bVar1 - 0x30) < 10) {\n      uVar4 = 0;\n      iVar8 = 0;\n      iVar10 = 0;\n      do {\n        uVar2 = (ulonglong)uVar4;\n        uVar5 = (uint)(uVar2 * 10);\n        uVar7 = bVar1 - 0x30;\n        uVar4 = uVar5 + uVar7;\n        iVar8 = (int)(uVar2 * 10 >> 0x20) + iVar8 * 10 + ((int)uVar7 >> 0x1f) +\n                (uint)CARRY4(uVar5,uVar7);\n        iVar10 = iVar10 + 1;\n        bVar1 = pbVar3[iVar10];\n        pbVar9 = pbVar3 + iVar10;\n      } while ((byte)(bVar1 - 0x30) < 10);\n    }\n    else {\n      uVar4 = 0;\n      iVar8 = 0;\n      iVar10 = 0;\n      pbVar9 = pbVar3;\n    }\n    *(uint *)piEndBlock = uVar4;\n    *(int *)((int)piEndBlock + 4) = iVar8;\n    bVar1 = *pbVar9;\n    while (bVar1 == 0x20) {\n      iVar10 = iVar10 + 1;\n      bVar1 = pbVar3[iVar10];\n    }\n    local_24 = 1;\n    local_20 = 0;\n    if (bVar1 == 0x2d) {\n      iVar10 = iVar10 + 1;\n      local_24 = 0xffffffff;\n      local_20 = -1;\n    }\n    bVar1 = pbVar3[iVar10];\n    pbVar3 = pbVar3 + iVar10 + 1;\n    if ((byte)(bVar1 - 0x30) < 10) {\n      uVar4 = 0;\n      iVar10 = 0;\n      do {\n        uVar7 = bVar1 - 0x30;\n        uVar2 = (ulonglong)uVar4;\n        uVar5 = (uint)(uVar2 * 10);\n        uVar4 = uVar5 + uVar7;\n        bVar1 = *pbVar3;\n        iVar10 = (int)(uVar2 * 10 >> 0x20) + iVar10 * 10 + ((int)uVar7 >> 0x1f) +\n                 (uint)CARRY4(uVar5,uVar7);\n        pbVar3 = pbVar3 + 1;\n      } while ((byte)(bVar1 - 0x30) < 10);\n      uVar6 = (undefined4)((ulonglong)local_24 * (ulonglong)uVar4);\n      iVar10 = (int)((ulonglong)local_24 * (ulonglong)uVar4 >> 0x20) +\n               local_24 * iVar10 + local_20 * uVar4;\n    }\n    else {\n      uVar6 = 0;\n      iVar10 = 0;\n    }\n    *(undefined4 *)pnByte = uVar6;\n    *(int *)((int)pnByte + 4) = iVar10;\n  }\n  return;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "ulonglong uVar2;" type_identifier identifier ;) (declaration "byte *pbVar3;" type_identifier (pointer_declarator "*pbVar3" * identifier) ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "undefined4 uVar6;" type_identifier identifier ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "byte *pbVar9;" type_identifier (pointer_declarator "*pbVar9" * identifier) ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "uint local_24;" type_identifier identifier ;) (declaration "int local_20;" primitive_type identifier ;) (expression_statement "pbVar3 = sqlite3_column_text(pStmt,iCol);" (assignment_expression "pbVar3 = sqlite3_column_text(pStmt,iCol)" identifier = (call_expression "sqlite3_column_text(pStmt,iCol)" identifier (argument_list "(pStmt,iCol)" ( identifier , identifier )))) ;) (if_statement "if (pbVar3 != (byte *)0x0) {\n    bVar1 = *pbVar3;\n    if ((byte)(bVar1 - 0x30) < 10) {\n      uVar4 = 0;\n      iVar8 = 0;\n      iVar10 = 0;\n      do {\n        uVar2 = (ulonglong)uVar4;\n        uVar5 = (uint)(uVar2 * 10);\n        uVar7 = bVar1 - 0x30;\n        uVar4 = uVar5 + uVar7;\n        iVar8 = (int)(uVar2 * 10 >> 0x20) + iVar8 * 10 + ((int)uVar7 >> 0x1f) +\n                (uint)CARRY4(uVar5,uVar7);\n        iVar10 = iVar10 + 1;\n        bVar1 = pbVar3[iVar10];\n        pbVar9 = pbVar3 + iVar10;\n      } while ((byte)(bVar1 - 0x30) < 10);\n    }\n    else {\n      uVar4 = 0;\n      iVar8 = 0;\n      iVar10 = 0;\n      pbVar9 = pbVar3;\n    }\n    *(uint *)piEndBlock = uVar4;\n    *(int *)((int)piEndBlock + 4) = iVar8;\n    bVar1 = *pbVar9;\n    while (bVar1 == 0x20) {\n      iVar10 = iVar10 + 1;\n      bVar1 = pbVar3[iVar10];\n    }\n    local_24 = 1;\n    local_20 = 0;\n    if (bVar1 == 0x2d) {\n      iVar10 = iVar10 + 1;\n      local_24 = 0xffffffff;\n      local_20 = -1;\n    }\n    bVar1 = pbVar3[iVar10];\n    pbVar3 = pbVar3 + iVar10 + 1;\n    if ((byte)(bVar1 - 0x30) < 10) {\n      uVar4 = 0;\n      iVar10 = 0;\n      do {\n        uVar7 = bVar1 - 0x30;\n        uVar2 = (ulonglong)uVar4;\n        uVar5 = (uint)(uVar2 * 10);\n        uVar4 = uVar5 + uVar7;\n        bVar1 = *pbVar3;\n        iVar10 = (int)(uVar2 * 10 >> 0x20) + iVar10 * 10 + ((int)uVar7 >> 0x1f) +\n                 (uint)CARRY4(uVar5,uVar7);\n        pbVar3 = pbVar3 + 1;\n      } while ((byte)(bVar1 - 0x30) < 10);\n      uVar6 = (undefined4)((ulonglong)local_24 * (ulonglong)uVar4);\n      iVar10 = (int)((ulonglong)local_24 * (ulonglong)uVar4 >> 0x20) +\n               local_24 * iVar10 + local_20 * uVar4;\n    }\n    else {\n      uVar6 = 0;\n      iVar10 = 0;\n    }\n    *(undefined4 *)pnByte = uVar6;\n    *(int *)((int)pnByte + 4) = iVar10;\n  }" if (parenthesized_expression "(pbVar3 != (byte *)0x0)" ( (binary_expression "pbVar3 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    bVar1 = *pbVar3;\n    if ((byte)(bVar1 - 0x30) < 10) {\n      uVar4 = 0;\n      iVar8 = 0;\n      iVar10 = 0;\n      do {\n        uVar2 = (ulonglong)uVar4;\n        uVar5 = (uint)(uVar2 * 10);\n        uVar7 = bVar1 - 0x30;\n        uVar4 = uVar5 + uVar7;\n        iVar8 = (int)(uVar2 * 10 >> 0x20) + iVar8 * 10 + ((int)uVar7 >> 0x1f) +\n                (uint)CARRY4(uVar5,uVar7);\n        iVar10 = iVar10 + 1;\n        bVar1 = pbVar3[iVar10];\n        pbVar9 = pbVar3 + iVar10;\n      } while ((byte)(bVar1 - 0x30) < 10);\n    }\n    else {\n      uVar4 = 0;\n      iVar8 = 0;\n      iVar10 = 0;\n      pbVar9 = pbVar3;\n    }\n    *(uint *)piEndBlock = uVar4;\n    *(int *)((int)piEndBlock + 4) = iVar8;\n    bVar1 = *pbVar9;\n    while (bVar1 == 0x20) {\n      iVar10 = iVar10 + 1;\n      bVar1 = pbVar3[iVar10];\n    }\n    local_24 = 1;\n    local_20 = 0;\n    if (bVar1 == 0x2d) {\n      iVar10 = iVar10 + 1;\n      local_24 = 0xffffffff;\n      local_20 = -1;\n    }\n    bVar1 = pbVar3[iVar10];\n    pbVar3 = pbVar3 + iVar10 + 1;\n    if ((byte)(bVar1 - 0x30) < 10) {\n      uVar4 = 0;\n      iVar10 = 0;\n      do {\n        uVar7 = bVar1 - 0x30;\n        uVar2 = (ulonglong)uVar4;\n        uVar5 = (uint)(uVar2 * 10);\n        uVar4 = uVar5 + uVar7;\n        bVar1 = *pbVar3;\n        iVar10 = (int)(uVar2 * 10 >> 0x20) + iVar10 * 10 + ((int)uVar7 >> 0x1f) +\n                 (uint)CARRY4(uVar5,uVar7);\n        pbVar3 = pbVar3 + 1;\n      } while ((byte)(bVar1 - 0x30) < 10);\n      uVar6 = (undefined4)((ulonglong)local_24 * (ulonglong)uVar4);\n      iVar10 = (int)((ulonglong)local_24 * (ulonglong)uVar4 >> 0x20) +\n               local_24 * iVar10 + local_20 * uVar4;\n    }\n    else {\n      uVar6 = 0;\n      iVar10 = 0;\n    }\n    *(undefined4 *)pnByte = uVar6;\n    *(int *)((int)pnByte + 4) = iVar10;\n  }" { (expression_statement "bVar1 = *pbVar3;" (assignment_expression "bVar1 = *pbVar3" identifier = (pointer_expression "*pbVar3" * identifier)) ;) (if_statement "if ((byte)(bVar1 - 0x30) < 10) {\n      uVar4 = 0;\n      iVar8 = 0;\n      iVar10 = 0;\n      do {\n        uVar2 = (ulonglong)uVar4;\n        uVar5 = (uint)(uVar2 * 10);\n        uVar7 = bVar1 - 0x30;\n        uVar4 = uVar5 + uVar7;\n        iVar8 = (int)(uVar2 * 10 >> 0x20) + iVar8 * 10 + ((int)uVar7 >> 0x1f) +\n                (uint)CARRY4(uVar5,uVar7);\n        iVar10 = iVar10 + 1;\n        bVar1 = pbVar3[iVar10];\n        pbVar9 = pbVar3 + iVar10;\n      } while ((byte)(bVar1 - 0x30) < 10);\n    }\n    else {\n      uVar4 = 0;\n      iVar8 = 0;\n      iVar10 = 0;\n      pbVar9 = pbVar3;\n    }" if (parenthesized_expression "((byte)(bVar1 - 0x30) < 10)" ( (binary_expression "(byte)(bVar1 - 0x30) < 10" (call_expression "(byte)(bVar1 - 0x30)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(bVar1 - 0x30)" ( (binary_expression "bVar1 - 0x30" identifier - number_literal) ))) < number_literal) )) (compound_statement "{\n      uVar4 = 0;\n      iVar8 = 0;\n      iVar10 = 0;\n      do {\n        uVar2 = (ulonglong)uVar4;\n        uVar5 = (uint)(uVar2 * 10);\n        uVar7 = bVar1 - 0x30;\n        uVar4 = uVar5 + uVar7;\n        iVar8 = (int)(uVar2 * 10 >> 0x20) + iVar8 * 10 + ((int)uVar7 >> 0x1f) +\n                (uint)CARRY4(uVar5,uVar7);\n        iVar10 = iVar10 + 1;\n        bVar1 = pbVar3[iVar10];\n        pbVar9 = pbVar3 + iVar10;\n      } while ((byte)(bVar1 - 0x30) < 10);\n    }" { (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) (expression_statement "iVar8 = 0;" (assignment_expression "iVar8 = 0" identifier = number_literal) ;) (expression_statement "iVar10 = 0;" (assignment_expression "iVar10 = 0" identifier = number_literal) ;) (do_statement "do {\n        uVar2 = (ulonglong)uVar4;\n        uVar5 = (uint)(uVar2 * 10);\n        uVar7 = bVar1 - 0x30;\n        uVar4 = uVar5 + uVar7;\n        iVar8 = (int)(uVar2 * 10 >> 0x20) + iVar8 * 10 + ((int)uVar7 >> 0x1f) +\n                (uint)CARRY4(uVar5,uVar7);\n        iVar10 = iVar10 + 1;\n        bVar1 = pbVar3[iVar10];\n        pbVar9 = pbVar3 + iVar10;\n      } while ((byte)(bVar1 - 0x30) < 10);" do (compound_statement "{\n        uVar2 = (ulonglong)uVar4;\n        uVar5 = (uint)(uVar2 * 10);\n        uVar7 = bVar1 - 0x30;\n        uVar4 = uVar5 + uVar7;\n        iVar8 = (int)(uVar2 * 10 >> 0x20) + iVar8 * 10 + ((int)uVar7 >> 0x1f) +\n                (uint)CARRY4(uVar5,uVar7);\n        iVar10 = iVar10 + 1;\n        bVar1 = pbVar3[iVar10];\n        pbVar9 = pbVar3 + iVar10;\n      }" { (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 "uVar7 = bVar1 - 0x30;" (assignment_expression "uVar7 = bVar1 - 0x30" identifier = (binary_expression "bVar1 - 0x30" identifier - number_literal)) ;) (expression_statement "uVar4 = uVar5 + uVar7;" (assignment_expression "uVar4 = uVar5 + uVar7" identifier = (binary_expression "uVar5 + uVar7" identifier + identifier)) ;) (expression_statement "iVar8 = (int)(uVar2 * 10 >> 0x20) + iVar8 * 10 + ((int)uVar7 >> 0x1f) +\n                (uint)CARRY4(uVar5,uVar7);" (assignment_expression "iVar8 = (int)(uVar2 * 10 >> 0x20) + iVar8 * 10 + ((int)uVar7 >> 0x1f) +\n                (uint)CARRY4(uVar5,uVar7)" identifier = (binary_expression "(int)(uVar2 * 10 >> 0x20) + iVar8 * 10 + ((int)uVar7 >> 0x1f) +\n                (uint)CARRY4(uVar5,uVar7)" (binary_expression "(int)(uVar2 * 10 >> 0x20) + iVar8 * 10 + ((int)uVar7 >> 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)uVar7 >> 0x1f)" ( (binary_expression "(int)uVar7 >> 0x1f" (cast_expression "(int)uVar7" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) ))) + (cast_expression "(uint)CARRY4(uVar5,uVar7)" ( (type_descriptor "uint" type_identifier) ) (call_expression "CARRY4(uVar5,uVar7)" identifier (argument_list "(uVar5,uVar7)" ( identifier , identifier )))))) ;) (expression_statement "iVar10 = iVar10 + 1;" (assignment_expression "iVar10 = iVar10 + 1" identifier = (binary_expression "iVar10 + 1" identifier + number_literal)) ;) (expression_statement "bVar1 = pbVar3[iVar10];" (assignment_expression "bVar1 = pbVar3[iVar10]" identifier = (subscript_expression "pbVar3[iVar10]" identifier [ identifier ])) ;) (expression_statement "pbVar9 = pbVar3 + iVar10;" (assignment_expression "pbVar9 = pbVar3 + iVar10" identifier = (binary_expression "pbVar3 + iVar10" identifier + identifier)) ;) }) while (parenthesized_expression "((byte)(bVar1 - 0x30) < 10)" ( (binary_expression "(byte)(bVar1 - 0x30) < 10" (call_expression "(byte)(bVar1 - 0x30)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(bVar1 - 0x30)" ( (binary_expression "bVar1 - 0x30" identifier - number_literal) ))) < number_literal) )) ;) }) (else_clause "else {\n      uVar4 = 0;\n      iVar8 = 0;\n      iVar10 = 0;\n      pbVar9 = pbVar3;\n    }" else (compound_statement "{\n      uVar4 = 0;\n      iVar8 = 0;\n      iVar10 = 0;\n      pbVar9 = pbVar3;\n    }" { (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) (expression_statement "iVar8 = 0;" (assignment_expression "iVar8 = 0" identifier = number_literal) ;) (expression_statement "iVar10 = 0;" (assignment_expression "iVar10 = 0" identifier = number_literal) ;) (expression_statement "pbVar9 = pbVar3;" (assignment_expression "pbVar9 = pbVar3" identifier = identifier) ;) }))) (expression_statement "*(uint *)piEndBlock = uVar4;" (assignment_expression "*(uint *)piEndBlock = uVar4" (pointer_expression "*(uint *)piEndBlock" * (cast_expression "(uint *)piEndBlock" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = identifier) ;) (expression_statement "*(int *)((int)piEndBlock + 4) = iVar8;" (assignment_expression "*(int *)((int)piEndBlock + 4) = iVar8" (pointer_expression "*(int *)((int)piEndBlock + 4)" * (cast_expression "(int *)((int)piEndBlock + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piEndBlock + 4)" ( (binary_expression "(int)piEndBlock + 4" (cast_expression "(int)piEndBlock" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (expression_statement "bVar1 = *pbVar9;" (assignment_expression "bVar1 = *pbVar9" identifier = (pointer_expression "*pbVar9" * identifier)) ;) (while_statement "while (bVar1 == 0x20) {\n      iVar10 = iVar10 + 1;\n      bVar1 = pbVar3[iVar10];\n    }" while (parenthesized_expression "(bVar1 == 0x20)" ( (binary_expression "bVar1 == 0x20" identifier == number_literal) )) (compound_statement "{\n      iVar10 = iVar10 + 1;\n      bVar1 = pbVar3[iVar10];\n    }" { (expression_statement "iVar10 = iVar10 + 1;" (assignment_expression "iVar10 = iVar10 + 1" identifier = (binary_expression "iVar10 + 1" identifier + number_literal)) ;) (expression_statement "bVar1 = pbVar3[iVar10];" (assignment_expression "bVar1 = pbVar3[iVar10]" identifier = (subscript_expression "pbVar3[iVar10]" identifier [ identifier ])) ;) })) (expression_statement "local_24 = 1;" (assignment_expression "local_24 = 1" identifier = number_literal) ;) (expression_statement "local_20 = 0;" (assignment_expression "local_20 = 0" identifier = number_literal) ;) (if_statement "if (bVar1 == 0x2d) {\n      iVar10 = iVar10 + 1;\n      local_24 = 0xffffffff;\n      local_20 = -1;\n    }" if (parenthesized_expression "(bVar1 == 0x2d)" ( (binary_expression "bVar1 == 0x2d" identifier == number_literal) )) (compound_statement "{\n      iVar10 = iVar10 + 1;\n      local_24 = 0xffffffff;\n      local_20 = -1;\n    }" { (expression_statement "iVar10 = iVar10 + 1;" (assignment_expression "iVar10 = iVar10 + 1" identifier = (binary_expression "iVar10 + 1" identifier + number_literal)) ;) (expression_statement "local_24 = 0xffffffff;" (assignment_expression "local_24 = 0xffffffff" identifier = number_literal) ;) (expression_statement "local_20 = -1;" (assignment_expression "local_20 = -1" identifier = number_literal) ;) })) (expression_statement "bVar1 = pbVar3[iVar10];" (assignment_expression "bVar1 = pbVar3[iVar10]" identifier = (subscript_expression "pbVar3[iVar10]" identifier [ identifier ])) ;) (expression_statement "pbVar3 = pbVar3 + iVar10 + 1;" (assignment_expression "pbVar3 = pbVar3 + iVar10 + 1" identifier = (binary_expression "pbVar3 + iVar10 + 1" (binary_expression "pbVar3 + iVar10" identifier + identifier) + number_literal)) ;) (if_statement "if ((byte)(bVar1 - 0x30) < 10) {\n      uVar4 = 0;\n      iVar10 = 0;\n      do {\n        uVar7 = bVar1 - 0x30;\n        uVar2 = (ulonglong)uVar4;\n        uVar5 = (uint)(uVar2 * 10);\n        uVar4 = uVar5 + uVar7;\n        bVar1 = *pbVar3;\n        iVar10 = (int)(uVar2 * 10 >> 0x20) + iVar10 * 10 + ((int)uVar7 >> 0x1f) +\n                 (uint)CARRY4(uVar5,uVar7);\n        pbVar3 = pbVar3 + 1;\n      } while ((byte)(bVar1 - 0x30) < 10);\n      uVar6 = (undefined4)((ulonglong)local_24 * (ulonglong)uVar4);\n      iVar10 = (int)((ulonglong)local_24 * (ulonglong)uVar4 >> 0x20) +\n               local_24 * iVar10 + local_20 * uVar4;\n    }\n    else {\n      uVar6 = 0;\n      iVar10 = 0;\n    }" if (parenthesized_expression "((byte)(bVar1 - 0x30) < 10)" ( (binary_expression "(byte)(bVar1 - 0x30) < 10" (call_expression "(byte)(bVar1 - 0x30)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(bVar1 - 0x30)" ( (binary_expression "bVar1 - 0x30" identifier - number_literal) ))) < number_literal) )) (compound_statement "{\n      uVar4 = 0;\n      iVar10 = 0;\n      do {\n        uVar7 = bVar1 - 0x30;\n        uVar2 = (ulonglong)uVar4;\n        uVar5 = (uint)(uVar2 * 10);\n        uVar4 = uVar5 + uVar7;\n        bVar1 = *pbVar3;\n        iVar10 = (int)(uVar2 * 10 >> 0x20) + iVar10 * 10 + ((int)uVar7 >> 0x1f) +\n                 (uint)CARRY4(uVar5,uVar7);\n        pbVar3 = pbVar3 + 1;\n      } while ((byte)(bVar1 - 0x30) < 10);\n      uVar6 = (undefined4)((ulonglong)local_24 * (ulonglong)uVar4);\n      iVar10 = (int)((ulonglong)local_24 * (ulonglong)uVar4 >> 0x20) +\n               local_24 * iVar10 + local_20 * uVar4;\n    }" { (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) (expression_statement "iVar10 = 0;" (assignment_expression "iVar10 = 0" identifier = number_literal) ;) (do_statement "do {\n        uVar7 = bVar1 - 0x30;\n        uVar2 = (ulonglong)uVar4;\n        uVar5 = (uint)(uVar2 * 10);\n        uVar4 = uVar5 + uVar7;\n        bVar1 = *pbVar3;\n        iVar10 = (int)(uVar2 * 10 >> 0x20) + iVar10 * 10 + ((int)uVar7 >> 0x1f) +\n                 (uint)CARRY4(uVar5,uVar7);\n        pbVar3 = pbVar3 + 1;\n      } while ((byte)(bVar1 - 0x30) < 10);" do (compound_statement "{\n        uVar7 = bVar1 - 0x30;\n        uVar2 = (ulonglong)uVar4;\n        uVar5 = (uint)(uVar2 * 10);\n        uVar4 = uVar5 + uVar7;\n        bVar1 = *pbVar3;\n        iVar10 = (int)(uVar2 * 10 >> 0x20) + iVar10 * 10 + ((int)uVar7 >> 0x1f) +\n                 (uint)CARRY4(uVar5,uVar7);\n        pbVar3 = pbVar3 + 1;\n      }" { (expression_statement "uVar7 = bVar1 - 0x30;" (assignment_expression "uVar7 = bVar1 - 0x30" identifier = (binary_expression "bVar1 - 0x30" identifier - 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 + uVar7;" (assignment_expression "uVar4 = uVar5 + uVar7" identifier = (binary_expression "uVar5 + uVar7" identifier + identifier)) ;) (expression_statement "bVar1 = *pbVar3;" (assignment_expression "bVar1 = *pbVar3" identifier = (pointer_expression "*pbVar3" * identifier)) ;) (expression_statement "iVar10 = (int)(uVar2 * 10 >> 0x20) + iVar10 * 10 + ((int)uVar7 >> 0x1f) +\n                 (uint)CARRY4(uVar5,uVar7);" (assignment_expression "iVar10 = (int)(uVar2 * 10 >> 0x20) + iVar10 * 10 + ((int)uVar7 >> 0x1f) +\n                 (uint)CARRY4(uVar5,uVar7)" identifier = (binary_expression "(int)(uVar2 * 10 >> 0x20) + iVar10 * 10 + ((int)uVar7 >> 0x1f) +\n                 (uint)CARRY4(uVar5,uVar7)" (binary_expression "(int)(uVar2 * 10 >> 0x20) + iVar10 * 10 + ((int)uVar7 >> 0x1f)" (binary_expression "(int)(uVar2 * 10 >> 0x20) + iVar10 * 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 "iVar10 * 10" identifier * number_literal)) + (parenthesized_expression "((int)uVar7 >> 0x1f)" ( (binary_expression "(int)uVar7 >> 0x1f" (cast_expression "(int)uVar7" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) ))) + (cast_expression "(uint)CARRY4(uVar5,uVar7)" ( (type_descriptor "uint" type_identifier) ) (call_expression "CARRY4(uVar5,uVar7)" identifier (argument_list "(uVar5,uVar7)" ( identifier , identifier )))))) ;) (expression_statement "pbVar3 = pbVar3 + 1;" (assignment_expression "pbVar3 = pbVar3 + 1" identifier = (binary_expression "pbVar3 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "((byte)(bVar1 - 0x30) < 10)" ( (binary_expression "(byte)(bVar1 - 0x30) < 10" (call_expression "(byte)(bVar1 - 0x30)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(bVar1 - 0x30)" ( (binary_expression "bVar1 - 0x30" identifier - number_literal) ))) < number_literal) )) ;) (expression_statement "uVar6 = (undefined4)((ulonglong)local_24 * (ulonglong)uVar4);" (assignment_expression "uVar6 = (undefined4)((ulonglong)local_24 * (ulonglong)uVar4)" identifier = (call_expression "(undefined4)((ulonglong)local_24 * (ulonglong)uVar4)" (parenthesized_expression "(undefined4)" ( identifier )) (argument_list "((ulonglong)local_24 * (ulonglong)uVar4)" ( (binary_expression "(ulonglong)local_24 * (ulonglong)uVar4" (cast_expression "(ulonglong)local_24" ( (type_descriptor "ulonglong" type_identifier) ) identifier) * (cast_expression "(ulonglong)uVar4" ( (type_descriptor "ulonglong" type_identifier) ) identifier)) )))) ;) (expression_statement "iVar10 = (int)((ulonglong)local_24 * (ulonglong)uVar4 >> 0x20) +\n               local_24 * iVar10 + local_20 * uVar4;" (assignment_expression "iVar10 = (int)((ulonglong)local_24 * (ulonglong)uVar4 >> 0x20) +\n               local_24 * iVar10 + local_20 * uVar4" identifier = (binary_expression "(int)((ulonglong)local_24 * (ulonglong)uVar4 >> 0x20) +\n               local_24 * iVar10 + local_20 * uVar4" (binary_expression "(int)((ulonglong)local_24 * (ulonglong)uVar4 >> 0x20) +\n               local_24 * iVar10" (cast_expression "(int)((ulonglong)local_24 * (ulonglong)uVar4 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)local_24 * (ulonglong)uVar4 >> 0x20)" ( (binary_expression "(ulonglong)local_24 * (ulonglong)uVar4 >> 0x20" (binary_expression "(ulonglong)local_24 * (ulonglong)uVar4" (cast_expression "(ulonglong)local_24" ( (type_descriptor "ulonglong" type_identifier) ) identifier) * (cast_expression "(ulonglong)uVar4" ( (type_descriptor "ulonglong" type_identifier) ) identifier)) >> number_literal) ))) + (binary_expression "local_24 * iVar10" identifier * identifier)) + (binary_expression "local_20 * uVar4" identifier * identifier))) ;) }) (else_clause "else {\n      uVar6 = 0;\n      iVar10 = 0;\n    }" else (compound_statement "{\n      uVar6 = 0;\n      iVar10 = 0;\n    }" { (expression_statement "uVar6 = 0;" (assignment_expression "uVar6 = 0" identifier = number_literal) ;) (expression_statement "iVar10 = 0;" (assignment_expression "iVar10 = 0" identifier = number_literal) ;) }))) (expression_statement "*(undefined4 *)pnByte = uVar6;" (assignment_expression "*(undefined4 *)pnByte = uVar6" (pointer_expression "*(undefined4 *)pnByte" * (cast_expression "(undefined4 *)pnByte" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = identifier) ;) (expression_statement "*(int *)((int)pnByte + 4) = iVar10;" (assignment_expression "*(int *)((int)pnByte + 4) = iVar10" (pointer_expression "*(int *)((int)pnByte + 4)" * (cast_expression "(int *)((int)pnByte + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pnByte + 4)" ( (binary_expression "(int)pnByte + 4" (cast_expression "(int)pnByte" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void __regparm3\nFUN_0004ebc0(undefined4 param_1,undefined4 param_2,uint *param_3,undefined4 *param_4)\n\n{\n  byte bVar1;\n  ulonglong uVar2;\n  byte *pbVar3;\n  uint uVar4;\n  uint uVar5;\n  undefined4 uVar6;\n  uint uVar7;\n  uint uVar8;\n  byte *pbVar9;\n  int iVar10;\n  uint local_24;\n  int local_20;\n  \n  pbVar3 = (byte *)FUN_0004eb80(param_1,param_2);\n  if (pbVar3 != (byte *)0x0) {\n    bVar1 = *pbVar3;\n    if ((byte)(bVar1 - 0x30) < 10) {\n      uVar4 = 0;\n      uVar8 = 0;\n      iVar10 = 0;\n      do {\n        uVar2 = (ulonglong)uVar4;\n        uVar5 = (uint)(uVar2 * 10);\n        uVar7 = bVar1 - 0x30;\n        uVar4 = uVar5 + uVar7;\n        uVar8 = (int)(uVar2 * 10 >> 0x20) + uVar8 * 10 + ((int)uVar7 >> 0x1f) +\n                (uint)CARRY4(uVar5,uVar7);\n        iVar10 = iVar10 + 1;\n        bVar1 = pbVar3[iVar10];\n        pbVar9 = pbVar3 + iVar10;\n      } while ((byte)(bVar1 - 0x30) < 10);\n    }\n    else {\n      uVar4 = 0;\n      uVar8 = 0;\n      iVar10 = 0;\n      pbVar9 = pbVar3;\n    }\n    *param_3 = uVar4;\n    param_3[1] = uVar8;\n    bVar1 = *pbVar9;\n    while (bVar1 == 0x20) {\n      iVar10 = iVar10 + 1;\n      bVar1 = pbVar3[iVar10];\n    }\n    local_24 = 1;\n    local_20 = 0;\n    if (bVar1 == 0x2d) {\n      iVar10 = iVar10 + 1;\n      local_24 = 0xffffffff;\n      local_20 = -1;\n    }\n    bVar1 = pbVar3[iVar10];\n    pbVar3 = pbVar3 + iVar10 + 1;\n    if ((byte)(bVar1 - 0x30) < 10) {\n      uVar4 = 0;\n      iVar10 = 0;\n      do {\n        uVar5 = bVar1 - 0x30;\n        uVar2 = (ulonglong)uVar4;\n        uVar8 = (uint)(uVar2 * 10);\n        uVar4 = uVar8 + uVar5;\n        bVar1 = *pbVar3;\n        iVar10 = (int)(uVar2 * 10 >> 0x20) + iVar10 * 10 + ((int)uVar5 >> 0x1f) +\n                 (uint)CARRY4(uVar8,uVar5);\n        pbVar3 = pbVar3 + 1;\n      } while ((byte)(bVar1 - 0x30) < 10);\n      uVar6 = (undefined4)((ulonglong)local_24 * (ulonglong)uVar4);\n      iVar10 = (int)((ulonglong)local_24 * (ulonglong)uVar4 >> 0x20) +\n               local_24 * iVar10 + local_20 * uVar4;\n    }\n    else {\n      uVar6 = 0;\n      iVar10 = 0;\n    }\n    *param_4 = uVar6;\n    param_4[1] = iVar10;\n  }\n  return;\n}\n\n" (function_definition "void __regparm3\nFUN_0004ebc0(undefined4 param_1,undefined4 param_2,uint *param_3,undefined4 *param_4)\n\n{\n  byte bVar1;\n  ulonglong uVar2;\n  byte *pbVar3;\n  uint uVar4;\n  uint uVar5;\n  undefined4 uVar6;\n  uint uVar7;\n  uint uVar8;\n  byte *pbVar9;\n  int iVar10;\n  uint local_24;\n  int local_20;\n  \n  pbVar3 = (byte *)FUN_0004eb80(param_1,param_2);\n  if (pbVar3 != (byte *)0x0) {\n    bVar1 = *pbVar3;\n    if ((byte)(bVar1 - 0x30) < 10) {\n      uVar4 = 0;\n      uVar8 = 0;\n      iVar10 = 0;\n      do {\n        uVar2 = (ulonglong)uVar4;\n        uVar5 = (uint)(uVar2 * 10);\n        uVar7 = bVar1 - 0x30;\n        uVar4 = uVar5 + uVar7;\n        uVar8 = (int)(uVar2 * 10 >> 0x20) + uVar8 * 10 + ((int)uVar7 >> 0x1f) +\n                (uint)CARRY4(uVar5,uVar7);\n        iVar10 = iVar10 + 1;\n        bVar1 = pbVar3[iVar10];\n        pbVar9 = pbVar3 + iVar10;\n      } while ((byte)(bVar1 - 0x30) < 10);\n    }\n    else {\n      uVar4 = 0;\n      uVar8 = 0;\n      iVar10 = 0;\n      pbVar9 = pbVar3;\n    }\n    *param_3 = uVar4;\n    param_3[1] = uVar8;\n    bVar1 = *pbVar9;\n    while (bVar1 == 0x20) {\n      iVar10 = iVar10 + 1;\n      bVar1 = pbVar3[iVar10];\n    }\n    local_24 = 1;\n    local_20 = 0;\n    if (bVar1 == 0x2d) {\n      iVar10 = iVar10 + 1;\n      local_24 = 0xffffffff;\n      local_20 = -1;\n    }\n    bVar1 = pbVar3[iVar10];\n    pbVar3 = pbVar3 + iVar10 + 1;\n    if ((byte)(bVar1 - 0x30) < 10) {\n      uVar4 = 0;\n      iVar10 = 0;\n      do {\n        uVar5 = bVar1 - 0x30;\n        uVar2 = (ulonglong)uVar4;\n        uVar8 = (uint)(uVar2 * 10);\n        uVar4 = uVar8 + uVar5;\n        bVar1 = *pbVar3;\n        iVar10 = (int)(uVar2 * 10 >> 0x20) + iVar10 * 10 + ((int)uVar5 >> 0x1f) +\n                 (uint)CARRY4(uVar8,uVar5);\n        pbVar3 = pbVar3 + 1;\n      } while ((byte)(bVar1 - 0x30) < 10);\n      uVar6 = (undefined4)((ulonglong)local_24 * (ulonglong)uVar4);\n      iVar10 = (int)((ulonglong)local_24 * (ulonglong)uVar4 >> 0x20) +\n               local_24 * iVar10 + local_20 * uVar4;\n    }\n    else {\n      uVar6 = 0;\n      iVar10 = 0;\n    }\n    *param_4 = uVar6;\n    param_4[1] = iVar10;\n  }\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_0004ebc0(undefined4 param_1,undefined4 param_2,uint *param_3,undefined4 *param_4)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,uint *param_3,undefined4 *param_4)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "uint *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "undefined4 *param_4" type_identifier (pointer_declarator "*param_4" * identifier)) ))) (compound_statement "{\n  byte bVar1;\n  ulonglong uVar2;\n  byte *pbVar3;\n  uint uVar4;\n  uint uVar5;\n  undefined4 uVar6;\n  uint uVar7;\n  uint uVar8;\n  byte *pbVar9;\n  int iVar10;\n  uint local_24;\n  int local_20;\n  \n  pbVar3 = (byte *)FUN_0004eb80(param_1,param_2);\n  if (pbVar3 != (byte *)0x0) {\n    bVar1 = *pbVar3;\n    if ((byte)(bVar1 - 0x30) < 10) {\n      uVar4 = 0;\n      uVar8 = 0;\n      iVar10 = 0;\n      do {\n        uVar2 = (ulonglong)uVar4;\n        uVar5 = (uint)(uVar2 * 10);\n        uVar7 = bVar1 - 0x30;\n        uVar4 = uVar5 + uVar7;\n        uVar8 = (int)(uVar2 * 10 >> 0x20) + uVar8 * 10 + ((int)uVar7 >> 0x1f) +\n                (uint)CARRY4(uVar5,uVar7);\n        iVar10 = iVar10 + 1;\n        bVar1 = pbVar3[iVar10];\n        pbVar9 = pbVar3 + iVar10;\n      } while ((byte)(bVar1 - 0x30) < 10);\n    }\n    else {\n      uVar4 = 0;\n      uVar8 = 0;\n      iVar10 = 0;\n      pbVar9 = pbVar3;\n    }\n    *param_3 = uVar4;\n    param_3[1] = uVar8;\n    bVar1 = *pbVar9;\n    while (bVar1 == 0x20) {\n      iVar10 = iVar10 + 1;\n      bVar1 = pbVar3[iVar10];\n    }\n    local_24 = 1;\n    local_20 = 0;\n    if (bVar1 == 0x2d) {\n      iVar10 = iVar10 + 1;\n      local_24 = 0xffffffff;\n      local_20 = -1;\n    }\n    bVar1 = pbVar3[iVar10];\n    pbVar3 = pbVar3 + iVar10 + 1;\n    if ((byte)(bVar1 - 0x30) < 10) {\n      uVar4 = 0;\n      iVar10 = 0;\n      do {\n        uVar5 = bVar1 - 0x30;\n        uVar2 = (ulonglong)uVar4;\n        uVar8 = (uint)(uVar2 * 10);\n        uVar4 = uVar8 + uVar5;\n        bVar1 = *pbVar3;\n        iVar10 = (int)(uVar2 * 10 >> 0x20) + iVar10 * 10 + ((int)uVar5 >> 0x1f) +\n                 (uint)CARRY4(uVar8,uVar5);\n        pbVar3 = pbVar3 + 1;\n      } while ((byte)(bVar1 - 0x30) < 10);\n      uVar6 = (undefined4)((ulonglong)local_24 * (ulonglong)uVar4);\n      iVar10 = (int)((ulonglong)local_24 * (ulonglong)uVar4 >> 0x20) +\n               local_24 * iVar10 + local_20 * uVar4;\n    }\n    else {\n      uVar6 = 0;\n      iVar10 = 0;\n    }\n    *param_4 = uVar6;\n    param_4[1] = iVar10;\n  }\n  return;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "ulonglong uVar2;" type_identifier identifier ;) (declaration "byte *pbVar3;" type_identifier (pointer_declarator "*pbVar3" * identifier) ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "undefined4 uVar6;" type_identifier identifier ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "uint uVar8;" type_identifier identifier ;) (declaration "byte *pbVar9;" type_identifier (pointer_declarator "*pbVar9" * identifier) ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "uint local_24;" type_identifier identifier ;) (declaration "int local_20;" primitive_type identifier ;) (expression_statement "pbVar3 = (byte *)FUN_0004eb80(param_1,param_2);" (assignment_expression "pbVar3 = (byte *)FUN_0004eb80(param_1,param_2)" identifier = (cast_expression "(byte *)FUN_0004eb80(param_1,param_2)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0004eb80(param_1,param_2)" identifier (argument_list "(param_1,param_2)" ( identifier , identifier ))))) ;) (if_statement "if (pbVar3 != (byte *)0x0) {\n    bVar1 = *pbVar3;\n    if ((byte)(bVar1 - 0x30) < 10) {\n      uVar4 = 0;\n      uVar8 = 0;\n      iVar10 = 0;\n      do {\n        uVar2 = (ulonglong)uVar4;\n        uVar5 = (uint)(uVar2 * 10);\n        uVar7 = bVar1 - 0x30;\n        uVar4 = uVar5 + uVar7;\n        uVar8 = (int)(uVar2 * 10 >> 0x20) + uVar8 * 10 + ((int)uVar7 >> 0x1f) +\n                (uint)CARRY4(uVar5,uVar7);\n        iVar10 = iVar10 + 1;\n        bVar1 = pbVar3[iVar10];\n        pbVar9 = pbVar3 + iVar10;\n      } while ((byte)(bVar1 - 0x30) < 10);\n    }\n    else {\n      uVar4 = 0;\n      uVar8 = 0;\n      iVar10 = 0;\n      pbVar9 = pbVar3;\n    }\n    *param_3 = uVar4;\n    param_3[1] = uVar8;\n    bVar1 = *pbVar9;\n    while (bVar1 == 0x20) {\n      iVar10 = iVar10 + 1;\n      bVar1 = pbVar3[iVar10];\n    }\n    local_24 = 1;\n    local_20 = 0;\n    if (bVar1 == 0x2d) {\n      iVar10 = iVar10 + 1;\n      local_24 = 0xffffffff;\n      local_20 = -1;\n    }\n    bVar1 = pbVar3[iVar10];\n    pbVar3 = pbVar3 + iVar10 + 1;\n    if ((byte)(bVar1 - 0x30) < 10) {\n      uVar4 = 0;\n      iVar10 = 0;\n      do {\n        uVar5 = bVar1 - 0x30;\n        uVar2 = (ulonglong)uVar4;\n        uVar8 = (uint)(uVar2 * 10);\n        uVar4 = uVar8 + uVar5;\n        bVar1 = *pbVar3;\n        iVar10 = (int)(uVar2 * 10 >> 0x20) + iVar10 * 10 + ((int)uVar5 >> 0x1f) +\n                 (uint)CARRY4(uVar8,uVar5);\n        pbVar3 = pbVar3 + 1;\n      } while ((byte)(bVar1 - 0x30) < 10);\n      uVar6 = (undefined4)((ulonglong)local_24 * (ulonglong)uVar4);\n      iVar10 = (int)((ulonglong)local_24 * (ulonglong)uVar4 >> 0x20) +\n               local_24 * iVar10 + local_20 * uVar4;\n    }\n    else {\n      uVar6 = 0;\n      iVar10 = 0;\n    }\n    *param_4 = uVar6;\n    param_4[1] = iVar10;\n  }" if (parenthesized_expression "(pbVar3 != (byte *)0x0)" ( (binary_expression "pbVar3 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    bVar1 = *pbVar3;\n    if ((byte)(bVar1 - 0x30) < 10) {\n      uVar4 = 0;\n      uVar8 = 0;\n      iVar10 = 0;\n      do {\n        uVar2 = (ulonglong)uVar4;\n        uVar5 = (uint)(uVar2 * 10);\n        uVar7 = bVar1 - 0x30;\n        uVar4 = uVar5 + uVar7;\n        uVar8 = (int)(uVar2 * 10 >> 0x20) + uVar8 * 10 + ((int)uVar7 >> 0x1f) +\n                (uint)CARRY4(uVar5,uVar7);\n        iVar10 = iVar10 + 1;\n        bVar1 = pbVar3[iVar10];\n        pbVar9 = pbVar3 + iVar10;\n      } while ((byte)(bVar1 - 0x30) < 10);\n    }\n    else {\n      uVar4 = 0;\n      uVar8 = 0;\n      iVar10 = 0;\n      pbVar9 = pbVar3;\n    }\n    *param_3 = uVar4;\n    param_3[1] = uVar8;\n    bVar1 = *pbVar9;\n    while (bVar1 == 0x20) {\n      iVar10 = iVar10 + 1;\n      bVar1 = pbVar3[iVar10];\n    }\n    local_24 = 1;\n    local_20 = 0;\n    if (bVar1 == 0x2d) {\n      iVar10 = iVar10 + 1;\n      local_24 = 0xffffffff;\n      local_20 = -1;\n    }\n    bVar1 = pbVar3[iVar10];\n    pbVar3 = pbVar3 + iVar10 + 1;\n    if ((byte)(bVar1 - 0x30) < 10) {\n      uVar4 = 0;\n      iVar10 = 0;\n      do {\n        uVar5 = bVar1 - 0x30;\n        uVar2 = (ulonglong)uVar4;\n        uVar8 = (uint)(uVar2 * 10);\n        uVar4 = uVar8 + uVar5;\n        bVar1 = *pbVar3;\n        iVar10 = (int)(uVar2 * 10 >> 0x20) + iVar10 * 10 + ((int)uVar5 >> 0x1f) +\n                 (uint)CARRY4(uVar8,uVar5);\n        pbVar3 = pbVar3 + 1;\n      } while ((byte)(bVar1 - 0x30) < 10);\n      uVar6 = (undefined4)((ulonglong)local_24 * (ulonglong)uVar4);\n      iVar10 = (int)((ulonglong)local_24 * (ulonglong)uVar4 >> 0x20) +\n               local_24 * iVar10 + local_20 * uVar4;\n    }\n    else {\n      uVar6 = 0;\n      iVar10 = 0;\n    }\n    *param_4 = uVar6;\n    param_4[1] = iVar10;\n  }" { (expression_statement "bVar1 = *pbVar3;" (assignment_expression "bVar1 = *pbVar3" identifier = (pointer_expression "*pbVar3" * identifier)) ;) (if_statement "if ((byte)(bVar1 - 0x30) < 10) {\n      uVar4 = 0;\n      uVar8 = 0;\n      iVar10 = 0;\n      do {\n        uVar2 = (ulonglong)uVar4;\n        uVar5 = (uint)(uVar2 * 10);\n        uVar7 = bVar1 - 0x30;\n        uVar4 = uVar5 + uVar7;\n        uVar8 = (int)(uVar2 * 10 >> 0x20) + uVar8 * 10 + ((int)uVar7 >> 0x1f) +\n                (uint)CARRY4(uVar5,uVar7);\n        iVar10 = iVar10 + 1;\n        bVar1 = pbVar3[iVar10];\n        pbVar9 = pbVar3 + iVar10;\n      } while ((byte)(bVar1 - 0x30) < 10);\n    }\n    else {\n      uVar4 = 0;\n      uVar8 = 0;\n      iVar10 = 0;\n      pbVar9 = pbVar3;\n    }" if (parenthesized_expression "((byte)(bVar1 - 0x30) < 10)" ( (binary_expression "(byte)(bVar1 - 0x30) < 10" (call_expression "(byte)(bVar1 - 0x30)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(bVar1 - 0x30)" ( (binary_expression "bVar1 - 0x30" identifier - number_literal) ))) < number_literal) )) (compound_statement "{\n      uVar4 = 0;\n      uVar8 = 0;\n      iVar10 = 0;\n      do {\n        uVar2 = (ulonglong)uVar4;\n        uVar5 = (uint)(uVar2 * 10);\n        uVar7 = bVar1 - 0x30;\n        uVar4 = uVar5 + uVar7;\n        uVar8 = (int)(uVar2 * 10 >> 0x20) + uVar8 * 10 + ((int)uVar7 >> 0x1f) +\n                (uint)CARRY4(uVar5,uVar7);\n        iVar10 = iVar10 + 1;\n        bVar1 = pbVar3[iVar10];\n        pbVar9 = pbVar3 + iVar10;\n      } while ((byte)(bVar1 - 0x30) < 10);\n    }" { (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) (expression_statement "uVar8 = 0;" (assignment_expression "uVar8 = 0" identifier = number_literal) ;) (expression_statement "iVar10 = 0;" (assignment_expression "iVar10 = 0" identifier = number_literal) ;) (do_statement "do {\n        uVar2 = (ulonglong)uVar4;\n        uVar5 = (uint)(uVar2 * 10);\n        uVar7 = bVar1 - 0x30;\n        uVar4 = uVar5 + uVar7;\n        uVar8 = (int)(uVar2 * 10 >> 0x20) + uVar8 * 10 + ((int)uVar7 >> 0x1f) +\n                (uint)CARRY4(uVar5,uVar7);\n        iVar10 = iVar10 + 1;\n        bVar1 = pbVar3[iVar10];\n        pbVar9 = pbVar3 + iVar10;\n      } while ((byte)(bVar1 - 0x30) < 10);" do (compound_statement "{\n        uVar2 = (ulonglong)uVar4;\n        uVar5 = (uint)(uVar2 * 10);\n        uVar7 = bVar1 - 0x30;\n        uVar4 = uVar5 + uVar7;\n        uVar8 = (int)(uVar2 * 10 >> 0x20) + uVar8 * 10 + ((int)uVar7 >> 0x1f) +\n                (uint)CARRY4(uVar5,uVar7);\n        iVar10 = iVar10 + 1;\n        bVar1 = pbVar3[iVar10];\n        pbVar9 = pbVar3 + iVar10;\n      }" { (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 "uVar7 = bVar1 - 0x30;" (assignment_expression "uVar7 = bVar1 - 0x30" identifier = (binary_expression "bVar1 - 0x30" identifier - number_literal)) ;) (expression_statement "uVar4 = uVar5 + uVar7;" (assignment_expression "uVar4 = uVar5 + uVar7" identifier = (binary_expression "uVar5 + uVar7" identifier + identifier)) ;) (expression_statement "uVar8 = (int)(uVar2 * 10 >> 0x20) + uVar8 * 10 + ((int)uVar7 >> 0x1f) +\n                (uint)CARRY4(uVar5,uVar7);" (assignment_expression "uVar8 = (int)(uVar2 * 10 >> 0x20) + uVar8 * 10 + ((int)uVar7 >> 0x1f) +\n                (uint)CARRY4(uVar5,uVar7)" identifier = (binary_expression "(int)(uVar2 * 10 >> 0x20) + uVar8 * 10 + ((int)uVar7 >> 0x1f) +\n                (uint)CARRY4(uVar5,uVar7)" (binary_expression "(int)(uVar2 * 10 >> 0x20) + uVar8 * 10 + ((int)uVar7 >> 0x1f)" (binary_expression "(int)(uVar2 * 10 >> 0x20) + uVar8 * 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 "uVar8 * 10" identifier * number_literal)) + (parenthesized_expression "((int)uVar7 >> 0x1f)" ( (binary_expression "(int)uVar7 >> 0x1f" (cast_expression "(int)uVar7" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) ))) + (cast_expression "(uint)CARRY4(uVar5,uVar7)" ( (type_descriptor "uint" type_identifier) ) (call_expression "CARRY4(uVar5,uVar7)" identifier (argument_list "(uVar5,uVar7)" ( identifier , identifier )))))) ;) (expression_statement "iVar10 = iVar10 + 1;" (assignment_expression "iVar10 = iVar10 + 1" identifier = (binary_expression "iVar10 + 1" identifier + number_literal)) ;) (expression_statement "bVar1 = pbVar3[iVar10];" (assignment_expression "bVar1 = pbVar3[iVar10]" identifier = (subscript_expression "pbVar3[iVar10]" identifier [ identifier ])) ;) (expression_statement "pbVar9 = pbVar3 + iVar10;" (assignment_expression "pbVar9 = pbVar3 + iVar10" identifier = (binary_expression "pbVar3 + iVar10" identifier + identifier)) ;) }) while (parenthesized_expression "((byte)(bVar1 - 0x30) < 10)" ( (binary_expression "(byte)(bVar1 - 0x30) < 10" (call_expression "(byte)(bVar1 - 0x30)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(bVar1 - 0x30)" ( (binary_expression "bVar1 - 0x30" identifier - number_literal) ))) < number_literal) )) ;) }) (else_clause "else {\n      uVar4 = 0;\n      uVar8 = 0;\n      iVar10 = 0;\n      pbVar9 = pbVar3;\n    }" else (compound_statement "{\n      uVar4 = 0;\n      uVar8 = 0;\n      iVar10 = 0;\n      pbVar9 = pbVar3;\n    }" { (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) (expression_statement "uVar8 = 0;" (assignment_expression "uVar8 = 0" identifier = number_literal) ;) (expression_statement "iVar10 = 0;" (assignment_expression "iVar10 = 0" identifier = number_literal) ;) (expression_statement "pbVar9 = pbVar3;" (assignment_expression "pbVar9 = pbVar3" identifier = identifier) ;) }))) (expression_statement "*param_3 = uVar4;" (assignment_expression "*param_3 = uVar4" (pointer_expression "*param_3" * identifier) = identifier) ;) (expression_statement "param_3[1] = uVar8;" (assignment_expression "param_3[1] = uVar8" (subscript_expression "param_3[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "bVar1 = *pbVar9;" (assignment_expression "bVar1 = *pbVar9" identifier = (pointer_expression "*pbVar9" * identifier)) ;) (while_statement "while (bVar1 == 0x20) {\n      iVar10 = iVar10 + 1;\n      bVar1 = pbVar3[iVar10];\n    }" while (parenthesized_expression "(bVar1 == 0x20)" ( (binary_expression "bVar1 == 0x20" identifier == number_literal) )) (compound_statement "{\n      iVar10 = iVar10 + 1;\n      bVar1 = pbVar3[iVar10];\n    }" { (expression_statement "iVar10 = iVar10 + 1;" (assignment_expression "iVar10 = iVar10 + 1" identifier = (binary_expression "iVar10 + 1" identifier + number_literal)) ;) (expression_statement "bVar1 = pbVar3[iVar10];" (assignment_expression "bVar1 = pbVar3[iVar10]" identifier = (subscript_expression "pbVar3[iVar10]" identifier [ identifier ])) ;) })) (expression_statement "local_24 = 1;" (assignment_expression "local_24 = 1" identifier = number_literal) ;) (expression_statement "local_20 = 0;" (assignment_expression "local_20 = 0" identifier = number_literal) ;) (if_statement "if (bVar1 == 0x2d) {\n      iVar10 = iVar10 + 1;\n      local_24 = 0xffffffff;\n      local_20 = -1;\n    }" if (parenthesized_expression "(bVar1 == 0x2d)" ( (binary_expression "bVar1 == 0x2d" identifier == number_literal) )) (compound_statement "{\n      iVar10 = iVar10 + 1;\n      local_24 = 0xffffffff;\n      local_20 = -1;\n    }" { (expression_statement "iVar10 = iVar10 + 1;" (assignment_expression "iVar10 = iVar10 + 1" identifier = (binary_expression "iVar10 + 1" identifier + number_literal)) ;) (expression_statement "local_24 = 0xffffffff;" (assignment_expression "local_24 = 0xffffffff" identifier = number_literal) ;) (expression_statement "local_20 = -1;" (assignment_expression "local_20 = -1" identifier = number_literal) ;) })) (expression_statement "bVar1 = pbVar3[iVar10];" (assignment_expression "bVar1 = pbVar3[iVar10]" identifier = (subscript_expression "pbVar3[iVar10]" identifier [ identifier ])) ;) (expression_statement "pbVar3 = pbVar3 + iVar10 + 1;" (assignment_expression "pbVar3 = pbVar3 + iVar10 + 1" identifier = (binary_expression "pbVar3 + iVar10 + 1" (binary_expression "pbVar3 + iVar10" identifier + identifier) + number_literal)) ;) (if_statement "if ((byte)(bVar1 - 0x30) < 10) {\n      uVar4 = 0;\n      iVar10 = 0;\n      do {\n        uVar5 = bVar1 - 0x30;\n        uVar2 = (ulonglong)uVar4;\n        uVar8 = (uint)(uVar2 * 10);\n        uVar4 = uVar8 + uVar5;\n        bVar1 = *pbVar3;\n        iVar10 = (int)(uVar2 * 10 >> 0x20) + iVar10 * 10 + ((int)uVar5 >> 0x1f) +\n                 (uint)CARRY4(uVar8,uVar5);\n        pbVar3 = pbVar3 + 1;\n      } while ((byte)(bVar1 - 0x30) < 10);\n      uVar6 = (undefined4)((ulonglong)local_24 * (ulonglong)uVar4);\n      iVar10 = (int)((ulonglong)local_24 * (ulonglong)uVar4 >> 0x20) +\n               local_24 * iVar10 + local_20 * uVar4;\n    }\n    else {\n      uVar6 = 0;\n      iVar10 = 0;\n    }" if (parenthesized_expression "((byte)(bVar1 - 0x30) < 10)" ( (binary_expression "(byte)(bVar1 - 0x30) < 10" (call_expression "(byte)(bVar1 - 0x30)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(bVar1 - 0x30)" ( (binary_expression "bVar1 - 0x30" identifier - number_literal) ))) < number_literal) )) (compound_statement "{\n      uVar4 = 0;\n      iVar10 = 0;\n      do {\n        uVar5 = bVar1 - 0x30;\n        uVar2 = (ulonglong)uVar4;\n        uVar8 = (uint)(uVar2 * 10);\n        uVar4 = uVar8 + uVar5;\n        bVar1 = *pbVar3;\n        iVar10 = (int)(uVar2 * 10 >> 0x20) + iVar10 * 10 + ((int)uVar5 >> 0x1f) +\n                 (uint)CARRY4(uVar8,uVar5);\n        pbVar3 = pbVar3 + 1;\n      } while ((byte)(bVar1 - 0x30) < 10);\n      uVar6 = (undefined4)((ulonglong)local_24 * (ulonglong)uVar4);\n      iVar10 = (int)((ulonglong)local_24 * (ulonglong)uVar4 >> 0x20) +\n               local_24 * iVar10 + local_20 * uVar4;\n    }" { (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) (expression_statement "iVar10 = 0;" (assignment_expression "iVar10 = 0" identifier = number_literal) ;) (do_statement "do {\n        uVar5 = bVar1 - 0x30;\n        uVar2 = (ulonglong)uVar4;\n        uVar8 = (uint)(uVar2 * 10);\n        uVar4 = uVar8 + uVar5;\n        bVar1 = *pbVar3;\n        iVar10 = (int)(uVar2 * 10 >> 0x20) + iVar10 * 10 + ((int)uVar5 >> 0x1f) +\n                 (uint)CARRY4(uVar8,uVar5);\n        pbVar3 = pbVar3 + 1;\n      } while ((byte)(bVar1 - 0x30) < 10);" do (compound_statement "{\n        uVar5 = bVar1 - 0x30;\n        uVar2 = (ulonglong)uVar4;\n        uVar8 = (uint)(uVar2 * 10);\n        uVar4 = uVar8 + uVar5;\n        bVar1 = *pbVar3;\n        iVar10 = (int)(uVar2 * 10 >> 0x20) + iVar10 * 10 + ((int)uVar5 >> 0x1f) +\n                 (uint)CARRY4(uVar8,uVar5);\n        pbVar3 = pbVar3 + 1;\n      }" { (expression_statement "uVar5 = bVar1 - 0x30;" (assignment_expression "uVar5 = bVar1 - 0x30" identifier = (binary_expression "bVar1 - 0x30" identifier - 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 "uVar8 = (uint)(uVar2 * 10);" (assignment_expression "uVar8 = (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 = uVar8 + uVar5;" (assignment_expression "uVar4 = uVar8 + uVar5" identifier = (binary_expression "uVar8 + uVar5" identifier + identifier)) ;) (expression_statement "bVar1 = *pbVar3;" (assignment_expression "bVar1 = *pbVar3" identifier = (pointer_expression "*pbVar3" * identifier)) ;) (expression_statement "iVar10 = (int)(uVar2 * 10 >> 0x20) + iVar10 * 10 + ((int)uVar5 >> 0x1f) +\n                 (uint)CARRY4(uVar8,uVar5);" (assignment_expression "iVar10 = (int)(uVar2 * 10 >> 0x20) + iVar10 * 10 + ((int)uVar5 >> 0x1f) +\n                 (uint)CARRY4(uVar8,uVar5)" identifier = (binary_expression "(int)(uVar2 * 10 >> 0x20) + iVar10 * 10 + ((int)uVar5 >> 0x1f) +\n                 (uint)CARRY4(uVar8,uVar5)" (binary_expression "(int)(uVar2 * 10 >> 0x20) + iVar10 * 10 + ((int)uVar5 >> 0x1f)" (binary_expression "(int)(uVar2 * 10 >> 0x20) + iVar10 * 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 "iVar10 * 10" identifier * number_literal)) + (parenthesized_expression "((int)uVar5 >> 0x1f)" ( (binary_expression "(int)uVar5 >> 0x1f" (cast_expression "(int)uVar5" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) ))) + (cast_expression "(uint)CARRY4(uVar8,uVar5)" ( (type_descriptor "uint" type_identifier) ) (call_expression "CARRY4(uVar8,uVar5)" identifier (argument_list "(uVar8,uVar5)" ( identifier , identifier )))))) ;) (expression_statement "pbVar3 = pbVar3 + 1;" (assignment_expression "pbVar3 = pbVar3 + 1" identifier = (binary_expression "pbVar3 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "((byte)(bVar1 - 0x30) < 10)" ( (binary_expression "(byte)(bVar1 - 0x30) < 10" (call_expression "(byte)(bVar1 - 0x30)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(bVar1 - 0x30)" ( (binary_expression "bVar1 - 0x30" identifier - number_literal) ))) < number_literal) )) ;) (expression_statement "uVar6 = (undefined4)((ulonglong)local_24 * (ulonglong)uVar4);" (assignment_expression "uVar6 = (undefined4)((ulonglong)local_24 * (ulonglong)uVar4)" identifier = (call_expression "(undefined4)((ulonglong)local_24 * (ulonglong)uVar4)" (parenthesized_expression "(undefined4)" ( identifier )) (argument_list "((ulonglong)local_24 * (ulonglong)uVar4)" ( (binary_expression "(ulonglong)local_24 * (ulonglong)uVar4" (cast_expression "(ulonglong)local_24" ( (type_descriptor "ulonglong" type_identifier) ) identifier) * (cast_expression "(ulonglong)uVar4" ( (type_descriptor "ulonglong" type_identifier) ) identifier)) )))) ;) (expression_statement "iVar10 = (int)((ulonglong)local_24 * (ulonglong)uVar4 >> 0x20) +\n               local_24 * iVar10 + local_20 * uVar4;" (assignment_expression "iVar10 = (int)((ulonglong)local_24 * (ulonglong)uVar4 >> 0x20) +\n               local_24 * iVar10 + local_20 * uVar4" identifier = (binary_expression "(int)((ulonglong)local_24 * (ulonglong)uVar4 >> 0x20) +\n               local_24 * iVar10 + local_20 * uVar4" (binary_expression "(int)((ulonglong)local_24 * (ulonglong)uVar4 >> 0x20) +\n               local_24 * iVar10" (cast_expression "(int)((ulonglong)local_24 * (ulonglong)uVar4 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)local_24 * (ulonglong)uVar4 >> 0x20)" ( (binary_expression "(ulonglong)local_24 * (ulonglong)uVar4 >> 0x20" (binary_expression "(ulonglong)local_24 * (ulonglong)uVar4" (cast_expression "(ulonglong)local_24" ( (type_descriptor "ulonglong" type_identifier) ) identifier) * (cast_expression "(ulonglong)uVar4" ( (type_descriptor "ulonglong" type_identifier) ) identifier)) >> number_literal) ))) + (binary_expression "local_24 * iVar10" identifier * identifier)) + (binary_expression "local_20 * uVar4" identifier * identifier))) ;) }) (else_clause "else {\n      uVar6 = 0;\n      iVar10 = 0;\n    }" else (compound_statement "{\n      uVar6 = 0;\n      iVar10 = 0;\n    }" { (expression_statement "uVar6 = 0;" (assignment_expression "uVar6 = 0" identifier = number_literal) ;) (expression_statement "iVar10 = 0;" (assignment_expression "iVar10 = 0" identifier = number_literal) ;) }))) (expression_statement "*param_4 = uVar6;" (assignment_expression "*param_4 = uVar6" (pointer_expression "*param_4" * identifier) = identifier) ;) (expression_statement "param_4[1] = iVar10;" (assignment_expression "param_4[1] = iVar10" (subscript_expression "param_4[1]" identifier [ number_literal ]) = identifier) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT , IDENT ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT - LIT) ))) < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (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 - 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 )))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ IDENT ])) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) }) while (parenthesized_expression ( (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT - LIT) ))) < LIT) )) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }))) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (while_statement while (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ IDENT ])) ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) })) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ IDENT ])) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + IDENT) + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT - LIT) ))) < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = 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 = (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 = (pointer_expression * 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 )))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT - LIT) ))) < LIT) )) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * (cast_expression ( (type_descriptor TYPE) ) IDENT)) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * (cast_expression ( (type_descriptor TYPE) ) IDENT)) >> LIT) ))) + (binary_expression IDENT * IDENT)) + (binary_expression IDENT * IDENT))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }))) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) })) (return_statement return ;) })))
(function_definition "void __regparm3\nFUN_0004ebc0(undefined4 param_1,undefined4 param_2,uint *param_3,undefined4 *param_4)\n\n{\n  byte bVar1;\n  ulonglong uVar2;\n  byte *pbVar3;\n  uint uVar4;\n  uint uVar5;\n  undefined4 uVar6;\n  uint uVar7;\n  uint uVar8;\n  byte *pbVar9;\n  int iVar10;\n  uint local_24;\n  int local_20;\n  \n  pbVar3 = (byte *)FUN_0004eb80(param_1,param_2);\n  if (pbVar3 != (byte *)0x0) {\n    bVar1 = *pbVar3;\n    if ((byte)(bVar1 - 0x30) < 10) {\n      uVar4 = 0;\n      uVar8 = 0;\n      iVar10 = 0;\n      do {\n        uVar2 = (ulonglong)uVar4;\n        uVar5 = (uint)(uVar2 * 10);\n        uVar7 = bVar1 - 0x30;\n        uVar4 = uVar5 + uVar7;\n        uVar8 = (int)(uVar2 * 10 >> 0x20) + uVar8 * 10 + ((int)uVar7 >> 0x1f) +\n                (uint)CARRY4(uVar5,uVar7);\n        iVar10 = iVar10 + 1;\n        bVar1 = pbVar3[iVar10];\n        pbVar9 = pbVar3 + iVar10;\n      } while ((byte)(bVar1 - 0x30) < 10);\n    }\n    else {\n      uVar4 = 0;\n      uVar8 = 0;\n      iVar10 = 0;\n      pbVar9 = pbVar3;\n    }\n    *param_3 = uVar4;\n    param_3[1] = uVar8;\n    bVar1 = *pbVar9;\n    while (bVar1 == 0x20) {\n      iVar10 = iVar10 + 1;\n      bVar1 = pbVar3[iVar10];\n    }\n    local_24 = 1;\n    local_20 = 0;\n    if (bVar1 == 0x2d) {\n      iVar10 = iVar10 + 1;\n      local_24 = 0xffffffff;\n      local_20 = -1;\n    }\n    bVar1 = pbVar3[iVar10];\n    pbVar3 = pbVar3 + iVar10 + 1;\n    if ((byte)(bVar1 - 0x30) < 10) {\n      uVar4 = 0;\n      iVar10 = 0;\n      do {\n        uVar5 = bVar1 - 0x30;\n        uVar2 = (ulonglong)uVar4;\n        uVar8 = (uint)(uVar2 * 10);\n        uVar4 = uVar8 + uVar5;\n        bVar1 = *pbVar3;\n        iVar10 = (int)(uVar2 * 10 >> 0x20) + iVar10 * 10 + ((int)uVar5 >> 0x1f) +\n                 (uint)CARRY4(uVar8,uVar5);\n        pbVar3 = pbVar3 + 1;\n      } while ((byte)(bVar1 - 0x30) < 10);\n      uVar6 = (undefined4)((ulonglong)local_24 * (ulonglong)uVar4);\n      iVar10 = (int)((ulonglong)local_24 * (ulonglong)uVar4 >> 0x20) +\n               local_24 * iVar10 + local_20 * uVar4;\n    }\n    else {\n      uVar6 = 0;\n      iVar10 = 0;\n    }\n    *param_4 = uVar6;\n    param_4[1] = iVar10;\n  }\n  return;\n}" (primitive_type "void") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_0004ebc0(undefined4 param_1,undefined4 param_2,uint *param_3,undefined4 *param_4)" (identifier "FUN_0004ebc0") (parameter_list "(undefined4 param_1,undefined4 param_2,uint *param_3,undefined4 *param_4)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "uint *param_3" (type_identifier "uint") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) (, ",") (parameter_declaration "undefined4 *param_4" (type_identifier "undefined4") (pointer_declarator "*param_4" (* "*") (identifier "param_4"))) () ")"))) (compound_statement "{\n  byte bVar1;\n  ulonglong uVar2;\n  byte *pbVar3;\n  uint uVar4;\n  uint uVar5;\n  undefined4 uVar6;\n  uint uVar7;\n  uint uVar8;\n  byte *pbVar9;\n  int iVar10;\n  uint local_24;\n  int local_20;\n  \n  pbVar3 = (byte *)FUN_0004eb80(param_1,param_2);\n  if (pbVar3 != (byte *)0x0) {\n    bVar1 = *pbVar3;\n    if ((byte)(bVar1 - 0x30) < 10) {\n      uVar4 = 0;\n      uVar8 = 0;\n      iVar10 = 0;\n      do {\n        uVar2 = (ulonglong)uVar4;\n        uVar5 = (uint)(uVar2 * 10);\n        uVar7 = bVar1 - 0x30;\n        uVar4 = uVar5 + uVar7;\n        uVar8 = (int)(uVar2 * 10 >> 0x20) + uVar8 * 10 + ((int)uVar7 >> 0x1f) +\n                (uint)CARRY4(uVar5,uVar7);\n        iVar10 = iVar10 + 1;\n        bVar1 = pbVar3[iVar10];\n        pbVar9 = pbVar3 + iVar10;\n      } while ((byte)(bVar1 - 0x30) < 10);\n    }\n    else {\n      uVar4 = 0;\n      uVar8 = 0;\n      iVar10 = 0;\n      pbVar9 = pbVar3;\n    }\n    *param_3 = uVar4;\n    param_3[1] = uVar8;\n    bVar1 = *pbVar9;\n    while (bVar1 == 0x20) {\n      iVar10 = iVar10 + 1;\n      bVar1 = pbVar3[iVar10];\n    }\n    local_24 = 1;\n    local_20 = 0;\n    if (bVar1 == 0x2d) {\n      iVar10 = iVar10 + 1;\n      local_24 = 0xffffffff;\n      local_20 = -1;\n    }\n    bVar1 = pbVar3[iVar10];\n    pbVar3 = pbVar3 + iVar10 + 1;\n    if ((byte)(bVar1 - 0x30) < 10) {\n      uVar4 = 0;\n      iVar10 = 0;\n      do {\n        uVar5 = bVar1 - 0x30;\n        uVar2 = (ulonglong)uVar4;\n        uVar8 = (uint)(uVar2 * 10);\n        uVar4 = uVar8 + uVar5;\n        bVar1 = *pbVar3;\n        iVar10 = (int)(uVar2 * 10 >> 0x20) + iVar10 * 10 + ((int)uVar5 >> 0x1f) +\n                 (uint)CARRY4(uVar8,uVar5);\n        pbVar3 = pbVar3 + 1;\n      } while ((byte)(bVar1 - 0x30) < 10);\n      uVar6 = (undefined4)((ulonglong)local_24 * (ulonglong)uVar4);\n      iVar10 = (int)((ulonglong)local_24 * (ulonglong)uVar4 >> 0x20) +\n               local_24 * iVar10 + local_20 * uVar4;\n    }\n    else {\n      uVar6 = 0;\n      iVar10 = 0;\n    }\n    *param_4 = uVar6;\n    param_4[1] = iVar10;\n  }\n  return;\n}" ({ "{") (declaration "byte bVar1;" (type_identifier "byte") (identifier "bVar1") (; ";")) (declaration "ulonglong uVar2;" (type_identifier "ulonglong") (identifier "uVar2") (; ";")) (declaration "byte *pbVar3;" (type_identifier "byte") (pointer_declarator "*pbVar3" (* "*") (identifier "pbVar3")) (; ";")) (declaration "uint uVar4;" (type_identifier "uint") (identifier "uVar4") (; ";")) (declaration "uint uVar5;" (type_identifier "uint") (identifier "uVar5") (; ";")) (declaration "undefined4 uVar6;" (type_identifier "undefined4") (identifier "uVar6") (; ";")) (declaration "uint uVar7;" (type_identifier "uint") (identifier "uVar7") (; ";")) (declaration "uint uVar8;" (type_identifier "uint") (identifier "uVar8") (; ";")) (declaration "byte *pbVar9;" (type_identifier "byte") (pointer_declarator "*pbVar9" (* "*") (identifier "pbVar9")) (; ";")) (declaration "int iVar10;" (primitive_type "int") (identifier "iVar10") (; ";")) (declaration "uint local_24;" (type_identifier "uint") (identifier "local_24") (; ";")) (declaration "int local_20;" (primitive_type "int") (identifier "local_20") (; ";")) (expression_statement "pbVar3 = (byte *)FUN_0004eb80(param_1,param_2);" (assignment_expression "pbVar3 = (byte *)FUN_0004eb80(param_1,param_2)" (identifier "pbVar3") (= "=") (cast_expression "(byte *)FUN_0004eb80(param_1,param_2)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_0004eb80(param_1,param_2)" (identifier "FUN_0004eb80") (argument_list "(param_1,param_2)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") () ")"))))) (; ";")) (if_statement "if (pbVar3 != (byte *)0x0) {\n    bVar1 = *pbVar3;\n    if ((byte)(bVar1 - 0x30) < 10) {\n      uVar4 = 0;\n      uVar8 = 0;\n      iVar10 = 0;\n      do {\n        uVar2 = (ulonglong)uVar4;\n        uVar5 = (uint)(uVar2 * 10);\n        uVar7 = bVar1 - 0x30;\n        uVar4 = uVar5 + uVar7;\n        uVar8 = (int)(uVar2 * 10 >> 0x20) + uVar8 * 10 + ((int)uVar7 >> 0x1f) +\n                (uint)CARRY4(uVar5,uVar7);\n        iVar10 = iVar10 + 1;\n        bVar1 = pbVar3[iVar10];\n        pbVar9 = pbVar3 + iVar10;\n      } while ((byte)(bVar1 - 0x30) < 10);\n    }\n    else {\n      uVar4 = 0;\n      uVar8 = 0;\n      iVar10 = 0;\n      pbVar9 = pbVar3;\n    }\n    *param_3 = uVar4;\n    param_3[1] = uVar8;\n    bVar1 = *pbVar9;\n    while (bVar1 == 0x20) {\n      iVar10 = iVar10 + 1;\n      bVar1 = pbVar3[iVar10];\n    }\n    local_24 = 1;\n    local_20 = 0;\n    if (bVar1 == 0x2d) {\n      iVar10 = iVar10 + 1;\n      local_24 = 0xffffffff;\n      local_20 = -1;\n    }\n    bVar1 = pbVar3[iVar10];\n    pbVar3 = pbVar3 + iVar10 + 1;\n    if ((byte)(bVar1 - 0x30) < 10) {\n      uVar4 = 0;\n      iVar10 = 0;\n      do {\n        uVar5 = bVar1 - 0x30;\n        uVar2 = (ulonglong)uVar4;\n        uVar8 = (uint)(uVar2 * 10);\n        uVar4 = uVar8 + uVar5;\n        bVar1 = *pbVar3;\n        iVar10 = (int)(uVar2 * 10 >> 0x20) + iVar10 * 10 + ((int)uVar5 >> 0x1f) +\n                 (uint)CARRY4(uVar8,uVar5);\n        pbVar3 = pbVar3 + 1;\n      } while ((byte)(bVar1 - 0x30) < 10);\n      uVar6 = (undefined4)((ulonglong)local_24 * (ulonglong)uVar4);\n      iVar10 = (int)((ulonglong)local_24 * (ulonglong)uVar4 >> 0x20) +\n               local_24 * iVar10 + local_20 * uVar4;\n    }\n    else {\n      uVar6 = 0;\n      iVar10 = 0;\n    }\n    *param_4 = uVar6;\n    param_4[1] = iVar10;\n  }" (if "if") (parenthesized_expression "(pbVar3 != (byte *)0x0)" (( "(") (binary_expression "pbVar3 != (byte *)0x0" (identifier "pbVar3") (!= "!=") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    bVar1 = *pbVar3;\n    if ((byte)(bVar1 - 0x30) < 10) {\n      uVar4 = 0;\n      uVar8 = 0;\n      iVar10 = 0;\n      do {\n        uVar2 = (ulonglong)uVar4;\n        uVar5 = (uint)(uVar2 * 10);\n        uVar7 = bVar1 - 0x30;\n        uVar4 = uVar5 + uVar7;\n        uVar8 = (int)(uVar2 * 10 >> 0x20) + uVar8 * 10 + ((int)uVar7 >> 0x1f) +\n                (uint)CARRY4(uVar5,uVar7);\n        iVar10 = iVar10 + 1;\n        bVar1 = pbVar3[iVar10];\n        pbVar9 = pbVar3 + iVar10;\n      } while ((byte)(bVar1 - 0x30) < 10);\n    }\n    else {\n      uVar4 = 0;\n      uVar8 = 0;\n      iVar10 = 0;\n      pbVar9 = pbVar3;\n    }\n    *param_3 = uVar4;\n    param_3[1] = uVar8;\n    bVar1 = *pbVar9;\n    while (bVar1 == 0x20) {\n      iVar10 = iVar10 + 1;\n      bVar1 = pbVar3[iVar10];\n    }\n    local_24 = 1;\n    local_20 = 0;\n    if (bVar1 == 0x2d) {\n      iVar10 = iVar10 + 1;\n      local_24 = 0xffffffff;\n      local_20 = -1;\n    }\n    bVar1 = pbVar3[iVar10];\n    pbVar3 = pbVar3 + iVar10 + 1;\n    if ((byte)(bVar1 - 0x30) < 10) {\n      uVar4 = 0;\n      iVar10 = 0;\n      do {\n        uVar5 = bVar1 - 0x30;\n        uVar2 = (ulonglong)uVar4;\n        uVar8 = (uint)(uVar2 * 10);\n        uVar4 = uVar8 + uVar5;\n        bVar1 = *pbVar3;\n        iVar10 = (int)(uVar2 * 10 >> 0x20) + iVar10 * 10 + ((int)uVar5 >> 0x1f) +\n                 (uint)CARRY4(uVar8,uVar5);\n        pbVar3 = pbVar3 + 1;\n      } while ((byte)(bVar1 - 0x30) < 10);\n      uVar6 = (undefined4)((ulonglong)local_24 * (ulonglong)uVar4);\n      iVar10 = (int)((ulonglong)local_24 * (ulonglong)uVar4 >> 0x20) +\n               local_24 * iVar10 + local_20 * uVar4;\n    }\n    else {\n      uVar6 = 0;\n      iVar10 = 0;\n    }\n    *param_4 = uVar6;\n    param_4[1] = iVar10;\n  }" ({ "{") (expression_statement "bVar1 = *pbVar3;" (assignment_expression "bVar1 = *pbVar3" (identifier "bVar1") (= "=") (pointer_expression "*pbVar3" (* "*") (identifier "pbVar3"))) (; ";")) (if_statement "if ((byte)(bVar1 - 0x30) < 10) {\n      uVar4 = 0;\n      uVar8 = 0;\n      iVar10 = 0;\n      do {\n        uVar2 = (ulonglong)uVar4;\n        uVar5 = (uint)(uVar2 * 10);\n        uVar7 = bVar1 - 0x30;\n        uVar4 = uVar5 + uVar7;\n        uVar8 = (int)(uVar2 * 10 >> 0x20) + uVar8 * 10 + ((int)uVar7 >> 0x1f) +\n                (uint)CARRY4(uVar5,uVar7);\n        iVar10 = iVar10 + 1;\n        bVar1 = pbVar3[iVar10];\n        pbVar9 = pbVar3 + iVar10;\n      } while ((byte)(bVar1 - 0x30) < 10);\n    }\n    else {\n      uVar4 = 0;\n      uVar8 = 0;\n      iVar10 = 0;\n      pbVar9 = pbVar3;\n    }" (if "if") (parenthesized_expression "((byte)(bVar1 - 0x30) < 10)" (( "(") (binary_expression "(byte)(bVar1 - 0x30) < 10" (call_expression "(byte)(bVar1 - 0x30)" (parenthesized_expression "(byte)" (( "(") (identifier "byte") () ")")) (argument_list "(bVar1 - 0x30)" (( "(") (binary_expression "bVar1 - 0x30" (identifier "bVar1") (- "-") (number_literal "0x30")) () ")"))) (< "<") (number_literal "10")) () ")")) (compound_statement "{\n      uVar4 = 0;\n      uVar8 = 0;\n      iVar10 = 0;\n      do {\n        uVar2 = (ulonglong)uVar4;\n        uVar5 = (uint)(uVar2 * 10);\n        uVar7 = bVar1 - 0x30;\n        uVar4 = uVar5 + uVar7;\n        uVar8 = (int)(uVar2 * 10 >> 0x20) + uVar8 * 10 + ((int)uVar7 >> 0x1f) +\n                (uint)CARRY4(uVar5,uVar7);\n        iVar10 = iVar10 + 1;\n        bVar1 = pbVar3[iVar10];\n        pbVar9 = pbVar3 + iVar10;\n      } while ((byte)(bVar1 - 0x30) < 10);\n    }" ({ "{") (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" (identifier "uVar4") (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar8 = 0;" (assignment_expression "uVar8 = 0" (identifier "uVar8") (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar10 = 0;" (assignment_expression "iVar10 = 0" (identifier "iVar10") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n        uVar2 = (ulonglong)uVar4;\n        uVar5 = (uint)(uVar2 * 10);\n        uVar7 = bVar1 - 0x30;\n        uVar4 = uVar5 + uVar7;\n        uVar8 = (int)(uVar2 * 10 >> 0x20) + uVar8 * 10 + ((int)uVar7 >> 0x1f) +\n                (uint)CARRY4(uVar5,uVar7);\n        iVar10 = iVar10 + 1;\n        bVar1 = pbVar3[iVar10];\n        pbVar9 = pbVar3 + iVar10;\n      } while ((byte)(bVar1 - 0x30) < 10);" (do "do") (compound_statement "{\n        uVar2 = (ulonglong)uVar4;\n        uVar5 = (uint)(uVar2 * 10);\n        uVar7 = bVar1 - 0x30;\n        uVar4 = uVar5 + uVar7;\n        uVar8 = (int)(uVar2 * 10 >> 0x20) + uVar8 * 10 + ((int)uVar7 >> 0x1f) +\n                (uint)CARRY4(uVar5,uVar7);\n        iVar10 = iVar10 + 1;\n        bVar1 = pbVar3[iVar10];\n        pbVar9 = pbVar3 + iVar10;\n      }" ({ "{") (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 "uVar7 = bVar1 - 0x30;" (assignment_expression "uVar7 = bVar1 - 0x30" (identifier "uVar7") (= "=") (binary_expression "bVar1 - 0x30" (identifier "bVar1") (- "-") (number_literal "0x30"))) (; ";")) (expression_statement "uVar4 = uVar5 + uVar7;" (assignment_expression "uVar4 = uVar5 + uVar7" (identifier "uVar4") (= "=") (binary_expression "uVar5 + uVar7" (identifier "uVar5") (+ "+") (identifier "uVar7"))) (; ";")) (expression_statement "uVar8 = (int)(uVar2 * 10 >> 0x20) + uVar8 * 10 + ((int)uVar7 >> 0x1f) +\n                (uint)CARRY4(uVar5,uVar7);" (assignment_expression "uVar8 = (int)(uVar2 * 10 >> 0x20) + uVar8 * 10 + ((int)uVar7 >> 0x1f) +\n                (uint)CARRY4(uVar5,uVar7)" (identifier "uVar8") (= "=") (binary_expression "(int)(uVar2 * 10 >> 0x20) + uVar8 * 10 + ((int)uVar7 >> 0x1f) +\n                (uint)CARRY4(uVar5,uVar7)" (binary_expression "(int)(uVar2 * 10 >> 0x20) + uVar8 * 10 + ((int)uVar7 >> 0x1f)" (binary_expression "(int)(uVar2 * 10 >> 0x20) + uVar8 * 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 "uVar8 * 10" (identifier "uVar8") (* "*") (number_literal "10"))) (+ "+") (parenthesized_expression "((int)uVar7 >> 0x1f)" (( "(") (binary_expression "(int)uVar7 >> 0x1f" (cast_expression "(int)uVar7" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar7")) (>> ">>") (number_literal "0x1f")) () ")"))) (+ "+") (cast_expression "(uint)CARRY4(uVar5,uVar7)" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (call_expression "CARRY4(uVar5,uVar7)" (identifier "CARRY4") (argument_list "(uVar5,uVar7)" (( "(") (identifier "uVar5") (, ",") (identifier "uVar7") () ")")))))) (; ";")) (expression_statement "iVar10 = iVar10 + 1;" (assignment_expression "iVar10 = iVar10 + 1" (identifier "iVar10") (= "=") (binary_expression "iVar10 + 1" (identifier "iVar10") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "bVar1 = pbVar3[iVar10];" (assignment_expression "bVar1 = pbVar3[iVar10]" (identifier "bVar1") (= "=") (subscript_expression "pbVar3[iVar10]" (identifier "pbVar3") ([ "[") (identifier "iVar10") (] "]"))) (; ";")) (expression_statement "pbVar9 = pbVar3 + iVar10;" (assignment_expression "pbVar9 = pbVar3 + iVar10" (identifier "pbVar9") (= "=") (binary_expression "pbVar3 + iVar10" (identifier "pbVar3") (+ "+") (identifier "iVar10"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "((byte)(bVar1 - 0x30) < 10)" (( "(") (binary_expression "(byte)(bVar1 - 0x30) < 10" (call_expression "(byte)(bVar1 - 0x30)" (parenthesized_expression "(byte)" (( "(") (identifier "byte") () ")")) (argument_list "(bVar1 - 0x30)" (( "(") (binary_expression "bVar1 - 0x30" (identifier "bVar1") (- "-") (number_literal "0x30")) () ")"))) (< "<") (number_literal "10")) () ")")) (; ";")) (} "}")) (else_clause "else {\n      uVar4 = 0;\n      uVar8 = 0;\n      iVar10 = 0;\n      pbVar9 = pbVar3;\n    }" (else "else") (compound_statement "{\n      uVar4 = 0;\n      uVar8 = 0;\n      iVar10 = 0;\n      pbVar9 = pbVar3;\n    }" ({ "{") (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" (identifier "uVar4") (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar8 = 0;" (assignment_expression "uVar8 = 0" (identifier "uVar8") (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar10 = 0;" (assignment_expression "iVar10 = 0" (identifier "iVar10") (= "=") (number_literal "0")) (; ";")) (expression_statement "pbVar9 = pbVar3;" (assignment_expression "pbVar9 = pbVar3" (identifier "pbVar9") (= "=") (identifier "pbVar3")) (; ";")) (} "}")))) (expression_statement "*param_3 = uVar4;" (assignment_expression "*param_3 = uVar4" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (= "=") (identifier "uVar4")) (; ";")) (expression_statement "param_3[1] = uVar8;" (assignment_expression "param_3[1] = uVar8" (subscript_expression "param_3[1]" (identifier "param_3") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "uVar8")) (; ";")) (expression_statement "bVar1 = *pbVar9;" (assignment_expression "bVar1 = *pbVar9" (identifier "bVar1") (= "=") (pointer_expression "*pbVar9" (* "*") (identifier "pbVar9"))) (; ";")) (while_statement "while (bVar1 == 0x20) {\n      iVar10 = iVar10 + 1;\n      bVar1 = pbVar3[iVar10];\n    }" (while "while") (parenthesized_expression "(bVar1 == 0x20)" (( "(") (binary_expression "bVar1 == 0x20" (identifier "bVar1") (== "==") (number_literal "0x20")) () ")")) (compound_statement "{\n      iVar10 = iVar10 + 1;\n      bVar1 = pbVar3[iVar10];\n    }" ({ "{") (expression_statement "iVar10 = iVar10 + 1;" (assignment_expression "iVar10 = iVar10 + 1" (identifier "iVar10") (= "=") (binary_expression "iVar10 + 1" (identifier "iVar10") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "bVar1 = pbVar3[iVar10];" (assignment_expression "bVar1 = pbVar3[iVar10]" (identifier "bVar1") (= "=") (subscript_expression "pbVar3[iVar10]" (identifier "pbVar3") ([ "[") (identifier "iVar10") (] "]"))) (; ";")) (} "}"))) (expression_statement "local_24 = 1;" (assignment_expression "local_24 = 1" (identifier "local_24") (= "=") (number_literal "1")) (; ";")) (expression_statement "local_20 = 0;" (assignment_expression "local_20 = 0" (identifier "local_20") (= "=") (number_literal "0")) (; ";")) (if_statement "if (bVar1 == 0x2d) {\n      iVar10 = iVar10 + 1;\n      local_24 = 0xffffffff;\n      local_20 = -1;\n    }" (if "if") (parenthesized_expression "(bVar1 == 0x2d)" (( "(") (binary_expression "bVar1 == 0x2d" (identifier "bVar1") (== "==") (number_literal "0x2d")) () ")")) (compound_statement "{\n      iVar10 = iVar10 + 1;\n      local_24 = 0xffffffff;\n      local_20 = -1;\n    }" ({ "{") (expression_statement "iVar10 = iVar10 + 1;" (assignment_expression "iVar10 = iVar10 + 1" (identifier "iVar10") (= "=") (binary_expression "iVar10 + 1" (identifier "iVar10") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "local_24 = 0xffffffff;" (assignment_expression "local_24 = 0xffffffff" (identifier "local_24") (= "=") (number_literal "0xffffffff")) (; ";")) (expression_statement "local_20 = -1;" (assignment_expression "local_20 = -1" (identifier "local_20") (= "=") (number_literal "-1")) (; ";")) (} "}"))) (expression_statement "bVar1 = pbVar3[iVar10];" (assignment_expression "bVar1 = pbVar3[iVar10]" (identifier "bVar1") (= "=") (subscript_expression "pbVar3[iVar10]" (identifier "pbVar3") ([ "[") (identifier "iVar10") (] "]"))) (; ";")) (expression_statement "pbVar3 = pbVar3 + iVar10 + 1;" (assignment_expression "pbVar3 = pbVar3 + iVar10 + 1" (identifier "pbVar3") (= "=") (binary_expression "pbVar3 + iVar10 + 1" (binary_expression "pbVar3 + iVar10" (identifier "pbVar3") (+ "+") (identifier "iVar10")) (+ "+") (number_literal "1"))) (; ";")) (if_statement "if ((byte)(bVar1 - 0x30) < 10) {\n      uVar4 = 0;\n      iVar10 = 0;\n      do {\n        uVar5 = bVar1 - 0x30;\n        uVar2 = (ulonglong)uVar4;\n        uVar8 = (uint)(uVar2 * 10);\n        uVar4 = uVar8 + uVar5;\n        bVar1 = *pbVar3;\n        iVar10 = (int)(uVar2 * 10 >> 0x20) + iVar10 * 10 + ((int)uVar5 >> 0x1f) +\n                 (uint)CARRY4(uVar8,uVar5);\n        pbVar3 = pbVar3 + 1;\n      } while ((byte)(bVar1 - 0x30) < 10);\n      uVar6 = (undefined4)((ulonglong)local_24 * (ulonglong)uVar4);\n      iVar10 = (int)((ulonglong)local_24 * (ulonglong)uVar4 >> 0x20) +\n               local_24 * iVar10 + local_20 * uVar4;\n    }\n    else {\n      uVar6 = 0;\n      iVar10 = 0;\n    }" (if "if") (parenthesized_expression "((byte)(bVar1 - 0x30) < 10)" (( "(") (binary_expression "(byte)(bVar1 - 0x30) < 10" (call_expression "(byte)(bVar1 - 0x30)" (parenthesized_expression "(byte)" (( "(") (identifier "byte") () ")")) (argument_list "(bVar1 - 0x30)" (( "(") (binary_expression "bVar1 - 0x30" (identifier "bVar1") (- "-") (number_literal "0x30")) () ")"))) (< "<") (number_literal "10")) () ")")) (compound_statement "{\n      uVar4 = 0;\n      iVar10 = 0;\n      do {\n        uVar5 = bVar1 - 0x30;\n        uVar2 = (ulonglong)uVar4;\n        uVar8 = (uint)(uVar2 * 10);\n        uVar4 = uVar8 + uVar5;\n        bVar1 = *pbVar3;\n        iVar10 = (int)(uVar2 * 10 >> 0x20) + iVar10 * 10 + ((int)uVar5 >> 0x1f) +\n                 (uint)CARRY4(uVar8,uVar5);\n        pbVar3 = pbVar3 + 1;\n      } while ((byte)(bVar1 - 0x30) < 10);\n      uVar6 = (undefined4)((ulonglong)local_24 * (ulonglong)uVar4);\n      iVar10 = (int)((ulonglong)local_24 * (ulonglong)uVar4 >> 0x20) +\n               local_24 * iVar10 + local_20 * uVar4;\n    }" ({ "{") (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" (identifier "uVar4") (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar10 = 0;" (assignment_expression "iVar10 = 0" (identifier "iVar10") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n        uVar5 = bVar1 - 0x30;\n        uVar2 = (ulonglong)uVar4;\n        uVar8 = (uint)(uVar2 * 10);\n        uVar4 = uVar8 + uVar5;\n        bVar1 = *pbVar3;\n        iVar10 = (int)(uVar2 * 10 >> 0x20) + iVar10 * 10 + ((int)uVar5 >> 0x1f) +\n                 (uint)CARRY4(uVar8,uVar5);\n        pbVar3 = pbVar3 + 1;\n      } while ((byte)(bVar1 - 0x30) < 10);" (do "do") (compound_statement "{\n        uVar5 = bVar1 - 0x30;\n        uVar2 = (ulonglong)uVar4;\n        uVar8 = (uint)(uVar2 * 10);\n        uVar4 = uVar8 + uVar5;\n        bVar1 = *pbVar3;\n        iVar10 = (int)(uVar2 * 10 >> 0x20) + iVar10 * 10 + ((int)uVar5 >> 0x1f) +\n                 (uint)CARRY4(uVar8,uVar5);\n        pbVar3 = pbVar3 + 1;\n      }" ({ "{") (expression_statement "uVar5 = bVar1 - 0x30;" (assignment_expression "uVar5 = bVar1 - 0x30" (identifier "uVar5") (= "=") (binary_expression "bVar1 - 0x30" (identifier "bVar1") (- "-") (number_literal "0x30"))) (; ";")) (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 "uVar8 = (uint)(uVar2 * 10);" (assignment_expression "uVar8 = (uint)(uVar2 * 10)" (identifier "uVar8") (= "=") (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 = uVar8 + uVar5;" (assignment_expression "uVar4 = uVar8 + uVar5" (identifier "uVar4") (= "=") (binary_expression "uVar8 + uVar5" (identifier "uVar8") (+ "+") (identifier "uVar5"))) (; ";")) (expression_statement "bVar1 = *pbVar3;" (assignment_expression "bVar1 = *pbVar3" (identifier "bVar1") (= "=") (pointer_expression "*pbVar3" (* "*") (identifier "pbVar3"))) (; ";")) (expression_statement "iVar10 = (int)(uVar2 * 10 >> 0x20) + iVar10 * 10 + ((int)uVar5 >> 0x1f) +\n                 (uint)CARRY4(uVar8,uVar5);" (assignment_expression "iVar10 = (int)(uVar2 * 10 >> 0x20) + iVar10 * 10 + ((int)uVar5 >> 0x1f) +\n                 (uint)CARRY4(uVar8,uVar5)" (identifier "iVar10") (= "=") (binary_expression "(int)(uVar2 * 10 >> 0x20) + iVar10 * 10 + ((int)uVar5 >> 0x1f) +\n                 (uint)CARRY4(uVar8,uVar5)" (binary_expression "(int)(uVar2 * 10 >> 0x20) + iVar10 * 10 + ((int)uVar5 >> 0x1f)" (binary_expression "(int)(uVar2 * 10 >> 0x20) + iVar10 * 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 "iVar10 * 10" (identifier "iVar10") (* "*") (number_literal "10"))) (+ "+") (parenthesized_expression "((int)uVar5 >> 0x1f)" (( "(") (binary_expression "(int)uVar5 >> 0x1f" (cast_expression "(int)uVar5" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar5")) (>> ">>") (number_literal "0x1f")) () ")"))) (+ "+") (cast_expression "(uint)CARRY4(uVar8,uVar5)" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (call_expression "CARRY4(uVar8,uVar5)" (identifier "CARRY4") (argument_list "(uVar8,uVar5)" (( "(") (identifier "uVar8") (, ",") (identifier "uVar5") () ")")))))) (; ";")) (expression_statement "pbVar3 = pbVar3 + 1;" (assignment_expression "pbVar3 = pbVar3 + 1" (identifier "pbVar3") (= "=") (binary_expression "pbVar3 + 1" (identifier "pbVar3") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "((byte)(bVar1 - 0x30) < 10)" (( "(") (binary_expression "(byte)(bVar1 - 0x30) < 10" (call_expression "(byte)(bVar1 - 0x30)" (parenthesized_expression "(byte)" (( "(") (identifier "byte") () ")")) (argument_list "(bVar1 - 0x30)" (( "(") (binary_expression "bVar1 - 0x30" (identifier "bVar1") (- "-") (number_literal "0x30")) () ")"))) (< "<") (number_literal "10")) () ")")) (; ";")) (expression_statement "uVar6 = (undefined4)((ulonglong)local_24 * (ulonglong)uVar4);" (assignment_expression "uVar6 = (undefined4)((ulonglong)local_24 * (ulonglong)uVar4)" (identifier "uVar6") (= "=") (call_expression "(undefined4)((ulonglong)local_24 * (ulonglong)uVar4)" (parenthesized_expression "(undefined4)" (( "(") (identifier "undefined4") () ")")) (argument_list "((ulonglong)local_24 * (ulonglong)uVar4)" (( "(") (binary_expression "(ulonglong)local_24 * (ulonglong)uVar4" (cast_expression "(ulonglong)local_24" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (identifier "local_24")) (* "*") (cast_expression "(ulonglong)uVar4" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (identifier "uVar4"))) () ")")))) (; ";")) (expression_statement "iVar10 = (int)((ulonglong)local_24 * (ulonglong)uVar4 >> 0x20) +\n               local_24 * iVar10 + local_20 * uVar4;" (assignment_expression "iVar10 = (int)((ulonglong)local_24 * (ulonglong)uVar4 >> 0x20) +\n               local_24 * iVar10 + local_20 * uVar4" (identifier "iVar10") (= "=") (binary_expression "(int)((ulonglong)local_24 * (ulonglong)uVar4 >> 0x20) +\n               local_24 * iVar10 + local_20 * uVar4" (binary_expression "(int)((ulonglong)local_24 * (ulonglong)uVar4 >> 0x20) +\n               local_24 * iVar10" (cast_expression "(int)((ulonglong)local_24 * (ulonglong)uVar4 >> 0x20)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "((ulonglong)local_24 * (ulonglong)uVar4 >> 0x20)" (( "(") (binary_expression "(ulonglong)local_24 * (ulonglong)uVar4 >> 0x20" (binary_expression "(ulonglong)local_24 * (ulonglong)uVar4" (cast_expression "(ulonglong)local_24" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (identifier "local_24")) (* "*") (cast_expression "(ulonglong)uVar4" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (identifier "uVar4"))) (>> ">>") (number_literal "0x20")) () ")"))) (+ "+") (binary_expression "local_24 * iVar10" (identifier "local_24") (* "*") (identifier "iVar10"))) (+ "+") (binary_expression "local_20 * uVar4" (identifier "local_20") (* "*") (identifier "uVar4")))) (; ";")) (} "}")) (else_clause "else {\n      uVar6 = 0;\n      iVar10 = 0;\n    }" (else "else") (compound_statement "{\n      uVar6 = 0;\n      iVar10 = 0;\n    }" ({ "{") (expression_statement "uVar6 = 0;" (assignment_expression "uVar6 = 0" (identifier "uVar6") (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar10 = 0;" (assignment_expression "iVar10 = 0" (identifier "iVar10") (= "=") (number_literal "0")) (; ";")) (} "}")))) (expression_statement "*param_4 = uVar6;" (assignment_expression "*param_4 = uVar6" (pointer_expression "*param_4" (* "*") (identifier "param_4")) (= "=") (identifier "uVar6")) (; ";")) (expression_statement "param_4[1] = iVar10;" (assignment_expression "param_4[1] = iVar10" (subscript_expression "param_4[1]" (identifier "param_4") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "iVar10")) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

void __regparm3 function_1(type_1 *pStmt,int iCol,type_2 *piEndBlock,type_2 *pnByte)

{
  type_3 var_3;
  type_4 var_4;
  type_3 *var_2;
  type_5 var_12;
  type_5 var_5;
  type_6 uVar6;
  type_5 var_6;
  int var_7;
  type_3 *pbVar9;
  int var_9;
  type_5 var_10;
  int var_11;
  
  var_2 = var_1(pStmt,iCol);
  if (var_2 != (type_3 *)0x0) {
    var_3 = *var_2;
    if ((type_3)(var_3 - 0x30) < 10) {
      var_12 = 0;
      var_7 = 0;
      var_9 = 0;
      do {
        var_4 = (type_4)var_12;
        var_5 = (type_5)(var_4 * 10);
        var_6 = var_3 - 0x30;
        var_12 = var_5 + var_6;
        var_7 = (int)(var_4 * 10 >> 0x20) + var_7 * 10 + ((int)var_6 >> 0x1f) +
                (type_5)var_8(var_5,var_6);
        var_9 = var_9 + 1;
        var_3 = var_2[var_9];
        pbVar9 = var_2 + var_9;
      } while ((type_3)(var_3 - 0x30) < 10);
    }
    else {
      var_12 = 0;
      var_7 = 0;
      var_9 = 0;
      pbVar9 = var_2;
    }
    *(type_5 *)piEndBlock = var_12;
    *(int *)((int)piEndBlock + 4) = var_7;
    var_3 = *pbVar9;
    while (var_3 == 0x20) {
      var_9 = var_9 + 1;
      var_3 = var_2[var_9];
    }
    var_10 = 1;
    var_11 = 0;
    if (var_3 == 0x2d) {
      var_9 = var_9 + 1;
      var_10 = 0xffffffff;
      var_11 = -1;
    }
    var_3 = var_2[var_9];
    var_2 = var_2 + var_9 + 1;
    if ((type_3)(var_3 - 0x30) < 10) {
      var_12 = 0;
      var_9 = 0;
      do {
        var_6 = var_3 - 0x30;
        var_4 = (type_4)var_12;
        var_5 = (type_5)(var_4 * 10);
        var_12 = var_5 + var_6;
        var_3 = *var_2;
        var_9 = (int)(var_4 * 10 >> 0x20) + var_9 * 10 + ((int)var_6 >> 0x1f) +
                 (type_5)var_8(var_5,var_6);
        var_2 = var_2 + 1;
      } while ((type_3)(var_3 - 0x30) < 10);
      uVar6 = (type_6)((type_4)var_10 * (type_4)var_12);
      var_9 = (int)((type_4)var_10 * (type_4)var_12 >> 0x20) +
               var_10 * var_9 + var_11 * var_12;
    }
    else {
      uVar6 = 0;
      var_9 = 0;
    }
    *(type_6 *)pnByte = uVar6;
    *(int *)((int)pnByte + 4) = var_9;
  }
  return;
}


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

/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

void __regparm3
MASKED(undefined4 param_1,undefined4 param_2,uint *param_3,undefined4 *param_4)

{
  byte bVar1;
  ulonglong uVar2;
  byte *pbVar3;
  uint uVar4;
  uint uVar5;
  undefined4 uVar6;
  uint uVar7;
  uint uVar8;
  byte *pbVar9;
  int iVar10;
  uint local_24;
  int local_20;
  
  pbVar3 = (byte *)FUN_0004eb80(param_1,param_2);
  if (pbVar3 != (byte *)0x0) {
    bVar1 = *pbVar3;
    if ((byte)(bVar1 - 0x30) < 10) {
      uVar4 = 0;
      uVar8 = 0;
      iVar10 = 0;
      do {
        uVar2 = (ulonglong)uVar4;
        uVar5 = (uint)(uVar2 * 10);
        uVar7 = bVar1 - 0x30;
        uVar4 = uVar5 + uVar7;
        uVar8 = (int)(uVar2 * 10 >> 0x20) + uVar8 * 10 + ((int)uVar7 >> 0x1f) +
                (uint)CARRY4(uVar5,uVar7);
        iVar10 = iVar10 + 1;
        bVar1 = pbVar3[iVar10];
        pbVar9 = pbVar3 + iVar10;
      } while ((byte)(bVar1 - 0x30) < 10);
    }
    else {
      uVar4 = 0;
      uVar8 = 0;
      iVar10 = 0;
      pbVar9 = pbVar3;
    }
    *param_3 = uVar4;
    param_3[1] = uVar8;
    bVar1 = *pbVar9;
    while (bVar1 == 0x20) {
      iVar10 = iVar10 + 1;
      bVar1 = pbVar3[iVar10];
    }
    local_24 = 1;
    local_20 = 0;
    if (bVar1 == 0x2d) {
      iVar10 = iVar10 + 1;
      local_24 = 0xffffffff;
      local_20 = -1;
    }
    bVar1 = pbVar3[iVar10];
    pbVar3 = pbVar3 + iVar10 + 1;
    if ((byte)(bVar1 - 0x30) < 10) {
      uVar4 = 0;
      iVar10 = 0;
      do {
        uVar5 = bVar1 - 0x30;
        uVar2 = (ulonglong)uVar4;
        uVar8 = (uint)(uVar2 * 10);
        uVar4 = uVar8 + uVar5;
        bVar1 = *pbVar3;
        iVar10 = (int)(uVar2 * 10 >> 0x20) + iVar10 * 10 + ((int)uVar5 >> 0x1f) +
                 (uint)CARRY4(uVar8,uVar5);
        pbVar3 = pbVar3 + 1;
      } while ((byte)(bVar1 - 0x30) < 10);
      uVar6 = (undefined4)((ulonglong)local_24 * (ulonglong)uVar4);
      iVar10 = (int)((ulonglong)local_24 * (ulonglong)uVar4 >> 0x20) +
               local_24 * iVar10 + local_20 * uVar4;
    }
    else {
      uVar6 = 0;
      iVar10 = 0;
    }
    *param_4 = uVar6;
    param_4[1] = iVar10;
  }
  return;
}

