
/* WARNING: Unknown calling convention */

void btreeParseCellPtrIndex(MemPage *pPage,u8 *pCell,CellInfo *pInfo)

{
  byte *pbVar1;
  ushort uVar2;
  byte *pbVar3;
  byte *pbVar4;
  uint uVar5;
  
  pbVar3 = pCell + pPage->childPtrSize;
  uVar5 = (uint)*pbVar3;
  pbVar4 = pbVar3;
  if (0x7f < uVar5) {
    pbVar1 = pbVar3 + 8;
    pbVar4 = pbVar3 + 1;
    uVar5 = (uVar5 & 0x7f) << 7 | pbVar3[1] & 0x7f;
    if ((char)pbVar3[1] < '\0') {
      pbVar4 = pbVar3 + 2;
      uVar5 = uVar5 << 7 | pbVar3[2] & 0x7f;
      if ((pbVar4 < pbVar1) && ((char)pbVar3[2] < '\0')) {
        pbVar4 = pbVar3 + 3;
        uVar5 = uVar5 << 7 | pbVar3[3] & 0x7f;
        if ((pbVar4 < pbVar1) && ((char)pbVar3[3] < '\0')) {
          pbVar4 = pbVar3 + 4;
          uVar5 = uVar5 << 7 | pbVar3[4] & 0x7f;
          if ((pbVar4 < pbVar1) && ((char)pbVar3[4] < '\0')) {
            pbVar4 = pbVar3 + 5;
            uVar5 = uVar5 << 7 | pbVar3[5] & 0x7f;
            if ((pbVar4 < pbVar1) && ((char)pbVar3[5] < '\0')) {
              pbVar4 = pbVar3 + 6;
              uVar5 = uVar5 << 7 | pbVar3[6] & 0x7f;
              if ((pbVar4 < pbVar1) && ((char)pbVar3[6] < '\0')) {
                pbVar4 = pbVar3 + 7;
                uVar5 = uVar5 << 7 | pbVar3[7] & 0x7f;
                if ((pbVar4 < pbVar3 + 8) && ((char)pbVar3[7] < '\0')) {
                  uVar5 = uVar5 << 7 | pbVar3[8] & 0x7f;
                  pbVar4 = pbVar3 + 8;
                }
              }
            }
          }
        }
      }
    }
  }
  *(uint *)&pInfo->nKey = uVar5;
  *(undefined4 *)((int)&pInfo->nKey + 4) = 0;
  pInfo->nPayload = uVar5;
  pInfo->pPayload = pbVar4 + 1;
  if (pPage->maxLocal < uVar5) {
    btreeParseCellAdjustSizeForOverflow(pPage,pCell,pInfo);
    return;
  }
  pInfo->nLocal = (u16)uVar5;
  uVar2 = ((short)(pbVar4 + 1) - (short)pCell) + (u16)uVar5;
  if (uVar2 < 4) {
    uVar2 = 4;
  }
  pInfo->nSize = uVar2;
  return;
}



void FUN_0003c340(int param_1,int param_2,uint *param_3)

{
  byte *pbVar1;
  ushort uVar2;
  byte *pbVar3;
  byte *pbVar4;
  uint uVar5;
  
  pbVar3 = (byte *)((uint)*(byte *)(param_1 + 10) + param_2);
  uVar5 = (uint)*pbVar3;
  pbVar4 = pbVar3;
  if (0x7f < uVar5) {
    pbVar1 = pbVar3 + 8;
    pbVar4 = pbVar3 + 1;
    uVar5 = (uVar5 & 0x7f) << 7 | pbVar3[1] & 0x7f;
    if ((char)pbVar3[1] < '\0') {
      pbVar4 = pbVar3 + 2;
      uVar5 = uVar5 << 7 | pbVar3[2] & 0x7f;
      if ((pbVar4 < pbVar1) && ((char)pbVar3[2] < '\0')) {
        pbVar4 = pbVar3 + 3;
        uVar5 = uVar5 << 7 | pbVar3[3] & 0x7f;
        if ((pbVar4 < pbVar1) && ((char)pbVar3[3] < '\0')) {
          pbVar4 = pbVar3 + 4;
          uVar5 = uVar5 << 7 | pbVar3[4] & 0x7f;
          if ((pbVar4 < pbVar1) && ((char)pbVar3[4] < '\0')) {
            pbVar4 = pbVar3 + 5;
            uVar5 = uVar5 << 7 | pbVar3[5] & 0x7f;
            if ((pbVar4 < pbVar1) && ((char)pbVar3[5] < '\0')) {
              pbVar4 = pbVar3 + 6;
              uVar5 = uVar5 << 7 | pbVar3[6] & 0x7f;
              if ((pbVar4 < pbVar1) && ((char)pbVar3[6] < '\0')) {
                pbVar4 = pbVar3 + 7;
                uVar5 = uVar5 << 7 | pbVar3[7] & 0x7f;
                if ((pbVar4 < pbVar3 + 8) && ((char)pbVar3[7] < '\0')) {
                  uVar5 = uVar5 << 7 | pbVar3[8] & 0x7f;
                  pbVar4 = pbVar3 + 8;
                }
              }
            }
          }
        }
      }
    }
  }
  *param_3 = uVar5;
  param_3[1] = 0;
  param_3[3] = uVar5;
  param_3[2] = (uint)(pbVar4 + 1);
  if (*(ushort *)(param_1 + 0xe) < uVar5) {
    FUN_0003bfb0();
    return;
  }
  *(short *)(param_3 + 4) = (short)uVar5;
  uVar2 = ((short)(pbVar4 + 1) - (short)param_2) + (short)uVar5;
  if (uVar2 < 4) {
    uVar2 = 4;
  }
  *(ushort *)((int)param_3 + 0x12) = uVar2;
  return;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
SUB ESP,0x14
MOV EDI,dword ptr [ESP + 0x28]
MOV EAX,dword ptr [ESP + 0x2c]
MOV ECX,dword ptr [ESP + 0x30]
MOVZX EDX,byte ptr [EDI + 0xa]
MOV dword ptr [ESP + 0x4],EDI
MOV dword ptr [ESP + 0x8],EAX
ADD EDX,EAX
MOVZX ESI,byte ptr [EDX]
MOV EBX,ESI
MOVZX EBX,BL
CMP EBX,0x7f
JBE 0x0003c480
MOV EBX,ESI
MOVZX ESI,byte ptr [EDX + 0x1]
LEA EAX,[EDX + 0x8]
LEA EDI,[EDX + 0x1]
AND EBX,0x7f
MOV dword ptr [ESP + 0xc],EAX
MOV EBP,ESI
SHL EBX,0x7
MOV EAX,ESI
AND EBP,0x7f
OR EBX,EBP
TEST AL,AL
JNS 0x0003c4c0
MOVZX ESI,byte ptr [EDX + 0x2]
SHL EBX,0x7
LEA EDI,[EDX + 0x2]
MOV EBP,ESI
AND EBP,0x7f
OR EBX,EBP
CMP dword ptr [ESP + 0xc],EDI
JBE 0x0003c4c0
MOV EAX,ESI
TEST AL,AL
JNS 0x0003c4c0
MOVZX ESI,byte ptr [EDX + 0x3]
SHL EBX,0x7
LEA EDI,[EDX + 0x3]
MOV EBP,ESI
AND EBP,0x7f
OR EBX,EBP
CMP dword ptr [ESP + 0xc],EDI
JBE 0x0003c4c0
MOV EAX,ESI
TEST AL,AL
JNS 0x0003c4c0
MOVZX ESI,byte ptr [EDX + 0x4]
SHL EBX,0x7
LEA EDI,[EDX + 0x4]
MOV EBP,ESI
AND EBP,0x7f
OR EBX,EBP
CMP dword ptr [ESP + 0xc],EDI
JBE 0x0003c4c0
MOV EAX,ESI
TEST AL,AL
JNS 0x0003c4c0
MOVZX ESI,byte ptr [EDX + 0x5]
SHL EBX,0x7
LEA EBP,[EDX + 0x5]
MOV EDI,ESI
AND EDI,0x7f
OR EBX,EDI
CMP dword ptr [ESP + 0xc],EBP
JBE 0x0003c4e0
MOV EAX,ESI
TEST AL,AL
JNS 0x0003c4e0
MOVZX ESI,byte ptr [EDX + 0x6]
SHL EBX,0x7
LEA EBP,[EDX + 0x6]
MOV EDI,ESI
AND EDI,0x7f
OR EBX,EDI
CMP dword ptr [ESP + 0xc],EBP
JBE 0x0003c4e0
MOV EAX,ESI
TEST AL,AL
JNS 0x0003c4e0
MOVZX ESI,byte ptr [EDX + 0x7]
SHL EBX,0x7
LEA EBP,[EDX + 0x7]
LEA EDI,[EDX + 0x8]
MOV EAX,ESI
AND EAX,0x7f
OR EBX,EAX
CMP EDI,EBP
JBE 0x0003c4e0
MOV EAX,ESI
TEST AL,AL
JNS 0x0003c4e0
MOVZX EDX,byte ptr [EDX + 0x8]
SHL EBX,0x7
AND EDX,0x7f
OR EBX,EDX
MOV EDX,EDI
NOP
MOV EAX,dword ptr [ESP + 0x4]
ADD EDX,0x1
MOV dword ptr [ECX],EBX
MOV dword ptr [ECX + 0x4],0x0
MOV dword ptr [ECX + 0xc],EBX
MOV dword ptr [ECX + 0x8],EDX
MOVZX ESI,word ptr [EAX + 0xe]
CMP ESI,EBX
JC 0x0003c4c8
SUB EDX,dword ptr [ESP + 0x8]
MOV EAX,0x4
MOV word ptr [ECX + 0x10],BX
ADD EDX,EBX
CMP DX,0x4
CMOVC EDX,EAX
MOV word ptr [ECX + 0x12],DX
ADD ESP,0x14
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EDX,EDI
JMP 0x0003c480
MOV EDX,dword ptr [ESP + 0x8]
ADD ESP,0x14
POP EBX
POP ESI
POP EDI
POP EBP
JMP 0x0003bfb0
MOV EDX,EBP
JMP 0x0003c480
(translation_unit "void FUN_0003c340(int param_1,int param_2,uint *param_3)\n\n{\n  byte *pbVar1;\n  ushort uVar2;\n  byte *pbVar3;\n  byte *pbVar4;\n  uint uVar5;\n  \n  pbVar3 = (byte *)((uint)*(byte *)(param_1 + 10) + param_2);\n  uVar5 = (uint)*pbVar3;\n  pbVar4 = pbVar3;\n  if (0x7f < uVar5) {\n    pbVar1 = pbVar3 + 8;\n    pbVar4 = pbVar3 + 1;\n    uVar5 = (uVar5 & 0x7f) << 7 | pbVar3[1] & 0x7f;\n    if ((char)pbVar3[1] < '\0') {\n      pbVar4 = pbVar3 + 2;\n      uVar5 = uVar5 << 7 | pbVar3[2] & 0x7f;\n      if ((pbVar4 < pbVar1) && ((char)pbVar3[2] < '\0')) {\n        pbVar4 = pbVar3 + 3;\n        uVar5 = uVar5 << 7 | pbVar3[3] & 0x7f;\n        if ((pbVar4 < pbVar1) && ((char)pbVar3[3] < '\0')) {\n          pbVar4 = pbVar3 + 4;\n          uVar5 = uVar5 << 7 | pbVar3[4] & 0x7f;\n          if ((pbVar4 < pbVar1) && ((char)pbVar3[4] < '\0')) {\n            pbVar4 = pbVar3 + 5;\n            uVar5 = uVar5 << 7 | pbVar3[5] & 0x7f;\n            if ((pbVar4 < pbVar1) && ((char)pbVar3[5] < '\0')) {\n              pbVar4 = pbVar3 + 6;\n              uVar5 = uVar5 << 7 | pbVar3[6] & 0x7f;\n              if ((pbVar4 < pbVar1) && ((char)pbVar3[6] < '\0')) {\n                pbVar4 = pbVar3 + 7;\n                uVar5 = uVar5 << 7 | pbVar3[7] & 0x7f;\n                if ((pbVar4 < pbVar3 + 8) && ((char)pbVar3[7] < '\0')) {\n                  uVar5 = uVar5 << 7 | pbVar3[8] & 0x7f;\n                  pbVar4 = pbVar3 + 8;\n                }\n              }\n            }\n          }\n        }\n      }\n    }\n  }\n  *param_3 = uVar5;\n  param_3[1] = 0;\n  param_3[3] = uVar5;\n  param_3[2] = (uint)(pbVar4 + 1);\n  if (*(ushort *)(param_1 + 0xe) < uVar5) {\n    FUN_0003bfb0();\n    return;\n  }\n  *(short *)(param_3 + 4) = (short)uVar5;\n  uVar2 = ((short)(pbVar4 + 1) - (short)param_2) + (short)uVar5;\n  if (uVar2 < 4) {\n    uVar2 = 4;\n  }\n  *(ushort *)((int)param_3 + 0x12) = uVar2;\n  return;\n}\n\n" (function_definition "void FUN_0003c340(int param_1,int param_2,uint *param_3)\n\n{\n  byte *pbVar1;\n  ushort uVar2;\n  byte *pbVar3;\n  byte *pbVar4;\n  uint uVar5;\n  \n  pbVar3 = (byte *)((uint)*(byte *)(param_1 + 10) + param_2);\n  uVar5 = (uint)*pbVar3;\n  pbVar4 = pbVar3;\n  if (0x7f < uVar5) {\n    pbVar1 = pbVar3 + 8;\n    pbVar4 = pbVar3 + 1;\n    uVar5 = (uVar5 & 0x7f) << 7 | pbVar3[1] & 0x7f;\n    if ((char)pbVar3[1] < '\0') {\n      pbVar4 = pbVar3 + 2;\n      uVar5 = uVar5 << 7 | pbVar3[2] & 0x7f;\n      if ((pbVar4 < pbVar1) && ((char)pbVar3[2] < '\0')) {\n        pbVar4 = pbVar3 + 3;\n        uVar5 = uVar5 << 7 | pbVar3[3] & 0x7f;\n        if ((pbVar4 < pbVar1) && ((char)pbVar3[3] < '\0')) {\n          pbVar4 = pbVar3 + 4;\n          uVar5 = uVar5 << 7 | pbVar3[4] & 0x7f;\n          if ((pbVar4 < pbVar1) && ((char)pbVar3[4] < '\0')) {\n            pbVar4 = pbVar3 + 5;\n            uVar5 = uVar5 << 7 | pbVar3[5] & 0x7f;\n            if ((pbVar4 < pbVar1) && ((char)pbVar3[5] < '\0')) {\n              pbVar4 = pbVar3 + 6;\n              uVar5 = uVar5 << 7 | pbVar3[6] & 0x7f;\n              if ((pbVar4 < pbVar1) && ((char)pbVar3[6] < '\0')) {\n                pbVar4 = pbVar3 + 7;\n                uVar5 = uVar5 << 7 | pbVar3[7] & 0x7f;\n                if ((pbVar4 < pbVar3 + 8) && ((char)pbVar3[7] < '\0')) {\n                  uVar5 = uVar5 << 7 | pbVar3[8] & 0x7f;\n                  pbVar4 = pbVar3 + 8;\n                }\n              }\n            }\n          }\n        }\n      }\n    }\n  }\n  *param_3 = uVar5;\n  param_3[1] = 0;\n  param_3[3] = uVar5;\n  param_3[2] = (uint)(pbVar4 + 1);\n  if (*(ushort *)(param_1 + 0xe) < uVar5) {\n    FUN_0003bfb0();\n    return;\n  }\n  *(short *)(param_3 + 4) = (short)uVar5;\n  uVar2 = ((short)(pbVar4 + 1) - (short)param_2) + (short)uVar5;\n  if (uVar2 < 4) {\n    uVar2 = 4;\n  }\n  *(ushort *)((int)param_3 + 0x12) = uVar2;\n  return;\n}" primitive_type (function_declarator "FUN_0003c340(int param_1,int param_2,uint *param_3)" identifier (parameter_list "(int param_1,int param_2,uint *param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "uint *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  byte *pbVar1;\n  ushort uVar2;\n  byte *pbVar3;\n  byte *pbVar4;\n  uint uVar5;\n  \n  pbVar3 = (byte *)((uint)*(byte *)(param_1 + 10) + param_2);\n  uVar5 = (uint)*pbVar3;\n  pbVar4 = pbVar3;\n  if (0x7f < uVar5) {\n    pbVar1 = pbVar3 + 8;\n    pbVar4 = pbVar3 + 1;\n    uVar5 = (uVar5 & 0x7f) << 7 | pbVar3[1] & 0x7f;\n    if ((char)pbVar3[1] < '\0') {\n      pbVar4 = pbVar3 + 2;\n      uVar5 = uVar5 << 7 | pbVar3[2] & 0x7f;\n      if ((pbVar4 < pbVar1) && ((char)pbVar3[2] < '\0')) {\n        pbVar4 = pbVar3 + 3;\n        uVar5 = uVar5 << 7 | pbVar3[3] & 0x7f;\n        if ((pbVar4 < pbVar1) && ((char)pbVar3[3] < '\0')) {\n          pbVar4 = pbVar3 + 4;\n          uVar5 = uVar5 << 7 | pbVar3[4] & 0x7f;\n          if ((pbVar4 < pbVar1) && ((char)pbVar3[4] < '\0')) {\n            pbVar4 = pbVar3 + 5;\n            uVar5 = uVar5 << 7 | pbVar3[5] & 0x7f;\n            if ((pbVar4 < pbVar1) && ((char)pbVar3[5] < '\0')) {\n              pbVar4 = pbVar3 + 6;\n              uVar5 = uVar5 << 7 | pbVar3[6] & 0x7f;\n              if ((pbVar4 < pbVar1) && ((char)pbVar3[6] < '\0')) {\n                pbVar4 = pbVar3 + 7;\n                uVar5 = uVar5 << 7 | pbVar3[7] & 0x7f;\n                if ((pbVar4 < pbVar3 + 8) && ((char)pbVar3[7] < '\0')) {\n                  uVar5 = uVar5 << 7 | pbVar3[8] & 0x7f;\n                  pbVar4 = pbVar3 + 8;\n                }\n              }\n            }\n          }\n        }\n      }\n    }\n  }\n  *param_3 = uVar5;\n  param_3[1] = 0;\n  param_3[3] = uVar5;\n  param_3[2] = (uint)(pbVar4 + 1);\n  if (*(ushort *)(param_1 + 0xe) < uVar5) {\n    FUN_0003bfb0();\n    return;\n  }\n  *(short *)(param_3 + 4) = (short)uVar5;\n  uVar2 = ((short)(pbVar4 + 1) - (short)param_2) + (short)uVar5;\n  if (uVar2 < 4) {\n    uVar2 = 4;\n  }\n  *(ushort *)((int)param_3 + 0x12) = uVar2;\n  return;\n}" { (declaration "byte *pbVar1;" type_identifier (pointer_declarator "*pbVar1" * identifier) ;) (declaration "ushort uVar2;" type_identifier identifier ;) (declaration "byte *pbVar3;" type_identifier (pointer_declarator "*pbVar3" * identifier) ;) (declaration "byte *pbVar4;" type_identifier (pointer_declarator "*pbVar4" * identifier) ;) (declaration "uint uVar5;" type_identifier identifier ;) (expression_statement "pbVar3 = (byte *)((uint)*(byte *)(param_1 + 10) + param_2);" (assignment_expression "pbVar3 = (byte *)((uint)*(byte *)(param_1 + 10) + param_2)" identifier = (cast_expression "(byte *)((uint)*(byte *)(param_1 + 10) + param_2)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((uint)*(byte *)(param_1 + 10) + param_2)" ( (binary_expression "(uint)*(byte *)(param_1 + 10) + param_2" (binary_expression "(uint)*(byte *)(param_1 + 10)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)(param_1 + 10)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 10)" ( (binary_expression "param_1 + 10" identifier + number_literal) )))) + identifier) )))) ;) (expression_statement "uVar5 = (uint)*pbVar3;" (assignment_expression "uVar5 = (uint)*pbVar3" identifier = (binary_expression "(uint)*pbVar3" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) (expression_statement "pbVar4 = pbVar3;" (assignment_expression "pbVar4 = pbVar3" identifier = identifier) ;) (if_statement "if (0x7f < uVar5) {\n    pbVar1 = pbVar3 + 8;\n    pbVar4 = pbVar3 + 1;\n    uVar5 = (uVar5 & 0x7f) << 7 | pbVar3[1] & 0x7f;\n    if ((char)pbVar3[1] < '\0') {\n      pbVar4 = pbVar3 + 2;\n      uVar5 = uVar5 << 7 | pbVar3[2] & 0x7f;\n      if ((pbVar4 < pbVar1) && ((char)pbVar3[2] < '\0')) {\n        pbVar4 = pbVar3 + 3;\n        uVar5 = uVar5 << 7 | pbVar3[3] & 0x7f;\n        if ((pbVar4 < pbVar1) && ((char)pbVar3[3] < '\0')) {\n          pbVar4 = pbVar3 + 4;\n          uVar5 = uVar5 << 7 | pbVar3[4] & 0x7f;\n          if ((pbVar4 < pbVar1) && ((char)pbVar3[4] < '\0')) {\n            pbVar4 = pbVar3 + 5;\n            uVar5 = uVar5 << 7 | pbVar3[5] & 0x7f;\n            if ((pbVar4 < pbVar1) && ((char)pbVar3[5] < '\0')) {\n              pbVar4 = pbVar3 + 6;\n              uVar5 = uVar5 << 7 | pbVar3[6] & 0x7f;\n              if ((pbVar4 < pbVar1) && ((char)pbVar3[6] < '\0')) {\n                pbVar4 = pbVar3 + 7;\n                uVar5 = uVar5 << 7 | pbVar3[7] & 0x7f;\n                if ((pbVar4 < pbVar3 + 8) && ((char)pbVar3[7] < '\0')) {\n                  uVar5 = uVar5 << 7 | pbVar3[8] & 0x7f;\n                  pbVar4 = pbVar3 + 8;\n                }\n              }\n            }\n          }\n        }\n      }\n    }\n  }" if (parenthesized_expression "(0x7f < uVar5)" ( (binary_expression "0x7f < uVar5" number_literal < identifier) )) (compound_statement "{\n    pbVar1 = pbVar3 + 8;\n    pbVar4 = pbVar3 + 1;\n    uVar5 = (uVar5 & 0x7f) << 7 | pbVar3[1] & 0x7f;\n    if ((char)pbVar3[1] < '\0') {\n      pbVar4 = pbVar3 + 2;\n      uVar5 = uVar5 << 7 | pbVar3[2] & 0x7f;\n      if ((pbVar4 < pbVar1) && ((char)pbVar3[2] < '\0')) {\n        pbVar4 = pbVar3 + 3;\n        uVar5 = uVar5 << 7 | pbVar3[3] & 0x7f;\n        if ((pbVar4 < pbVar1) && ((char)pbVar3[3] < '\0')) {\n          pbVar4 = pbVar3 + 4;\n          uVar5 = uVar5 << 7 | pbVar3[4] & 0x7f;\n          if ((pbVar4 < pbVar1) && ((char)pbVar3[4] < '\0')) {\n            pbVar4 = pbVar3 + 5;\n            uVar5 = uVar5 << 7 | pbVar3[5] & 0x7f;\n            if ((pbVar4 < pbVar1) && ((char)pbVar3[5] < '\0')) {\n              pbVar4 = pbVar3 + 6;\n              uVar5 = uVar5 << 7 | pbVar3[6] & 0x7f;\n              if ((pbVar4 < pbVar1) && ((char)pbVar3[6] < '\0')) {\n                pbVar4 = pbVar3 + 7;\n                uVar5 = uVar5 << 7 | pbVar3[7] & 0x7f;\n                if ((pbVar4 < pbVar3 + 8) && ((char)pbVar3[7] < '\0')) {\n                  uVar5 = uVar5 << 7 | pbVar3[8] & 0x7f;\n                  pbVar4 = pbVar3 + 8;\n                }\n              }\n            }\n          }\n        }\n      }\n    }\n  }" { (expression_statement "pbVar1 = pbVar3 + 8;" (assignment_expression "pbVar1 = pbVar3 + 8" identifier = (binary_expression "pbVar3 + 8" identifier + number_literal)) ;) (expression_statement "pbVar4 = pbVar3 + 1;" (assignment_expression "pbVar4 = pbVar3 + 1" identifier = (binary_expression "pbVar3 + 1" identifier + number_literal)) ;) (expression_statement "uVar5 = (uVar5 & 0x7f) << 7 | pbVar3[1] & 0x7f;" (assignment_expression "uVar5 = (uVar5 & 0x7f) << 7 | pbVar3[1] & 0x7f" identifier = (binary_expression "(uVar5 & 0x7f) << 7 | pbVar3[1] & 0x7f" (binary_expression "(uVar5 & 0x7f) << 7" (parenthesized_expression "(uVar5 & 0x7f)" ( (binary_expression "uVar5 & 0x7f" identifier & number_literal) )) << number_literal) | (binary_expression "pbVar3[1] & 0x7f" (subscript_expression "pbVar3[1]" identifier [ number_literal ]) & number_literal))) ;) (if_statement "if ((char)pbVar3[1] < '\0') {\n      pbVar4 = pbVar3 + 2;\n      uVar5 = uVar5 << 7 | pbVar3[2] & 0x7f;\n      if ((pbVar4 < pbVar1) && ((char)pbVar3[2] < '\0')) {\n        pbVar4 = pbVar3 + 3;\n        uVar5 = uVar5 << 7 | pbVar3[3] & 0x7f;\n        if ((pbVar4 < pbVar1) && ((char)pbVar3[3] < '\0')) {\n          pbVar4 = pbVar3 + 4;\n          uVar5 = uVar5 << 7 | pbVar3[4] & 0x7f;\n          if ((pbVar4 < pbVar1) && ((char)pbVar3[4] < '\0')) {\n            pbVar4 = pbVar3 + 5;\n            uVar5 = uVar5 << 7 | pbVar3[5] & 0x7f;\n            if ((pbVar4 < pbVar1) && ((char)pbVar3[5] < '\0')) {\n              pbVar4 = pbVar3 + 6;\n              uVar5 = uVar5 << 7 | pbVar3[6] & 0x7f;\n              if ((pbVar4 < pbVar1) && ((char)pbVar3[6] < '\0')) {\n                pbVar4 = pbVar3 + 7;\n                uVar5 = uVar5 << 7 | pbVar3[7] & 0x7f;\n                if ((pbVar4 < pbVar3 + 8) && ((char)pbVar3[7] < '\0')) {\n                  uVar5 = uVar5 << 7 | pbVar3[8] & 0x7f;\n                  pbVar4 = pbVar3 + 8;\n                }\n              }\n            }\n          }\n        }\n      }\n    }" if (parenthesized_expression "((char)pbVar3[1] < '\0')" ( (binary_expression "(char)pbVar3[1] < '\0'" (cast_expression "(char)pbVar3[1]" ( (type_descriptor "char" primitive_type) ) (subscript_expression "pbVar3[1]" identifier [ number_literal ])) < (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      pbVar4 = pbVar3 + 2;\n      uVar5 = uVar5 << 7 | pbVar3[2] & 0x7f;\n      if ((pbVar4 < pbVar1) && ((char)pbVar3[2] < '\0')) {\n        pbVar4 = pbVar3 + 3;\n        uVar5 = uVar5 << 7 | pbVar3[3] & 0x7f;\n        if ((pbVar4 < pbVar1) && ((char)pbVar3[3] < '\0')) {\n          pbVar4 = pbVar3 + 4;\n          uVar5 = uVar5 << 7 | pbVar3[4] & 0x7f;\n          if ((pbVar4 < pbVar1) && ((char)pbVar3[4] < '\0')) {\n            pbVar4 = pbVar3 + 5;\n            uVar5 = uVar5 << 7 | pbVar3[5] & 0x7f;\n            if ((pbVar4 < pbVar1) && ((char)pbVar3[5] < '\0')) {\n              pbVar4 = pbVar3 + 6;\n              uVar5 = uVar5 << 7 | pbVar3[6] & 0x7f;\n              if ((pbVar4 < pbVar1) && ((char)pbVar3[6] < '\0')) {\n                pbVar4 = pbVar3 + 7;\n                uVar5 = uVar5 << 7 | pbVar3[7] & 0x7f;\n                if ((pbVar4 < pbVar3 + 8) && ((char)pbVar3[7] < '\0')) {\n                  uVar5 = uVar5 << 7 | pbVar3[8] & 0x7f;\n                  pbVar4 = pbVar3 + 8;\n                }\n              }\n            }\n          }\n        }\n      }\n    }" { (expression_statement "pbVar4 = pbVar3 + 2;" (assignment_expression "pbVar4 = pbVar3 + 2" identifier = (binary_expression "pbVar3 + 2" identifier + number_literal)) ;) (expression_statement "uVar5 = uVar5 << 7 | pbVar3[2] & 0x7f;" (assignment_expression "uVar5 = uVar5 << 7 | pbVar3[2] & 0x7f" identifier = (binary_expression "uVar5 << 7 | pbVar3[2] & 0x7f" (binary_expression "uVar5 << 7" identifier << number_literal) | (binary_expression "pbVar3[2] & 0x7f" (subscript_expression "pbVar3[2]" identifier [ number_literal ]) & number_literal))) ;) (if_statement "if ((pbVar4 < pbVar1) && ((char)pbVar3[2] < '\0')) {\n        pbVar4 = pbVar3 + 3;\n        uVar5 = uVar5 << 7 | pbVar3[3] & 0x7f;\n        if ((pbVar4 < pbVar1) && ((char)pbVar3[3] < '\0')) {\n          pbVar4 = pbVar3 + 4;\n          uVar5 = uVar5 << 7 | pbVar3[4] & 0x7f;\n          if ((pbVar4 < pbVar1) && ((char)pbVar3[4] < '\0')) {\n            pbVar4 = pbVar3 + 5;\n            uVar5 = uVar5 << 7 | pbVar3[5] & 0x7f;\n            if ((pbVar4 < pbVar1) && ((char)pbVar3[5] < '\0')) {\n              pbVar4 = pbVar3 + 6;\n              uVar5 = uVar5 << 7 | pbVar3[6] & 0x7f;\n              if ((pbVar4 < pbVar1) && ((char)pbVar3[6] < '\0')) {\n                pbVar4 = pbVar3 + 7;\n                uVar5 = uVar5 << 7 | pbVar3[7] & 0x7f;\n                if ((pbVar4 < pbVar3 + 8) && ((char)pbVar3[7] < '\0')) {\n                  uVar5 = uVar5 << 7 | pbVar3[8] & 0x7f;\n                  pbVar4 = pbVar3 + 8;\n                }\n              }\n            }\n          }\n        }\n      }" if (parenthesized_expression "((pbVar4 < pbVar1) && ((char)pbVar3[2] < '\0'))" ( (binary_expression "(pbVar4 < pbVar1) && ((char)pbVar3[2] < '\0')" (parenthesized_expression "(pbVar4 < pbVar1)" ( (binary_expression "pbVar4 < pbVar1" identifier < identifier) )) && (parenthesized_expression "((char)pbVar3[2] < '\0')" ( (binary_expression "(char)pbVar3[2] < '\0'" (cast_expression "(char)pbVar3[2]" ( (type_descriptor "char" primitive_type) ) (subscript_expression "pbVar3[2]" identifier [ number_literal ])) < (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n        pbVar4 = pbVar3 + 3;\n        uVar5 = uVar5 << 7 | pbVar3[3] & 0x7f;\n        if ((pbVar4 < pbVar1) && ((char)pbVar3[3] < '\0')) {\n          pbVar4 = pbVar3 + 4;\n          uVar5 = uVar5 << 7 | pbVar3[4] & 0x7f;\n          if ((pbVar4 < pbVar1) && ((char)pbVar3[4] < '\0')) {\n            pbVar4 = pbVar3 + 5;\n            uVar5 = uVar5 << 7 | pbVar3[5] & 0x7f;\n            if ((pbVar4 < pbVar1) && ((char)pbVar3[5] < '\0')) {\n              pbVar4 = pbVar3 + 6;\n              uVar5 = uVar5 << 7 | pbVar3[6] & 0x7f;\n              if ((pbVar4 < pbVar1) && ((char)pbVar3[6] < '\0')) {\n                pbVar4 = pbVar3 + 7;\n                uVar5 = uVar5 << 7 | pbVar3[7] & 0x7f;\n                if ((pbVar4 < pbVar3 + 8) && ((char)pbVar3[7] < '\0')) {\n                  uVar5 = uVar5 << 7 | pbVar3[8] & 0x7f;\n                  pbVar4 = pbVar3 + 8;\n                }\n              }\n            }\n          }\n        }\n      }" { (expression_statement "pbVar4 = pbVar3 + 3;" (assignment_expression "pbVar4 = pbVar3 + 3" identifier = (binary_expression "pbVar3 + 3" identifier + number_literal)) ;) (expression_statement "uVar5 = uVar5 << 7 | pbVar3[3] & 0x7f;" (assignment_expression "uVar5 = uVar5 << 7 | pbVar3[3] & 0x7f" identifier = (binary_expression "uVar5 << 7 | pbVar3[3] & 0x7f" (binary_expression "uVar5 << 7" identifier << number_literal) | (binary_expression "pbVar3[3] & 0x7f" (subscript_expression "pbVar3[3]" identifier [ number_literal ]) & number_literal))) ;) (if_statement "if ((pbVar4 < pbVar1) && ((char)pbVar3[3] < '\0')) {\n          pbVar4 = pbVar3 + 4;\n          uVar5 = uVar5 << 7 | pbVar3[4] & 0x7f;\n          if ((pbVar4 < pbVar1) && ((char)pbVar3[4] < '\0')) {\n            pbVar4 = pbVar3 + 5;\n            uVar5 = uVar5 << 7 | pbVar3[5] & 0x7f;\n            if ((pbVar4 < pbVar1) && ((char)pbVar3[5] < '\0')) {\n              pbVar4 = pbVar3 + 6;\n              uVar5 = uVar5 << 7 | pbVar3[6] & 0x7f;\n              if ((pbVar4 < pbVar1) && ((char)pbVar3[6] < '\0')) {\n                pbVar4 = pbVar3 + 7;\n                uVar5 = uVar5 << 7 | pbVar3[7] & 0x7f;\n                if ((pbVar4 < pbVar3 + 8) && ((char)pbVar3[7] < '\0')) {\n                  uVar5 = uVar5 << 7 | pbVar3[8] & 0x7f;\n                  pbVar4 = pbVar3 + 8;\n                }\n              }\n            }\n          }\n        }" if (parenthesized_expression "((pbVar4 < pbVar1) && ((char)pbVar3[3] < '\0'))" ( (binary_expression "(pbVar4 < pbVar1) && ((char)pbVar3[3] < '\0')" (parenthesized_expression "(pbVar4 < pbVar1)" ( (binary_expression "pbVar4 < pbVar1" identifier < identifier) )) && (parenthesized_expression "((char)pbVar3[3] < '\0')" ( (binary_expression "(char)pbVar3[3] < '\0'" (cast_expression "(char)pbVar3[3]" ( (type_descriptor "char" primitive_type) ) (subscript_expression "pbVar3[3]" identifier [ number_literal ])) < (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n          pbVar4 = pbVar3 + 4;\n          uVar5 = uVar5 << 7 | pbVar3[4] & 0x7f;\n          if ((pbVar4 < pbVar1) && ((char)pbVar3[4] < '\0')) {\n            pbVar4 = pbVar3 + 5;\n            uVar5 = uVar5 << 7 | pbVar3[5] & 0x7f;\n            if ((pbVar4 < pbVar1) && ((char)pbVar3[5] < '\0')) {\n              pbVar4 = pbVar3 + 6;\n              uVar5 = uVar5 << 7 | pbVar3[6] & 0x7f;\n              if ((pbVar4 < pbVar1) && ((char)pbVar3[6] < '\0')) {\n                pbVar4 = pbVar3 + 7;\n                uVar5 = uVar5 << 7 | pbVar3[7] & 0x7f;\n                if ((pbVar4 < pbVar3 + 8) && ((char)pbVar3[7] < '\0')) {\n                  uVar5 = uVar5 << 7 | pbVar3[8] & 0x7f;\n                  pbVar4 = pbVar3 + 8;\n                }\n              }\n            }\n          }\n        }" { (expression_statement "pbVar4 = pbVar3 + 4;" (assignment_expression "pbVar4 = pbVar3 + 4" identifier = (binary_expression "pbVar3 + 4" identifier + number_literal)) ;) (expression_statement "uVar5 = uVar5 << 7 | pbVar3[4] & 0x7f;" (assignment_expression "uVar5 = uVar5 << 7 | pbVar3[4] & 0x7f" identifier = (binary_expression "uVar5 << 7 | pbVar3[4] & 0x7f" (binary_expression "uVar5 << 7" identifier << number_literal) | (binary_expression "pbVar3[4] & 0x7f" (subscript_expression "pbVar3[4]" identifier [ number_literal ]) & number_literal))) ;) (if_statement "if ((pbVar4 < pbVar1) && ((char)pbVar3[4] < '\0')) {\n            pbVar4 = pbVar3 + 5;\n            uVar5 = uVar5 << 7 | pbVar3[5] & 0x7f;\n            if ((pbVar4 < pbVar1) && ((char)pbVar3[5] < '\0')) {\n              pbVar4 = pbVar3 + 6;\n              uVar5 = uVar5 << 7 | pbVar3[6] & 0x7f;\n              if ((pbVar4 < pbVar1) && ((char)pbVar3[6] < '\0')) {\n                pbVar4 = pbVar3 + 7;\n                uVar5 = uVar5 << 7 | pbVar3[7] & 0x7f;\n                if ((pbVar4 < pbVar3 + 8) && ((char)pbVar3[7] < '\0')) {\n                  uVar5 = uVar5 << 7 | pbVar3[8] & 0x7f;\n                  pbVar4 = pbVar3 + 8;\n                }\n              }\n            }\n          }" if (parenthesized_expression "((pbVar4 < pbVar1) && ((char)pbVar3[4] < '\0'))" ( (binary_expression "(pbVar4 < pbVar1) && ((char)pbVar3[4] < '\0')" (parenthesized_expression "(pbVar4 < pbVar1)" ( (binary_expression "pbVar4 < pbVar1" identifier < identifier) )) && (parenthesized_expression "((char)pbVar3[4] < '\0')" ( (binary_expression "(char)pbVar3[4] < '\0'" (cast_expression "(char)pbVar3[4]" ( (type_descriptor "char" primitive_type) ) (subscript_expression "pbVar3[4]" identifier [ number_literal ])) < (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n            pbVar4 = pbVar3 + 5;\n            uVar5 = uVar5 << 7 | pbVar3[5] & 0x7f;\n            if ((pbVar4 < pbVar1) && ((char)pbVar3[5] < '\0')) {\n              pbVar4 = pbVar3 + 6;\n              uVar5 = uVar5 << 7 | pbVar3[6] & 0x7f;\n              if ((pbVar4 < pbVar1) && ((char)pbVar3[6] < '\0')) {\n                pbVar4 = pbVar3 + 7;\n                uVar5 = uVar5 << 7 | pbVar3[7] & 0x7f;\n                if ((pbVar4 < pbVar3 + 8) && ((char)pbVar3[7] < '\0')) {\n                  uVar5 = uVar5 << 7 | pbVar3[8] & 0x7f;\n                  pbVar4 = pbVar3 + 8;\n                }\n              }\n            }\n          }" { (expression_statement "pbVar4 = pbVar3 + 5;" (assignment_expression "pbVar4 = pbVar3 + 5" identifier = (binary_expression "pbVar3 + 5" identifier + number_literal)) ;) (expression_statement "uVar5 = uVar5 << 7 | pbVar3[5] & 0x7f;" (assignment_expression "uVar5 = uVar5 << 7 | pbVar3[5] & 0x7f" identifier = (binary_expression "uVar5 << 7 | pbVar3[5] & 0x7f" (binary_expression "uVar5 << 7" identifier << number_literal) | (binary_expression "pbVar3[5] & 0x7f" (subscript_expression "pbVar3[5]" identifier [ number_literal ]) & number_literal))) ;) (if_statement "if ((pbVar4 < pbVar1) && ((char)pbVar3[5] < '\0')) {\n              pbVar4 = pbVar3 + 6;\n              uVar5 = uVar5 << 7 | pbVar3[6] & 0x7f;\n              if ((pbVar4 < pbVar1) && ((char)pbVar3[6] < '\0')) {\n                pbVar4 = pbVar3 + 7;\n                uVar5 = uVar5 << 7 | pbVar3[7] & 0x7f;\n                if ((pbVar4 < pbVar3 + 8) && ((char)pbVar3[7] < '\0')) {\n                  uVar5 = uVar5 << 7 | pbVar3[8] & 0x7f;\n                  pbVar4 = pbVar3 + 8;\n                }\n              }\n            }" if (parenthesized_expression "((pbVar4 < pbVar1) && ((char)pbVar3[5] < '\0'))" ( (binary_expression "(pbVar4 < pbVar1) && ((char)pbVar3[5] < '\0')" (parenthesized_expression "(pbVar4 < pbVar1)" ( (binary_expression "pbVar4 < pbVar1" identifier < identifier) )) && (parenthesized_expression "((char)pbVar3[5] < '\0')" ( (binary_expression "(char)pbVar3[5] < '\0'" (cast_expression "(char)pbVar3[5]" ( (type_descriptor "char" primitive_type) ) (subscript_expression "pbVar3[5]" identifier [ number_literal ])) < (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n              pbVar4 = pbVar3 + 6;\n              uVar5 = uVar5 << 7 | pbVar3[6] & 0x7f;\n              if ((pbVar4 < pbVar1) && ((char)pbVar3[6] < '\0')) {\n                pbVar4 = pbVar3 + 7;\n                uVar5 = uVar5 << 7 | pbVar3[7] & 0x7f;\n                if ((pbVar4 < pbVar3 + 8) && ((char)pbVar3[7] < '\0')) {\n                  uVar5 = uVar5 << 7 | pbVar3[8] & 0x7f;\n                  pbVar4 = pbVar3 + 8;\n                }\n              }\n            }" { (expression_statement "pbVar4 = pbVar3 + 6;" (assignment_expression "pbVar4 = pbVar3 + 6" identifier = (binary_expression "pbVar3 + 6" identifier + number_literal)) ;) (expression_statement "uVar5 = uVar5 << 7 | pbVar3[6] & 0x7f;" (assignment_expression "uVar5 = uVar5 << 7 | pbVar3[6] & 0x7f" identifier = (binary_expression "uVar5 << 7 | pbVar3[6] & 0x7f" (binary_expression "uVar5 << 7" identifier << number_literal) | (binary_expression "pbVar3[6] & 0x7f" (subscript_expression "pbVar3[6]" identifier [ number_literal ]) & number_literal))) ;) (if_statement "if ((pbVar4 < pbVar1) && ((char)pbVar3[6] < '\0')) {\n                pbVar4 = pbVar3 + 7;\n                uVar5 = uVar5 << 7 | pbVar3[7] & 0x7f;\n                if ((pbVar4 < pbVar3 + 8) && ((char)pbVar3[7] < '\0')) {\n                  uVar5 = uVar5 << 7 | pbVar3[8] & 0x7f;\n                  pbVar4 = pbVar3 + 8;\n                }\n              }" if (parenthesized_expression "((pbVar4 < pbVar1) && ((char)pbVar3[6] < '\0'))" ( (binary_expression "(pbVar4 < pbVar1) && ((char)pbVar3[6] < '\0')" (parenthesized_expression "(pbVar4 < pbVar1)" ( (binary_expression "pbVar4 < pbVar1" identifier < identifier) )) && (parenthesized_expression "((char)pbVar3[6] < '\0')" ( (binary_expression "(char)pbVar3[6] < '\0'" (cast_expression "(char)pbVar3[6]" ( (type_descriptor "char" primitive_type) ) (subscript_expression "pbVar3[6]" identifier [ number_literal ])) < (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n                pbVar4 = pbVar3 + 7;\n                uVar5 = uVar5 << 7 | pbVar3[7] & 0x7f;\n                if ((pbVar4 < pbVar3 + 8) && ((char)pbVar3[7] < '\0')) {\n                  uVar5 = uVar5 << 7 | pbVar3[8] & 0x7f;\n                  pbVar4 = pbVar3 + 8;\n                }\n              }" { (expression_statement "pbVar4 = pbVar3 + 7;" (assignment_expression "pbVar4 = pbVar3 + 7" identifier = (binary_expression "pbVar3 + 7" identifier + number_literal)) ;) (expression_statement "uVar5 = uVar5 << 7 | pbVar3[7] & 0x7f;" (assignment_expression "uVar5 = uVar5 << 7 | pbVar3[7] & 0x7f" identifier = (binary_expression "uVar5 << 7 | pbVar3[7] & 0x7f" (binary_expression "uVar5 << 7" identifier << number_literal) | (binary_expression "pbVar3[7] & 0x7f" (subscript_expression "pbVar3[7]" identifier [ number_literal ]) & number_literal))) ;) (if_statement "if ((pbVar4 < pbVar3 + 8) && ((char)pbVar3[7] < '\0')) {\n                  uVar5 = uVar5 << 7 | pbVar3[8] & 0x7f;\n                  pbVar4 = pbVar3 + 8;\n                }" if (parenthesized_expression "((pbVar4 < pbVar3 + 8) && ((char)pbVar3[7] < '\0'))" ( (binary_expression "(pbVar4 < pbVar3 + 8) && ((char)pbVar3[7] < '\0')" (parenthesized_expression "(pbVar4 < pbVar3 + 8)" ( (binary_expression "pbVar4 < pbVar3 + 8" identifier < (binary_expression "pbVar3 + 8" identifier + number_literal)) )) && (parenthesized_expression "((char)pbVar3[7] < '\0')" ( (binary_expression "(char)pbVar3[7] < '\0'" (cast_expression "(char)pbVar3[7]" ( (type_descriptor "char" primitive_type) ) (subscript_expression "pbVar3[7]" identifier [ number_literal ])) < (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n                  uVar5 = uVar5 << 7 | pbVar3[8] & 0x7f;\n                  pbVar4 = pbVar3 + 8;\n                }" { (expression_statement "uVar5 = uVar5 << 7 | pbVar3[8] & 0x7f;" (assignment_expression "uVar5 = uVar5 << 7 | pbVar3[8] & 0x7f" identifier = (binary_expression "uVar5 << 7 | pbVar3[8] & 0x7f" (binary_expression "uVar5 << 7" identifier << number_literal) | (binary_expression "pbVar3[8] & 0x7f" (subscript_expression "pbVar3[8]" identifier [ number_literal ]) & number_literal))) ;) (expression_statement "pbVar4 = pbVar3 + 8;" (assignment_expression "pbVar4 = pbVar3 + 8" identifier = (binary_expression "pbVar3 + 8" identifier + number_literal)) ;) })) })) })) })) })) })) })) })) (expression_statement "*param_3 = uVar5;" (assignment_expression "*param_3 = uVar5" (pointer_expression "*param_3" * identifier) = identifier) ;) (expression_statement "param_3[1] = 0;" (assignment_expression "param_3[1] = 0" (subscript_expression "param_3[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_3[3] = uVar5;" (assignment_expression "param_3[3] = uVar5" (subscript_expression "param_3[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_3[2] = (uint)(pbVar4 + 1);" (assignment_expression "param_3[2] = (uint)(pbVar4 + 1)" (subscript_expression "param_3[2]" identifier [ number_literal ]) = (call_expression "(uint)(pbVar4 + 1)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(pbVar4 + 1)" ( (binary_expression "pbVar4 + 1" identifier + number_literal) )))) ;) (if_statement "if (*(ushort *)(param_1 + 0xe) < uVar5) {\n    FUN_0003bfb0();\n    return;\n  }" if (parenthesized_expression "(*(ushort *)(param_1 + 0xe) < uVar5)" ( (binary_expression "*(ushort *)(param_1 + 0xe) < uVar5" (pointer_expression "*(ushort *)(param_1 + 0xe)" * (cast_expression "(ushort *)(param_1 + 0xe)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xe)" ( (binary_expression "param_1 + 0xe" identifier + number_literal) )))) < identifier) )) (compound_statement "{\n    FUN_0003bfb0();\n    return;\n  }" { (expression_statement "FUN_0003bfb0();" (call_expression "FUN_0003bfb0()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (expression_statement "*(short *)(param_3 + 4) = (short)uVar5;" (assignment_expression "*(short *)(param_3 + 4) = (short)uVar5" (pointer_expression "*(short *)(param_3 + 4)" * (cast_expression "(short *)(param_3 + 4)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 4)" ( (binary_expression "param_3 + 4" identifier + number_literal) )))) = (cast_expression "(short)uVar5" ( (type_descriptor "short" (sized_type_specifier "short" short)) ) identifier)) ;) (expression_statement "uVar2 = ((short)(pbVar4 + 1) - (short)param_2) + (short)uVar5;" (assignment_expression "uVar2 = ((short)(pbVar4 + 1) - (short)param_2) + (short)uVar5" identifier = (binary_expression "((short)(pbVar4 + 1) - (short)param_2) + (short)uVar5" (parenthesized_expression "((short)(pbVar4 + 1) - (short)param_2)" ( (binary_expression "(short)(pbVar4 + 1) - (short)param_2" (cast_expression "(short)(pbVar4 + 1)" ( (type_descriptor "short" (sized_type_specifier "short" short)) ) (parenthesized_expression "(pbVar4 + 1)" ( (binary_expression "pbVar4 + 1" identifier + number_literal) ))) - (cast_expression "(short)param_2" ( (type_descriptor "short" (sized_type_specifier "short" short)) ) identifier)) )) + (cast_expression "(short)uVar5" ( (type_descriptor "short" (sized_type_specifier "short" short)) ) identifier))) ;) (if_statement "if (uVar2 < 4) {\n    uVar2 = 4;\n  }" if (parenthesized_expression "(uVar2 < 4)" ( (binary_expression "uVar2 < 4" identifier < number_literal) )) (compound_statement "{\n    uVar2 = 4;\n  }" { (expression_statement "uVar2 = 4;" (assignment_expression "uVar2 = 4" identifier = number_literal) ;) })) (expression_statement "*(ushort *)((int)param_3 + 0x12) = uVar2;" (assignment_expression "*(ushort *)((int)param_3 + 0x12) = uVar2" (pointer_expression "*(ushort *)((int)param_3 + 0x12)" * (cast_expression "(ushort *)((int)param_3 + 0x12)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_3 + 0x12)" ( (binary_expression "(int)param_3 + 0x12" (cast_expression "(int)param_3" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Unknown calling convention */\n\nvoid btreeParseCellPtrIndex(MemPage *pPage,u8 *pCell,CellInfo *pInfo)\n\n{\n  byte *pbVar1;\n  ushort uVar2;\n  byte *pbVar3;\n  byte *pbVar4;\n  uint uVar5;\n  \n  pbVar3 = pCell + pPage->childPtrSize;\n  uVar5 = (uint)*pbVar3;\n  pbVar4 = pbVar3;\n  if (0x7f < uVar5) {\n    pbVar1 = pbVar3 + 8;\n    pbVar4 = pbVar3 + 1;\n    uVar5 = (uVar5 & 0x7f) << 7 | pbVar3[1] & 0x7f;\n    if ((char)pbVar3[1] < '\0') {\n      pbVar4 = pbVar3 + 2;\n      uVar5 = uVar5 << 7 | pbVar3[2] & 0x7f;\n      if ((pbVar4 < pbVar1) && ((char)pbVar3[2] < '\0')) {\n        pbVar4 = pbVar3 + 3;\n        uVar5 = uVar5 << 7 | pbVar3[3] & 0x7f;\n        if ((pbVar4 < pbVar1) && ((char)pbVar3[3] < '\0')) {\n          pbVar4 = pbVar3 + 4;\n          uVar5 = uVar5 << 7 | pbVar3[4] & 0x7f;\n          if ((pbVar4 < pbVar1) && ((char)pbVar3[4] < '\0')) {\n            pbVar4 = pbVar3 + 5;\n            uVar5 = uVar5 << 7 | pbVar3[5] & 0x7f;\n            if ((pbVar4 < pbVar1) && ((char)pbVar3[5] < '\0')) {\n              pbVar4 = pbVar3 + 6;\n              uVar5 = uVar5 << 7 | pbVar3[6] & 0x7f;\n              if ((pbVar4 < pbVar1) && ((char)pbVar3[6] < '\0')) {\n                pbVar4 = pbVar3 + 7;\n                uVar5 = uVar5 << 7 | pbVar3[7] & 0x7f;\n                if ((pbVar4 < pbVar3 + 8) && ((char)pbVar3[7] < '\0')) {\n                  uVar5 = uVar5 << 7 | pbVar3[8] & 0x7f;\n                  pbVar4 = pbVar3 + 8;\n                }\n              }\n            }\n          }\n        }\n      }\n    }\n  }\n  *(uint *)&pInfo->nKey = uVar5;\n  *(undefined4 *)((int)&pInfo->nKey + 4) = 0;\n  pInfo->nPayload = uVar5;\n  pInfo->pPayload = pbVar4 + 1;\n  if (pPage->maxLocal < uVar5) {\n    btreeParseCellAdjustSizeForOverflow(pPage,pCell,pInfo);\n    return;\n  }\n  pInfo->nLocal = (u16)uVar5;\n  uVar2 = ((short)(pbVar4 + 1) - (short)pCell) + (u16)uVar5;\n  if (uVar2 < 4) {\n    uVar2 = 4;\n  }\n  pInfo->nSize = uVar2;\n  return;\n}\n\n" comment (function_definition "void btreeParseCellPtrIndex(MemPage *pPage,u8 *pCell,CellInfo *pInfo)\n\n{\n  byte *pbVar1;\n  ushort uVar2;\n  byte *pbVar3;\n  byte *pbVar4;\n  uint uVar5;\n  \n  pbVar3 = pCell + pPage->childPtrSize;\n  uVar5 = (uint)*pbVar3;\n  pbVar4 = pbVar3;\n  if (0x7f < uVar5) {\n    pbVar1 = pbVar3 + 8;\n    pbVar4 = pbVar3 + 1;\n    uVar5 = (uVar5 & 0x7f) << 7 | pbVar3[1] & 0x7f;\n    if ((char)pbVar3[1] < '\0') {\n      pbVar4 = pbVar3 + 2;\n      uVar5 = uVar5 << 7 | pbVar3[2] & 0x7f;\n      if ((pbVar4 < pbVar1) && ((char)pbVar3[2] < '\0')) {\n        pbVar4 = pbVar3 + 3;\n        uVar5 = uVar5 << 7 | pbVar3[3] & 0x7f;\n        if ((pbVar4 < pbVar1) && ((char)pbVar3[3] < '\0')) {\n          pbVar4 = pbVar3 + 4;\n          uVar5 = uVar5 << 7 | pbVar3[4] & 0x7f;\n          if ((pbVar4 < pbVar1) && ((char)pbVar3[4] < '\0')) {\n            pbVar4 = pbVar3 + 5;\n            uVar5 = uVar5 << 7 | pbVar3[5] & 0x7f;\n            if ((pbVar4 < pbVar1) && ((char)pbVar3[5] < '\0')) {\n              pbVar4 = pbVar3 + 6;\n              uVar5 = uVar5 << 7 | pbVar3[6] & 0x7f;\n              if ((pbVar4 < pbVar1) && ((char)pbVar3[6] < '\0')) {\n                pbVar4 = pbVar3 + 7;\n                uVar5 = uVar5 << 7 | pbVar3[7] & 0x7f;\n                if ((pbVar4 < pbVar3 + 8) && ((char)pbVar3[7] < '\0')) {\n                  uVar5 = uVar5 << 7 | pbVar3[8] & 0x7f;\n                  pbVar4 = pbVar3 + 8;\n                }\n              }\n            }\n          }\n        }\n      }\n    }\n  }\n  *(uint *)&pInfo->nKey = uVar5;\n  *(undefined4 *)((int)&pInfo->nKey + 4) = 0;\n  pInfo->nPayload = uVar5;\n  pInfo->pPayload = pbVar4 + 1;\n  if (pPage->maxLocal < uVar5) {\n    btreeParseCellAdjustSizeForOverflow(pPage,pCell,pInfo);\n    return;\n  }\n  pInfo->nLocal = (u16)uVar5;\n  uVar2 = ((short)(pbVar4 + 1) - (short)pCell) + (u16)uVar5;\n  if (uVar2 < 4) {\n    uVar2 = 4;\n  }\n  pInfo->nSize = uVar2;\n  return;\n}" primitive_type (function_declarator "btreeParseCellPtrIndex(MemPage *pPage,u8 *pCell,CellInfo *pInfo)" identifier (parameter_list "(MemPage *pPage,u8 *pCell,CellInfo *pInfo)" ( (parameter_declaration "MemPage *pPage" type_identifier (pointer_declarator "*pPage" * identifier)) , (parameter_declaration "u8 *pCell" type_identifier (pointer_declarator "*pCell" * identifier)) , (parameter_declaration "CellInfo *pInfo" type_identifier (pointer_declarator "*pInfo" * identifier)) ))) (compound_statement "{\n  byte *pbVar1;\n  ushort uVar2;\n  byte *pbVar3;\n  byte *pbVar4;\n  uint uVar5;\n  \n  pbVar3 = pCell + pPage->childPtrSize;\n  uVar5 = (uint)*pbVar3;\n  pbVar4 = pbVar3;\n  if (0x7f < uVar5) {\n    pbVar1 = pbVar3 + 8;\n    pbVar4 = pbVar3 + 1;\n    uVar5 = (uVar5 & 0x7f) << 7 | pbVar3[1] & 0x7f;\n    if ((char)pbVar3[1] < '\0') {\n      pbVar4 = pbVar3 + 2;\n      uVar5 = uVar5 << 7 | pbVar3[2] & 0x7f;\n      if ((pbVar4 < pbVar1) && ((char)pbVar3[2] < '\0')) {\n        pbVar4 = pbVar3 + 3;\n        uVar5 = uVar5 << 7 | pbVar3[3] & 0x7f;\n        if ((pbVar4 < pbVar1) && ((char)pbVar3[3] < '\0')) {\n          pbVar4 = pbVar3 + 4;\n          uVar5 = uVar5 << 7 | pbVar3[4] & 0x7f;\n          if ((pbVar4 < pbVar1) && ((char)pbVar3[4] < '\0')) {\n            pbVar4 = pbVar3 + 5;\n            uVar5 = uVar5 << 7 | pbVar3[5] & 0x7f;\n            if ((pbVar4 < pbVar1) && ((char)pbVar3[5] < '\0')) {\n              pbVar4 = pbVar3 + 6;\n              uVar5 = uVar5 << 7 | pbVar3[6] & 0x7f;\n              if ((pbVar4 < pbVar1) && ((char)pbVar3[6] < '\0')) {\n                pbVar4 = pbVar3 + 7;\n                uVar5 = uVar5 << 7 | pbVar3[7] & 0x7f;\n                if ((pbVar4 < pbVar3 + 8) && ((char)pbVar3[7] < '\0')) {\n                  uVar5 = uVar5 << 7 | pbVar3[8] & 0x7f;\n                  pbVar4 = pbVar3 + 8;\n                }\n              }\n            }\n          }\n        }\n      }\n    }\n  }\n  *(uint *)&pInfo->nKey = uVar5;\n  *(undefined4 *)((int)&pInfo->nKey + 4) = 0;\n  pInfo->nPayload = uVar5;\n  pInfo->pPayload = pbVar4 + 1;\n  if (pPage->maxLocal < uVar5) {\n    btreeParseCellAdjustSizeForOverflow(pPage,pCell,pInfo);\n    return;\n  }\n  pInfo->nLocal = (u16)uVar5;\n  uVar2 = ((short)(pbVar4 + 1) - (short)pCell) + (u16)uVar5;\n  if (uVar2 < 4) {\n    uVar2 = 4;\n  }\n  pInfo->nSize = uVar2;\n  return;\n}" { (declaration "byte *pbVar1;" type_identifier (pointer_declarator "*pbVar1" * identifier) ;) (declaration "ushort uVar2;" type_identifier identifier ;) (declaration "byte *pbVar3;" type_identifier (pointer_declarator "*pbVar3" * identifier) ;) (declaration "byte *pbVar4;" type_identifier (pointer_declarator "*pbVar4" * identifier) ;) (declaration "uint uVar5;" type_identifier identifier ;) (expression_statement "pbVar3 = pCell + pPage->childPtrSize;" (assignment_expression "pbVar3 = pCell + pPage->childPtrSize" identifier = (binary_expression "pCell + pPage->childPtrSize" identifier + (field_expression "pPage->childPtrSize" identifier -> field_identifier))) ;) (expression_statement "uVar5 = (uint)*pbVar3;" (assignment_expression "uVar5 = (uint)*pbVar3" identifier = (binary_expression "(uint)*pbVar3" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) (expression_statement "pbVar4 = pbVar3;" (assignment_expression "pbVar4 = pbVar3" identifier = identifier) ;) (if_statement "if (0x7f < uVar5) {\n    pbVar1 = pbVar3 + 8;\n    pbVar4 = pbVar3 + 1;\n    uVar5 = (uVar5 & 0x7f) << 7 | pbVar3[1] & 0x7f;\n    if ((char)pbVar3[1] < '\0') {\n      pbVar4 = pbVar3 + 2;\n      uVar5 = uVar5 << 7 | pbVar3[2] & 0x7f;\n      if ((pbVar4 < pbVar1) && ((char)pbVar3[2] < '\0')) {\n        pbVar4 = pbVar3 + 3;\n        uVar5 = uVar5 << 7 | pbVar3[3] & 0x7f;\n        if ((pbVar4 < pbVar1) && ((char)pbVar3[3] < '\0')) {\n          pbVar4 = pbVar3 + 4;\n          uVar5 = uVar5 << 7 | pbVar3[4] & 0x7f;\n          if ((pbVar4 < pbVar1) && ((char)pbVar3[4] < '\0')) {\n            pbVar4 = pbVar3 + 5;\n            uVar5 = uVar5 << 7 | pbVar3[5] & 0x7f;\n            if ((pbVar4 < pbVar1) && ((char)pbVar3[5] < '\0')) {\n              pbVar4 = pbVar3 + 6;\n              uVar5 = uVar5 << 7 | pbVar3[6] & 0x7f;\n              if ((pbVar4 < pbVar1) && ((char)pbVar3[6] < '\0')) {\n                pbVar4 = pbVar3 + 7;\n                uVar5 = uVar5 << 7 | pbVar3[7] & 0x7f;\n                if ((pbVar4 < pbVar3 + 8) && ((char)pbVar3[7] < '\0')) {\n                  uVar5 = uVar5 << 7 | pbVar3[8] & 0x7f;\n                  pbVar4 = pbVar3 + 8;\n                }\n              }\n            }\n          }\n        }\n      }\n    }\n  }" if (parenthesized_expression "(0x7f < uVar5)" ( (binary_expression "0x7f < uVar5" number_literal < identifier) )) (compound_statement "{\n    pbVar1 = pbVar3 + 8;\n    pbVar4 = pbVar3 + 1;\n    uVar5 = (uVar5 & 0x7f) << 7 | pbVar3[1] & 0x7f;\n    if ((char)pbVar3[1] < '\0') {\n      pbVar4 = pbVar3 + 2;\n      uVar5 = uVar5 << 7 | pbVar3[2] & 0x7f;\n      if ((pbVar4 < pbVar1) && ((char)pbVar3[2] < '\0')) {\n        pbVar4 = pbVar3 + 3;\n        uVar5 = uVar5 << 7 | pbVar3[3] & 0x7f;\n        if ((pbVar4 < pbVar1) && ((char)pbVar3[3] < '\0')) {\n          pbVar4 = pbVar3 + 4;\n          uVar5 = uVar5 << 7 | pbVar3[4] & 0x7f;\n          if ((pbVar4 < pbVar1) && ((char)pbVar3[4] < '\0')) {\n            pbVar4 = pbVar3 + 5;\n            uVar5 = uVar5 << 7 | pbVar3[5] & 0x7f;\n            if ((pbVar4 < pbVar1) && ((char)pbVar3[5] < '\0')) {\n              pbVar4 = pbVar3 + 6;\n              uVar5 = uVar5 << 7 | pbVar3[6] & 0x7f;\n              if ((pbVar4 < pbVar1) && ((char)pbVar3[6] < '\0')) {\n                pbVar4 = pbVar3 + 7;\n                uVar5 = uVar5 << 7 | pbVar3[7] & 0x7f;\n                if ((pbVar4 < pbVar3 + 8) && ((char)pbVar3[7] < '\0')) {\n                  uVar5 = uVar5 << 7 | pbVar3[8] & 0x7f;\n                  pbVar4 = pbVar3 + 8;\n                }\n              }\n            }\n          }\n        }\n      }\n    }\n  }" { (expression_statement "pbVar1 = pbVar3 + 8;" (assignment_expression "pbVar1 = pbVar3 + 8" identifier = (binary_expression "pbVar3 + 8" identifier + number_literal)) ;) (expression_statement "pbVar4 = pbVar3 + 1;" (assignment_expression "pbVar4 = pbVar3 + 1" identifier = (binary_expression "pbVar3 + 1" identifier + number_literal)) ;) (expression_statement "uVar5 = (uVar5 & 0x7f) << 7 | pbVar3[1] & 0x7f;" (assignment_expression "uVar5 = (uVar5 & 0x7f) << 7 | pbVar3[1] & 0x7f" identifier = (binary_expression "(uVar5 & 0x7f) << 7 | pbVar3[1] & 0x7f" (binary_expression "(uVar5 & 0x7f) << 7" (parenthesized_expression "(uVar5 & 0x7f)" ( (binary_expression "uVar5 & 0x7f" identifier & number_literal) )) << number_literal) | (binary_expression "pbVar3[1] & 0x7f" (subscript_expression "pbVar3[1]" identifier [ number_literal ]) & number_literal))) ;) (if_statement "if ((char)pbVar3[1] < '\0') {\n      pbVar4 = pbVar3 + 2;\n      uVar5 = uVar5 << 7 | pbVar3[2] & 0x7f;\n      if ((pbVar4 < pbVar1) && ((char)pbVar3[2] < '\0')) {\n        pbVar4 = pbVar3 + 3;\n        uVar5 = uVar5 << 7 | pbVar3[3] & 0x7f;\n        if ((pbVar4 < pbVar1) && ((char)pbVar3[3] < '\0')) {\n          pbVar4 = pbVar3 + 4;\n          uVar5 = uVar5 << 7 | pbVar3[4] & 0x7f;\n          if ((pbVar4 < pbVar1) && ((char)pbVar3[4] < '\0')) {\n            pbVar4 = pbVar3 + 5;\n            uVar5 = uVar5 << 7 | pbVar3[5] & 0x7f;\n            if ((pbVar4 < pbVar1) && ((char)pbVar3[5] < '\0')) {\n              pbVar4 = pbVar3 + 6;\n              uVar5 = uVar5 << 7 | pbVar3[6] & 0x7f;\n              if ((pbVar4 < pbVar1) && ((char)pbVar3[6] < '\0')) {\n                pbVar4 = pbVar3 + 7;\n                uVar5 = uVar5 << 7 | pbVar3[7] & 0x7f;\n                if ((pbVar4 < pbVar3 + 8) && ((char)pbVar3[7] < '\0')) {\n                  uVar5 = uVar5 << 7 | pbVar3[8] & 0x7f;\n                  pbVar4 = pbVar3 + 8;\n                }\n              }\n            }\n          }\n        }\n      }\n    }" if (parenthesized_expression "((char)pbVar3[1] < '\0')" ( (binary_expression "(char)pbVar3[1] < '\0'" (cast_expression "(char)pbVar3[1]" ( (type_descriptor "char" primitive_type) ) (subscript_expression "pbVar3[1]" identifier [ number_literal ])) < (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      pbVar4 = pbVar3 + 2;\n      uVar5 = uVar5 << 7 | pbVar3[2] & 0x7f;\n      if ((pbVar4 < pbVar1) && ((char)pbVar3[2] < '\0')) {\n        pbVar4 = pbVar3 + 3;\n        uVar5 = uVar5 << 7 | pbVar3[3] & 0x7f;\n        if ((pbVar4 < pbVar1) && ((char)pbVar3[3] < '\0')) {\n          pbVar4 = pbVar3 + 4;\n          uVar5 = uVar5 << 7 | pbVar3[4] & 0x7f;\n          if ((pbVar4 < pbVar1) && ((char)pbVar3[4] < '\0')) {\n            pbVar4 = pbVar3 + 5;\n            uVar5 = uVar5 << 7 | pbVar3[5] & 0x7f;\n            if ((pbVar4 < pbVar1) && ((char)pbVar3[5] < '\0')) {\n              pbVar4 = pbVar3 + 6;\n              uVar5 = uVar5 << 7 | pbVar3[6] & 0x7f;\n              if ((pbVar4 < pbVar1) && ((char)pbVar3[6] < '\0')) {\n                pbVar4 = pbVar3 + 7;\n                uVar5 = uVar5 << 7 | pbVar3[7] & 0x7f;\n                if ((pbVar4 < pbVar3 + 8) && ((char)pbVar3[7] < '\0')) {\n                  uVar5 = uVar5 << 7 | pbVar3[8] & 0x7f;\n                  pbVar4 = pbVar3 + 8;\n                }\n              }\n            }\n          }\n        }\n      }\n    }" { (expression_statement "pbVar4 = pbVar3 + 2;" (assignment_expression "pbVar4 = pbVar3 + 2" identifier = (binary_expression "pbVar3 + 2" identifier + number_literal)) ;) (expression_statement "uVar5 = uVar5 << 7 | pbVar3[2] & 0x7f;" (assignment_expression "uVar5 = uVar5 << 7 | pbVar3[2] & 0x7f" identifier = (binary_expression "uVar5 << 7 | pbVar3[2] & 0x7f" (binary_expression "uVar5 << 7" identifier << number_literal) | (binary_expression "pbVar3[2] & 0x7f" (subscript_expression "pbVar3[2]" identifier [ number_literal ]) & number_literal))) ;) (if_statement "if ((pbVar4 < pbVar1) && ((char)pbVar3[2] < '\0')) {\n        pbVar4 = pbVar3 + 3;\n        uVar5 = uVar5 << 7 | pbVar3[3] & 0x7f;\n        if ((pbVar4 < pbVar1) && ((char)pbVar3[3] < '\0')) {\n          pbVar4 = pbVar3 + 4;\n          uVar5 = uVar5 << 7 | pbVar3[4] & 0x7f;\n          if ((pbVar4 < pbVar1) && ((char)pbVar3[4] < '\0')) {\n            pbVar4 = pbVar3 + 5;\n            uVar5 = uVar5 << 7 | pbVar3[5] & 0x7f;\n            if ((pbVar4 < pbVar1) && ((char)pbVar3[5] < '\0')) {\n              pbVar4 = pbVar3 + 6;\n              uVar5 = uVar5 << 7 | pbVar3[6] & 0x7f;\n              if ((pbVar4 < pbVar1) && ((char)pbVar3[6] < '\0')) {\n                pbVar4 = pbVar3 + 7;\n                uVar5 = uVar5 << 7 | pbVar3[7] & 0x7f;\n                if ((pbVar4 < pbVar3 + 8) && ((char)pbVar3[7] < '\0')) {\n                  uVar5 = uVar5 << 7 | pbVar3[8] & 0x7f;\n                  pbVar4 = pbVar3 + 8;\n                }\n              }\n            }\n          }\n        }\n      }" if (parenthesized_expression "((pbVar4 < pbVar1) && ((char)pbVar3[2] < '\0'))" ( (binary_expression "(pbVar4 < pbVar1) && ((char)pbVar3[2] < '\0')" (parenthesized_expression "(pbVar4 < pbVar1)" ( (binary_expression "pbVar4 < pbVar1" identifier < identifier) )) && (parenthesized_expression "((char)pbVar3[2] < '\0')" ( (binary_expression "(char)pbVar3[2] < '\0'" (cast_expression "(char)pbVar3[2]" ( (type_descriptor "char" primitive_type) ) (subscript_expression "pbVar3[2]" identifier [ number_literal ])) < (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n        pbVar4 = pbVar3 + 3;\n        uVar5 = uVar5 << 7 | pbVar3[3] & 0x7f;\n        if ((pbVar4 < pbVar1) && ((char)pbVar3[3] < '\0')) {\n          pbVar4 = pbVar3 + 4;\n          uVar5 = uVar5 << 7 | pbVar3[4] & 0x7f;\n          if ((pbVar4 < pbVar1) && ((char)pbVar3[4] < '\0')) {\n            pbVar4 = pbVar3 + 5;\n            uVar5 = uVar5 << 7 | pbVar3[5] & 0x7f;\n            if ((pbVar4 < pbVar1) && ((char)pbVar3[5] < '\0')) {\n              pbVar4 = pbVar3 + 6;\n              uVar5 = uVar5 << 7 | pbVar3[6] & 0x7f;\n              if ((pbVar4 < pbVar1) && ((char)pbVar3[6] < '\0')) {\n                pbVar4 = pbVar3 + 7;\n                uVar5 = uVar5 << 7 | pbVar3[7] & 0x7f;\n                if ((pbVar4 < pbVar3 + 8) && ((char)pbVar3[7] < '\0')) {\n                  uVar5 = uVar5 << 7 | pbVar3[8] & 0x7f;\n                  pbVar4 = pbVar3 + 8;\n                }\n              }\n            }\n          }\n        }\n      }" { (expression_statement "pbVar4 = pbVar3 + 3;" (assignment_expression "pbVar4 = pbVar3 + 3" identifier = (binary_expression "pbVar3 + 3" identifier + number_literal)) ;) (expression_statement "uVar5 = uVar5 << 7 | pbVar3[3] & 0x7f;" (assignment_expression "uVar5 = uVar5 << 7 | pbVar3[3] & 0x7f" identifier = (binary_expression "uVar5 << 7 | pbVar3[3] & 0x7f" (binary_expression "uVar5 << 7" identifier << number_literal) | (binary_expression "pbVar3[3] & 0x7f" (subscript_expression "pbVar3[3]" identifier [ number_literal ]) & number_literal))) ;) (if_statement "if ((pbVar4 < pbVar1) && ((char)pbVar3[3] < '\0')) {\n          pbVar4 = pbVar3 + 4;\n          uVar5 = uVar5 << 7 | pbVar3[4] & 0x7f;\n          if ((pbVar4 < pbVar1) && ((char)pbVar3[4] < '\0')) {\n            pbVar4 = pbVar3 + 5;\n            uVar5 = uVar5 << 7 | pbVar3[5] & 0x7f;\n            if ((pbVar4 < pbVar1) && ((char)pbVar3[5] < '\0')) {\n              pbVar4 = pbVar3 + 6;\n              uVar5 = uVar5 << 7 | pbVar3[6] & 0x7f;\n              if ((pbVar4 < pbVar1) && ((char)pbVar3[6] < '\0')) {\n                pbVar4 = pbVar3 + 7;\n                uVar5 = uVar5 << 7 | pbVar3[7] & 0x7f;\n                if ((pbVar4 < pbVar3 + 8) && ((char)pbVar3[7] < '\0')) {\n                  uVar5 = uVar5 << 7 | pbVar3[8] & 0x7f;\n                  pbVar4 = pbVar3 + 8;\n                }\n              }\n            }\n          }\n        }" if (parenthesized_expression "((pbVar4 < pbVar1) && ((char)pbVar3[3] < '\0'))" ( (binary_expression "(pbVar4 < pbVar1) && ((char)pbVar3[3] < '\0')" (parenthesized_expression "(pbVar4 < pbVar1)" ( (binary_expression "pbVar4 < pbVar1" identifier < identifier) )) && (parenthesized_expression "((char)pbVar3[3] < '\0')" ( (binary_expression "(char)pbVar3[3] < '\0'" (cast_expression "(char)pbVar3[3]" ( (type_descriptor "char" primitive_type) ) (subscript_expression "pbVar3[3]" identifier [ number_literal ])) < (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n          pbVar4 = pbVar3 + 4;\n          uVar5 = uVar5 << 7 | pbVar3[4] & 0x7f;\n          if ((pbVar4 < pbVar1) && ((char)pbVar3[4] < '\0')) {\n            pbVar4 = pbVar3 + 5;\n            uVar5 = uVar5 << 7 | pbVar3[5] & 0x7f;\n            if ((pbVar4 < pbVar1) && ((char)pbVar3[5] < '\0')) {\n              pbVar4 = pbVar3 + 6;\n              uVar5 = uVar5 << 7 | pbVar3[6] & 0x7f;\n              if ((pbVar4 < pbVar1) && ((char)pbVar3[6] < '\0')) {\n                pbVar4 = pbVar3 + 7;\n                uVar5 = uVar5 << 7 | pbVar3[7] & 0x7f;\n                if ((pbVar4 < pbVar3 + 8) && ((char)pbVar3[7] < '\0')) {\n                  uVar5 = uVar5 << 7 | pbVar3[8] & 0x7f;\n                  pbVar4 = pbVar3 + 8;\n                }\n              }\n            }\n          }\n        }" { (expression_statement "pbVar4 = pbVar3 + 4;" (assignment_expression "pbVar4 = pbVar3 + 4" identifier = (binary_expression "pbVar3 + 4" identifier + number_literal)) ;) (expression_statement "uVar5 = uVar5 << 7 | pbVar3[4] & 0x7f;" (assignment_expression "uVar5 = uVar5 << 7 | pbVar3[4] & 0x7f" identifier = (binary_expression "uVar5 << 7 | pbVar3[4] & 0x7f" (binary_expression "uVar5 << 7" identifier << number_literal) | (binary_expression "pbVar3[4] & 0x7f" (subscript_expression "pbVar3[4]" identifier [ number_literal ]) & number_literal))) ;) (if_statement "if ((pbVar4 < pbVar1) && ((char)pbVar3[4] < '\0')) {\n            pbVar4 = pbVar3 + 5;\n            uVar5 = uVar5 << 7 | pbVar3[5] & 0x7f;\n            if ((pbVar4 < pbVar1) && ((char)pbVar3[5] < '\0')) {\n              pbVar4 = pbVar3 + 6;\n              uVar5 = uVar5 << 7 | pbVar3[6] & 0x7f;\n              if ((pbVar4 < pbVar1) && ((char)pbVar3[6] < '\0')) {\n                pbVar4 = pbVar3 + 7;\n                uVar5 = uVar5 << 7 | pbVar3[7] & 0x7f;\n                if ((pbVar4 < pbVar3 + 8) && ((char)pbVar3[7] < '\0')) {\n                  uVar5 = uVar5 << 7 | pbVar3[8] & 0x7f;\n                  pbVar4 = pbVar3 + 8;\n                }\n              }\n            }\n          }" if (parenthesized_expression "((pbVar4 < pbVar1) && ((char)pbVar3[4] < '\0'))" ( (binary_expression "(pbVar4 < pbVar1) && ((char)pbVar3[4] < '\0')" (parenthesized_expression "(pbVar4 < pbVar1)" ( (binary_expression "pbVar4 < pbVar1" identifier < identifier) )) && (parenthesized_expression "((char)pbVar3[4] < '\0')" ( (binary_expression "(char)pbVar3[4] < '\0'" (cast_expression "(char)pbVar3[4]" ( (type_descriptor "char" primitive_type) ) (subscript_expression "pbVar3[4]" identifier [ number_literal ])) < (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n            pbVar4 = pbVar3 + 5;\n            uVar5 = uVar5 << 7 | pbVar3[5] & 0x7f;\n            if ((pbVar4 < pbVar1) && ((char)pbVar3[5] < '\0')) {\n              pbVar4 = pbVar3 + 6;\n              uVar5 = uVar5 << 7 | pbVar3[6] & 0x7f;\n              if ((pbVar4 < pbVar1) && ((char)pbVar3[6] < '\0')) {\n                pbVar4 = pbVar3 + 7;\n                uVar5 = uVar5 << 7 | pbVar3[7] & 0x7f;\n                if ((pbVar4 < pbVar3 + 8) && ((char)pbVar3[7] < '\0')) {\n                  uVar5 = uVar5 << 7 | pbVar3[8] & 0x7f;\n                  pbVar4 = pbVar3 + 8;\n                }\n              }\n            }\n          }" { (expression_statement "pbVar4 = pbVar3 + 5;" (assignment_expression "pbVar4 = pbVar3 + 5" identifier = (binary_expression "pbVar3 + 5" identifier + number_literal)) ;) (expression_statement "uVar5 = uVar5 << 7 | pbVar3[5] & 0x7f;" (assignment_expression "uVar5 = uVar5 << 7 | pbVar3[5] & 0x7f" identifier = (binary_expression "uVar5 << 7 | pbVar3[5] & 0x7f" (binary_expression "uVar5 << 7" identifier << number_literal) | (binary_expression "pbVar3[5] & 0x7f" (subscript_expression "pbVar3[5]" identifier [ number_literal ]) & number_literal))) ;) (if_statement "if ((pbVar4 < pbVar1) && ((char)pbVar3[5] < '\0')) {\n              pbVar4 = pbVar3 + 6;\n              uVar5 = uVar5 << 7 | pbVar3[6] & 0x7f;\n              if ((pbVar4 < pbVar1) && ((char)pbVar3[6] < '\0')) {\n                pbVar4 = pbVar3 + 7;\n                uVar5 = uVar5 << 7 | pbVar3[7] & 0x7f;\n                if ((pbVar4 < pbVar3 + 8) && ((char)pbVar3[7] < '\0')) {\n                  uVar5 = uVar5 << 7 | pbVar3[8] & 0x7f;\n                  pbVar4 = pbVar3 + 8;\n                }\n              }\n            }" if (parenthesized_expression "((pbVar4 < pbVar1) && ((char)pbVar3[5] < '\0'))" ( (binary_expression "(pbVar4 < pbVar1) && ((char)pbVar3[5] < '\0')" (parenthesized_expression "(pbVar4 < pbVar1)" ( (binary_expression "pbVar4 < pbVar1" identifier < identifier) )) && (parenthesized_expression "((char)pbVar3[5] < '\0')" ( (binary_expression "(char)pbVar3[5] < '\0'" (cast_expression "(char)pbVar3[5]" ( (type_descriptor "char" primitive_type) ) (subscript_expression "pbVar3[5]" identifier [ number_literal ])) < (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n              pbVar4 = pbVar3 + 6;\n              uVar5 = uVar5 << 7 | pbVar3[6] & 0x7f;\n              if ((pbVar4 < pbVar1) && ((char)pbVar3[6] < '\0')) {\n                pbVar4 = pbVar3 + 7;\n                uVar5 = uVar5 << 7 | pbVar3[7] & 0x7f;\n                if ((pbVar4 < pbVar3 + 8) && ((char)pbVar3[7] < '\0')) {\n                  uVar5 = uVar5 << 7 | pbVar3[8] & 0x7f;\n                  pbVar4 = pbVar3 + 8;\n                }\n              }\n            }" { (expression_statement "pbVar4 = pbVar3 + 6;" (assignment_expression "pbVar4 = pbVar3 + 6" identifier = (binary_expression "pbVar3 + 6" identifier + number_literal)) ;) (expression_statement "uVar5 = uVar5 << 7 | pbVar3[6] & 0x7f;" (assignment_expression "uVar5 = uVar5 << 7 | pbVar3[6] & 0x7f" identifier = (binary_expression "uVar5 << 7 | pbVar3[6] & 0x7f" (binary_expression "uVar5 << 7" identifier << number_literal) | (binary_expression "pbVar3[6] & 0x7f" (subscript_expression "pbVar3[6]" identifier [ number_literal ]) & number_literal))) ;) (if_statement "if ((pbVar4 < pbVar1) && ((char)pbVar3[6] < '\0')) {\n                pbVar4 = pbVar3 + 7;\n                uVar5 = uVar5 << 7 | pbVar3[7] & 0x7f;\n                if ((pbVar4 < pbVar3 + 8) && ((char)pbVar3[7] < '\0')) {\n                  uVar5 = uVar5 << 7 | pbVar3[8] & 0x7f;\n                  pbVar4 = pbVar3 + 8;\n                }\n              }" if (parenthesized_expression "((pbVar4 < pbVar1) && ((char)pbVar3[6] < '\0'))" ( (binary_expression "(pbVar4 < pbVar1) && ((char)pbVar3[6] < '\0')" (parenthesized_expression "(pbVar4 < pbVar1)" ( (binary_expression "pbVar4 < pbVar1" identifier < identifier) )) && (parenthesized_expression "((char)pbVar3[6] < '\0')" ( (binary_expression "(char)pbVar3[6] < '\0'" (cast_expression "(char)pbVar3[6]" ( (type_descriptor "char" primitive_type) ) (subscript_expression "pbVar3[6]" identifier [ number_literal ])) < (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n                pbVar4 = pbVar3 + 7;\n                uVar5 = uVar5 << 7 | pbVar3[7] & 0x7f;\n                if ((pbVar4 < pbVar3 + 8) && ((char)pbVar3[7] < '\0')) {\n                  uVar5 = uVar5 << 7 | pbVar3[8] & 0x7f;\n                  pbVar4 = pbVar3 + 8;\n                }\n              }" { (expression_statement "pbVar4 = pbVar3 + 7;" (assignment_expression "pbVar4 = pbVar3 + 7" identifier = (binary_expression "pbVar3 + 7" identifier + number_literal)) ;) (expression_statement "uVar5 = uVar5 << 7 | pbVar3[7] & 0x7f;" (assignment_expression "uVar5 = uVar5 << 7 | pbVar3[7] & 0x7f" identifier = (binary_expression "uVar5 << 7 | pbVar3[7] & 0x7f" (binary_expression "uVar5 << 7" identifier << number_literal) | (binary_expression "pbVar3[7] & 0x7f" (subscript_expression "pbVar3[7]" identifier [ number_literal ]) & number_literal))) ;) (if_statement "if ((pbVar4 < pbVar3 + 8) && ((char)pbVar3[7] < '\0')) {\n                  uVar5 = uVar5 << 7 | pbVar3[8] & 0x7f;\n                  pbVar4 = pbVar3 + 8;\n                }" if (parenthesized_expression "((pbVar4 < pbVar3 + 8) && ((char)pbVar3[7] < '\0'))" ( (binary_expression "(pbVar4 < pbVar3 + 8) && ((char)pbVar3[7] < '\0')" (parenthesized_expression "(pbVar4 < pbVar3 + 8)" ( (binary_expression "pbVar4 < pbVar3 + 8" identifier < (binary_expression "pbVar3 + 8" identifier + number_literal)) )) && (parenthesized_expression "((char)pbVar3[7] < '\0')" ( (binary_expression "(char)pbVar3[7] < '\0'" (cast_expression "(char)pbVar3[7]" ( (type_descriptor "char" primitive_type) ) (subscript_expression "pbVar3[7]" identifier [ number_literal ])) < (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n                  uVar5 = uVar5 << 7 | pbVar3[8] & 0x7f;\n                  pbVar4 = pbVar3 + 8;\n                }" { (expression_statement "uVar5 = uVar5 << 7 | pbVar3[8] & 0x7f;" (assignment_expression "uVar5 = uVar5 << 7 | pbVar3[8] & 0x7f" identifier = (binary_expression "uVar5 << 7 | pbVar3[8] & 0x7f" (binary_expression "uVar5 << 7" identifier << number_literal) | (binary_expression "pbVar3[8] & 0x7f" (subscript_expression "pbVar3[8]" identifier [ number_literal ]) & number_literal))) ;) (expression_statement "pbVar4 = pbVar3 + 8;" (assignment_expression "pbVar4 = pbVar3 + 8" identifier = (binary_expression "pbVar3 + 8" identifier + number_literal)) ;) })) })) })) })) })) })) })) })) (expression_statement "*(uint *)&pInfo->nKey = uVar5;" (assignment_expression "*(uint *)&pInfo->nKey = uVar5" (pointer_expression "*(uint *)&pInfo->nKey" * (cast_expression "(uint *)&pInfo->nKey" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&pInfo->nKey" & (field_expression "pInfo->nKey" identifier -> field_identifier)))) = identifier) ;) (expression_statement "*(undefined4 *)((int)&pInfo->nKey + 4) = 0;" (assignment_expression "*(undefined4 *)((int)&pInfo->nKey + 4) = 0" (pointer_expression "*(undefined4 *)((int)&pInfo->nKey + 4)" * (cast_expression "(undefined4 *)((int)&pInfo->nKey + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&pInfo->nKey + 4)" ( (binary_expression "(int)&pInfo->nKey + 4" (cast_expression "(int)&pInfo->nKey" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&pInfo->nKey" & (field_expression "pInfo->nKey" identifier -> field_identifier))) + number_literal) )))) = number_literal) ;) (expression_statement "pInfo->nPayload = uVar5;" (assignment_expression "pInfo->nPayload = uVar5" (field_expression "pInfo->nPayload" identifier -> field_identifier) = identifier) ;) (expression_statement "pInfo->pPayload = pbVar4 + 1;" (assignment_expression "pInfo->pPayload = pbVar4 + 1" (field_expression "pInfo->pPayload" identifier -> field_identifier) = (binary_expression "pbVar4 + 1" identifier + number_literal)) ;) (if_statement "if (pPage->maxLocal < uVar5) {\n    btreeParseCellAdjustSizeForOverflow(pPage,pCell,pInfo);\n    return;\n  }" if (parenthesized_expression "(pPage->maxLocal < uVar5)" ( (binary_expression "pPage->maxLocal < uVar5" (field_expression "pPage->maxLocal" identifier -> field_identifier) < identifier) )) (compound_statement "{\n    btreeParseCellAdjustSizeForOverflow(pPage,pCell,pInfo);\n    return;\n  }" { (expression_statement "btreeParseCellAdjustSizeForOverflow(pPage,pCell,pInfo);" (call_expression "btreeParseCellAdjustSizeForOverflow(pPage,pCell,pInfo)" identifier (argument_list "(pPage,pCell,pInfo)" ( identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })) (expression_statement "pInfo->nLocal = (u16)uVar5;" (assignment_expression "pInfo->nLocal = (u16)uVar5" (field_expression "pInfo->nLocal" identifier -> field_identifier) = (cast_expression "(u16)uVar5" ( (type_descriptor "u16" type_identifier) ) identifier)) ;) (expression_statement "uVar2 = ((short)(pbVar4 + 1) - (short)pCell) + (u16)uVar5;" (assignment_expression "uVar2 = ((short)(pbVar4 + 1) - (short)pCell) + (u16)uVar5" identifier = (binary_expression "((short)(pbVar4 + 1) - (short)pCell) + (u16)uVar5" (parenthesized_expression "((short)(pbVar4 + 1) - (short)pCell)" ( (binary_expression "(short)(pbVar4 + 1) - (short)pCell" (cast_expression "(short)(pbVar4 + 1)" ( (type_descriptor "short" (sized_type_specifier "short" short)) ) (parenthesized_expression "(pbVar4 + 1)" ( (binary_expression "pbVar4 + 1" identifier + number_literal) ))) - (cast_expression "(short)pCell" ( (type_descriptor "short" (sized_type_specifier "short" short)) ) identifier)) )) + (cast_expression "(u16)uVar5" ( (type_descriptor "u16" type_identifier) ) identifier))) ;) (if_statement "if (uVar2 < 4) {\n    uVar2 = 4;\n  }" if (parenthesized_expression "(uVar2 < 4)" ( (binary_expression "uVar2 < 4" identifier < number_literal) )) (compound_statement "{\n    uVar2 = 4;\n  }" { (expression_statement "uVar2 = 4;" (assignment_expression "uVar2 = 4" identifier = number_literal) ;) })) (expression_statement "pInfo->nSize = uVar2;" (assignment_expression "pInfo->nSize = uVar2" (field_expression "pInfo->nSize" identifier -> field_identifier) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0003c340(int param_1,int param_2,uint *param_3)\n\n{\n  byte *pbVar1;\n  ushort uVar2;\n  byte *pbVar3;\n  byte *pbVar4;\n  uint uVar5;\n  \n  pbVar3 = (byte *)((uint)*(byte *)(param_1 + 10) + param_2);\n  uVar5 = (uint)*pbVar3;\n  pbVar4 = pbVar3;\n  if (0x7f < uVar5) {\n    pbVar1 = pbVar3 + 8;\n    pbVar4 = pbVar3 + 1;\n    uVar5 = (uVar5 & 0x7f) << 7 | pbVar3[1] & 0x7f;\n    if ((char)pbVar3[1] < '\0') {\n      pbVar4 = pbVar3 + 2;\n      uVar5 = uVar5 << 7 | pbVar3[2] & 0x7f;\n      if ((pbVar4 < pbVar1) && ((char)pbVar3[2] < '\0')) {\n        pbVar4 = pbVar3 + 3;\n        uVar5 = uVar5 << 7 | pbVar3[3] & 0x7f;\n        if ((pbVar4 < pbVar1) && ((char)pbVar3[3] < '\0')) {\n          pbVar4 = pbVar3 + 4;\n          uVar5 = uVar5 << 7 | pbVar3[4] & 0x7f;\n          if ((pbVar4 < pbVar1) && ((char)pbVar3[4] < '\0')) {\n            pbVar4 = pbVar3 + 5;\n            uVar5 = uVar5 << 7 | pbVar3[5] & 0x7f;\n            if ((pbVar4 < pbVar1) && ((char)pbVar3[5] < '\0')) {\n              pbVar4 = pbVar3 + 6;\n              uVar5 = uVar5 << 7 | pbVar3[6] & 0x7f;\n              if ((pbVar4 < pbVar1) && ((char)pbVar3[6] < '\0')) {\n                pbVar4 = pbVar3 + 7;\n                uVar5 = uVar5 << 7 | pbVar3[7] & 0x7f;\n                if ((pbVar4 < pbVar3 + 8) && ((char)pbVar3[7] < '\0')) {\n                  uVar5 = uVar5 << 7 | pbVar3[8] & 0x7f;\n                  pbVar4 = pbVar3 + 8;\n                }\n              }\n            }\n          }\n        }\n      }\n    }\n  }\n  *param_3 = uVar5;\n  param_3[1] = 0;\n  param_3[3] = uVar5;\n  param_3[2] = (uint)(pbVar4 + 1);\n  if (*(ushort *)(param_1 + 0xe) < uVar5) {\n    FUN_0003bfb0();\n    return;\n  }\n  *(short *)(param_3 + 4) = (short)uVar5;\n  uVar2 = ((short)(pbVar4 + 1) - (short)param_2) + (short)uVar5;\n  if (uVar2 < 4) {\n    uVar2 = 4;\n  }\n  *(ushort *)((int)param_3 + 0x12) = uVar2;\n  return;\n}\n\n" (function_definition "void FUN_0003c340(int param_1,int param_2,uint *param_3)\n\n{\n  byte *pbVar1;\n  ushort uVar2;\n  byte *pbVar3;\n  byte *pbVar4;\n  uint uVar5;\n  \n  pbVar3 = (byte *)((uint)*(byte *)(param_1 + 10) + param_2);\n  uVar5 = (uint)*pbVar3;\n  pbVar4 = pbVar3;\n  if (0x7f < uVar5) {\n    pbVar1 = pbVar3 + 8;\n    pbVar4 = pbVar3 + 1;\n    uVar5 = (uVar5 & 0x7f) << 7 | pbVar3[1] & 0x7f;\n    if ((char)pbVar3[1] < '\0') {\n      pbVar4 = pbVar3 + 2;\n      uVar5 = uVar5 << 7 | pbVar3[2] & 0x7f;\n      if ((pbVar4 < pbVar1) && ((char)pbVar3[2] < '\0')) {\n        pbVar4 = pbVar3 + 3;\n        uVar5 = uVar5 << 7 | pbVar3[3] & 0x7f;\n        if ((pbVar4 < pbVar1) && ((char)pbVar3[3] < '\0')) {\n          pbVar4 = pbVar3 + 4;\n          uVar5 = uVar5 << 7 | pbVar3[4] & 0x7f;\n          if ((pbVar4 < pbVar1) && ((char)pbVar3[4] < '\0')) {\n            pbVar4 = pbVar3 + 5;\n            uVar5 = uVar5 << 7 | pbVar3[5] & 0x7f;\n            if ((pbVar4 < pbVar1) && ((char)pbVar3[5] < '\0')) {\n              pbVar4 = pbVar3 + 6;\n              uVar5 = uVar5 << 7 | pbVar3[6] & 0x7f;\n              if ((pbVar4 < pbVar1) && ((char)pbVar3[6] < '\0')) {\n                pbVar4 = pbVar3 + 7;\n                uVar5 = uVar5 << 7 | pbVar3[7] & 0x7f;\n                if ((pbVar4 < pbVar3 + 8) && ((char)pbVar3[7] < '\0')) {\n                  uVar5 = uVar5 << 7 | pbVar3[8] & 0x7f;\n                  pbVar4 = pbVar3 + 8;\n                }\n              }\n            }\n          }\n        }\n      }\n    }\n  }\n  *param_3 = uVar5;\n  param_3[1] = 0;\n  param_3[3] = uVar5;\n  param_3[2] = (uint)(pbVar4 + 1);\n  if (*(ushort *)(param_1 + 0xe) < uVar5) {\n    FUN_0003bfb0();\n    return;\n  }\n  *(short *)(param_3 + 4) = (short)uVar5;\n  uVar2 = ((short)(pbVar4 + 1) - (short)param_2) + (short)uVar5;\n  if (uVar2 < 4) {\n    uVar2 = 4;\n  }\n  *(ushort *)((int)param_3 + 0x12) = uVar2;\n  return;\n}" primitive_type (function_declarator "FUN_0003c340(int param_1,int param_2,uint *param_3)" identifier (parameter_list "(int param_1,int param_2,uint *param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "uint *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  byte *pbVar1;\n  ushort uVar2;\n  byte *pbVar3;\n  byte *pbVar4;\n  uint uVar5;\n  \n  pbVar3 = (byte *)((uint)*(byte *)(param_1 + 10) + param_2);\n  uVar5 = (uint)*pbVar3;\n  pbVar4 = pbVar3;\n  if (0x7f < uVar5) {\n    pbVar1 = pbVar3 + 8;\n    pbVar4 = pbVar3 + 1;\n    uVar5 = (uVar5 & 0x7f) << 7 | pbVar3[1] & 0x7f;\n    if ((char)pbVar3[1] < '\0') {\n      pbVar4 = pbVar3 + 2;\n      uVar5 = uVar5 << 7 | pbVar3[2] & 0x7f;\n      if ((pbVar4 < pbVar1) && ((char)pbVar3[2] < '\0')) {\n        pbVar4 = pbVar3 + 3;\n        uVar5 = uVar5 << 7 | pbVar3[3] & 0x7f;\n        if ((pbVar4 < pbVar1) && ((char)pbVar3[3] < '\0')) {\n          pbVar4 = pbVar3 + 4;\n          uVar5 = uVar5 << 7 | pbVar3[4] & 0x7f;\n          if ((pbVar4 < pbVar1) && ((char)pbVar3[4] < '\0')) {\n            pbVar4 = pbVar3 + 5;\n            uVar5 = uVar5 << 7 | pbVar3[5] & 0x7f;\n            if ((pbVar4 < pbVar1) && ((char)pbVar3[5] < '\0')) {\n              pbVar4 = pbVar3 + 6;\n              uVar5 = uVar5 << 7 | pbVar3[6] & 0x7f;\n              if ((pbVar4 < pbVar1) && ((char)pbVar3[6] < '\0')) {\n                pbVar4 = pbVar3 + 7;\n                uVar5 = uVar5 << 7 | pbVar3[7] & 0x7f;\n                if ((pbVar4 < pbVar3 + 8) && ((char)pbVar3[7] < '\0')) {\n                  uVar5 = uVar5 << 7 | pbVar3[8] & 0x7f;\n                  pbVar4 = pbVar3 + 8;\n                }\n              }\n            }\n          }\n        }\n      }\n    }\n  }\n  *param_3 = uVar5;\n  param_3[1] = 0;\n  param_3[3] = uVar5;\n  param_3[2] = (uint)(pbVar4 + 1);\n  if (*(ushort *)(param_1 + 0xe) < uVar5) {\n    FUN_0003bfb0();\n    return;\n  }\n  *(short *)(param_3 + 4) = (short)uVar5;\n  uVar2 = ((short)(pbVar4 + 1) - (short)param_2) + (short)uVar5;\n  if (uVar2 < 4) {\n    uVar2 = 4;\n  }\n  *(ushort *)((int)param_3 + 0x12) = uVar2;\n  return;\n}" { (declaration "byte *pbVar1;" type_identifier (pointer_declarator "*pbVar1" * identifier) ;) (declaration "ushort uVar2;" type_identifier identifier ;) (declaration "byte *pbVar3;" type_identifier (pointer_declarator "*pbVar3" * identifier) ;) (declaration "byte *pbVar4;" type_identifier (pointer_declarator "*pbVar4" * identifier) ;) (declaration "uint uVar5;" type_identifier identifier ;) (expression_statement "pbVar3 = (byte *)((uint)*(byte *)(param_1 + 10) + param_2);" (assignment_expression "pbVar3 = (byte *)((uint)*(byte *)(param_1 + 10) + param_2)" identifier = (cast_expression "(byte *)((uint)*(byte *)(param_1 + 10) + param_2)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((uint)*(byte *)(param_1 + 10) + param_2)" ( (binary_expression "(uint)*(byte *)(param_1 + 10) + param_2" (binary_expression "(uint)*(byte *)(param_1 + 10)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)(param_1 + 10)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 10)" ( (binary_expression "param_1 + 10" identifier + number_literal) )))) + identifier) )))) ;) (expression_statement "uVar5 = (uint)*pbVar3;" (assignment_expression "uVar5 = (uint)*pbVar3" identifier = (binary_expression "(uint)*pbVar3" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) (expression_statement "pbVar4 = pbVar3;" (assignment_expression "pbVar4 = pbVar3" identifier = identifier) ;) (if_statement "if (0x7f < uVar5) {\n    pbVar1 = pbVar3 + 8;\n    pbVar4 = pbVar3 + 1;\n    uVar5 = (uVar5 & 0x7f) << 7 | pbVar3[1] & 0x7f;\n    if ((char)pbVar3[1] < '\0') {\n      pbVar4 = pbVar3 + 2;\n      uVar5 = uVar5 << 7 | pbVar3[2] & 0x7f;\n      if ((pbVar4 < pbVar1) && ((char)pbVar3[2] < '\0')) {\n        pbVar4 = pbVar3 + 3;\n        uVar5 = uVar5 << 7 | pbVar3[3] & 0x7f;\n        if ((pbVar4 < pbVar1) && ((char)pbVar3[3] < '\0')) {\n          pbVar4 = pbVar3 + 4;\n          uVar5 = uVar5 << 7 | pbVar3[4] & 0x7f;\n          if ((pbVar4 < pbVar1) && ((char)pbVar3[4] < '\0')) {\n            pbVar4 = pbVar3 + 5;\n            uVar5 = uVar5 << 7 | pbVar3[5] & 0x7f;\n            if ((pbVar4 < pbVar1) && ((char)pbVar3[5] < '\0')) {\n              pbVar4 = pbVar3 + 6;\n              uVar5 = uVar5 << 7 | pbVar3[6] & 0x7f;\n              if ((pbVar4 < pbVar1) && ((char)pbVar3[6] < '\0')) {\n                pbVar4 = pbVar3 + 7;\n                uVar5 = uVar5 << 7 | pbVar3[7] & 0x7f;\n                if ((pbVar4 < pbVar3 + 8) && ((char)pbVar3[7] < '\0')) {\n                  uVar5 = uVar5 << 7 | pbVar3[8] & 0x7f;\n                  pbVar4 = pbVar3 + 8;\n                }\n              }\n            }\n          }\n        }\n      }\n    }\n  }" if (parenthesized_expression "(0x7f < uVar5)" ( (binary_expression "0x7f < uVar5" number_literal < identifier) )) (compound_statement "{\n    pbVar1 = pbVar3 + 8;\n    pbVar4 = pbVar3 + 1;\n    uVar5 = (uVar5 & 0x7f) << 7 | pbVar3[1] & 0x7f;\n    if ((char)pbVar3[1] < '\0') {\n      pbVar4 = pbVar3 + 2;\n      uVar5 = uVar5 << 7 | pbVar3[2] & 0x7f;\n      if ((pbVar4 < pbVar1) && ((char)pbVar3[2] < '\0')) {\n        pbVar4 = pbVar3 + 3;\n        uVar5 = uVar5 << 7 | pbVar3[3] & 0x7f;\n        if ((pbVar4 < pbVar1) && ((char)pbVar3[3] < '\0')) {\n          pbVar4 = pbVar3 + 4;\n          uVar5 = uVar5 << 7 | pbVar3[4] & 0x7f;\n          if ((pbVar4 < pbVar1) && ((char)pbVar3[4] < '\0')) {\n            pbVar4 = pbVar3 + 5;\n            uVar5 = uVar5 << 7 | pbVar3[5] & 0x7f;\n            if ((pbVar4 < pbVar1) && ((char)pbVar3[5] < '\0')) {\n              pbVar4 = pbVar3 + 6;\n              uVar5 = uVar5 << 7 | pbVar3[6] & 0x7f;\n              if ((pbVar4 < pbVar1) && ((char)pbVar3[6] < '\0')) {\n                pbVar4 = pbVar3 + 7;\n                uVar5 = uVar5 << 7 | pbVar3[7] & 0x7f;\n                if ((pbVar4 < pbVar3 + 8) && ((char)pbVar3[7] < '\0')) {\n                  uVar5 = uVar5 << 7 | pbVar3[8] & 0x7f;\n                  pbVar4 = pbVar3 + 8;\n                }\n              }\n            }\n          }\n        }\n      }\n    }\n  }" { (expression_statement "pbVar1 = pbVar3 + 8;" (assignment_expression "pbVar1 = pbVar3 + 8" identifier = (binary_expression "pbVar3 + 8" identifier + number_literal)) ;) (expression_statement "pbVar4 = pbVar3 + 1;" (assignment_expression "pbVar4 = pbVar3 + 1" identifier = (binary_expression "pbVar3 + 1" identifier + number_literal)) ;) (expression_statement "uVar5 = (uVar5 & 0x7f) << 7 | pbVar3[1] & 0x7f;" (assignment_expression "uVar5 = (uVar5 & 0x7f) << 7 | pbVar3[1] & 0x7f" identifier = (binary_expression "(uVar5 & 0x7f) << 7 | pbVar3[1] & 0x7f" (binary_expression "(uVar5 & 0x7f) << 7" (parenthesized_expression "(uVar5 & 0x7f)" ( (binary_expression "uVar5 & 0x7f" identifier & number_literal) )) << number_literal) | (binary_expression "pbVar3[1] & 0x7f" (subscript_expression "pbVar3[1]" identifier [ number_literal ]) & number_literal))) ;) (if_statement "if ((char)pbVar3[1] < '\0') {\n      pbVar4 = pbVar3 + 2;\n      uVar5 = uVar5 << 7 | pbVar3[2] & 0x7f;\n      if ((pbVar4 < pbVar1) && ((char)pbVar3[2] < '\0')) {\n        pbVar4 = pbVar3 + 3;\n        uVar5 = uVar5 << 7 | pbVar3[3] & 0x7f;\n        if ((pbVar4 < pbVar1) && ((char)pbVar3[3] < '\0')) {\n          pbVar4 = pbVar3 + 4;\n          uVar5 = uVar5 << 7 | pbVar3[4] & 0x7f;\n          if ((pbVar4 < pbVar1) && ((char)pbVar3[4] < '\0')) {\n            pbVar4 = pbVar3 + 5;\n            uVar5 = uVar5 << 7 | pbVar3[5] & 0x7f;\n            if ((pbVar4 < pbVar1) && ((char)pbVar3[5] < '\0')) {\n              pbVar4 = pbVar3 + 6;\n              uVar5 = uVar5 << 7 | pbVar3[6] & 0x7f;\n              if ((pbVar4 < pbVar1) && ((char)pbVar3[6] < '\0')) {\n                pbVar4 = pbVar3 + 7;\n                uVar5 = uVar5 << 7 | pbVar3[7] & 0x7f;\n                if ((pbVar4 < pbVar3 + 8) && ((char)pbVar3[7] < '\0')) {\n                  uVar5 = uVar5 << 7 | pbVar3[8] & 0x7f;\n                  pbVar4 = pbVar3 + 8;\n                }\n              }\n            }\n          }\n        }\n      }\n    }" if (parenthesized_expression "((char)pbVar3[1] < '\0')" ( (binary_expression "(char)pbVar3[1] < '\0'" (cast_expression "(char)pbVar3[1]" ( (type_descriptor "char" primitive_type) ) (subscript_expression "pbVar3[1]" identifier [ number_literal ])) < (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      pbVar4 = pbVar3 + 2;\n      uVar5 = uVar5 << 7 | pbVar3[2] & 0x7f;\n      if ((pbVar4 < pbVar1) && ((char)pbVar3[2] < '\0')) {\n        pbVar4 = pbVar3 + 3;\n        uVar5 = uVar5 << 7 | pbVar3[3] & 0x7f;\n        if ((pbVar4 < pbVar1) && ((char)pbVar3[3] < '\0')) {\n          pbVar4 = pbVar3 + 4;\n          uVar5 = uVar5 << 7 | pbVar3[4] & 0x7f;\n          if ((pbVar4 < pbVar1) && ((char)pbVar3[4] < '\0')) {\n            pbVar4 = pbVar3 + 5;\n            uVar5 = uVar5 << 7 | pbVar3[5] & 0x7f;\n            if ((pbVar4 < pbVar1) && ((char)pbVar3[5] < '\0')) {\n              pbVar4 = pbVar3 + 6;\n              uVar5 = uVar5 << 7 | pbVar3[6] & 0x7f;\n              if ((pbVar4 < pbVar1) && ((char)pbVar3[6] < '\0')) {\n                pbVar4 = pbVar3 + 7;\n                uVar5 = uVar5 << 7 | pbVar3[7] & 0x7f;\n                if ((pbVar4 < pbVar3 + 8) && ((char)pbVar3[7] < '\0')) {\n                  uVar5 = uVar5 << 7 | pbVar3[8] & 0x7f;\n                  pbVar4 = pbVar3 + 8;\n                }\n              }\n            }\n          }\n        }\n      }\n    }" { (expression_statement "pbVar4 = pbVar3 + 2;" (assignment_expression "pbVar4 = pbVar3 + 2" identifier = (binary_expression "pbVar3 + 2" identifier + number_literal)) ;) (expression_statement "uVar5 = uVar5 << 7 | pbVar3[2] & 0x7f;" (assignment_expression "uVar5 = uVar5 << 7 | pbVar3[2] & 0x7f" identifier = (binary_expression "uVar5 << 7 | pbVar3[2] & 0x7f" (binary_expression "uVar5 << 7" identifier << number_literal) | (binary_expression "pbVar3[2] & 0x7f" (subscript_expression "pbVar3[2]" identifier [ number_literal ]) & number_literal))) ;) (if_statement "if ((pbVar4 < pbVar1) && ((char)pbVar3[2] < '\0')) {\n        pbVar4 = pbVar3 + 3;\n        uVar5 = uVar5 << 7 | pbVar3[3] & 0x7f;\n        if ((pbVar4 < pbVar1) && ((char)pbVar3[3] < '\0')) {\n          pbVar4 = pbVar3 + 4;\n          uVar5 = uVar5 << 7 | pbVar3[4] & 0x7f;\n          if ((pbVar4 < pbVar1) && ((char)pbVar3[4] < '\0')) {\n            pbVar4 = pbVar3 + 5;\n            uVar5 = uVar5 << 7 | pbVar3[5] & 0x7f;\n            if ((pbVar4 < pbVar1) && ((char)pbVar3[5] < '\0')) {\n              pbVar4 = pbVar3 + 6;\n              uVar5 = uVar5 << 7 | pbVar3[6] & 0x7f;\n              if ((pbVar4 < pbVar1) && ((char)pbVar3[6] < '\0')) {\n                pbVar4 = pbVar3 + 7;\n                uVar5 = uVar5 << 7 | pbVar3[7] & 0x7f;\n                if ((pbVar4 < pbVar3 + 8) && ((char)pbVar3[7] < '\0')) {\n                  uVar5 = uVar5 << 7 | pbVar3[8] & 0x7f;\n                  pbVar4 = pbVar3 + 8;\n                }\n              }\n            }\n          }\n        }\n      }" if (parenthesized_expression "((pbVar4 < pbVar1) && ((char)pbVar3[2] < '\0'))" ( (binary_expression "(pbVar4 < pbVar1) && ((char)pbVar3[2] < '\0')" (parenthesized_expression "(pbVar4 < pbVar1)" ( (binary_expression "pbVar4 < pbVar1" identifier < identifier) )) && (parenthesized_expression "((char)pbVar3[2] < '\0')" ( (binary_expression "(char)pbVar3[2] < '\0'" (cast_expression "(char)pbVar3[2]" ( (type_descriptor "char" primitive_type) ) (subscript_expression "pbVar3[2]" identifier [ number_literal ])) < (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n        pbVar4 = pbVar3 + 3;\n        uVar5 = uVar5 << 7 | pbVar3[3] & 0x7f;\n        if ((pbVar4 < pbVar1) && ((char)pbVar3[3] < '\0')) {\n          pbVar4 = pbVar3 + 4;\n          uVar5 = uVar5 << 7 | pbVar3[4] & 0x7f;\n          if ((pbVar4 < pbVar1) && ((char)pbVar3[4] < '\0')) {\n            pbVar4 = pbVar3 + 5;\n            uVar5 = uVar5 << 7 | pbVar3[5] & 0x7f;\n            if ((pbVar4 < pbVar1) && ((char)pbVar3[5] < '\0')) {\n              pbVar4 = pbVar3 + 6;\n              uVar5 = uVar5 << 7 | pbVar3[6] & 0x7f;\n              if ((pbVar4 < pbVar1) && ((char)pbVar3[6] < '\0')) {\n                pbVar4 = pbVar3 + 7;\n                uVar5 = uVar5 << 7 | pbVar3[7] & 0x7f;\n                if ((pbVar4 < pbVar3 + 8) && ((char)pbVar3[7] < '\0')) {\n                  uVar5 = uVar5 << 7 | pbVar3[8] & 0x7f;\n                  pbVar4 = pbVar3 + 8;\n                }\n              }\n            }\n          }\n        }\n      }" { (expression_statement "pbVar4 = pbVar3 + 3;" (assignment_expression "pbVar4 = pbVar3 + 3" identifier = (binary_expression "pbVar3 + 3" identifier + number_literal)) ;) (expression_statement "uVar5 = uVar5 << 7 | pbVar3[3] & 0x7f;" (assignment_expression "uVar5 = uVar5 << 7 | pbVar3[3] & 0x7f" identifier = (binary_expression "uVar5 << 7 | pbVar3[3] & 0x7f" (binary_expression "uVar5 << 7" identifier << number_literal) | (binary_expression "pbVar3[3] & 0x7f" (subscript_expression "pbVar3[3]" identifier [ number_literal ]) & number_literal))) ;) (if_statement "if ((pbVar4 < pbVar1) && ((char)pbVar3[3] < '\0')) {\n          pbVar4 = pbVar3 + 4;\n          uVar5 = uVar5 << 7 | pbVar3[4] & 0x7f;\n          if ((pbVar4 < pbVar1) && ((char)pbVar3[4] < '\0')) {\n            pbVar4 = pbVar3 + 5;\n            uVar5 = uVar5 << 7 | pbVar3[5] & 0x7f;\n            if ((pbVar4 < pbVar1) && ((char)pbVar3[5] < '\0')) {\n              pbVar4 = pbVar3 + 6;\n              uVar5 = uVar5 << 7 | pbVar3[6] & 0x7f;\n              if ((pbVar4 < pbVar1) && ((char)pbVar3[6] < '\0')) {\n                pbVar4 = pbVar3 + 7;\n                uVar5 = uVar5 << 7 | pbVar3[7] & 0x7f;\n                if ((pbVar4 < pbVar3 + 8) && ((char)pbVar3[7] < '\0')) {\n                  uVar5 = uVar5 << 7 | pbVar3[8] & 0x7f;\n                  pbVar4 = pbVar3 + 8;\n                }\n              }\n            }\n          }\n        }" if (parenthesized_expression "((pbVar4 < pbVar1) && ((char)pbVar3[3] < '\0'))" ( (binary_expression "(pbVar4 < pbVar1) && ((char)pbVar3[3] < '\0')" (parenthesized_expression "(pbVar4 < pbVar1)" ( (binary_expression "pbVar4 < pbVar1" identifier < identifier) )) && (parenthesized_expression "((char)pbVar3[3] < '\0')" ( (binary_expression "(char)pbVar3[3] < '\0'" (cast_expression "(char)pbVar3[3]" ( (type_descriptor "char" primitive_type) ) (subscript_expression "pbVar3[3]" identifier [ number_literal ])) < (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n          pbVar4 = pbVar3 + 4;\n          uVar5 = uVar5 << 7 | pbVar3[4] & 0x7f;\n          if ((pbVar4 < pbVar1) && ((char)pbVar3[4] < '\0')) {\n            pbVar4 = pbVar3 + 5;\n            uVar5 = uVar5 << 7 | pbVar3[5] & 0x7f;\n            if ((pbVar4 < pbVar1) && ((char)pbVar3[5] < '\0')) {\n              pbVar4 = pbVar3 + 6;\n              uVar5 = uVar5 << 7 | pbVar3[6] & 0x7f;\n              if ((pbVar4 < pbVar1) && ((char)pbVar3[6] < '\0')) {\n                pbVar4 = pbVar3 + 7;\n                uVar5 = uVar5 << 7 | pbVar3[7] & 0x7f;\n                if ((pbVar4 < pbVar3 + 8) && ((char)pbVar3[7] < '\0')) {\n                  uVar5 = uVar5 << 7 | pbVar3[8] & 0x7f;\n                  pbVar4 = pbVar3 + 8;\n                }\n              }\n            }\n          }\n        }" { (expression_statement "pbVar4 = pbVar3 + 4;" (assignment_expression "pbVar4 = pbVar3 + 4" identifier = (binary_expression "pbVar3 + 4" identifier + number_literal)) ;) (expression_statement "uVar5 = uVar5 << 7 | pbVar3[4] & 0x7f;" (assignment_expression "uVar5 = uVar5 << 7 | pbVar3[4] & 0x7f" identifier = (binary_expression "uVar5 << 7 | pbVar3[4] & 0x7f" (binary_expression "uVar5 << 7" identifier << number_literal) | (binary_expression "pbVar3[4] & 0x7f" (subscript_expression "pbVar3[4]" identifier [ number_literal ]) & number_literal))) ;) (if_statement "if ((pbVar4 < pbVar1) && ((char)pbVar3[4] < '\0')) {\n            pbVar4 = pbVar3 + 5;\n            uVar5 = uVar5 << 7 | pbVar3[5] & 0x7f;\n            if ((pbVar4 < pbVar1) && ((char)pbVar3[5] < '\0')) {\n              pbVar4 = pbVar3 + 6;\n              uVar5 = uVar5 << 7 | pbVar3[6] & 0x7f;\n              if ((pbVar4 < pbVar1) && ((char)pbVar3[6] < '\0')) {\n                pbVar4 = pbVar3 + 7;\n                uVar5 = uVar5 << 7 | pbVar3[7] & 0x7f;\n                if ((pbVar4 < pbVar3 + 8) && ((char)pbVar3[7] < '\0')) {\n                  uVar5 = uVar5 << 7 | pbVar3[8] & 0x7f;\n                  pbVar4 = pbVar3 + 8;\n                }\n              }\n            }\n          }" if (parenthesized_expression "((pbVar4 < pbVar1) && ((char)pbVar3[4] < '\0'))" ( (binary_expression "(pbVar4 < pbVar1) && ((char)pbVar3[4] < '\0')" (parenthesized_expression "(pbVar4 < pbVar1)" ( (binary_expression "pbVar4 < pbVar1" identifier < identifier) )) && (parenthesized_expression "((char)pbVar3[4] < '\0')" ( (binary_expression "(char)pbVar3[4] < '\0'" (cast_expression "(char)pbVar3[4]" ( (type_descriptor "char" primitive_type) ) (subscript_expression "pbVar3[4]" identifier [ number_literal ])) < (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n            pbVar4 = pbVar3 + 5;\n            uVar5 = uVar5 << 7 | pbVar3[5] & 0x7f;\n            if ((pbVar4 < pbVar1) && ((char)pbVar3[5] < '\0')) {\n              pbVar4 = pbVar3 + 6;\n              uVar5 = uVar5 << 7 | pbVar3[6] & 0x7f;\n              if ((pbVar4 < pbVar1) && ((char)pbVar3[6] < '\0')) {\n                pbVar4 = pbVar3 + 7;\n                uVar5 = uVar5 << 7 | pbVar3[7] & 0x7f;\n                if ((pbVar4 < pbVar3 + 8) && ((char)pbVar3[7] < '\0')) {\n                  uVar5 = uVar5 << 7 | pbVar3[8] & 0x7f;\n                  pbVar4 = pbVar3 + 8;\n                }\n              }\n            }\n          }" { (expression_statement "pbVar4 = pbVar3 + 5;" (assignment_expression "pbVar4 = pbVar3 + 5" identifier = (binary_expression "pbVar3 + 5" identifier + number_literal)) ;) (expression_statement "uVar5 = uVar5 << 7 | pbVar3[5] & 0x7f;" (assignment_expression "uVar5 = uVar5 << 7 | pbVar3[5] & 0x7f" identifier = (binary_expression "uVar5 << 7 | pbVar3[5] & 0x7f" (binary_expression "uVar5 << 7" identifier << number_literal) | (binary_expression "pbVar3[5] & 0x7f" (subscript_expression "pbVar3[5]" identifier [ number_literal ]) & number_literal))) ;) (if_statement "if ((pbVar4 < pbVar1) && ((char)pbVar3[5] < '\0')) {\n              pbVar4 = pbVar3 + 6;\n              uVar5 = uVar5 << 7 | pbVar3[6] & 0x7f;\n              if ((pbVar4 < pbVar1) && ((char)pbVar3[6] < '\0')) {\n                pbVar4 = pbVar3 + 7;\n                uVar5 = uVar5 << 7 | pbVar3[7] & 0x7f;\n                if ((pbVar4 < pbVar3 + 8) && ((char)pbVar3[7] < '\0')) {\n                  uVar5 = uVar5 << 7 | pbVar3[8] & 0x7f;\n                  pbVar4 = pbVar3 + 8;\n                }\n              }\n            }" if (parenthesized_expression "((pbVar4 < pbVar1) && ((char)pbVar3[5] < '\0'))" ( (binary_expression "(pbVar4 < pbVar1) && ((char)pbVar3[5] < '\0')" (parenthesized_expression "(pbVar4 < pbVar1)" ( (binary_expression "pbVar4 < pbVar1" identifier < identifier) )) && (parenthesized_expression "((char)pbVar3[5] < '\0')" ( (binary_expression "(char)pbVar3[5] < '\0'" (cast_expression "(char)pbVar3[5]" ( (type_descriptor "char" primitive_type) ) (subscript_expression "pbVar3[5]" identifier [ number_literal ])) < (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n              pbVar4 = pbVar3 + 6;\n              uVar5 = uVar5 << 7 | pbVar3[6] & 0x7f;\n              if ((pbVar4 < pbVar1) && ((char)pbVar3[6] < '\0')) {\n                pbVar4 = pbVar3 + 7;\n                uVar5 = uVar5 << 7 | pbVar3[7] & 0x7f;\n                if ((pbVar4 < pbVar3 + 8) && ((char)pbVar3[7] < '\0')) {\n                  uVar5 = uVar5 << 7 | pbVar3[8] & 0x7f;\n                  pbVar4 = pbVar3 + 8;\n                }\n              }\n            }" { (expression_statement "pbVar4 = pbVar3 + 6;" (assignment_expression "pbVar4 = pbVar3 + 6" identifier = (binary_expression "pbVar3 + 6" identifier + number_literal)) ;) (expression_statement "uVar5 = uVar5 << 7 | pbVar3[6] & 0x7f;" (assignment_expression "uVar5 = uVar5 << 7 | pbVar3[6] & 0x7f" identifier = (binary_expression "uVar5 << 7 | pbVar3[6] & 0x7f" (binary_expression "uVar5 << 7" identifier << number_literal) | (binary_expression "pbVar3[6] & 0x7f" (subscript_expression "pbVar3[6]" identifier [ number_literal ]) & number_literal))) ;) (if_statement "if ((pbVar4 < pbVar1) && ((char)pbVar3[6] < '\0')) {\n                pbVar4 = pbVar3 + 7;\n                uVar5 = uVar5 << 7 | pbVar3[7] & 0x7f;\n                if ((pbVar4 < pbVar3 + 8) && ((char)pbVar3[7] < '\0')) {\n                  uVar5 = uVar5 << 7 | pbVar3[8] & 0x7f;\n                  pbVar4 = pbVar3 + 8;\n                }\n              }" if (parenthesized_expression "((pbVar4 < pbVar1) && ((char)pbVar3[6] < '\0'))" ( (binary_expression "(pbVar4 < pbVar1) && ((char)pbVar3[6] < '\0')" (parenthesized_expression "(pbVar4 < pbVar1)" ( (binary_expression "pbVar4 < pbVar1" identifier < identifier) )) && (parenthesized_expression "((char)pbVar3[6] < '\0')" ( (binary_expression "(char)pbVar3[6] < '\0'" (cast_expression "(char)pbVar3[6]" ( (type_descriptor "char" primitive_type) ) (subscript_expression "pbVar3[6]" identifier [ number_literal ])) < (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n                pbVar4 = pbVar3 + 7;\n                uVar5 = uVar5 << 7 | pbVar3[7] & 0x7f;\n                if ((pbVar4 < pbVar3 + 8) && ((char)pbVar3[7] < '\0')) {\n                  uVar5 = uVar5 << 7 | pbVar3[8] & 0x7f;\n                  pbVar4 = pbVar3 + 8;\n                }\n              }" { (expression_statement "pbVar4 = pbVar3 + 7;" (assignment_expression "pbVar4 = pbVar3 + 7" identifier = (binary_expression "pbVar3 + 7" identifier + number_literal)) ;) (expression_statement "uVar5 = uVar5 << 7 | pbVar3[7] & 0x7f;" (assignment_expression "uVar5 = uVar5 << 7 | pbVar3[7] & 0x7f" identifier = (binary_expression "uVar5 << 7 | pbVar3[7] & 0x7f" (binary_expression "uVar5 << 7" identifier << number_literal) | (binary_expression "pbVar3[7] & 0x7f" (subscript_expression "pbVar3[7]" identifier [ number_literal ]) & number_literal))) ;) (if_statement "if ((pbVar4 < pbVar3 + 8) && ((char)pbVar3[7] < '\0')) {\n                  uVar5 = uVar5 << 7 | pbVar3[8] & 0x7f;\n                  pbVar4 = pbVar3 + 8;\n                }" if (parenthesized_expression "((pbVar4 < pbVar3 + 8) && ((char)pbVar3[7] < '\0'))" ( (binary_expression "(pbVar4 < pbVar3 + 8) && ((char)pbVar3[7] < '\0')" (parenthesized_expression "(pbVar4 < pbVar3 + 8)" ( (binary_expression "pbVar4 < pbVar3 + 8" identifier < (binary_expression "pbVar3 + 8" identifier + number_literal)) )) && (parenthesized_expression "((char)pbVar3[7] < '\0')" ( (binary_expression "(char)pbVar3[7] < '\0'" (cast_expression "(char)pbVar3[7]" ( (type_descriptor "char" primitive_type) ) (subscript_expression "pbVar3[7]" identifier [ number_literal ])) < (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n                  uVar5 = uVar5 << 7 | pbVar3[8] & 0x7f;\n                  pbVar4 = pbVar3 + 8;\n                }" { (expression_statement "uVar5 = uVar5 << 7 | pbVar3[8] & 0x7f;" (assignment_expression "uVar5 = uVar5 << 7 | pbVar3[8] & 0x7f" identifier = (binary_expression "uVar5 << 7 | pbVar3[8] & 0x7f" (binary_expression "uVar5 << 7" identifier << number_literal) | (binary_expression "pbVar3[8] & 0x7f" (subscript_expression "pbVar3[8]" identifier [ number_literal ]) & number_literal))) ;) (expression_statement "pbVar4 = pbVar3 + 8;" (assignment_expression "pbVar4 = pbVar3 + 8" identifier = (binary_expression "pbVar3 + 8" identifier + number_literal)) ;) })) })) })) })) })) })) })) })) (expression_statement "*param_3 = uVar5;" (assignment_expression "*param_3 = uVar5" (pointer_expression "*param_3" * identifier) = identifier) ;) (expression_statement "param_3[1] = 0;" (assignment_expression "param_3[1] = 0" (subscript_expression "param_3[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_3[3] = uVar5;" (assignment_expression "param_3[3] = uVar5" (subscript_expression "param_3[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_3[2] = (uint)(pbVar4 + 1);" (assignment_expression "param_3[2] = (uint)(pbVar4 + 1)" (subscript_expression "param_3[2]" identifier [ number_literal ]) = (call_expression "(uint)(pbVar4 + 1)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(pbVar4 + 1)" ( (binary_expression "pbVar4 + 1" identifier + number_literal) )))) ;) (if_statement "if (*(ushort *)(param_1 + 0xe) < uVar5) {\n    FUN_0003bfb0();\n    return;\n  }" if (parenthesized_expression "(*(ushort *)(param_1 + 0xe) < uVar5)" ( (binary_expression "*(ushort *)(param_1 + 0xe) < uVar5" (pointer_expression "*(ushort *)(param_1 + 0xe)" * (cast_expression "(ushort *)(param_1 + 0xe)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xe)" ( (binary_expression "param_1 + 0xe" identifier + number_literal) )))) < identifier) )) (compound_statement "{\n    FUN_0003bfb0();\n    return;\n  }" { (expression_statement "FUN_0003bfb0();" (call_expression "FUN_0003bfb0()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (expression_statement "*(short *)(param_3 + 4) = (short)uVar5;" (assignment_expression "*(short *)(param_3 + 4) = (short)uVar5" (pointer_expression "*(short *)(param_3 + 4)" * (cast_expression "(short *)(param_3 + 4)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 4)" ( (binary_expression "param_3 + 4" identifier + number_literal) )))) = (cast_expression "(short)uVar5" ( (type_descriptor "short" (sized_type_specifier "short" short)) ) identifier)) ;) (expression_statement "uVar2 = ((short)(pbVar4 + 1) - (short)param_2) + (short)uVar5;" (assignment_expression "uVar2 = ((short)(pbVar4 + 1) - (short)param_2) + (short)uVar5" identifier = (binary_expression "((short)(pbVar4 + 1) - (short)param_2) + (short)uVar5" (parenthesized_expression "((short)(pbVar4 + 1) - (short)param_2)" ( (binary_expression "(short)(pbVar4 + 1) - (short)param_2" (cast_expression "(short)(pbVar4 + 1)" ( (type_descriptor "short" (sized_type_specifier "short" short)) ) (parenthesized_expression "(pbVar4 + 1)" ( (binary_expression "pbVar4 + 1" identifier + number_literal) ))) - (cast_expression "(short)param_2" ( (type_descriptor "short" (sized_type_specifier "short" short)) ) identifier)) )) + (cast_expression "(short)uVar5" ( (type_descriptor "short" (sized_type_specifier "short" short)) ) identifier))) ;) (if_statement "if (uVar2 < 4) {\n    uVar2 = 4;\n  }" if (parenthesized_expression "(uVar2 < 4)" ( (binary_expression "uVar2 < 4" identifier < number_literal) )) (compound_statement "{\n    uVar2 = 4;\n  }" { (expression_statement "uVar2 = 4;" (assignment_expression "uVar2 = 4" identifier = number_literal) ;) })) (expression_statement "*(ushort *)((int)param_3 + 0x12) = uVar2;" (assignment_expression "*(ushort *)((int)param_3 + 0x12) = uVar2" (pointer_expression "*(ushort *)((int)param_3 + 0x12)" * (cast_expression "(ushort *)((int)param_3 + 0x12)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_3 + 0x12)" ( (binary_expression "(int)param_3 + 0x12" (cast_expression "(int)param_3" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (parenthesized_expression ( IDENT )) * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + IDENT) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( IDENT )) * IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) << LIT) | (binary_expression (subscript_expression IDENT [ LIT ]) & LIT))) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) < (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT << LIT) | (binary_expression (subscript_expression IDENT [ LIT ]) & LIT))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT < IDENT) )) && (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) < (char_literal ' escape_sequence ')) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT << LIT) | (binary_expression (subscript_expression IDENT [ LIT ]) & LIT))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT < IDENT) )) && (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) < (char_literal ' escape_sequence ')) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT << LIT) | (binary_expression (subscript_expression IDENT [ LIT ]) & LIT))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT < IDENT) )) && (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) < (char_literal ' escape_sequence ')) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT << LIT) | (binary_expression (subscript_expression IDENT [ LIT ]) & LIT))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT < IDENT) )) && (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) < (char_literal ' escape_sequence ')) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT << LIT) | (binary_expression (subscript_expression IDENT [ LIT ]) & LIT))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT < IDENT) )) && (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) < (char_literal ' escape_sequence ')) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT << LIT) | (binary_expression (subscript_expression IDENT [ LIT ]) & LIT))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT < (binary_expression IDENT + LIT)) )) && (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) < (char_literal ' escape_sequence ')) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT << LIT) | (binary_expression (subscript_expression IDENT [ LIT ]) & LIT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) })) })) })) })) })) })) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT + LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) < IDENT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (return_statement return ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier short) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (cast_expression ( (type_descriptor (sized_type_specifier short)) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier short)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))) - (cast_expression ( (type_descriptor (sized_type_specifier short)) ) IDENT)) )) + (cast_expression ( (type_descriptor (sized_type_specifier short)) ) IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = IDENT) ;) (return_statement return ;) })))
(function_definition "void FUN_0003c340(int param_1,int param_2,uint *param_3)\n\n{\n  byte *pbVar1;\n  ushort uVar2;\n  byte *pbVar3;\n  byte *pbVar4;\n  uint uVar5;\n  \n  pbVar3 = (byte *)((uint)*(byte *)(param_1 + 10) + param_2);\n  uVar5 = (uint)*pbVar3;\n  pbVar4 = pbVar3;\n  if (0x7f < uVar5) {\n    pbVar1 = pbVar3 + 8;\n    pbVar4 = pbVar3 + 1;\n    uVar5 = (uVar5 & 0x7f) << 7 | pbVar3[1] & 0x7f;\n    if ((char)pbVar3[1] < '\0') {\n      pbVar4 = pbVar3 + 2;\n      uVar5 = uVar5 << 7 | pbVar3[2] & 0x7f;\n      if ((pbVar4 < pbVar1) && ((char)pbVar3[2] < '\0')) {\n        pbVar4 = pbVar3 + 3;\n        uVar5 = uVar5 << 7 | pbVar3[3] & 0x7f;\n        if ((pbVar4 < pbVar1) && ((char)pbVar3[3] < '\0')) {\n          pbVar4 = pbVar3 + 4;\n          uVar5 = uVar5 << 7 | pbVar3[4] & 0x7f;\n          if ((pbVar4 < pbVar1) && ((char)pbVar3[4] < '\0')) {\n            pbVar4 = pbVar3 + 5;\n            uVar5 = uVar5 << 7 | pbVar3[5] & 0x7f;\n            if ((pbVar4 < pbVar1) && ((char)pbVar3[5] < '\0')) {\n              pbVar4 = pbVar3 + 6;\n              uVar5 = uVar5 << 7 | pbVar3[6] & 0x7f;\n              if ((pbVar4 < pbVar1) && ((char)pbVar3[6] < '\0')) {\n                pbVar4 = pbVar3 + 7;\n                uVar5 = uVar5 << 7 | pbVar3[7] & 0x7f;\n                if ((pbVar4 < pbVar3 + 8) && ((char)pbVar3[7] < '\0')) {\n                  uVar5 = uVar5 << 7 | pbVar3[8] & 0x7f;\n                  pbVar4 = pbVar3 + 8;\n                }\n              }\n            }\n          }\n        }\n      }\n    }\n  }\n  *param_3 = uVar5;\n  param_3[1] = 0;\n  param_3[3] = uVar5;\n  param_3[2] = (uint)(pbVar4 + 1);\n  if (*(ushort *)(param_1 + 0xe) < uVar5) {\n    FUN_0003bfb0();\n    return;\n  }\n  *(short *)(param_3 + 4) = (short)uVar5;\n  uVar2 = ((short)(pbVar4 + 1) - (short)param_2) + (short)uVar5;\n  if (uVar2 < 4) {\n    uVar2 = 4;\n  }\n  *(ushort *)((int)param_3 + 0x12) = uVar2;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0003c340(int param_1,int param_2,uint *param_3)" (identifier "FUN_0003c340") (parameter_list "(int param_1,int param_2,uint *param_3)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "uint *param_3" (type_identifier "uint") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) () ")"))) (compound_statement "{\n  byte *pbVar1;\n  ushort uVar2;\n  byte *pbVar3;\n  byte *pbVar4;\n  uint uVar5;\n  \n  pbVar3 = (byte *)((uint)*(byte *)(param_1 + 10) + param_2);\n  uVar5 = (uint)*pbVar3;\n  pbVar4 = pbVar3;\n  if (0x7f < uVar5) {\n    pbVar1 = pbVar3 + 8;\n    pbVar4 = pbVar3 + 1;\n    uVar5 = (uVar5 & 0x7f) << 7 | pbVar3[1] & 0x7f;\n    if ((char)pbVar3[1] < '\0') {\n      pbVar4 = pbVar3 + 2;\n      uVar5 = uVar5 << 7 | pbVar3[2] & 0x7f;\n      if ((pbVar4 < pbVar1) && ((char)pbVar3[2] < '\0')) {\n        pbVar4 = pbVar3 + 3;\n        uVar5 = uVar5 << 7 | pbVar3[3] & 0x7f;\n        if ((pbVar4 < pbVar1) && ((char)pbVar3[3] < '\0')) {\n          pbVar4 = pbVar3 + 4;\n          uVar5 = uVar5 << 7 | pbVar3[4] & 0x7f;\n          if ((pbVar4 < pbVar1) && ((char)pbVar3[4] < '\0')) {\n            pbVar4 = pbVar3 + 5;\n            uVar5 = uVar5 << 7 | pbVar3[5] & 0x7f;\n            if ((pbVar4 < pbVar1) && ((char)pbVar3[5] < '\0')) {\n              pbVar4 = pbVar3 + 6;\n              uVar5 = uVar5 << 7 | pbVar3[6] & 0x7f;\n              if ((pbVar4 < pbVar1) && ((char)pbVar3[6] < '\0')) {\n                pbVar4 = pbVar3 + 7;\n                uVar5 = uVar5 << 7 | pbVar3[7] & 0x7f;\n                if ((pbVar4 < pbVar3 + 8) && ((char)pbVar3[7] < '\0')) {\n                  uVar5 = uVar5 << 7 | pbVar3[8] & 0x7f;\n                  pbVar4 = pbVar3 + 8;\n                }\n              }\n            }\n          }\n        }\n      }\n    }\n  }\n  *param_3 = uVar5;\n  param_3[1] = 0;\n  param_3[3] = uVar5;\n  param_3[2] = (uint)(pbVar4 + 1);\n  if (*(ushort *)(param_1 + 0xe) < uVar5) {\n    FUN_0003bfb0();\n    return;\n  }\n  *(short *)(param_3 + 4) = (short)uVar5;\n  uVar2 = ((short)(pbVar4 + 1) - (short)param_2) + (short)uVar5;\n  if (uVar2 < 4) {\n    uVar2 = 4;\n  }\n  *(ushort *)((int)param_3 + 0x12) = uVar2;\n  return;\n}" ({ "{") (declaration "byte *pbVar1;" (type_identifier "byte") (pointer_declarator "*pbVar1" (* "*") (identifier "pbVar1")) (; ";")) (declaration "ushort uVar2;" (type_identifier "ushort") (identifier "uVar2") (; ";")) (declaration "byte *pbVar3;" (type_identifier "byte") (pointer_declarator "*pbVar3" (* "*") (identifier "pbVar3")) (; ";")) (declaration "byte *pbVar4;" (type_identifier "byte") (pointer_declarator "*pbVar4" (* "*") (identifier "pbVar4")) (; ";")) (declaration "uint uVar5;" (type_identifier "uint") (identifier "uVar5") (; ";")) (expression_statement "pbVar3 = (byte *)((uint)*(byte *)(param_1 + 10) + param_2);" (assignment_expression "pbVar3 = (byte *)((uint)*(byte *)(param_1 + 10) + param_2)" (identifier "pbVar3") (= "=") (cast_expression "(byte *)((uint)*(byte *)(param_1 + 10) + param_2)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((uint)*(byte *)(param_1 + 10) + param_2)" (( "(") (binary_expression "(uint)*(byte *)(param_1 + 10) + param_2" (binary_expression "(uint)*(byte *)(param_1 + 10)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (cast_expression "(byte *)(param_1 + 10)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 10)" (( "(") (binary_expression "param_1 + 10" (identifier "param_1") (+ "+") (number_literal "10")) () ")")))) (+ "+") (identifier "param_2")) () ")")))) (; ";")) (expression_statement "uVar5 = (uint)*pbVar3;" (assignment_expression "uVar5 = (uint)*pbVar3" (identifier "uVar5") (= "=") (binary_expression "(uint)*pbVar3" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (identifier "pbVar3"))) (; ";")) (expression_statement "pbVar4 = pbVar3;" (assignment_expression "pbVar4 = pbVar3" (identifier "pbVar4") (= "=") (identifier "pbVar3")) (; ";")) (if_statement "if (0x7f < uVar5) {\n    pbVar1 = pbVar3 + 8;\n    pbVar4 = pbVar3 + 1;\n    uVar5 = (uVar5 & 0x7f) << 7 | pbVar3[1] & 0x7f;\n    if ((char)pbVar3[1] < '\0') {\n      pbVar4 = pbVar3 + 2;\n      uVar5 = uVar5 << 7 | pbVar3[2] & 0x7f;\n      if ((pbVar4 < pbVar1) && ((char)pbVar3[2] < '\0')) {\n        pbVar4 = pbVar3 + 3;\n        uVar5 = uVar5 << 7 | pbVar3[3] & 0x7f;\n        if ((pbVar4 < pbVar1) && ((char)pbVar3[3] < '\0')) {\n          pbVar4 = pbVar3 + 4;\n          uVar5 = uVar5 << 7 | pbVar3[4] & 0x7f;\n          if ((pbVar4 < pbVar1) && ((char)pbVar3[4] < '\0')) {\n            pbVar4 = pbVar3 + 5;\n            uVar5 = uVar5 << 7 | pbVar3[5] & 0x7f;\n            if ((pbVar4 < pbVar1) && ((char)pbVar3[5] < '\0')) {\n              pbVar4 = pbVar3 + 6;\n              uVar5 = uVar5 << 7 | pbVar3[6] & 0x7f;\n              if ((pbVar4 < pbVar1) && ((char)pbVar3[6] < '\0')) {\n                pbVar4 = pbVar3 + 7;\n                uVar5 = uVar5 << 7 | pbVar3[7] & 0x7f;\n                if ((pbVar4 < pbVar3 + 8) && ((char)pbVar3[7] < '\0')) {\n                  uVar5 = uVar5 << 7 | pbVar3[8] & 0x7f;\n                  pbVar4 = pbVar3 + 8;\n                }\n              }\n            }\n          }\n        }\n      }\n    }\n  }" (if "if") (parenthesized_expression "(0x7f < uVar5)" (( "(") (binary_expression "0x7f < uVar5" (number_literal "0x7f") (< "<") (identifier "uVar5")) () ")")) (compound_statement "{\n    pbVar1 = pbVar3 + 8;\n    pbVar4 = pbVar3 + 1;\n    uVar5 = (uVar5 & 0x7f) << 7 | pbVar3[1] & 0x7f;\n    if ((char)pbVar3[1] < '\0') {\n      pbVar4 = pbVar3 + 2;\n      uVar5 = uVar5 << 7 | pbVar3[2] & 0x7f;\n      if ((pbVar4 < pbVar1) && ((char)pbVar3[2] < '\0')) {\n        pbVar4 = pbVar3 + 3;\n        uVar5 = uVar5 << 7 | pbVar3[3] & 0x7f;\n        if ((pbVar4 < pbVar1) && ((char)pbVar3[3] < '\0')) {\n          pbVar4 = pbVar3 + 4;\n          uVar5 = uVar5 << 7 | pbVar3[4] & 0x7f;\n          if ((pbVar4 < pbVar1) && ((char)pbVar3[4] < '\0')) {\n            pbVar4 = pbVar3 + 5;\n            uVar5 = uVar5 << 7 | pbVar3[5] & 0x7f;\n            if ((pbVar4 < pbVar1) && ((char)pbVar3[5] < '\0')) {\n              pbVar4 = pbVar3 + 6;\n              uVar5 = uVar5 << 7 | pbVar3[6] & 0x7f;\n              if ((pbVar4 < pbVar1) && ((char)pbVar3[6] < '\0')) {\n                pbVar4 = pbVar3 + 7;\n                uVar5 = uVar5 << 7 | pbVar3[7] & 0x7f;\n                if ((pbVar4 < pbVar3 + 8) && ((char)pbVar3[7] < '\0')) {\n                  uVar5 = uVar5 << 7 | pbVar3[8] & 0x7f;\n                  pbVar4 = pbVar3 + 8;\n                }\n              }\n            }\n          }\n        }\n      }\n    }\n  }" ({ "{") (expression_statement "pbVar1 = pbVar3 + 8;" (assignment_expression "pbVar1 = pbVar3 + 8" (identifier "pbVar1") (= "=") (binary_expression "pbVar3 + 8" (identifier "pbVar3") (+ "+") (number_literal "8"))) (; ";")) (expression_statement "pbVar4 = pbVar3 + 1;" (assignment_expression "pbVar4 = pbVar3 + 1" (identifier "pbVar4") (= "=") (binary_expression "pbVar3 + 1" (identifier "pbVar3") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "uVar5 = (uVar5 & 0x7f) << 7 | pbVar3[1] & 0x7f;" (assignment_expression "uVar5 = (uVar5 & 0x7f) << 7 | pbVar3[1] & 0x7f" (identifier "uVar5") (= "=") (binary_expression "(uVar5 & 0x7f) << 7 | pbVar3[1] & 0x7f" (binary_expression "(uVar5 & 0x7f) << 7" (parenthesized_expression "(uVar5 & 0x7f)" (( "(") (binary_expression "uVar5 & 0x7f" (identifier "uVar5") (& "&") (number_literal "0x7f")) () ")")) (<< "<<") (number_literal "7")) (| "|") (binary_expression "pbVar3[1] & 0x7f" (subscript_expression "pbVar3[1]" (identifier "pbVar3") ([ "[") (number_literal "1") (] "]")) (& "&") (number_literal "0x7f")))) (; ";")) (if_statement "if ((char)pbVar3[1] < '\0') {\n      pbVar4 = pbVar3 + 2;\n      uVar5 = uVar5 << 7 | pbVar3[2] & 0x7f;\n      if ((pbVar4 < pbVar1) && ((char)pbVar3[2] < '\0')) {\n        pbVar4 = pbVar3 + 3;\n        uVar5 = uVar5 << 7 | pbVar3[3] & 0x7f;\n        if ((pbVar4 < pbVar1) && ((char)pbVar3[3] < '\0')) {\n          pbVar4 = pbVar3 + 4;\n          uVar5 = uVar5 << 7 | pbVar3[4] & 0x7f;\n          if ((pbVar4 < pbVar1) && ((char)pbVar3[4] < '\0')) {\n            pbVar4 = pbVar3 + 5;\n            uVar5 = uVar5 << 7 | pbVar3[5] & 0x7f;\n            if ((pbVar4 < pbVar1) && ((char)pbVar3[5] < '\0')) {\n              pbVar4 = pbVar3 + 6;\n              uVar5 = uVar5 << 7 | pbVar3[6] & 0x7f;\n              if ((pbVar4 < pbVar1) && ((char)pbVar3[6] < '\0')) {\n                pbVar4 = pbVar3 + 7;\n                uVar5 = uVar5 << 7 | pbVar3[7] & 0x7f;\n                if ((pbVar4 < pbVar3 + 8) && ((char)pbVar3[7] < '\0')) {\n                  uVar5 = uVar5 << 7 | pbVar3[8] & 0x7f;\n                  pbVar4 = pbVar3 + 8;\n                }\n              }\n            }\n          }\n        }\n      }\n    }" (if "if") (parenthesized_expression "((char)pbVar3[1] < '\0')" (( "(") (binary_expression "(char)pbVar3[1] < '\0'" (cast_expression "(char)pbVar3[1]" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (subscript_expression "pbVar3[1]" (identifier "pbVar3") ([ "[") (number_literal "1") (] "]"))) (< "<") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n      pbVar4 = pbVar3 + 2;\n      uVar5 = uVar5 << 7 | pbVar3[2] & 0x7f;\n      if ((pbVar4 < pbVar1) && ((char)pbVar3[2] < '\0')) {\n        pbVar4 = pbVar3 + 3;\n        uVar5 = uVar5 << 7 | pbVar3[3] & 0x7f;\n        if ((pbVar4 < pbVar1) && ((char)pbVar3[3] < '\0')) {\n          pbVar4 = pbVar3 + 4;\n          uVar5 = uVar5 << 7 | pbVar3[4] & 0x7f;\n          if ((pbVar4 < pbVar1) && ((char)pbVar3[4] < '\0')) {\n            pbVar4 = pbVar3 + 5;\n            uVar5 = uVar5 << 7 | pbVar3[5] & 0x7f;\n            if ((pbVar4 < pbVar1) && ((char)pbVar3[5] < '\0')) {\n              pbVar4 = pbVar3 + 6;\n              uVar5 = uVar5 << 7 | pbVar3[6] & 0x7f;\n              if ((pbVar4 < pbVar1) && ((char)pbVar3[6] < '\0')) {\n                pbVar4 = pbVar3 + 7;\n                uVar5 = uVar5 << 7 | pbVar3[7] & 0x7f;\n                if ((pbVar4 < pbVar3 + 8) && ((char)pbVar3[7] < '\0')) {\n                  uVar5 = uVar5 << 7 | pbVar3[8] & 0x7f;\n                  pbVar4 = pbVar3 + 8;\n                }\n              }\n            }\n          }\n        }\n      }\n    }" ({ "{") (expression_statement "pbVar4 = pbVar3 + 2;" (assignment_expression "pbVar4 = pbVar3 + 2" (identifier "pbVar4") (= "=") (binary_expression "pbVar3 + 2" (identifier "pbVar3") (+ "+") (number_literal "2"))) (; ";")) (expression_statement "uVar5 = uVar5 << 7 | pbVar3[2] & 0x7f;" (assignment_expression "uVar5 = uVar5 << 7 | pbVar3[2] & 0x7f" (identifier "uVar5") (= "=") (binary_expression "uVar5 << 7 | pbVar3[2] & 0x7f" (binary_expression "uVar5 << 7" (identifier "uVar5") (<< "<<") (number_literal "7")) (| "|") (binary_expression "pbVar3[2] & 0x7f" (subscript_expression "pbVar3[2]" (identifier "pbVar3") ([ "[") (number_literal "2") (] "]")) (& "&") (number_literal "0x7f")))) (; ";")) (if_statement "if ((pbVar4 < pbVar1) && ((char)pbVar3[2] < '\0')) {\n        pbVar4 = pbVar3 + 3;\n        uVar5 = uVar5 << 7 | pbVar3[3] & 0x7f;\n        if ((pbVar4 < pbVar1) && ((char)pbVar3[3] < '\0')) {\n          pbVar4 = pbVar3 + 4;\n          uVar5 = uVar5 << 7 | pbVar3[4] & 0x7f;\n          if ((pbVar4 < pbVar1) && ((char)pbVar3[4] < '\0')) {\n            pbVar4 = pbVar3 + 5;\n            uVar5 = uVar5 << 7 | pbVar3[5] & 0x7f;\n            if ((pbVar4 < pbVar1) && ((char)pbVar3[5] < '\0')) {\n              pbVar4 = pbVar3 + 6;\n              uVar5 = uVar5 << 7 | pbVar3[6] & 0x7f;\n              if ((pbVar4 < pbVar1) && ((char)pbVar3[6] < '\0')) {\n                pbVar4 = pbVar3 + 7;\n                uVar5 = uVar5 << 7 | pbVar3[7] & 0x7f;\n                if ((pbVar4 < pbVar3 + 8) && ((char)pbVar3[7] < '\0')) {\n                  uVar5 = uVar5 << 7 | pbVar3[8] & 0x7f;\n                  pbVar4 = pbVar3 + 8;\n                }\n              }\n            }\n          }\n        }\n      }" (if "if") (parenthesized_expression "((pbVar4 < pbVar1) && ((char)pbVar3[2] < '\0'))" (( "(") (binary_expression "(pbVar4 < pbVar1) && ((char)pbVar3[2] < '\0')" (parenthesized_expression "(pbVar4 < pbVar1)" (( "(") (binary_expression "pbVar4 < pbVar1" (identifier "pbVar4") (< "<") (identifier "pbVar1")) () ")")) (&& "&&") (parenthesized_expression "((char)pbVar3[2] < '\0')" (( "(") (binary_expression "(char)pbVar3[2] < '\0'" (cast_expression "(char)pbVar3[2]" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (subscript_expression "pbVar3[2]" (identifier "pbVar3") ([ "[") (number_literal "2") (] "]"))) (< "<") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")"))) () ")")) (compound_statement "{\n        pbVar4 = pbVar3 + 3;\n        uVar5 = uVar5 << 7 | pbVar3[3] & 0x7f;\n        if ((pbVar4 < pbVar1) && ((char)pbVar3[3] < '\0')) {\n          pbVar4 = pbVar3 + 4;\n          uVar5 = uVar5 << 7 | pbVar3[4] & 0x7f;\n          if ((pbVar4 < pbVar1) && ((char)pbVar3[4] < '\0')) {\n            pbVar4 = pbVar3 + 5;\n            uVar5 = uVar5 << 7 | pbVar3[5] & 0x7f;\n            if ((pbVar4 < pbVar1) && ((char)pbVar3[5] < '\0')) {\n              pbVar4 = pbVar3 + 6;\n              uVar5 = uVar5 << 7 | pbVar3[6] & 0x7f;\n              if ((pbVar4 < pbVar1) && ((char)pbVar3[6] < '\0')) {\n                pbVar4 = pbVar3 + 7;\n                uVar5 = uVar5 << 7 | pbVar3[7] & 0x7f;\n                if ((pbVar4 < pbVar3 + 8) && ((char)pbVar3[7] < '\0')) {\n                  uVar5 = uVar5 << 7 | pbVar3[8] & 0x7f;\n                  pbVar4 = pbVar3 + 8;\n                }\n              }\n            }\n          }\n        }\n      }" ({ "{") (expression_statement "pbVar4 = pbVar3 + 3;" (assignment_expression "pbVar4 = pbVar3 + 3" (identifier "pbVar4") (= "=") (binary_expression "pbVar3 + 3" (identifier "pbVar3") (+ "+") (number_literal "3"))) (; ";")) (expression_statement "uVar5 = uVar5 << 7 | pbVar3[3] & 0x7f;" (assignment_expression "uVar5 = uVar5 << 7 | pbVar3[3] & 0x7f" (identifier "uVar5") (= "=") (binary_expression "uVar5 << 7 | pbVar3[3] & 0x7f" (binary_expression "uVar5 << 7" (identifier "uVar5") (<< "<<") (number_literal "7")) (| "|") (binary_expression "pbVar3[3] & 0x7f" (subscript_expression "pbVar3[3]" (identifier "pbVar3") ([ "[") (number_literal "3") (] "]")) (& "&") (number_literal "0x7f")))) (; ";")) (if_statement "if ((pbVar4 < pbVar1) && ((char)pbVar3[3] < '\0')) {\n          pbVar4 = pbVar3 + 4;\n          uVar5 = uVar5 << 7 | pbVar3[4] & 0x7f;\n          if ((pbVar4 < pbVar1) && ((char)pbVar3[4] < '\0')) {\n            pbVar4 = pbVar3 + 5;\n            uVar5 = uVar5 << 7 | pbVar3[5] & 0x7f;\n            if ((pbVar4 < pbVar1) && ((char)pbVar3[5] < '\0')) {\n              pbVar4 = pbVar3 + 6;\n              uVar5 = uVar5 << 7 | pbVar3[6] & 0x7f;\n              if ((pbVar4 < pbVar1) && ((char)pbVar3[6] < '\0')) {\n                pbVar4 = pbVar3 + 7;\n                uVar5 = uVar5 << 7 | pbVar3[7] & 0x7f;\n                if ((pbVar4 < pbVar3 + 8) && ((char)pbVar3[7] < '\0')) {\n                  uVar5 = uVar5 << 7 | pbVar3[8] & 0x7f;\n                  pbVar4 = pbVar3 + 8;\n                }\n              }\n            }\n          }\n        }" (if "if") (parenthesized_expression "((pbVar4 < pbVar1) && ((char)pbVar3[3] < '\0'))" (( "(") (binary_expression "(pbVar4 < pbVar1) && ((char)pbVar3[3] < '\0')" (parenthesized_expression "(pbVar4 < pbVar1)" (( "(") (binary_expression "pbVar4 < pbVar1" (identifier "pbVar4") (< "<") (identifier "pbVar1")) () ")")) (&& "&&") (parenthesized_expression "((char)pbVar3[3] < '\0')" (( "(") (binary_expression "(char)pbVar3[3] < '\0'" (cast_expression "(char)pbVar3[3]" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (subscript_expression "pbVar3[3]" (identifier "pbVar3") ([ "[") (number_literal "3") (] "]"))) (< "<") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")"))) () ")")) (compound_statement "{\n          pbVar4 = pbVar3 + 4;\n          uVar5 = uVar5 << 7 | pbVar3[4] & 0x7f;\n          if ((pbVar4 < pbVar1) && ((char)pbVar3[4] < '\0')) {\n            pbVar4 = pbVar3 + 5;\n            uVar5 = uVar5 << 7 | pbVar3[5] & 0x7f;\n            if ((pbVar4 < pbVar1) && ((char)pbVar3[5] < '\0')) {\n              pbVar4 = pbVar3 + 6;\n              uVar5 = uVar5 << 7 | pbVar3[6] & 0x7f;\n              if ((pbVar4 < pbVar1) && ((char)pbVar3[6] < '\0')) {\n                pbVar4 = pbVar3 + 7;\n                uVar5 = uVar5 << 7 | pbVar3[7] & 0x7f;\n                if ((pbVar4 < pbVar3 + 8) && ((char)pbVar3[7] < '\0')) {\n                  uVar5 = uVar5 << 7 | pbVar3[8] & 0x7f;\n                  pbVar4 = pbVar3 + 8;\n                }\n              }\n            }\n          }\n        }" ({ "{") (expression_statement "pbVar4 = pbVar3 + 4;" (assignment_expression "pbVar4 = pbVar3 + 4" (identifier "pbVar4") (= "=") (binary_expression "pbVar3 + 4" (identifier "pbVar3") (+ "+") (number_literal "4"))) (; ";")) (expression_statement "uVar5 = uVar5 << 7 | pbVar3[4] & 0x7f;" (assignment_expression "uVar5 = uVar5 << 7 | pbVar3[4] & 0x7f" (identifier "uVar5") (= "=") (binary_expression "uVar5 << 7 | pbVar3[4] & 0x7f" (binary_expression "uVar5 << 7" (identifier "uVar5") (<< "<<") (number_literal "7")) (| "|") (binary_expression "pbVar3[4] & 0x7f" (subscript_expression "pbVar3[4]" (identifier "pbVar3") ([ "[") (number_literal "4") (] "]")) (& "&") (number_literal "0x7f")))) (; ";")) (if_statement "if ((pbVar4 < pbVar1) && ((char)pbVar3[4] < '\0')) {\n            pbVar4 = pbVar3 + 5;\n            uVar5 = uVar5 << 7 | pbVar3[5] & 0x7f;\n            if ((pbVar4 < pbVar1) && ((char)pbVar3[5] < '\0')) {\n              pbVar4 = pbVar3 + 6;\n              uVar5 = uVar5 << 7 | pbVar3[6] & 0x7f;\n              if ((pbVar4 < pbVar1) && ((char)pbVar3[6] < '\0')) {\n                pbVar4 = pbVar3 + 7;\n                uVar5 = uVar5 << 7 | pbVar3[7] & 0x7f;\n                if ((pbVar4 < pbVar3 + 8) && ((char)pbVar3[7] < '\0')) {\n                  uVar5 = uVar5 << 7 | pbVar3[8] & 0x7f;\n                  pbVar4 = pbVar3 + 8;\n                }\n              }\n            }\n          }" (if "if") (parenthesized_expression "((pbVar4 < pbVar1) && ((char)pbVar3[4] < '\0'))" (( "(") (binary_expression "(pbVar4 < pbVar1) && ((char)pbVar3[4] < '\0')" (parenthesized_expression "(pbVar4 < pbVar1)" (( "(") (binary_expression "pbVar4 < pbVar1" (identifier "pbVar4") (< "<") (identifier "pbVar1")) () ")")) (&& "&&") (parenthesized_expression "((char)pbVar3[4] < '\0')" (( "(") (binary_expression "(char)pbVar3[4] < '\0'" (cast_expression "(char)pbVar3[4]" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (subscript_expression "pbVar3[4]" (identifier "pbVar3") ([ "[") (number_literal "4") (] "]"))) (< "<") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")"))) () ")")) (compound_statement "{\n            pbVar4 = pbVar3 + 5;\n            uVar5 = uVar5 << 7 | pbVar3[5] & 0x7f;\n            if ((pbVar4 < pbVar1) && ((char)pbVar3[5] < '\0')) {\n              pbVar4 = pbVar3 + 6;\n              uVar5 = uVar5 << 7 | pbVar3[6] & 0x7f;\n              if ((pbVar4 < pbVar1) && ((char)pbVar3[6] < '\0')) {\n                pbVar4 = pbVar3 + 7;\n                uVar5 = uVar5 << 7 | pbVar3[7] & 0x7f;\n                if ((pbVar4 < pbVar3 + 8) && ((char)pbVar3[7] < '\0')) {\n                  uVar5 = uVar5 << 7 | pbVar3[8] & 0x7f;\n                  pbVar4 = pbVar3 + 8;\n                }\n              }\n            }\n          }" ({ "{") (expression_statement "pbVar4 = pbVar3 + 5;" (assignment_expression "pbVar4 = pbVar3 + 5" (identifier "pbVar4") (= "=") (binary_expression "pbVar3 + 5" (identifier "pbVar3") (+ "+") (number_literal "5"))) (; ";")) (expression_statement "uVar5 = uVar5 << 7 | pbVar3[5] & 0x7f;" (assignment_expression "uVar5 = uVar5 << 7 | pbVar3[5] & 0x7f" (identifier "uVar5") (= "=") (binary_expression "uVar5 << 7 | pbVar3[5] & 0x7f" (binary_expression "uVar5 << 7" (identifier "uVar5") (<< "<<") (number_literal "7")) (| "|") (binary_expression "pbVar3[5] & 0x7f" (subscript_expression "pbVar3[5]" (identifier "pbVar3") ([ "[") (number_literal "5") (] "]")) (& "&") (number_literal "0x7f")))) (; ";")) (if_statement "if ((pbVar4 < pbVar1) && ((char)pbVar3[5] < '\0')) {\n              pbVar4 = pbVar3 + 6;\n              uVar5 = uVar5 << 7 | pbVar3[6] & 0x7f;\n              if ((pbVar4 < pbVar1) && ((char)pbVar3[6] < '\0')) {\n                pbVar4 = pbVar3 + 7;\n                uVar5 = uVar5 << 7 | pbVar3[7] & 0x7f;\n                if ((pbVar4 < pbVar3 + 8) && ((char)pbVar3[7] < '\0')) {\n                  uVar5 = uVar5 << 7 | pbVar3[8] & 0x7f;\n                  pbVar4 = pbVar3 + 8;\n                }\n              }\n            }" (if "if") (parenthesized_expression "((pbVar4 < pbVar1) && ((char)pbVar3[5] < '\0'))" (( "(") (binary_expression "(pbVar4 < pbVar1) && ((char)pbVar3[5] < '\0')" (parenthesized_expression "(pbVar4 < pbVar1)" (( "(") (binary_expression "pbVar4 < pbVar1" (identifier "pbVar4") (< "<") (identifier "pbVar1")) () ")")) (&& "&&") (parenthesized_expression "((char)pbVar3[5] < '\0')" (( "(") (binary_expression "(char)pbVar3[5] < '\0'" (cast_expression "(char)pbVar3[5]" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (subscript_expression "pbVar3[5]" (identifier "pbVar3") ([ "[") (number_literal "5") (] "]"))) (< "<") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")"))) () ")")) (compound_statement "{\n              pbVar4 = pbVar3 + 6;\n              uVar5 = uVar5 << 7 | pbVar3[6] & 0x7f;\n              if ((pbVar4 < pbVar1) && ((char)pbVar3[6] < '\0')) {\n                pbVar4 = pbVar3 + 7;\n                uVar5 = uVar5 << 7 | pbVar3[7] & 0x7f;\n                if ((pbVar4 < pbVar3 + 8) && ((char)pbVar3[7] < '\0')) {\n                  uVar5 = uVar5 << 7 | pbVar3[8] & 0x7f;\n                  pbVar4 = pbVar3 + 8;\n                }\n              }\n            }" ({ "{") (expression_statement "pbVar4 = pbVar3 + 6;" (assignment_expression "pbVar4 = pbVar3 + 6" (identifier "pbVar4") (= "=") (binary_expression "pbVar3 + 6" (identifier "pbVar3") (+ "+") (number_literal "6"))) (; ";")) (expression_statement "uVar5 = uVar5 << 7 | pbVar3[6] & 0x7f;" (assignment_expression "uVar5 = uVar5 << 7 | pbVar3[6] & 0x7f" (identifier "uVar5") (= "=") (binary_expression "uVar5 << 7 | pbVar3[6] & 0x7f" (binary_expression "uVar5 << 7" (identifier "uVar5") (<< "<<") (number_literal "7")) (| "|") (binary_expression "pbVar3[6] & 0x7f" (subscript_expression "pbVar3[6]" (identifier "pbVar3") ([ "[") (number_literal "6") (] "]")) (& "&") (number_literal "0x7f")))) (; ";")) (if_statement "if ((pbVar4 < pbVar1) && ((char)pbVar3[6] < '\0')) {\n                pbVar4 = pbVar3 + 7;\n                uVar5 = uVar5 << 7 | pbVar3[7] & 0x7f;\n                if ((pbVar4 < pbVar3 + 8) && ((char)pbVar3[7] < '\0')) {\n                  uVar5 = uVar5 << 7 | pbVar3[8] & 0x7f;\n                  pbVar4 = pbVar3 + 8;\n                }\n              }" (if "if") (parenthesized_expression "((pbVar4 < pbVar1) && ((char)pbVar3[6] < '\0'))" (( "(") (binary_expression "(pbVar4 < pbVar1) && ((char)pbVar3[6] < '\0')" (parenthesized_expression "(pbVar4 < pbVar1)" (( "(") (binary_expression "pbVar4 < pbVar1" (identifier "pbVar4") (< "<") (identifier "pbVar1")) () ")")) (&& "&&") (parenthesized_expression "((char)pbVar3[6] < '\0')" (( "(") (binary_expression "(char)pbVar3[6] < '\0'" (cast_expression "(char)pbVar3[6]" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (subscript_expression "pbVar3[6]" (identifier "pbVar3") ([ "[") (number_literal "6") (] "]"))) (< "<") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")"))) () ")")) (compound_statement "{\n                pbVar4 = pbVar3 + 7;\n                uVar5 = uVar5 << 7 | pbVar3[7] & 0x7f;\n                if ((pbVar4 < pbVar3 + 8) && ((char)pbVar3[7] < '\0')) {\n                  uVar5 = uVar5 << 7 | pbVar3[8] & 0x7f;\n                  pbVar4 = pbVar3 + 8;\n                }\n              }" ({ "{") (expression_statement "pbVar4 = pbVar3 + 7;" (assignment_expression "pbVar4 = pbVar3 + 7" (identifier "pbVar4") (= "=") (binary_expression "pbVar3 + 7" (identifier "pbVar3") (+ "+") (number_literal "7"))) (; ";")) (expression_statement "uVar5 = uVar5 << 7 | pbVar3[7] & 0x7f;" (assignment_expression "uVar5 = uVar5 << 7 | pbVar3[7] & 0x7f" (identifier "uVar5") (= "=") (binary_expression "uVar5 << 7 | pbVar3[7] & 0x7f" (binary_expression "uVar5 << 7" (identifier "uVar5") (<< "<<") (number_literal "7")) (| "|") (binary_expression "pbVar3[7] & 0x7f" (subscript_expression "pbVar3[7]" (identifier "pbVar3") ([ "[") (number_literal "7") (] "]")) (& "&") (number_literal "0x7f")))) (; ";")) (if_statement "if ((pbVar4 < pbVar3 + 8) && ((char)pbVar3[7] < '\0')) {\n                  uVar5 = uVar5 << 7 | pbVar3[8] & 0x7f;\n                  pbVar4 = pbVar3 + 8;\n                }" (if "if") (parenthesized_expression "((pbVar4 < pbVar3 + 8) && ((char)pbVar3[7] < '\0'))" (( "(") (binary_expression "(pbVar4 < pbVar3 + 8) && ((char)pbVar3[7] < '\0')" (parenthesized_expression "(pbVar4 < pbVar3 + 8)" (( "(") (binary_expression "pbVar4 < pbVar3 + 8" (identifier "pbVar4") (< "<") (binary_expression "pbVar3 + 8" (identifier "pbVar3") (+ "+") (number_literal "8"))) () ")")) (&& "&&") (parenthesized_expression "((char)pbVar3[7] < '\0')" (( "(") (binary_expression "(char)pbVar3[7] < '\0'" (cast_expression "(char)pbVar3[7]" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (subscript_expression "pbVar3[7]" (identifier "pbVar3") ([ "[") (number_literal "7") (] "]"))) (< "<") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")"))) () ")")) (compound_statement "{\n                  uVar5 = uVar5 << 7 | pbVar3[8] & 0x7f;\n                  pbVar4 = pbVar3 + 8;\n                }" ({ "{") (expression_statement "uVar5 = uVar5 << 7 | pbVar3[8] & 0x7f;" (assignment_expression "uVar5 = uVar5 << 7 | pbVar3[8] & 0x7f" (identifier "uVar5") (= "=") (binary_expression "uVar5 << 7 | pbVar3[8] & 0x7f" (binary_expression "uVar5 << 7" (identifier "uVar5") (<< "<<") (number_literal "7")) (| "|") (binary_expression "pbVar3[8] & 0x7f" (subscript_expression "pbVar3[8]" (identifier "pbVar3") ([ "[") (number_literal "8") (] "]")) (& "&") (number_literal "0x7f")))) (; ";")) (expression_statement "pbVar4 = pbVar3 + 8;" (assignment_expression "pbVar4 = pbVar3 + 8" (identifier "pbVar4") (= "=") (binary_expression "pbVar3 + 8" (identifier "pbVar3") (+ "+") (number_literal "8"))) (; ";")) (} "}"))) (} "}"))) (} "}"))) (} "}"))) (} "}"))) (} "}"))) (} "}"))) (} "}"))) (expression_statement "*param_3 = uVar5;" (assignment_expression "*param_3 = uVar5" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (= "=") (identifier "uVar5")) (; ";")) (expression_statement "param_3[1] = 0;" (assignment_expression "param_3[1] = 0" (subscript_expression "param_3[1]" (identifier "param_3") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_3[3] = uVar5;" (assignment_expression "param_3[3] = uVar5" (subscript_expression "param_3[3]" (identifier "param_3") ([ "[") (number_literal "3") (] "]")) (= "=") (identifier "uVar5")) (; ";")) (expression_statement "param_3[2] = (uint)(pbVar4 + 1);" (assignment_expression "param_3[2] = (uint)(pbVar4 + 1)" (subscript_expression "param_3[2]" (identifier "param_3") ([ "[") (number_literal "2") (] "]")) (= "=") (call_expression "(uint)(pbVar4 + 1)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(pbVar4 + 1)" (( "(") (binary_expression "pbVar4 + 1" (identifier "pbVar4") (+ "+") (number_literal "1")) () ")")))) (; ";")) (if_statement "if (*(ushort *)(param_1 + 0xe) < uVar5) {\n    FUN_0003bfb0();\n    return;\n  }" (if "if") (parenthesized_expression "(*(ushort *)(param_1 + 0xe) < uVar5)" (( "(") (binary_expression "*(ushort *)(param_1 + 0xe) < uVar5" (pointer_expression "*(ushort *)(param_1 + 0xe)" (* "*") (cast_expression "(ushort *)(param_1 + 0xe)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xe)" (( "(") (binary_expression "param_1 + 0xe" (identifier "param_1") (+ "+") (number_literal "0xe")) () ")")))) (< "<") (identifier "uVar5")) () ")")) (compound_statement "{\n    FUN_0003bfb0();\n    return;\n  }" ({ "{") (expression_statement "FUN_0003bfb0();" (call_expression "FUN_0003bfb0()" (identifier "FUN_0003bfb0") (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "*(short *)(param_3 + 4) = (short)uVar5;" (assignment_expression "*(short *)(param_3 + 4) = (short)uVar5" (pointer_expression "*(short *)(param_3 + 4)" (* "*") (cast_expression "(short *)(param_3 + 4)" (( "(") (type_descriptor "short *" (sized_type_specifier "short" (short "short")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 4)" (( "(") (binary_expression "param_3 + 4" (identifier "param_3") (+ "+") (number_literal "4")) () ")")))) (= "=") (cast_expression "(short)uVar5" (( "(") (type_descriptor "short" (sized_type_specifier "short" (short "short"))) () ")") (identifier "uVar5"))) (; ";")) (expression_statement "uVar2 = ((short)(pbVar4 + 1) - (short)param_2) + (short)uVar5;" (assignment_expression "uVar2 = ((short)(pbVar4 + 1) - (short)param_2) + (short)uVar5" (identifier "uVar2") (= "=") (binary_expression "((short)(pbVar4 + 1) - (short)param_2) + (short)uVar5" (parenthesized_expression "((short)(pbVar4 + 1) - (short)param_2)" (( "(") (binary_expression "(short)(pbVar4 + 1) - (short)param_2" (cast_expression "(short)(pbVar4 + 1)" (( "(") (type_descriptor "short" (sized_type_specifier "short" (short "short"))) () ")") (parenthesized_expression "(pbVar4 + 1)" (( "(") (binary_expression "pbVar4 + 1" (identifier "pbVar4") (+ "+") (number_literal "1")) () ")"))) (- "-") (cast_expression "(short)param_2" (( "(") (type_descriptor "short" (sized_type_specifier "short" (short "short"))) () ")") (identifier "param_2"))) () ")")) (+ "+") (cast_expression "(short)uVar5" (( "(") (type_descriptor "short" (sized_type_specifier "short" (short "short"))) () ")") (identifier "uVar5")))) (; ";")) (if_statement "if (uVar2 < 4) {\n    uVar2 = 4;\n  }" (if "if") (parenthesized_expression "(uVar2 < 4)" (( "(") (binary_expression "uVar2 < 4" (identifier "uVar2") (< "<") (number_literal "4")) () ")")) (compound_statement "{\n    uVar2 = 4;\n  }" ({ "{") (expression_statement "uVar2 = 4;" (assignment_expression "uVar2 = 4" (identifier "uVar2") (= "=") (number_literal "4")) (; ";")) (} "}"))) (expression_statement "*(ushort *)((int)param_3 + 0x12) = uVar2;" (assignment_expression "*(ushort *)((int)param_3 + 0x12) = uVar2" (pointer_expression "*(ushort *)((int)param_3 + 0x12)" (* "*") (cast_expression "(ushort *)((int)param_3 + 0x12)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_3 + 0x12)" (( "(") (binary_expression "(int)param_3 + 0x12" (cast_expression "(int)param_3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_3")) (+ "+") (number_literal "0x12")) () ")")))) (= "=") (identifier "uVar2")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Unknown calling convention */

void function_1(type_1 *pPage,type_2 *var_1,type_3 *pInfo)

{
  type_4 *var_5;
  type_5 var_7;
  type_4 *var_2;
  type_4 *var_4;
  type_6 var_3;
  
  var_2 = var_1 + pPage->childPtrSize;
  var_3 = (type_6)*var_2;
  var_4 = var_2;
  if (0x7f < var_3) {
    var_5 = var_2 + 8;
    var_4 = var_2 + 1;
    var_3 = (var_3 & 0x7f) << 7 | var_2[1] & 0x7f;
    if ((char)var_2[1] < '\0') {
      var_4 = var_2 + 2;
      var_3 = var_3 << 7 | var_2[2] & 0x7f;
      if ((var_4 < var_5) && ((char)var_2[2] < '\0')) {
        var_4 = var_2 + 3;
        var_3 = var_3 << 7 | var_2[3] & 0x7f;
        if ((var_4 < var_5) && ((char)var_2[3] < '\0')) {
          var_4 = var_2 + 4;
          var_3 = var_3 << 7 | var_2[4] & 0x7f;
          if ((var_4 < var_5) && ((char)var_2[4] < '\0')) {
            var_4 = var_2 + 5;
            var_3 = var_3 << 7 | var_2[5] & 0x7f;
            if ((var_4 < var_5) && ((char)var_2[5] < '\0')) {
              var_4 = var_2 + 6;
              var_3 = var_3 << 7 | var_2[6] & 0x7f;
              if ((var_4 < var_5) && ((char)var_2[6] < '\0')) {
                var_4 = var_2 + 7;
                var_3 = var_3 << 7 | var_2[7] & 0x7f;
                if ((var_4 < var_2 + 8) && ((char)var_2[7] < '\0')) {
                  var_3 = var_3 << 7 | var_2[8] & 0x7f;
                  var_4 = var_2 + 8;
                }
              }
            }
          }
        }
      }
    }
  }
  *(type_6 *)&pInfo->nKey = var_3;
  *(type_7 *)((int)&pInfo->nKey + 4) = 0;
  pInfo->nPayload = var_3;
  pInfo->pPayload = var_4 + 1;
  if (pPage->maxLocal < var_3) {
    var_6(pPage,var_1,pInfo);
    return;
  }
  pInfo->nLocal = (type_8)var_3;
  var_7 = ((short)(var_4 + 1) - (short)var_1) + (type_8)var_3;
  if (var_7 < 4) {
    var_7 = 4;
  }
  pInfo->nSize = var_7;
  return;
}


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

void MASKED(int param_1,int param_2,uint *param_3)

{
  byte *pbVar1;
  ushort uVar2;
  byte *pbVar3;
  byte *pbVar4;
  uint uVar5;
  
  pbVar3 = (byte *)((uint)*(byte *)(param_1 + 10) + param_2);
  uVar5 = (uint)*pbVar3;
  pbVar4 = pbVar3;
  if (0x7f < uVar5) {
    pbVar1 = pbVar3 + 8;
    pbVar4 = pbVar3 + 1;
    uVar5 = (uVar5 & 0x7f) << 7 | pbVar3[1] & 0x7f;
    if ((char)pbVar3[1] < '\0') {
      pbVar4 = pbVar3 + 2;
      uVar5 = uVar5 << 7 | pbVar3[2] & 0x7f;
      if ((pbVar4 < pbVar1) && ((char)pbVar3[2] < '\0')) {
        pbVar4 = pbVar3 + 3;
        uVar5 = uVar5 << 7 | pbVar3[3] & 0x7f;
        if ((pbVar4 < pbVar1) && ((char)pbVar3[3] < '\0')) {
          pbVar4 = pbVar3 + 4;
          uVar5 = uVar5 << 7 | pbVar3[4] & 0x7f;
          if ((pbVar4 < pbVar1) && ((char)pbVar3[4] < '\0')) {
            pbVar4 = pbVar3 + 5;
            uVar5 = uVar5 << 7 | pbVar3[5] & 0x7f;
            if ((pbVar4 < pbVar1) && ((char)pbVar3[5] < '\0')) {
              pbVar4 = pbVar3 + 6;
              uVar5 = uVar5 << 7 | pbVar3[6] & 0x7f;
              if ((pbVar4 < pbVar1) && ((char)pbVar3[6] < '\0')) {
                pbVar4 = pbVar3 + 7;
                uVar5 = uVar5 << 7 | pbVar3[7] & 0x7f;
                if ((pbVar4 < pbVar3 + 8) && ((char)pbVar3[7] < '\0')) {
                  uVar5 = uVar5 << 7 | pbVar3[8] & 0x7f;
                  pbVar4 = pbVar3 + 8;
                }
              }
            }
          }
        }
      }
    }
  }
  *param_3 = uVar5;
  param_3[1] = 0;
  param_3[3] = uVar5;
  param_3[2] = (uint)(pbVar4 + 1);
  if (*(ushort *)(param_1 + 0xe) < uVar5) {
    FUN_0003bfb0();
    return;
  }
  *(short *)(param_3 + 4) = (short)uVar5;
  uVar2 = ((short)(pbVar4 + 1) - (short)param_2) + (short)uVar5;
  if (uVar2 < 4) {
    uVar2 = 4;
  }
  *(ushort *)((int)param_3 + 0x12) = uVar2;
  return;
}

