
undefined4 * d_substitution(long param_1,uint param_2)

{
  int iVar1;
  undefined4 uVar2;
  char *pcVar3;
  long lVar4;
  char cVar5;
  long lVar6;
  undefined4 *puVar7;
  char cVar8;
  int iVar9;
  ulong uVar10;
  uint uVar11;
  uint uVar12;
  int iVar13;
  undefined1 *puVar14;
  undefined8 uVar15;
  bool bVar16;
  
  pcVar3 = *(char **)(param_1 + 0x18);
  if (*pcVar3 == 'S') {
    *(char **)(param_1 + 0x18) = pcVar3 + 1;
    cVar5 = pcVar3[1];
    if (cVar5 != '\0') {
      *(char **)(param_1 + 0x18) = pcVar3 + 2;
      cVar5 = pcVar3[1];
      iVar9 = (int)cVar5;
      if (((byte)(cVar5 - 0x30U) < 10) || (cVar5 == '_')) {
        uVar10 = 0;
        if (cVar5 == '_') {
LAB_002f791a:
          if (*(uint *)(param_1 + 0x38) <= (uint)uVar10) {
            return (undefined4 *)0x0;
          }
          return *(undefined4 **)(*(long *)(param_1 + 0x30) + uVar10 * 8);
        }
LAB_002f7940:
        uVar11 = 0;
        if (9 < (byte)(cVar5 - 0x30U)) goto LAB_002f797f;
        do {
          uVar12 = uVar11;
          uVar11 = iVar9 + -0x30 + uVar11 * 0x24;
          while( true ) {
            if (uVar11 < uVar12) {
              return (undefined4 *)0x0;
            }
            pcVar3 = *(char **)(param_1 + 0x18);
            cVar5 = *pcVar3;
            if (cVar5 != '\0') {
              *(char **)(param_1 + 0x18) = pcVar3 + 1;
              cVar5 = *pcVar3;
              if (cVar5 == '_') {
                uVar10 = (ulong)(uVar11 + 1);
                goto LAB_002f791a;
              }
            }
            iVar9 = (int)cVar5;
            if ((byte)(cVar5 - 0x30U) < 10) break;
LAB_002f797f:
            if (0x19 < (byte)((char)iVar9 + 0xbfU)) {
              return (undefined4 *)0x0;
            }
            uVar12 = uVar11;
            uVar11 = iVar9 + -0x37 + uVar11 * 0x24;
          }
        } while( true );
      }
      if ((byte)(cVar5 + 0xbfU) < 0x1a) goto LAB_002f7940;
    }
    bVar16 = (*(uint *)(param_1 + 0x10) & 8) != 0;
    if (((!bVar16) && ((param_2 & 1) != 0)) && ((byte)(**(char **)(param_1 + 0x18) + 0xbdU) < 2)) {
      bVar16 = true;
    }
    puVar14 = standard_subs;
    cVar8 = 't';
    while( true ) {
      if (cVar5 == cVar8) {
        lVar4 = *(long *)(puVar14 + 0x28);
        iVar9 = *(int *)(param_1 + 0x28);
        iVar1 = *(int *)(param_1 + 0x2c);
        if (lVar4 != 0) {
          uVar2 = *(undefined4 *)(puVar14 + 0x30);
          if (iVar9 < iVar1) {
            lVar6 = (long)iVar9;
            iVar9 = iVar9 + 1;
            puVar7 = (undefined4 *)(*(long *)(param_1 + 0x20) + lVar6 * 0x18);
            puVar7[1] = 0;
            *(int *)(param_1 + 0x28) = iVar9;
            *puVar7 = 0x18;
            *(long *)(puVar7 + 2) = lVar4;
            puVar7[4] = uVar2;
          }
          else {
            puVar7 = (undefined4 *)0x0;
          }
          *(undefined4 **)(param_1 + 0x40) = puVar7;
        }
        if (bVar16) {
          uVar15 = *(undefined8 *)(puVar14 + 0x18);
          iVar13 = *(int *)(puVar14 + 0x20);
        }
        else {
          uVar15 = *(undefined8 *)(puVar14 + 8);
          iVar13 = *(int *)(puVar14 + 0x10);
        }
        *(int *)(param_1 + 0x48) = *(int *)(param_1 + 0x48) + iVar13;
        if (iVar9 < iVar1) {
          puVar7 = (undefined4 *)(*(long *)(param_1 + 0x20) + (long)iVar9 * 0x18);
          puVar7[1] = 0;
          *(int *)(param_1 + 0x28) = iVar9 + 1;
          *puVar7 = 0x18;
          *(undefined8 *)(puVar7 + 2) = uVar15;
          puVar7[4] = iVar13;
        }
        else {
          puVar7 = (undefined4 *)0x0;
        }
        if (**(char **)(param_1 + 0x18) != 'B') {
          return puVar7;
        }
        puVar7 = (undefined4 *)d_abi_tags(param_1,puVar7);
        if ((puVar7 != (undefined4 *)0x0) &&
           (iVar9 = *(int *)(param_1 + 0x38), iVar9 < *(int *)(param_1 + 0x3c))) {
          *(undefined4 **)(*(long *)(param_1 + 0x30) + (long)iVar9 * 8) = puVar7;
          *(int *)(param_1 + 0x38) = iVar9 + 1;
          return puVar7;
        }
        return (undefined4 *)0x0;
      }
      puVar14 = puVar14 + 0x38;
      if (puVar14 == "") break;
      cVar8 = *puVar14;
    }
  }
  return (undefined4 *)0x0;
}



undefined4 * FUN_002f7880(long param_1,uint param_2)

{
  int iVar1;
  undefined4 uVar2;
  long lVar3;
  char cVar4;
  long lVar5;
  undefined4 *puVar6;
  char cVar7;
  int iVar8;
  ulong uVar9;
  uint uVar10;
  uint uVar11;
  int iVar12;
  char *pcVar13;
  undefined8 uVar14;
  bool bVar15;
  
  pcVar13 = *(char **)(param_1 + 0x18);
  if (*pcVar13 == 'S') {
    *(char **)(param_1 + 0x18) = pcVar13 + 1;
    cVar4 = pcVar13[1];
    if (cVar4 != '\0') {
      *(char **)(param_1 + 0x18) = pcVar13 + 2;
      cVar4 = pcVar13[1];
      iVar8 = (int)cVar4;
      if (((byte)(cVar4 - 0x30U) < 10) || (cVar4 == '_')) {
        uVar9 = 0;
        if (cVar4 == '_') {
LAB_002f791a:
          if (*(uint *)(param_1 + 0x38) <= (uint)uVar9) {
            return (undefined4 *)0x0;
          }
          return *(undefined4 **)(*(long *)(param_1 + 0x30) + uVar9 * 8);
        }
LAB_002f7940:
        uVar10 = 0;
        if (9 < (byte)(cVar4 - 0x30U)) goto LAB_002f797f;
        do {
          uVar11 = uVar10;
          uVar10 = iVar8 + -0x30 + uVar10 * 0x24;
          while( true ) {
            if (uVar10 < uVar11) {
              return (undefined4 *)0x0;
            }
            pcVar13 = *(char **)(param_1 + 0x18);
            cVar4 = *pcVar13;
            if (cVar4 != '\0') {
              *(char **)(param_1 + 0x18) = pcVar13 + 1;
              cVar4 = *pcVar13;
              if (cVar4 == '_') {
                uVar9 = (ulong)(uVar10 + 1);
                goto LAB_002f791a;
              }
            }
            iVar8 = (int)cVar4;
            if ((byte)(cVar4 - 0x30U) < 10) break;
LAB_002f797f:
            if (0x19 < (byte)((char)iVar8 + 0xbfU)) {
              return (undefined4 *)0x0;
            }
            uVar11 = uVar10;
            uVar10 = iVar8 + -0x37 + uVar10 * 0x24;
          }
        } while( true );
      }
      if ((byte)(cVar4 + 0xbfU) < 0x1a) goto LAB_002f7940;
    }
    bVar15 = (*(uint *)(param_1 + 0x10) & 8) != 0;
    if (((!bVar15) && ((param_2 & 1) != 0)) && ((byte)(**(char **)(param_1 + 0x18) + 0xbdU) < 2)) {
      bVar15 = true;
    }
    pcVar13 = "t";
    cVar7 = 't';
    while( true ) {
      if (cVar4 == cVar7) {
        lVar3 = *(long *)(pcVar13 + 0x28);
        iVar8 = *(int *)(param_1 + 0x28);
        iVar1 = *(int *)(param_1 + 0x2c);
        if (lVar3 != 0) {
          uVar2 = *(undefined4 *)(pcVar13 + 0x30);
          if (iVar8 < iVar1) {
            lVar5 = (long)iVar8;
            iVar8 = iVar8 + 1;
            puVar6 = (undefined4 *)(*(long *)(param_1 + 0x20) + lVar5 * 0x18);
            puVar6[1] = 0;
            *(int *)(param_1 + 0x28) = iVar8;
            *puVar6 = 0x18;
            *(long *)(puVar6 + 2) = lVar3;
            puVar6[4] = uVar2;
          }
          else {
            puVar6 = (undefined4 *)0x0;
          }
          *(undefined4 **)(param_1 + 0x40) = puVar6;
        }
        if (bVar15) {
          uVar14 = *(undefined8 *)(pcVar13 + 0x18);
          iVar12 = *(int *)(pcVar13 + 0x20);
        }
        else {
          uVar14 = *(undefined8 *)(pcVar13 + 8);
          iVar12 = *(int *)(pcVar13 + 0x10);
        }
        *(int *)(param_1 + 0x48) = *(int *)(param_1 + 0x48) + iVar12;
        if (iVar8 < iVar1) {
          puVar6 = (undefined4 *)(*(long *)(param_1 + 0x20) + (long)iVar8 * 0x18);
          puVar6[1] = 0;
          *(int *)(param_1 + 0x28) = iVar8 + 1;
          *puVar6 = 0x18;
          *(undefined8 *)(puVar6 + 2) = uVar14;
          puVar6[4] = iVar12;
        }
        else {
          puVar6 = (undefined4 *)0x0;
        }
        if (**(char **)(param_1 + 0x18) != 'B') {
          return puVar6;
        }
        puVar6 = (undefined4 *)FUN_002f7820(param_1,puVar6);
        if ((puVar6 != (undefined4 *)0x0) &&
           (iVar8 = *(int *)(param_1 + 0x38), iVar8 < *(int *)(param_1 + 0x3c))) {
          *(undefined4 **)(*(long *)(param_1 + 0x30) + (long)iVar8 * 8) = puVar6;
          *(int *)(param_1 + 0x38) = iVar8 + 1;
          return puVar6;
        }
        return (undefined4 *)0x0;
      }
      pcVar13 = pcVar13 + 0x38;
      if (pcVar13 == "") break;
      cVar7 = *pcVar13;
    }
  }
  return (undefined4 *)0x0;
}


MOV RDX,qword ptr [RDI + 0x18]
CMP byte ptr [RDX],0x53
JNZ 0x002f78f4
LEA RAX,[RDX + 0x1]
MOV qword ptr [RDI + 0x18],RAX
MOVZX EAX,byte ptr [RDX + 0x1]
TEST AL,AL
JNZ 0x002f7900
MOV EDX,dword ptr [RDI + 0x10]
XOR R8D,R8D
AND EDX,0x8
SETNZ R8B
JNZ 0x002f78c3
AND ESI,0x1
JZ 0x002f78c3
MOV RDX,qword ptr [RDI + 0x18]
MOVZX EDX,byte ptr [RDX]
SUB EDX,0x43
CMP DL,0x1
MOV EDX,0x1
CMOVBE R8D,EDX
LEA RDX,[0x3b0ea0]
MOV ECX,0x74
LEA RSI,[RDX + 0x188]
JMP 0x002f78e3
MOVZX ECX,byte ptr [RDX]
CMP AL,CL
JZ 0x002f79a0
ADD RDX,0x38
CMP RDX,RSI
JNZ 0x002f78e0
XOR EAX,EAX
RET
LEA RAX,[RDX + 0x2]
MOV qword ptr [RDI + 0x18],RAX
MOVSX EAX,byte ptr [RDX + 0x1]
LEA EDX,[RAX + -0x30]
CMP DL,0x9
JA 0x002f7930
XOR ECX,ECX
CMP AL,0x5f
JNZ 0x002f7940
CMP dword ptr [RDI + 0x38],ECX
JBE 0x002f78f4
MOV RAX,qword ptr [RDI + 0x30]
MOV RAX,qword ptr [RAX + RCX*0x8]
RET
CMP AL,0x5f
JZ 0x002f7914
LEA EDX,[RAX + -0x41]
CMP DL,0x19
JA 0x002f7899
LEA ECX,[RAX + -0x30]
XOR EDX,EDX
CMP CL,0x9
JA 0x002f797f
NOP word ptr [RAX + RAX*0x1]
LEA ECX,[RDX + RDX*0x8]
LEA ECX,[RAX + RCX*0x4 + -0x30]
CMP EDX,ECX
JA 0x002f78f4
MOV RDX,qword ptr [RDI + 0x18]
MOVSX EAX,byte ptr [RDX]
TEST AL,AL
JZ 0x002f7975
LEA RAX,[RDX + 0x1]
MOV qword ptr [RDI + 0x18],RAX
MOVSX EAX,byte ptr [RDX]
CMP AL,0x5f
JZ 0x002f7998
MOV EDX,ECX
LEA ECX,[RAX + -0x30]
CMP CL,0x9
JBE 0x002f7950
LEA ECX,[RAX + -0x41]
CMP CL,0x19
JA 0x002f78f4
LEA ECX,[RDX + RDX*0x8]
LEA ECX,[RAX + RCX*0x4 + -0x37]
JMP 0x002f7957
ADD ECX,0x1
JMP 0x002f791a
MOV R9,qword ptr [RDX + 0x28]
MOV ECX,dword ptr [RDI + 0x28]
MOV ESI,dword ptr [RDI + 0x2c]
TEST R9,R9
JZ 0x002f79e9
MOV R10D,dword ptr [RDX + 0x30]
CMP ECX,ESI
JGE 0x002f7a70
MOVSXD RAX,ECX
ADD ECX,0x1
LEA R11,[RAX + RAX*0x2]
MOV RAX,qword ptr [RDI + 0x20]
LEA RAX,[RAX + R11*0x8]
MOV dword ptr [RAX + 0x4],0x0
MOV dword ptr [RDI + 0x28],ECX
MOV dword ptr [RAX],0x18
MOV qword ptr [RAX + 0x8],R9
MOV dword ptr [RAX + 0x10],R10D
MOV qword ptr [RDI + 0x40],RAX
TEST R8D,R8D
JZ 0x002f7a2f
MOV R8,qword ptr [RDX + 0x18]
MOV EDX,dword ptr [RDX + 0x20]
ADD dword ptr [RDI + 0x48],EDX
CMP ECX,ESI
JGE 0x002f7a6c
MOVSXD RAX,ECX
ADD ECX,0x1
LEA RSI,[RAX + RAX*0x2]
MOV RAX,qword ptr [RDI + 0x20]
LEA RAX,[RAX + RSI*0x8]
MOV dword ptr [RAX + 0x4],0x0
MOV dword ptr [RDI + 0x28],ECX
MOV dword ptr [RAX],0x18
MOV qword ptr [RAX + 0x8],R8
MOV dword ptr [RAX + 0x10],EDX
MOV RDX,qword ptr [RDI + 0x18]
CMP byte ptr [RDX],0x42
JZ 0x002f7a38
RET
MOV R8,qword ptr [RDX + 0x8]
MOV EDX,dword ptr [RDX + 0x10]
JMP 0x002f79f5
PUSH RBX
MOV RSI,RAX
MOV RBX,RDI
CALL 0x002f7820
TEST RAX,RAX
JZ 0x002f7a68
MOV EDX,dword ptr [RBX + 0x38]
CMP EDX,dword ptr [RBX + 0x3c]
JGE 0x002f7a68
MOV RCX,qword ptr [RBX + 0x30]
MOVSXD RSI,EDX
ADD EDX,0x1
MOV qword ptr [RCX + RSI*0x8],RAX
MOV dword ptr [RBX + 0x38],EDX
POP RBX
RET
XOR EAX,EAX
POP RBX
RET
XOR EAX,EAX
JMP 0x002f7a25
XOR EAX,EAX
JMP 0x002f79e5
(translation_unit "undefined4 * FUN_002f7880(long param_1,uint param_2)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  long lVar3;\n  char cVar4;\n  long lVar5;\n  undefined4 *puVar6;\n  char cVar7;\n  int iVar8;\n  ulong uVar9;\n  uint uVar10;\n  uint uVar11;\n  int iVar12;\n  char *pcVar13;\n  undefined8 uVar14;\n  bool bVar15;\n  \n  pcVar13 = *(char **)(param_1 + 0x18);\n  if (*pcVar13 == 'S') {\n    *(char **)(param_1 + 0x18) = pcVar13 + 1;\n    cVar4 = pcVar13[1];\n    if (cVar4 != '\0') {\n      *(char **)(param_1 + 0x18) = pcVar13 + 2;\n      cVar4 = pcVar13[1];\n      iVar8 = (int)cVar4;\n      if (((byte)(cVar4 - 0x30U) < 10) || (cVar4 == '_')) {\n        uVar9 = 0;\n        if (cVar4 == '_') {\nLAB_002f791a:\n          if (*(uint *)(param_1 + 0x38) <= (uint)uVar9) {\n            return (undefined4 *)0x0;\n          }\n          return *(undefined4 **)(*(long *)(param_1 + 0x30) + uVar9 * 8);\n        }\nLAB_002f7940:\n        uVar10 = 0;\n        if (9 < (byte)(cVar4 - 0x30U)) goto LAB_002f797f;\n        do {\n          uVar11 = uVar10;\n          uVar10 = iVar8 + -0x30 + uVar10 * 0x24;\n          while( true ) {\n            if (uVar10 < uVar11) {\n              return (undefined4 *)0x0;\n            }\n            pcVar13 = *(char **)(param_1 + 0x18);\n            cVar4 = *pcVar13;\n            if (cVar4 != '\0') {\n              *(char **)(param_1 + 0x18) = pcVar13 + 1;\n              cVar4 = *pcVar13;\n              if (cVar4 == '_') {\n                uVar9 = (ulong)(uVar10 + 1);\n                goto LAB_002f791a;\n              }\n            }\n            iVar8 = (int)cVar4;\n            if ((byte)(cVar4 - 0x30U) < 10) break;\nLAB_002f797f:\n            if (0x19 < (byte)((char)iVar8 + 0xbfU)) {\n              return (undefined4 *)0x0;\n            }\n            uVar11 = uVar10;\n            uVar10 = iVar8 + -0x37 + uVar10 * 0x24;\n          }\n        } while( true );\n      }\n      if ((byte)(cVar4 + 0xbfU) < 0x1a) goto LAB_002f7940;\n    }\n    bVar15 = (*(uint *)(param_1 + 0x10) & 8) != 0;\n    if (((!bVar15) && ((param_2 & 1) != 0)) && ((byte)(**(char **)(param_1 + 0x18) + 0xbdU) < 2)) {\n      bVar15 = true;\n    }\n    pcVar13 = "t";\n    cVar7 = 't';\n    while( true ) {\n      if (cVar4 == cVar7) {\n        lVar3 = *(long *)(pcVar13 + 0x28);\n        iVar8 = *(int *)(param_1 + 0x28);\n        iVar1 = *(int *)(param_1 + 0x2c);\n        if (lVar3 != 0) {\n          uVar2 = *(undefined4 *)(pcVar13 + 0x30);\n          if (iVar8 < iVar1) {\n            lVar5 = (long)iVar8;\n            iVar8 = iVar8 + 1;\n            puVar6 = (undefined4 *)(*(long *)(param_1 + 0x20) + lVar5 * 0x18);\n            puVar6[1] = 0;\n            *(int *)(param_1 + 0x28) = iVar8;\n            *puVar6 = 0x18;\n            *(long *)(puVar6 + 2) = lVar3;\n            puVar6[4] = uVar2;\n          }\n          else {\n            puVar6 = (undefined4 *)0x0;\n          }\n          *(undefined4 **)(param_1 + 0x40) = puVar6;\n        }\n        if (bVar15) {\n          uVar14 = *(undefined8 *)(pcVar13 + 0x18);\n          iVar12 = *(int *)(pcVar13 + 0x20);\n        }\n        else {\n          uVar14 = *(undefined8 *)(pcVar13 + 8);\n          iVar12 = *(int *)(pcVar13 + 0x10);\n        }\n        *(int *)(param_1 + 0x48) = *(int *)(param_1 + 0x48) + iVar12;\n        if (iVar8 < iVar1) {\n          puVar6 = (undefined4 *)(*(long *)(param_1 + 0x20) + (long)iVar8 * 0x18);\n          puVar6[1] = 0;\n          *(int *)(param_1 + 0x28) = iVar8 + 1;\n          *puVar6 = 0x18;\n          *(undefined8 *)(puVar6 + 2) = uVar14;\n          puVar6[4] = iVar12;\n        }\n        else {\n          puVar6 = (undefined4 *)0x0;\n        }\n        if (**(char **)(param_1 + 0x18) != 'B') {\n          return puVar6;\n        }\n        puVar6 = (undefined4 *)FUN_002f7820(param_1,puVar6);\n        if ((puVar6 != (undefined4 *)0x0) &&\n           (iVar8 = *(int *)(param_1 + 0x38), iVar8 < *(int *)(param_1 + 0x3c))) {\n          *(undefined4 **)(*(long *)(param_1 + 0x30) + (long)iVar8 * 8) = puVar6;\n          *(int *)(param_1 + 0x38) = iVar8 + 1;\n          return puVar6;\n        }\n        return (undefined4 *)0x0;\n      }\n      pcVar13 = pcVar13 + 0x38;\n      if (pcVar13 == "") break;\n      cVar7 = *pcVar13;\n    }\n  }\n  return (undefined4 *)0x0;\n}\n\n" (function_definition "undefined4 * FUN_002f7880(long param_1,uint param_2)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  long lVar3;\n  char cVar4;\n  long lVar5;\n  undefined4 *puVar6;\n  char cVar7;\n  int iVar8;\n  ulong uVar9;\n  uint uVar10;\n  uint uVar11;\n  int iVar12;\n  char *pcVar13;\n  undefined8 uVar14;\n  bool bVar15;\n  \n  pcVar13 = *(char **)(param_1 + 0x18);\n  if (*pcVar13 == 'S') {\n    *(char **)(param_1 + 0x18) = pcVar13 + 1;\n    cVar4 = pcVar13[1];\n    if (cVar4 != '\0') {\n      *(char **)(param_1 + 0x18) = pcVar13 + 2;\n      cVar4 = pcVar13[1];\n      iVar8 = (int)cVar4;\n      if (((byte)(cVar4 - 0x30U) < 10) || (cVar4 == '_')) {\n        uVar9 = 0;\n        if (cVar4 == '_') {\nLAB_002f791a:\n          if (*(uint *)(param_1 + 0x38) <= (uint)uVar9) {\n            return (undefined4 *)0x0;\n          }\n          return *(undefined4 **)(*(long *)(param_1 + 0x30) + uVar9 * 8);\n        }\nLAB_002f7940:\n        uVar10 = 0;\n        if (9 < (byte)(cVar4 - 0x30U)) goto LAB_002f797f;\n        do {\n          uVar11 = uVar10;\n          uVar10 = iVar8 + -0x30 + uVar10 * 0x24;\n          while( true ) {\n            if (uVar10 < uVar11) {\n              return (undefined4 *)0x0;\n            }\n            pcVar13 = *(char **)(param_1 + 0x18);\n            cVar4 = *pcVar13;\n            if (cVar4 != '\0') {\n              *(char **)(param_1 + 0x18) = pcVar13 + 1;\n              cVar4 = *pcVar13;\n              if (cVar4 == '_') {\n                uVar9 = (ulong)(uVar10 + 1);\n                goto LAB_002f791a;\n              }\n            }\n            iVar8 = (int)cVar4;\n            if ((byte)(cVar4 - 0x30U) < 10) break;\nLAB_002f797f:\n            if (0x19 < (byte)((char)iVar8 + 0xbfU)) {\n              return (undefined4 *)0x0;\n            }\n            uVar11 = uVar10;\n            uVar10 = iVar8 + -0x37 + uVar10 * 0x24;\n          }\n        } while( true );\n      }\n      if ((byte)(cVar4 + 0xbfU) < 0x1a) goto LAB_002f7940;\n    }\n    bVar15 = (*(uint *)(param_1 + 0x10) & 8) != 0;\n    if (((!bVar15) && ((param_2 & 1) != 0)) && ((byte)(**(char **)(param_1 + 0x18) + 0xbdU) < 2)) {\n      bVar15 = true;\n    }\n    pcVar13 = "t";\n    cVar7 = 't';\n    while( true ) {\n      if (cVar4 == cVar7) {\n        lVar3 = *(long *)(pcVar13 + 0x28);\n        iVar8 = *(int *)(param_1 + 0x28);\n        iVar1 = *(int *)(param_1 + 0x2c);\n        if (lVar3 != 0) {\n          uVar2 = *(undefined4 *)(pcVar13 + 0x30);\n          if (iVar8 < iVar1) {\n            lVar5 = (long)iVar8;\n            iVar8 = iVar8 + 1;\n            puVar6 = (undefined4 *)(*(long *)(param_1 + 0x20) + lVar5 * 0x18);\n            puVar6[1] = 0;\n            *(int *)(param_1 + 0x28) = iVar8;\n            *puVar6 = 0x18;\n            *(long *)(puVar6 + 2) = lVar3;\n            puVar6[4] = uVar2;\n          }\n          else {\n            puVar6 = (undefined4 *)0x0;\n          }\n          *(undefined4 **)(param_1 + 0x40) = puVar6;\n        }\n        if (bVar15) {\n          uVar14 = *(undefined8 *)(pcVar13 + 0x18);\n          iVar12 = *(int *)(pcVar13 + 0x20);\n        }\n        else {\n          uVar14 = *(undefined8 *)(pcVar13 + 8);\n          iVar12 = *(int *)(pcVar13 + 0x10);\n        }\n        *(int *)(param_1 + 0x48) = *(int *)(param_1 + 0x48) + iVar12;\n        if (iVar8 < iVar1) {\n          puVar6 = (undefined4 *)(*(long *)(param_1 + 0x20) + (long)iVar8 * 0x18);\n          puVar6[1] = 0;\n          *(int *)(param_1 + 0x28) = iVar8 + 1;\n          *puVar6 = 0x18;\n          *(undefined8 *)(puVar6 + 2) = uVar14;\n          puVar6[4] = iVar12;\n        }\n        else {\n          puVar6 = (undefined4 *)0x0;\n        }\n        if (**(char **)(param_1 + 0x18) != 'B') {\n          return puVar6;\n        }\n        puVar6 = (undefined4 *)FUN_002f7820(param_1,puVar6);\n        if ((puVar6 != (undefined4 *)0x0) &&\n           (iVar8 = *(int *)(param_1 + 0x38), iVar8 < *(int *)(param_1 + 0x3c))) {\n          *(undefined4 **)(*(long *)(param_1 + 0x30) + (long)iVar8 * 8) = puVar6;\n          *(int *)(param_1 + 0x38) = iVar8 + 1;\n          return puVar6;\n        }\n        return (undefined4 *)0x0;\n      }\n      pcVar13 = pcVar13 + 0x38;\n      if (pcVar13 == "") break;\n      cVar7 = *pcVar13;\n    }\n  }\n  return (undefined4 *)0x0;\n}" type_identifier (pointer_declarator "* FUN_002f7880(long param_1,uint param_2)" * (function_declarator "FUN_002f7880(long param_1,uint param_2)" identifier (parameter_list "(long param_1,uint param_2)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "uint param_2" type_identifier identifier) )))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  long lVar3;\n  char cVar4;\n  long lVar5;\n  undefined4 *puVar6;\n  char cVar7;\n  int iVar8;\n  ulong uVar9;\n  uint uVar10;\n  uint uVar11;\n  int iVar12;\n  char *pcVar13;\n  undefined8 uVar14;\n  bool bVar15;\n  \n  pcVar13 = *(char **)(param_1 + 0x18);\n  if (*pcVar13 == 'S') {\n    *(char **)(param_1 + 0x18) = pcVar13 + 1;\n    cVar4 = pcVar13[1];\n    if (cVar4 != '\0') {\n      *(char **)(param_1 + 0x18) = pcVar13 + 2;\n      cVar4 = pcVar13[1];\n      iVar8 = (int)cVar4;\n      if (((byte)(cVar4 - 0x30U) < 10) || (cVar4 == '_')) {\n        uVar9 = 0;\n        if (cVar4 == '_') {\nLAB_002f791a:\n          if (*(uint *)(param_1 + 0x38) <= (uint)uVar9) {\n            return (undefined4 *)0x0;\n          }\n          return *(undefined4 **)(*(long *)(param_1 + 0x30) + uVar9 * 8);\n        }\nLAB_002f7940:\n        uVar10 = 0;\n        if (9 < (byte)(cVar4 - 0x30U)) goto LAB_002f797f;\n        do {\n          uVar11 = uVar10;\n          uVar10 = iVar8 + -0x30 + uVar10 * 0x24;\n          while( true ) {\n            if (uVar10 < uVar11) {\n              return (undefined4 *)0x0;\n            }\n            pcVar13 = *(char **)(param_1 + 0x18);\n            cVar4 = *pcVar13;\n            if (cVar4 != '\0') {\n              *(char **)(param_1 + 0x18) = pcVar13 + 1;\n              cVar4 = *pcVar13;\n              if (cVar4 == '_') {\n                uVar9 = (ulong)(uVar10 + 1);\n                goto LAB_002f791a;\n              }\n            }\n            iVar8 = (int)cVar4;\n            if ((byte)(cVar4 - 0x30U) < 10) break;\nLAB_002f797f:\n            if (0x19 < (byte)((char)iVar8 + 0xbfU)) {\n              return (undefined4 *)0x0;\n            }\n            uVar11 = uVar10;\n            uVar10 = iVar8 + -0x37 + uVar10 * 0x24;\n          }\n        } while( true );\n      }\n      if ((byte)(cVar4 + 0xbfU) < 0x1a) goto LAB_002f7940;\n    }\n    bVar15 = (*(uint *)(param_1 + 0x10) & 8) != 0;\n    if (((!bVar15) && ((param_2 & 1) != 0)) && ((byte)(**(char **)(param_1 + 0x18) + 0xbdU) < 2)) {\n      bVar15 = true;\n    }\n    pcVar13 = "t";\n    cVar7 = 't';\n    while( true ) {\n      if (cVar4 == cVar7) {\n        lVar3 = *(long *)(pcVar13 + 0x28);\n        iVar8 = *(int *)(param_1 + 0x28);\n        iVar1 = *(int *)(param_1 + 0x2c);\n        if (lVar3 != 0) {\n          uVar2 = *(undefined4 *)(pcVar13 + 0x30);\n          if (iVar8 < iVar1) {\n            lVar5 = (long)iVar8;\n            iVar8 = iVar8 + 1;\n            puVar6 = (undefined4 *)(*(long *)(param_1 + 0x20) + lVar5 * 0x18);\n            puVar6[1] = 0;\n            *(int *)(param_1 + 0x28) = iVar8;\n            *puVar6 = 0x18;\n            *(long *)(puVar6 + 2) = lVar3;\n            puVar6[4] = uVar2;\n          }\n          else {\n            puVar6 = (undefined4 *)0x0;\n          }\n          *(undefined4 **)(param_1 + 0x40) = puVar6;\n        }\n        if (bVar15) {\n          uVar14 = *(undefined8 *)(pcVar13 + 0x18);\n          iVar12 = *(int *)(pcVar13 + 0x20);\n        }\n        else {\n          uVar14 = *(undefined8 *)(pcVar13 + 8);\n          iVar12 = *(int *)(pcVar13 + 0x10);\n        }\n        *(int *)(param_1 + 0x48) = *(int *)(param_1 + 0x48) + iVar12;\n        if (iVar8 < iVar1) {\n          puVar6 = (undefined4 *)(*(long *)(param_1 + 0x20) + (long)iVar8 * 0x18);\n          puVar6[1] = 0;\n          *(int *)(param_1 + 0x28) = iVar8 + 1;\n          *puVar6 = 0x18;\n          *(undefined8 *)(puVar6 + 2) = uVar14;\n          puVar6[4] = iVar12;\n        }\n        else {\n          puVar6 = (undefined4 *)0x0;\n        }\n        if (**(char **)(param_1 + 0x18) != 'B') {\n          return puVar6;\n        }\n        puVar6 = (undefined4 *)FUN_002f7820(param_1,puVar6);\n        if ((puVar6 != (undefined4 *)0x0) &&\n           (iVar8 = *(int *)(param_1 + 0x38), iVar8 < *(int *)(param_1 + 0x3c))) {\n          *(undefined4 **)(*(long *)(param_1 + 0x30) + (long)iVar8 * 8) = puVar6;\n          *(int *)(param_1 + 0x38) = iVar8 + 1;\n          return puVar6;\n        }\n        return (undefined4 *)0x0;\n      }\n      pcVar13 = pcVar13 + 0x38;\n      if (pcVar13 == "") break;\n      cVar7 = *pcVar13;\n    }\n  }\n  return (undefined4 *)0x0;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "long lVar3;" (sized_type_specifier "long" long) identifier ;) (declaration "char cVar4;" primitive_type identifier ;) (declaration "long lVar5;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined4 *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "char cVar7;" primitive_type identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "ulong uVar9;" type_identifier identifier ;) (declaration "uint uVar10;" type_identifier identifier ;) (declaration "uint uVar11;" type_identifier identifier ;) (declaration "int iVar12;" primitive_type identifier ;) (declaration "char *pcVar13;" primitive_type (pointer_declarator "*pcVar13" * identifier) ;) (declaration "undefined8 uVar14;" type_identifier identifier ;) (declaration "bool bVar15;" primitive_type identifier ;) (expression_statement "pcVar13 = *(char **)(param_1 + 0x18);" (assignment_expression "pcVar13 = *(char **)(param_1 + 0x18)" identifier = (pointer_expression "*(char **)(param_1 + 0x18)" * (cast_expression "(char **)(param_1 + 0x18)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) ))))) ;) (if_statement "if (*pcVar13 == 'S') {\n    *(char **)(param_1 + 0x18) = pcVar13 + 1;\n    cVar4 = pcVar13[1];\n    if (cVar4 != '\0') {\n      *(char **)(param_1 + 0x18) = pcVar13 + 2;\n      cVar4 = pcVar13[1];\n      iVar8 = (int)cVar4;\n      if (((byte)(cVar4 - 0x30U) < 10) || (cVar4 == '_')) {\n        uVar9 = 0;\n        if (cVar4 == '_') {\nLAB_002f791a:\n          if (*(uint *)(param_1 + 0x38) <= (uint)uVar9) {\n            return (undefined4 *)0x0;\n          }\n          return *(undefined4 **)(*(long *)(param_1 + 0x30) + uVar9 * 8);\n        }\nLAB_002f7940:\n        uVar10 = 0;\n        if (9 < (byte)(cVar4 - 0x30U)) goto LAB_002f797f;\n        do {\n          uVar11 = uVar10;\n          uVar10 = iVar8 + -0x30 + uVar10 * 0x24;\n          while( true ) {\n            if (uVar10 < uVar11) {\n              return (undefined4 *)0x0;\n            }\n            pcVar13 = *(char **)(param_1 + 0x18);\n            cVar4 = *pcVar13;\n            if (cVar4 != '\0') {\n              *(char **)(param_1 + 0x18) = pcVar13 + 1;\n              cVar4 = *pcVar13;\n              if (cVar4 == '_') {\n                uVar9 = (ulong)(uVar10 + 1);\n                goto LAB_002f791a;\n              }\n            }\n            iVar8 = (int)cVar4;\n            if ((byte)(cVar4 - 0x30U) < 10) break;\nLAB_002f797f:\n            if (0x19 < (byte)((char)iVar8 + 0xbfU)) {\n              return (undefined4 *)0x0;\n            }\n            uVar11 = uVar10;\n            uVar10 = iVar8 + -0x37 + uVar10 * 0x24;\n          }\n        } while( true );\n      }\n      if ((byte)(cVar4 + 0xbfU) < 0x1a) goto LAB_002f7940;\n    }\n    bVar15 = (*(uint *)(param_1 + 0x10) & 8) != 0;\n    if (((!bVar15) && ((param_2 & 1) != 0)) && ((byte)(**(char **)(param_1 + 0x18) + 0xbdU) < 2)) {\n      bVar15 = true;\n    }\n    pcVar13 = "t";\n    cVar7 = 't';\n    while( true ) {\n      if (cVar4 == cVar7) {\n        lVar3 = *(long *)(pcVar13 + 0x28);\n        iVar8 = *(int *)(param_1 + 0x28);\n        iVar1 = *(int *)(param_1 + 0x2c);\n        if (lVar3 != 0) {\n          uVar2 = *(undefined4 *)(pcVar13 + 0x30);\n          if (iVar8 < iVar1) {\n            lVar5 = (long)iVar8;\n            iVar8 = iVar8 + 1;\n            puVar6 = (undefined4 *)(*(long *)(param_1 + 0x20) + lVar5 * 0x18);\n            puVar6[1] = 0;\n            *(int *)(param_1 + 0x28) = iVar8;\n            *puVar6 = 0x18;\n            *(long *)(puVar6 + 2) = lVar3;\n            puVar6[4] = uVar2;\n          }\n          else {\n            puVar6 = (undefined4 *)0x0;\n          }\n          *(undefined4 **)(param_1 + 0x40) = puVar6;\n        }\n        if (bVar15) {\n          uVar14 = *(undefined8 *)(pcVar13 + 0x18);\n          iVar12 = *(int *)(pcVar13 + 0x20);\n        }\n        else {\n          uVar14 = *(undefined8 *)(pcVar13 + 8);\n          iVar12 = *(int *)(pcVar13 + 0x10);\n        }\n        *(int *)(param_1 + 0x48) = *(int *)(param_1 + 0x48) + iVar12;\n        if (iVar8 < iVar1) {\n          puVar6 = (undefined4 *)(*(long *)(param_1 + 0x20) + (long)iVar8 * 0x18);\n          puVar6[1] = 0;\n          *(int *)(param_1 + 0x28) = iVar8 + 1;\n          *puVar6 = 0x18;\n          *(undefined8 *)(puVar6 + 2) = uVar14;\n          puVar6[4] = iVar12;\n        }\n        else {\n          puVar6 = (undefined4 *)0x0;\n        }\n        if (**(char **)(param_1 + 0x18) != 'B') {\n          return puVar6;\n        }\n        puVar6 = (undefined4 *)FUN_002f7820(param_1,puVar6);\n        if ((puVar6 != (undefined4 *)0x0) &&\n           (iVar8 = *(int *)(param_1 + 0x38), iVar8 < *(int *)(param_1 + 0x3c))) {\n          *(undefined4 **)(*(long *)(param_1 + 0x30) + (long)iVar8 * 8) = puVar6;\n          *(int *)(param_1 + 0x38) = iVar8 + 1;\n          return puVar6;\n        }\n        return (undefined4 *)0x0;\n      }\n      pcVar13 = pcVar13 + 0x38;\n      if (pcVar13 == "") break;\n      cVar7 = *pcVar13;\n    }\n  }" if (parenthesized_expression "(*pcVar13 == 'S')" ( (binary_expression "*pcVar13 == 'S'" (pointer_expression "*pcVar13" * identifier) == (char_literal "'S'" ' character ')) )) (compound_statement "{\n    *(char **)(param_1 + 0x18) = pcVar13 + 1;\n    cVar4 = pcVar13[1];\n    if (cVar4 != '\0') {\n      *(char **)(param_1 + 0x18) = pcVar13 + 2;\n      cVar4 = pcVar13[1];\n      iVar8 = (int)cVar4;\n      if (((byte)(cVar4 - 0x30U) < 10) || (cVar4 == '_')) {\n        uVar9 = 0;\n        if (cVar4 == '_') {\nLAB_002f791a:\n          if (*(uint *)(param_1 + 0x38) <= (uint)uVar9) {\n            return (undefined4 *)0x0;\n          }\n          return *(undefined4 **)(*(long *)(param_1 + 0x30) + uVar9 * 8);\n        }\nLAB_002f7940:\n        uVar10 = 0;\n        if (9 < (byte)(cVar4 - 0x30U)) goto LAB_002f797f;\n        do {\n          uVar11 = uVar10;\n          uVar10 = iVar8 + -0x30 + uVar10 * 0x24;\n          while( true ) {\n            if (uVar10 < uVar11) {\n              return (undefined4 *)0x0;\n            }\n            pcVar13 = *(char **)(param_1 + 0x18);\n            cVar4 = *pcVar13;\n            if (cVar4 != '\0') {\n              *(char **)(param_1 + 0x18) = pcVar13 + 1;\n              cVar4 = *pcVar13;\n              if (cVar4 == '_') {\n                uVar9 = (ulong)(uVar10 + 1);\n                goto LAB_002f791a;\n              }\n            }\n            iVar8 = (int)cVar4;\n            if ((byte)(cVar4 - 0x30U) < 10) break;\nLAB_002f797f:\n            if (0x19 < (byte)((char)iVar8 + 0xbfU)) {\n              return (undefined4 *)0x0;\n            }\n            uVar11 = uVar10;\n            uVar10 = iVar8 + -0x37 + uVar10 * 0x24;\n          }\n        } while( true );\n      }\n      if ((byte)(cVar4 + 0xbfU) < 0x1a) goto LAB_002f7940;\n    }\n    bVar15 = (*(uint *)(param_1 + 0x10) & 8) != 0;\n    if (((!bVar15) && ((param_2 & 1) != 0)) && ((byte)(**(char **)(param_1 + 0x18) + 0xbdU) < 2)) {\n      bVar15 = true;\n    }\n    pcVar13 = "t";\n    cVar7 = 't';\n    while( true ) {\n      if (cVar4 == cVar7) {\n        lVar3 = *(long *)(pcVar13 + 0x28);\n        iVar8 = *(int *)(param_1 + 0x28);\n        iVar1 = *(int *)(param_1 + 0x2c);\n        if (lVar3 != 0) {\n          uVar2 = *(undefined4 *)(pcVar13 + 0x30);\n          if (iVar8 < iVar1) {\n            lVar5 = (long)iVar8;\n            iVar8 = iVar8 + 1;\n            puVar6 = (undefined4 *)(*(long *)(param_1 + 0x20) + lVar5 * 0x18);\n            puVar6[1] = 0;\n            *(int *)(param_1 + 0x28) = iVar8;\n            *puVar6 = 0x18;\n            *(long *)(puVar6 + 2) = lVar3;\n            puVar6[4] = uVar2;\n          }\n          else {\n            puVar6 = (undefined4 *)0x0;\n          }\n          *(undefined4 **)(param_1 + 0x40) = puVar6;\n        }\n        if (bVar15) {\n          uVar14 = *(undefined8 *)(pcVar13 + 0x18);\n          iVar12 = *(int *)(pcVar13 + 0x20);\n        }\n        else {\n          uVar14 = *(undefined8 *)(pcVar13 + 8);\n          iVar12 = *(int *)(pcVar13 + 0x10);\n        }\n        *(int *)(param_1 + 0x48) = *(int *)(param_1 + 0x48) + iVar12;\n        if (iVar8 < iVar1) {\n          puVar6 = (undefined4 *)(*(long *)(param_1 + 0x20) + (long)iVar8 * 0x18);\n          puVar6[1] = 0;\n          *(int *)(param_1 + 0x28) = iVar8 + 1;\n          *puVar6 = 0x18;\n          *(undefined8 *)(puVar6 + 2) = uVar14;\n          puVar6[4] = iVar12;\n        }\n        else {\n          puVar6 = (undefined4 *)0x0;\n        }\n        if (**(char **)(param_1 + 0x18) != 'B') {\n          return puVar6;\n        }\n        puVar6 = (undefined4 *)FUN_002f7820(param_1,puVar6);\n        if ((puVar6 != (undefined4 *)0x0) &&\n           (iVar8 = *(int *)(param_1 + 0x38), iVar8 < *(int *)(param_1 + 0x3c))) {\n          *(undefined4 **)(*(long *)(param_1 + 0x30) + (long)iVar8 * 8) = puVar6;\n          *(int *)(param_1 + 0x38) = iVar8 + 1;\n          return puVar6;\n        }\n        return (undefined4 *)0x0;\n      }\n      pcVar13 = pcVar13 + 0x38;\n      if (pcVar13 == "") break;\n      cVar7 = *pcVar13;\n    }\n  }" { (expression_statement "*(char **)(param_1 + 0x18) = pcVar13 + 1;" (assignment_expression "*(char **)(param_1 + 0x18) = pcVar13 + 1" (pointer_expression "*(char **)(param_1 + 0x18)" * (cast_expression "(char **)(param_1 + 0x18)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) )))) = (binary_expression "pcVar13 + 1" identifier + number_literal)) ;) (expression_statement "cVar4 = pcVar13[1];" (assignment_expression "cVar4 = pcVar13[1]" identifier = (subscript_expression "pcVar13[1]" identifier [ number_literal ])) ;) (if_statement "if (cVar4 != '\0') {\n      *(char **)(param_1 + 0x18) = pcVar13 + 2;\n      cVar4 = pcVar13[1];\n      iVar8 = (int)cVar4;\n      if (((byte)(cVar4 - 0x30U) < 10) || (cVar4 == '_')) {\n        uVar9 = 0;\n        if (cVar4 == '_') {\nLAB_002f791a:\n          if (*(uint *)(param_1 + 0x38) <= (uint)uVar9) {\n            return (undefined4 *)0x0;\n          }\n          return *(undefined4 **)(*(long *)(param_1 + 0x30) + uVar9 * 8);\n        }\nLAB_002f7940:\n        uVar10 = 0;\n        if (9 < (byte)(cVar4 - 0x30U)) goto LAB_002f797f;\n        do {\n          uVar11 = uVar10;\n          uVar10 = iVar8 + -0x30 + uVar10 * 0x24;\n          while( true ) {\n            if (uVar10 < uVar11) {\n              return (undefined4 *)0x0;\n            }\n            pcVar13 = *(char **)(param_1 + 0x18);\n            cVar4 = *pcVar13;\n            if (cVar4 != '\0') {\n              *(char **)(param_1 + 0x18) = pcVar13 + 1;\n              cVar4 = *pcVar13;\n              if (cVar4 == '_') {\n                uVar9 = (ulong)(uVar10 + 1);\n                goto LAB_002f791a;\n              }\n            }\n            iVar8 = (int)cVar4;\n            if ((byte)(cVar4 - 0x30U) < 10) break;\nLAB_002f797f:\n            if (0x19 < (byte)((char)iVar8 + 0xbfU)) {\n              return (undefined4 *)0x0;\n            }\n            uVar11 = uVar10;\n            uVar10 = iVar8 + -0x37 + uVar10 * 0x24;\n          }\n        } while( true );\n      }\n      if ((byte)(cVar4 + 0xbfU) < 0x1a) goto LAB_002f7940;\n    }" if (parenthesized_expression "(cVar4 != '\0')" ( (binary_expression "cVar4 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      *(char **)(param_1 + 0x18) = pcVar13 + 2;\n      cVar4 = pcVar13[1];\n      iVar8 = (int)cVar4;\n      if (((byte)(cVar4 - 0x30U) < 10) || (cVar4 == '_')) {\n        uVar9 = 0;\n        if (cVar4 == '_') {\nLAB_002f791a:\n          if (*(uint *)(param_1 + 0x38) <= (uint)uVar9) {\n            return (undefined4 *)0x0;\n          }\n          return *(undefined4 **)(*(long *)(param_1 + 0x30) + uVar9 * 8);\n        }\nLAB_002f7940:\n        uVar10 = 0;\n        if (9 < (byte)(cVar4 - 0x30U)) goto LAB_002f797f;\n        do {\n          uVar11 = uVar10;\n          uVar10 = iVar8 + -0x30 + uVar10 * 0x24;\n          while( true ) {\n            if (uVar10 < uVar11) {\n              return (undefined4 *)0x0;\n            }\n            pcVar13 = *(char **)(param_1 + 0x18);\n            cVar4 = *pcVar13;\n            if (cVar4 != '\0') {\n              *(char **)(param_1 + 0x18) = pcVar13 + 1;\n              cVar4 = *pcVar13;\n              if (cVar4 == '_') {\n                uVar9 = (ulong)(uVar10 + 1);\n                goto LAB_002f791a;\n              }\n            }\n            iVar8 = (int)cVar4;\n            if ((byte)(cVar4 - 0x30U) < 10) break;\nLAB_002f797f:\n            if (0x19 < (byte)((char)iVar8 + 0xbfU)) {\n              return (undefined4 *)0x0;\n            }\n            uVar11 = uVar10;\n            uVar10 = iVar8 + -0x37 + uVar10 * 0x24;\n          }\n        } while( true );\n      }\n      if ((byte)(cVar4 + 0xbfU) < 0x1a) goto LAB_002f7940;\n    }" { (expression_statement "*(char **)(param_1 + 0x18) = pcVar13 + 2;" (assignment_expression "*(char **)(param_1 + 0x18) = pcVar13 + 2" (pointer_expression "*(char **)(param_1 + 0x18)" * (cast_expression "(char **)(param_1 + 0x18)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) )))) = (binary_expression "pcVar13 + 2" identifier + number_literal)) ;) (expression_statement "cVar4 = pcVar13[1];" (assignment_expression "cVar4 = pcVar13[1]" identifier = (subscript_expression "pcVar13[1]" identifier [ number_literal ])) ;) (expression_statement "iVar8 = (int)cVar4;" (assignment_expression "iVar8 = (int)cVar4" identifier = (cast_expression "(int)cVar4" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (if_statement "if (((byte)(cVar4 - 0x30U) < 10) || (cVar4 == '_')) {\n        uVar9 = 0;\n        if (cVar4 == '_') {\nLAB_002f791a:\n          if (*(uint *)(param_1 + 0x38) <= (uint)uVar9) {\n            return (undefined4 *)0x0;\n          }\n          return *(undefined4 **)(*(long *)(param_1 + 0x30) + uVar9 * 8);\n        }\nLAB_002f7940:\n        uVar10 = 0;\n        if (9 < (byte)(cVar4 - 0x30U)) goto LAB_002f797f;\n        do {\n          uVar11 = uVar10;\n          uVar10 = iVar8 + -0x30 + uVar10 * 0x24;\n          while( true ) {\n            if (uVar10 < uVar11) {\n              return (undefined4 *)0x0;\n            }\n            pcVar13 = *(char **)(param_1 + 0x18);\n            cVar4 = *pcVar13;\n            if (cVar4 != '\0') {\n              *(char **)(param_1 + 0x18) = pcVar13 + 1;\n              cVar4 = *pcVar13;\n              if (cVar4 == '_') {\n                uVar9 = (ulong)(uVar10 + 1);\n                goto LAB_002f791a;\n              }\n            }\n            iVar8 = (int)cVar4;\n            if ((byte)(cVar4 - 0x30U) < 10) break;\nLAB_002f797f:\n            if (0x19 < (byte)((char)iVar8 + 0xbfU)) {\n              return (undefined4 *)0x0;\n            }\n            uVar11 = uVar10;\n            uVar10 = iVar8 + -0x37 + uVar10 * 0x24;\n          }\n        } while( true );\n      }" if (parenthesized_expression "(((byte)(cVar4 - 0x30U) < 10) || (cVar4 == '_'))" ( (binary_expression "((byte)(cVar4 - 0x30U) < 10) || (cVar4 == '_')" (parenthesized_expression "((byte)(cVar4 - 0x30U) < 10)" ( (binary_expression "(byte)(cVar4 - 0x30U) < 10" (call_expression "(byte)(cVar4 - 0x30U)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(cVar4 - 0x30U)" ( (binary_expression "cVar4 - 0x30U" identifier - number_literal) ))) < number_literal) )) || (parenthesized_expression "(cVar4 == '_')" ( (binary_expression "cVar4 == '_'" identifier == (char_literal "'_'" ' character ')) ))) )) (compound_statement "{\n        uVar9 = 0;\n        if (cVar4 == '_') {\nLAB_002f791a:\n          if (*(uint *)(param_1 + 0x38) <= (uint)uVar9) {\n            return (undefined4 *)0x0;\n          }\n          return *(undefined4 **)(*(long *)(param_1 + 0x30) + uVar9 * 8);\n        }\nLAB_002f7940:\n        uVar10 = 0;\n        if (9 < (byte)(cVar4 - 0x30U)) goto LAB_002f797f;\n        do {\n          uVar11 = uVar10;\n          uVar10 = iVar8 + -0x30 + uVar10 * 0x24;\n          while( true ) {\n            if (uVar10 < uVar11) {\n              return (undefined4 *)0x0;\n            }\n            pcVar13 = *(char **)(param_1 + 0x18);\n            cVar4 = *pcVar13;\n            if (cVar4 != '\0') {\n              *(char **)(param_1 + 0x18) = pcVar13 + 1;\n              cVar4 = *pcVar13;\n              if (cVar4 == '_') {\n                uVar9 = (ulong)(uVar10 + 1);\n                goto LAB_002f791a;\n              }\n            }\n            iVar8 = (int)cVar4;\n            if ((byte)(cVar4 - 0x30U) < 10) break;\nLAB_002f797f:\n            if (0x19 < (byte)((char)iVar8 + 0xbfU)) {\n              return (undefined4 *)0x0;\n            }\n            uVar11 = uVar10;\n            uVar10 = iVar8 + -0x37 + uVar10 * 0x24;\n          }\n        } while( true );\n      }" { (expression_statement "uVar9 = 0;" (assignment_expression "uVar9 = 0" identifier = number_literal) ;) (if_statement "if (cVar4 == '_') {\nLAB_002f791a:\n          if (*(uint *)(param_1 + 0x38) <= (uint)uVar9) {\n            return (undefined4 *)0x0;\n          }\n          return *(undefined4 **)(*(long *)(param_1 + 0x30) + uVar9 * 8);\n        }" if (parenthesized_expression "(cVar4 == '_')" ( (binary_expression "cVar4 == '_'" identifier == (char_literal "'_'" ' character ')) )) (compound_statement "{\nLAB_002f791a:\n          if (*(uint *)(param_1 + 0x38) <= (uint)uVar9) {\n            return (undefined4 *)0x0;\n          }\n          return *(undefined4 **)(*(long *)(param_1 + 0x30) + uVar9 * 8);\n        }" { (labeled_statement "LAB_002f791a:\n          if (*(uint *)(param_1 + 0x38) <= (uint)uVar9) {\n            return (undefined4 *)0x0;\n          }" statement_identifier : (if_statement "if (*(uint *)(param_1 + 0x38) <= (uint)uVar9) {\n            return (undefined4 *)0x0;\n          }" if (parenthesized_expression "(*(uint *)(param_1 + 0x38) <= (uint)uVar9)" ( (binary_expression "*(uint *)(param_1 + 0x38) <= (uint)uVar9" (pointer_expression "*(uint *)(param_1 + 0x38)" * (cast_expression "(uint *)(param_1 + 0x38)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x38)" ( (binary_expression "param_1 + 0x38" identifier + number_literal) )))) <= (cast_expression "(uint)uVar9" ( (type_descriptor "uint" type_identifier) ) identifier)) )) (compound_statement "{\n            return (undefined4 *)0x0;\n          }" { (return_statement "return (undefined4 *)0x0;" return (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ;) }))) (return_statement "return *(undefined4 **)(*(long *)(param_1 + 0x30) + uVar9 * 8);" return (pointer_expression "*(undefined4 **)(*(long *)(param_1 + 0x30) + uVar9 * 8)" * (cast_expression "(undefined4 **)(*(long *)(param_1 + 0x30) + uVar9 * 8)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(long *)(param_1 + 0x30) + uVar9 * 8)" ( (binary_expression "*(long *)(param_1 + 0x30) + uVar9 * 8" (pointer_expression "*(long *)(param_1 + 0x30)" * (cast_expression "(long *)(param_1 + 0x30)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x30)" ( (binary_expression "param_1 + 0x30" identifier + number_literal) )))) + (binary_expression "uVar9 * 8" identifier * number_literal)) )))) ;) })) (labeled_statement "LAB_002f7940:\n        uVar10 = 0;" statement_identifier : (expression_statement "uVar10 = 0;" (assignment_expression "uVar10 = 0" identifier = number_literal) ;)) (if_statement "if (9 < (byte)(cVar4 - 0x30U)) goto LAB_002f797f;" if (parenthesized_expression "(9 < (byte)(cVar4 - 0x30U))" ( (binary_expression "9 < (byte)(cVar4 - 0x30U)" number_literal < (call_expression "(byte)(cVar4 - 0x30U)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(cVar4 - 0x30U)" ( (binary_expression "cVar4 - 0x30U" identifier - number_literal) )))) )) (goto_statement "goto LAB_002f797f;" goto statement_identifier ;)) (do_statement "do {\n          uVar11 = uVar10;\n          uVar10 = iVar8 + -0x30 + uVar10 * 0x24;\n          while( true ) {\n            if (uVar10 < uVar11) {\n              return (undefined4 *)0x0;\n            }\n            pcVar13 = *(char **)(param_1 + 0x18);\n            cVar4 = *pcVar13;\n            if (cVar4 != '\0') {\n              *(char **)(param_1 + 0x18) = pcVar13 + 1;\n              cVar4 = *pcVar13;\n              if (cVar4 == '_') {\n                uVar9 = (ulong)(uVar10 + 1);\n                goto LAB_002f791a;\n              }\n            }\n            iVar8 = (int)cVar4;\n            if ((byte)(cVar4 - 0x30U) < 10) break;\nLAB_002f797f:\n            if (0x19 < (byte)((char)iVar8 + 0xbfU)) {\n              return (undefined4 *)0x0;\n            }\n            uVar11 = uVar10;\n            uVar10 = iVar8 + -0x37 + uVar10 * 0x24;\n          }\n        } while( true );" do (compound_statement "{\n          uVar11 = uVar10;\n          uVar10 = iVar8 + -0x30 + uVar10 * 0x24;\n          while( true ) {\n            if (uVar10 < uVar11) {\n              return (undefined4 *)0x0;\n            }\n            pcVar13 = *(char **)(param_1 + 0x18);\n            cVar4 = *pcVar13;\n            if (cVar4 != '\0') {\n              *(char **)(param_1 + 0x18) = pcVar13 + 1;\n              cVar4 = *pcVar13;\n              if (cVar4 == '_') {\n                uVar9 = (ulong)(uVar10 + 1);\n                goto LAB_002f791a;\n              }\n            }\n            iVar8 = (int)cVar4;\n            if ((byte)(cVar4 - 0x30U) < 10) break;\nLAB_002f797f:\n            if (0x19 < (byte)((char)iVar8 + 0xbfU)) {\n              return (undefined4 *)0x0;\n            }\n            uVar11 = uVar10;\n            uVar10 = iVar8 + -0x37 + uVar10 * 0x24;\n          }\n        }" { (expression_statement "uVar11 = uVar10;" (assignment_expression "uVar11 = uVar10" identifier = identifier) ;) (expression_statement "uVar10 = iVar8 + -0x30 + uVar10 * 0x24;" (assignment_expression "uVar10 = iVar8 + -0x30 + uVar10 * 0x24" identifier = (binary_expression "iVar8 + -0x30 + uVar10 * 0x24" (binary_expression "iVar8 + -0x30" identifier + number_literal) + (binary_expression "uVar10 * 0x24" identifier * number_literal))) ;) (while_statement "while( true ) {\n            if (uVar10 < uVar11) {\n              return (undefined4 *)0x0;\n            }\n            pcVar13 = *(char **)(param_1 + 0x18);\n            cVar4 = *pcVar13;\n            if (cVar4 != '\0') {\n              *(char **)(param_1 + 0x18) = pcVar13 + 1;\n              cVar4 = *pcVar13;\n              if (cVar4 == '_') {\n                uVar9 = (ulong)(uVar10 + 1);\n                goto LAB_002f791a;\n              }\n            }\n            iVar8 = (int)cVar4;\n            if ((byte)(cVar4 - 0x30U) < 10) break;\nLAB_002f797f:\n            if (0x19 < (byte)((char)iVar8 + 0xbfU)) {\n              return (undefined4 *)0x0;\n            }\n            uVar11 = uVar10;\n            uVar10 = iVar8 + -0x37 + uVar10 * 0x24;\n          }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n            if (uVar10 < uVar11) {\n              return (undefined4 *)0x0;\n            }\n            pcVar13 = *(char **)(param_1 + 0x18);\n            cVar4 = *pcVar13;\n            if (cVar4 != '\0') {\n              *(char **)(param_1 + 0x18) = pcVar13 + 1;\n              cVar4 = *pcVar13;\n              if (cVar4 == '_') {\n                uVar9 = (ulong)(uVar10 + 1);\n                goto LAB_002f791a;\n              }\n            }\n            iVar8 = (int)cVar4;\n            if ((byte)(cVar4 - 0x30U) < 10) break;\nLAB_002f797f:\n            if (0x19 < (byte)((char)iVar8 + 0xbfU)) {\n              return (undefined4 *)0x0;\n            }\n            uVar11 = uVar10;\n            uVar10 = iVar8 + -0x37 + uVar10 * 0x24;\n          }" { (if_statement "if (uVar10 < uVar11) {\n              return (undefined4 *)0x0;\n            }" if (parenthesized_expression "(uVar10 < uVar11)" ( (binary_expression "uVar10 < uVar11" identifier < identifier) )) (compound_statement "{\n              return (undefined4 *)0x0;\n            }" { (return_statement "return (undefined4 *)0x0;" return (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) (expression_statement "pcVar13 = *(char **)(param_1 + 0x18);" (assignment_expression "pcVar13 = *(char **)(param_1 + 0x18)" identifier = (pointer_expression "*(char **)(param_1 + 0x18)" * (cast_expression "(char **)(param_1 + 0x18)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) ))))) ;) (expression_statement "cVar4 = *pcVar13;" (assignment_expression "cVar4 = *pcVar13" identifier = (pointer_expression "*pcVar13" * identifier)) ;) (if_statement "if (cVar4 != '\0') {\n              *(char **)(param_1 + 0x18) = pcVar13 + 1;\n              cVar4 = *pcVar13;\n              if (cVar4 == '_') {\n                uVar9 = (ulong)(uVar10 + 1);\n                goto LAB_002f791a;\n              }\n            }" if (parenthesized_expression "(cVar4 != '\0')" ( (binary_expression "cVar4 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n              *(char **)(param_1 + 0x18) = pcVar13 + 1;\n              cVar4 = *pcVar13;\n              if (cVar4 == '_') {\n                uVar9 = (ulong)(uVar10 + 1);\n                goto LAB_002f791a;\n              }\n            }" { (expression_statement "*(char **)(param_1 + 0x18) = pcVar13 + 1;" (assignment_expression "*(char **)(param_1 + 0x18) = pcVar13 + 1" (pointer_expression "*(char **)(param_1 + 0x18)" * (cast_expression "(char **)(param_1 + 0x18)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) )))) = (binary_expression "pcVar13 + 1" identifier + number_literal)) ;) (expression_statement "cVar4 = *pcVar13;" (assignment_expression "cVar4 = *pcVar13" identifier = (pointer_expression "*pcVar13" * identifier)) ;) (if_statement "if (cVar4 == '_') {\n                uVar9 = (ulong)(uVar10 + 1);\n                goto LAB_002f791a;\n              }" if (parenthesized_expression "(cVar4 == '_')" ( (binary_expression "cVar4 == '_'" identifier == (char_literal "'_'" ' character ')) )) (compound_statement "{\n                uVar9 = (ulong)(uVar10 + 1);\n                goto LAB_002f791a;\n              }" { (expression_statement "uVar9 = (ulong)(uVar10 + 1);" (assignment_expression "uVar9 = (ulong)(uVar10 + 1)" identifier = (call_expression "(ulong)(uVar10 + 1)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(uVar10 + 1)" ( (binary_expression "uVar10 + 1" identifier + number_literal) )))) ;) (goto_statement "goto LAB_002f791a;" goto statement_identifier ;) })) })) (expression_statement "iVar8 = (int)cVar4;" (assignment_expression "iVar8 = (int)cVar4" identifier = (cast_expression "(int)cVar4" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (if_statement "if ((byte)(cVar4 - 0x30U) < 10) break;" if (parenthesized_expression "((byte)(cVar4 - 0x30U) < 10)" ( (binary_expression "(byte)(cVar4 - 0x30U) < 10" (call_expression "(byte)(cVar4 - 0x30U)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(cVar4 - 0x30U)" ( (binary_expression "cVar4 - 0x30U" identifier - number_literal) ))) < number_literal) )) (break_statement "break;" break ;)) (labeled_statement "LAB_002f797f:\n            if (0x19 < (byte)((char)iVar8 + 0xbfU)) {\n              return (undefined4 *)0x0;\n            }" statement_identifier : (if_statement "if (0x19 < (byte)((char)iVar8 + 0xbfU)) {\n              return (undefined4 *)0x0;\n            }" if (parenthesized_expression "(0x19 < (byte)((char)iVar8 + 0xbfU))" ( (binary_expression "0x19 < (byte)((char)iVar8 + 0xbfU)" number_literal < (call_expression "(byte)((char)iVar8 + 0xbfU)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "((char)iVar8 + 0xbfU)" ( (binary_expression "(char)iVar8 + 0xbfU" (cast_expression "(char)iVar8" ( (type_descriptor "char" primitive_type) ) identifier) + number_literal) )))) )) (compound_statement "{\n              return (undefined4 *)0x0;\n            }" { (return_statement "return (undefined4 *)0x0;" return (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ;) }))) (expression_statement "uVar11 = uVar10;" (assignment_expression "uVar11 = uVar10" identifier = identifier) ;) (expression_statement "uVar10 = iVar8 + -0x37 + uVar10 * 0x24;" (assignment_expression "uVar10 = iVar8 + -0x37 + uVar10 * 0x24" identifier = (binary_expression "iVar8 + -0x37 + uVar10 * 0x24" (binary_expression "iVar8 + -0x37" identifier + number_literal) + (binary_expression "uVar10 * 0x24" identifier * number_literal))) ;) })) }) while (parenthesized_expression "( true )" ( true )) ;) })) (if_statement "if ((byte)(cVar4 + 0xbfU) < 0x1a) goto LAB_002f7940;" if (parenthesized_expression "((byte)(cVar4 + 0xbfU) < 0x1a)" ( (binary_expression "(byte)(cVar4 + 0xbfU) < 0x1a" (call_expression "(byte)(cVar4 + 0xbfU)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(cVar4 + 0xbfU)" ( (binary_expression "cVar4 + 0xbfU" identifier + number_literal) ))) < number_literal) )) (goto_statement "goto LAB_002f7940;" goto statement_identifier ;)) })) (expression_statement "bVar15 = (*(uint *)(param_1 + 0x10) & 8) != 0;" (assignment_expression "bVar15 = (*(uint *)(param_1 + 0x10) & 8) != 0" identifier = (binary_expression "(*(uint *)(param_1 + 0x10) & 8) != 0" (parenthesized_expression "(*(uint *)(param_1 + 0x10) & 8)" ( (binary_expression "*(uint *)(param_1 + 0x10) & 8" (pointer_expression "*(uint *)(param_1 + 0x10)" * (cast_expression "(uint *)(param_1 + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) & number_literal) )) != number_literal)) ;) (if_statement "if (((!bVar15) && ((param_2 & 1) != 0)) && ((byte)(**(char **)(param_1 + 0x18) + 0xbdU) < 2)) {\n      bVar15 = true;\n    }" if (parenthesized_expression "(((!bVar15) && ((param_2 & 1) != 0)) && ((byte)(**(char **)(param_1 + 0x18) + 0xbdU) < 2))" ( (binary_expression "((!bVar15) && ((param_2 & 1) != 0)) && ((byte)(**(char **)(param_1 + 0x18) + 0xbdU) < 2)" (parenthesized_expression "((!bVar15) && ((param_2 & 1) != 0))" ( (binary_expression "(!bVar15) && ((param_2 & 1) != 0)" (parenthesized_expression "(!bVar15)" ( (unary_expression "!bVar15" ! identifier) )) && (parenthesized_expression "((param_2 & 1) != 0)" ( (binary_expression "(param_2 & 1) != 0" (parenthesized_expression "(param_2 & 1)" ( (binary_expression "param_2 & 1" identifier & number_literal) )) != number_literal) ))) )) && (parenthesized_expression "((byte)(**(char **)(param_1 + 0x18) + 0xbdU) < 2)" ( (binary_expression "(byte)(**(char **)(param_1 + 0x18) + 0xbdU) < 2" (call_expression "(byte)(**(char **)(param_1 + 0x18) + 0xbdU)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(**(char **)(param_1 + 0x18) + 0xbdU)" ( (binary_expression "**(char **)(param_1 + 0x18) + 0xbdU" (pointer_expression "**(char **)(param_1 + 0x18)" * (pointer_expression "*(char **)(param_1 + 0x18)" * (cast_expression "(char **)(param_1 + 0x18)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) ))))) + number_literal) ))) < number_literal) ))) )) (compound_statement "{\n      bVar15 = true;\n    }" { (expression_statement "bVar15 = true;" (assignment_expression "bVar15 = true" identifier = true) ;) })) (expression_statement "pcVar13 = "t";" (assignment_expression "pcVar13 = "t"" identifier = (string_literal ""t"" " string_content ")) ;) (expression_statement "cVar7 = 't';" (assignment_expression "cVar7 = 't'" identifier = (char_literal "'t'" ' character ')) ;) (while_statement "while( true ) {\n      if (cVar4 == cVar7) {\n        lVar3 = *(long *)(pcVar13 + 0x28);\n        iVar8 = *(int *)(param_1 + 0x28);\n        iVar1 = *(int *)(param_1 + 0x2c);\n        if (lVar3 != 0) {\n          uVar2 = *(undefined4 *)(pcVar13 + 0x30);\n          if (iVar8 < iVar1) {\n            lVar5 = (long)iVar8;\n            iVar8 = iVar8 + 1;\n            puVar6 = (undefined4 *)(*(long *)(param_1 + 0x20) + lVar5 * 0x18);\n            puVar6[1] = 0;\n            *(int *)(param_1 + 0x28) = iVar8;\n            *puVar6 = 0x18;\n            *(long *)(puVar6 + 2) = lVar3;\n            puVar6[4] = uVar2;\n          }\n          else {\n            puVar6 = (undefined4 *)0x0;\n          }\n          *(undefined4 **)(param_1 + 0x40) = puVar6;\n        }\n        if (bVar15) {\n          uVar14 = *(undefined8 *)(pcVar13 + 0x18);\n          iVar12 = *(int *)(pcVar13 + 0x20);\n        }\n        else {\n          uVar14 = *(undefined8 *)(pcVar13 + 8);\n          iVar12 = *(int *)(pcVar13 + 0x10);\n        }\n        *(int *)(param_1 + 0x48) = *(int *)(param_1 + 0x48) + iVar12;\n        if (iVar8 < iVar1) {\n          puVar6 = (undefined4 *)(*(long *)(param_1 + 0x20) + (long)iVar8 * 0x18);\n          puVar6[1] = 0;\n          *(int *)(param_1 + 0x28) = iVar8 + 1;\n          *puVar6 = 0x18;\n          *(undefined8 *)(puVar6 + 2) = uVar14;\n          puVar6[4] = iVar12;\n        }\n        else {\n          puVar6 = (undefined4 *)0x0;\n        }\n        if (**(char **)(param_1 + 0x18) != 'B') {\n          return puVar6;\n        }\n        puVar6 = (undefined4 *)FUN_002f7820(param_1,puVar6);\n        if ((puVar6 != (undefined4 *)0x0) &&\n           (iVar8 = *(int *)(param_1 + 0x38), iVar8 < *(int *)(param_1 + 0x3c))) {\n          *(undefined4 **)(*(long *)(param_1 + 0x30) + (long)iVar8 * 8) = puVar6;\n          *(int *)(param_1 + 0x38) = iVar8 + 1;\n          return puVar6;\n        }\n        return (undefined4 *)0x0;\n      }\n      pcVar13 = pcVar13 + 0x38;\n      if (pcVar13 == "") break;\n      cVar7 = *pcVar13;\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      if (cVar4 == cVar7) {\n        lVar3 = *(long *)(pcVar13 + 0x28);\n        iVar8 = *(int *)(param_1 + 0x28);\n        iVar1 = *(int *)(param_1 + 0x2c);\n        if (lVar3 != 0) {\n          uVar2 = *(undefined4 *)(pcVar13 + 0x30);\n          if (iVar8 < iVar1) {\n            lVar5 = (long)iVar8;\n            iVar8 = iVar8 + 1;\n            puVar6 = (undefined4 *)(*(long *)(param_1 + 0x20) + lVar5 * 0x18);\n            puVar6[1] = 0;\n            *(int *)(param_1 + 0x28) = iVar8;\n            *puVar6 = 0x18;\n            *(long *)(puVar6 + 2) = lVar3;\n            puVar6[4] = uVar2;\n          }\n          else {\n            puVar6 = (undefined4 *)0x0;\n          }\n          *(undefined4 **)(param_1 + 0x40) = puVar6;\n        }\n        if (bVar15) {\n          uVar14 = *(undefined8 *)(pcVar13 + 0x18);\n          iVar12 = *(int *)(pcVar13 + 0x20);\n        }\n        else {\n          uVar14 = *(undefined8 *)(pcVar13 + 8);\n          iVar12 = *(int *)(pcVar13 + 0x10);\n        }\n        *(int *)(param_1 + 0x48) = *(int *)(param_1 + 0x48) + iVar12;\n        if (iVar8 < iVar1) {\n          puVar6 = (undefined4 *)(*(long *)(param_1 + 0x20) + (long)iVar8 * 0x18);\n          puVar6[1] = 0;\n          *(int *)(param_1 + 0x28) = iVar8 + 1;\n          *puVar6 = 0x18;\n          *(undefined8 *)(puVar6 + 2) = uVar14;\n          puVar6[4] = iVar12;\n        }\n        else {\n          puVar6 = (undefined4 *)0x0;\n        }\n        if (**(char **)(param_1 + 0x18) != 'B') {\n          return puVar6;\n        }\n        puVar6 = (undefined4 *)FUN_002f7820(param_1,puVar6);\n        if ((puVar6 != (undefined4 *)0x0) &&\n           (iVar8 = *(int *)(param_1 + 0x38), iVar8 < *(int *)(param_1 + 0x3c))) {\n          *(undefined4 **)(*(long *)(param_1 + 0x30) + (long)iVar8 * 8) = puVar6;\n          *(int *)(param_1 + 0x38) = iVar8 + 1;\n          return puVar6;\n        }\n        return (undefined4 *)0x0;\n      }\n      pcVar13 = pcVar13 + 0x38;\n      if (pcVar13 == "") break;\n      cVar7 = *pcVar13;\n    }" { (if_statement "if (cVar4 == cVar7) {\n        lVar3 = *(long *)(pcVar13 + 0x28);\n        iVar8 = *(int *)(param_1 + 0x28);\n        iVar1 = *(int *)(param_1 + 0x2c);\n        if (lVar3 != 0) {\n          uVar2 = *(undefined4 *)(pcVar13 + 0x30);\n          if (iVar8 < iVar1) {\n            lVar5 = (long)iVar8;\n            iVar8 = iVar8 + 1;\n            puVar6 = (undefined4 *)(*(long *)(param_1 + 0x20) + lVar5 * 0x18);\n            puVar6[1] = 0;\n            *(int *)(param_1 + 0x28) = iVar8;\n            *puVar6 = 0x18;\n            *(long *)(puVar6 + 2) = lVar3;\n            puVar6[4] = uVar2;\n          }\n          else {\n            puVar6 = (undefined4 *)0x0;\n          }\n          *(undefined4 **)(param_1 + 0x40) = puVar6;\n        }\n        if (bVar15) {\n          uVar14 = *(undefined8 *)(pcVar13 + 0x18);\n          iVar12 = *(int *)(pcVar13 + 0x20);\n        }\n        else {\n          uVar14 = *(undefined8 *)(pcVar13 + 8);\n          iVar12 = *(int *)(pcVar13 + 0x10);\n        }\n        *(int *)(param_1 + 0x48) = *(int *)(param_1 + 0x48) + iVar12;\n        if (iVar8 < iVar1) {\n          puVar6 = (undefined4 *)(*(long *)(param_1 + 0x20) + (long)iVar8 * 0x18);\n          puVar6[1] = 0;\n          *(int *)(param_1 + 0x28) = iVar8 + 1;\n          *puVar6 = 0x18;\n          *(undefined8 *)(puVar6 + 2) = uVar14;\n          puVar6[4] = iVar12;\n        }\n        else {\n          puVar6 = (undefined4 *)0x0;\n        }\n        if (**(char **)(param_1 + 0x18) != 'B') {\n          return puVar6;\n        }\n        puVar6 = (undefined4 *)FUN_002f7820(param_1,puVar6);\n        if ((puVar6 != (undefined4 *)0x0) &&\n           (iVar8 = *(int *)(param_1 + 0x38), iVar8 < *(int *)(param_1 + 0x3c))) {\n          *(undefined4 **)(*(long *)(param_1 + 0x30) + (long)iVar8 * 8) = puVar6;\n          *(int *)(param_1 + 0x38) = iVar8 + 1;\n          return puVar6;\n        }\n        return (undefined4 *)0x0;\n      }" if (parenthesized_expression "(cVar4 == cVar7)" ( (binary_expression "cVar4 == cVar7" identifier == identifier) )) (compound_statement "{\n        lVar3 = *(long *)(pcVar13 + 0x28);\n        iVar8 = *(int *)(param_1 + 0x28);\n        iVar1 = *(int *)(param_1 + 0x2c);\n        if (lVar3 != 0) {\n          uVar2 = *(undefined4 *)(pcVar13 + 0x30);\n          if (iVar8 < iVar1) {\n            lVar5 = (long)iVar8;\n            iVar8 = iVar8 + 1;\n            puVar6 = (undefined4 *)(*(long *)(param_1 + 0x20) + lVar5 * 0x18);\n            puVar6[1] = 0;\n            *(int *)(param_1 + 0x28) = iVar8;\n            *puVar6 = 0x18;\n            *(long *)(puVar6 + 2) = lVar3;\n            puVar6[4] = uVar2;\n          }\n          else {\n            puVar6 = (undefined4 *)0x0;\n          }\n          *(undefined4 **)(param_1 + 0x40) = puVar6;\n        }\n        if (bVar15) {\n          uVar14 = *(undefined8 *)(pcVar13 + 0x18);\n          iVar12 = *(int *)(pcVar13 + 0x20);\n        }\n        else {\n          uVar14 = *(undefined8 *)(pcVar13 + 8);\n          iVar12 = *(int *)(pcVar13 + 0x10);\n        }\n        *(int *)(param_1 + 0x48) = *(int *)(param_1 + 0x48) + iVar12;\n        if (iVar8 < iVar1) {\n          puVar6 = (undefined4 *)(*(long *)(param_1 + 0x20) + (long)iVar8 * 0x18);\n          puVar6[1] = 0;\n          *(int *)(param_1 + 0x28) = iVar8 + 1;\n          *puVar6 = 0x18;\n          *(undefined8 *)(puVar6 + 2) = uVar14;\n          puVar6[4] = iVar12;\n        }\n        else {\n          puVar6 = (undefined4 *)0x0;\n        }\n        if (**(char **)(param_1 + 0x18) != 'B') {\n          return puVar6;\n        }\n        puVar6 = (undefined4 *)FUN_002f7820(param_1,puVar6);\n        if ((puVar6 != (undefined4 *)0x0) &&\n           (iVar8 = *(int *)(param_1 + 0x38), iVar8 < *(int *)(param_1 + 0x3c))) {\n          *(undefined4 **)(*(long *)(param_1 + 0x30) + (long)iVar8 * 8) = puVar6;\n          *(int *)(param_1 + 0x38) = iVar8 + 1;\n          return puVar6;\n        }\n        return (undefined4 *)0x0;\n      }" { (expression_statement "lVar3 = *(long *)(pcVar13 + 0x28);" (assignment_expression "lVar3 = *(long *)(pcVar13 + 0x28)" identifier = (pointer_expression "*(long *)(pcVar13 + 0x28)" * (cast_expression "(long *)(pcVar13 + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar13 + 0x28)" ( (binary_expression "pcVar13 + 0x28" identifier + number_literal) ))))) ;) (expression_statement "iVar8 = *(int *)(param_1 + 0x28);" (assignment_expression "iVar8 = *(int *)(param_1 + 0x28)" identifier = (pointer_expression "*(int *)(param_1 + 0x28)" * (cast_expression "(int *)(param_1 + 0x28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x28)" ( (binary_expression "param_1 + 0x28" identifier + number_literal) ))))) ;) (expression_statement "iVar1 = *(int *)(param_1 + 0x2c);" (assignment_expression "iVar1 = *(int *)(param_1 + 0x2c)" identifier = (pointer_expression "*(int *)(param_1 + 0x2c)" * (cast_expression "(int *)(param_1 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2c)" ( (binary_expression "param_1 + 0x2c" identifier + number_literal) ))))) ;) (if_statement "if (lVar3 != 0) {\n          uVar2 = *(undefined4 *)(pcVar13 + 0x30);\n          if (iVar8 < iVar1) {\n            lVar5 = (long)iVar8;\n            iVar8 = iVar8 + 1;\n            puVar6 = (undefined4 *)(*(long *)(param_1 + 0x20) + lVar5 * 0x18);\n            puVar6[1] = 0;\n            *(int *)(param_1 + 0x28) = iVar8;\n            *puVar6 = 0x18;\n            *(long *)(puVar6 + 2) = lVar3;\n            puVar6[4] = uVar2;\n          }\n          else {\n            puVar6 = (undefined4 *)0x0;\n          }\n          *(undefined4 **)(param_1 + 0x40) = puVar6;\n        }" if (parenthesized_expression "(lVar3 != 0)" ( (binary_expression "lVar3 != 0" identifier != number_literal) )) (compound_statement "{\n          uVar2 = *(undefined4 *)(pcVar13 + 0x30);\n          if (iVar8 < iVar1) {\n            lVar5 = (long)iVar8;\n            iVar8 = iVar8 + 1;\n            puVar6 = (undefined4 *)(*(long *)(param_1 + 0x20) + lVar5 * 0x18);\n            puVar6[1] = 0;\n            *(int *)(param_1 + 0x28) = iVar8;\n            *puVar6 = 0x18;\n            *(long *)(puVar6 + 2) = lVar3;\n            puVar6[4] = uVar2;\n          }\n          else {\n            puVar6 = (undefined4 *)0x0;\n          }\n          *(undefined4 **)(param_1 + 0x40) = puVar6;\n        }" { (expression_statement "uVar2 = *(undefined4 *)(pcVar13 + 0x30);" (assignment_expression "uVar2 = *(undefined4 *)(pcVar13 + 0x30)" identifier = (pointer_expression "*(undefined4 *)(pcVar13 + 0x30)" * (cast_expression "(undefined4 *)(pcVar13 + 0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar13 + 0x30)" ( (binary_expression "pcVar13 + 0x30" identifier + number_literal) ))))) ;) (if_statement "if (iVar8 < iVar1) {\n            lVar5 = (long)iVar8;\n            iVar8 = iVar8 + 1;\n            puVar6 = (undefined4 *)(*(long *)(param_1 + 0x20) + lVar5 * 0x18);\n            puVar6[1] = 0;\n            *(int *)(param_1 + 0x28) = iVar8;\n            *puVar6 = 0x18;\n            *(long *)(puVar6 + 2) = lVar3;\n            puVar6[4] = uVar2;\n          }\n          else {\n            puVar6 = (undefined4 *)0x0;\n          }" if (parenthesized_expression "(iVar8 < iVar1)" ( (binary_expression "iVar8 < iVar1" identifier < identifier) )) (compound_statement "{\n            lVar5 = (long)iVar8;\n            iVar8 = iVar8 + 1;\n            puVar6 = (undefined4 *)(*(long *)(param_1 + 0x20) + lVar5 * 0x18);\n            puVar6[1] = 0;\n            *(int *)(param_1 + 0x28) = iVar8;\n            *puVar6 = 0x18;\n            *(long *)(puVar6 + 2) = lVar3;\n            puVar6[4] = uVar2;\n          }" { (expression_statement "lVar5 = (long)iVar8;" (assignment_expression "lVar5 = (long)iVar8" identifier = (cast_expression "(long)iVar8" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) ;) (expression_statement "iVar8 = iVar8 + 1;" (assignment_expression "iVar8 = iVar8 + 1" identifier = (binary_expression "iVar8 + 1" identifier + number_literal)) ;) (expression_statement "puVar6 = (undefined4 *)(*(long *)(param_1 + 0x20) + lVar5 * 0x18);" (assignment_expression "puVar6 = (undefined4 *)(*(long *)(param_1 + 0x20) + lVar5 * 0x18)" identifier = (cast_expression "(undefined4 *)(*(long *)(param_1 + 0x20) + lVar5 * 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(param_1 + 0x20) + lVar5 * 0x18)" ( (binary_expression "*(long *)(param_1 + 0x20) + lVar5 * 0x18" (pointer_expression "*(long *)(param_1 + 0x20)" * (cast_expression "(long *)(param_1 + 0x20)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) )))) + (binary_expression "lVar5 * 0x18" identifier * number_literal)) )))) ;) (expression_statement "puVar6[1] = 0;" (assignment_expression "puVar6[1] = 0" (subscript_expression "puVar6[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(int *)(param_1 + 0x28) = iVar8;" (assignment_expression "*(int *)(param_1 + 0x28) = iVar8" (pointer_expression "*(int *)(param_1 + 0x28)" * (cast_expression "(int *)(param_1 + 0x28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x28)" ( (binary_expression "param_1 + 0x28" identifier + number_literal) )))) = identifier) ;) (expression_statement "*puVar6 = 0x18;" (assignment_expression "*puVar6 = 0x18" (pointer_expression "*puVar6" * identifier) = number_literal) ;) (expression_statement "*(long *)(puVar6 + 2) = lVar3;" (assignment_expression "*(long *)(puVar6 + 2) = lVar3" (pointer_expression "*(long *)(puVar6 + 2)" * (cast_expression "(long *)(puVar6 + 2)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + 2)" ( (binary_expression "puVar6 + 2" identifier + number_literal) )))) = identifier) ;) (expression_statement "puVar6[4] = uVar2;" (assignment_expression "puVar6[4] = uVar2" (subscript_expression "puVar6[4]" identifier [ number_literal ]) = identifier) ;) }) (else_clause "else {\n            puVar6 = (undefined4 *)0x0;\n          }" else (compound_statement "{\n            puVar6 = (undefined4 *)0x0;\n          }" { (expression_statement "puVar6 = (undefined4 *)0x0;" (assignment_expression "puVar6 = (undefined4 *)0x0" identifier = (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }))) (expression_statement "*(undefined4 **)(param_1 + 0x40) = puVar6;" (assignment_expression "*(undefined4 **)(param_1 + 0x40) = puVar6" (pointer_expression "*(undefined4 **)(param_1 + 0x40)" * (cast_expression "(undefined4 **)(param_1 + 0x40)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x40)" ( (binary_expression "param_1 + 0x40" identifier + number_literal) )))) = identifier) ;) })) (if_statement "if (bVar15) {\n          uVar14 = *(undefined8 *)(pcVar13 + 0x18);\n          iVar12 = *(int *)(pcVar13 + 0x20);\n        }\n        else {\n          uVar14 = *(undefined8 *)(pcVar13 + 8);\n          iVar12 = *(int *)(pcVar13 + 0x10);\n        }" if (parenthesized_expression "(bVar15)" ( identifier )) (compound_statement "{\n          uVar14 = *(undefined8 *)(pcVar13 + 0x18);\n          iVar12 = *(int *)(pcVar13 + 0x20);\n        }" { (expression_statement "uVar14 = *(undefined8 *)(pcVar13 + 0x18);" (assignment_expression "uVar14 = *(undefined8 *)(pcVar13 + 0x18)" identifier = (pointer_expression "*(undefined8 *)(pcVar13 + 0x18)" * (cast_expression "(undefined8 *)(pcVar13 + 0x18)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar13 + 0x18)" ( (binary_expression "pcVar13 + 0x18" identifier + number_literal) ))))) ;) (expression_statement "iVar12 = *(int *)(pcVar13 + 0x20);" (assignment_expression "iVar12 = *(int *)(pcVar13 + 0x20)" identifier = (pointer_expression "*(int *)(pcVar13 + 0x20)" * (cast_expression "(int *)(pcVar13 + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar13 + 0x20)" ( (binary_expression "pcVar13 + 0x20" identifier + number_literal) ))))) ;) }) (else_clause "else {\n          uVar14 = *(undefined8 *)(pcVar13 + 8);\n          iVar12 = *(int *)(pcVar13 + 0x10);\n        }" else (compound_statement "{\n          uVar14 = *(undefined8 *)(pcVar13 + 8);\n          iVar12 = *(int *)(pcVar13 + 0x10);\n        }" { (expression_statement "uVar14 = *(undefined8 *)(pcVar13 + 8);" (assignment_expression "uVar14 = *(undefined8 *)(pcVar13 + 8)" identifier = (pointer_expression "*(undefined8 *)(pcVar13 + 8)" * (cast_expression "(undefined8 *)(pcVar13 + 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar13 + 8)" ( (binary_expression "pcVar13 + 8" identifier + number_literal) ))))) ;) (expression_statement "iVar12 = *(int *)(pcVar13 + 0x10);" (assignment_expression "iVar12 = *(int *)(pcVar13 + 0x10)" identifier = (pointer_expression "*(int *)(pcVar13 + 0x10)" * (cast_expression "(int *)(pcVar13 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar13 + 0x10)" ( (binary_expression "pcVar13 + 0x10" identifier + number_literal) ))))) ;) }))) (expression_statement "*(int *)(param_1 + 0x48) = *(int *)(param_1 + 0x48) + iVar12;" (assignment_expression "*(int *)(param_1 + 0x48) = *(int *)(param_1 + 0x48) + iVar12" (pointer_expression "*(int *)(param_1 + 0x48)" * (cast_expression "(int *)(param_1 + 0x48)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x48)" ( (binary_expression "param_1 + 0x48" identifier + number_literal) )))) = (binary_expression "*(int *)(param_1 + 0x48) + iVar12" (pointer_expression "*(int *)(param_1 + 0x48)" * (cast_expression "(int *)(param_1 + 0x48)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x48)" ( (binary_expression "param_1 + 0x48" identifier + number_literal) )))) + identifier)) ;) (if_statement "if (iVar8 < iVar1) {\n          puVar6 = (undefined4 *)(*(long *)(param_1 + 0x20) + (long)iVar8 * 0x18);\n          puVar6[1] = 0;\n          *(int *)(param_1 + 0x28) = iVar8 + 1;\n          *puVar6 = 0x18;\n          *(undefined8 *)(puVar6 + 2) = uVar14;\n          puVar6[4] = iVar12;\n        }\n        else {\n          puVar6 = (undefined4 *)0x0;\n        }" if (parenthesized_expression "(iVar8 < iVar1)" ( (binary_expression "iVar8 < iVar1" identifier < identifier) )) (compound_statement "{\n          puVar6 = (undefined4 *)(*(long *)(param_1 + 0x20) + (long)iVar8 * 0x18);\n          puVar6[1] = 0;\n          *(int *)(param_1 + 0x28) = iVar8 + 1;\n          *puVar6 = 0x18;\n          *(undefined8 *)(puVar6 + 2) = uVar14;\n          puVar6[4] = iVar12;\n        }" { (expression_statement "puVar6 = (undefined4 *)(*(long *)(param_1 + 0x20) + (long)iVar8 * 0x18);" (assignment_expression "puVar6 = (undefined4 *)(*(long *)(param_1 + 0x20) + (long)iVar8 * 0x18)" identifier = (cast_expression "(undefined4 *)(*(long *)(param_1 + 0x20) + (long)iVar8 * 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(param_1 + 0x20) + (long)iVar8 * 0x18)" ( (binary_expression "*(long *)(param_1 + 0x20) + (long)iVar8 * 0x18" (pointer_expression "*(long *)(param_1 + 0x20)" * (cast_expression "(long *)(param_1 + 0x20)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) )))) + (binary_expression "(long)iVar8 * 0x18" (cast_expression "(long)iVar8" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) * number_literal)) )))) ;) (expression_statement "puVar6[1] = 0;" (assignment_expression "puVar6[1] = 0" (subscript_expression "puVar6[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(int *)(param_1 + 0x28) = iVar8 + 1;" (assignment_expression "*(int *)(param_1 + 0x28) = iVar8 + 1" (pointer_expression "*(int *)(param_1 + 0x28)" * (cast_expression "(int *)(param_1 + 0x28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x28)" ( (binary_expression "param_1 + 0x28" identifier + number_literal) )))) = (binary_expression "iVar8 + 1" identifier + number_literal)) ;) (expression_statement "*puVar6 = 0x18;" (assignment_expression "*puVar6 = 0x18" (pointer_expression "*puVar6" * identifier) = number_literal) ;) (expression_statement "*(undefined8 *)(puVar6 + 2) = uVar14;" (assignment_expression "*(undefined8 *)(puVar6 + 2) = uVar14" (pointer_expression "*(undefined8 *)(puVar6 + 2)" * (cast_expression "(undefined8 *)(puVar6 + 2)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + 2)" ( (binary_expression "puVar6 + 2" identifier + number_literal) )))) = identifier) ;) (expression_statement "puVar6[4] = iVar12;" (assignment_expression "puVar6[4] = iVar12" (subscript_expression "puVar6[4]" identifier [ number_literal ]) = identifier) ;) }) (else_clause "else {\n          puVar6 = (undefined4 *)0x0;\n        }" else (compound_statement "{\n          puVar6 = (undefined4 *)0x0;\n        }" { (expression_statement "puVar6 = (undefined4 *)0x0;" (assignment_expression "puVar6 = (undefined4 *)0x0" identifier = (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }))) (if_statement "if (**(char **)(param_1 + 0x18) != 'B') {\n          return puVar6;\n        }" if (parenthesized_expression "(**(char **)(param_1 + 0x18) != 'B')" ( (binary_expression "**(char **)(param_1 + 0x18) != 'B'" (pointer_expression "**(char **)(param_1 + 0x18)" * (pointer_expression "*(char **)(param_1 + 0x18)" * (cast_expression "(char **)(param_1 + 0x18)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) ))))) != (char_literal "'B'" ' character ')) )) (compound_statement "{\n          return puVar6;\n        }" { (return_statement "return puVar6;" return identifier ;) })) (expression_statement "puVar6 = (undefined4 *)FUN_002f7820(param_1,puVar6);" (assignment_expression "puVar6 = (undefined4 *)FUN_002f7820(param_1,puVar6)" identifier = (cast_expression "(undefined4 *)FUN_002f7820(param_1,puVar6)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_002f7820(param_1,puVar6)" identifier (argument_list "(param_1,puVar6)" ( identifier , identifier ))))) ;) (if_statement "if ((puVar6 != (undefined4 *)0x0) &&\n           (iVar8 = *(int *)(param_1 + 0x38), iVar8 < *(int *)(param_1 + 0x3c))) {\n          *(undefined4 **)(*(long *)(param_1 + 0x30) + (long)iVar8 * 8) = puVar6;\n          *(int *)(param_1 + 0x38) = iVar8 + 1;\n          return puVar6;\n        }" if (parenthesized_expression "((puVar6 != (undefined4 *)0x0) &&\n           (iVar8 = *(int *)(param_1 + 0x38), iVar8 < *(int *)(param_1 + 0x3c)))" ( (binary_expression "(puVar6 != (undefined4 *)0x0) &&\n           (iVar8 = *(int *)(param_1 + 0x38), iVar8 < *(int *)(param_1 + 0x3c))" (parenthesized_expression "(puVar6 != (undefined4 *)0x0)" ( (binary_expression "puVar6 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(iVar8 = *(int *)(param_1 + 0x38), iVar8 < *(int *)(param_1 + 0x3c))" ( (comma_expression "iVar8 = *(int *)(param_1 + 0x38), iVar8 < *(int *)(param_1 + 0x3c)" (assignment_expression "iVar8 = *(int *)(param_1 + 0x38)" identifier = (pointer_expression "*(int *)(param_1 + 0x38)" * (cast_expression "(int *)(param_1 + 0x38)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x38)" ( (binary_expression "param_1 + 0x38" identifier + number_literal) ))))) , (binary_expression "iVar8 < *(int *)(param_1 + 0x3c)" identifier < (pointer_expression "*(int *)(param_1 + 0x3c)" * (cast_expression "(int *)(param_1 + 0x3c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x3c)" ( (binary_expression "param_1 + 0x3c" identifier + number_literal) )))))) ))) )) (compound_statement "{\n          *(undefined4 **)(*(long *)(param_1 + 0x30) + (long)iVar8 * 8) = puVar6;\n          *(int *)(param_1 + 0x38) = iVar8 + 1;\n          return puVar6;\n        }" { (expression_statement "*(undefined4 **)(*(long *)(param_1 + 0x30) + (long)iVar8 * 8) = puVar6;" (assignment_expression "*(undefined4 **)(*(long *)(param_1 + 0x30) + (long)iVar8 * 8) = puVar6" (pointer_expression "*(undefined4 **)(*(long *)(param_1 + 0x30) + (long)iVar8 * 8)" * (cast_expression "(undefined4 **)(*(long *)(param_1 + 0x30) + (long)iVar8 * 8)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(long *)(param_1 + 0x30) + (long)iVar8 * 8)" ( (binary_expression "*(long *)(param_1 + 0x30) + (long)iVar8 * 8" (pointer_expression "*(long *)(param_1 + 0x30)" * (cast_expression "(long *)(param_1 + 0x30)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x30)" ( (binary_expression "param_1 + 0x30" identifier + number_literal) )))) + (binary_expression "(long)iVar8 * 8" (cast_expression "(long)iVar8" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) * number_literal)) )))) = identifier) ;) (expression_statement "*(int *)(param_1 + 0x38) = iVar8 + 1;" (assignment_expression "*(int *)(param_1 + 0x38) = iVar8 + 1" (pointer_expression "*(int *)(param_1 + 0x38)" * (cast_expression "(int *)(param_1 + 0x38)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x38)" ( (binary_expression "param_1 + 0x38" identifier + number_literal) )))) = (binary_expression "iVar8 + 1" identifier + number_literal)) ;) (return_statement "return puVar6;" return identifier ;) })) (return_statement "return (undefined4 *)0x0;" return (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) (expression_statement "pcVar13 = pcVar13 + 0x38;" (assignment_expression "pcVar13 = pcVar13 + 0x38" identifier = (binary_expression "pcVar13 + 0x38" identifier + number_literal)) ;) (if_statement "if (pcVar13 == "") break;" if (parenthesized_expression "(pcVar13 == "")" ( (binary_expression "pcVar13 == """ identifier == (string_literal """" " ")) )) (break_statement "break;" break ;)) (expression_statement "cVar7 = *pcVar13;" (assignment_expression "cVar7 = *pcVar13" identifier = (pointer_expression "*pcVar13" * identifier)) ;) })) })) (return_statement "return (undefined4 *)0x0;" return (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ;) })))
(translation_unit "undefined4 * d_substitution(long param_1,uint param_2)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  char *pcVar3;\n  long lVar4;\n  char cVar5;\n  long lVar6;\n  undefined4 *puVar7;\n  char cVar8;\n  int iVar9;\n  ulong uVar10;\n  uint uVar11;\n  uint uVar12;\n  int iVar13;\n  undefined1 *puVar14;\n  undefined8 uVar15;\n  bool bVar16;\n  \n  pcVar3 = *(char **)(param_1 + 0x18);\n  if (*pcVar3 == 'S') {\n    *(char **)(param_1 + 0x18) = pcVar3 + 1;\n    cVar5 = pcVar3[1];\n    if (cVar5 != '\0') {\n      *(char **)(param_1 + 0x18) = pcVar3 + 2;\n      cVar5 = pcVar3[1];\n      iVar9 = (int)cVar5;\n      if (((byte)(cVar5 - 0x30U) < 10) || (cVar5 == '_')) {\n        uVar10 = 0;\n        if (cVar5 == '_') {\nLAB_002f791a:\n          if (*(uint *)(param_1 + 0x38) <= (uint)uVar10) {\n            return (undefined4 *)0x0;\n          }\n          return *(undefined4 **)(*(long *)(param_1 + 0x30) + uVar10 * 8);\n        }\nLAB_002f7940:\n        uVar11 = 0;\n        if (9 < (byte)(cVar5 - 0x30U)) goto LAB_002f797f;\n        do {\n          uVar12 = uVar11;\n          uVar11 = iVar9 + -0x30 + uVar11 * 0x24;\n          while( true ) {\n            if (uVar11 < uVar12) {\n              return (undefined4 *)0x0;\n            }\n            pcVar3 = *(char **)(param_1 + 0x18);\n            cVar5 = *pcVar3;\n            if (cVar5 != '\0') {\n              *(char **)(param_1 + 0x18) = pcVar3 + 1;\n              cVar5 = *pcVar3;\n              if (cVar5 == '_') {\n                uVar10 = (ulong)(uVar11 + 1);\n                goto LAB_002f791a;\n              }\n            }\n            iVar9 = (int)cVar5;\n            if ((byte)(cVar5 - 0x30U) < 10) break;\nLAB_002f797f:\n            if (0x19 < (byte)((char)iVar9 + 0xbfU)) {\n              return (undefined4 *)0x0;\n            }\n            uVar12 = uVar11;\n            uVar11 = iVar9 + -0x37 + uVar11 * 0x24;\n          }\n        } while( true );\n      }\n      if ((byte)(cVar5 + 0xbfU) < 0x1a) goto LAB_002f7940;\n    }\n    bVar16 = (*(uint *)(param_1 + 0x10) & 8) != 0;\n    if (((!bVar16) && ((param_2 & 1) != 0)) && ((byte)(**(char **)(param_1 + 0x18) + 0xbdU) < 2)) {\n      bVar16 = true;\n    }\n    puVar14 = standard_subs;\n    cVar8 = 't';\n    while( true ) {\n      if (cVar5 == cVar8) {\n        lVar4 = *(long *)(puVar14 + 0x28);\n        iVar9 = *(int *)(param_1 + 0x28);\n        iVar1 = *(int *)(param_1 + 0x2c);\n        if (lVar4 != 0) {\n          uVar2 = *(undefined4 *)(puVar14 + 0x30);\n          if (iVar9 < iVar1) {\n            lVar6 = (long)iVar9;\n            iVar9 = iVar9 + 1;\n            puVar7 = (undefined4 *)(*(long *)(param_1 + 0x20) + lVar6 * 0x18);\n            puVar7[1] = 0;\n            *(int *)(param_1 + 0x28) = iVar9;\n            *puVar7 = 0x18;\n            *(long *)(puVar7 + 2) = lVar4;\n            puVar7[4] = uVar2;\n          }\n          else {\n            puVar7 = (undefined4 *)0x0;\n          }\n          *(undefined4 **)(param_1 + 0x40) = puVar7;\n        }\n        if (bVar16) {\n          uVar15 = *(undefined8 *)(puVar14 + 0x18);\n          iVar13 = *(int *)(puVar14 + 0x20);\n        }\n        else {\n          uVar15 = *(undefined8 *)(puVar14 + 8);\n          iVar13 = *(int *)(puVar14 + 0x10);\n        }\n        *(int *)(param_1 + 0x48) = *(int *)(param_1 + 0x48) + iVar13;\n        if (iVar9 < iVar1) {\n          puVar7 = (undefined4 *)(*(long *)(param_1 + 0x20) + (long)iVar9 * 0x18);\n          puVar7[1] = 0;\n          *(int *)(param_1 + 0x28) = iVar9 + 1;\n          *puVar7 = 0x18;\n          *(undefined8 *)(puVar7 + 2) = uVar15;\n          puVar7[4] = iVar13;\n        }\n        else {\n          puVar7 = (undefined4 *)0x0;\n        }\n        if (**(char **)(param_1 + 0x18) != 'B') {\n          return puVar7;\n        }\n        puVar7 = (undefined4 *)d_abi_tags(param_1,puVar7);\n        if ((puVar7 != (undefined4 *)0x0) &&\n           (iVar9 = *(int *)(param_1 + 0x38), iVar9 < *(int *)(param_1 + 0x3c))) {\n          *(undefined4 **)(*(long *)(param_1 + 0x30) + (long)iVar9 * 8) = puVar7;\n          *(int *)(param_1 + 0x38) = iVar9 + 1;\n          return puVar7;\n        }\n        return (undefined4 *)0x0;\n      }\n      puVar14 = puVar14 + 0x38;\n      if (puVar14 == "") break;\n      cVar8 = *puVar14;\n    }\n  }\n  return (undefined4 *)0x0;\n}\n\n" (function_definition "undefined4 * d_substitution(long param_1,uint param_2)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  char *pcVar3;\n  long lVar4;\n  char cVar5;\n  long lVar6;\n  undefined4 *puVar7;\n  char cVar8;\n  int iVar9;\n  ulong uVar10;\n  uint uVar11;\n  uint uVar12;\n  int iVar13;\n  undefined1 *puVar14;\n  undefined8 uVar15;\n  bool bVar16;\n  \n  pcVar3 = *(char **)(param_1 + 0x18);\n  if (*pcVar3 == 'S') {\n    *(char **)(param_1 + 0x18) = pcVar3 + 1;\n    cVar5 = pcVar3[1];\n    if (cVar5 != '\0') {\n      *(char **)(param_1 + 0x18) = pcVar3 + 2;\n      cVar5 = pcVar3[1];\n      iVar9 = (int)cVar5;\n      if (((byte)(cVar5 - 0x30U) < 10) || (cVar5 == '_')) {\n        uVar10 = 0;\n        if (cVar5 == '_') {\nLAB_002f791a:\n          if (*(uint *)(param_1 + 0x38) <= (uint)uVar10) {\n            return (undefined4 *)0x0;\n          }\n          return *(undefined4 **)(*(long *)(param_1 + 0x30) + uVar10 * 8);\n        }\nLAB_002f7940:\n        uVar11 = 0;\n        if (9 < (byte)(cVar5 - 0x30U)) goto LAB_002f797f;\n        do {\n          uVar12 = uVar11;\n          uVar11 = iVar9 + -0x30 + uVar11 * 0x24;\n          while( true ) {\n            if (uVar11 < uVar12) {\n              return (undefined4 *)0x0;\n            }\n            pcVar3 = *(char **)(param_1 + 0x18);\n            cVar5 = *pcVar3;\n            if (cVar5 != '\0') {\n              *(char **)(param_1 + 0x18) = pcVar3 + 1;\n              cVar5 = *pcVar3;\n              if (cVar5 == '_') {\n                uVar10 = (ulong)(uVar11 + 1);\n                goto LAB_002f791a;\n              }\n            }\n            iVar9 = (int)cVar5;\n            if ((byte)(cVar5 - 0x30U) < 10) break;\nLAB_002f797f:\n            if (0x19 < (byte)((char)iVar9 + 0xbfU)) {\n              return (undefined4 *)0x0;\n            }\n            uVar12 = uVar11;\n            uVar11 = iVar9 + -0x37 + uVar11 * 0x24;\n          }\n        } while( true );\n      }\n      if ((byte)(cVar5 + 0xbfU) < 0x1a) goto LAB_002f7940;\n    }\n    bVar16 = (*(uint *)(param_1 + 0x10) & 8) != 0;\n    if (((!bVar16) && ((param_2 & 1) != 0)) && ((byte)(**(char **)(param_1 + 0x18) + 0xbdU) < 2)) {\n      bVar16 = true;\n    }\n    puVar14 = standard_subs;\n    cVar8 = 't';\n    while( true ) {\n      if (cVar5 == cVar8) {\n        lVar4 = *(long *)(puVar14 + 0x28);\n        iVar9 = *(int *)(param_1 + 0x28);\n        iVar1 = *(int *)(param_1 + 0x2c);\n        if (lVar4 != 0) {\n          uVar2 = *(undefined4 *)(puVar14 + 0x30);\n          if (iVar9 < iVar1) {\n            lVar6 = (long)iVar9;\n            iVar9 = iVar9 + 1;\n            puVar7 = (undefined4 *)(*(long *)(param_1 + 0x20) + lVar6 * 0x18);\n            puVar7[1] = 0;\n            *(int *)(param_1 + 0x28) = iVar9;\n            *puVar7 = 0x18;\n            *(long *)(puVar7 + 2) = lVar4;\n            puVar7[4] = uVar2;\n          }\n          else {\n            puVar7 = (undefined4 *)0x0;\n          }\n          *(undefined4 **)(param_1 + 0x40) = puVar7;\n        }\n        if (bVar16) {\n          uVar15 = *(undefined8 *)(puVar14 + 0x18);\n          iVar13 = *(int *)(puVar14 + 0x20);\n        }\n        else {\n          uVar15 = *(undefined8 *)(puVar14 + 8);\n          iVar13 = *(int *)(puVar14 + 0x10);\n        }\n        *(int *)(param_1 + 0x48) = *(int *)(param_1 + 0x48) + iVar13;\n        if (iVar9 < iVar1) {\n          puVar7 = (undefined4 *)(*(long *)(param_1 + 0x20) + (long)iVar9 * 0x18);\n          puVar7[1] = 0;\n          *(int *)(param_1 + 0x28) = iVar9 + 1;\n          *puVar7 = 0x18;\n          *(undefined8 *)(puVar7 + 2) = uVar15;\n          puVar7[4] = iVar13;\n        }\n        else {\n          puVar7 = (undefined4 *)0x0;\n        }\n        if (**(char **)(param_1 + 0x18) != 'B') {\n          return puVar7;\n        }\n        puVar7 = (undefined4 *)d_abi_tags(param_1,puVar7);\n        if ((puVar7 != (undefined4 *)0x0) &&\n           (iVar9 = *(int *)(param_1 + 0x38), iVar9 < *(int *)(param_1 + 0x3c))) {\n          *(undefined4 **)(*(long *)(param_1 + 0x30) + (long)iVar9 * 8) = puVar7;\n          *(int *)(param_1 + 0x38) = iVar9 + 1;\n          return puVar7;\n        }\n        return (undefined4 *)0x0;\n      }\n      puVar14 = puVar14 + 0x38;\n      if (puVar14 == "") break;\n      cVar8 = *puVar14;\n    }\n  }\n  return (undefined4 *)0x0;\n}" type_identifier (pointer_declarator "* d_substitution(long param_1,uint param_2)" * (function_declarator "d_substitution(long param_1,uint param_2)" identifier (parameter_list "(long param_1,uint param_2)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "uint param_2" type_identifier identifier) )))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  char *pcVar3;\n  long lVar4;\n  char cVar5;\n  long lVar6;\n  undefined4 *puVar7;\n  char cVar8;\n  int iVar9;\n  ulong uVar10;\n  uint uVar11;\n  uint uVar12;\n  int iVar13;\n  undefined1 *puVar14;\n  undefined8 uVar15;\n  bool bVar16;\n  \n  pcVar3 = *(char **)(param_1 + 0x18);\n  if (*pcVar3 == 'S') {\n    *(char **)(param_1 + 0x18) = pcVar3 + 1;\n    cVar5 = pcVar3[1];\n    if (cVar5 != '\0') {\n      *(char **)(param_1 + 0x18) = pcVar3 + 2;\n      cVar5 = pcVar3[1];\n      iVar9 = (int)cVar5;\n      if (((byte)(cVar5 - 0x30U) < 10) || (cVar5 == '_')) {\n        uVar10 = 0;\n        if (cVar5 == '_') {\nLAB_002f791a:\n          if (*(uint *)(param_1 + 0x38) <= (uint)uVar10) {\n            return (undefined4 *)0x0;\n          }\n          return *(undefined4 **)(*(long *)(param_1 + 0x30) + uVar10 * 8);\n        }\nLAB_002f7940:\n        uVar11 = 0;\n        if (9 < (byte)(cVar5 - 0x30U)) goto LAB_002f797f;\n        do {\n          uVar12 = uVar11;\n          uVar11 = iVar9 + -0x30 + uVar11 * 0x24;\n          while( true ) {\n            if (uVar11 < uVar12) {\n              return (undefined4 *)0x0;\n            }\n            pcVar3 = *(char **)(param_1 + 0x18);\n            cVar5 = *pcVar3;\n            if (cVar5 != '\0') {\n              *(char **)(param_1 + 0x18) = pcVar3 + 1;\n              cVar5 = *pcVar3;\n              if (cVar5 == '_') {\n                uVar10 = (ulong)(uVar11 + 1);\n                goto LAB_002f791a;\n              }\n            }\n            iVar9 = (int)cVar5;\n            if ((byte)(cVar5 - 0x30U) < 10) break;\nLAB_002f797f:\n            if (0x19 < (byte)((char)iVar9 + 0xbfU)) {\n              return (undefined4 *)0x0;\n            }\n            uVar12 = uVar11;\n            uVar11 = iVar9 + -0x37 + uVar11 * 0x24;\n          }\n        } while( true );\n      }\n      if ((byte)(cVar5 + 0xbfU) < 0x1a) goto LAB_002f7940;\n    }\n    bVar16 = (*(uint *)(param_1 + 0x10) & 8) != 0;\n    if (((!bVar16) && ((param_2 & 1) != 0)) && ((byte)(**(char **)(param_1 + 0x18) + 0xbdU) < 2)) {\n      bVar16 = true;\n    }\n    puVar14 = standard_subs;\n    cVar8 = 't';\n    while( true ) {\n      if (cVar5 == cVar8) {\n        lVar4 = *(long *)(puVar14 + 0x28);\n        iVar9 = *(int *)(param_1 + 0x28);\n        iVar1 = *(int *)(param_1 + 0x2c);\n        if (lVar4 != 0) {\n          uVar2 = *(undefined4 *)(puVar14 + 0x30);\n          if (iVar9 < iVar1) {\n            lVar6 = (long)iVar9;\n            iVar9 = iVar9 + 1;\n            puVar7 = (undefined4 *)(*(long *)(param_1 + 0x20) + lVar6 * 0x18);\n            puVar7[1] = 0;\n            *(int *)(param_1 + 0x28) = iVar9;\n            *puVar7 = 0x18;\n            *(long *)(puVar7 + 2) = lVar4;\n            puVar7[4] = uVar2;\n          }\n          else {\n            puVar7 = (undefined4 *)0x0;\n          }\n          *(undefined4 **)(param_1 + 0x40) = puVar7;\n        }\n        if (bVar16) {\n          uVar15 = *(undefined8 *)(puVar14 + 0x18);\n          iVar13 = *(int *)(puVar14 + 0x20);\n        }\n        else {\n          uVar15 = *(undefined8 *)(puVar14 + 8);\n          iVar13 = *(int *)(puVar14 + 0x10);\n        }\n        *(int *)(param_1 + 0x48) = *(int *)(param_1 + 0x48) + iVar13;\n        if (iVar9 < iVar1) {\n          puVar7 = (undefined4 *)(*(long *)(param_1 + 0x20) + (long)iVar9 * 0x18);\n          puVar7[1] = 0;\n          *(int *)(param_1 + 0x28) = iVar9 + 1;\n          *puVar7 = 0x18;\n          *(undefined8 *)(puVar7 + 2) = uVar15;\n          puVar7[4] = iVar13;\n        }\n        else {\n          puVar7 = (undefined4 *)0x0;\n        }\n        if (**(char **)(param_1 + 0x18) != 'B') {\n          return puVar7;\n        }\n        puVar7 = (undefined4 *)d_abi_tags(param_1,puVar7);\n        if ((puVar7 != (undefined4 *)0x0) &&\n           (iVar9 = *(int *)(param_1 + 0x38), iVar9 < *(int *)(param_1 + 0x3c))) {\n          *(undefined4 **)(*(long *)(param_1 + 0x30) + (long)iVar9 * 8) = puVar7;\n          *(int *)(param_1 + 0x38) = iVar9 + 1;\n          return puVar7;\n        }\n        return (undefined4 *)0x0;\n      }\n      puVar14 = puVar14 + 0x38;\n      if (puVar14 == "") break;\n      cVar8 = *puVar14;\n    }\n  }\n  return (undefined4 *)0x0;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (declaration "long lVar4;" (sized_type_specifier "long" long) identifier ;) (declaration "char cVar5;" primitive_type identifier ;) (declaration "long lVar6;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined4 *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "char cVar8;" primitive_type identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "ulong uVar10;" type_identifier identifier ;) (declaration "uint uVar11;" type_identifier identifier ;) (declaration "uint uVar12;" type_identifier identifier ;) (declaration "int iVar13;" primitive_type identifier ;) (declaration "undefined1 *puVar14;" type_identifier (pointer_declarator "*puVar14" * identifier) ;) (declaration "undefined8 uVar15;" type_identifier identifier ;) (declaration "bool bVar16;" primitive_type identifier ;) (expression_statement "pcVar3 = *(char **)(param_1 + 0x18);" (assignment_expression "pcVar3 = *(char **)(param_1 + 0x18)" identifier = (pointer_expression "*(char **)(param_1 + 0x18)" * (cast_expression "(char **)(param_1 + 0x18)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) ))))) ;) (if_statement "if (*pcVar3 == 'S') {\n    *(char **)(param_1 + 0x18) = pcVar3 + 1;\n    cVar5 = pcVar3[1];\n    if (cVar5 != '\0') {\n      *(char **)(param_1 + 0x18) = pcVar3 + 2;\n      cVar5 = pcVar3[1];\n      iVar9 = (int)cVar5;\n      if (((byte)(cVar5 - 0x30U) < 10) || (cVar5 == '_')) {\n        uVar10 = 0;\n        if (cVar5 == '_') {\nLAB_002f791a:\n          if (*(uint *)(param_1 + 0x38) <= (uint)uVar10) {\n            return (undefined4 *)0x0;\n          }\n          return *(undefined4 **)(*(long *)(param_1 + 0x30) + uVar10 * 8);\n        }\nLAB_002f7940:\n        uVar11 = 0;\n        if (9 < (byte)(cVar5 - 0x30U)) goto LAB_002f797f;\n        do {\n          uVar12 = uVar11;\n          uVar11 = iVar9 + -0x30 + uVar11 * 0x24;\n          while( true ) {\n            if (uVar11 < uVar12) {\n              return (undefined4 *)0x0;\n            }\n            pcVar3 = *(char **)(param_1 + 0x18);\n            cVar5 = *pcVar3;\n            if (cVar5 != '\0') {\n              *(char **)(param_1 + 0x18) = pcVar3 + 1;\n              cVar5 = *pcVar3;\n              if (cVar5 == '_') {\n                uVar10 = (ulong)(uVar11 + 1);\n                goto LAB_002f791a;\n              }\n            }\n            iVar9 = (int)cVar5;\n            if ((byte)(cVar5 - 0x30U) < 10) break;\nLAB_002f797f:\n            if (0x19 < (byte)((char)iVar9 + 0xbfU)) {\n              return (undefined4 *)0x0;\n            }\n            uVar12 = uVar11;\n            uVar11 = iVar9 + -0x37 + uVar11 * 0x24;\n          }\n        } while( true );\n      }\n      if ((byte)(cVar5 + 0xbfU) < 0x1a) goto LAB_002f7940;\n    }\n    bVar16 = (*(uint *)(param_1 + 0x10) & 8) != 0;\n    if (((!bVar16) && ((param_2 & 1) != 0)) && ((byte)(**(char **)(param_1 + 0x18) + 0xbdU) < 2)) {\n      bVar16 = true;\n    }\n    puVar14 = standard_subs;\n    cVar8 = 't';\n    while( true ) {\n      if (cVar5 == cVar8) {\n        lVar4 = *(long *)(puVar14 + 0x28);\n        iVar9 = *(int *)(param_1 + 0x28);\n        iVar1 = *(int *)(param_1 + 0x2c);\n        if (lVar4 != 0) {\n          uVar2 = *(undefined4 *)(puVar14 + 0x30);\n          if (iVar9 < iVar1) {\n            lVar6 = (long)iVar9;\n            iVar9 = iVar9 + 1;\n            puVar7 = (undefined4 *)(*(long *)(param_1 + 0x20) + lVar6 * 0x18);\n            puVar7[1] = 0;\n            *(int *)(param_1 + 0x28) = iVar9;\n            *puVar7 = 0x18;\n            *(long *)(puVar7 + 2) = lVar4;\n            puVar7[4] = uVar2;\n          }\n          else {\n            puVar7 = (undefined4 *)0x0;\n          }\n          *(undefined4 **)(param_1 + 0x40) = puVar7;\n        }\n        if (bVar16) {\n          uVar15 = *(undefined8 *)(puVar14 + 0x18);\n          iVar13 = *(int *)(puVar14 + 0x20);\n        }\n        else {\n          uVar15 = *(undefined8 *)(puVar14 + 8);\n          iVar13 = *(int *)(puVar14 + 0x10);\n        }\n        *(int *)(param_1 + 0x48) = *(int *)(param_1 + 0x48) + iVar13;\n        if (iVar9 < iVar1) {\n          puVar7 = (undefined4 *)(*(long *)(param_1 + 0x20) + (long)iVar9 * 0x18);\n          puVar7[1] = 0;\n          *(int *)(param_1 + 0x28) = iVar9 + 1;\n          *puVar7 = 0x18;\n          *(undefined8 *)(puVar7 + 2) = uVar15;\n          puVar7[4] = iVar13;\n        }\n        else {\n          puVar7 = (undefined4 *)0x0;\n        }\n        if (**(char **)(param_1 + 0x18) != 'B') {\n          return puVar7;\n        }\n        puVar7 = (undefined4 *)d_abi_tags(param_1,puVar7);\n        if ((puVar7 != (undefined4 *)0x0) &&\n           (iVar9 = *(int *)(param_1 + 0x38), iVar9 < *(int *)(param_1 + 0x3c))) {\n          *(undefined4 **)(*(long *)(param_1 + 0x30) + (long)iVar9 * 8) = puVar7;\n          *(int *)(param_1 + 0x38) = iVar9 + 1;\n          return puVar7;\n        }\n        return (undefined4 *)0x0;\n      }\n      puVar14 = puVar14 + 0x38;\n      if (puVar14 == "") break;\n      cVar8 = *puVar14;\n    }\n  }" if (parenthesized_expression "(*pcVar3 == 'S')" ( (binary_expression "*pcVar3 == 'S'" (pointer_expression "*pcVar3" * identifier) == (char_literal "'S'" ' character ')) )) (compound_statement "{\n    *(char **)(param_1 + 0x18) = pcVar3 + 1;\n    cVar5 = pcVar3[1];\n    if (cVar5 != '\0') {\n      *(char **)(param_1 + 0x18) = pcVar3 + 2;\n      cVar5 = pcVar3[1];\n      iVar9 = (int)cVar5;\n      if (((byte)(cVar5 - 0x30U) < 10) || (cVar5 == '_')) {\n        uVar10 = 0;\n        if (cVar5 == '_') {\nLAB_002f791a:\n          if (*(uint *)(param_1 + 0x38) <= (uint)uVar10) {\n            return (undefined4 *)0x0;\n          }\n          return *(undefined4 **)(*(long *)(param_1 + 0x30) + uVar10 * 8);\n        }\nLAB_002f7940:\n        uVar11 = 0;\n        if (9 < (byte)(cVar5 - 0x30U)) goto LAB_002f797f;\n        do {\n          uVar12 = uVar11;\n          uVar11 = iVar9 + -0x30 + uVar11 * 0x24;\n          while( true ) {\n            if (uVar11 < uVar12) {\n              return (undefined4 *)0x0;\n            }\n            pcVar3 = *(char **)(param_1 + 0x18);\n            cVar5 = *pcVar3;\n            if (cVar5 != '\0') {\n              *(char **)(param_1 + 0x18) = pcVar3 + 1;\n              cVar5 = *pcVar3;\n              if (cVar5 == '_') {\n                uVar10 = (ulong)(uVar11 + 1);\n                goto LAB_002f791a;\n              }\n            }\n            iVar9 = (int)cVar5;\n            if ((byte)(cVar5 - 0x30U) < 10) break;\nLAB_002f797f:\n            if (0x19 < (byte)((char)iVar9 + 0xbfU)) {\n              return (undefined4 *)0x0;\n            }\n            uVar12 = uVar11;\n            uVar11 = iVar9 + -0x37 + uVar11 * 0x24;\n          }\n        } while( true );\n      }\n      if ((byte)(cVar5 + 0xbfU) < 0x1a) goto LAB_002f7940;\n    }\n    bVar16 = (*(uint *)(param_1 + 0x10) & 8) != 0;\n    if (((!bVar16) && ((param_2 & 1) != 0)) && ((byte)(**(char **)(param_1 + 0x18) + 0xbdU) < 2)) {\n      bVar16 = true;\n    }\n    puVar14 = standard_subs;\n    cVar8 = 't';\n    while( true ) {\n      if (cVar5 == cVar8) {\n        lVar4 = *(long *)(puVar14 + 0x28);\n        iVar9 = *(int *)(param_1 + 0x28);\n        iVar1 = *(int *)(param_1 + 0x2c);\n        if (lVar4 != 0) {\n          uVar2 = *(undefined4 *)(puVar14 + 0x30);\n          if (iVar9 < iVar1) {\n            lVar6 = (long)iVar9;\n            iVar9 = iVar9 + 1;\n            puVar7 = (undefined4 *)(*(long *)(param_1 + 0x20) + lVar6 * 0x18);\n            puVar7[1] = 0;\n            *(int *)(param_1 + 0x28) = iVar9;\n            *puVar7 = 0x18;\n            *(long *)(puVar7 + 2) = lVar4;\n            puVar7[4] = uVar2;\n          }\n          else {\n            puVar7 = (undefined4 *)0x0;\n          }\n          *(undefined4 **)(param_1 + 0x40) = puVar7;\n        }\n        if (bVar16) {\n          uVar15 = *(undefined8 *)(puVar14 + 0x18);\n          iVar13 = *(int *)(puVar14 + 0x20);\n        }\n        else {\n          uVar15 = *(undefined8 *)(puVar14 + 8);\n          iVar13 = *(int *)(puVar14 + 0x10);\n        }\n        *(int *)(param_1 + 0x48) = *(int *)(param_1 + 0x48) + iVar13;\n        if (iVar9 < iVar1) {\n          puVar7 = (undefined4 *)(*(long *)(param_1 + 0x20) + (long)iVar9 * 0x18);\n          puVar7[1] = 0;\n          *(int *)(param_1 + 0x28) = iVar9 + 1;\n          *puVar7 = 0x18;\n          *(undefined8 *)(puVar7 + 2) = uVar15;\n          puVar7[4] = iVar13;\n        }\n        else {\n          puVar7 = (undefined4 *)0x0;\n        }\n        if (**(char **)(param_1 + 0x18) != 'B') {\n          return puVar7;\n        }\n        puVar7 = (undefined4 *)d_abi_tags(param_1,puVar7);\n        if ((puVar7 != (undefined4 *)0x0) &&\n           (iVar9 = *(int *)(param_1 + 0x38), iVar9 < *(int *)(param_1 + 0x3c))) {\n          *(undefined4 **)(*(long *)(param_1 + 0x30) + (long)iVar9 * 8) = puVar7;\n          *(int *)(param_1 + 0x38) = iVar9 + 1;\n          return puVar7;\n        }\n        return (undefined4 *)0x0;\n      }\n      puVar14 = puVar14 + 0x38;\n      if (puVar14 == "") break;\n      cVar8 = *puVar14;\n    }\n  }" { (expression_statement "*(char **)(param_1 + 0x18) = pcVar3 + 1;" (assignment_expression "*(char **)(param_1 + 0x18) = pcVar3 + 1" (pointer_expression "*(char **)(param_1 + 0x18)" * (cast_expression "(char **)(param_1 + 0x18)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) )))) = (binary_expression "pcVar3 + 1" identifier + number_literal)) ;) (expression_statement "cVar5 = pcVar3[1];" (assignment_expression "cVar5 = pcVar3[1]" identifier = (subscript_expression "pcVar3[1]" identifier [ number_literal ])) ;) (if_statement "if (cVar5 != '\0') {\n      *(char **)(param_1 + 0x18) = pcVar3 + 2;\n      cVar5 = pcVar3[1];\n      iVar9 = (int)cVar5;\n      if (((byte)(cVar5 - 0x30U) < 10) || (cVar5 == '_')) {\n        uVar10 = 0;\n        if (cVar5 == '_') {\nLAB_002f791a:\n          if (*(uint *)(param_1 + 0x38) <= (uint)uVar10) {\n            return (undefined4 *)0x0;\n          }\n          return *(undefined4 **)(*(long *)(param_1 + 0x30) + uVar10 * 8);\n        }\nLAB_002f7940:\n        uVar11 = 0;\n        if (9 < (byte)(cVar5 - 0x30U)) goto LAB_002f797f;\n        do {\n          uVar12 = uVar11;\n          uVar11 = iVar9 + -0x30 + uVar11 * 0x24;\n          while( true ) {\n            if (uVar11 < uVar12) {\n              return (undefined4 *)0x0;\n            }\n            pcVar3 = *(char **)(param_1 + 0x18);\n            cVar5 = *pcVar3;\n            if (cVar5 != '\0') {\n              *(char **)(param_1 + 0x18) = pcVar3 + 1;\n              cVar5 = *pcVar3;\n              if (cVar5 == '_') {\n                uVar10 = (ulong)(uVar11 + 1);\n                goto LAB_002f791a;\n              }\n            }\n            iVar9 = (int)cVar5;\n            if ((byte)(cVar5 - 0x30U) < 10) break;\nLAB_002f797f:\n            if (0x19 < (byte)((char)iVar9 + 0xbfU)) {\n              return (undefined4 *)0x0;\n            }\n            uVar12 = uVar11;\n            uVar11 = iVar9 + -0x37 + uVar11 * 0x24;\n          }\n        } while( true );\n      }\n      if ((byte)(cVar5 + 0xbfU) < 0x1a) goto LAB_002f7940;\n    }" if (parenthesized_expression "(cVar5 != '\0')" ( (binary_expression "cVar5 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      *(char **)(param_1 + 0x18) = pcVar3 + 2;\n      cVar5 = pcVar3[1];\n      iVar9 = (int)cVar5;\n      if (((byte)(cVar5 - 0x30U) < 10) || (cVar5 == '_')) {\n        uVar10 = 0;\n        if (cVar5 == '_') {\nLAB_002f791a:\n          if (*(uint *)(param_1 + 0x38) <= (uint)uVar10) {\n            return (undefined4 *)0x0;\n          }\n          return *(undefined4 **)(*(long *)(param_1 + 0x30) + uVar10 * 8);\n        }\nLAB_002f7940:\n        uVar11 = 0;\n        if (9 < (byte)(cVar5 - 0x30U)) goto LAB_002f797f;\n        do {\n          uVar12 = uVar11;\n          uVar11 = iVar9 + -0x30 + uVar11 * 0x24;\n          while( true ) {\n            if (uVar11 < uVar12) {\n              return (undefined4 *)0x0;\n            }\n            pcVar3 = *(char **)(param_1 + 0x18);\n            cVar5 = *pcVar3;\n            if (cVar5 != '\0') {\n              *(char **)(param_1 + 0x18) = pcVar3 + 1;\n              cVar5 = *pcVar3;\n              if (cVar5 == '_') {\n                uVar10 = (ulong)(uVar11 + 1);\n                goto LAB_002f791a;\n              }\n            }\n            iVar9 = (int)cVar5;\n            if ((byte)(cVar5 - 0x30U) < 10) break;\nLAB_002f797f:\n            if (0x19 < (byte)((char)iVar9 + 0xbfU)) {\n              return (undefined4 *)0x0;\n            }\n            uVar12 = uVar11;\n            uVar11 = iVar9 + -0x37 + uVar11 * 0x24;\n          }\n        } while( true );\n      }\n      if ((byte)(cVar5 + 0xbfU) < 0x1a) goto LAB_002f7940;\n    }" { (expression_statement "*(char **)(param_1 + 0x18) = pcVar3 + 2;" (assignment_expression "*(char **)(param_1 + 0x18) = pcVar3 + 2" (pointer_expression "*(char **)(param_1 + 0x18)" * (cast_expression "(char **)(param_1 + 0x18)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) )))) = (binary_expression "pcVar3 + 2" identifier + number_literal)) ;) (expression_statement "cVar5 = pcVar3[1];" (assignment_expression "cVar5 = pcVar3[1]" identifier = (subscript_expression "pcVar3[1]" identifier [ number_literal ])) ;) (expression_statement "iVar9 = (int)cVar5;" (assignment_expression "iVar9 = (int)cVar5" identifier = (cast_expression "(int)cVar5" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (if_statement "if (((byte)(cVar5 - 0x30U) < 10) || (cVar5 == '_')) {\n        uVar10 = 0;\n        if (cVar5 == '_') {\nLAB_002f791a:\n          if (*(uint *)(param_1 + 0x38) <= (uint)uVar10) {\n            return (undefined4 *)0x0;\n          }\n          return *(undefined4 **)(*(long *)(param_1 + 0x30) + uVar10 * 8);\n        }\nLAB_002f7940:\n        uVar11 = 0;\n        if (9 < (byte)(cVar5 - 0x30U)) goto LAB_002f797f;\n        do {\n          uVar12 = uVar11;\n          uVar11 = iVar9 + -0x30 + uVar11 * 0x24;\n          while( true ) {\n            if (uVar11 < uVar12) {\n              return (undefined4 *)0x0;\n            }\n            pcVar3 = *(char **)(param_1 + 0x18);\n            cVar5 = *pcVar3;\n            if (cVar5 != '\0') {\n              *(char **)(param_1 + 0x18) = pcVar3 + 1;\n              cVar5 = *pcVar3;\n              if (cVar5 == '_') {\n                uVar10 = (ulong)(uVar11 + 1);\n                goto LAB_002f791a;\n              }\n            }\n            iVar9 = (int)cVar5;\n            if ((byte)(cVar5 - 0x30U) < 10) break;\nLAB_002f797f:\n            if (0x19 < (byte)((char)iVar9 + 0xbfU)) {\n              return (undefined4 *)0x0;\n            }\n            uVar12 = uVar11;\n            uVar11 = iVar9 + -0x37 + uVar11 * 0x24;\n          }\n        } while( true );\n      }" if (parenthesized_expression "(((byte)(cVar5 - 0x30U) < 10) || (cVar5 == '_'))" ( (binary_expression "((byte)(cVar5 - 0x30U) < 10) || (cVar5 == '_')" (parenthesized_expression "((byte)(cVar5 - 0x30U) < 10)" ( (binary_expression "(byte)(cVar5 - 0x30U) < 10" (call_expression "(byte)(cVar5 - 0x30U)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(cVar5 - 0x30U)" ( (binary_expression "cVar5 - 0x30U" identifier - number_literal) ))) < number_literal) )) || (parenthesized_expression "(cVar5 == '_')" ( (binary_expression "cVar5 == '_'" identifier == (char_literal "'_'" ' character ')) ))) )) (compound_statement "{\n        uVar10 = 0;\n        if (cVar5 == '_') {\nLAB_002f791a:\n          if (*(uint *)(param_1 + 0x38) <= (uint)uVar10) {\n            return (undefined4 *)0x0;\n          }\n          return *(undefined4 **)(*(long *)(param_1 + 0x30) + uVar10 * 8);\n        }\nLAB_002f7940:\n        uVar11 = 0;\n        if (9 < (byte)(cVar5 - 0x30U)) goto LAB_002f797f;\n        do {\n          uVar12 = uVar11;\n          uVar11 = iVar9 + -0x30 + uVar11 * 0x24;\n          while( true ) {\n            if (uVar11 < uVar12) {\n              return (undefined4 *)0x0;\n            }\n            pcVar3 = *(char **)(param_1 + 0x18);\n            cVar5 = *pcVar3;\n            if (cVar5 != '\0') {\n              *(char **)(param_1 + 0x18) = pcVar3 + 1;\n              cVar5 = *pcVar3;\n              if (cVar5 == '_') {\n                uVar10 = (ulong)(uVar11 + 1);\n                goto LAB_002f791a;\n              }\n            }\n            iVar9 = (int)cVar5;\n            if ((byte)(cVar5 - 0x30U) < 10) break;\nLAB_002f797f:\n            if (0x19 < (byte)((char)iVar9 + 0xbfU)) {\n              return (undefined4 *)0x0;\n            }\n            uVar12 = uVar11;\n            uVar11 = iVar9 + -0x37 + uVar11 * 0x24;\n          }\n        } while( true );\n      }" { (expression_statement "uVar10 = 0;" (assignment_expression "uVar10 = 0" identifier = number_literal) ;) (if_statement "if (cVar5 == '_') {\nLAB_002f791a:\n          if (*(uint *)(param_1 + 0x38) <= (uint)uVar10) {\n            return (undefined4 *)0x0;\n          }\n          return *(undefined4 **)(*(long *)(param_1 + 0x30) + uVar10 * 8);\n        }" if (parenthesized_expression "(cVar5 == '_')" ( (binary_expression "cVar5 == '_'" identifier == (char_literal "'_'" ' character ')) )) (compound_statement "{\nLAB_002f791a:\n          if (*(uint *)(param_1 + 0x38) <= (uint)uVar10) {\n            return (undefined4 *)0x0;\n          }\n          return *(undefined4 **)(*(long *)(param_1 + 0x30) + uVar10 * 8);\n        }" { (labeled_statement "LAB_002f791a:\n          if (*(uint *)(param_1 + 0x38) <= (uint)uVar10) {\n            return (undefined4 *)0x0;\n          }" statement_identifier : (if_statement "if (*(uint *)(param_1 + 0x38) <= (uint)uVar10) {\n            return (undefined4 *)0x0;\n          }" if (parenthesized_expression "(*(uint *)(param_1 + 0x38) <= (uint)uVar10)" ( (binary_expression "*(uint *)(param_1 + 0x38) <= (uint)uVar10" (pointer_expression "*(uint *)(param_1 + 0x38)" * (cast_expression "(uint *)(param_1 + 0x38)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x38)" ( (binary_expression "param_1 + 0x38" identifier + number_literal) )))) <= (cast_expression "(uint)uVar10" ( (type_descriptor "uint" type_identifier) ) identifier)) )) (compound_statement "{\n            return (undefined4 *)0x0;\n          }" { (return_statement "return (undefined4 *)0x0;" return (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ;) }))) (return_statement "return *(undefined4 **)(*(long *)(param_1 + 0x30) + uVar10 * 8);" return (pointer_expression "*(undefined4 **)(*(long *)(param_1 + 0x30) + uVar10 * 8)" * (cast_expression "(undefined4 **)(*(long *)(param_1 + 0x30) + uVar10 * 8)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(long *)(param_1 + 0x30) + uVar10 * 8)" ( (binary_expression "*(long *)(param_1 + 0x30) + uVar10 * 8" (pointer_expression "*(long *)(param_1 + 0x30)" * (cast_expression "(long *)(param_1 + 0x30)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x30)" ( (binary_expression "param_1 + 0x30" identifier + number_literal) )))) + (binary_expression "uVar10 * 8" identifier * number_literal)) )))) ;) })) (labeled_statement "LAB_002f7940:\n        uVar11 = 0;" statement_identifier : (expression_statement "uVar11 = 0;" (assignment_expression "uVar11 = 0" identifier = number_literal) ;)) (if_statement "if (9 < (byte)(cVar5 - 0x30U)) goto LAB_002f797f;" if (parenthesized_expression "(9 < (byte)(cVar5 - 0x30U))" ( (binary_expression "9 < (byte)(cVar5 - 0x30U)" number_literal < (call_expression "(byte)(cVar5 - 0x30U)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(cVar5 - 0x30U)" ( (binary_expression "cVar5 - 0x30U" identifier - number_literal) )))) )) (goto_statement "goto LAB_002f797f;" goto statement_identifier ;)) (do_statement "do {\n          uVar12 = uVar11;\n          uVar11 = iVar9 + -0x30 + uVar11 * 0x24;\n          while( true ) {\n            if (uVar11 < uVar12) {\n              return (undefined4 *)0x0;\n            }\n            pcVar3 = *(char **)(param_1 + 0x18);\n            cVar5 = *pcVar3;\n            if (cVar5 != '\0') {\n              *(char **)(param_1 + 0x18) = pcVar3 + 1;\n              cVar5 = *pcVar3;\n              if (cVar5 == '_') {\n                uVar10 = (ulong)(uVar11 + 1);\n                goto LAB_002f791a;\n              }\n            }\n            iVar9 = (int)cVar5;\n            if ((byte)(cVar5 - 0x30U) < 10) break;\nLAB_002f797f:\n            if (0x19 < (byte)((char)iVar9 + 0xbfU)) {\n              return (undefined4 *)0x0;\n            }\n            uVar12 = uVar11;\n            uVar11 = iVar9 + -0x37 + uVar11 * 0x24;\n          }\n        } while( true );" do (compound_statement "{\n          uVar12 = uVar11;\n          uVar11 = iVar9 + -0x30 + uVar11 * 0x24;\n          while( true ) {\n            if (uVar11 < uVar12) {\n              return (undefined4 *)0x0;\n            }\n            pcVar3 = *(char **)(param_1 + 0x18);\n            cVar5 = *pcVar3;\n            if (cVar5 != '\0') {\n              *(char **)(param_1 + 0x18) = pcVar3 + 1;\n              cVar5 = *pcVar3;\n              if (cVar5 == '_') {\n                uVar10 = (ulong)(uVar11 + 1);\n                goto LAB_002f791a;\n              }\n            }\n            iVar9 = (int)cVar5;\n            if ((byte)(cVar5 - 0x30U) < 10) break;\nLAB_002f797f:\n            if (0x19 < (byte)((char)iVar9 + 0xbfU)) {\n              return (undefined4 *)0x0;\n            }\n            uVar12 = uVar11;\n            uVar11 = iVar9 + -0x37 + uVar11 * 0x24;\n          }\n        }" { (expression_statement "uVar12 = uVar11;" (assignment_expression "uVar12 = uVar11" identifier = identifier) ;) (expression_statement "uVar11 = iVar9 + -0x30 + uVar11 * 0x24;" (assignment_expression "uVar11 = iVar9 + -0x30 + uVar11 * 0x24" identifier = (binary_expression "iVar9 + -0x30 + uVar11 * 0x24" (binary_expression "iVar9 + -0x30" identifier + number_literal) + (binary_expression "uVar11 * 0x24" identifier * number_literal))) ;) (while_statement "while( true ) {\n            if (uVar11 < uVar12) {\n              return (undefined4 *)0x0;\n            }\n            pcVar3 = *(char **)(param_1 + 0x18);\n            cVar5 = *pcVar3;\n            if (cVar5 != '\0') {\n              *(char **)(param_1 + 0x18) = pcVar3 + 1;\n              cVar5 = *pcVar3;\n              if (cVar5 == '_') {\n                uVar10 = (ulong)(uVar11 + 1);\n                goto LAB_002f791a;\n              }\n            }\n            iVar9 = (int)cVar5;\n            if ((byte)(cVar5 - 0x30U) < 10) break;\nLAB_002f797f:\n            if (0x19 < (byte)((char)iVar9 + 0xbfU)) {\n              return (undefined4 *)0x0;\n            }\n            uVar12 = uVar11;\n            uVar11 = iVar9 + -0x37 + uVar11 * 0x24;\n          }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n            if (uVar11 < uVar12) {\n              return (undefined4 *)0x0;\n            }\n            pcVar3 = *(char **)(param_1 + 0x18);\n            cVar5 = *pcVar3;\n            if (cVar5 != '\0') {\n              *(char **)(param_1 + 0x18) = pcVar3 + 1;\n              cVar5 = *pcVar3;\n              if (cVar5 == '_') {\n                uVar10 = (ulong)(uVar11 + 1);\n                goto LAB_002f791a;\n              }\n            }\n            iVar9 = (int)cVar5;\n            if ((byte)(cVar5 - 0x30U) < 10) break;\nLAB_002f797f:\n            if (0x19 < (byte)((char)iVar9 + 0xbfU)) {\n              return (undefined4 *)0x0;\n            }\n            uVar12 = uVar11;\n            uVar11 = iVar9 + -0x37 + uVar11 * 0x24;\n          }" { (if_statement "if (uVar11 < uVar12) {\n              return (undefined4 *)0x0;\n            }" if (parenthesized_expression "(uVar11 < uVar12)" ( (binary_expression "uVar11 < uVar12" identifier < identifier) )) (compound_statement "{\n              return (undefined4 *)0x0;\n            }" { (return_statement "return (undefined4 *)0x0;" return (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) (expression_statement "pcVar3 = *(char **)(param_1 + 0x18);" (assignment_expression "pcVar3 = *(char **)(param_1 + 0x18)" identifier = (pointer_expression "*(char **)(param_1 + 0x18)" * (cast_expression "(char **)(param_1 + 0x18)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) ))))) ;) (expression_statement "cVar5 = *pcVar3;" (assignment_expression "cVar5 = *pcVar3" identifier = (pointer_expression "*pcVar3" * identifier)) ;) (if_statement "if (cVar5 != '\0') {\n              *(char **)(param_1 + 0x18) = pcVar3 + 1;\n              cVar5 = *pcVar3;\n              if (cVar5 == '_') {\n                uVar10 = (ulong)(uVar11 + 1);\n                goto LAB_002f791a;\n              }\n            }" if (parenthesized_expression "(cVar5 != '\0')" ( (binary_expression "cVar5 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n              *(char **)(param_1 + 0x18) = pcVar3 + 1;\n              cVar5 = *pcVar3;\n              if (cVar5 == '_') {\n                uVar10 = (ulong)(uVar11 + 1);\n                goto LAB_002f791a;\n              }\n            }" { (expression_statement "*(char **)(param_1 + 0x18) = pcVar3 + 1;" (assignment_expression "*(char **)(param_1 + 0x18) = pcVar3 + 1" (pointer_expression "*(char **)(param_1 + 0x18)" * (cast_expression "(char **)(param_1 + 0x18)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) )))) = (binary_expression "pcVar3 + 1" identifier + number_literal)) ;) (expression_statement "cVar5 = *pcVar3;" (assignment_expression "cVar5 = *pcVar3" identifier = (pointer_expression "*pcVar3" * identifier)) ;) (if_statement "if (cVar5 == '_') {\n                uVar10 = (ulong)(uVar11 + 1);\n                goto LAB_002f791a;\n              }" if (parenthesized_expression "(cVar5 == '_')" ( (binary_expression "cVar5 == '_'" identifier == (char_literal "'_'" ' character ')) )) (compound_statement "{\n                uVar10 = (ulong)(uVar11 + 1);\n                goto LAB_002f791a;\n              }" { (expression_statement "uVar10 = (ulong)(uVar11 + 1);" (assignment_expression "uVar10 = (ulong)(uVar11 + 1)" identifier = (call_expression "(ulong)(uVar11 + 1)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(uVar11 + 1)" ( (binary_expression "uVar11 + 1" identifier + number_literal) )))) ;) (goto_statement "goto LAB_002f791a;" goto statement_identifier ;) })) })) (expression_statement "iVar9 = (int)cVar5;" (assignment_expression "iVar9 = (int)cVar5" identifier = (cast_expression "(int)cVar5" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (if_statement "if ((byte)(cVar5 - 0x30U) < 10) break;" if (parenthesized_expression "((byte)(cVar5 - 0x30U) < 10)" ( (binary_expression "(byte)(cVar5 - 0x30U) < 10" (call_expression "(byte)(cVar5 - 0x30U)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(cVar5 - 0x30U)" ( (binary_expression "cVar5 - 0x30U" identifier - number_literal) ))) < number_literal) )) (break_statement "break;" break ;)) (labeled_statement "LAB_002f797f:\n            if (0x19 < (byte)((char)iVar9 + 0xbfU)) {\n              return (undefined4 *)0x0;\n            }" statement_identifier : (if_statement "if (0x19 < (byte)((char)iVar9 + 0xbfU)) {\n              return (undefined4 *)0x0;\n            }" if (parenthesized_expression "(0x19 < (byte)((char)iVar9 + 0xbfU))" ( (binary_expression "0x19 < (byte)((char)iVar9 + 0xbfU)" number_literal < (call_expression "(byte)((char)iVar9 + 0xbfU)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "((char)iVar9 + 0xbfU)" ( (binary_expression "(char)iVar9 + 0xbfU" (cast_expression "(char)iVar9" ( (type_descriptor "char" primitive_type) ) identifier) + number_literal) )))) )) (compound_statement "{\n              return (undefined4 *)0x0;\n            }" { (return_statement "return (undefined4 *)0x0;" return (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ;) }))) (expression_statement "uVar12 = uVar11;" (assignment_expression "uVar12 = uVar11" identifier = identifier) ;) (expression_statement "uVar11 = iVar9 + -0x37 + uVar11 * 0x24;" (assignment_expression "uVar11 = iVar9 + -0x37 + uVar11 * 0x24" identifier = (binary_expression "iVar9 + -0x37 + uVar11 * 0x24" (binary_expression "iVar9 + -0x37" identifier + number_literal) + (binary_expression "uVar11 * 0x24" identifier * number_literal))) ;) })) }) while (parenthesized_expression "( true )" ( true )) ;) })) (if_statement "if ((byte)(cVar5 + 0xbfU) < 0x1a) goto LAB_002f7940;" if (parenthesized_expression "((byte)(cVar5 + 0xbfU) < 0x1a)" ( (binary_expression "(byte)(cVar5 + 0xbfU) < 0x1a" (call_expression "(byte)(cVar5 + 0xbfU)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(cVar5 + 0xbfU)" ( (binary_expression "cVar5 + 0xbfU" identifier + number_literal) ))) < number_literal) )) (goto_statement "goto LAB_002f7940;" goto statement_identifier ;)) })) (expression_statement "bVar16 = (*(uint *)(param_1 + 0x10) & 8) != 0;" (assignment_expression "bVar16 = (*(uint *)(param_1 + 0x10) & 8) != 0" identifier = (binary_expression "(*(uint *)(param_1 + 0x10) & 8) != 0" (parenthesized_expression "(*(uint *)(param_1 + 0x10) & 8)" ( (binary_expression "*(uint *)(param_1 + 0x10) & 8" (pointer_expression "*(uint *)(param_1 + 0x10)" * (cast_expression "(uint *)(param_1 + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) & number_literal) )) != number_literal)) ;) (if_statement "if (((!bVar16) && ((param_2 & 1) != 0)) && ((byte)(**(char **)(param_1 + 0x18) + 0xbdU) < 2)) {\n      bVar16 = true;\n    }" if (parenthesized_expression "(((!bVar16) && ((param_2 & 1) != 0)) && ((byte)(**(char **)(param_1 + 0x18) + 0xbdU) < 2))" ( (binary_expression "((!bVar16) && ((param_2 & 1) != 0)) && ((byte)(**(char **)(param_1 + 0x18) + 0xbdU) < 2)" (parenthesized_expression "((!bVar16) && ((param_2 & 1) != 0))" ( (binary_expression "(!bVar16) && ((param_2 & 1) != 0)" (parenthesized_expression "(!bVar16)" ( (unary_expression "!bVar16" ! identifier) )) && (parenthesized_expression "((param_2 & 1) != 0)" ( (binary_expression "(param_2 & 1) != 0" (parenthesized_expression "(param_2 & 1)" ( (binary_expression "param_2 & 1" identifier & number_literal) )) != number_literal) ))) )) && (parenthesized_expression "((byte)(**(char **)(param_1 + 0x18) + 0xbdU) < 2)" ( (binary_expression "(byte)(**(char **)(param_1 + 0x18) + 0xbdU) < 2" (call_expression "(byte)(**(char **)(param_1 + 0x18) + 0xbdU)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(**(char **)(param_1 + 0x18) + 0xbdU)" ( (binary_expression "**(char **)(param_1 + 0x18) + 0xbdU" (pointer_expression "**(char **)(param_1 + 0x18)" * (pointer_expression "*(char **)(param_1 + 0x18)" * (cast_expression "(char **)(param_1 + 0x18)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) ))))) + number_literal) ))) < number_literal) ))) )) (compound_statement "{\n      bVar16 = true;\n    }" { (expression_statement "bVar16 = true;" (assignment_expression "bVar16 = true" identifier = true) ;) })) (expression_statement "puVar14 = standard_subs;" (assignment_expression "puVar14 = standard_subs" identifier = identifier) ;) (expression_statement "cVar8 = 't';" (assignment_expression "cVar8 = 't'" identifier = (char_literal "'t'" ' character ')) ;) (while_statement "while( true ) {\n      if (cVar5 == cVar8) {\n        lVar4 = *(long *)(puVar14 + 0x28);\n        iVar9 = *(int *)(param_1 + 0x28);\n        iVar1 = *(int *)(param_1 + 0x2c);\n        if (lVar4 != 0) {\n          uVar2 = *(undefined4 *)(puVar14 + 0x30);\n          if (iVar9 < iVar1) {\n            lVar6 = (long)iVar9;\n            iVar9 = iVar9 + 1;\n            puVar7 = (undefined4 *)(*(long *)(param_1 + 0x20) + lVar6 * 0x18);\n            puVar7[1] = 0;\n            *(int *)(param_1 + 0x28) = iVar9;\n            *puVar7 = 0x18;\n            *(long *)(puVar7 + 2) = lVar4;\n            puVar7[4] = uVar2;\n          }\n          else {\n            puVar7 = (undefined4 *)0x0;\n          }\n          *(undefined4 **)(param_1 + 0x40) = puVar7;\n        }\n        if (bVar16) {\n          uVar15 = *(undefined8 *)(puVar14 + 0x18);\n          iVar13 = *(int *)(puVar14 + 0x20);\n        }\n        else {\n          uVar15 = *(undefined8 *)(puVar14 + 8);\n          iVar13 = *(int *)(puVar14 + 0x10);\n        }\n        *(int *)(param_1 + 0x48) = *(int *)(param_1 + 0x48) + iVar13;\n        if (iVar9 < iVar1) {\n          puVar7 = (undefined4 *)(*(long *)(param_1 + 0x20) + (long)iVar9 * 0x18);\n          puVar7[1] = 0;\n          *(int *)(param_1 + 0x28) = iVar9 + 1;\n          *puVar7 = 0x18;\n          *(undefined8 *)(puVar7 + 2) = uVar15;\n          puVar7[4] = iVar13;\n        }\n        else {\n          puVar7 = (undefined4 *)0x0;\n        }\n        if (**(char **)(param_1 + 0x18) != 'B') {\n          return puVar7;\n        }\n        puVar7 = (undefined4 *)d_abi_tags(param_1,puVar7);\n        if ((puVar7 != (undefined4 *)0x0) &&\n           (iVar9 = *(int *)(param_1 + 0x38), iVar9 < *(int *)(param_1 + 0x3c))) {\n          *(undefined4 **)(*(long *)(param_1 + 0x30) + (long)iVar9 * 8) = puVar7;\n          *(int *)(param_1 + 0x38) = iVar9 + 1;\n          return puVar7;\n        }\n        return (undefined4 *)0x0;\n      }\n      puVar14 = puVar14 + 0x38;\n      if (puVar14 == "") break;\n      cVar8 = *puVar14;\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      if (cVar5 == cVar8) {\n        lVar4 = *(long *)(puVar14 + 0x28);\n        iVar9 = *(int *)(param_1 + 0x28);\n        iVar1 = *(int *)(param_1 + 0x2c);\n        if (lVar4 != 0) {\n          uVar2 = *(undefined4 *)(puVar14 + 0x30);\n          if (iVar9 < iVar1) {\n            lVar6 = (long)iVar9;\n            iVar9 = iVar9 + 1;\n            puVar7 = (undefined4 *)(*(long *)(param_1 + 0x20) + lVar6 * 0x18);\n            puVar7[1] = 0;\n            *(int *)(param_1 + 0x28) = iVar9;\n            *puVar7 = 0x18;\n            *(long *)(puVar7 + 2) = lVar4;\n            puVar7[4] = uVar2;\n          }\n          else {\n            puVar7 = (undefined4 *)0x0;\n          }\n          *(undefined4 **)(param_1 + 0x40) = puVar7;\n        }\n        if (bVar16) {\n          uVar15 = *(undefined8 *)(puVar14 + 0x18);\n          iVar13 = *(int *)(puVar14 + 0x20);\n        }\n        else {\n          uVar15 = *(undefined8 *)(puVar14 + 8);\n          iVar13 = *(int *)(puVar14 + 0x10);\n        }\n        *(int *)(param_1 + 0x48) = *(int *)(param_1 + 0x48) + iVar13;\n        if (iVar9 < iVar1) {\n          puVar7 = (undefined4 *)(*(long *)(param_1 + 0x20) + (long)iVar9 * 0x18);\n          puVar7[1] = 0;\n          *(int *)(param_1 + 0x28) = iVar9 + 1;\n          *puVar7 = 0x18;\n          *(undefined8 *)(puVar7 + 2) = uVar15;\n          puVar7[4] = iVar13;\n        }\n        else {\n          puVar7 = (undefined4 *)0x0;\n        }\n        if (**(char **)(param_1 + 0x18) != 'B') {\n          return puVar7;\n        }\n        puVar7 = (undefined4 *)d_abi_tags(param_1,puVar7);\n        if ((puVar7 != (undefined4 *)0x0) &&\n           (iVar9 = *(int *)(param_1 + 0x38), iVar9 < *(int *)(param_1 + 0x3c))) {\n          *(undefined4 **)(*(long *)(param_1 + 0x30) + (long)iVar9 * 8) = puVar7;\n          *(int *)(param_1 + 0x38) = iVar9 + 1;\n          return puVar7;\n        }\n        return (undefined4 *)0x0;\n      }\n      puVar14 = puVar14 + 0x38;\n      if (puVar14 == "") break;\n      cVar8 = *puVar14;\n    }" { (if_statement "if (cVar5 == cVar8) {\n        lVar4 = *(long *)(puVar14 + 0x28);\n        iVar9 = *(int *)(param_1 + 0x28);\n        iVar1 = *(int *)(param_1 + 0x2c);\n        if (lVar4 != 0) {\n          uVar2 = *(undefined4 *)(puVar14 + 0x30);\n          if (iVar9 < iVar1) {\n            lVar6 = (long)iVar9;\n            iVar9 = iVar9 + 1;\n            puVar7 = (undefined4 *)(*(long *)(param_1 + 0x20) + lVar6 * 0x18);\n            puVar7[1] = 0;\n            *(int *)(param_1 + 0x28) = iVar9;\n            *puVar7 = 0x18;\n            *(long *)(puVar7 + 2) = lVar4;\n            puVar7[4] = uVar2;\n          }\n          else {\n            puVar7 = (undefined4 *)0x0;\n          }\n          *(undefined4 **)(param_1 + 0x40) = puVar7;\n        }\n        if (bVar16) {\n          uVar15 = *(undefined8 *)(puVar14 + 0x18);\n          iVar13 = *(int *)(puVar14 + 0x20);\n        }\n        else {\n          uVar15 = *(undefined8 *)(puVar14 + 8);\n          iVar13 = *(int *)(puVar14 + 0x10);\n        }\n        *(int *)(param_1 + 0x48) = *(int *)(param_1 + 0x48) + iVar13;\n        if (iVar9 < iVar1) {\n          puVar7 = (undefined4 *)(*(long *)(param_1 + 0x20) + (long)iVar9 * 0x18);\n          puVar7[1] = 0;\n          *(int *)(param_1 + 0x28) = iVar9 + 1;\n          *puVar7 = 0x18;\n          *(undefined8 *)(puVar7 + 2) = uVar15;\n          puVar7[4] = iVar13;\n        }\n        else {\n          puVar7 = (undefined4 *)0x0;\n        }\n        if (**(char **)(param_1 + 0x18) != 'B') {\n          return puVar7;\n        }\n        puVar7 = (undefined4 *)d_abi_tags(param_1,puVar7);\n        if ((puVar7 != (undefined4 *)0x0) &&\n           (iVar9 = *(int *)(param_1 + 0x38), iVar9 < *(int *)(param_1 + 0x3c))) {\n          *(undefined4 **)(*(long *)(param_1 + 0x30) + (long)iVar9 * 8) = puVar7;\n          *(int *)(param_1 + 0x38) = iVar9 + 1;\n          return puVar7;\n        }\n        return (undefined4 *)0x0;\n      }" if (parenthesized_expression "(cVar5 == cVar8)" ( (binary_expression "cVar5 == cVar8" identifier == identifier) )) (compound_statement "{\n        lVar4 = *(long *)(puVar14 + 0x28);\n        iVar9 = *(int *)(param_1 + 0x28);\n        iVar1 = *(int *)(param_1 + 0x2c);\n        if (lVar4 != 0) {\n          uVar2 = *(undefined4 *)(puVar14 + 0x30);\n          if (iVar9 < iVar1) {\n            lVar6 = (long)iVar9;\n            iVar9 = iVar9 + 1;\n            puVar7 = (undefined4 *)(*(long *)(param_1 + 0x20) + lVar6 * 0x18);\n            puVar7[1] = 0;\n            *(int *)(param_1 + 0x28) = iVar9;\n            *puVar7 = 0x18;\n            *(long *)(puVar7 + 2) = lVar4;\n            puVar7[4] = uVar2;\n          }\n          else {\n            puVar7 = (undefined4 *)0x0;\n          }\n          *(undefined4 **)(param_1 + 0x40) = puVar7;\n        }\n        if (bVar16) {\n          uVar15 = *(undefined8 *)(puVar14 + 0x18);\n          iVar13 = *(int *)(puVar14 + 0x20);\n        }\n        else {\n          uVar15 = *(undefined8 *)(puVar14 + 8);\n          iVar13 = *(int *)(puVar14 + 0x10);\n        }\n        *(int *)(param_1 + 0x48) = *(int *)(param_1 + 0x48) + iVar13;\n        if (iVar9 < iVar1) {\n          puVar7 = (undefined4 *)(*(long *)(param_1 + 0x20) + (long)iVar9 * 0x18);\n          puVar7[1] = 0;\n          *(int *)(param_1 + 0x28) = iVar9 + 1;\n          *puVar7 = 0x18;\n          *(undefined8 *)(puVar7 + 2) = uVar15;\n          puVar7[4] = iVar13;\n        }\n        else {\n          puVar7 = (undefined4 *)0x0;\n        }\n        if (**(char **)(param_1 + 0x18) != 'B') {\n          return puVar7;\n        }\n        puVar7 = (undefined4 *)d_abi_tags(param_1,puVar7);\n        if ((puVar7 != (undefined4 *)0x0) &&\n           (iVar9 = *(int *)(param_1 + 0x38), iVar9 < *(int *)(param_1 + 0x3c))) {\n          *(undefined4 **)(*(long *)(param_1 + 0x30) + (long)iVar9 * 8) = puVar7;\n          *(int *)(param_1 + 0x38) = iVar9 + 1;\n          return puVar7;\n        }\n        return (undefined4 *)0x0;\n      }" { (expression_statement "lVar4 = *(long *)(puVar14 + 0x28);" (assignment_expression "lVar4 = *(long *)(puVar14 + 0x28)" identifier = (pointer_expression "*(long *)(puVar14 + 0x28)" * (cast_expression "(long *)(puVar14 + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar14 + 0x28)" ( (binary_expression "puVar14 + 0x28" identifier + number_literal) ))))) ;) (expression_statement "iVar9 = *(int *)(param_1 + 0x28);" (assignment_expression "iVar9 = *(int *)(param_1 + 0x28)" identifier = (pointer_expression "*(int *)(param_1 + 0x28)" * (cast_expression "(int *)(param_1 + 0x28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x28)" ( (binary_expression "param_1 + 0x28" identifier + number_literal) ))))) ;) (expression_statement "iVar1 = *(int *)(param_1 + 0x2c);" (assignment_expression "iVar1 = *(int *)(param_1 + 0x2c)" identifier = (pointer_expression "*(int *)(param_1 + 0x2c)" * (cast_expression "(int *)(param_1 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2c)" ( (binary_expression "param_1 + 0x2c" identifier + number_literal) ))))) ;) (if_statement "if (lVar4 != 0) {\n          uVar2 = *(undefined4 *)(puVar14 + 0x30);\n          if (iVar9 < iVar1) {\n            lVar6 = (long)iVar9;\n            iVar9 = iVar9 + 1;\n            puVar7 = (undefined4 *)(*(long *)(param_1 + 0x20) + lVar6 * 0x18);\n            puVar7[1] = 0;\n            *(int *)(param_1 + 0x28) = iVar9;\n            *puVar7 = 0x18;\n            *(long *)(puVar7 + 2) = lVar4;\n            puVar7[4] = uVar2;\n          }\n          else {\n            puVar7 = (undefined4 *)0x0;\n          }\n          *(undefined4 **)(param_1 + 0x40) = puVar7;\n        }" if (parenthesized_expression "(lVar4 != 0)" ( (binary_expression "lVar4 != 0" identifier != number_literal) )) (compound_statement "{\n          uVar2 = *(undefined4 *)(puVar14 + 0x30);\n          if (iVar9 < iVar1) {\n            lVar6 = (long)iVar9;\n            iVar9 = iVar9 + 1;\n            puVar7 = (undefined4 *)(*(long *)(param_1 + 0x20) + lVar6 * 0x18);\n            puVar7[1] = 0;\n            *(int *)(param_1 + 0x28) = iVar9;\n            *puVar7 = 0x18;\n            *(long *)(puVar7 + 2) = lVar4;\n            puVar7[4] = uVar2;\n          }\n          else {\n            puVar7 = (undefined4 *)0x0;\n          }\n          *(undefined4 **)(param_1 + 0x40) = puVar7;\n        }" { (expression_statement "uVar2 = *(undefined4 *)(puVar14 + 0x30);" (assignment_expression "uVar2 = *(undefined4 *)(puVar14 + 0x30)" identifier = (pointer_expression "*(undefined4 *)(puVar14 + 0x30)" * (cast_expression "(undefined4 *)(puVar14 + 0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar14 + 0x30)" ( (binary_expression "puVar14 + 0x30" identifier + number_literal) ))))) ;) (if_statement "if (iVar9 < iVar1) {\n            lVar6 = (long)iVar9;\n            iVar9 = iVar9 + 1;\n            puVar7 = (undefined4 *)(*(long *)(param_1 + 0x20) + lVar6 * 0x18);\n            puVar7[1] = 0;\n            *(int *)(param_1 + 0x28) = iVar9;\n            *puVar7 = 0x18;\n            *(long *)(puVar7 + 2) = lVar4;\n            puVar7[4] = uVar2;\n          }\n          else {\n            puVar7 = (undefined4 *)0x0;\n          }" if (parenthesized_expression "(iVar9 < iVar1)" ( (binary_expression "iVar9 < iVar1" identifier < identifier) )) (compound_statement "{\n            lVar6 = (long)iVar9;\n            iVar9 = iVar9 + 1;\n            puVar7 = (undefined4 *)(*(long *)(param_1 + 0x20) + lVar6 * 0x18);\n            puVar7[1] = 0;\n            *(int *)(param_1 + 0x28) = iVar9;\n            *puVar7 = 0x18;\n            *(long *)(puVar7 + 2) = lVar4;\n            puVar7[4] = uVar2;\n          }" { (expression_statement "lVar6 = (long)iVar9;" (assignment_expression "lVar6 = (long)iVar9" identifier = (cast_expression "(long)iVar9" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) ;) (expression_statement "iVar9 = iVar9 + 1;" (assignment_expression "iVar9 = iVar9 + 1" identifier = (binary_expression "iVar9 + 1" identifier + number_literal)) ;) (expression_statement "puVar7 = (undefined4 *)(*(long *)(param_1 + 0x20) + lVar6 * 0x18);" (assignment_expression "puVar7 = (undefined4 *)(*(long *)(param_1 + 0x20) + lVar6 * 0x18)" identifier = (cast_expression "(undefined4 *)(*(long *)(param_1 + 0x20) + lVar6 * 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(param_1 + 0x20) + lVar6 * 0x18)" ( (binary_expression "*(long *)(param_1 + 0x20) + lVar6 * 0x18" (pointer_expression "*(long *)(param_1 + 0x20)" * (cast_expression "(long *)(param_1 + 0x20)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) )))) + (binary_expression "lVar6 * 0x18" identifier * number_literal)) )))) ;) (expression_statement "puVar7[1] = 0;" (assignment_expression "puVar7[1] = 0" (subscript_expression "puVar7[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(int *)(param_1 + 0x28) = iVar9;" (assignment_expression "*(int *)(param_1 + 0x28) = iVar9" (pointer_expression "*(int *)(param_1 + 0x28)" * (cast_expression "(int *)(param_1 + 0x28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x28)" ( (binary_expression "param_1 + 0x28" identifier + number_literal) )))) = identifier) ;) (expression_statement "*puVar7 = 0x18;" (assignment_expression "*puVar7 = 0x18" (pointer_expression "*puVar7" * identifier) = number_literal) ;) (expression_statement "*(long *)(puVar7 + 2) = lVar4;" (assignment_expression "*(long *)(puVar7 + 2) = lVar4" (pointer_expression "*(long *)(puVar7 + 2)" * (cast_expression "(long *)(puVar7 + 2)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + 2)" ( (binary_expression "puVar7 + 2" identifier + number_literal) )))) = identifier) ;) (expression_statement "puVar7[4] = uVar2;" (assignment_expression "puVar7[4] = uVar2" (subscript_expression "puVar7[4]" identifier [ number_literal ]) = identifier) ;) }) (else_clause "else {\n            puVar7 = (undefined4 *)0x0;\n          }" else (compound_statement "{\n            puVar7 = (undefined4 *)0x0;\n          }" { (expression_statement "puVar7 = (undefined4 *)0x0;" (assignment_expression "puVar7 = (undefined4 *)0x0" identifier = (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }))) (expression_statement "*(undefined4 **)(param_1 + 0x40) = puVar7;" (assignment_expression "*(undefined4 **)(param_1 + 0x40) = puVar7" (pointer_expression "*(undefined4 **)(param_1 + 0x40)" * (cast_expression "(undefined4 **)(param_1 + 0x40)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x40)" ( (binary_expression "param_1 + 0x40" identifier + number_literal) )))) = identifier) ;) })) (if_statement "if (bVar16) {\n          uVar15 = *(undefined8 *)(puVar14 + 0x18);\n          iVar13 = *(int *)(puVar14 + 0x20);\n        }\n        else {\n          uVar15 = *(undefined8 *)(puVar14 + 8);\n          iVar13 = *(int *)(puVar14 + 0x10);\n        }" if (parenthesized_expression "(bVar16)" ( identifier )) (compound_statement "{\n          uVar15 = *(undefined8 *)(puVar14 + 0x18);\n          iVar13 = *(int *)(puVar14 + 0x20);\n        }" { (expression_statement "uVar15 = *(undefined8 *)(puVar14 + 0x18);" (assignment_expression "uVar15 = *(undefined8 *)(puVar14 + 0x18)" identifier = (pointer_expression "*(undefined8 *)(puVar14 + 0x18)" * (cast_expression "(undefined8 *)(puVar14 + 0x18)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar14 + 0x18)" ( (binary_expression "puVar14 + 0x18" identifier + number_literal) ))))) ;) (expression_statement "iVar13 = *(int *)(puVar14 + 0x20);" (assignment_expression "iVar13 = *(int *)(puVar14 + 0x20)" identifier = (pointer_expression "*(int *)(puVar14 + 0x20)" * (cast_expression "(int *)(puVar14 + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar14 + 0x20)" ( (binary_expression "puVar14 + 0x20" identifier + number_literal) ))))) ;) }) (else_clause "else {\n          uVar15 = *(undefined8 *)(puVar14 + 8);\n          iVar13 = *(int *)(puVar14 + 0x10);\n        }" else (compound_statement "{\n          uVar15 = *(undefined8 *)(puVar14 + 8);\n          iVar13 = *(int *)(puVar14 + 0x10);\n        }" { (expression_statement "uVar15 = *(undefined8 *)(puVar14 + 8);" (assignment_expression "uVar15 = *(undefined8 *)(puVar14 + 8)" identifier = (pointer_expression "*(undefined8 *)(puVar14 + 8)" * (cast_expression "(undefined8 *)(puVar14 + 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar14 + 8)" ( (binary_expression "puVar14 + 8" identifier + number_literal) ))))) ;) (expression_statement "iVar13 = *(int *)(puVar14 + 0x10);" (assignment_expression "iVar13 = *(int *)(puVar14 + 0x10)" identifier = (pointer_expression "*(int *)(puVar14 + 0x10)" * (cast_expression "(int *)(puVar14 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar14 + 0x10)" ( (binary_expression "puVar14 + 0x10" identifier + number_literal) ))))) ;) }))) (expression_statement "*(int *)(param_1 + 0x48) = *(int *)(param_1 + 0x48) + iVar13;" (assignment_expression "*(int *)(param_1 + 0x48) = *(int *)(param_1 + 0x48) + iVar13" (pointer_expression "*(int *)(param_1 + 0x48)" * (cast_expression "(int *)(param_1 + 0x48)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x48)" ( (binary_expression "param_1 + 0x48" identifier + number_literal) )))) = (binary_expression "*(int *)(param_1 + 0x48) + iVar13" (pointer_expression "*(int *)(param_1 + 0x48)" * (cast_expression "(int *)(param_1 + 0x48)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x48)" ( (binary_expression "param_1 + 0x48" identifier + number_literal) )))) + identifier)) ;) (if_statement "if (iVar9 < iVar1) {\n          puVar7 = (undefined4 *)(*(long *)(param_1 + 0x20) + (long)iVar9 * 0x18);\n          puVar7[1] = 0;\n          *(int *)(param_1 + 0x28) = iVar9 + 1;\n          *puVar7 = 0x18;\n          *(undefined8 *)(puVar7 + 2) = uVar15;\n          puVar7[4] = iVar13;\n        }\n        else {\n          puVar7 = (undefined4 *)0x0;\n        }" if (parenthesized_expression "(iVar9 < iVar1)" ( (binary_expression "iVar9 < iVar1" identifier < identifier) )) (compound_statement "{\n          puVar7 = (undefined4 *)(*(long *)(param_1 + 0x20) + (long)iVar9 * 0x18);\n          puVar7[1] = 0;\n          *(int *)(param_1 + 0x28) = iVar9 + 1;\n          *puVar7 = 0x18;\n          *(undefined8 *)(puVar7 + 2) = uVar15;\n          puVar7[4] = iVar13;\n        }" { (expression_statement "puVar7 = (undefined4 *)(*(long *)(param_1 + 0x20) + (long)iVar9 * 0x18);" (assignment_expression "puVar7 = (undefined4 *)(*(long *)(param_1 + 0x20) + (long)iVar9 * 0x18)" identifier = (cast_expression "(undefined4 *)(*(long *)(param_1 + 0x20) + (long)iVar9 * 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(param_1 + 0x20) + (long)iVar9 * 0x18)" ( (binary_expression "*(long *)(param_1 + 0x20) + (long)iVar9 * 0x18" (pointer_expression "*(long *)(param_1 + 0x20)" * (cast_expression "(long *)(param_1 + 0x20)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) )))) + (binary_expression "(long)iVar9 * 0x18" (cast_expression "(long)iVar9" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) * number_literal)) )))) ;) (expression_statement "puVar7[1] = 0;" (assignment_expression "puVar7[1] = 0" (subscript_expression "puVar7[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(int *)(param_1 + 0x28) = iVar9 + 1;" (assignment_expression "*(int *)(param_1 + 0x28) = iVar9 + 1" (pointer_expression "*(int *)(param_1 + 0x28)" * (cast_expression "(int *)(param_1 + 0x28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x28)" ( (binary_expression "param_1 + 0x28" identifier + number_literal) )))) = (binary_expression "iVar9 + 1" identifier + number_literal)) ;) (expression_statement "*puVar7 = 0x18;" (assignment_expression "*puVar7 = 0x18" (pointer_expression "*puVar7" * identifier) = number_literal) ;) (expression_statement "*(undefined8 *)(puVar7 + 2) = uVar15;" (assignment_expression "*(undefined8 *)(puVar7 + 2) = uVar15" (pointer_expression "*(undefined8 *)(puVar7 + 2)" * (cast_expression "(undefined8 *)(puVar7 + 2)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + 2)" ( (binary_expression "puVar7 + 2" identifier + number_literal) )))) = identifier) ;) (expression_statement "puVar7[4] = iVar13;" (assignment_expression "puVar7[4] = iVar13" (subscript_expression "puVar7[4]" identifier [ number_literal ]) = identifier) ;) }) (else_clause "else {\n          puVar7 = (undefined4 *)0x0;\n        }" else (compound_statement "{\n          puVar7 = (undefined4 *)0x0;\n        }" { (expression_statement "puVar7 = (undefined4 *)0x0;" (assignment_expression "puVar7 = (undefined4 *)0x0" identifier = (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }))) (if_statement "if (**(char **)(param_1 + 0x18) != 'B') {\n          return puVar7;\n        }" if (parenthesized_expression "(**(char **)(param_1 + 0x18) != 'B')" ( (binary_expression "**(char **)(param_1 + 0x18) != 'B'" (pointer_expression "**(char **)(param_1 + 0x18)" * (pointer_expression "*(char **)(param_1 + 0x18)" * (cast_expression "(char **)(param_1 + 0x18)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) ))))) != (char_literal "'B'" ' character ')) )) (compound_statement "{\n          return puVar7;\n        }" { (return_statement "return puVar7;" return identifier ;) })) (expression_statement "puVar7 = (undefined4 *)d_abi_tags(param_1,puVar7);" (assignment_expression "puVar7 = (undefined4 *)d_abi_tags(param_1,puVar7)" identifier = (cast_expression "(undefined4 *)d_abi_tags(param_1,puVar7)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "d_abi_tags(param_1,puVar7)" identifier (argument_list "(param_1,puVar7)" ( identifier , identifier ))))) ;) (if_statement "if ((puVar7 != (undefined4 *)0x0) &&\n           (iVar9 = *(int *)(param_1 + 0x38), iVar9 < *(int *)(param_1 + 0x3c))) {\n          *(undefined4 **)(*(long *)(param_1 + 0x30) + (long)iVar9 * 8) = puVar7;\n          *(int *)(param_1 + 0x38) = iVar9 + 1;\n          return puVar7;\n        }" if (parenthesized_expression "((puVar7 != (undefined4 *)0x0) &&\n           (iVar9 = *(int *)(param_1 + 0x38), iVar9 < *(int *)(param_1 + 0x3c)))" ( (binary_expression "(puVar7 != (undefined4 *)0x0) &&\n           (iVar9 = *(int *)(param_1 + 0x38), iVar9 < *(int *)(param_1 + 0x3c))" (parenthesized_expression "(puVar7 != (undefined4 *)0x0)" ( (binary_expression "puVar7 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(iVar9 = *(int *)(param_1 + 0x38), iVar9 < *(int *)(param_1 + 0x3c))" ( (comma_expression "iVar9 = *(int *)(param_1 + 0x38), iVar9 < *(int *)(param_1 + 0x3c)" (assignment_expression "iVar9 = *(int *)(param_1 + 0x38)" identifier = (pointer_expression "*(int *)(param_1 + 0x38)" * (cast_expression "(int *)(param_1 + 0x38)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x38)" ( (binary_expression "param_1 + 0x38" identifier + number_literal) ))))) , (binary_expression "iVar9 < *(int *)(param_1 + 0x3c)" identifier < (pointer_expression "*(int *)(param_1 + 0x3c)" * (cast_expression "(int *)(param_1 + 0x3c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x3c)" ( (binary_expression "param_1 + 0x3c" identifier + number_literal) )))))) ))) )) (compound_statement "{\n          *(undefined4 **)(*(long *)(param_1 + 0x30) + (long)iVar9 * 8) = puVar7;\n          *(int *)(param_1 + 0x38) = iVar9 + 1;\n          return puVar7;\n        }" { (expression_statement "*(undefined4 **)(*(long *)(param_1 + 0x30) + (long)iVar9 * 8) = puVar7;" (assignment_expression "*(undefined4 **)(*(long *)(param_1 + 0x30) + (long)iVar9 * 8) = puVar7" (pointer_expression "*(undefined4 **)(*(long *)(param_1 + 0x30) + (long)iVar9 * 8)" * (cast_expression "(undefined4 **)(*(long *)(param_1 + 0x30) + (long)iVar9 * 8)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(long *)(param_1 + 0x30) + (long)iVar9 * 8)" ( (binary_expression "*(long *)(param_1 + 0x30) + (long)iVar9 * 8" (pointer_expression "*(long *)(param_1 + 0x30)" * (cast_expression "(long *)(param_1 + 0x30)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x30)" ( (binary_expression "param_1 + 0x30" identifier + number_literal) )))) + (binary_expression "(long)iVar9 * 8" (cast_expression "(long)iVar9" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) * number_literal)) )))) = identifier) ;) (expression_statement "*(int *)(param_1 + 0x38) = iVar9 + 1;" (assignment_expression "*(int *)(param_1 + 0x38) = iVar9 + 1" (pointer_expression "*(int *)(param_1 + 0x38)" * (cast_expression "(int *)(param_1 + 0x38)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x38)" ( (binary_expression "param_1 + 0x38" identifier + number_literal) )))) = (binary_expression "iVar9 + 1" identifier + number_literal)) ;) (return_statement "return puVar7;" return identifier ;) })) (return_statement "return (undefined4 *)0x0;" return (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) (expression_statement "puVar14 = puVar14 + 0x38;" (assignment_expression "puVar14 = puVar14 + 0x38" identifier = (binary_expression "puVar14 + 0x38" identifier + number_literal)) ;) (if_statement "if (puVar14 == "") break;" if (parenthesized_expression "(puVar14 == "")" ( (binary_expression "puVar14 == """ identifier == (string_literal """" " ")) )) (break_statement "break;" break ;)) (expression_statement "cVar8 = *puVar14;" (assignment_expression "cVar8 = *puVar14" identifier = (pointer_expression "*puVar14" * identifier)) ;) })) })) (return_statement "return (undefined4 *)0x0;" return (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ;) })))
(translation_unit "undefined4 * FUN_002f7880(long param_1,uint param_2)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  long lVar3;\n  char cVar4;\n  long lVar5;\n  undefined4 *puVar6;\n  char cVar7;\n  int iVar8;\n  ulong uVar9;\n  uint uVar10;\n  uint uVar11;\n  int iVar12;\n  char *pcVar13;\n  undefined8 uVar14;\n  bool bVar15;\n  \n  pcVar13 = *(char **)(param_1 + 0x18);\n  if (*pcVar13 == 'S') {\n    *(char **)(param_1 + 0x18) = pcVar13 + 1;\n    cVar4 = pcVar13[1];\n    if (cVar4 != '\0') {\n      *(char **)(param_1 + 0x18) = pcVar13 + 2;\n      cVar4 = pcVar13[1];\n      iVar8 = (int)cVar4;\n      if (((byte)(cVar4 - 0x30U) < 10) || (cVar4 == '_')) {\n        uVar9 = 0;\n        if (cVar4 == '_') {\nLAB_002f791a:\n          if (*(uint *)(param_1 + 0x38) <= (uint)uVar9) {\n            return (undefined4 *)0x0;\n          }\n          return *(undefined4 **)(*(long *)(param_1 + 0x30) + uVar9 * 8);\n        }\nLAB_002f7940:\n        uVar10 = 0;\n        if (9 < (byte)(cVar4 - 0x30U)) goto LAB_002f797f;\n        do {\n          uVar11 = uVar10;\n          uVar10 = iVar8 + -0x30 + uVar10 * 0x24;\n          while( true ) {\n            if (uVar10 < uVar11) {\n              return (undefined4 *)0x0;\n            }\n            pcVar13 = *(char **)(param_1 + 0x18);\n            cVar4 = *pcVar13;\n            if (cVar4 != '\0') {\n              *(char **)(param_1 + 0x18) = pcVar13 + 1;\n              cVar4 = *pcVar13;\n              if (cVar4 == '_') {\n                uVar9 = (ulong)(uVar10 + 1);\n                goto LAB_002f791a;\n              }\n            }\n            iVar8 = (int)cVar4;\n            if ((byte)(cVar4 - 0x30U) < 10) break;\nLAB_002f797f:\n            if (0x19 < (byte)((char)iVar8 + 0xbfU)) {\n              return (undefined4 *)0x0;\n            }\n            uVar11 = uVar10;\n            uVar10 = iVar8 + -0x37 + uVar10 * 0x24;\n          }\n        } while( true );\n      }\n      if ((byte)(cVar4 + 0xbfU) < 0x1a) goto LAB_002f7940;\n    }\n    bVar15 = (*(uint *)(param_1 + 0x10) & 8) != 0;\n    if (((!bVar15) && ((param_2 & 1) != 0)) && ((byte)(**(char **)(param_1 + 0x18) + 0xbdU) < 2)) {\n      bVar15 = true;\n    }\n    pcVar13 = "t";\n    cVar7 = 't';\n    while( true ) {\n      if (cVar4 == cVar7) {\n        lVar3 = *(long *)(pcVar13 + 0x28);\n        iVar8 = *(int *)(param_1 + 0x28);\n        iVar1 = *(int *)(param_1 + 0x2c);\n        if (lVar3 != 0) {\n          uVar2 = *(undefined4 *)(pcVar13 + 0x30);\n          if (iVar8 < iVar1) {\n            lVar5 = (long)iVar8;\n            iVar8 = iVar8 + 1;\n            puVar6 = (undefined4 *)(*(long *)(param_1 + 0x20) + lVar5 * 0x18);\n            puVar6[1] = 0;\n            *(int *)(param_1 + 0x28) = iVar8;\n            *puVar6 = 0x18;\n            *(long *)(puVar6 + 2) = lVar3;\n            puVar6[4] = uVar2;\n          }\n          else {\n            puVar6 = (undefined4 *)0x0;\n          }\n          *(undefined4 **)(param_1 + 0x40) = puVar6;\n        }\n        if (bVar15) {\n          uVar14 = *(undefined8 *)(pcVar13 + 0x18);\n          iVar12 = *(int *)(pcVar13 + 0x20);\n        }\n        else {\n          uVar14 = *(undefined8 *)(pcVar13 + 8);\n          iVar12 = *(int *)(pcVar13 + 0x10);\n        }\n        *(int *)(param_1 + 0x48) = *(int *)(param_1 + 0x48) + iVar12;\n        if (iVar8 < iVar1) {\n          puVar6 = (undefined4 *)(*(long *)(param_1 + 0x20) + (long)iVar8 * 0x18);\n          puVar6[1] = 0;\n          *(int *)(param_1 + 0x28) = iVar8 + 1;\n          *puVar6 = 0x18;\n          *(undefined8 *)(puVar6 + 2) = uVar14;\n          puVar6[4] = iVar12;\n        }\n        else {\n          puVar6 = (undefined4 *)0x0;\n        }\n        if (**(char **)(param_1 + 0x18) != 'B') {\n          return puVar6;\n        }\n        puVar6 = (undefined4 *)FUN_002f7820(param_1,puVar6);\n        if ((puVar6 != (undefined4 *)0x0) &&\n           (iVar8 = *(int *)(param_1 + 0x38), iVar8 < *(int *)(param_1 + 0x3c))) {\n          *(undefined4 **)(*(long *)(param_1 + 0x30) + (long)iVar8 * 8) = puVar6;\n          *(int *)(param_1 + 0x38) = iVar8 + 1;\n          return puVar6;\n        }\n        return (undefined4 *)0x0;\n      }\n      pcVar13 = pcVar13 + 0x38;\n      if (pcVar13 == "") break;\n      cVar7 = *pcVar13;\n    }\n  }\n  return (undefined4 *)0x0;\n}\n\n" (function_definition "undefined4 * FUN_002f7880(long param_1,uint param_2)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  long lVar3;\n  char cVar4;\n  long lVar5;\n  undefined4 *puVar6;\n  char cVar7;\n  int iVar8;\n  ulong uVar9;\n  uint uVar10;\n  uint uVar11;\n  int iVar12;\n  char *pcVar13;\n  undefined8 uVar14;\n  bool bVar15;\n  \n  pcVar13 = *(char **)(param_1 + 0x18);\n  if (*pcVar13 == 'S') {\n    *(char **)(param_1 + 0x18) = pcVar13 + 1;\n    cVar4 = pcVar13[1];\n    if (cVar4 != '\0') {\n      *(char **)(param_1 + 0x18) = pcVar13 + 2;\n      cVar4 = pcVar13[1];\n      iVar8 = (int)cVar4;\n      if (((byte)(cVar4 - 0x30U) < 10) || (cVar4 == '_')) {\n        uVar9 = 0;\n        if (cVar4 == '_') {\nLAB_002f791a:\n          if (*(uint *)(param_1 + 0x38) <= (uint)uVar9) {\n            return (undefined4 *)0x0;\n          }\n          return *(undefined4 **)(*(long *)(param_1 + 0x30) + uVar9 * 8);\n        }\nLAB_002f7940:\n        uVar10 = 0;\n        if (9 < (byte)(cVar4 - 0x30U)) goto LAB_002f797f;\n        do {\n          uVar11 = uVar10;\n          uVar10 = iVar8 + -0x30 + uVar10 * 0x24;\n          while( true ) {\n            if (uVar10 < uVar11) {\n              return (undefined4 *)0x0;\n            }\n            pcVar13 = *(char **)(param_1 + 0x18);\n            cVar4 = *pcVar13;\n            if (cVar4 != '\0') {\n              *(char **)(param_1 + 0x18) = pcVar13 + 1;\n              cVar4 = *pcVar13;\n              if (cVar4 == '_') {\n                uVar9 = (ulong)(uVar10 + 1);\n                goto LAB_002f791a;\n              }\n            }\n            iVar8 = (int)cVar4;\n            if ((byte)(cVar4 - 0x30U) < 10) break;\nLAB_002f797f:\n            if (0x19 < (byte)((char)iVar8 + 0xbfU)) {\n              return (undefined4 *)0x0;\n            }\n            uVar11 = uVar10;\n            uVar10 = iVar8 + -0x37 + uVar10 * 0x24;\n          }\n        } while( true );\n      }\n      if ((byte)(cVar4 + 0xbfU) < 0x1a) goto LAB_002f7940;\n    }\n    bVar15 = (*(uint *)(param_1 + 0x10) & 8) != 0;\n    if (((!bVar15) && ((param_2 & 1) != 0)) && ((byte)(**(char **)(param_1 + 0x18) + 0xbdU) < 2)) {\n      bVar15 = true;\n    }\n    pcVar13 = "t";\n    cVar7 = 't';\n    while( true ) {\n      if (cVar4 == cVar7) {\n        lVar3 = *(long *)(pcVar13 + 0x28);\n        iVar8 = *(int *)(param_1 + 0x28);\n        iVar1 = *(int *)(param_1 + 0x2c);\n        if (lVar3 != 0) {\n          uVar2 = *(undefined4 *)(pcVar13 + 0x30);\n          if (iVar8 < iVar1) {\n            lVar5 = (long)iVar8;\n            iVar8 = iVar8 + 1;\n            puVar6 = (undefined4 *)(*(long *)(param_1 + 0x20) + lVar5 * 0x18);\n            puVar6[1] = 0;\n            *(int *)(param_1 + 0x28) = iVar8;\n            *puVar6 = 0x18;\n            *(long *)(puVar6 + 2) = lVar3;\n            puVar6[4] = uVar2;\n          }\n          else {\n            puVar6 = (undefined4 *)0x0;\n          }\n          *(undefined4 **)(param_1 + 0x40) = puVar6;\n        }\n        if (bVar15) {\n          uVar14 = *(undefined8 *)(pcVar13 + 0x18);\n          iVar12 = *(int *)(pcVar13 + 0x20);\n        }\n        else {\n          uVar14 = *(undefined8 *)(pcVar13 + 8);\n          iVar12 = *(int *)(pcVar13 + 0x10);\n        }\n        *(int *)(param_1 + 0x48) = *(int *)(param_1 + 0x48) + iVar12;\n        if (iVar8 < iVar1) {\n          puVar6 = (undefined4 *)(*(long *)(param_1 + 0x20) + (long)iVar8 * 0x18);\n          puVar6[1] = 0;\n          *(int *)(param_1 + 0x28) = iVar8 + 1;\n          *puVar6 = 0x18;\n          *(undefined8 *)(puVar6 + 2) = uVar14;\n          puVar6[4] = iVar12;\n        }\n        else {\n          puVar6 = (undefined4 *)0x0;\n        }\n        if (**(char **)(param_1 + 0x18) != 'B') {\n          return puVar6;\n        }\n        puVar6 = (undefined4 *)FUN_002f7820(param_1,puVar6);\n        if ((puVar6 != (undefined4 *)0x0) &&\n           (iVar8 = *(int *)(param_1 + 0x38), iVar8 < *(int *)(param_1 + 0x3c))) {\n          *(undefined4 **)(*(long *)(param_1 + 0x30) + (long)iVar8 * 8) = puVar6;\n          *(int *)(param_1 + 0x38) = iVar8 + 1;\n          return puVar6;\n        }\n        return (undefined4 *)0x0;\n      }\n      pcVar13 = pcVar13 + 0x38;\n      if (pcVar13 == "") break;\n      cVar7 = *pcVar13;\n    }\n  }\n  return (undefined4 *)0x0;\n}" type_identifier (pointer_declarator "* FUN_002f7880(long param_1,uint param_2)" * (function_declarator "FUN_002f7880(long param_1,uint param_2)" identifier (parameter_list "(long param_1,uint param_2)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "uint param_2" type_identifier identifier) )))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  long lVar3;\n  char cVar4;\n  long lVar5;\n  undefined4 *puVar6;\n  char cVar7;\n  int iVar8;\n  ulong uVar9;\n  uint uVar10;\n  uint uVar11;\n  int iVar12;\n  char *pcVar13;\n  undefined8 uVar14;\n  bool bVar15;\n  \n  pcVar13 = *(char **)(param_1 + 0x18);\n  if (*pcVar13 == 'S') {\n    *(char **)(param_1 + 0x18) = pcVar13 + 1;\n    cVar4 = pcVar13[1];\n    if (cVar4 != '\0') {\n      *(char **)(param_1 + 0x18) = pcVar13 + 2;\n      cVar4 = pcVar13[1];\n      iVar8 = (int)cVar4;\n      if (((byte)(cVar4 - 0x30U) < 10) || (cVar4 == '_')) {\n        uVar9 = 0;\n        if (cVar4 == '_') {\nLAB_002f791a:\n          if (*(uint *)(param_1 + 0x38) <= (uint)uVar9) {\n            return (undefined4 *)0x0;\n          }\n          return *(undefined4 **)(*(long *)(param_1 + 0x30) + uVar9 * 8);\n        }\nLAB_002f7940:\n        uVar10 = 0;\n        if (9 < (byte)(cVar4 - 0x30U)) goto LAB_002f797f;\n        do {\n          uVar11 = uVar10;\n          uVar10 = iVar8 + -0x30 + uVar10 * 0x24;\n          while( true ) {\n            if (uVar10 < uVar11) {\n              return (undefined4 *)0x0;\n            }\n            pcVar13 = *(char **)(param_1 + 0x18);\n            cVar4 = *pcVar13;\n            if (cVar4 != '\0') {\n              *(char **)(param_1 + 0x18) = pcVar13 + 1;\n              cVar4 = *pcVar13;\n              if (cVar4 == '_') {\n                uVar9 = (ulong)(uVar10 + 1);\n                goto LAB_002f791a;\n              }\n            }\n            iVar8 = (int)cVar4;\n            if ((byte)(cVar4 - 0x30U) < 10) break;\nLAB_002f797f:\n            if (0x19 < (byte)((char)iVar8 + 0xbfU)) {\n              return (undefined4 *)0x0;\n            }\n            uVar11 = uVar10;\n            uVar10 = iVar8 + -0x37 + uVar10 * 0x24;\n          }\n        } while( true );\n      }\n      if ((byte)(cVar4 + 0xbfU) < 0x1a) goto LAB_002f7940;\n    }\n    bVar15 = (*(uint *)(param_1 + 0x10) & 8) != 0;\n    if (((!bVar15) && ((param_2 & 1) != 0)) && ((byte)(**(char **)(param_1 + 0x18) + 0xbdU) < 2)) {\n      bVar15 = true;\n    }\n    pcVar13 = "t";\n    cVar7 = 't';\n    while( true ) {\n      if (cVar4 == cVar7) {\n        lVar3 = *(long *)(pcVar13 + 0x28);\n        iVar8 = *(int *)(param_1 + 0x28);\n        iVar1 = *(int *)(param_1 + 0x2c);\n        if (lVar3 != 0) {\n          uVar2 = *(undefined4 *)(pcVar13 + 0x30);\n          if (iVar8 < iVar1) {\n            lVar5 = (long)iVar8;\n            iVar8 = iVar8 + 1;\n            puVar6 = (undefined4 *)(*(long *)(param_1 + 0x20) + lVar5 * 0x18);\n            puVar6[1] = 0;\n            *(int *)(param_1 + 0x28) = iVar8;\n            *puVar6 = 0x18;\n            *(long *)(puVar6 + 2) = lVar3;\n            puVar6[4] = uVar2;\n          }\n          else {\n            puVar6 = (undefined4 *)0x0;\n          }\n          *(undefined4 **)(param_1 + 0x40) = puVar6;\n        }\n        if (bVar15) {\n          uVar14 = *(undefined8 *)(pcVar13 + 0x18);\n          iVar12 = *(int *)(pcVar13 + 0x20);\n        }\n        else {\n          uVar14 = *(undefined8 *)(pcVar13 + 8);\n          iVar12 = *(int *)(pcVar13 + 0x10);\n        }\n        *(int *)(param_1 + 0x48) = *(int *)(param_1 + 0x48) + iVar12;\n        if (iVar8 < iVar1) {\n          puVar6 = (undefined4 *)(*(long *)(param_1 + 0x20) + (long)iVar8 * 0x18);\n          puVar6[1] = 0;\n          *(int *)(param_1 + 0x28) = iVar8 + 1;\n          *puVar6 = 0x18;\n          *(undefined8 *)(puVar6 + 2) = uVar14;\n          puVar6[4] = iVar12;\n        }\n        else {\n          puVar6 = (undefined4 *)0x0;\n        }\n        if (**(char **)(param_1 + 0x18) != 'B') {\n          return puVar6;\n        }\n        puVar6 = (undefined4 *)FUN_002f7820(param_1,puVar6);\n        if ((puVar6 != (undefined4 *)0x0) &&\n           (iVar8 = *(int *)(param_1 + 0x38), iVar8 < *(int *)(param_1 + 0x3c))) {\n          *(undefined4 **)(*(long *)(param_1 + 0x30) + (long)iVar8 * 8) = puVar6;\n          *(int *)(param_1 + 0x38) = iVar8 + 1;\n          return puVar6;\n        }\n        return (undefined4 *)0x0;\n      }\n      pcVar13 = pcVar13 + 0x38;\n      if (pcVar13 == "") break;\n      cVar7 = *pcVar13;\n    }\n  }\n  return (undefined4 *)0x0;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "long lVar3;" (sized_type_specifier "long" long) identifier ;) (declaration "char cVar4;" primitive_type identifier ;) (declaration "long lVar5;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined4 *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "char cVar7;" primitive_type identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "ulong uVar9;" type_identifier identifier ;) (declaration "uint uVar10;" type_identifier identifier ;) (declaration "uint uVar11;" type_identifier identifier ;) (declaration "int iVar12;" primitive_type identifier ;) (declaration "char *pcVar13;" primitive_type (pointer_declarator "*pcVar13" * identifier) ;) (declaration "undefined8 uVar14;" type_identifier identifier ;) (declaration "bool bVar15;" primitive_type identifier ;) (expression_statement "pcVar13 = *(char **)(param_1 + 0x18);" (assignment_expression "pcVar13 = *(char **)(param_1 + 0x18)" identifier = (pointer_expression "*(char **)(param_1 + 0x18)" * (cast_expression "(char **)(param_1 + 0x18)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) ))))) ;) (if_statement "if (*pcVar13 == 'S') {\n    *(char **)(param_1 + 0x18) = pcVar13 + 1;\n    cVar4 = pcVar13[1];\n    if (cVar4 != '\0') {\n      *(char **)(param_1 + 0x18) = pcVar13 + 2;\n      cVar4 = pcVar13[1];\n      iVar8 = (int)cVar4;\n      if (((byte)(cVar4 - 0x30U) < 10) || (cVar4 == '_')) {\n        uVar9 = 0;\n        if (cVar4 == '_') {\nLAB_002f791a:\n          if (*(uint *)(param_1 + 0x38) <= (uint)uVar9) {\n            return (undefined4 *)0x0;\n          }\n          return *(undefined4 **)(*(long *)(param_1 + 0x30) + uVar9 * 8);\n        }\nLAB_002f7940:\n        uVar10 = 0;\n        if (9 < (byte)(cVar4 - 0x30U)) goto LAB_002f797f;\n        do {\n          uVar11 = uVar10;\n          uVar10 = iVar8 + -0x30 + uVar10 * 0x24;\n          while( true ) {\n            if (uVar10 < uVar11) {\n              return (undefined4 *)0x0;\n            }\n            pcVar13 = *(char **)(param_1 + 0x18);\n            cVar4 = *pcVar13;\n            if (cVar4 != '\0') {\n              *(char **)(param_1 + 0x18) = pcVar13 + 1;\n              cVar4 = *pcVar13;\n              if (cVar4 == '_') {\n                uVar9 = (ulong)(uVar10 + 1);\n                goto LAB_002f791a;\n              }\n            }\n            iVar8 = (int)cVar4;\n            if ((byte)(cVar4 - 0x30U) < 10) break;\nLAB_002f797f:\n            if (0x19 < (byte)((char)iVar8 + 0xbfU)) {\n              return (undefined4 *)0x0;\n            }\n            uVar11 = uVar10;\n            uVar10 = iVar8 + -0x37 + uVar10 * 0x24;\n          }\n        } while( true );\n      }\n      if ((byte)(cVar4 + 0xbfU) < 0x1a) goto LAB_002f7940;\n    }\n    bVar15 = (*(uint *)(param_1 + 0x10) & 8) != 0;\n    if (((!bVar15) && ((param_2 & 1) != 0)) && ((byte)(**(char **)(param_1 + 0x18) + 0xbdU) < 2)) {\n      bVar15 = true;\n    }\n    pcVar13 = "t";\n    cVar7 = 't';\n    while( true ) {\n      if (cVar4 == cVar7) {\n        lVar3 = *(long *)(pcVar13 + 0x28);\n        iVar8 = *(int *)(param_1 + 0x28);\n        iVar1 = *(int *)(param_1 + 0x2c);\n        if (lVar3 != 0) {\n          uVar2 = *(undefined4 *)(pcVar13 + 0x30);\n          if (iVar8 < iVar1) {\n            lVar5 = (long)iVar8;\n            iVar8 = iVar8 + 1;\n            puVar6 = (undefined4 *)(*(long *)(param_1 + 0x20) + lVar5 * 0x18);\n            puVar6[1] = 0;\n            *(int *)(param_1 + 0x28) = iVar8;\n            *puVar6 = 0x18;\n            *(long *)(puVar6 + 2) = lVar3;\n            puVar6[4] = uVar2;\n          }\n          else {\n            puVar6 = (undefined4 *)0x0;\n          }\n          *(undefined4 **)(param_1 + 0x40) = puVar6;\n        }\n        if (bVar15) {\n          uVar14 = *(undefined8 *)(pcVar13 + 0x18);\n          iVar12 = *(int *)(pcVar13 + 0x20);\n        }\n        else {\n          uVar14 = *(undefined8 *)(pcVar13 + 8);\n          iVar12 = *(int *)(pcVar13 + 0x10);\n        }\n        *(int *)(param_1 + 0x48) = *(int *)(param_1 + 0x48) + iVar12;\n        if (iVar8 < iVar1) {\n          puVar6 = (undefined4 *)(*(long *)(param_1 + 0x20) + (long)iVar8 * 0x18);\n          puVar6[1] = 0;\n          *(int *)(param_1 + 0x28) = iVar8 + 1;\n          *puVar6 = 0x18;\n          *(undefined8 *)(puVar6 + 2) = uVar14;\n          puVar6[4] = iVar12;\n        }\n        else {\n          puVar6 = (undefined4 *)0x0;\n        }\n        if (**(char **)(param_1 + 0x18) != 'B') {\n          return puVar6;\n        }\n        puVar6 = (undefined4 *)FUN_002f7820(param_1,puVar6);\n        if ((puVar6 != (undefined4 *)0x0) &&\n           (iVar8 = *(int *)(param_1 + 0x38), iVar8 < *(int *)(param_1 + 0x3c))) {\n          *(undefined4 **)(*(long *)(param_1 + 0x30) + (long)iVar8 * 8) = puVar6;\n          *(int *)(param_1 + 0x38) = iVar8 + 1;\n          return puVar6;\n        }\n        return (undefined4 *)0x0;\n      }\n      pcVar13 = pcVar13 + 0x38;\n      if (pcVar13 == "") break;\n      cVar7 = *pcVar13;\n    }\n  }" if (parenthesized_expression "(*pcVar13 == 'S')" ( (binary_expression "*pcVar13 == 'S'" (pointer_expression "*pcVar13" * identifier) == (char_literal "'S'" ' character ')) )) (compound_statement "{\n    *(char **)(param_1 + 0x18) = pcVar13 + 1;\n    cVar4 = pcVar13[1];\n    if (cVar4 != '\0') {\n      *(char **)(param_1 + 0x18) = pcVar13 + 2;\n      cVar4 = pcVar13[1];\n      iVar8 = (int)cVar4;\n      if (((byte)(cVar4 - 0x30U) < 10) || (cVar4 == '_')) {\n        uVar9 = 0;\n        if (cVar4 == '_') {\nLAB_002f791a:\n          if (*(uint *)(param_1 + 0x38) <= (uint)uVar9) {\n            return (undefined4 *)0x0;\n          }\n          return *(undefined4 **)(*(long *)(param_1 + 0x30) + uVar9 * 8);\n        }\nLAB_002f7940:\n        uVar10 = 0;\n        if (9 < (byte)(cVar4 - 0x30U)) goto LAB_002f797f;\n        do {\n          uVar11 = uVar10;\n          uVar10 = iVar8 + -0x30 + uVar10 * 0x24;\n          while( true ) {\n            if (uVar10 < uVar11) {\n              return (undefined4 *)0x0;\n            }\n            pcVar13 = *(char **)(param_1 + 0x18);\n            cVar4 = *pcVar13;\n            if (cVar4 != '\0') {\n              *(char **)(param_1 + 0x18) = pcVar13 + 1;\n              cVar4 = *pcVar13;\n              if (cVar4 == '_') {\n                uVar9 = (ulong)(uVar10 + 1);\n                goto LAB_002f791a;\n              }\n            }\n            iVar8 = (int)cVar4;\n            if ((byte)(cVar4 - 0x30U) < 10) break;\nLAB_002f797f:\n            if (0x19 < (byte)((char)iVar8 + 0xbfU)) {\n              return (undefined4 *)0x0;\n            }\n            uVar11 = uVar10;\n            uVar10 = iVar8 + -0x37 + uVar10 * 0x24;\n          }\n        } while( true );\n      }\n      if ((byte)(cVar4 + 0xbfU) < 0x1a) goto LAB_002f7940;\n    }\n    bVar15 = (*(uint *)(param_1 + 0x10) & 8) != 0;\n    if (((!bVar15) && ((param_2 & 1) != 0)) && ((byte)(**(char **)(param_1 + 0x18) + 0xbdU) < 2)) {\n      bVar15 = true;\n    }\n    pcVar13 = "t";\n    cVar7 = 't';\n    while( true ) {\n      if (cVar4 == cVar7) {\n        lVar3 = *(long *)(pcVar13 + 0x28);\n        iVar8 = *(int *)(param_1 + 0x28);\n        iVar1 = *(int *)(param_1 + 0x2c);\n        if (lVar3 != 0) {\n          uVar2 = *(undefined4 *)(pcVar13 + 0x30);\n          if (iVar8 < iVar1) {\n            lVar5 = (long)iVar8;\n            iVar8 = iVar8 + 1;\n            puVar6 = (undefined4 *)(*(long *)(param_1 + 0x20) + lVar5 * 0x18);\n            puVar6[1] = 0;\n            *(int *)(param_1 + 0x28) = iVar8;\n            *puVar6 = 0x18;\n            *(long *)(puVar6 + 2) = lVar3;\n            puVar6[4] = uVar2;\n          }\n          else {\n            puVar6 = (undefined4 *)0x0;\n          }\n          *(undefined4 **)(param_1 + 0x40) = puVar6;\n        }\n        if (bVar15) {\n          uVar14 = *(undefined8 *)(pcVar13 + 0x18);\n          iVar12 = *(int *)(pcVar13 + 0x20);\n        }\n        else {\n          uVar14 = *(undefined8 *)(pcVar13 + 8);\n          iVar12 = *(int *)(pcVar13 + 0x10);\n        }\n        *(int *)(param_1 + 0x48) = *(int *)(param_1 + 0x48) + iVar12;\n        if (iVar8 < iVar1) {\n          puVar6 = (undefined4 *)(*(long *)(param_1 + 0x20) + (long)iVar8 * 0x18);\n          puVar6[1] = 0;\n          *(int *)(param_1 + 0x28) = iVar8 + 1;\n          *puVar6 = 0x18;\n          *(undefined8 *)(puVar6 + 2) = uVar14;\n          puVar6[4] = iVar12;\n        }\n        else {\n          puVar6 = (undefined4 *)0x0;\n        }\n        if (**(char **)(param_1 + 0x18) != 'B') {\n          return puVar6;\n        }\n        puVar6 = (undefined4 *)FUN_002f7820(param_1,puVar6);\n        if ((puVar6 != (undefined4 *)0x0) &&\n           (iVar8 = *(int *)(param_1 + 0x38), iVar8 < *(int *)(param_1 + 0x3c))) {\n          *(undefined4 **)(*(long *)(param_1 + 0x30) + (long)iVar8 * 8) = puVar6;\n          *(int *)(param_1 + 0x38) = iVar8 + 1;\n          return puVar6;\n        }\n        return (undefined4 *)0x0;\n      }\n      pcVar13 = pcVar13 + 0x38;\n      if (pcVar13 == "") break;\n      cVar7 = *pcVar13;\n    }\n  }" { (expression_statement "*(char **)(param_1 + 0x18) = pcVar13 + 1;" (assignment_expression "*(char **)(param_1 + 0x18) = pcVar13 + 1" (pointer_expression "*(char **)(param_1 + 0x18)" * (cast_expression "(char **)(param_1 + 0x18)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) )))) = (binary_expression "pcVar13 + 1" identifier + number_literal)) ;) (expression_statement "cVar4 = pcVar13[1];" (assignment_expression "cVar4 = pcVar13[1]" identifier = (subscript_expression "pcVar13[1]" identifier [ number_literal ])) ;) (if_statement "if (cVar4 != '\0') {\n      *(char **)(param_1 + 0x18) = pcVar13 + 2;\n      cVar4 = pcVar13[1];\n      iVar8 = (int)cVar4;\n      if (((byte)(cVar4 - 0x30U) < 10) || (cVar4 == '_')) {\n        uVar9 = 0;\n        if (cVar4 == '_') {\nLAB_002f791a:\n          if (*(uint *)(param_1 + 0x38) <= (uint)uVar9) {\n            return (undefined4 *)0x0;\n          }\n          return *(undefined4 **)(*(long *)(param_1 + 0x30) + uVar9 * 8);\n        }\nLAB_002f7940:\n        uVar10 = 0;\n        if (9 < (byte)(cVar4 - 0x30U)) goto LAB_002f797f;\n        do {\n          uVar11 = uVar10;\n          uVar10 = iVar8 + -0x30 + uVar10 * 0x24;\n          while( true ) {\n            if (uVar10 < uVar11) {\n              return (undefined4 *)0x0;\n            }\n            pcVar13 = *(char **)(param_1 + 0x18);\n            cVar4 = *pcVar13;\n            if (cVar4 != '\0') {\n              *(char **)(param_1 + 0x18) = pcVar13 + 1;\n              cVar4 = *pcVar13;\n              if (cVar4 == '_') {\n                uVar9 = (ulong)(uVar10 + 1);\n                goto LAB_002f791a;\n              }\n            }\n            iVar8 = (int)cVar4;\n            if ((byte)(cVar4 - 0x30U) < 10) break;\nLAB_002f797f:\n            if (0x19 < (byte)((char)iVar8 + 0xbfU)) {\n              return (undefined4 *)0x0;\n            }\n            uVar11 = uVar10;\n            uVar10 = iVar8 + -0x37 + uVar10 * 0x24;\n          }\n        } while( true );\n      }\n      if ((byte)(cVar4 + 0xbfU) < 0x1a) goto LAB_002f7940;\n    }" if (parenthesized_expression "(cVar4 != '\0')" ( (binary_expression "cVar4 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      *(char **)(param_1 + 0x18) = pcVar13 + 2;\n      cVar4 = pcVar13[1];\n      iVar8 = (int)cVar4;\n      if (((byte)(cVar4 - 0x30U) < 10) || (cVar4 == '_')) {\n        uVar9 = 0;\n        if (cVar4 == '_') {\nLAB_002f791a:\n          if (*(uint *)(param_1 + 0x38) <= (uint)uVar9) {\n            return (undefined4 *)0x0;\n          }\n          return *(undefined4 **)(*(long *)(param_1 + 0x30) + uVar9 * 8);\n        }\nLAB_002f7940:\n        uVar10 = 0;\n        if (9 < (byte)(cVar4 - 0x30U)) goto LAB_002f797f;\n        do {\n          uVar11 = uVar10;\n          uVar10 = iVar8 + -0x30 + uVar10 * 0x24;\n          while( true ) {\n            if (uVar10 < uVar11) {\n              return (undefined4 *)0x0;\n            }\n            pcVar13 = *(char **)(param_1 + 0x18);\n            cVar4 = *pcVar13;\n            if (cVar4 != '\0') {\n              *(char **)(param_1 + 0x18) = pcVar13 + 1;\n              cVar4 = *pcVar13;\n              if (cVar4 == '_') {\n                uVar9 = (ulong)(uVar10 + 1);\n                goto LAB_002f791a;\n              }\n            }\n            iVar8 = (int)cVar4;\n            if ((byte)(cVar4 - 0x30U) < 10) break;\nLAB_002f797f:\n            if (0x19 < (byte)((char)iVar8 + 0xbfU)) {\n              return (undefined4 *)0x0;\n            }\n            uVar11 = uVar10;\n            uVar10 = iVar8 + -0x37 + uVar10 * 0x24;\n          }\n        } while( true );\n      }\n      if ((byte)(cVar4 + 0xbfU) < 0x1a) goto LAB_002f7940;\n    }" { (expression_statement "*(char **)(param_1 + 0x18) = pcVar13 + 2;" (assignment_expression "*(char **)(param_1 + 0x18) = pcVar13 + 2" (pointer_expression "*(char **)(param_1 + 0x18)" * (cast_expression "(char **)(param_1 + 0x18)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) )))) = (binary_expression "pcVar13 + 2" identifier + number_literal)) ;) (expression_statement "cVar4 = pcVar13[1];" (assignment_expression "cVar4 = pcVar13[1]" identifier = (subscript_expression "pcVar13[1]" identifier [ number_literal ])) ;) (expression_statement "iVar8 = (int)cVar4;" (assignment_expression "iVar8 = (int)cVar4" identifier = (cast_expression "(int)cVar4" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (if_statement "if (((byte)(cVar4 - 0x30U) < 10) || (cVar4 == '_')) {\n        uVar9 = 0;\n        if (cVar4 == '_') {\nLAB_002f791a:\n          if (*(uint *)(param_1 + 0x38) <= (uint)uVar9) {\n            return (undefined4 *)0x0;\n          }\n          return *(undefined4 **)(*(long *)(param_1 + 0x30) + uVar9 * 8);\n        }\nLAB_002f7940:\n        uVar10 = 0;\n        if (9 < (byte)(cVar4 - 0x30U)) goto LAB_002f797f;\n        do {\n          uVar11 = uVar10;\n          uVar10 = iVar8 + -0x30 + uVar10 * 0x24;\n          while( true ) {\n            if (uVar10 < uVar11) {\n              return (undefined4 *)0x0;\n            }\n            pcVar13 = *(char **)(param_1 + 0x18);\n            cVar4 = *pcVar13;\n            if (cVar4 != '\0') {\n              *(char **)(param_1 + 0x18) = pcVar13 + 1;\n              cVar4 = *pcVar13;\n              if (cVar4 == '_') {\n                uVar9 = (ulong)(uVar10 + 1);\n                goto LAB_002f791a;\n              }\n            }\n            iVar8 = (int)cVar4;\n            if ((byte)(cVar4 - 0x30U) < 10) break;\nLAB_002f797f:\n            if (0x19 < (byte)((char)iVar8 + 0xbfU)) {\n              return (undefined4 *)0x0;\n            }\n            uVar11 = uVar10;\n            uVar10 = iVar8 + -0x37 + uVar10 * 0x24;\n          }\n        } while( true );\n      }" if (parenthesized_expression "(((byte)(cVar4 - 0x30U) < 10) || (cVar4 == '_'))" ( (binary_expression "((byte)(cVar4 - 0x30U) < 10) || (cVar4 == '_')" (parenthesized_expression "((byte)(cVar4 - 0x30U) < 10)" ( (binary_expression "(byte)(cVar4 - 0x30U) < 10" (call_expression "(byte)(cVar4 - 0x30U)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(cVar4 - 0x30U)" ( (binary_expression "cVar4 - 0x30U" identifier - number_literal) ))) < number_literal) )) || (parenthesized_expression "(cVar4 == '_')" ( (binary_expression "cVar4 == '_'" identifier == (char_literal "'_'" ' character ')) ))) )) (compound_statement "{\n        uVar9 = 0;\n        if (cVar4 == '_') {\nLAB_002f791a:\n          if (*(uint *)(param_1 + 0x38) <= (uint)uVar9) {\n            return (undefined4 *)0x0;\n          }\n          return *(undefined4 **)(*(long *)(param_1 + 0x30) + uVar9 * 8);\n        }\nLAB_002f7940:\n        uVar10 = 0;\n        if (9 < (byte)(cVar4 - 0x30U)) goto LAB_002f797f;\n        do {\n          uVar11 = uVar10;\n          uVar10 = iVar8 + -0x30 + uVar10 * 0x24;\n          while( true ) {\n            if (uVar10 < uVar11) {\n              return (undefined4 *)0x0;\n            }\n            pcVar13 = *(char **)(param_1 + 0x18);\n            cVar4 = *pcVar13;\n            if (cVar4 != '\0') {\n              *(char **)(param_1 + 0x18) = pcVar13 + 1;\n              cVar4 = *pcVar13;\n              if (cVar4 == '_') {\n                uVar9 = (ulong)(uVar10 + 1);\n                goto LAB_002f791a;\n              }\n            }\n            iVar8 = (int)cVar4;\n            if ((byte)(cVar4 - 0x30U) < 10) break;\nLAB_002f797f:\n            if (0x19 < (byte)((char)iVar8 + 0xbfU)) {\n              return (undefined4 *)0x0;\n            }\n            uVar11 = uVar10;\n            uVar10 = iVar8 + -0x37 + uVar10 * 0x24;\n          }\n        } while( true );\n      }" { (expression_statement "uVar9 = 0;" (assignment_expression "uVar9 = 0" identifier = number_literal) ;) (if_statement "if (cVar4 == '_') {\nLAB_002f791a:\n          if (*(uint *)(param_1 + 0x38) <= (uint)uVar9) {\n            return (undefined4 *)0x0;\n          }\n          return *(undefined4 **)(*(long *)(param_1 + 0x30) + uVar9 * 8);\n        }" if (parenthesized_expression "(cVar4 == '_')" ( (binary_expression "cVar4 == '_'" identifier == (char_literal "'_'" ' character ')) )) (compound_statement "{\nLAB_002f791a:\n          if (*(uint *)(param_1 + 0x38) <= (uint)uVar9) {\n            return (undefined4 *)0x0;\n          }\n          return *(undefined4 **)(*(long *)(param_1 + 0x30) + uVar9 * 8);\n        }" { (labeled_statement "LAB_002f791a:\n          if (*(uint *)(param_1 + 0x38) <= (uint)uVar9) {\n            return (undefined4 *)0x0;\n          }" statement_identifier : (if_statement "if (*(uint *)(param_1 + 0x38) <= (uint)uVar9) {\n            return (undefined4 *)0x0;\n          }" if (parenthesized_expression "(*(uint *)(param_1 + 0x38) <= (uint)uVar9)" ( (binary_expression "*(uint *)(param_1 + 0x38) <= (uint)uVar9" (pointer_expression "*(uint *)(param_1 + 0x38)" * (cast_expression "(uint *)(param_1 + 0x38)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x38)" ( (binary_expression "param_1 + 0x38" identifier + number_literal) )))) <= (cast_expression "(uint)uVar9" ( (type_descriptor "uint" type_identifier) ) identifier)) )) (compound_statement "{\n            return (undefined4 *)0x0;\n          }" { (return_statement "return (undefined4 *)0x0;" return (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ;) }))) (return_statement "return *(undefined4 **)(*(long *)(param_1 + 0x30) + uVar9 * 8);" return (pointer_expression "*(undefined4 **)(*(long *)(param_1 + 0x30) + uVar9 * 8)" * (cast_expression "(undefined4 **)(*(long *)(param_1 + 0x30) + uVar9 * 8)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(long *)(param_1 + 0x30) + uVar9 * 8)" ( (binary_expression "*(long *)(param_1 + 0x30) + uVar9 * 8" (pointer_expression "*(long *)(param_1 + 0x30)" * (cast_expression "(long *)(param_1 + 0x30)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x30)" ( (binary_expression "param_1 + 0x30" identifier + number_literal) )))) + (binary_expression "uVar9 * 8" identifier * number_literal)) )))) ;) })) (labeled_statement "LAB_002f7940:\n        uVar10 = 0;" statement_identifier : (expression_statement "uVar10 = 0;" (assignment_expression "uVar10 = 0" identifier = number_literal) ;)) (if_statement "if (9 < (byte)(cVar4 - 0x30U)) goto LAB_002f797f;" if (parenthesized_expression "(9 < (byte)(cVar4 - 0x30U))" ( (binary_expression "9 < (byte)(cVar4 - 0x30U)" number_literal < (call_expression "(byte)(cVar4 - 0x30U)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(cVar4 - 0x30U)" ( (binary_expression "cVar4 - 0x30U" identifier - number_literal) )))) )) (goto_statement "goto LAB_002f797f;" goto statement_identifier ;)) (do_statement "do {\n          uVar11 = uVar10;\n          uVar10 = iVar8 + -0x30 + uVar10 * 0x24;\n          while( true ) {\n            if (uVar10 < uVar11) {\n              return (undefined4 *)0x0;\n            }\n            pcVar13 = *(char **)(param_1 + 0x18);\n            cVar4 = *pcVar13;\n            if (cVar4 != '\0') {\n              *(char **)(param_1 + 0x18) = pcVar13 + 1;\n              cVar4 = *pcVar13;\n              if (cVar4 == '_') {\n                uVar9 = (ulong)(uVar10 + 1);\n                goto LAB_002f791a;\n              }\n            }\n            iVar8 = (int)cVar4;\n            if ((byte)(cVar4 - 0x30U) < 10) break;\nLAB_002f797f:\n            if (0x19 < (byte)((char)iVar8 + 0xbfU)) {\n              return (undefined4 *)0x0;\n            }\n            uVar11 = uVar10;\n            uVar10 = iVar8 + -0x37 + uVar10 * 0x24;\n          }\n        } while( true );" do (compound_statement "{\n          uVar11 = uVar10;\n          uVar10 = iVar8 + -0x30 + uVar10 * 0x24;\n          while( true ) {\n            if (uVar10 < uVar11) {\n              return (undefined4 *)0x0;\n            }\n            pcVar13 = *(char **)(param_1 + 0x18);\n            cVar4 = *pcVar13;\n            if (cVar4 != '\0') {\n              *(char **)(param_1 + 0x18) = pcVar13 + 1;\n              cVar4 = *pcVar13;\n              if (cVar4 == '_') {\n                uVar9 = (ulong)(uVar10 + 1);\n                goto LAB_002f791a;\n              }\n            }\n            iVar8 = (int)cVar4;\n            if ((byte)(cVar4 - 0x30U) < 10) break;\nLAB_002f797f:\n            if (0x19 < (byte)((char)iVar8 + 0xbfU)) {\n              return (undefined4 *)0x0;\n            }\n            uVar11 = uVar10;\n            uVar10 = iVar8 + -0x37 + uVar10 * 0x24;\n          }\n        }" { (expression_statement "uVar11 = uVar10;" (assignment_expression "uVar11 = uVar10" identifier = identifier) ;) (expression_statement "uVar10 = iVar8 + -0x30 + uVar10 * 0x24;" (assignment_expression "uVar10 = iVar8 + -0x30 + uVar10 * 0x24" identifier = (binary_expression "iVar8 + -0x30 + uVar10 * 0x24" (binary_expression "iVar8 + -0x30" identifier + number_literal) + (binary_expression "uVar10 * 0x24" identifier * number_literal))) ;) (while_statement "while( true ) {\n            if (uVar10 < uVar11) {\n              return (undefined4 *)0x0;\n            }\n            pcVar13 = *(char **)(param_1 + 0x18);\n            cVar4 = *pcVar13;\n            if (cVar4 != '\0') {\n              *(char **)(param_1 + 0x18) = pcVar13 + 1;\n              cVar4 = *pcVar13;\n              if (cVar4 == '_') {\n                uVar9 = (ulong)(uVar10 + 1);\n                goto LAB_002f791a;\n              }\n            }\n            iVar8 = (int)cVar4;\n            if ((byte)(cVar4 - 0x30U) < 10) break;\nLAB_002f797f:\n            if (0x19 < (byte)((char)iVar8 + 0xbfU)) {\n              return (undefined4 *)0x0;\n            }\n            uVar11 = uVar10;\n            uVar10 = iVar8 + -0x37 + uVar10 * 0x24;\n          }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n            if (uVar10 < uVar11) {\n              return (undefined4 *)0x0;\n            }\n            pcVar13 = *(char **)(param_1 + 0x18);\n            cVar4 = *pcVar13;\n            if (cVar4 != '\0') {\n              *(char **)(param_1 + 0x18) = pcVar13 + 1;\n              cVar4 = *pcVar13;\n              if (cVar4 == '_') {\n                uVar9 = (ulong)(uVar10 + 1);\n                goto LAB_002f791a;\n              }\n            }\n            iVar8 = (int)cVar4;\n            if ((byte)(cVar4 - 0x30U) < 10) break;\nLAB_002f797f:\n            if (0x19 < (byte)((char)iVar8 + 0xbfU)) {\n              return (undefined4 *)0x0;\n            }\n            uVar11 = uVar10;\n            uVar10 = iVar8 + -0x37 + uVar10 * 0x24;\n          }" { (if_statement "if (uVar10 < uVar11) {\n              return (undefined4 *)0x0;\n            }" if (parenthesized_expression "(uVar10 < uVar11)" ( (binary_expression "uVar10 < uVar11" identifier < identifier) )) (compound_statement "{\n              return (undefined4 *)0x0;\n            }" { (return_statement "return (undefined4 *)0x0;" return (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) (expression_statement "pcVar13 = *(char **)(param_1 + 0x18);" (assignment_expression "pcVar13 = *(char **)(param_1 + 0x18)" identifier = (pointer_expression "*(char **)(param_1 + 0x18)" * (cast_expression "(char **)(param_1 + 0x18)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) ))))) ;) (expression_statement "cVar4 = *pcVar13;" (assignment_expression "cVar4 = *pcVar13" identifier = (pointer_expression "*pcVar13" * identifier)) ;) (if_statement "if (cVar4 != '\0') {\n              *(char **)(param_1 + 0x18) = pcVar13 + 1;\n              cVar4 = *pcVar13;\n              if (cVar4 == '_') {\n                uVar9 = (ulong)(uVar10 + 1);\n                goto LAB_002f791a;\n              }\n            }" if (parenthesized_expression "(cVar4 != '\0')" ( (binary_expression "cVar4 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n              *(char **)(param_1 + 0x18) = pcVar13 + 1;\n              cVar4 = *pcVar13;\n              if (cVar4 == '_') {\n                uVar9 = (ulong)(uVar10 + 1);\n                goto LAB_002f791a;\n              }\n            }" { (expression_statement "*(char **)(param_1 + 0x18) = pcVar13 + 1;" (assignment_expression "*(char **)(param_1 + 0x18) = pcVar13 + 1" (pointer_expression "*(char **)(param_1 + 0x18)" * (cast_expression "(char **)(param_1 + 0x18)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) )))) = (binary_expression "pcVar13 + 1" identifier + number_literal)) ;) (expression_statement "cVar4 = *pcVar13;" (assignment_expression "cVar4 = *pcVar13" identifier = (pointer_expression "*pcVar13" * identifier)) ;) (if_statement "if (cVar4 == '_') {\n                uVar9 = (ulong)(uVar10 + 1);\n                goto LAB_002f791a;\n              }" if (parenthesized_expression "(cVar4 == '_')" ( (binary_expression "cVar4 == '_'" identifier == (char_literal "'_'" ' character ')) )) (compound_statement "{\n                uVar9 = (ulong)(uVar10 + 1);\n                goto LAB_002f791a;\n              }" { (expression_statement "uVar9 = (ulong)(uVar10 + 1);" (assignment_expression "uVar9 = (ulong)(uVar10 + 1)" identifier = (call_expression "(ulong)(uVar10 + 1)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(uVar10 + 1)" ( (binary_expression "uVar10 + 1" identifier + number_literal) )))) ;) (goto_statement "goto LAB_002f791a;" goto statement_identifier ;) })) })) (expression_statement "iVar8 = (int)cVar4;" (assignment_expression "iVar8 = (int)cVar4" identifier = (cast_expression "(int)cVar4" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (if_statement "if ((byte)(cVar4 - 0x30U) < 10) break;" if (parenthesized_expression "((byte)(cVar4 - 0x30U) < 10)" ( (binary_expression "(byte)(cVar4 - 0x30U) < 10" (call_expression "(byte)(cVar4 - 0x30U)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(cVar4 - 0x30U)" ( (binary_expression "cVar4 - 0x30U" identifier - number_literal) ))) < number_literal) )) (break_statement "break;" break ;)) (labeled_statement "LAB_002f797f:\n            if (0x19 < (byte)((char)iVar8 + 0xbfU)) {\n              return (undefined4 *)0x0;\n            }" statement_identifier : (if_statement "if (0x19 < (byte)((char)iVar8 + 0xbfU)) {\n              return (undefined4 *)0x0;\n            }" if (parenthesized_expression "(0x19 < (byte)((char)iVar8 + 0xbfU))" ( (binary_expression "0x19 < (byte)((char)iVar8 + 0xbfU)" number_literal < (call_expression "(byte)((char)iVar8 + 0xbfU)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "((char)iVar8 + 0xbfU)" ( (binary_expression "(char)iVar8 + 0xbfU" (cast_expression "(char)iVar8" ( (type_descriptor "char" primitive_type) ) identifier) + number_literal) )))) )) (compound_statement "{\n              return (undefined4 *)0x0;\n            }" { (return_statement "return (undefined4 *)0x0;" return (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ;) }))) (expression_statement "uVar11 = uVar10;" (assignment_expression "uVar11 = uVar10" identifier = identifier) ;) (expression_statement "uVar10 = iVar8 + -0x37 + uVar10 * 0x24;" (assignment_expression "uVar10 = iVar8 + -0x37 + uVar10 * 0x24" identifier = (binary_expression "iVar8 + -0x37 + uVar10 * 0x24" (binary_expression "iVar8 + -0x37" identifier + number_literal) + (binary_expression "uVar10 * 0x24" identifier * number_literal))) ;) })) }) while (parenthesized_expression "( true )" ( true )) ;) })) (if_statement "if ((byte)(cVar4 + 0xbfU) < 0x1a) goto LAB_002f7940;" if (parenthesized_expression "((byte)(cVar4 + 0xbfU) < 0x1a)" ( (binary_expression "(byte)(cVar4 + 0xbfU) < 0x1a" (call_expression "(byte)(cVar4 + 0xbfU)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(cVar4 + 0xbfU)" ( (binary_expression "cVar4 + 0xbfU" identifier + number_literal) ))) < number_literal) )) (goto_statement "goto LAB_002f7940;" goto statement_identifier ;)) })) (expression_statement "bVar15 = (*(uint *)(param_1 + 0x10) & 8) != 0;" (assignment_expression "bVar15 = (*(uint *)(param_1 + 0x10) & 8) != 0" identifier = (binary_expression "(*(uint *)(param_1 + 0x10) & 8) != 0" (parenthesized_expression "(*(uint *)(param_1 + 0x10) & 8)" ( (binary_expression "*(uint *)(param_1 + 0x10) & 8" (pointer_expression "*(uint *)(param_1 + 0x10)" * (cast_expression "(uint *)(param_1 + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) & number_literal) )) != number_literal)) ;) (if_statement "if (((!bVar15) && ((param_2 & 1) != 0)) && ((byte)(**(char **)(param_1 + 0x18) + 0xbdU) < 2)) {\n      bVar15 = true;\n    }" if (parenthesized_expression "(((!bVar15) && ((param_2 & 1) != 0)) && ((byte)(**(char **)(param_1 + 0x18) + 0xbdU) < 2))" ( (binary_expression "((!bVar15) && ((param_2 & 1) != 0)) && ((byte)(**(char **)(param_1 + 0x18) + 0xbdU) < 2)" (parenthesized_expression "((!bVar15) && ((param_2 & 1) != 0))" ( (binary_expression "(!bVar15) && ((param_2 & 1) != 0)" (parenthesized_expression "(!bVar15)" ( (unary_expression "!bVar15" ! identifier) )) && (parenthesized_expression "((param_2 & 1) != 0)" ( (binary_expression "(param_2 & 1) != 0" (parenthesized_expression "(param_2 & 1)" ( (binary_expression "param_2 & 1" identifier & number_literal) )) != number_literal) ))) )) && (parenthesized_expression "((byte)(**(char **)(param_1 + 0x18) + 0xbdU) < 2)" ( (binary_expression "(byte)(**(char **)(param_1 + 0x18) + 0xbdU) < 2" (call_expression "(byte)(**(char **)(param_1 + 0x18) + 0xbdU)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(**(char **)(param_1 + 0x18) + 0xbdU)" ( (binary_expression "**(char **)(param_1 + 0x18) + 0xbdU" (pointer_expression "**(char **)(param_1 + 0x18)" * (pointer_expression "*(char **)(param_1 + 0x18)" * (cast_expression "(char **)(param_1 + 0x18)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) ))))) + number_literal) ))) < number_literal) ))) )) (compound_statement "{\n      bVar15 = true;\n    }" { (expression_statement "bVar15 = true;" (assignment_expression "bVar15 = true" identifier = true) ;) })) (expression_statement "pcVar13 = "t";" (assignment_expression "pcVar13 = "t"" identifier = (string_literal ""t"" " string_content ")) ;) (expression_statement "cVar7 = 't';" (assignment_expression "cVar7 = 't'" identifier = (char_literal "'t'" ' character ')) ;) (while_statement "while( true ) {\n      if (cVar4 == cVar7) {\n        lVar3 = *(long *)(pcVar13 + 0x28);\n        iVar8 = *(int *)(param_1 + 0x28);\n        iVar1 = *(int *)(param_1 + 0x2c);\n        if (lVar3 != 0) {\n          uVar2 = *(undefined4 *)(pcVar13 + 0x30);\n          if (iVar8 < iVar1) {\n            lVar5 = (long)iVar8;\n            iVar8 = iVar8 + 1;\n            puVar6 = (undefined4 *)(*(long *)(param_1 + 0x20) + lVar5 * 0x18);\n            puVar6[1] = 0;\n            *(int *)(param_1 + 0x28) = iVar8;\n            *puVar6 = 0x18;\n            *(long *)(puVar6 + 2) = lVar3;\n            puVar6[4] = uVar2;\n          }\n          else {\n            puVar6 = (undefined4 *)0x0;\n          }\n          *(undefined4 **)(param_1 + 0x40) = puVar6;\n        }\n        if (bVar15) {\n          uVar14 = *(undefined8 *)(pcVar13 + 0x18);\n          iVar12 = *(int *)(pcVar13 + 0x20);\n        }\n        else {\n          uVar14 = *(undefined8 *)(pcVar13 + 8);\n          iVar12 = *(int *)(pcVar13 + 0x10);\n        }\n        *(int *)(param_1 + 0x48) = *(int *)(param_1 + 0x48) + iVar12;\n        if (iVar8 < iVar1) {\n          puVar6 = (undefined4 *)(*(long *)(param_1 + 0x20) + (long)iVar8 * 0x18);\n          puVar6[1] = 0;\n          *(int *)(param_1 + 0x28) = iVar8 + 1;\n          *puVar6 = 0x18;\n          *(undefined8 *)(puVar6 + 2) = uVar14;\n          puVar6[4] = iVar12;\n        }\n        else {\n          puVar6 = (undefined4 *)0x0;\n        }\n        if (**(char **)(param_1 + 0x18) != 'B') {\n          return puVar6;\n        }\n        puVar6 = (undefined4 *)FUN_002f7820(param_1,puVar6);\n        if ((puVar6 != (undefined4 *)0x0) &&\n           (iVar8 = *(int *)(param_1 + 0x38), iVar8 < *(int *)(param_1 + 0x3c))) {\n          *(undefined4 **)(*(long *)(param_1 + 0x30) + (long)iVar8 * 8) = puVar6;\n          *(int *)(param_1 + 0x38) = iVar8 + 1;\n          return puVar6;\n        }\n        return (undefined4 *)0x0;\n      }\n      pcVar13 = pcVar13 + 0x38;\n      if (pcVar13 == "") break;\n      cVar7 = *pcVar13;\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      if (cVar4 == cVar7) {\n        lVar3 = *(long *)(pcVar13 + 0x28);\n        iVar8 = *(int *)(param_1 + 0x28);\n        iVar1 = *(int *)(param_1 + 0x2c);\n        if (lVar3 != 0) {\n          uVar2 = *(undefined4 *)(pcVar13 + 0x30);\n          if (iVar8 < iVar1) {\n            lVar5 = (long)iVar8;\n            iVar8 = iVar8 + 1;\n            puVar6 = (undefined4 *)(*(long *)(param_1 + 0x20) + lVar5 * 0x18);\n            puVar6[1] = 0;\n            *(int *)(param_1 + 0x28) = iVar8;\n            *puVar6 = 0x18;\n            *(long *)(puVar6 + 2) = lVar3;\n            puVar6[4] = uVar2;\n          }\n          else {\n            puVar6 = (undefined4 *)0x0;\n          }\n          *(undefined4 **)(param_1 + 0x40) = puVar6;\n        }\n        if (bVar15) {\n          uVar14 = *(undefined8 *)(pcVar13 + 0x18);\n          iVar12 = *(int *)(pcVar13 + 0x20);\n        }\n        else {\n          uVar14 = *(undefined8 *)(pcVar13 + 8);\n          iVar12 = *(int *)(pcVar13 + 0x10);\n        }\n        *(int *)(param_1 + 0x48) = *(int *)(param_1 + 0x48) + iVar12;\n        if (iVar8 < iVar1) {\n          puVar6 = (undefined4 *)(*(long *)(param_1 + 0x20) + (long)iVar8 * 0x18);\n          puVar6[1] = 0;\n          *(int *)(param_1 + 0x28) = iVar8 + 1;\n          *puVar6 = 0x18;\n          *(undefined8 *)(puVar6 + 2) = uVar14;\n          puVar6[4] = iVar12;\n        }\n        else {\n          puVar6 = (undefined4 *)0x0;\n        }\n        if (**(char **)(param_1 + 0x18) != 'B') {\n          return puVar6;\n        }\n        puVar6 = (undefined4 *)FUN_002f7820(param_1,puVar6);\n        if ((puVar6 != (undefined4 *)0x0) &&\n           (iVar8 = *(int *)(param_1 + 0x38), iVar8 < *(int *)(param_1 + 0x3c))) {\n          *(undefined4 **)(*(long *)(param_1 + 0x30) + (long)iVar8 * 8) = puVar6;\n          *(int *)(param_1 + 0x38) = iVar8 + 1;\n          return puVar6;\n        }\n        return (undefined4 *)0x0;\n      }\n      pcVar13 = pcVar13 + 0x38;\n      if (pcVar13 == "") break;\n      cVar7 = *pcVar13;\n    }" { (if_statement "if (cVar4 == cVar7) {\n        lVar3 = *(long *)(pcVar13 + 0x28);\n        iVar8 = *(int *)(param_1 + 0x28);\n        iVar1 = *(int *)(param_1 + 0x2c);\n        if (lVar3 != 0) {\n          uVar2 = *(undefined4 *)(pcVar13 + 0x30);\n          if (iVar8 < iVar1) {\n            lVar5 = (long)iVar8;\n            iVar8 = iVar8 + 1;\n            puVar6 = (undefined4 *)(*(long *)(param_1 + 0x20) + lVar5 * 0x18);\n            puVar6[1] = 0;\n            *(int *)(param_1 + 0x28) = iVar8;\n            *puVar6 = 0x18;\n            *(long *)(puVar6 + 2) = lVar3;\n            puVar6[4] = uVar2;\n          }\n          else {\n            puVar6 = (undefined4 *)0x0;\n          }\n          *(undefined4 **)(param_1 + 0x40) = puVar6;\n        }\n        if (bVar15) {\n          uVar14 = *(undefined8 *)(pcVar13 + 0x18);\n          iVar12 = *(int *)(pcVar13 + 0x20);\n        }\n        else {\n          uVar14 = *(undefined8 *)(pcVar13 + 8);\n          iVar12 = *(int *)(pcVar13 + 0x10);\n        }\n        *(int *)(param_1 + 0x48) = *(int *)(param_1 + 0x48) + iVar12;\n        if (iVar8 < iVar1) {\n          puVar6 = (undefined4 *)(*(long *)(param_1 + 0x20) + (long)iVar8 * 0x18);\n          puVar6[1] = 0;\n          *(int *)(param_1 + 0x28) = iVar8 + 1;\n          *puVar6 = 0x18;\n          *(undefined8 *)(puVar6 + 2) = uVar14;\n          puVar6[4] = iVar12;\n        }\n        else {\n          puVar6 = (undefined4 *)0x0;\n        }\n        if (**(char **)(param_1 + 0x18) != 'B') {\n          return puVar6;\n        }\n        puVar6 = (undefined4 *)FUN_002f7820(param_1,puVar6);\n        if ((puVar6 != (undefined4 *)0x0) &&\n           (iVar8 = *(int *)(param_1 + 0x38), iVar8 < *(int *)(param_1 + 0x3c))) {\n          *(undefined4 **)(*(long *)(param_1 + 0x30) + (long)iVar8 * 8) = puVar6;\n          *(int *)(param_1 + 0x38) = iVar8 + 1;\n          return puVar6;\n        }\n        return (undefined4 *)0x0;\n      }" if (parenthesized_expression "(cVar4 == cVar7)" ( (binary_expression "cVar4 == cVar7" identifier == identifier) )) (compound_statement "{\n        lVar3 = *(long *)(pcVar13 + 0x28);\n        iVar8 = *(int *)(param_1 + 0x28);\n        iVar1 = *(int *)(param_1 + 0x2c);\n        if (lVar3 != 0) {\n          uVar2 = *(undefined4 *)(pcVar13 + 0x30);\n          if (iVar8 < iVar1) {\n            lVar5 = (long)iVar8;\n            iVar8 = iVar8 + 1;\n            puVar6 = (undefined4 *)(*(long *)(param_1 + 0x20) + lVar5 * 0x18);\n            puVar6[1] = 0;\n            *(int *)(param_1 + 0x28) = iVar8;\n            *puVar6 = 0x18;\n            *(long *)(puVar6 + 2) = lVar3;\n            puVar6[4] = uVar2;\n          }\n          else {\n            puVar6 = (undefined4 *)0x0;\n          }\n          *(undefined4 **)(param_1 + 0x40) = puVar6;\n        }\n        if (bVar15) {\n          uVar14 = *(undefined8 *)(pcVar13 + 0x18);\n          iVar12 = *(int *)(pcVar13 + 0x20);\n        }\n        else {\n          uVar14 = *(undefined8 *)(pcVar13 + 8);\n          iVar12 = *(int *)(pcVar13 + 0x10);\n        }\n        *(int *)(param_1 + 0x48) = *(int *)(param_1 + 0x48) + iVar12;\n        if (iVar8 < iVar1) {\n          puVar6 = (undefined4 *)(*(long *)(param_1 + 0x20) + (long)iVar8 * 0x18);\n          puVar6[1] = 0;\n          *(int *)(param_1 + 0x28) = iVar8 + 1;\n          *puVar6 = 0x18;\n          *(undefined8 *)(puVar6 + 2) = uVar14;\n          puVar6[4] = iVar12;\n        }\n        else {\n          puVar6 = (undefined4 *)0x0;\n        }\n        if (**(char **)(param_1 + 0x18) != 'B') {\n          return puVar6;\n        }\n        puVar6 = (undefined4 *)FUN_002f7820(param_1,puVar6);\n        if ((puVar6 != (undefined4 *)0x0) &&\n           (iVar8 = *(int *)(param_1 + 0x38), iVar8 < *(int *)(param_1 + 0x3c))) {\n          *(undefined4 **)(*(long *)(param_1 + 0x30) + (long)iVar8 * 8) = puVar6;\n          *(int *)(param_1 + 0x38) = iVar8 + 1;\n          return puVar6;\n        }\n        return (undefined4 *)0x0;\n      }" { (expression_statement "lVar3 = *(long *)(pcVar13 + 0x28);" (assignment_expression "lVar3 = *(long *)(pcVar13 + 0x28)" identifier = (pointer_expression "*(long *)(pcVar13 + 0x28)" * (cast_expression "(long *)(pcVar13 + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar13 + 0x28)" ( (binary_expression "pcVar13 + 0x28" identifier + number_literal) ))))) ;) (expression_statement "iVar8 = *(int *)(param_1 + 0x28);" (assignment_expression "iVar8 = *(int *)(param_1 + 0x28)" identifier = (pointer_expression "*(int *)(param_1 + 0x28)" * (cast_expression "(int *)(param_1 + 0x28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x28)" ( (binary_expression "param_1 + 0x28" identifier + number_literal) ))))) ;) (expression_statement "iVar1 = *(int *)(param_1 + 0x2c);" (assignment_expression "iVar1 = *(int *)(param_1 + 0x2c)" identifier = (pointer_expression "*(int *)(param_1 + 0x2c)" * (cast_expression "(int *)(param_1 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2c)" ( (binary_expression "param_1 + 0x2c" identifier + number_literal) ))))) ;) (if_statement "if (lVar3 != 0) {\n          uVar2 = *(undefined4 *)(pcVar13 + 0x30);\n          if (iVar8 < iVar1) {\n            lVar5 = (long)iVar8;\n            iVar8 = iVar8 + 1;\n            puVar6 = (undefined4 *)(*(long *)(param_1 + 0x20) + lVar5 * 0x18);\n            puVar6[1] = 0;\n            *(int *)(param_1 + 0x28) = iVar8;\n            *puVar6 = 0x18;\n            *(long *)(puVar6 + 2) = lVar3;\n            puVar6[4] = uVar2;\n          }\n          else {\n            puVar6 = (undefined4 *)0x0;\n          }\n          *(undefined4 **)(param_1 + 0x40) = puVar6;\n        }" if (parenthesized_expression "(lVar3 != 0)" ( (binary_expression "lVar3 != 0" identifier != number_literal) )) (compound_statement "{\n          uVar2 = *(undefined4 *)(pcVar13 + 0x30);\n          if (iVar8 < iVar1) {\n            lVar5 = (long)iVar8;\n            iVar8 = iVar8 + 1;\n            puVar6 = (undefined4 *)(*(long *)(param_1 + 0x20) + lVar5 * 0x18);\n            puVar6[1] = 0;\n            *(int *)(param_1 + 0x28) = iVar8;\n            *puVar6 = 0x18;\n            *(long *)(puVar6 + 2) = lVar3;\n            puVar6[4] = uVar2;\n          }\n          else {\n            puVar6 = (undefined4 *)0x0;\n          }\n          *(undefined4 **)(param_1 + 0x40) = puVar6;\n        }" { (expression_statement "uVar2 = *(undefined4 *)(pcVar13 + 0x30);" (assignment_expression "uVar2 = *(undefined4 *)(pcVar13 + 0x30)" identifier = (pointer_expression "*(undefined4 *)(pcVar13 + 0x30)" * (cast_expression "(undefined4 *)(pcVar13 + 0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar13 + 0x30)" ( (binary_expression "pcVar13 + 0x30" identifier + number_literal) ))))) ;) (if_statement "if (iVar8 < iVar1) {\n            lVar5 = (long)iVar8;\n            iVar8 = iVar8 + 1;\n            puVar6 = (undefined4 *)(*(long *)(param_1 + 0x20) + lVar5 * 0x18);\n            puVar6[1] = 0;\n            *(int *)(param_1 + 0x28) = iVar8;\n            *puVar6 = 0x18;\n            *(long *)(puVar6 + 2) = lVar3;\n            puVar6[4] = uVar2;\n          }\n          else {\n            puVar6 = (undefined4 *)0x0;\n          }" if (parenthesized_expression "(iVar8 < iVar1)" ( (binary_expression "iVar8 < iVar1" identifier < identifier) )) (compound_statement "{\n            lVar5 = (long)iVar8;\n            iVar8 = iVar8 + 1;\n            puVar6 = (undefined4 *)(*(long *)(param_1 + 0x20) + lVar5 * 0x18);\n            puVar6[1] = 0;\n            *(int *)(param_1 + 0x28) = iVar8;\n            *puVar6 = 0x18;\n            *(long *)(puVar6 + 2) = lVar3;\n            puVar6[4] = uVar2;\n          }" { (expression_statement "lVar5 = (long)iVar8;" (assignment_expression "lVar5 = (long)iVar8" identifier = (cast_expression "(long)iVar8" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) ;) (expression_statement "iVar8 = iVar8 + 1;" (assignment_expression "iVar8 = iVar8 + 1" identifier = (binary_expression "iVar8 + 1" identifier + number_literal)) ;) (expression_statement "puVar6 = (undefined4 *)(*(long *)(param_1 + 0x20) + lVar5 * 0x18);" (assignment_expression "puVar6 = (undefined4 *)(*(long *)(param_1 + 0x20) + lVar5 * 0x18)" identifier = (cast_expression "(undefined4 *)(*(long *)(param_1 + 0x20) + lVar5 * 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(param_1 + 0x20) + lVar5 * 0x18)" ( (binary_expression "*(long *)(param_1 + 0x20) + lVar5 * 0x18" (pointer_expression "*(long *)(param_1 + 0x20)" * (cast_expression "(long *)(param_1 + 0x20)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) )))) + (binary_expression "lVar5 * 0x18" identifier * number_literal)) )))) ;) (expression_statement "puVar6[1] = 0;" (assignment_expression "puVar6[1] = 0" (subscript_expression "puVar6[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(int *)(param_1 + 0x28) = iVar8;" (assignment_expression "*(int *)(param_1 + 0x28) = iVar8" (pointer_expression "*(int *)(param_1 + 0x28)" * (cast_expression "(int *)(param_1 + 0x28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x28)" ( (binary_expression "param_1 + 0x28" identifier + number_literal) )))) = identifier) ;) (expression_statement "*puVar6 = 0x18;" (assignment_expression "*puVar6 = 0x18" (pointer_expression "*puVar6" * identifier) = number_literal) ;) (expression_statement "*(long *)(puVar6 + 2) = lVar3;" (assignment_expression "*(long *)(puVar6 + 2) = lVar3" (pointer_expression "*(long *)(puVar6 + 2)" * (cast_expression "(long *)(puVar6 + 2)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + 2)" ( (binary_expression "puVar6 + 2" identifier + number_literal) )))) = identifier) ;) (expression_statement "puVar6[4] = uVar2;" (assignment_expression "puVar6[4] = uVar2" (subscript_expression "puVar6[4]" identifier [ number_literal ]) = identifier) ;) }) (else_clause "else {\n            puVar6 = (undefined4 *)0x0;\n          }" else (compound_statement "{\n            puVar6 = (undefined4 *)0x0;\n          }" { (expression_statement "puVar6 = (undefined4 *)0x0;" (assignment_expression "puVar6 = (undefined4 *)0x0" identifier = (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }))) (expression_statement "*(undefined4 **)(param_1 + 0x40) = puVar6;" (assignment_expression "*(undefined4 **)(param_1 + 0x40) = puVar6" (pointer_expression "*(undefined4 **)(param_1 + 0x40)" * (cast_expression "(undefined4 **)(param_1 + 0x40)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x40)" ( (binary_expression "param_1 + 0x40" identifier + number_literal) )))) = identifier) ;) })) (if_statement "if (bVar15) {\n          uVar14 = *(undefined8 *)(pcVar13 + 0x18);\n          iVar12 = *(int *)(pcVar13 + 0x20);\n        }\n        else {\n          uVar14 = *(undefined8 *)(pcVar13 + 8);\n          iVar12 = *(int *)(pcVar13 + 0x10);\n        }" if (parenthesized_expression "(bVar15)" ( identifier )) (compound_statement "{\n          uVar14 = *(undefined8 *)(pcVar13 + 0x18);\n          iVar12 = *(int *)(pcVar13 + 0x20);\n        }" { (expression_statement "uVar14 = *(undefined8 *)(pcVar13 + 0x18);" (assignment_expression "uVar14 = *(undefined8 *)(pcVar13 + 0x18)" identifier = (pointer_expression "*(undefined8 *)(pcVar13 + 0x18)" * (cast_expression "(undefined8 *)(pcVar13 + 0x18)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar13 + 0x18)" ( (binary_expression "pcVar13 + 0x18" identifier + number_literal) ))))) ;) (expression_statement "iVar12 = *(int *)(pcVar13 + 0x20);" (assignment_expression "iVar12 = *(int *)(pcVar13 + 0x20)" identifier = (pointer_expression "*(int *)(pcVar13 + 0x20)" * (cast_expression "(int *)(pcVar13 + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar13 + 0x20)" ( (binary_expression "pcVar13 + 0x20" identifier + number_literal) ))))) ;) }) (else_clause "else {\n          uVar14 = *(undefined8 *)(pcVar13 + 8);\n          iVar12 = *(int *)(pcVar13 + 0x10);\n        }" else (compound_statement "{\n          uVar14 = *(undefined8 *)(pcVar13 + 8);\n          iVar12 = *(int *)(pcVar13 + 0x10);\n        }" { (expression_statement "uVar14 = *(undefined8 *)(pcVar13 + 8);" (assignment_expression "uVar14 = *(undefined8 *)(pcVar13 + 8)" identifier = (pointer_expression "*(undefined8 *)(pcVar13 + 8)" * (cast_expression "(undefined8 *)(pcVar13 + 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar13 + 8)" ( (binary_expression "pcVar13 + 8" identifier + number_literal) ))))) ;) (expression_statement "iVar12 = *(int *)(pcVar13 + 0x10);" (assignment_expression "iVar12 = *(int *)(pcVar13 + 0x10)" identifier = (pointer_expression "*(int *)(pcVar13 + 0x10)" * (cast_expression "(int *)(pcVar13 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar13 + 0x10)" ( (binary_expression "pcVar13 + 0x10" identifier + number_literal) ))))) ;) }))) (expression_statement "*(int *)(param_1 + 0x48) = *(int *)(param_1 + 0x48) + iVar12;" (assignment_expression "*(int *)(param_1 + 0x48) = *(int *)(param_1 + 0x48) + iVar12" (pointer_expression "*(int *)(param_1 + 0x48)" * (cast_expression "(int *)(param_1 + 0x48)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x48)" ( (binary_expression "param_1 + 0x48" identifier + number_literal) )))) = (binary_expression "*(int *)(param_1 + 0x48) + iVar12" (pointer_expression "*(int *)(param_1 + 0x48)" * (cast_expression "(int *)(param_1 + 0x48)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x48)" ( (binary_expression "param_1 + 0x48" identifier + number_literal) )))) + identifier)) ;) (if_statement "if (iVar8 < iVar1) {\n          puVar6 = (undefined4 *)(*(long *)(param_1 + 0x20) + (long)iVar8 * 0x18);\n          puVar6[1] = 0;\n          *(int *)(param_1 + 0x28) = iVar8 + 1;\n          *puVar6 = 0x18;\n          *(undefined8 *)(puVar6 + 2) = uVar14;\n          puVar6[4] = iVar12;\n        }\n        else {\n          puVar6 = (undefined4 *)0x0;\n        }" if (parenthesized_expression "(iVar8 < iVar1)" ( (binary_expression "iVar8 < iVar1" identifier < identifier) )) (compound_statement "{\n          puVar6 = (undefined4 *)(*(long *)(param_1 + 0x20) + (long)iVar8 * 0x18);\n          puVar6[1] = 0;\n          *(int *)(param_1 + 0x28) = iVar8 + 1;\n          *puVar6 = 0x18;\n          *(undefined8 *)(puVar6 + 2) = uVar14;\n          puVar6[4] = iVar12;\n        }" { (expression_statement "puVar6 = (undefined4 *)(*(long *)(param_1 + 0x20) + (long)iVar8 * 0x18);" (assignment_expression "puVar6 = (undefined4 *)(*(long *)(param_1 + 0x20) + (long)iVar8 * 0x18)" identifier = (cast_expression "(undefined4 *)(*(long *)(param_1 + 0x20) + (long)iVar8 * 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(param_1 + 0x20) + (long)iVar8 * 0x18)" ( (binary_expression "*(long *)(param_1 + 0x20) + (long)iVar8 * 0x18" (pointer_expression "*(long *)(param_1 + 0x20)" * (cast_expression "(long *)(param_1 + 0x20)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) )))) + (binary_expression "(long)iVar8 * 0x18" (cast_expression "(long)iVar8" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) * number_literal)) )))) ;) (expression_statement "puVar6[1] = 0;" (assignment_expression "puVar6[1] = 0" (subscript_expression "puVar6[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(int *)(param_1 + 0x28) = iVar8 + 1;" (assignment_expression "*(int *)(param_1 + 0x28) = iVar8 + 1" (pointer_expression "*(int *)(param_1 + 0x28)" * (cast_expression "(int *)(param_1 + 0x28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x28)" ( (binary_expression "param_1 + 0x28" identifier + number_literal) )))) = (binary_expression "iVar8 + 1" identifier + number_literal)) ;) (expression_statement "*puVar6 = 0x18;" (assignment_expression "*puVar6 = 0x18" (pointer_expression "*puVar6" * identifier) = number_literal) ;) (expression_statement "*(undefined8 *)(puVar6 + 2) = uVar14;" (assignment_expression "*(undefined8 *)(puVar6 + 2) = uVar14" (pointer_expression "*(undefined8 *)(puVar6 + 2)" * (cast_expression "(undefined8 *)(puVar6 + 2)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + 2)" ( (binary_expression "puVar6 + 2" identifier + number_literal) )))) = identifier) ;) (expression_statement "puVar6[4] = iVar12;" (assignment_expression "puVar6[4] = iVar12" (subscript_expression "puVar6[4]" identifier [ number_literal ]) = identifier) ;) }) (else_clause "else {\n          puVar6 = (undefined4 *)0x0;\n        }" else (compound_statement "{\n          puVar6 = (undefined4 *)0x0;\n        }" { (expression_statement "puVar6 = (undefined4 *)0x0;" (assignment_expression "puVar6 = (undefined4 *)0x0" identifier = (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }))) (if_statement "if (**(char **)(param_1 + 0x18) != 'B') {\n          return puVar6;\n        }" if (parenthesized_expression "(**(char **)(param_1 + 0x18) != 'B')" ( (binary_expression "**(char **)(param_1 + 0x18) != 'B'" (pointer_expression "**(char **)(param_1 + 0x18)" * (pointer_expression "*(char **)(param_1 + 0x18)" * (cast_expression "(char **)(param_1 + 0x18)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) ))))) != (char_literal "'B'" ' character ')) )) (compound_statement "{\n          return puVar6;\n        }" { (return_statement "return puVar6;" return identifier ;) })) (expression_statement "puVar6 = (undefined4 *)FUN_002f7820(param_1,puVar6);" (assignment_expression "puVar6 = (undefined4 *)FUN_002f7820(param_1,puVar6)" identifier = (cast_expression "(undefined4 *)FUN_002f7820(param_1,puVar6)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_002f7820(param_1,puVar6)" identifier (argument_list "(param_1,puVar6)" ( identifier , identifier ))))) ;) (if_statement "if ((puVar6 != (undefined4 *)0x0) &&\n           (iVar8 = *(int *)(param_1 + 0x38), iVar8 < *(int *)(param_1 + 0x3c))) {\n          *(undefined4 **)(*(long *)(param_1 + 0x30) + (long)iVar8 * 8) = puVar6;\n          *(int *)(param_1 + 0x38) = iVar8 + 1;\n          return puVar6;\n        }" if (parenthesized_expression "((puVar6 != (undefined4 *)0x0) &&\n           (iVar8 = *(int *)(param_1 + 0x38), iVar8 < *(int *)(param_1 + 0x3c)))" ( (binary_expression "(puVar6 != (undefined4 *)0x0) &&\n           (iVar8 = *(int *)(param_1 + 0x38), iVar8 < *(int *)(param_1 + 0x3c))" (parenthesized_expression "(puVar6 != (undefined4 *)0x0)" ( (binary_expression "puVar6 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(iVar8 = *(int *)(param_1 + 0x38), iVar8 < *(int *)(param_1 + 0x3c))" ( (comma_expression "iVar8 = *(int *)(param_1 + 0x38), iVar8 < *(int *)(param_1 + 0x3c)" (assignment_expression "iVar8 = *(int *)(param_1 + 0x38)" identifier = (pointer_expression "*(int *)(param_1 + 0x38)" * (cast_expression "(int *)(param_1 + 0x38)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x38)" ( (binary_expression "param_1 + 0x38" identifier + number_literal) ))))) , (binary_expression "iVar8 < *(int *)(param_1 + 0x3c)" identifier < (pointer_expression "*(int *)(param_1 + 0x3c)" * (cast_expression "(int *)(param_1 + 0x3c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x3c)" ( (binary_expression "param_1 + 0x3c" identifier + number_literal) )))))) ))) )) (compound_statement "{\n          *(undefined4 **)(*(long *)(param_1 + 0x30) + (long)iVar8 * 8) = puVar6;\n          *(int *)(param_1 + 0x38) = iVar8 + 1;\n          return puVar6;\n        }" { (expression_statement "*(undefined4 **)(*(long *)(param_1 + 0x30) + (long)iVar8 * 8) = puVar6;" (assignment_expression "*(undefined4 **)(*(long *)(param_1 + 0x30) + (long)iVar8 * 8) = puVar6" (pointer_expression "*(undefined4 **)(*(long *)(param_1 + 0x30) + (long)iVar8 * 8)" * (cast_expression "(undefined4 **)(*(long *)(param_1 + 0x30) + (long)iVar8 * 8)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(long *)(param_1 + 0x30) + (long)iVar8 * 8)" ( (binary_expression "*(long *)(param_1 + 0x30) + (long)iVar8 * 8" (pointer_expression "*(long *)(param_1 + 0x30)" * (cast_expression "(long *)(param_1 + 0x30)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x30)" ( (binary_expression "param_1 + 0x30" identifier + number_literal) )))) + (binary_expression "(long)iVar8 * 8" (cast_expression "(long)iVar8" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) * number_literal)) )))) = identifier) ;) (expression_statement "*(int *)(param_1 + 0x38) = iVar8 + 1;" (assignment_expression "*(int *)(param_1 + 0x38) = iVar8 + 1" (pointer_expression "*(int *)(param_1 + 0x38)" * (cast_expression "(int *)(param_1 + 0x38)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x38)" ( (binary_expression "param_1 + 0x38" identifier + number_literal) )))) = (binary_expression "iVar8 + 1" identifier + number_literal)) ;) (return_statement "return puVar6;" return identifier ;) })) (return_statement "return (undefined4 *)0x0;" return (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) (expression_statement "pcVar13 = pcVar13 + 0x38;" (assignment_expression "pcVar13 = pcVar13 + 0x38" identifier = (binary_expression "pcVar13 + 0x38" identifier + number_literal)) ;) (if_statement "if (pcVar13 == "") break;" if (parenthesized_expression "(pcVar13 == "")" ( (binary_expression "pcVar13 == """ identifier == (string_literal """" " ")) )) (break_statement "break;" break ;)) (expression_statement "cVar7 = *pcVar13;" (assignment_expression "cVar7 = *pcVar13" identifier = (pointer_expression "*pcVar13" * identifier)) ;) })) })) (return_statement "return (undefined4 *)0x0;" return (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) IDENT) , (parameter_declaration TYPE IDENT) )))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == (char_literal ' character ')) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT - LIT) ))) < LIT) )) || (parenthesized_expression ( (binary_expression IDENT == (char_literal ' character ')) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' character ')) )) (compound_statement { (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) <= (cast_expression ( (type_descriptor TYPE) ) IDENT)) )) (compound_statement { (return_statement return (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT) ;) }))) (return_statement return (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + (binary_expression IDENT * LIT)) )))) ;) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = LIT) ;)) (if_statement if (parenthesized_expression ( (binary_expression LIT < (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT - LIT) )))) )) (goto_statement goto statement_identifier ;)) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + LIT) + (binary_expression IDENT * LIT))) ;) (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (return_statement return (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' character ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT + LIT) )))) ;) (goto_statement goto statement_identifier ;) })) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT - LIT) ))) < LIT) )) (break_statement break ;)) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression LIT < (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) )) (compound_statement { (return_statement return (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT) ;) }))) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + LIT) + (binary_expression IDENT * LIT))) ;) })) }) while (parenthesized_expression ( BOOL )) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT + LIT) ))) < LIT) )) (goto_statement goto statement_identifier ;)) })) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) )) != LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (unary_expression ! IDENT) )) && (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) ))) )) && (parenthesized_expression ( (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) + LIT) ))) < LIT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = BOOL) ;) })) (expression_statement (assignment_expression IDENT = (string_literal " string_content ")) ;) (expression_statement (assignment_expression IDENT = (char_literal ' character ')) ;) (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + (binary_expression IDENT * LIT)) )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) }))) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) })) (if_statement if (parenthesized_expression ( IDENT )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) }))) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) * LIT)) )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) != (char_literal ' character ')) )) (compound_statement { (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT , IDENT ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) , (binary_expression IDENT < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))))) ))) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) * LIT)) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression IDENT + LIT)) ;) (return_statement return IDENT ;) })) (return_statement return (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (string_literal " ")) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) })) })) (return_statement return (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT) ;) })))
(function_definition "undefined4 * FUN_002f7880(long param_1,uint param_2)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  long lVar3;\n  char cVar4;\n  long lVar5;\n  undefined4 *puVar6;\n  char cVar7;\n  int iVar8;\n  ulong uVar9;\n  uint uVar10;\n  uint uVar11;\n  int iVar12;\n  char *pcVar13;\n  undefined8 uVar14;\n  bool bVar15;\n  \n  pcVar13 = *(char **)(param_1 + 0x18);\n  if (*pcVar13 == 'S') {\n    *(char **)(param_1 + 0x18) = pcVar13 + 1;\n    cVar4 = pcVar13[1];\n    if (cVar4 != '\0') {\n      *(char **)(param_1 + 0x18) = pcVar13 + 2;\n      cVar4 = pcVar13[1];\n      iVar8 = (int)cVar4;\n      if (((byte)(cVar4 - 0x30U) < 10) || (cVar4 == '_')) {\n        uVar9 = 0;\n        if (cVar4 == '_') {\nLAB_002f791a:\n          if (*(uint *)(param_1 + 0x38) <= (uint)uVar9) {\n            return (undefined4 *)0x0;\n          }\n          return *(undefined4 **)(*(long *)(param_1 + 0x30) + uVar9 * 8);\n        }\nLAB_002f7940:\n        uVar10 = 0;\n        if (9 < (byte)(cVar4 - 0x30U)) goto LAB_002f797f;\n        do {\n          uVar11 = uVar10;\n          uVar10 = iVar8 + -0x30 + uVar10 * 0x24;\n          while( true ) {\n            if (uVar10 < uVar11) {\n              return (undefined4 *)0x0;\n            }\n            pcVar13 = *(char **)(param_1 + 0x18);\n            cVar4 = *pcVar13;\n            if (cVar4 != '\0') {\n              *(char **)(param_1 + 0x18) = pcVar13 + 1;\n              cVar4 = *pcVar13;\n              if (cVar4 == '_') {\n                uVar9 = (ulong)(uVar10 + 1);\n                goto LAB_002f791a;\n              }\n            }\n            iVar8 = (int)cVar4;\n            if ((byte)(cVar4 - 0x30U) < 10) break;\nLAB_002f797f:\n            if (0x19 < (byte)((char)iVar8 + 0xbfU)) {\n              return (undefined4 *)0x0;\n            }\n            uVar11 = uVar10;\n            uVar10 = iVar8 + -0x37 + uVar10 * 0x24;\n          }\n        } while( true );\n      }\n      if ((byte)(cVar4 + 0xbfU) < 0x1a) goto LAB_002f7940;\n    }\n    bVar15 = (*(uint *)(param_1 + 0x10) & 8) != 0;\n    if (((!bVar15) && ((param_2 & 1) != 0)) && ((byte)(**(char **)(param_1 + 0x18) + 0xbdU) < 2)) {\n      bVar15 = true;\n    }\n    pcVar13 = "t";\n    cVar7 = 't';\n    while( true ) {\n      if (cVar4 == cVar7) {\n        lVar3 = *(long *)(pcVar13 + 0x28);\n        iVar8 = *(int *)(param_1 + 0x28);\n        iVar1 = *(int *)(param_1 + 0x2c);\n        if (lVar3 != 0) {\n          uVar2 = *(undefined4 *)(pcVar13 + 0x30);\n          if (iVar8 < iVar1) {\n            lVar5 = (long)iVar8;\n            iVar8 = iVar8 + 1;\n            puVar6 = (undefined4 *)(*(long *)(param_1 + 0x20) + lVar5 * 0x18);\n            puVar6[1] = 0;\n            *(int *)(param_1 + 0x28) = iVar8;\n            *puVar6 = 0x18;\n            *(long *)(puVar6 + 2) = lVar3;\n            puVar6[4] = uVar2;\n          }\n          else {\n            puVar6 = (undefined4 *)0x0;\n          }\n          *(undefined4 **)(param_1 + 0x40) = puVar6;\n        }\n        if (bVar15) {\n          uVar14 = *(undefined8 *)(pcVar13 + 0x18);\n          iVar12 = *(int *)(pcVar13 + 0x20);\n        }\n        else {\n          uVar14 = *(undefined8 *)(pcVar13 + 8);\n          iVar12 = *(int *)(pcVar13 + 0x10);\n        }\n        *(int *)(param_1 + 0x48) = *(int *)(param_1 + 0x48) + iVar12;\n        if (iVar8 < iVar1) {\n          puVar6 = (undefined4 *)(*(long *)(param_1 + 0x20) + (long)iVar8 * 0x18);\n          puVar6[1] = 0;\n          *(int *)(param_1 + 0x28) = iVar8 + 1;\n          *puVar6 = 0x18;\n          *(undefined8 *)(puVar6 + 2) = uVar14;\n          puVar6[4] = iVar12;\n        }\n        else {\n          puVar6 = (undefined4 *)0x0;\n        }\n        if (**(char **)(param_1 + 0x18) != 'B') {\n          return puVar6;\n        }\n        puVar6 = (undefined4 *)FUN_002f7820(param_1,puVar6);\n        if ((puVar6 != (undefined4 *)0x0) &&\n           (iVar8 = *(int *)(param_1 + 0x38), iVar8 < *(int *)(param_1 + 0x3c))) {\n          *(undefined4 **)(*(long *)(param_1 + 0x30) + (long)iVar8 * 8) = puVar6;\n          *(int *)(param_1 + 0x38) = iVar8 + 1;\n          return puVar6;\n        }\n        return (undefined4 *)0x0;\n      }\n      pcVar13 = pcVar13 + 0x38;\n      if (pcVar13 == "") break;\n      cVar7 = *pcVar13;\n    }\n  }\n  return (undefined4 *)0x0;\n}" (type_identifier "undefined4") (pointer_declarator "* FUN_002f7880(long param_1,uint param_2)" (* "*") (function_declarator "FUN_002f7880(long param_1,uint param_2)" (identifier "FUN_002f7880") (parameter_list "(long param_1,uint param_2)" (( "(") (parameter_declaration "long param_1" (sized_type_specifier "long" (long "long")) (identifier "param_1")) (, ",") (parameter_declaration "uint param_2" (type_identifier "uint") (identifier "param_2")) () ")")))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  long lVar3;\n  char cVar4;\n  long lVar5;\n  undefined4 *puVar6;\n  char cVar7;\n  int iVar8;\n  ulong uVar9;\n  uint uVar10;\n  uint uVar11;\n  int iVar12;\n  char *pcVar13;\n  undefined8 uVar14;\n  bool bVar15;\n  \n  pcVar13 = *(char **)(param_1 + 0x18);\n  if (*pcVar13 == 'S') {\n    *(char **)(param_1 + 0x18) = pcVar13 + 1;\n    cVar4 = pcVar13[1];\n    if (cVar4 != '\0') {\n      *(char **)(param_1 + 0x18) = pcVar13 + 2;\n      cVar4 = pcVar13[1];\n      iVar8 = (int)cVar4;\n      if (((byte)(cVar4 - 0x30U) < 10) || (cVar4 == '_')) {\n        uVar9 = 0;\n        if (cVar4 == '_') {\nLAB_002f791a:\n          if (*(uint *)(param_1 + 0x38) <= (uint)uVar9) {\n            return (undefined4 *)0x0;\n          }\n          return *(undefined4 **)(*(long *)(param_1 + 0x30) + uVar9 * 8);\n        }\nLAB_002f7940:\n        uVar10 = 0;\n        if (9 < (byte)(cVar4 - 0x30U)) goto LAB_002f797f;\n        do {\n          uVar11 = uVar10;\n          uVar10 = iVar8 + -0x30 + uVar10 * 0x24;\n          while( true ) {\n            if (uVar10 < uVar11) {\n              return (undefined4 *)0x0;\n            }\n            pcVar13 = *(char **)(param_1 + 0x18);\n            cVar4 = *pcVar13;\n            if (cVar4 != '\0') {\n              *(char **)(param_1 + 0x18) = pcVar13 + 1;\n              cVar4 = *pcVar13;\n              if (cVar4 == '_') {\n                uVar9 = (ulong)(uVar10 + 1);\n                goto LAB_002f791a;\n              }\n            }\n            iVar8 = (int)cVar4;\n            if ((byte)(cVar4 - 0x30U) < 10) break;\nLAB_002f797f:\n            if (0x19 < (byte)((char)iVar8 + 0xbfU)) {\n              return (undefined4 *)0x0;\n            }\n            uVar11 = uVar10;\n            uVar10 = iVar8 + -0x37 + uVar10 * 0x24;\n          }\n        } while( true );\n      }\n      if ((byte)(cVar4 + 0xbfU) < 0x1a) goto LAB_002f7940;\n    }\n    bVar15 = (*(uint *)(param_1 + 0x10) & 8) != 0;\n    if (((!bVar15) && ((param_2 & 1) != 0)) && ((byte)(**(char **)(param_1 + 0x18) + 0xbdU) < 2)) {\n      bVar15 = true;\n    }\n    pcVar13 = "t";\n    cVar7 = 't';\n    while( true ) {\n      if (cVar4 == cVar7) {\n        lVar3 = *(long *)(pcVar13 + 0x28);\n        iVar8 = *(int *)(param_1 + 0x28);\n        iVar1 = *(int *)(param_1 + 0x2c);\n        if (lVar3 != 0) {\n          uVar2 = *(undefined4 *)(pcVar13 + 0x30);\n          if (iVar8 < iVar1) {\n            lVar5 = (long)iVar8;\n            iVar8 = iVar8 + 1;\n            puVar6 = (undefined4 *)(*(long *)(param_1 + 0x20) + lVar5 * 0x18);\n            puVar6[1] = 0;\n            *(int *)(param_1 + 0x28) = iVar8;\n            *puVar6 = 0x18;\n            *(long *)(puVar6 + 2) = lVar3;\n            puVar6[4] = uVar2;\n          }\n          else {\n            puVar6 = (undefined4 *)0x0;\n          }\n          *(undefined4 **)(param_1 + 0x40) = puVar6;\n        }\n        if (bVar15) {\n          uVar14 = *(undefined8 *)(pcVar13 + 0x18);\n          iVar12 = *(int *)(pcVar13 + 0x20);\n        }\n        else {\n          uVar14 = *(undefined8 *)(pcVar13 + 8);\n          iVar12 = *(int *)(pcVar13 + 0x10);\n        }\n        *(int *)(param_1 + 0x48) = *(int *)(param_1 + 0x48) + iVar12;\n        if (iVar8 < iVar1) {\n          puVar6 = (undefined4 *)(*(long *)(param_1 + 0x20) + (long)iVar8 * 0x18);\n          puVar6[1] = 0;\n          *(int *)(param_1 + 0x28) = iVar8 + 1;\n          *puVar6 = 0x18;\n          *(undefined8 *)(puVar6 + 2) = uVar14;\n          puVar6[4] = iVar12;\n        }\n        else {\n          puVar6 = (undefined4 *)0x0;\n        }\n        if (**(char **)(param_1 + 0x18) != 'B') {\n          return puVar6;\n        }\n        puVar6 = (undefined4 *)FUN_002f7820(param_1,puVar6);\n        if ((puVar6 != (undefined4 *)0x0) &&\n           (iVar8 = *(int *)(param_1 + 0x38), iVar8 < *(int *)(param_1 + 0x3c))) {\n          *(undefined4 **)(*(long *)(param_1 + 0x30) + (long)iVar8 * 8) = puVar6;\n          *(int *)(param_1 + 0x38) = iVar8 + 1;\n          return puVar6;\n        }\n        return (undefined4 *)0x0;\n      }\n      pcVar13 = pcVar13 + 0x38;\n      if (pcVar13 == "") break;\n      cVar7 = *pcVar13;\n    }\n  }\n  return (undefined4 *)0x0;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (declaration "long lVar3;" (sized_type_specifier "long" (long "long")) (identifier "lVar3") (; ";")) (declaration "char cVar4;" (primitive_type "char") (identifier "cVar4") (; ";")) (declaration "long lVar5;" (sized_type_specifier "long" (long "long")) (identifier "lVar5") (; ";")) (declaration "undefined4 *puVar6;" (type_identifier "undefined4") (pointer_declarator "*puVar6" (* "*") (identifier "puVar6")) (; ";")) (declaration "char cVar7;" (primitive_type "char") (identifier "cVar7") (; ";")) (declaration "int iVar8;" (primitive_type "int") (identifier "iVar8") (; ";")) (declaration "ulong uVar9;" (type_identifier "ulong") (identifier "uVar9") (; ";")) (declaration "uint uVar10;" (type_identifier "uint") (identifier "uVar10") (; ";")) (declaration "uint uVar11;" (type_identifier "uint") (identifier "uVar11") (; ";")) (declaration "int iVar12;" (primitive_type "int") (identifier "iVar12") (; ";")) (declaration "char *pcVar13;" (primitive_type "char") (pointer_declarator "*pcVar13" (* "*") (identifier "pcVar13")) (; ";")) (declaration "undefined8 uVar14;" (type_identifier "undefined8") (identifier "uVar14") (; ";")) (declaration "bool bVar15;" (primitive_type "bool") (identifier "bVar15") (; ";")) (expression_statement "pcVar13 = *(char **)(param_1 + 0x18);" (assignment_expression "pcVar13 = *(char **)(param_1 + 0x18)" (identifier "pcVar13") (= "=") (pointer_expression "*(char **)(param_1 + 0x18)" (* "*") (cast_expression "(char **)(param_1 + 0x18)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x18)" (( "(") (binary_expression "param_1 + 0x18" (identifier "param_1") (+ "+") (number_literal "0x18")) () ")"))))) (; ";")) (if_statement "if (*pcVar13 == 'S') {\n    *(char **)(param_1 + 0x18) = pcVar13 + 1;\n    cVar4 = pcVar13[1];\n    if (cVar4 != '\0') {\n      *(char **)(param_1 + 0x18) = pcVar13 + 2;\n      cVar4 = pcVar13[1];\n      iVar8 = (int)cVar4;\n      if (((byte)(cVar4 - 0x30U) < 10) || (cVar4 == '_')) {\n        uVar9 = 0;\n        if (cVar4 == '_') {\nLAB_002f791a:\n          if (*(uint *)(param_1 + 0x38) <= (uint)uVar9) {\n            return (undefined4 *)0x0;\n          }\n          return *(undefined4 **)(*(long *)(param_1 + 0x30) + uVar9 * 8);\n        }\nLAB_002f7940:\n        uVar10 = 0;\n        if (9 < (byte)(cVar4 - 0x30U)) goto LAB_002f797f;\n        do {\n          uVar11 = uVar10;\n          uVar10 = iVar8 + -0x30 + uVar10 * 0x24;\n          while( true ) {\n            if (uVar10 < uVar11) {\n              return (undefined4 *)0x0;\n            }\n            pcVar13 = *(char **)(param_1 + 0x18);\n            cVar4 = *pcVar13;\n            if (cVar4 != '\0') {\n              *(char **)(param_1 + 0x18) = pcVar13 + 1;\n              cVar4 = *pcVar13;\n              if (cVar4 == '_') {\n                uVar9 = (ulong)(uVar10 + 1);\n                goto LAB_002f791a;\n              }\n            }\n            iVar8 = (int)cVar4;\n            if ((byte)(cVar4 - 0x30U) < 10) break;\nLAB_002f797f:\n            if (0x19 < (byte)((char)iVar8 + 0xbfU)) {\n              return (undefined4 *)0x0;\n            }\n            uVar11 = uVar10;\n            uVar10 = iVar8 + -0x37 + uVar10 * 0x24;\n          }\n        } while( true );\n      }\n      if ((byte)(cVar4 + 0xbfU) < 0x1a) goto LAB_002f7940;\n    }\n    bVar15 = (*(uint *)(param_1 + 0x10) & 8) != 0;\n    if (((!bVar15) && ((param_2 & 1) != 0)) && ((byte)(**(char **)(param_1 + 0x18) + 0xbdU) < 2)) {\n      bVar15 = true;\n    }\n    pcVar13 = "t";\n    cVar7 = 't';\n    while( true ) {\n      if (cVar4 == cVar7) {\n        lVar3 = *(long *)(pcVar13 + 0x28);\n        iVar8 = *(int *)(param_1 + 0x28);\n        iVar1 = *(int *)(param_1 + 0x2c);\n        if (lVar3 != 0) {\n          uVar2 = *(undefined4 *)(pcVar13 + 0x30);\n          if (iVar8 < iVar1) {\n            lVar5 = (long)iVar8;\n            iVar8 = iVar8 + 1;\n            puVar6 = (undefined4 *)(*(long *)(param_1 + 0x20) + lVar5 * 0x18);\n            puVar6[1] = 0;\n            *(int *)(param_1 + 0x28) = iVar8;\n            *puVar6 = 0x18;\n            *(long *)(puVar6 + 2) = lVar3;\n            puVar6[4] = uVar2;\n          }\n          else {\n            puVar6 = (undefined4 *)0x0;\n          }\n          *(undefined4 **)(param_1 + 0x40) = puVar6;\n        }\n        if (bVar15) {\n          uVar14 = *(undefined8 *)(pcVar13 + 0x18);\n          iVar12 = *(int *)(pcVar13 + 0x20);\n        }\n        else {\n          uVar14 = *(undefined8 *)(pcVar13 + 8);\n          iVar12 = *(int *)(pcVar13 + 0x10);\n        }\n        *(int *)(param_1 + 0x48) = *(int *)(param_1 + 0x48) + iVar12;\n        if (iVar8 < iVar1) {\n          puVar6 = (undefined4 *)(*(long *)(param_1 + 0x20) + (long)iVar8 * 0x18);\n          puVar6[1] = 0;\n          *(int *)(param_1 + 0x28) = iVar8 + 1;\n          *puVar6 = 0x18;\n          *(undefined8 *)(puVar6 + 2) = uVar14;\n          puVar6[4] = iVar12;\n        }\n        else {\n          puVar6 = (undefined4 *)0x0;\n        }\n        if (**(char **)(param_1 + 0x18) != 'B') {\n          return puVar6;\n        }\n        puVar6 = (undefined4 *)FUN_002f7820(param_1,puVar6);\n        if ((puVar6 != (undefined4 *)0x0) &&\n           (iVar8 = *(int *)(param_1 + 0x38), iVar8 < *(int *)(param_1 + 0x3c))) {\n          *(undefined4 **)(*(long *)(param_1 + 0x30) + (long)iVar8 * 8) = puVar6;\n          *(int *)(param_1 + 0x38) = iVar8 + 1;\n          return puVar6;\n        }\n        return (undefined4 *)0x0;\n      }\n      pcVar13 = pcVar13 + 0x38;\n      if (pcVar13 == "") break;\n      cVar7 = *pcVar13;\n    }\n  }" (if "if") (parenthesized_expression "(*pcVar13 == 'S')" (( "(") (binary_expression "*pcVar13 == 'S'" (pointer_expression "*pcVar13" (* "*") (identifier "pcVar13")) (== "==") (char_literal "'S'" (' "'") (character "S") (' "'"))) () ")")) (compound_statement "{\n    *(char **)(param_1 + 0x18) = pcVar13 + 1;\n    cVar4 = pcVar13[1];\n    if (cVar4 != '\0') {\n      *(char **)(param_1 + 0x18) = pcVar13 + 2;\n      cVar4 = pcVar13[1];\n      iVar8 = (int)cVar4;\n      if (((byte)(cVar4 - 0x30U) < 10) || (cVar4 == '_')) {\n        uVar9 = 0;\n        if (cVar4 == '_') {\nLAB_002f791a:\n          if (*(uint *)(param_1 + 0x38) <= (uint)uVar9) {\n            return (undefined4 *)0x0;\n          }\n          return *(undefined4 **)(*(long *)(param_1 + 0x30) + uVar9 * 8);\n        }\nLAB_002f7940:\n        uVar10 = 0;\n        if (9 < (byte)(cVar4 - 0x30U)) goto LAB_002f797f;\n        do {\n          uVar11 = uVar10;\n          uVar10 = iVar8 + -0x30 + uVar10 * 0x24;\n          while( true ) {\n            if (uVar10 < uVar11) {\n              return (undefined4 *)0x0;\n            }\n            pcVar13 = *(char **)(param_1 + 0x18);\n            cVar4 = *pcVar13;\n            if (cVar4 != '\0') {\n              *(char **)(param_1 + 0x18) = pcVar13 + 1;\n              cVar4 = *pcVar13;\n              if (cVar4 == '_') {\n                uVar9 = (ulong)(uVar10 + 1);\n                goto LAB_002f791a;\n              }\n            }\n            iVar8 = (int)cVar4;\n            if ((byte)(cVar4 - 0x30U) < 10) break;\nLAB_002f797f:\n            if (0x19 < (byte)((char)iVar8 + 0xbfU)) {\n              return (undefined4 *)0x0;\n            }\n            uVar11 = uVar10;\n            uVar10 = iVar8 + -0x37 + uVar10 * 0x24;\n          }\n        } while( true );\n      }\n      if ((byte)(cVar4 + 0xbfU) < 0x1a) goto LAB_002f7940;\n    }\n    bVar15 = (*(uint *)(param_1 + 0x10) & 8) != 0;\n    if (((!bVar15) && ((param_2 & 1) != 0)) && ((byte)(**(char **)(param_1 + 0x18) + 0xbdU) < 2)) {\n      bVar15 = true;\n    }\n    pcVar13 = "t";\n    cVar7 = 't';\n    while( true ) {\n      if (cVar4 == cVar7) {\n        lVar3 = *(long *)(pcVar13 + 0x28);\n        iVar8 = *(int *)(param_1 + 0x28);\n        iVar1 = *(int *)(param_1 + 0x2c);\n        if (lVar3 != 0) {\n          uVar2 = *(undefined4 *)(pcVar13 + 0x30);\n          if (iVar8 < iVar1) {\n            lVar5 = (long)iVar8;\n            iVar8 = iVar8 + 1;\n            puVar6 = (undefined4 *)(*(long *)(param_1 + 0x20) + lVar5 * 0x18);\n            puVar6[1] = 0;\n            *(int *)(param_1 + 0x28) = iVar8;\n            *puVar6 = 0x18;\n            *(long *)(puVar6 + 2) = lVar3;\n            puVar6[4] = uVar2;\n          }\n          else {\n            puVar6 = (undefined4 *)0x0;\n          }\n          *(undefined4 **)(param_1 + 0x40) = puVar6;\n        }\n        if (bVar15) {\n          uVar14 = *(undefined8 *)(pcVar13 + 0x18);\n          iVar12 = *(int *)(pcVar13 + 0x20);\n        }\n        else {\n          uVar14 = *(undefined8 *)(pcVar13 + 8);\n          iVar12 = *(int *)(pcVar13 + 0x10);\n        }\n        *(int *)(param_1 + 0x48) = *(int *)(param_1 + 0x48) + iVar12;\n        if (iVar8 < iVar1) {\n          puVar6 = (undefined4 *)(*(long *)(param_1 + 0x20) + (long)iVar8 * 0x18);\n          puVar6[1] = 0;\n          *(int *)(param_1 + 0x28) = iVar8 + 1;\n          *puVar6 = 0x18;\n          *(undefined8 *)(puVar6 + 2) = uVar14;\n          puVar6[4] = iVar12;\n        }\n        else {\n          puVar6 = (undefined4 *)0x0;\n        }\n        if (**(char **)(param_1 + 0x18) != 'B') {\n          return puVar6;\n        }\n        puVar6 = (undefined4 *)FUN_002f7820(param_1,puVar6);\n        if ((puVar6 != (undefined4 *)0x0) &&\n           (iVar8 = *(int *)(param_1 + 0x38), iVar8 < *(int *)(param_1 + 0x3c))) {\n          *(undefined4 **)(*(long *)(param_1 + 0x30) + (long)iVar8 * 8) = puVar6;\n          *(int *)(param_1 + 0x38) = iVar8 + 1;\n          return puVar6;\n        }\n        return (undefined4 *)0x0;\n      }\n      pcVar13 = pcVar13 + 0x38;\n      if (pcVar13 == "") break;\n      cVar7 = *pcVar13;\n    }\n  }" ({ "{") (expression_statement "*(char **)(param_1 + 0x18) = pcVar13 + 1;" (assignment_expression "*(char **)(param_1 + 0x18) = pcVar13 + 1" (pointer_expression "*(char **)(param_1 + 0x18)" (* "*") (cast_expression "(char **)(param_1 + 0x18)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x18)" (( "(") (binary_expression "param_1 + 0x18" (identifier "param_1") (+ "+") (number_literal "0x18")) () ")")))) (= "=") (binary_expression "pcVar13 + 1" (identifier "pcVar13") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "cVar4 = pcVar13[1];" (assignment_expression "cVar4 = pcVar13[1]" (identifier "cVar4") (= "=") (subscript_expression "pcVar13[1]" (identifier "pcVar13") ([ "[") (number_literal "1") (] "]"))) (; ";")) (if_statement "if (cVar4 != '\0') {\n      *(char **)(param_1 + 0x18) = pcVar13 + 2;\n      cVar4 = pcVar13[1];\n      iVar8 = (int)cVar4;\n      if (((byte)(cVar4 - 0x30U) < 10) || (cVar4 == '_')) {\n        uVar9 = 0;\n        if (cVar4 == '_') {\nLAB_002f791a:\n          if (*(uint *)(param_1 + 0x38) <= (uint)uVar9) {\n            return (undefined4 *)0x0;\n          }\n          return *(undefined4 **)(*(long *)(param_1 + 0x30) + uVar9 * 8);\n        }\nLAB_002f7940:\n        uVar10 = 0;\n        if (9 < (byte)(cVar4 - 0x30U)) goto LAB_002f797f;\n        do {\n          uVar11 = uVar10;\n          uVar10 = iVar8 + -0x30 + uVar10 * 0x24;\n          while( true ) {\n            if (uVar10 < uVar11) {\n              return (undefined4 *)0x0;\n            }\n            pcVar13 = *(char **)(param_1 + 0x18);\n            cVar4 = *pcVar13;\n            if (cVar4 != '\0') {\n              *(char **)(param_1 + 0x18) = pcVar13 + 1;\n              cVar4 = *pcVar13;\n              if (cVar4 == '_') {\n                uVar9 = (ulong)(uVar10 + 1);\n                goto LAB_002f791a;\n              }\n            }\n            iVar8 = (int)cVar4;\n            if ((byte)(cVar4 - 0x30U) < 10) break;\nLAB_002f797f:\n            if (0x19 < (byte)((char)iVar8 + 0xbfU)) {\n              return (undefined4 *)0x0;\n            }\n            uVar11 = uVar10;\n            uVar10 = iVar8 + -0x37 + uVar10 * 0x24;\n          }\n        } while( true );\n      }\n      if ((byte)(cVar4 + 0xbfU) < 0x1a) goto LAB_002f7940;\n    }" (if "if") (parenthesized_expression "(cVar4 != '\0')" (( "(") (binary_expression "cVar4 != '\0'" (identifier "cVar4") (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n      *(char **)(param_1 + 0x18) = pcVar13 + 2;\n      cVar4 = pcVar13[1];\n      iVar8 = (int)cVar4;\n      if (((byte)(cVar4 - 0x30U) < 10) || (cVar4 == '_')) {\n        uVar9 = 0;\n        if (cVar4 == '_') {\nLAB_002f791a:\n          if (*(uint *)(param_1 + 0x38) <= (uint)uVar9) {\n            return (undefined4 *)0x0;\n          }\n          return *(undefined4 **)(*(long *)(param_1 + 0x30) + uVar9 * 8);\n        }\nLAB_002f7940:\n        uVar10 = 0;\n        if (9 < (byte)(cVar4 - 0x30U)) goto LAB_002f797f;\n        do {\n          uVar11 = uVar10;\n          uVar10 = iVar8 + -0x30 + uVar10 * 0x24;\n          while( true ) {\n            if (uVar10 < uVar11) {\n              return (undefined4 *)0x0;\n            }\n            pcVar13 = *(char **)(param_1 + 0x18);\n            cVar4 = *pcVar13;\n            if (cVar4 != '\0') {\n              *(char **)(param_1 + 0x18) = pcVar13 + 1;\n              cVar4 = *pcVar13;\n              if (cVar4 == '_') {\n                uVar9 = (ulong)(uVar10 + 1);\n                goto LAB_002f791a;\n              }\n            }\n            iVar8 = (int)cVar4;\n            if ((byte)(cVar4 - 0x30U) < 10) break;\nLAB_002f797f:\n            if (0x19 < (byte)((char)iVar8 + 0xbfU)) {\n              return (undefined4 *)0x0;\n            }\n            uVar11 = uVar10;\n            uVar10 = iVar8 + -0x37 + uVar10 * 0x24;\n          }\n        } while( true );\n      }\n      if ((byte)(cVar4 + 0xbfU) < 0x1a) goto LAB_002f7940;\n    }" ({ "{") (expression_statement "*(char **)(param_1 + 0x18) = pcVar13 + 2;" (assignment_expression "*(char **)(param_1 + 0x18) = pcVar13 + 2" (pointer_expression "*(char **)(param_1 + 0x18)" (* "*") (cast_expression "(char **)(param_1 + 0x18)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x18)" (( "(") (binary_expression "param_1 + 0x18" (identifier "param_1") (+ "+") (number_literal "0x18")) () ")")))) (= "=") (binary_expression "pcVar13 + 2" (identifier "pcVar13") (+ "+") (number_literal "2"))) (; ";")) (expression_statement "cVar4 = pcVar13[1];" (assignment_expression "cVar4 = pcVar13[1]" (identifier "cVar4") (= "=") (subscript_expression "pcVar13[1]" (identifier "pcVar13") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "iVar8 = (int)cVar4;" (assignment_expression "iVar8 = (int)cVar4" (identifier "iVar8") (= "=") (cast_expression "(int)cVar4" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "cVar4"))) (; ";")) (if_statement "if (((byte)(cVar4 - 0x30U) < 10) || (cVar4 == '_')) {\n        uVar9 = 0;\n        if (cVar4 == '_') {\nLAB_002f791a:\n          if (*(uint *)(param_1 + 0x38) <= (uint)uVar9) {\n            return (undefined4 *)0x0;\n          }\n          return *(undefined4 **)(*(long *)(param_1 + 0x30) + uVar9 * 8);\n        }\nLAB_002f7940:\n        uVar10 = 0;\n        if (9 < (byte)(cVar4 - 0x30U)) goto LAB_002f797f;\n        do {\n          uVar11 = uVar10;\n          uVar10 = iVar8 + -0x30 + uVar10 * 0x24;\n          while( true ) {\n            if (uVar10 < uVar11) {\n              return (undefined4 *)0x0;\n            }\n            pcVar13 = *(char **)(param_1 + 0x18);\n            cVar4 = *pcVar13;\n            if (cVar4 != '\0') {\n              *(char **)(param_1 + 0x18) = pcVar13 + 1;\n              cVar4 = *pcVar13;\n              if (cVar4 == '_') {\n                uVar9 = (ulong)(uVar10 + 1);\n                goto LAB_002f791a;\n              }\n            }\n            iVar8 = (int)cVar4;\n            if ((byte)(cVar4 - 0x30U) < 10) break;\nLAB_002f797f:\n            if (0x19 < (byte)((char)iVar8 + 0xbfU)) {\n              return (undefined4 *)0x0;\n            }\n            uVar11 = uVar10;\n            uVar10 = iVar8 + -0x37 + uVar10 * 0x24;\n          }\n        } while( true );\n      }" (if "if") (parenthesized_expression "(((byte)(cVar4 - 0x30U) < 10) || (cVar4 == '_'))" (( "(") (binary_expression "((byte)(cVar4 - 0x30U) < 10) || (cVar4 == '_')" (parenthesized_expression "((byte)(cVar4 - 0x30U) < 10)" (( "(") (binary_expression "(byte)(cVar4 - 0x30U) < 10" (call_expression "(byte)(cVar4 - 0x30U)" (parenthesized_expression "(byte)" (( "(") (identifier "byte") () ")")) (argument_list "(cVar4 - 0x30U)" (( "(") (binary_expression "cVar4 - 0x30U" (identifier "cVar4") (- "-") (number_literal "0x30U")) () ")"))) (< "<") (number_literal "10")) () ")")) (|| "||") (parenthesized_expression "(cVar4 == '_')" (( "(") (binary_expression "cVar4 == '_'" (identifier "cVar4") (== "==") (char_literal "'_'" (' "'") (character "_") (' "'"))) () ")"))) () ")")) (compound_statement "{\n        uVar9 = 0;\n        if (cVar4 == '_') {\nLAB_002f791a:\n          if (*(uint *)(param_1 + 0x38) <= (uint)uVar9) {\n            return (undefined4 *)0x0;\n          }\n          return *(undefined4 **)(*(long *)(param_1 + 0x30) + uVar9 * 8);\n        }\nLAB_002f7940:\n        uVar10 = 0;\n        if (9 < (byte)(cVar4 - 0x30U)) goto LAB_002f797f;\n        do {\n          uVar11 = uVar10;\n          uVar10 = iVar8 + -0x30 + uVar10 * 0x24;\n          while( true ) {\n            if (uVar10 < uVar11) {\n              return (undefined4 *)0x0;\n            }\n            pcVar13 = *(char **)(param_1 + 0x18);\n            cVar4 = *pcVar13;\n            if (cVar4 != '\0') {\n              *(char **)(param_1 + 0x18) = pcVar13 + 1;\n              cVar4 = *pcVar13;\n              if (cVar4 == '_') {\n                uVar9 = (ulong)(uVar10 + 1);\n                goto LAB_002f791a;\n              }\n            }\n            iVar8 = (int)cVar4;\n            if ((byte)(cVar4 - 0x30U) < 10) break;\nLAB_002f797f:\n            if (0x19 < (byte)((char)iVar8 + 0xbfU)) {\n              return (undefined4 *)0x0;\n            }\n            uVar11 = uVar10;\n            uVar10 = iVar8 + -0x37 + uVar10 * 0x24;\n          }\n        } while( true );\n      }" ({ "{") (expression_statement "uVar9 = 0;" (assignment_expression "uVar9 = 0" (identifier "uVar9") (= "=") (number_literal "0")) (; ";")) (if_statement "if (cVar4 == '_') {\nLAB_002f791a:\n          if (*(uint *)(param_1 + 0x38) <= (uint)uVar9) {\n            return (undefined4 *)0x0;\n          }\n          return *(undefined4 **)(*(long *)(param_1 + 0x30) + uVar9 * 8);\n        }" (if "if") (parenthesized_expression "(cVar4 == '_')" (( "(") (binary_expression "cVar4 == '_'" (identifier "cVar4") (== "==") (char_literal "'_'" (' "'") (character "_") (' "'"))) () ")")) (compound_statement "{\nLAB_002f791a:\n          if (*(uint *)(param_1 + 0x38) <= (uint)uVar9) {\n            return (undefined4 *)0x0;\n          }\n          return *(undefined4 **)(*(long *)(param_1 + 0x30) + uVar9 * 8);\n        }" ({ "{") (labeled_statement "LAB_002f791a:\n          if (*(uint *)(param_1 + 0x38) <= (uint)uVar9) {\n            return (undefined4 *)0x0;\n          }" (statement_identifier "LAB_002f791a") (: ":") (if_statement "if (*(uint *)(param_1 + 0x38) <= (uint)uVar9) {\n            return (undefined4 *)0x0;\n          }" (if "if") (parenthesized_expression "(*(uint *)(param_1 + 0x38) <= (uint)uVar9)" (( "(") (binary_expression "*(uint *)(param_1 + 0x38) <= (uint)uVar9" (pointer_expression "*(uint *)(param_1 + 0x38)" (* "*") (cast_expression "(uint *)(param_1 + 0x38)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x38)" (( "(") (binary_expression "param_1 + 0x38" (identifier "param_1") (+ "+") (number_literal "0x38")) () ")")))) (<= "<=") (cast_expression "(uint)uVar9" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "uVar9"))) () ")")) (compound_statement "{\n            return (undefined4 *)0x0;\n          }" ({ "{") (return_statement "return (undefined4 *)0x0;" (return "return") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")) (; ";")) (} "}")))) (return_statement "return *(undefined4 **)(*(long *)(param_1 + 0x30) + uVar9 * 8);" (return "return") (pointer_expression "*(undefined4 **)(*(long *)(param_1 + 0x30) + uVar9 * 8)" (* "*") (cast_expression "(undefined4 **)(*(long *)(param_1 + 0x30) + uVar9 * 8)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*(long *)(param_1 + 0x30) + uVar9 * 8)" (( "(") (binary_expression "*(long *)(param_1 + 0x30) + uVar9 * 8" (pointer_expression "*(long *)(param_1 + 0x30)" (* "*") (cast_expression "(long *)(param_1 + 0x30)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x30)" (( "(") (binary_expression "param_1 + 0x30" (identifier "param_1") (+ "+") (number_literal "0x30")) () ")")))) (+ "+") (binary_expression "uVar9 * 8" (identifier "uVar9") (* "*") (number_literal "8"))) () ")")))) (; ";")) (} "}"))) (labeled_statement "LAB_002f7940:\n        uVar10 = 0;" (statement_identifier "LAB_002f7940") (: ":") (expression_statement "uVar10 = 0;" (assignment_expression "uVar10 = 0" (identifier "uVar10") (= "=") (number_literal "0")) (; ";"))) (if_statement "if (9 < (byte)(cVar4 - 0x30U)) goto LAB_002f797f;" (if "if") (parenthesized_expression "(9 < (byte)(cVar4 - 0x30U))" (( "(") (binary_expression "9 < (byte)(cVar4 - 0x30U)" (number_literal "9") (< "<") (call_expression "(byte)(cVar4 - 0x30U)" (parenthesized_expression "(byte)" (( "(") (identifier "byte") () ")")) (argument_list "(cVar4 - 0x30U)" (( "(") (binary_expression "cVar4 - 0x30U" (identifier "cVar4") (- "-") (number_literal "0x30U")) () ")")))) () ")")) (goto_statement "goto LAB_002f797f;" (goto "goto") (statement_identifier "LAB_002f797f") (; ";"))) (do_statement "do {\n          uVar11 = uVar10;\n          uVar10 = iVar8 + -0x30 + uVar10 * 0x24;\n          while( true ) {\n            if (uVar10 < uVar11) {\n              return (undefined4 *)0x0;\n            }\n            pcVar13 = *(char **)(param_1 + 0x18);\n            cVar4 = *pcVar13;\n            if (cVar4 != '\0') {\n              *(char **)(param_1 + 0x18) = pcVar13 + 1;\n              cVar4 = *pcVar13;\n              if (cVar4 == '_') {\n                uVar9 = (ulong)(uVar10 + 1);\n                goto LAB_002f791a;\n              }\n            }\n            iVar8 = (int)cVar4;\n            if ((byte)(cVar4 - 0x30U) < 10) break;\nLAB_002f797f:\n            if (0x19 < (byte)((char)iVar8 + 0xbfU)) {\n              return (undefined4 *)0x0;\n            }\n            uVar11 = uVar10;\n            uVar10 = iVar8 + -0x37 + uVar10 * 0x24;\n          }\n        } while( true );" (do "do") (compound_statement "{\n          uVar11 = uVar10;\n          uVar10 = iVar8 + -0x30 + uVar10 * 0x24;\n          while( true ) {\n            if (uVar10 < uVar11) {\n              return (undefined4 *)0x0;\n            }\n            pcVar13 = *(char **)(param_1 + 0x18);\n            cVar4 = *pcVar13;\n            if (cVar4 != '\0') {\n              *(char **)(param_1 + 0x18) = pcVar13 + 1;\n              cVar4 = *pcVar13;\n              if (cVar4 == '_') {\n                uVar9 = (ulong)(uVar10 + 1);\n                goto LAB_002f791a;\n              }\n            }\n            iVar8 = (int)cVar4;\n            if ((byte)(cVar4 - 0x30U) < 10) break;\nLAB_002f797f:\n            if (0x19 < (byte)((char)iVar8 + 0xbfU)) {\n              return (undefined4 *)0x0;\n            }\n            uVar11 = uVar10;\n            uVar10 = iVar8 + -0x37 + uVar10 * 0x24;\n          }\n        }" ({ "{") (expression_statement "uVar11 = uVar10;" (assignment_expression "uVar11 = uVar10" (identifier "uVar11") (= "=") (identifier "uVar10")) (; ";")) (expression_statement "uVar10 = iVar8 + -0x30 + uVar10 * 0x24;" (assignment_expression "uVar10 = iVar8 + -0x30 + uVar10 * 0x24" (identifier "uVar10") (= "=") (binary_expression "iVar8 + -0x30 + uVar10 * 0x24" (binary_expression "iVar8 + -0x30" (identifier "iVar8") (+ "+") (number_literal "-0x30")) (+ "+") (binary_expression "uVar10 * 0x24" (identifier "uVar10") (* "*") (number_literal "0x24")))) (; ";")) (while_statement "while( true ) {\n            if (uVar10 < uVar11) {\n              return (undefined4 *)0x0;\n            }\n            pcVar13 = *(char **)(param_1 + 0x18);\n            cVar4 = *pcVar13;\n            if (cVar4 != '\0') {\n              *(char **)(param_1 + 0x18) = pcVar13 + 1;\n              cVar4 = *pcVar13;\n              if (cVar4 == '_') {\n                uVar9 = (ulong)(uVar10 + 1);\n                goto LAB_002f791a;\n              }\n            }\n            iVar8 = (int)cVar4;\n            if ((byte)(cVar4 - 0x30U) < 10) break;\nLAB_002f797f:\n            if (0x19 < (byte)((char)iVar8 + 0xbfU)) {\n              return (undefined4 *)0x0;\n            }\n            uVar11 = uVar10;\n            uVar10 = iVar8 + -0x37 + uVar10 * 0x24;\n          }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n            if (uVar10 < uVar11) {\n              return (undefined4 *)0x0;\n            }\n            pcVar13 = *(char **)(param_1 + 0x18);\n            cVar4 = *pcVar13;\n            if (cVar4 != '\0') {\n              *(char **)(param_1 + 0x18) = pcVar13 + 1;\n              cVar4 = *pcVar13;\n              if (cVar4 == '_') {\n                uVar9 = (ulong)(uVar10 + 1);\n                goto LAB_002f791a;\n              }\n            }\n            iVar8 = (int)cVar4;\n            if ((byte)(cVar4 - 0x30U) < 10) break;\nLAB_002f797f:\n            if (0x19 < (byte)((char)iVar8 + 0xbfU)) {\n              return (undefined4 *)0x0;\n            }\n            uVar11 = uVar10;\n            uVar10 = iVar8 + -0x37 + uVar10 * 0x24;\n          }" ({ "{") (if_statement "if (uVar10 < uVar11) {\n              return (undefined4 *)0x0;\n            }" (if "if") (parenthesized_expression "(uVar10 < uVar11)" (( "(") (binary_expression "uVar10 < uVar11" (identifier "uVar10") (< "<") (identifier "uVar11")) () ")")) (compound_statement "{\n              return (undefined4 *)0x0;\n            }" ({ "{") (return_statement "return (undefined4 *)0x0;" (return "return") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")) (; ";")) (} "}"))) (expression_statement "pcVar13 = *(char **)(param_1 + 0x18);" (assignment_expression "pcVar13 = *(char **)(param_1 + 0x18)" (identifier "pcVar13") (= "=") (pointer_expression "*(char **)(param_1 + 0x18)" (* "*") (cast_expression "(char **)(param_1 + 0x18)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x18)" (( "(") (binary_expression "param_1 + 0x18" (identifier "param_1") (+ "+") (number_literal "0x18")) () ")"))))) (; ";")) (expression_statement "cVar4 = *pcVar13;" (assignment_expression "cVar4 = *pcVar13" (identifier "cVar4") (= "=") (pointer_expression "*pcVar13" (* "*") (identifier "pcVar13"))) (; ";")) (if_statement "if (cVar4 != '\0') {\n              *(char **)(param_1 + 0x18) = pcVar13 + 1;\n              cVar4 = *pcVar13;\n              if (cVar4 == '_') {\n                uVar9 = (ulong)(uVar10 + 1);\n                goto LAB_002f791a;\n              }\n            }" (if "if") (parenthesized_expression "(cVar4 != '\0')" (( "(") (binary_expression "cVar4 != '\0'" (identifier "cVar4") (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n              *(char **)(param_1 + 0x18) = pcVar13 + 1;\n              cVar4 = *pcVar13;\n              if (cVar4 == '_') {\n                uVar9 = (ulong)(uVar10 + 1);\n                goto LAB_002f791a;\n              }\n            }" ({ "{") (expression_statement "*(char **)(param_1 + 0x18) = pcVar13 + 1;" (assignment_expression "*(char **)(param_1 + 0x18) = pcVar13 + 1" (pointer_expression "*(char **)(param_1 + 0x18)" (* "*") (cast_expression "(char **)(param_1 + 0x18)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x18)" (( "(") (binary_expression "param_1 + 0x18" (identifier "param_1") (+ "+") (number_literal "0x18")) () ")")))) (= "=") (binary_expression "pcVar13 + 1" (identifier "pcVar13") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "cVar4 = *pcVar13;" (assignment_expression "cVar4 = *pcVar13" (identifier "cVar4") (= "=") (pointer_expression "*pcVar13" (* "*") (identifier "pcVar13"))) (; ";")) (if_statement "if (cVar4 == '_') {\n                uVar9 = (ulong)(uVar10 + 1);\n                goto LAB_002f791a;\n              }" (if "if") (parenthesized_expression "(cVar4 == '_')" (( "(") (binary_expression "cVar4 == '_'" (identifier "cVar4") (== "==") (char_literal "'_'" (' "'") (character "_") (' "'"))) () ")")) (compound_statement "{\n                uVar9 = (ulong)(uVar10 + 1);\n                goto LAB_002f791a;\n              }" ({ "{") (expression_statement "uVar9 = (ulong)(uVar10 + 1);" (assignment_expression "uVar9 = (ulong)(uVar10 + 1)" (identifier "uVar9") (= "=") (call_expression "(ulong)(uVar10 + 1)" (parenthesized_expression "(ulong)" (( "(") (identifier "ulong") () ")")) (argument_list "(uVar10 + 1)" (( "(") (binary_expression "uVar10 + 1" (identifier "uVar10") (+ "+") (number_literal "1")) () ")")))) (; ";")) (goto_statement "goto LAB_002f791a;" (goto "goto") (statement_identifier "LAB_002f791a") (; ";")) (} "}"))) (} "}"))) (expression_statement "iVar8 = (int)cVar4;" (assignment_expression "iVar8 = (int)cVar4" (identifier "iVar8") (= "=") (cast_expression "(int)cVar4" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "cVar4"))) (; ";")) (if_statement "if ((byte)(cVar4 - 0x30U) < 10) break;" (if "if") (parenthesized_expression "((byte)(cVar4 - 0x30U) < 10)" (( "(") (binary_expression "(byte)(cVar4 - 0x30U) < 10" (call_expression "(byte)(cVar4 - 0x30U)" (parenthesized_expression "(byte)" (( "(") (identifier "byte") () ")")) (argument_list "(cVar4 - 0x30U)" (( "(") (binary_expression "cVar4 - 0x30U" (identifier "cVar4") (- "-") (number_literal "0x30U")) () ")"))) (< "<") (number_literal "10")) () ")")) (break_statement "break;" (break "break") (; ";"))) (labeled_statement "LAB_002f797f:\n            if (0x19 < (byte)((char)iVar8 + 0xbfU)) {\n              return (undefined4 *)0x0;\n            }" (statement_identifier "LAB_002f797f") (: ":") (if_statement "if (0x19 < (byte)((char)iVar8 + 0xbfU)) {\n              return (undefined4 *)0x0;\n            }" (if "if") (parenthesized_expression "(0x19 < (byte)((char)iVar8 + 0xbfU))" (( "(") (binary_expression "0x19 < (byte)((char)iVar8 + 0xbfU)" (number_literal "0x19") (< "<") (call_expression "(byte)((char)iVar8 + 0xbfU)" (parenthesized_expression "(byte)" (( "(") (identifier "byte") () ")")) (argument_list "((char)iVar8 + 0xbfU)" (( "(") (binary_expression "(char)iVar8 + 0xbfU" (cast_expression "(char)iVar8" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "iVar8")) (+ "+") (number_literal "0xbfU")) () ")")))) () ")")) (compound_statement "{\n              return (undefined4 *)0x0;\n            }" ({ "{") (return_statement "return (undefined4 *)0x0;" (return "return") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")) (; ";")) (} "}")))) (expression_statement "uVar11 = uVar10;" (assignment_expression "uVar11 = uVar10" (identifier "uVar11") (= "=") (identifier "uVar10")) (; ";")) (expression_statement "uVar10 = iVar8 + -0x37 + uVar10 * 0x24;" (assignment_expression "uVar10 = iVar8 + -0x37 + uVar10 * 0x24" (identifier "uVar10") (= "=") (binary_expression "iVar8 + -0x37 + uVar10 * 0x24" (binary_expression "iVar8 + -0x37" (identifier "iVar8") (+ "+") (number_literal "-0x37")) (+ "+") (binary_expression "uVar10 * 0x24" (identifier "uVar10") (* "*") (number_literal "0x24")))) (; ";")) (} "}"))) (} "}")) (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (; ";")) (} "}"))) (if_statement "if ((byte)(cVar4 + 0xbfU) < 0x1a) goto LAB_002f7940;" (if "if") (parenthesized_expression "((byte)(cVar4 + 0xbfU) < 0x1a)" (( "(") (binary_expression "(byte)(cVar4 + 0xbfU) < 0x1a" (call_expression "(byte)(cVar4 + 0xbfU)" (parenthesized_expression "(byte)" (( "(") (identifier "byte") () ")")) (argument_list "(cVar4 + 0xbfU)" (( "(") (binary_expression "cVar4 + 0xbfU" (identifier "cVar4") (+ "+") (number_literal "0xbfU")) () ")"))) (< "<") (number_literal "0x1a")) () ")")) (goto_statement "goto LAB_002f7940;" (goto "goto") (statement_identifier "LAB_002f7940") (; ";"))) (} "}"))) (expression_statement "bVar15 = (*(uint *)(param_1 + 0x10) & 8) != 0;" (assignment_expression "bVar15 = (*(uint *)(param_1 + 0x10) & 8) != 0" (identifier "bVar15") (= "=") (binary_expression "(*(uint *)(param_1 + 0x10) & 8) != 0" (parenthesized_expression "(*(uint *)(param_1 + 0x10) & 8)" (( "(") (binary_expression "*(uint *)(param_1 + 0x10) & 8" (pointer_expression "*(uint *)(param_1 + 0x10)" (* "*") (cast_expression "(uint *)(param_1 + 0x10)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")")))) (& "&") (number_literal "8")) () ")")) (!= "!=") (number_literal "0"))) (; ";")) (if_statement "if (((!bVar15) && ((param_2 & 1) != 0)) && ((byte)(**(char **)(param_1 + 0x18) + 0xbdU) < 2)) {\n      bVar15 = true;\n    }" (if "if") (parenthesized_expression "(((!bVar15) && ((param_2 & 1) != 0)) && ((byte)(**(char **)(param_1 + 0x18) + 0xbdU) < 2))" (( "(") (binary_expression "((!bVar15) && ((param_2 & 1) != 0)) && ((byte)(**(char **)(param_1 + 0x18) + 0xbdU) < 2)" (parenthesized_expression "((!bVar15) && ((param_2 & 1) != 0))" (( "(") (binary_expression "(!bVar15) && ((param_2 & 1) != 0)" (parenthesized_expression "(!bVar15)" (( "(") (unary_expression "!bVar15" (! "!") (identifier "bVar15")) () ")")) (&& "&&") (parenthesized_expression "((param_2 & 1) != 0)" (( "(") (binary_expression "(param_2 & 1) != 0" (parenthesized_expression "(param_2 & 1)" (( "(") (binary_expression "param_2 & 1" (identifier "param_2") (& "&") (number_literal "1")) () ")")) (!= "!=") (number_literal "0")) () ")"))) () ")")) (&& "&&") (parenthesized_expression "((byte)(**(char **)(param_1 + 0x18) + 0xbdU) < 2)" (( "(") (binary_expression "(byte)(**(char **)(param_1 + 0x18) + 0xbdU) < 2" (call_expression "(byte)(**(char **)(param_1 + 0x18) + 0xbdU)" (parenthesized_expression "(byte)" (( "(") (identifier "byte") () ")")) (argument_list "(**(char **)(param_1 + 0x18) + 0xbdU)" (( "(") (binary_expression "**(char **)(param_1 + 0x18) + 0xbdU" (pointer_expression "**(char **)(param_1 + 0x18)" (* "*") (pointer_expression "*(char **)(param_1 + 0x18)" (* "*") (cast_expression "(char **)(param_1 + 0x18)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x18)" (( "(") (binary_expression "param_1 + 0x18" (identifier "param_1") (+ "+") (number_literal "0x18")) () ")"))))) (+ "+") (number_literal "0xbdU")) () ")"))) (< "<") (number_literal "2")) () ")"))) () ")")) (compound_statement "{\n      bVar15 = true;\n    }" ({ "{") (expression_statement "bVar15 = true;" (assignment_expression "bVar15 = true" (identifier "bVar15") (= "=") (true "true")) (; ";")) (} "}"))) (expression_statement "pcVar13 = "t";" (assignment_expression "pcVar13 = "t"" (identifier "pcVar13") (= "=") (string_literal ""t"" (" """) (string_content "t") (" """))) (; ";")) (expression_statement "cVar7 = 't';" (assignment_expression "cVar7 = 't'" (identifier "cVar7") (= "=") (char_literal "'t'" (' "'") (character "t") (' "'"))) (; ";")) (while_statement "while( true ) {\n      if (cVar4 == cVar7) {\n        lVar3 = *(long *)(pcVar13 + 0x28);\n        iVar8 = *(int *)(param_1 + 0x28);\n        iVar1 = *(int *)(param_1 + 0x2c);\n        if (lVar3 != 0) {\n          uVar2 = *(undefined4 *)(pcVar13 + 0x30);\n          if (iVar8 < iVar1) {\n            lVar5 = (long)iVar8;\n            iVar8 = iVar8 + 1;\n            puVar6 = (undefined4 *)(*(long *)(param_1 + 0x20) + lVar5 * 0x18);\n            puVar6[1] = 0;\n            *(int *)(param_1 + 0x28) = iVar8;\n            *puVar6 = 0x18;\n            *(long *)(puVar6 + 2) = lVar3;\n            puVar6[4] = uVar2;\n          }\n          else {\n            puVar6 = (undefined4 *)0x0;\n          }\n          *(undefined4 **)(param_1 + 0x40) = puVar6;\n        }\n        if (bVar15) {\n          uVar14 = *(undefined8 *)(pcVar13 + 0x18);\n          iVar12 = *(int *)(pcVar13 + 0x20);\n        }\n        else {\n          uVar14 = *(undefined8 *)(pcVar13 + 8);\n          iVar12 = *(int *)(pcVar13 + 0x10);\n        }\n        *(int *)(param_1 + 0x48) = *(int *)(param_1 + 0x48) + iVar12;\n        if (iVar8 < iVar1) {\n          puVar6 = (undefined4 *)(*(long *)(param_1 + 0x20) + (long)iVar8 * 0x18);\n          puVar6[1] = 0;\n          *(int *)(param_1 + 0x28) = iVar8 + 1;\n          *puVar6 = 0x18;\n          *(undefined8 *)(puVar6 + 2) = uVar14;\n          puVar6[4] = iVar12;\n        }\n        else {\n          puVar6 = (undefined4 *)0x0;\n        }\n        if (**(char **)(param_1 + 0x18) != 'B') {\n          return puVar6;\n        }\n        puVar6 = (undefined4 *)FUN_002f7820(param_1,puVar6);\n        if ((puVar6 != (undefined4 *)0x0) &&\n           (iVar8 = *(int *)(param_1 + 0x38), iVar8 < *(int *)(param_1 + 0x3c))) {\n          *(undefined4 **)(*(long *)(param_1 + 0x30) + (long)iVar8 * 8) = puVar6;\n          *(int *)(param_1 + 0x38) = iVar8 + 1;\n          return puVar6;\n        }\n        return (undefined4 *)0x0;\n      }\n      pcVar13 = pcVar13 + 0x38;\n      if (pcVar13 == "") break;\n      cVar7 = *pcVar13;\n    }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n      if (cVar4 == cVar7) {\n        lVar3 = *(long *)(pcVar13 + 0x28);\n        iVar8 = *(int *)(param_1 + 0x28);\n        iVar1 = *(int *)(param_1 + 0x2c);\n        if (lVar3 != 0) {\n          uVar2 = *(undefined4 *)(pcVar13 + 0x30);\n          if (iVar8 < iVar1) {\n            lVar5 = (long)iVar8;\n            iVar8 = iVar8 + 1;\n            puVar6 = (undefined4 *)(*(long *)(param_1 + 0x20) + lVar5 * 0x18);\n            puVar6[1] = 0;\n            *(int *)(param_1 + 0x28) = iVar8;\n            *puVar6 = 0x18;\n            *(long *)(puVar6 + 2) = lVar3;\n            puVar6[4] = uVar2;\n          }\n          else {\n            puVar6 = (undefined4 *)0x0;\n          }\n          *(undefined4 **)(param_1 + 0x40) = puVar6;\n        }\n        if (bVar15) {\n          uVar14 = *(undefined8 *)(pcVar13 + 0x18);\n          iVar12 = *(int *)(pcVar13 + 0x20);\n        }\n        else {\n          uVar14 = *(undefined8 *)(pcVar13 + 8);\n          iVar12 = *(int *)(pcVar13 + 0x10);\n        }\n        *(int *)(param_1 + 0x48) = *(int *)(param_1 + 0x48) + iVar12;\n        if (iVar8 < iVar1) {\n          puVar6 = (undefined4 *)(*(long *)(param_1 + 0x20) + (long)iVar8 * 0x18);\n          puVar6[1] = 0;\n          *(int *)(param_1 + 0x28) = iVar8 + 1;\n          *puVar6 = 0x18;\n          *(undefined8 *)(puVar6 + 2) = uVar14;\n          puVar6[4] = iVar12;\n        }\n        else {\n          puVar6 = (undefined4 *)0x0;\n        }\n        if (**(char **)(param_1 + 0x18) != 'B') {\n          return puVar6;\n        }\n        puVar6 = (undefined4 *)FUN_002f7820(param_1,puVar6);\n        if ((puVar6 != (undefined4 *)0x0) &&\n           (iVar8 = *(int *)(param_1 + 0x38), iVar8 < *(int *)(param_1 + 0x3c))) {\n          *(undefined4 **)(*(long *)(param_1 + 0x30) + (long)iVar8 * 8) = puVar6;\n          *(int *)(param_1 + 0x38) = iVar8 + 1;\n          return puVar6;\n        }\n        return (undefined4 *)0x0;\n      }\n      pcVar13 = pcVar13 + 0x38;\n      if (pcVar13 == "") break;\n      cVar7 = *pcVar13;\n    }" ({ "{") (if_statement "if (cVar4 == cVar7) {\n        lVar3 = *(long *)(pcVar13 + 0x28);\n        iVar8 = *(int *)(param_1 + 0x28);\n        iVar1 = *(int *)(param_1 + 0x2c);\n        if (lVar3 != 0) {\n          uVar2 = *(undefined4 *)(pcVar13 + 0x30);\n          if (iVar8 < iVar1) {\n            lVar5 = (long)iVar8;\n            iVar8 = iVar8 + 1;\n            puVar6 = (undefined4 *)(*(long *)(param_1 + 0x20) + lVar5 * 0x18);\n            puVar6[1] = 0;\n            *(int *)(param_1 + 0x28) = iVar8;\n            *puVar6 = 0x18;\n            *(long *)(puVar6 + 2) = lVar3;\n            puVar6[4] = uVar2;\n          }\n          else {\n            puVar6 = (undefined4 *)0x0;\n          }\n          *(undefined4 **)(param_1 + 0x40) = puVar6;\n        }\n        if (bVar15) {\n          uVar14 = *(undefined8 *)(pcVar13 + 0x18);\n          iVar12 = *(int *)(pcVar13 + 0x20);\n        }\n        else {\n          uVar14 = *(undefined8 *)(pcVar13 + 8);\n          iVar12 = *(int *)(pcVar13 + 0x10);\n        }\n        *(int *)(param_1 + 0x48) = *(int *)(param_1 + 0x48) + iVar12;\n        if (iVar8 < iVar1) {\n          puVar6 = (undefined4 *)(*(long *)(param_1 + 0x20) + (long)iVar8 * 0x18);\n          puVar6[1] = 0;\n          *(int *)(param_1 + 0x28) = iVar8 + 1;\n          *puVar6 = 0x18;\n          *(undefined8 *)(puVar6 + 2) = uVar14;\n          puVar6[4] = iVar12;\n        }\n        else {\n          puVar6 = (undefined4 *)0x0;\n        }\n        if (**(char **)(param_1 + 0x18) != 'B') {\n          return puVar6;\n        }\n        puVar6 = (undefined4 *)FUN_002f7820(param_1,puVar6);\n        if ((puVar6 != (undefined4 *)0x0) &&\n           (iVar8 = *(int *)(param_1 + 0x38), iVar8 < *(int *)(param_1 + 0x3c))) {\n          *(undefined4 **)(*(long *)(param_1 + 0x30) + (long)iVar8 * 8) = puVar6;\n          *(int *)(param_1 + 0x38) = iVar8 + 1;\n          return puVar6;\n        }\n        return (undefined4 *)0x0;\n      }" (if "if") (parenthesized_expression "(cVar4 == cVar7)" (( "(") (binary_expression "cVar4 == cVar7" (identifier "cVar4") (== "==") (identifier "cVar7")) () ")")) (compound_statement "{\n        lVar3 = *(long *)(pcVar13 + 0x28);\n        iVar8 = *(int *)(param_1 + 0x28);\n        iVar1 = *(int *)(param_1 + 0x2c);\n        if (lVar3 != 0) {\n          uVar2 = *(undefined4 *)(pcVar13 + 0x30);\n          if (iVar8 < iVar1) {\n            lVar5 = (long)iVar8;\n            iVar8 = iVar8 + 1;\n            puVar6 = (undefined4 *)(*(long *)(param_1 + 0x20) + lVar5 * 0x18);\n            puVar6[1] = 0;\n            *(int *)(param_1 + 0x28) = iVar8;\n            *puVar6 = 0x18;\n            *(long *)(puVar6 + 2) = lVar3;\n            puVar6[4] = uVar2;\n          }\n          else {\n            puVar6 = (undefined4 *)0x0;\n          }\n          *(undefined4 **)(param_1 + 0x40) = puVar6;\n        }\n        if (bVar15) {\n          uVar14 = *(undefined8 *)(pcVar13 + 0x18);\n          iVar12 = *(int *)(pcVar13 + 0x20);\n        }\n        else {\n          uVar14 = *(undefined8 *)(pcVar13 + 8);\n          iVar12 = *(int *)(pcVar13 + 0x10);\n        }\n        *(int *)(param_1 + 0x48) = *(int *)(param_1 + 0x48) + iVar12;\n        if (iVar8 < iVar1) {\n          puVar6 = (undefined4 *)(*(long *)(param_1 + 0x20) + (long)iVar8 * 0x18);\n          puVar6[1] = 0;\n          *(int *)(param_1 + 0x28) = iVar8 + 1;\n          *puVar6 = 0x18;\n          *(undefined8 *)(puVar6 + 2) = uVar14;\n          puVar6[4] = iVar12;\n        }\n        else {\n          puVar6 = (undefined4 *)0x0;\n        }\n        if (**(char **)(param_1 + 0x18) != 'B') {\n          return puVar6;\n        }\n        puVar6 = (undefined4 *)FUN_002f7820(param_1,puVar6);\n        if ((puVar6 != (undefined4 *)0x0) &&\n           (iVar8 = *(int *)(param_1 + 0x38), iVar8 < *(int *)(param_1 + 0x3c))) {\n          *(undefined4 **)(*(long *)(param_1 + 0x30) + (long)iVar8 * 8) = puVar6;\n          *(int *)(param_1 + 0x38) = iVar8 + 1;\n          return puVar6;\n        }\n        return (undefined4 *)0x0;\n      }" ({ "{") (expression_statement "lVar3 = *(long *)(pcVar13 + 0x28);" (assignment_expression "lVar3 = *(long *)(pcVar13 + 0x28)" (identifier "lVar3") (= "=") (pointer_expression "*(long *)(pcVar13 + 0x28)" (* "*") (cast_expression "(long *)(pcVar13 + 0x28)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pcVar13 + 0x28)" (( "(") (binary_expression "pcVar13 + 0x28" (identifier "pcVar13") (+ "+") (number_literal "0x28")) () ")"))))) (; ";")) (expression_statement "iVar8 = *(int *)(param_1 + 0x28);" (assignment_expression "iVar8 = *(int *)(param_1 + 0x28)" (identifier "iVar8") (= "=") (pointer_expression "*(int *)(param_1 + 0x28)" (* "*") (cast_expression "(int *)(param_1 + 0x28)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x28)" (( "(") (binary_expression "param_1 + 0x28" (identifier "param_1") (+ "+") (number_literal "0x28")) () ")"))))) (; ";")) (expression_statement "iVar1 = *(int *)(param_1 + 0x2c);" (assignment_expression "iVar1 = *(int *)(param_1 + 0x2c)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(param_1 + 0x2c)" (* "*") (cast_expression "(int *)(param_1 + 0x2c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x2c)" (( "(") (binary_expression "param_1 + 0x2c" (identifier "param_1") (+ "+") (number_literal "0x2c")) () ")"))))) (; ";")) (if_statement "if (lVar3 != 0) {\n          uVar2 = *(undefined4 *)(pcVar13 + 0x30);\n          if (iVar8 < iVar1) {\n            lVar5 = (long)iVar8;\n            iVar8 = iVar8 + 1;\n            puVar6 = (undefined4 *)(*(long *)(param_1 + 0x20) + lVar5 * 0x18);\n            puVar6[1] = 0;\n            *(int *)(param_1 + 0x28) = iVar8;\n            *puVar6 = 0x18;\n            *(long *)(puVar6 + 2) = lVar3;\n            puVar6[4] = uVar2;\n          }\n          else {\n            puVar6 = (undefined4 *)0x0;\n          }\n          *(undefined4 **)(param_1 + 0x40) = puVar6;\n        }" (if "if") (parenthesized_expression "(lVar3 != 0)" (( "(") (binary_expression "lVar3 != 0" (identifier "lVar3") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n          uVar2 = *(undefined4 *)(pcVar13 + 0x30);\n          if (iVar8 < iVar1) {\n            lVar5 = (long)iVar8;\n            iVar8 = iVar8 + 1;\n            puVar6 = (undefined4 *)(*(long *)(param_1 + 0x20) + lVar5 * 0x18);\n            puVar6[1] = 0;\n            *(int *)(param_1 + 0x28) = iVar8;\n            *puVar6 = 0x18;\n            *(long *)(puVar6 + 2) = lVar3;\n            puVar6[4] = uVar2;\n          }\n          else {\n            puVar6 = (undefined4 *)0x0;\n          }\n          *(undefined4 **)(param_1 + 0x40) = puVar6;\n        }" ({ "{") (expression_statement "uVar2 = *(undefined4 *)(pcVar13 + 0x30);" (assignment_expression "uVar2 = *(undefined4 *)(pcVar13 + 0x30)" (identifier "uVar2") (= "=") (pointer_expression "*(undefined4 *)(pcVar13 + 0x30)" (* "*") (cast_expression "(undefined4 *)(pcVar13 + 0x30)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pcVar13 + 0x30)" (( "(") (binary_expression "pcVar13 + 0x30" (identifier "pcVar13") (+ "+") (number_literal "0x30")) () ")"))))) (; ";")) (if_statement "if (iVar8 < iVar1) {\n            lVar5 = (long)iVar8;\n            iVar8 = iVar8 + 1;\n            puVar6 = (undefined4 *)(*(long *)(param_1 + 0x20) + lVar5 * 0x18);\n            puVar6[1] = 0;\n            *(int *)(param_1 + 0x28) = iVar8;\n            *puVar6 = 0x18;\n            *(long *)(puVar6 + 2) = lVar3;\n            puVar6[4] = uVar2;\n          }\n          else {\n            puVar6 = (undefined4 *)0x0;\n          }" (if "if") (parenthesized_expression "(iVar8 < iVar1)" (( "(") (binary_expression "iVar8 < iVar1" (identifier "iVar8") (< "<") (identifier "iVar1")) () ")")) (compound_statement "{\n            lVar5 = (long)iVar8;\n            iVar8 = iVar8 + 1;\n            puVar6 = (undefined4 *)(*(long *)(param_1 + 0x20) + lVar5 * 0x18);\n            puVar6[1] = 0;\n            *(int *)(param_1 + 0x28) = iVar8;\n            *puVar6 = 0x18;\n            *(long *)(puVar6 + 2) = lVar3;\n            puVar6[4] = uVar2;\n          }" ({ "{") (expression_statement "lVar5 = (long)iVar8;" (assignment_expression "lVar5 = (long)iVar8" (identifier "lVar5") (= "=") (cast_expression "(long)iVar8" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "iVar8"))) (; ";")) (expression_statement "iVar8 = iVar8 + 1;" (assignment_expression "iVar8 = iVar8 + 1" (identifier "iVar8") (= "=") (binary_expression "iVar8 + 1" (identifier "iVar8") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "puVar6 = (undefined4 *)(*(long *)(param_1 + 0x20) + lVar5 * 0x18);" (assignment_expression "puVar6 = (undefined4 *)(*(long *)(param_1 + 0x20) + lVar5 * 0x18)" (identifier "puVar6") (= "=") (cast_expression "(undefined4 *)(*(long *)(param_1 + 0x20) + lVar5 * 0x18)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(long *)(param_1 + 0x20) + lVar5 * 0x18)" (( "(") (binary_expression "*(long *)(param_1 + 0x20) + lVar5 * 0x18" (pointer_expression "*(long *)(param_1 + 0x20)" (* "*") (cast_expression "(long *)(param_1 + 0x20)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x20)" (( "(") (binary_expression "param_1 + 0x20" (identifier "param_1") (+ "+") (number_literal "0x20")) () ")")))) (+ "+") (binary_expression "lVar5 * 0x18" (identifier "lVar5") (* "*") (number_literal "0x18"))) () ")")))) (; ";")) (expression_statement "puVar6[1] = 0;" (assignment_expression "puVar6[1] = 0" (subscript_expression "puVar6[1]" (identifier "puVar6") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(int *)(param_1 + 0x28) = iVar8;" (assignment_expression "*(int *)(param_1 + 0x28) = iVar8" (pointer_expression "*(int *)(param_1 + 0x28)" (* "*") (cast_expression "(int *)(param_1 + 0x28)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x28)" (( "(") (binary_expression "param_1 + 0x28" (identifier "param_1") (+ "+") (number_literal "0x28")) () ")")))) (= "=") (identifier "iVar8")) (; ";")) (expression_statement "*puVar6 = 0x18;" (assignment_expression "*puVar6 = 0x18" (pointer_expression "*puVar6" (* "*") (identifier "puVar6")) (= "=") (number_literal "0x18")) (; ";")) (expression_statement "*(long *)(puVar6 + 2) = lVar3;" (assignment_expression "*(long *)(puVar6 + 2) = lVar3" (pointer_expression "*(long *)(puVar6 + 2)" (* "*") (cast_expression "(long *)(puVar6 + 2)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar6 + 2)" (( "(") (binary_expression "puVar6 + 2" (identifier "puVar6") (+ "+") (number_literal "2")) () ")")))) (= "=") (identifier "lVar3")) (; ";")) (expression_statement "puVar6[4] = uVar2;" (assignment_expression "puVar6[4] = uVar2" (subscript_expression "puVar6[4]" (identifier "puVar6") ([ "[") (number_literal "4") (] "]")) (= "=") (identifier "uVar2")) (; ";")) (} "}")) (else_clause "else {\n            puVar6 = (undefined4 *)0x0;\n          }" (else "else") (compound_statement "{\n            puVar6 = (undefined4 *)0x0;\n          }" ({ "{") (expression_statement "puVar6 = (undefined4 *)0x0;" (assignment_expression "puVar6 = (undefined4 *)0x0" (identifier "puVar6") (= "=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (} "}")))) (expression_statement "*(undefined4 **)(param_1 + 0x40) = puVar6;" (assignment_expression "*(undefined4 **)(param_1 + 0x40) = puVar6" (pointer_expression "*(undefined4 **)(param_1 + 0x40)" (* "*") (cast_expression "(undefined4 **)(param_1 + 0x40)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x40)" (( "(") (binary_expression "param_1 + 0x40" (identifier "param_1") (+ "+") (number_literal "0x40")) () ")")))) (= "=") (identifier "puVar6")) (; ";")) (} "}"))) (if_statement "if (bVar15) {\n          uVar14 = *(undefined8 *)(pcVar13 + 0x18);\n          iVar12 = *(int *)(pcVar13 + 0x20);\n        }\n        else {\n          uVar14 = *(undefined8 *)(pcVar13 + 8);\n          iVar12 = *(int *)(pcVar13 + 0x10);\n        }" (if "if") (parenthesized_expression "(bVar15)" (( "(") (identifier "bVar15") () ")")) (compound_statement "{\n          uVar14 = *(undefined8 *)(pcVar13 + 0x18);\n          iVar12 = *(int *)(pcVar13 + 0x20);\n        }" ({ "{") (expression_statement "uVar14 = *(undefined8 *)(pcVar13 + 0x18);" (assignment_expression "uVar14 = *(undefined8 *)(pcVar13 + 0x18)" (identifier "uVar14") (= "=") (pointer_expression "*(undefined8 *)(pcVar13 + 0x18)" (* "*") (cast_expression "(undefined8 *)(pcVar13 + 0x18)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pcVar13 + 0x18)" (( "(") (binary_expression "pcVar13 + 0x18" (identifier "pcVar13") (+ "+") (number_literal "0x18")) () ")"))))) (; ";")) (expression_statement "iVar12 = *(int *)(pcVar13 + 0x20);" (assignment_expression "iVar12 = *(int *)(pcVar13 + 0x20)" (identifier "iVar12") (= "=") (pointer_expression "*(int *)(pcVar13 + 0x20)" (* "*") (cast_expression "(int *)(pcVar13 + 0x20)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pcVar13 + 0x20)" (( "(") (binary_expression "pcVar13 + 0x20" (identifier "pcVar13") (+ "+") (number_literal "0x20")) () ")"))))) (; ";")) (} "}")) (else_clause "else {\n          uVar14 = *(undefined8 *)(pcVar13 + 8);\n          iVar12 = *(int *)(pcVar13 + 0x10);\n        }" (else "else") (compound_statement "{\n          uVar14 = *(undefined8 *)(pcVar13 + 8);\n          iVar12 = *(int *)(pcVar13 + 0x10);\n        }" ({ "{") (expression_statement "uVar14 = *(undefined8 *)(pcVar13 + 8);" (assignment_expression "uVar14 = *(undefined8 *)(pcVar13 + 8)" (identifier "uVar14") (= "=") (pointer_expression "*(undefined8 *)(pcVar13 + 8)" (* "*") (cast_expression "(undefined8 *)(pcVar13 + 8)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pcVar13 + 8)" (( "(") (binary_expression "pcVar13 + 8" (identifier "pcVar13") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (expression_statement "iVar12 = *(int *)(pcVar13 + 0x10);" (assignment_expression "iVar12 = *(int *)(pcVar13 + 0x10)" (identifier "iVar12") (= "=") (pointer_expression "*(int *)(pcVar13 + 0x10)" (* "*") (cast_expression "(int *)(pcVar13 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pcVar13 + 0x10)" (( "(") (binary_expression "pcVar13 + 0x10" (identifier "pcVar13") (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (} "}")))) (expression_statement "*(int *)(param_1 + 0x48) = *(int *)(param_1 + 0x48) + iVar12;" (assignment_expression "*(int *)(param_1 + 0x48) = *(int *)(param_1 + 0x48) + iVar12" (pointer_expression "*(int *)(param_1 + 0x48)" (* "*") (cast_expression "(int *)(param_1 + 0x48)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x48)" (( "(") (binary_expression "param_1 + 0x48" (identifier "param_1") (+ "+") (number_literal "0x48")) () ")")))) (= "=") (binary_expression "*(int *)(param_1 + 0x48) + iVar12" (pointer_expression "*(int *)(param_1 + 0x48)" (* "*") (cast_expression "(int *)(param_1 + 0x48)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x48)" (( "(") (binary_expression "param_1 + 0x48" (identifier "param_1") (+ "+") (number_literal "0x48")) () ")")))) (+ "+") (identifier "iVar12"))) (; ";")) (if_statement "if (iVar8 < iVar1) {\n          puVar6 = (undefined4 *)(*(long *)(param_1 + 0x20) + (long)iVar8 * 0x18);\n          puVar6[1] = 0;\n          *(int *)(param_1 + 0x28) = iVar8 + 1;\n          *puVar6 = 0x18;\n          *(undefined8 *)(puVar6 + 2) = uVar14;\n          puVar6[4] = iVar12;\n        }\n        else {\n          puVar6 = (undefined4 *)0x0;\n        }" (if "if") (parenthesized_expression "(iVar8 < iVar1)" (( "(") (binary_expression "iVar8 < iVar1" (identifier "iVar8") (< "<") (identifier "iVar1")) () ")")) (compound_statement "{\n          puVar6 = (undefined4 *)(*(long *)(param_1 + 0x20) + (long)iVar8 * 0x18);\n          puVar6[1] = 0;\n          *(int *)(param_1 + 0x28) = iVar8 + 1;\n          *puVar6 = 0x18;\n          *(undefined8 *)(puVar6 + 2) = uVar14;\n          puVar6[4] = iVar12;\n        }" ({ "{") (expression_statement "puVar6 = (undefined4 *)(*(long *)(param_1 + 0x20) + (long)iVar8 * 0x18);" (assignment_expression "puVar6 = (undefined4 *)(*(long *)(param_1 + 0x20) + (long)iVar8 * 0x18)" (identifier "puVar6") (= "=") (cast_expression "(undefined4 *)(*(long *)(param_1 + 0x20) + (long)iVar8 * 0x18)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(long *)(param_1 + 0x20) + (long)iVar8 * 0x18)" (( "(") (binary_expression "*(long *)(param_1 + 0x20) + (long)iVar8 * 0x18" (pointer_expression "*(long *)(param_1 + 0x20)" (* "*") (cast_expression "(long *)(param_1 + 0x20)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x20)" (( "(") (binary_expression "param_1 + 0x20" (identifier "param_1") (+ "+") (number_literal "0x20")) () ")")))) (+ "+") (binary_expression "(long)iVar8 * 0x18" (cast_expression "(long)iVar8" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "iVar8")) (* "*") (number_literal "0x18"))) () ")")))) (; ";")) (expression_statement "puVar6[1] = 0;" (assignment_expression "puVar6[1] = 0" (subscript_expression "puVar6[1]" (identifier "puVar6") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(int *)(param_1 + 0x28) = iVar8 + 1;" (assignment_expression "*(int *)(param_1 + 0x28) = iVar8 + 1" (pointer_expression "*(int *)(param_1 + 0x28)" (* "*") (cast_expression "(int *)(param_1 + 0x28)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x28)" (( "(") (binary_expression "param_1 + 0x28" (identifier "param_1") (+ "+") (number_literal "0x28")) () ")")))) (= "=") (binary_expression "iVar8 + 1" (identifier "iVar8") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*puVar6 = 0x18;" (assignment_expression "*puVar6 = 0x18" (pointer_expression "*puVar6" (* "*") (identifier "puVar6")) (= "=") (number_literal "0x18")) (; ";")) (expression_statement "*(undefined8 *)(puVar6 + 2) = uVar14;" (assignment_expression "*(undefined8 *)(puVar6 + 2) = uVar14" (pointer_expression "*(undefined8 *)(puVar6 + 2)" (* "*") (cast_expression "(undefined8 *)(puVar6 + 2)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar6 + 2)" (( "(") (binary_expression "puVar6 + 2" (identifier "puVar6") (+ "+") (number_literal "2")) () ")")))) (= "=") (identifier "uVar14")) (; ";")) (expression_statement "puVar6[4] = iVar12;" (assignment_expression "puVar6[4] = iVar12" (subscript_expression "puVar6[4]" (identifier "puVar6") ([ "[") (number_literal "4") (] "]")) (= "=") (identifier "iVar12")) (; ";")) (} "}")) (else_clause "else {\n          puVar6 = (undefined4 *)0x0;\n        }" (else "else") (compound_statement "{\n          puVar6 = (undefined4 *)0x0;\n        }" ({ "{") (expression_statement "puVar6 = (undefined4 *)0x0;" (assignment_expression "puVar6 = (undefined4 *)0x0" (identifier "puVar6") (= "=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (} "}")))) (if_statement "if (**(char **)(param_1 + 0x18) != 'B') {\n          return puVar6;\n        }" (if "if") (parenthesized_expression "(**(char **)(param_1 + 0x18) != 'B')" (( "(") (binary_expression "**(char **)(param_1 + 0x18) != 'B'" (pointer_expression "**(char **)(param_1 + 0x18)" (* "*") (pointer_expression "*(char **)(param_1 + 0x18)" (* "*") (cast_expression "(char **)(param_1 + 0x18)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x18)" (( "(") (binary_expression "param_1 + 0x18" (identifier "param_1") (+ "+") (number_literal "0x18")) () ")"))))) (!= "!=") (char_literal "'B'" (' "'") (character "B") (' "'"))) () ")")) (compound_statement "{\n          return puVar6;\n        }" ({ "{") (return_statement "return puVar6;" (return "return") (identifier "puVar6") (; ";")) (} "}"))) (expression_statement "puVar6 = (undefined4 *)FUN_002f7820(param_1,puVar6);" (assignment_expression "puVar6 = (undefined4 *)FUN_002f7820(param_1,puVar6)" (identifier "puVar6") (= "=") (cast_expression "(undefined4 *)FUN_002f7820(param_1,puVar6)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_002f7820(param_1,puVar6)" (identifier "FUN_002f7820") (argument_list "(param_1,puVar6)" (( "(") (identifier "param_1") (, ",") (identifier "puVar6") () ")"))))) (; ";")) (if_statement "if ((puVar6 != (undefined4 *)0x0) &&\n           (iVar8 = *(int *)(param_1 + 0x38), iVar8 < *(int *)(param_1 + 0x3c))) {\n          *(undefined4 **)(*(long *)(param_1 + 0x30) + (long)iVar8 * 8) = puVar6;\n          *(int *)(param_1 + 0x38) = iVar8 + 1;\n          return puVar6;\n        }" (if "if") (parenthesized_expression "((puVar6 != (undefined4 *)0x0) &&\n           (iVar8 = *(int *)(param_1 + 0x38), iVar8 < *(int *)(param_1 + 0x3c)))" (( "(") (binary_expression "(puVar6 != (undefined4 *)0x0) &&\n           (iVar8 = *(int *)(param_1 + 0x38), iVar8 < *(int *)(param_1 + 0x3c))" (parenthesized_expression "(puVar6 != (undefined4 *)0x0)" (( "(") (binary_expression "puVar6 != (undefined4 *)0x0" (identifier "puVar6") (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (&& "&&") (parenthesized_expression "(iVar8 = *(int *)(param_1 + 0x38), iVar8 < *(int *)(param_1 + 0x3c))" (( "(") (comma_expression "iVar8 = *(int *)(param_1 + 0x38), iVar8 < *(int *)(param_1 + 0x3c)" (assignment_expression "iVar8 = *(int *)(param_1 + 0x38)" (identifier "iVar8") (= "=") (pointer_expression "*(int *)(param_1 + 0x38)" (* "*") (cast_expression "(int *)(param_1 + 0x38)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x38)" (( "(") (binary_expression "param_1 + 0x38" (identifier "param_1") (+ "+") (number_literal "0x38")) () ")"))))) (, ",") (binary_expression "iVar8 < *(int *)(param_1 + 0x3c)" (identifier "iVar8") (< "<") (pointer_expression "*(int *)(param_1 + 0x3c)" (* "*") (cast_expression "(int *)(param_1 + 0x3c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x3c)" (( "(") (binary_expression "param_1 + 0x3c" (identifier "param_1") (+ "+") (number_literal "0x3c")) () ")")))))) () ")"))) () ")")) (compound_statement "{\n          *(undefined4 **)(*(long *)(param_1 + 0x30) + (long)iVar8 * 8) = puVar6;\n          *(int *)(param_1 + 0x38) = iVar8 + 1;\n          return puVar6;\n        }" ({ "{") (expression_statement "*(undefined4 **)(*(long *)(param_1 + 0x30) + (long)iVar8 * 8) = puVar6;" (assignment_expression "*(undefined4 **)(*(long *)(param_1 + 0x30) + (long)iVar8 * 8) = puVar6" (pointer_expression "*(undefined4 **)(*(long *)(param_1 + 0x30) + (long)iVar8 * 8)" (* "*") (cast_expression "(undefined4 **)(*(long *)(param_1 + 0x30) + (long)iVar8 * 8)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*(long *)(param_1 + 0x30) + (long)iVar8 * 8)" (( "(") (binary_expression "*(long *)(param_1 + 0x30) + (long)iVar8 * 8" (pointer_expression "*(long *)(param_1 + 0x30)" (* "*") (cast_expression "(long *)(param_1 + 0x30)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x30)" (( "(") (binary_expression "param_1 + 0x30" (identifier "param_1") (+ "+") (number_literal "0x30")) () ")")))) (+ "+") (binary_expression "(long)iVar8 * 8" (cast_expression "(long)iVar8" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "iVar8")) (* "*") (number_literal "8"))) () ")")))) (= "=") (identifier "puVar6")) (; ";")) (expression_statement "*(int *)(param_1 + 0x38) = iVar8 + 1;" (assignment_expression "*(int *)(param_1 + 0x38) = iVar8 + 1" (pointer_expression "*(int *)(param_1 + 0x38)" (* "*") (cast_expression "(int *)(param_1 + 0x38)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x38)" (( "(") (binary_expression "param_1 + 0x38" (identifier "param_1") (+ "+") (number_literal "0x38")) () ")")))) (= "=") (binary_expression "iVar8 + 1" (identifier "iVar8") (+ "+") (number_literal "1"))) (; ";")) (return_statement "return puVar6;" (return "return") (identifier "puVar6") (; ";")) (} "}"))) (return_statement "return (undefined4 *)0x0;" (return "return") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")) (; ";")) (} "}"))) (expression_statement "pcVar13 = pcVar13 + 0x38;" (assignment_expression "pcVar13 = pcVar13 + 0x38" (identifier "pcVar13") (= "=") (binary_expression "pcVar13 + 0x38" (identifier "pcVar13") (+ "+") (number_literal "0x38"))) (; ";")) (if_statement "if (pcVar13 == "") break;" (if "if") (parenthesized_expression "(pcVar13 == "")" (( "(") (binary_expression "pcVar13 == """ (identifier "pcVar13") (== "==") (string_literal """" (" """) (" """))) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "cVar7 = *pcVar13;" (assignment_expression "cVar7 = *pcVar13" (identifier "cVar7") (= "=") (pointer_expression "*pcVar13" (* "*") (identifier "pcVar13"))) (; ";")) (} "}"))) (} "}"))) (return_statement "return (undefined4 *)0x0;" (return "return") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")) (; ";")) (} "}")))

type_1 * function_1(long var_1,type_2 var_8)

{
  int var_12;
  type_1 uVar2;
  char *var_2;
  long var_11;
  char var_3;
  long var_13;
  type_1 *var_14;
  char var_9;
  int var_5;
  type_3 var_4;
  type_2 var_6;
  type_2 var_7;
  int var_15;
  type_4 *var_10;
  type_5 uVar15;
  bool bVar16;
  
  var_2 = *(char **)(var_1 + 0x18);
  if (*var_2 == 'S') {
    *(char **)(var_1 + 0x18) = var_2 + 1;
    var_3 = var_2[1];
    if (var_3 != '\0') {
      *(char **)(var_1 + 0x18) = var_2 + 2;
      var_3 = var_2[1];
      var_5 = (int)var_3;
      if (((byte)(var_3 - 0x30U) < 10) || (var_3 == '_')) {
        var_4 = 0;
        if (var_3 == '_') {
LAB_002f791a:
          if (*(type_2 *)(var_1 + 0x38) <= (type_2)var_4) {
            return (type_1 *)0x0;
          }
          return *(type_1 **)(*(long *)(var_1 + 0x30) + var_4 * 8);
        }
LAB_002f7940:
        var_6 = 0;
        if (9 < (byte)(var_3 - 0x30U)) goto LAB_002f797f;
        do {
          var_7 = var_6;
          var_6 = var_5 + -0x30 + var_6 * 0x24;
          while( true ) {
            if (var_6 < var_7) {
              return (type_1 *)0x0;
            }
            var_2 = *(char **)(var_1 + 0x18);
            var_3 = *var_2;
            if (var_3 != '\0') {
              *(char **)(var_1 + 0x18) = var_2 + 1;
              var_3 = *var_2;
              if (var_3 == '_') {
                var_4 = (type_3)(var_6 + 1);
                goto LAB_002f791a;
              }
            }
            var_5 = (int)var_3;
            if ((byte)(var_3 - 0x30U) < 10) break;
LAB_002f797f:
            if (0x19 < (byte)((char)var_5 + 0xbfU)) {
              return (type_1 *)0x0;
            }
            var_7 = var_6;
            var_6 = var_5 + -0x37 + var_6 * 0x24;
          }
        } while( true );
      }
      if ((byte)(var_3 + 0xbfU) < 0x1a) goto LAB_002f7940;
    }
    bVar16 = (*(type_2 *)(var_1 + 0x10) & 8) != 0;
    if (((!bVar16) && ((var_8 & 1) != 0)) && ((byte)(**(char **)(var_1 + 0x18) + 0xbdU) < 2)) {
      bVar16 = true;
    }
    var_10 = standard_subs;
    var_9 = 't';
    while( true ) {
      if (var_3 == var_9) {
        var_11 = *(long *)(var_10 + 0x28);
        var_5 = *(int *)(var_1 + 0x28);
        var_12 = *(int *)(var_1 + 0x2c);
        if (var_11 != 0) {
          uVar2 = *(type_1 *)(var_10 + 0x30);
          if (var_5 < var_12) {
            var_13 = (long)var_5;
            var_5 = var_5 + 1;
            var_14 = (type_1 *)(*(long *)(var_1 + 0x20) + var_13 * 0x18);
            var_14[1] = 0;
            *(int *)(var_1 + 0x28) = var_5;
            *var_14 = 0x18;
            *(long *)(var_14 + 2) = var_11;
            var_14[4] = uVar2;
          }
          else {
            var_14 = (type_1 *)0x0;
          }
          *(type_1 **)(var_1 + 0x40) = var_14;
        }
        if (bVar16) {
          uVar15 = *(type_5 *)(var_10 + 0x18);
          var_15 = *(int *)(var_10 + 0x20);
        }
        else {
          uVar15 = *(type_5 *)(var_10 + 8);
          var_15 = *(int *)(var_10 + 0x10);
        }
        *(int *)(var_1 + 0x48) = *(int *)(var_1 + 0x48) + var_15;
        if (var_5 < var_12) {
          var_14 = (type_1 *)(*(long *)(var_1 + 0x20) + (long)var_5 * 0x18);
          var_14[1] = 0;
          *(int *)(var_1 + 0x28) = var_5 + 1;
          *var_14 = 0x18;
          *(type_5 *)(var_14 + 2) = uVar15;
          var_14[4] = var_15;
        }
        else {
          var_14 = (type_1 *)0x0;
        }
        if (**(char **)(var_1 + 0x18) != 'B') {
          return var_14;
        }
        var_14 = (type_1 *)var_16(var_1,var_14);
        if ((var_14 != (type_1 *)0x0) &&
           (var_5 = *(int *)(var_1 + 0x38), var_5 < *(int *)(var_1 + 0x3c))) {
          *(type_1 **)(*(long *)(var_1 + 0x30) + (long)var_5 * 8) = var_14;
          *(int *)(var_1 + 0x38) = var_5 + 1;
          return var_14;
        }
        return (type_1 *)0x0;
      }
      var_10 = var_10 + 0x38;
      if (var_10 == "") break;
      var_9 = *var_10;
    }
  }
  return (type_1 *)0x0;
}


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

undefined4 * MASKED(long param_1,uint param_2)

{
  int iVar1;
  undefined4 uVar2;
  long lVar3;
  char cVar4;
  long lVar5;
  undefined4 *puVar6;
  char cVar7;
  int iVar8;
  ulong uVar9;
  uint uVar10;
  uint uVar11;
  int iVar12;
  char *pcVar13;
  undefined8 uVar14;
  bool bVar15;
  
  pcVar13 = *(char **)(param_1 + 0x18);
  if (*pcVar13 == 'S') {
    *(char **)(param_1 + 0x18) = pcVar13 + 1;
    cVar4 = pcVar13[1];
    if (cVar4 != '\0') {
      *(char **)(param_1 + 0x18) = pcVar13 + 2;
      cVar4 = pcVar13[1];
      iVar8 = (int)cVar4;
      if (((byte)(cVar4 - 0x30U) < 10) || (cVar4 == '_')) {
        uVar9 = 0;
        if (cVar4 == '_') {
LAB_002f791a:
          if (*(uint *)(param_1 + 0x38) <= (uint)uVar9) {
            return (undefined4 *)0x0;
          }
          return *(undefined4 **)(*(long *)(param_1 + 0x30) + uVar9 * 8);
        }
LAB_002f7940:
        uVar10 = 0;
        if (9 < (byte)(cVar4 - 0x30U)) goto LAB_002f797f;
        do {
          uVar11 = uVar10;
          uVar10 = iVar8 + -0x30 + uVar10 * 0x24;
          while( true ) {
            if (uVar10 < uVar11) {
              return (undefined4 *)0x0;
            }
            pcVar13 = *(char **)(param_1 + 0x18);
            cVar4 = *pcVar13;
            if (cVar4 != '\0') {
              *(char **)(param_1 + 0x18) = pcVar13 + 1;
              cVar4 = *pcVar13;
              if (cVar4 == '_') {
                uVar9 = (ulong)(uVar10 + 1);
                goto LAB_002f791a;
              }
            }
            iVar8 = (int)cVar4;
            if ((byte)(cVar4 - 0x30U) < 10) break;
LAB_002f797f:
            if (0x19 < (byte)((char)iVar8 + 0xbfU)) {
              return (undefined4 *)0x0;
            }
            uVar11 = uVar10;
            uVar10 = iVar8 + -0x37 + uVar10 * 0x24;
          }
        } while( true );
      }
      if ((byte)(cVar4 + 0xbfU) < 0x1a) goto LAB_002f7940;
    }
    bVar15 = (*(uint *)(param_1 + 0x10) & 8) != 0;
    if (((!bVar15) && ((param_2 & 1) != 0)) && ((byte)(**(char **)(param_1 + 0x18) + 0xbdU) < 2)) {
      bVar15 = true;
    }
    pcVar13 = "t";
    cVar7 = 't';
    while( true ) {
      if (cVar4 == cVar7) {
        lVar3 = *(long *)(pcVar13 + 0x28);
        iVar8 = *(int *)(param_1 + 0x28);
        iVar1 = *(int *)(param_1 + 0x2c);
        if (lVar3 != 0) {
          uVar2 = *(undefined4 *)(pcVar13 + 0x30);
          if (iVar8 < iVar1) {
            lVar5 = (long)iVar8;
            iVar8 = iVar8 + 1;
            puVar6 = (undefined4 *)(*(long *)(param_1 + 0x20) + lVar5 * 0x18);
            puVar6[1] = 0;
            *(int *)(param_1 + 0x28) = iVar8;
            *puVar6 = 0x18;
            *(long *)(puVar6 + 2) = lVar3;
            puVar6[4] = uVar2;
          }
          else {
            puVar6 = (undefined4 *)0x0;
          }
          *(undefined4 **)(param_1 + 0x40) = puVar6;
        }
        if (bVar15) {
          uVar14 = *(undefined8 *)(pcVar13 + 0x18);
          iVar12 = *(int *)(pcVar13 + 0x20);
        }
        else {
          uVar14 = *(undefined8 *)(pcVar13 + 8);
          iVar12 = *(int *)(pcVar13 + 0x10);
        }
        *(int *)(param_1 + 0x48) = *(int *)(param_1 + 0x48) + iVar12;
        if (iVar8 < iVar1) {
          puVar6 = (undefined4 *)(*(long *)(param_1 + 0x20) + (long)iVar8 * 0x18);
          puVar6[1] = 0;
          *(int *)(param_1 + 0x28) = iVar8 + 1;
          *puVar6 = 0x18;
          *(undefined8 *)(puVar6 + 2) = uVar14;
          puVar6[4] = iVar12;
        }
        else {
          puVar6 = (undefined4 *)0x0;
        }
        if (**(char **)(param_1 + 0x18) != 'B') {
          return puVar6;
        }
        puVar6 = (undefined4 *)FUN_002f7820(param_1,puVar6);
        if ((puVar6 != (undefined4 *)0x0) &&
           (iVar8 = *(int *)(param_1 + 0x38), iVar8 < *(int *)(param_1 + 0x3c))) {
          *(undefined4 **)(*(long *)(param_1 + 0x30) + (long)iVar8 * 8) = puVar6;
          *(int *)(param_1 + 0x38) = iVar8 + 1;
          return puVar6;
        }
        return (undefined4 *)0x0;
      }
      pcVar13 = pcVar13 + 0x38;
      if (pcVar13 == "") break;
      cVar7 = *pcVar13;
    }
  }
  return (undefined4 *)0x0;
}

