
/* WARNING: Function: __x86.get_pc_thunk.si replaced with injection: get_pc_thunk_si */

undefined4 * __regparm3 d_substitution(int param_1,uint param_2)

{
  char *pcVar1;
  int iVar2;
  undefined1 *puVar3;
  uint uVar4;
  char cVar5;
  int iVar6;
  int iVar7;
  char cVar8;
  uint uVar9;
  undefined4 uVar10;
  undefined4 *puVar11;
  bool bVar12;
  
  pcVar1 = *(char **)(param_1 + 0xc);
  if (*pcVar1 == 'S') {
    *(char **)(param_1 + 0xc) = pcVar1 + 1;
    cVar5 = pcVar1[1];
    if (cVar5 != '\0') {
      *(char **)(param_1 + 0xc) = pcVar1 + 2;
      cVar5 = pcVar1[1];
      iVar6 = (int)cVar5;
      if (((byte)(cVar5 - 0x30U) < 10) || (cVar5 == '_')) {
        uVar9 = 0;
        if (cVar5 == '_') {
LAB_00286490:
          if (*(uint *)(param_1 + 0x20) <= uVar9) {
            return (undefined4 *)0x0;
          }
          return *(undefined4 **)(*(int *)(param_1 + 0x1c) + uVar9 * 4);
        }
LAB_002864c0:
        uVar9 = 0;
        if (9 < (byte)(cVar5 - 0x30U)) goto LAB_002864fd;
        do {
          uVar4 = uVar9;
          uVar9 = iVar6 + -0x30 + uVar9 * 0x24;
          while( true ) {
            if (uVar9 < uVar4) {
              return (undefined4 *)0x0;
            }
            pcVar1 = *(char **)(param_1 + 0xc);
            cVar5 = *pcVar1;
            if (cVar5 != '\0') {
              *(char **)(param_1 + 0xc) = pcVar1 + 1;
              cVar5 = *pcVar1;
              if (cVar5 == '_') {
                uVar9 = uVar9 + 1;
                goto LAB_00286490;
              }
            }
            iVar6 = (int)cVar5;
            if ((byte)(cVar5 - 0x30U) < 10) break;
LAB_002864fd:
            if (0x19 < (byte)((char)iVar6 + 0xbfU)) {
              return (undefined4 *)0x0;
            }
            uVar4 = uVar9;
            uVar9 = iVar6 + -0x37 + uVar9 * 0x24;
          }
        } while( true );
      }
      if ((byte)(cVar5 + 0xbfU) < 0x1a) goto LAB_002864c0;
    }
    bVar12 = (*(uint *)(param_1 + 8) & 8) != 0;
    if ((!bVar12) && ((param_2 & 1) != 0)) {
      bVar12 = (byte)(**(char **)(param_1 + 0xc) + 0xbdU) < 2 || bVar12;
    }
    puVar3 = standard_subs;
    cVar8 = 't';
    while (cVar5 != cVar8) {
      puVar3 = puVar3 + 0x1c;
      if (puVar3 == "") {
        return (undefined4 *)0x0;
      }
      cVar8 = *puVar3;
    }
    iVar6 = *(int *)(puVar3 + 0x14);
    iVar7 = *(int *)(param_1 + 0x14);
    iVar2 = *(int *)(param_1 + 0x18);
    if (iVar6 != 0) {
      uVar10 = *(undefined4 *)(puVar3 + 0x18);
      if (iVar7 < iVar2) {
        puVar11 = (undefined4 *)(iVar7 * 0x10 + *(int *)(param_1 + 0x10));
        puVar11[1] = 0;
        *(int *)(param_1 + 0x14) = iVar7 + 1;
        *puVar11 = 0x18;
        puVar11[2] = iVar6;
        puVar11[3] = uVar10;
        iVar7 = iVar7 + 1;
      }
      else {
        puVar11 = (undefined4 *)0x0;
      }
      *(undefined4 **)(param_1 + 0x28) = puVar11;
    }
    if (bVar12) {
      uVar10 = *(undefined4 *)(puVar3 + 0xc);
      iVar6 = *(int *)(puVar3 + 0x10);
    }
    else {
      uVar10 = *(undefined4 *)(puVar3 + 4);
      iVar6 = *(int *)(puVar3 + 8);
    }
    *(int *)(param_1 + 0x2c) = *(int *)(param_1 + 0x2c) + iVar6;
    if (iVar7 < iVar2) {
      puVar11 = (undefined4 *)(iVar7 * 0x10 + *(int *)(param_1 + 0x10));
      puVar11[1] = 0;
      *(int *)(param_1 + 0x14) = iVar7 + 1;
      *puVar11 = 0x18;
      puVar11[2] = uVar10;
      puVar11[3] = iVar6;
    }
    else {
      puVar11 = (undefined4 *)0x0;
    }
    if (**(char **)(param_1 + 0xc) != 'B') {
      return puVar11;
    }
    puVar11 = (undefined4 *)d_abi_tags();
    if ((puVar11 != (undefined4 *)0x0) &&
       (iVar6 = *(int *)(param_1 + 0x20), iVar6 < *(int *)(param_1 + 0x24))) {
      *(undefined4 **)(*(int *)(param_1 + 0x1c) + iVar6 * 4) = puVar11;
      *(int *)(param_1 + 0x20) = iVar6 + 1;
      return puVar11;
    }
  }
  return (undefined4 *)0x0;
}



/* WARNING: Function: __i686.get_pc_thunk.si replaced with injection: get_pc_thunk_si */

undefined4 * __regparm3 FUN_002863e0(int param_1,uint param_2)

{
  int iVar1;
  char *pcVar2;
  uint uVar3;
  char cVar4;
  int iVar5;
  int iVar6;
  char cVar7;
  uint uVar8;
  undefined4 uVar9;
  undefined4 *puVar10;
  bool bVar11;
  
  pcVar2 = *(char **)(param_1 + 0xc);
  if (*pcVar2 == 'S') {
    *(char **)(param_1 + 0xc) = pcVar2 + 1;
    cVar4 = pcVar2[1];
    if (cVar4 != '\0') {
      *(char **)(param_1 + 0xc) = pcVar2 + 2;
      cVar4 = pcVar2[1];
      iVar5 = (int)cVar4;
      if (((byte)(cVar4 - 0x30U) < 10) || (cVar4 == '_')) {
        uVar8 = 0;
        if (cVar4 == '_') {
LAB_00286490:
          if (*(uint *)(param_1 + 0x20) <= uVar8) {
            return (undefined4 *)0x0;
          }
          return *(undefined4 **)(*(int *)(param_1 + 0x1c) + uVar8 * 4);
        }
LAB_002864c0:
        uVar8 = 0;
        if (9 < (byte)(cVar4 - 0x30U)) goto LAB_002864fd;
        do {
          uVar3 = uVar8;
          uVar8 = iVar5 + -0x30 + uVar8 * 0x24;
          while( true ) {
            if (uVar8 < uVar3) {
              return (undefined4 *)0x0;
            }
            pcVar2 = *(char **)(param_1 + 0xc);
            cVar4 = *pcVar2;
            if (cVar4 != '\0') {
              *(char **)(param_1 + 0xc) = pcVar2 + 1;
              cVar4 = *pcVar2;
              if (cVar4 == '_') {
                uVar8 = uVar8 + 1;
                goto LAB_00286490;
              }
            }
            iVar5 = (int)cVar4;
            if ((byte)(cVar4 - 0x30U) < 10) break;
LAB_002864fd:
            if (0x19 < (byte)((char)iVar5 + 0xbfU)) {
              return (undefined4 *)0x0;
            }
            uVar3 = uVar8;
            uVar8 = iVar5 + -0x37 + uVar8 * 0x24;
          }
        } while( true );
      }
      if ((byte)(cVar4 + 0xbfU) < 0x1a) goto LAB_002864c0;
    }
    bVar11 = (*(uint *)(param_1 + 8) & 8) != 0;
    if ((!bVar11) && ((param_2 & 1) != 0)) {
      bVar11 = (byte)(**(char **)(param_1 + 0xc) + 0xbdU) < 2 || bVar11;
    }
    pcVar2 = "t";
    cVar7 = 't';
    while (cVar4 != cVar7) {
      pcVar2 = pcVar2 + 0x1c;
      if (pcVar2 == "") {
        return (undefined4 *)0x0;
      }
      cVar7 = *pcVar2;
    }
    iVar5 = *(int *)(pcVar2 + 0x14);
    iVar6 = *(int *)(param_1 + 0x14);
    iVar1 = *(int *)(param_1 + 0x18);
    if (iVar5 != 0) {
      uVar9 = *(undefined4 *)(pcVar2 + 0x18);
      if (iVar6 < iVar1) {
        puVar10 = (undefined4 *)(iVar6 * 0x10 + *(int *)(param_1 + 0x10));
        puVar10[1] = 0;
        *(int *)(param_1 + 0x14) = iVar6 + 1;
        *puVar10 = 0x18;
        puVar10[2] = iVar5;
        puVar10[3] = uVar9;
        iVar6 = iVar6 + 1;
      }
      else {
        puVar10 = (undefined4 *)0x0;
      }
      *(undefined4 **)(param_1 + 0x28) = puVar10;
    }
    if (bVar11) {
      uVar9 = *(undefined4 *)(pcVar2 + 0xc);
      iVar5 = *(int *)(pcVar2 + 0x10);
    }
    else {
      uVar9 = *(undefined4 *)(pcVar2 + 4);
      iVar5 = *(int *)(pcVar2 + 8);
    }
    *(int *)(param_1 + 0x2c) = *(int *)(param_1 + 0x2c) + iVar5;
    if (iVar6 < iVar1) {
      puVar10 = (undefined4 *)(iVar6 * 0x10 + *(int *)(param_1 + 0x10));
      puVar10[1] = 0;
      *(int *)(param_1 + 0x14) = iVar6 + 1;
      *puVar10 = 0x18;
      puVar10[2] = uVar9;
      puVar10[3] = iVar5;
    }
    else {
      puVar10 = (undefined4 *)0x0;
    }
    if (**(char **)(param_1 + 0xc) != 'B') {
      return puVar10;
    }
    puVar10 = (undefined4 *)FUN_00286390();
    if ((puVar10 != (undefined4 *)0x0) &&
       (iVar5 = *(int *)(param_1 + 0x20), iVar5 < *(int *)(param_1 + 0x24))) {
      *(undefined4 **)(*(int *)(param_1 + 0x1c) + iVar5 * 4) = puVar10;
      *(int *)(param_1 + 0x20) = iVar5 + 1;
      return puVar10;
    }
  }
  return (undefined4 *)0x0;
}


PUSH EBP
MOV ECX,EAX
PUSH EDI
PUSH ESI
CALL 0x00049ed6
ADD ESI,0x123c16
PUSH EBX
SUB ESP,0x4
MOV EAX,dword ptr [EAX + 0xc]
CMP byte ptr [EAX],0x53
JNZ 0x00286468
LEA EBX,[EAX + 0x1]
MOV EDI,EDX
MOV dword ptr [ECX + 0xc],EBX
MOVZX EDX,byte ptr [EAX + 0x1]
TEST DL,DL
JNZ 0x00286478
MOV EAX,dword ptr [ECX + 0x8]
XOR EBX,EBX
AND EAX,0x8
SETNZ BL
MOV dword ptr [ESP],EBX
JNZ 0x00286437
AND EDI,0x1
JZ 0x00286437
MOV EAX,dword ptr [ECX + 0xc]
MOVZX EAX,byte ptr [EAX]
SUB EAX,0x43
CMP AL,0x1
MOV EAX,0x1
CMOVA EAX,EBX
MOV dword ptr [ESP],EAX
LEA EAX,[ESI + 0xffff7b80]
MOV EBX,0x74
LEA ESI,[ESI + 0xffff7c44]
JMP 0x00286453
MOVZX EBX,byte ptr [EAX]
CMP DL,BL
JZ 0x00286520
ADD EAX,0x1c
CMP EAX,ESI
JNZ 0x00286450
LEA ESI,[ESI]
XOR EAX,EAX
ADD ESP,0x4
POP EBX
POP ESI
POP EDI
POP EBP
RET
LEA EDX,[EAX + 0x2]
MOV dword ptr [ECX + 0xc],EDX
MOVSX EDX,byte ptr [EAX + 0x1]
LEA EAX,[EDX + -0x30]
CMP AL,0x9
JA 0x002864a8
XOR EBX,EBX
CMP DL,0x5f
JNZ 0x002864c0
CMP dword ptr [ECX + 0x20],EBX
JBE 0x00286468
MOV EAX,dword ptr [ECX + 0x1c]
MOV EAX,dword ptr [EAX + EBX*0x4]
ADD ESP,0x4
POP EBX
POP ESI
POP EDI
POP EBP
RET
CMP DL,0x5f
JZ 0x00286489
LEA EAX,[EDX + -0x41]
CMP AL,0x19
JA 0x0028640c
LEA ESI,[ESI]
NOP
LEA EBX,[EDX + -0x30]
XOR EAX,EAX
CMP BL,0x9
JA 0x002864fd
LEA ESI,[ESI]
LEA EBX,[EAX + EAX*0x8]
LEA EBX,[EDX + EBX*0x4 + -0x30]
CMP EAX,EBX
JA 0x00286468
MOV EAX,dword ptr [ECX + 0xc]
MOVSX EDX,byte ptr [EAX]
TEST DL,DL
JZ 0x002864f3
LEA EDX,[EAX + 0x1]
MOV dword ptr [ECX + 0xc],EDX
MOVSX EDX,byte ptr [EAX]
CMP DL,0x5f
JZ 0x00286518
MOV EAX,EBX
LEA EBX,[EDX + -0x30]
CMP BL,0x9
JBE 0x002864d0
LEA EBX,[EDX + -0x41]
CMP BL,0x19
JA 0x00286468
LEA EBX,[EAX + EAX*0x8]
LEA EBX,[EDX + EBX*0x4 + -0x37]
JMP 0x002864d7
ADD EBX,0x1
JMP 0x00286490
MOV EBP,dword ptr [EAX + 0x14]
MOV EDX,dword ptr [ECX + 0x14]
MOV EDI,dword ptr [ECX + 0x18]
TEST EBP,EBP
JZ 0x0028655c
MOV EBX,dword ptr [EAX + 0x18]
CMP EDX,EDI
JGE 0x002865d9
MOV ESI,EDX
ADD EDX,0x1
SHL ESI,0x4
ADD ESI,dword ptr [ECX + 0x10]
MOV dword ptr [ESI + 0x4],0x0
MOV dword ptr [ECX + 0x14],EDX
MOV dword ptr [ESI],0x18
MOV dword ptr [ESI + 0x8],EBP
MOV dword ptr [ESI + 0xc],EBX
MOV dword ptr [ECX + 0x28],ESI
MOV EBX,dword ptr [ESP]
TEST EBX,EBX
JZ 0x002865cd
MOV EBX,dword ptr [EAX + 0xc]
MOV ESI,dword ptr [EAX + 0x10]
ADD dword ptr [ECX + 0x2c],ESI
CMP EDX,EDI
JGE 0x002865d5
MOV EAX,EDX
ADD EDX,0x1
SHL EAX,0x4
ADD EAX,dword ptr [ECX + 0x10]
MOV dword ptr [EAX + 0x4],0x0
MOV dword ptr [ECX + 0x14],EDX
MOV dword ptr [EAX],0x18
MOV dword ptr [EAX + 0x8],EBX
MOV dword ptr [EAX + 0xc],ESI
MOV EDX,dword ptr [ECX + 0xc]
CMP byte ptr [EDX],0x42
JNZ 0x0028646a
MOV EDX,EAX
MOV EAX,ECX
MOV EBX,ECX
CALL 0x00286390
TEST EAX,EAX
JZ 0x00286468
MOV EDX,dword ptr [EBX + 0x20]
CMP EDX,dword ptr [EBX + 0x24]
JGE 0x00286468
MOV ECX,dword ptr [EBX + 0x1c]
MOV dword ptr [ECX + EDX*0x4],EAX
ADD EDX,0x1
MOV dword ptr [EBX + 0x20],EDX
JMP 0x0028646a
MOV EBX,dword ptr [EAX + 0x4]
MOV ESI,dword ptr [EAX + 0x8]
JMP 0x00286569
XOR EAX,EAX
JMP 0x00286591
XOR ESI,ESI
JMP 0x00286559
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.si replaced with injection: get_pc_thunk_si */\n\nundefined4 * __regparm3 FUN_002863e0(int param_1,uint param_2)\n\n{\n  int iVar1;\n  char *pcVar2;\n  uint uVar3;\n  char cVar4;\n  int iVar5;\n  int iVar6;\n  char cVar7;\n  uint uVar8;\n  undefined4 uVar9;\n  undefined4 *puVar10;\n  bool bVar11;\n  \n  pcVar2 = *(char **)(param_1 + 0xc);\n  if (*pcVar2 == 'S') {\n    *(char **)(param_1 + 0xc) = pcVar2 + 1;\n    cVar4 = pcVar2[1];\n    if (cVar4 != '\0') {\n      *(char **)(param_1 + 0xc) = pcVar2 + 2;\n      cVar4 = pcVar2[1];\n      iVar5 = (int)cVar4;\n      if (((byte)(cVar4 - 0x30U) < 10) || (cVar4 == '_')) {\n        uVar8 = 0;\n        if (cVar4 == '_') {\nLAB_00286490:\n          if (*(uint *)(param_1 + 0x20) <= uVar8) {\n            return (undefined4 *)0x0;\n          }\n          return *(undefined4 **)(*(int *)(param_1 + 0x1c) + uVar8 * 4);\n        }\nLAB_002864c0:\n        uVar8 = 0;\n        if (9 < (byte)(cVar4 - 0x30U)) goto LAB_002864fd;\n        do {\n          uVar3 = uVar8;\n          uVar8 = iVar5 + -0x30 + uVar8 * 0x24;\n          while( true ) {\n            if (uVar8 < uVar3) {\n              return (undefined4 *)0x0;\n            }\n            pcVar2 = *(char **)(param_1 + 0xc);\n            cVar4 = *pcVar2;\n            if (cVar4 != '\0') {\n              *(char **)(param_1 + 0xc) = pcVar2 + 1;\n              cVar4 = *pcVar2;\n              if (cVar4 == '_') {\n                uVar8 = uVar8 + 1;\n                goto LAB_00286490;\n              }\n            }\n            iVar5 = (int)cVar4;\n            if ((byte)(cVar4 - 0x30U) < 10) break;\nLAB_002864fd:\n            if (0x19 < (byte)((char)iVar5 + 0xbfU)) {\n              return (undefined4 *)0x0;\n            }\n            uVar3 = uVar8;\n            uVar8 = iVar5 + -0x37 + uVar8 * 0x24;\n          }\n        } while( true );\n      }\n      if ((byte)(cVar4 + 0xbfU) < 0x1a) goto LAB_002864c0;\n    }\n    bVar11 = (*(uint *)(param_1 + 8) & 8) != 0;\n    if ((!bVar11) && ((param_2 & 1) != 0)) {\n      bVar11 = (byte)(**(char **)(param_1 + 0xc) + 0xbdU) < 2 || bVar11;\n    }\n    pcVar2 = "t";\n    cVar7 = 't';\n    while (cVar4 != cVar7) {\n      pcVar2 = pcVar2 + 0x1c;\n      if (pcVar2 == "") {\n        return (undefined4 *)0x0;\n      }\n      cVar7 = *pcVar2;\n    }\n    iVar5 = *(int *)(pcVar2 + 0x14);\n    iVar6 = *(int *)(param_1 + 0x14);\n    iVar1 = *(int *)(param_1 + 0x18);\n    if (iVar5 != 0) {\n      uVar9 = *(undefined4 *)(pcVar2 + 0x18);\n      if (iVar6 < iVar1) {\n        puVar10 = (undefined4 *)(iVar6 * 0x10 + *(int *)(param_1 + 0x10));\n        puVar10[1] = 0;\n        *(int *)(param_1 + 0x14) = iVar6 + 1;\n        *puVar10 = 0x18;\n        puVar10[2] = iVar5;\n        puVar10[3] = uVar9;\n        iVar6 = iVar6 + 1;\n      }\n      else {\n        puVar10 = (undefined4 *)0x0;\n      }\n      *(undefined4 **)(param_1 + 0x28) = puVar10;\n    }\n    if (bVar11) {\n      uVar9 = *(undefined4 *)(pcVar2 + 0xc);\n      iVar5 = *(int *)(pcVar2 + 0x10);\n    }\n    else {\n      uVar9 = *(undefined4 *)(pcVar2 + 4);\n      iVar5 = *(int *)(pcVar2 + 8);\n    }\n    *(int *)(param_1 + 0x2c) = *(int *)(param_1 + 0x2c) + iVar5;\n    if (iVar6 < iVar1) {\n      puVar10 = (undefined4 *)(iVar6 * 0x10 + *(int *)(param_1 + 0x10));\n      puVar10[1] = 0;\n      *(int *)(param_1 + 0x14) = iVar6 + 1;\n      *puVar10 = 0x18;\n      puVar10[2] = uVar9;\n      puVar10[3] = iVar5;\n    }\n    else {\n      puVar10 = (undefined4 *)0x0;\n    }\n    if (**(char **)(param_1 + 0xc) != 'B') {\n      return puVar10;\n    }\n    puVar10 = (undefined4 *)FUN_00286390();\n    if ((puVar10 != (undefined4 *)0x0) &&\n       (iVar5 = *(int *)(param_1 + 0x20), iVar5 < *(int *)(param_1 + 0x24))) {\n      *(undefined4 **)(*(int *)(param_1 + 0x1c) + iVar5 * 4) = puVar10;\n      *(int *)(param_1 + 0x20) = iVar5 + 1;\n      return puVar10;\n    }\n  }\n  return (undefined4 *)0x0;\n}\n\n" comment (ERROR "undefined4 * __regparm3 FUN_002863e0(int param_1,uint param_2)" (binary_expression "undefined4 * __regparm3 FUN_002863e0(int param_1,uint param_2)" identifier * (ERROR "__regparm3" identifier) (call_expression "FUN_002863e0(int param_1,uint param_2)" identifier (argument_list "(int param_1,uint param_2)" ( (ERROR "int" identifier) identifier , (ERROR "uint" identifier) identifier ))))) (compound_statement "{\n  int iVar1;\n  char *pcVar2;\n  uint uVar3;\n  char cVar4;\n  int iVar5;\n  int iVar6;\n  char cVar7;\n  uint uVar8;\n  undefined4 uVar9;\n  undefined4 *puVar10;\n  bool bVar11;\n  \n  pcVar2 = *(char **)(param_1 + 0xc);\n  if (*pcVar2 == 'S') {\n    *(char **)(param_1 + 0xc) = pcVar2 + 1;\n    cVar4 = pcVar2[1];\n    if (cVar4 != '\0') {\n      *(char **)(param_1 + 0xc) = pcVar2 + 2;\n      cVar4 = pcVar2[1];\n      iVar5 = (int)cVar4;\n      if (((byte)(cVar4 - 0x30U) < 10) || (cVar4 == '_')) {\n        uVar8 = 0;\n        if (cVar4 == '_') {\nLAB_00286490:\n          if (*(uint *)(param_1 + 0x20) <= uVar8) {\n            return (undefined4 *)0x0;\n          }\n          return *(undefined4 **)(*(int *)(param_1 + 0x1c) + uVar8 * 4);\n        }\nLAB_002864c0:\n        uVar8 = 0;\n        if (9 < (byte)(cVar4 - 0x30U)) goto LAB_002864fd;\n        do {\n          uVar3 = uVar8;\n          uVar8 = iVar5 + -0x30 + uVar8 * 0x24;\n          while( true ) {\n            if (uVar8 < uVar3) {\n              return (undefined4 *)0x0;\n            }\n            pcVar2 = *(char **)(param_1 + 0xc);\n            cVar4 = *pcVar2;\n            if (cVar4 != '\0') {\n              *(char **)(param_1 + 0xc) = pcVar2 + 1;\n              cVar4 = *pcVar2;\n              if (cVar4 == '_') {\n                uVar8 = uVar8 + 1;\n                goto LAB_00286490;\n              }\n            }\n            iVar5 = (int)cVar4;\n            if ((byte)(cVar4 - 0x30U) < 10) break;\nLAB_002864fd:\n            if (0x19 < (byte)((char)iVar5 + 0xbfU)) {\n              return (undefined4 *)0x0;\n            }\n            uVar3 = uVar8;\n            uVar8 = iVar5 + -0x37 + uVar8 * 0x24;\n          }\n        } while( true );\n      }\n      if ((byte)(cVar4 + 0xbfU) < 0x1a) goto LAB_002864c0;\n    }\n    bVar11 = (*(uint *)(param_1 + 8) & 8) != 0;\n    if ((!bVar11) && ((param_2 & 1) != 0)) {\n      bVar11 = (byte)(**(char **)(param_1 + 0xc) + 0xbdU) < 2 || bVar11;\n    }\n    pcVar2 = "t";\n    cVar7 = 't';\n    while (cVar4 != cVar7) {\n      pcVar2 = pcVar2 + 0x1c;\n      if (pcVar2 == "") {\n        return (undefined4 *)0x0;\n      }\n      cVar7 = *pcVar2;\n    }\n    iVar5 = *(int *)(pcVar2 + 0x14);\n    iVar6 = *(int *)(param_1 + 0x14);\n    iVar1 = *(int *)(param_1 + 0x18);\n    if (iVar5 != 0) {\n      uVar9 = *(undefined4 *)(pcVar2 + 0x18);\n      if (iVar6 < iVar1) {\n        puVar10 = (undefined4 *)(iVar6 * 0x10 + *(int *)(param_1 + 0x10));\n        puVar10[1] = 0;\n        *(int *)(param_1 + 0x14) = iVar6 + 1;\n        *puVar10 = 0x18;\n        puVar10[2] = iVar5;\n        puVar10[3] = uVar9;\n        iVar6 = iVar6 + 1;\n      }\n      else {\n        puVar10 = (undefined4 *)0x0;\n      }\n      *(undefined4 **)(param_1 + 0x28) = puVar10;\n    }\n    if (bVar11) {\n      uVar9 = *(undefined4 *)(pcVar2 + 0xc);\n      iVar5 = *(int *)(pcVar2 + 0x10);\n    }\n    else {\n      uVar9 = *(undefined4 *)(pcVar2 + 4);\n      iVar5 = *(int *)(pcVar2 + 8);\n    }\n    *(int *)(param_1 + 0x2c) = *(int *)(param_1 + 0x2c) + iVar5;\n    if (iVar6 < iVar1) {\n      puVar10 = (undefined4 *)(iVar6 * 0x10 + *(int *)(param_1 + 0x10));\n      puVar10[1] = 0;\n      *(int *)(param_1 + 0x14) = iVar6 + 1;\n      *puVar10 = 0x18;\n      puVar10[2] = uVar9;\n      puVar10[3] = iVar5;\n    }\n    else {\n      puVar10 = (undefined4 *)0x0;\n    }\n    if (**(char **)(param_1 + 0xc) != 'B') {\n      return puVar10;\n    }\n    puVar10 = (undefined4 *)FUN_00286390();\n    if ((puVar10 != (undefined4 *)0x0) &&\n       (iVar5 = *(int *)(param_1 + 0x20), iVar5 < *(int *)(param_1 + 0x24))) {\n      *(undefined4 **)(*(int *)(param_1 + 0x1c) + iVar5 * 4) = puVar10;\n      *(int *)(param_1 + 0x20) = iVar5 + 1;\n      return puVar10;\n    }\n  }\n  return (undefined4 *)0x0;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "char cVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "char cVar7;" primitive_type identifier ;) (declaration "uint uVar8;" type_identifier identifier ;) (declaration "undefined4 uVar9;" type_identifier identifier ;) (declaration "undefined4 *puVar10;" type_identifier (pointer_declarator "*puVar10" * identifier) ;) (declaration "bool bVar11;" primitive_type identifier ;) (expression_statement "pcVar2 = *(char **)(param_1 + 0xc);" (assignment_expression "pcVar2 = *(char **)(param_1 + 0xc)" identifier = (pointer_expression "*(char **)(param_1 + 0xc)" * (cast_expression "(char **)(param_1 + 0xc)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) ))))) ;) (if_statement "if (*pcVar2 == 'S') {\n    *(char **)(param_1 + 0xc) = pcVar2 + 1;\n    cVar4 = pcVar2[1];\n    if (cVar4 != '\0') {\n      *(char **)(param_1 + 0xc) = pcVar2 + 2;\n      cVar4 = pcVar2[1];\n      iVar5 = (int)cVar4;\n      if (((byte)(cVar4 - 0x30U) < 10) || (cVar4 == '_')) {\n        uVar8 = 0;\n        if (cVar4 == '_') {\nLAB_00286490:\n          if (*(uint *)(param_1 + 0x20) <= uVar8) {\n            return (undefined4 *)0x0;\n          }\n          return *(undefined4 **)(*(int *)(param_1 + 0x1c) + uVar8 * 4);\n        }\nLAB_002864c0:\n        uVar8 = 0;\n        if (9 < (byte)(cVar4 - 0x30U)) goto LAB_002864fd;\n        do {\n          uVar3 = uVar8;\n          uVar8 = iVar5 + -0x30 + uVar8 * 0x24;\n          while( true ) {\n            if (uVar8 < uVar3) {\n              return (undefined4 *)0x0;\n            }\n            pcVar2 = *(char **)(param_1 + 0xc);\n            cVar4 = *pcVar2;\n            if (cVar4 != '\0') {\n              *(char **)(param_1 + 0xc) = pcVar2 + 1;\n              cVar4 = *pcVar2;\n              if (cVar4 == '_') {\n                uVar8 = uVar8 + 1;\n                goto LAB_00286490;\n              }\n            }\n            iVar5 = (int)cVar4;\n            if ((byte)(cVar4 - 0x30U) < 10) break;\nLAB_002864fd:\n            if (0x19 < (byte)((char)iVar5 + 0xbfU)) {\n              return (undefined4 *)0x0;\n            }\n            uVar3 = uVar8;\n            uVar8 = iVar5 + -0x37 + uVar8 * 0x24;\n          }\n        } while( true );\n      }\n      if ((byte)(cVar4 + 0xbfU) < 0x1a) goto LAB_002864c0;\n    }\n    bVar11 = (*(uint *)(param_1 + 8) & 8) != 0;\n    if ((!bVar11) && ((param_2 & 1) != 0)) {\n      bVar11 = (byte)(**(char **)(param_1 + 0xc) + 0xbdU) < 2 || bVar11;\n    }\n    pcVar2 = "t";\n    cVar7 = 't';\n    while (cVar4 != cVar7) {\n      pcVar2 = pcVar2 + 0x1c;\n      if (pcVar2 == "") {\n        return (undefined4 *)0x0;\n      }\n      cVar7 = *pcVar2;\n    }\n    iVar5 = *(int *)(pcVar2 + 0x14);\n    iVar6 = *(int *)(param_1 + 0x14);\n    iVar1 = *(int *)(param_1 + 0x18);\n    if (iVar5 != 0) {\n      uVar9 = *(undefined4 *)(pcVar2 + 0x18);\n      if (iVar6 < iVar1) {\n        puVar10 = (undefined4 *)(iVar6 * 0x10 + *(int *)(param_1 + 0x10));\n        puVar10[1] = 0;\n        *(int *)(param_1 + 0x14) = iVar6 + 1;\n        *puVar10 = 0x18;\n        puVar10[2] = iVar5;\n        puVar10[3] = uVar9;\n        iVar6 = iVar6 + 1;\n      }\n      else {\n        puVar10 = (undefined4 *)0x0;\n      }\n      *(undefined4 **)(param_1 + 0x28) = puVar10;\n    }\n    if (bVar11) {\n      uVar9 = *(undefined4 *)(pcVar2 + 0xc);\n      iVar5 = *(int *)(pcVar2 + 0x10);\n    }\n    else {\n      uVar9 = *(undefined4 *)(pcVar2 + 4);\n      iVar5 = *(int *)(pcVar2 + 8);\n    }\n    *(int *)(param_1 + 0x2c) = *(int *)(param_1 + 0x2c) + iVar5;\n    if (iVar6 < iVar1) {\n      puVar10 = (undefined4 *)(iVar6 * 0x10 + *(int *)(param_1 + 0x10));\n      puVar10[1] = 0;\n      *(int *)(param_1 + 0x14) = iVar6 + 1;\n      *puVar10 = 0x18;\n      puVar10[2] = uVar9;\n      puVar10[3] = iVar5;\n    }\n    else {\n      puVar10 = (undefined4 *)0x0;\n    }\n    if (**(char **)(param_1 + 0xc) != 'B') {\n      return puVar10;\n    }\n    puVar10 = (undefined4 *)FUN_00286390();\n    if ((puVar10 != (undefined4 *)0x0) &&\n       (iVar5 = *(int *)(param_1 + 0x20), iVar5 < *(int *)(param_1 + 0x24))) {\n      *(undefined4 **)(*(int *)(param_1 + 0x1c) + iVar5 * 4) = puVar10;\n      *(int *)(param_1 + 0x20) = iVar5 + 1;\n      return puVar10;\n    }\n  }" if (parenthesized_expression "(*pcVar2 == 'S')" ( (binary_expression "*pcVar2 == 'S'" (pointer_expression "*pcVar2" * identifier) == (char_literal "'S'" ' character ')) )) (compound_statement "{\n    *(char **)(param_1 + 0xc) = pcVar2 + 1;\n    cVar4 = pcVar2[1];\n    if (cVar4 != '\0') {\n      *(char **)(param_1 + 0xc) = pcVar2 + 2;\n      cVar4 = pcVar2[1];\n      iVar5 = (int)cVar4;\n      if (((byte)(cVar4 - 0x30U) < 10) || (cVar4 == '_')) {\n        uVar8 = 0;\n        if (cVar4 == '_') {\nLAB_00286490:\n          if (*(uint *)(param_1 + 0x20) <= uVar8) {\n            return (undefined4 *)0x0;\n          }\n          return *(undefined4 **)(*(int *)(param_1 + 0x1c) + uVar8 * 4);\n        }\nLAB_002864c0:\n        uVar8 = 0;\n        if (9 < (byte)(cVar4 - 0x30U)) goto LAB_002864fd;\n        do {\n          uVar3 = uVar8;\n          uVar8 = iVar5 + -0x30 + uVar8 * 0x24;\n          while( true ) {\n            if (uVar8 < uVar3) {\n              return (undefined4 *)0x0;\n            }\n            pcVar2 = *(char **)(param_1 + 0xc);\n            cVar4 = *pcVar2;\n            if (cVar4 != '\0') {\n              *(char **)(param_1 + 0xc) = pcVar2 + 1;\n              cVar4 = *pcVar2;\n              if (cVar4 == '_') {\n                uVar8 = uVar8 + 1;\n                goto LAB_00286490;\n              }\n            }\n            iVar5 = (int)cVar4;\n            if ((byte)(cVar4 - 0x30U) < 10) break;\nLAB_002864fd:\n            if (0x19 < (byte)((char)iVar5 + 0xbfU)) {\n              return (undefined4 *)0x0;\n            }\n            uVar3 = uVar8;\n            uVar8 = iVar5 + -0x37 + uVar8 * 0x24;\n          }\n        } while( true );\n      }\n      if ((byte)(cVar4 + 0xbfU) < 0x1a) goto LAB_002864c0;\n    }\n    bVar11 = (*(uint *)(param_1 + 8) & 8) != 0;\n    if ((!bVar11) && ((param_2 & 1) != 0)) {\n      bVar11 = (byte)(**(char **)(param_1 + 0xc) + 0xbdU) < 2 || bVar11;\n    }\n    pcVar2 = "t";\n    cVar7 = 't';\n    while (cVar4 != cVar7) {\n      pcVar2 = pcVar2 + 0x1c;\n      if (pcVar2 == "") {\n        return (undefined4 *)0x0;\n      }\n      cVar7 = *pcVar2;\n    }\n    iVar5 = *(int *)(pcVar2 + 0x14);\n    iVar6 = *(int *)(param_1 + 0x14);\n    iVar1 = *(int *)(param_1 + 0x18);\n    if (iVar5 != 0) {\n      uVar9 = *(undefined4 *)(pcVar2 + 0x18);\n      if (iVar6 < iVar1) {\n        puVar10 = (undefined4 *)(iVar6 * 0x10 + *(int *)(param_1 + 0x10));\n        puVar10[1] = 0;\n        *(int *)(param_1 + 0x14) = iVar6 + 1;\n        *puVar10 = 0x18;\n        puVar10[2] = iVar5;\n        puVar10[3] = uVar9;\n        iVar6 = iVar6 + 1;\n      }\n      else {\n        puVar10 = (undefined4 *)0x0;\n      }\n      *(undefined4 **)(param_1 + 0x28) = puVar10;\n    }\n    if (bVar11) {\n      uVar9 = *(undefined4 *)(pcVar2 + 0xc);\n      iVar5 = *(int *)(pcVar2 + 0x10);\n    }\n    else {\n      uVar9 = *(undefined4 *)(pcVar2 + 4);\n      iVar5 = *(int *)(pcVar2 + 8);\n    }\n    *(int *)(param_1 + 0x2c) = *(int *)(param_1 + 0x2c) + iVar5;\n    if (iVar6 < iVar1) {\n      puVar10 = (undefined4 *)(iVar6 * 0x10 + *(int *)(param_1 + 0x10));\n      puVar10[1] = 0;\n      *(int *)(param_1 + 0x14) = iVar6 + 1;\n      *puVar10 = 0x18;\n      puVar10[2] = uVar9;\n      puVar10[3] = iVar5;\n    }\n    else {\n      puVar10 = (undefined4 *)0x0;\n    }\n    if (**(char **)(param_1 + 0xc) != 'B') {\n      return puVar10;\n    }\n    puVar10 = (undefined4 *)FUN_00286390();\n    if ((puVar10 != (undefined4 *)0x0) &&\n       (iVar5 = *(int *)(param_1 + 0x20), iVar5 < *(int *)(param_1 + 0x24))) {\n      *(undefined4 **)(*(int *)(param_1 + 0x1c) + iVar5 * 4) = puVar10;\n      *(int *)(param_1 + 0x20) = iVar5 + 1;\n      return puVar10;\n    }\n  }" { (expression_statement "*(char **)(param_1 + 0xc) = pcVar2 + 1;" (assignment_expression "*(char **)(param_1 + 0xc) = pcVar2 + 1" (pointer_expression "*(char **)(param_1 + 0xc)" * (cast_expression "(char **)(param_1 + 0xc)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) = (binary_expression "pcVar2 + 1" identifier + number_literal)) ;) (expression_statement "cVar4 = pcVar2[1];" (assignment_expression "cVar4 = pcVar2[1]" identifier = (subscript_expression "pcVar2[1]" identifier [ number_literal ])) ;) (if_statement "if (cVar4 != '\0') {\n      *(char **)(param_1 + 0xc) = pcVar2 + 2;\n      cVar4 = pcVar2[1];\n      iVar5 = (int)cVar4;\n      if (((byte)(cVar4 - 0x30U) < 10) || (cVar4 == '_')) {\n        uVar8 = 0;\n        if (cVar4 == '_') {\nLAB_00286490:\n          if (*(uint *)(param_1 + 0x20) <= uVar8) {\n            return (undefined4 *)0x0;\n          }\n          return *(undefined4 **)(*(int *)(param_1 + 0x1c) + uVar8 * 4);\n        }\nLAB_002864c0:\n        uVar8 = 0;\n        if (9 < (byte)(cVar4 - 0x30U)) goto LAB_002864fd;\n        do {\n          uVar3 = uVar8;\n          uVar8 = iVar5 + -0x30 + uVar8 * 0x24;\n          while( true ) {\n            if (uVar8 < uVar3) {\n              return (undefined4 *)0x0;\n            }\n            pcVar2 = *(char **)(param_1 + 0xc);\n            cVar4 = *pcVar2;\n            if (cVar4 != '\0') {\n              *(char **)(param_1 + 0xc) = pcVar2 + 1;\n              cVar4 = *pcVar2;\n              if (cVar4 == '_') {\n                uVar8 = uVar8 + 1;\n                goto LAB_00286490;\n              }\n            }\n            iVar5 = (int)cVar4;\n            if ((byte)(cVar4 - 0x30U) < 10) break;\nLAB_002864fd:\n            if (0x19 < (byte)((char)iVar5 + 0xbfU)) {\n              return (undefined4 *)0x0;\n            }\n            uVar3 = uVar8;\n            uVar8 = iVar5 + -0x37 + uVar8 * 0x24;\n          }\n        } while( true );\n      }\n      if ((byte)(cVar4 + 0xbfU) < 0x1a) goto LAB_002864c0;\n    }" if (parenthesized_expression "(cVar4 != '\0')" ( (binary_expression "cVar4 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      *(char **)(param_1 + 0xc) = pcVar2 + 2;\n      cVar4 = pcVar2[1];\n      iVar5 = (int)cVar4;\n      if (((byte)(cVar4 - 0x30U) < 10) || (cVar4 == '_')) {\n        uVar8 = 0;\n        if (cVar4 == '_') {\nLAB_00286490:\n          if (*(uint *)(param_1 + 0x20) <= uVar8) {\n            return (undefined4 *)0x0;\n          }\n          return *(undefined4 **)(*(int *)(param_1 + 0x1c) + uVar8 * 4);\n        }\nLAB_002864c0:\n        uVar8 = 0;\n        if (9 < (byte)(cVar4 - 0x30U)) goto LAB_002864fd;\n        do {\n          uVar3 = uVar8;\n          uVar8 = iVar5 + -0x30 + uVar8 * 0x24;\n          while( true ) {\n            if (uVar8 < uVar3) {\n              return (undefined4 *)0x0;\n            }\n            pcVar2 = *(char **)(param_1 + 0xc);\n            cVar4 = *pcVar2;\n            if (cVar4 != '\0') {\n              *(char **)(param_1 + 0xc) = pcVar2 + 1;\n              cVar4 = *pcVar2;\n              if (cVar4 == '_') {\n                uVar8 = uVar8 + 1;\n                goto LAB_00286490;\n              }\n            }\n            iVar5 = (int)cVar4;\n            if ((byte)(cVar4 - 0x30U) < 10) break;\nLAB_002864fd:\n            if (0x19 < (byte)((char)iVar5 + 0xbfU)) {\n              return (undefined4 *)0x0;\n            }\n            uVar3 = uVar8;\n            uVar8 = iVar5 + -0x37 + uVar8 * 0x24;\n          }\n        } while( true );\n      }\n      if ((byte)(cVar4 + 0xbfU) < 0x1a) goto LAB_002864c0;\n    }" { (expression_statement "*(char **)(param_1 + 0xc) = pcVar2 + 2;" (assignment_expression "*(char **)(param_1 + 0xc) = pcVar2 + 2" (pointer_expression "*(char **)(param_1 + 0xc)" * (cast_expression "(char **)(param_1 + 0xc)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) = (binary_expression "pcVar2 + 2" identifier + number_literal)) ;) (expression_statement "cVar4 = pcVar2[1];" (assignment_expression "cVar4 = pcVar2[1]" identifier = (subscript_expression "pcVar2[1]" identifier [ number_literal ])) ;) (expression_statement "iVar5 = (int)cVar4;" (assignment_expression "iVar5 = (int)cVar4" identifier = (cast_expression "(int)cVar4" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (if_statement "if (((byte)(cVar4 - 0x30U) < 10) || (cVar4 == '_')) {\n        uVar8 = 0;\n        if (cVar4 == '_') {\nLAB_00286490:\n          if (*(uint *)(param_1 + 0x20) <= uVar8) {\n            return (undefined4 *)0x0;\n          }\n          return *(undefined4 **)(*(int *)(param_1 + 0x1c) + uVar8 * 4);\n        }\nLAB_002864c0:\n        uVar8 = 0;\n        if (9 < (byte)(cVar4 - 0x30U)) goto LAB_002864fd;\n        do {\n          uVar3 = uVar8;\n          uVar8 = iVar5 + -0x30 + uVar8 * 0x24;\n          while( true ) {\n            if (uVar8 < uVar3) {\n              return (undefined4 *)0x0;\n            }\n            pcVar2 = *(char **)(param_1 + 0xc);\n            cVar4 = *pcVar2;\n            if (cVar4 != '\0') {\n              *(char **)(param_1 + 0xc) = pcVar2 + 1;\n              cVar4 = *pcVar2;\n              if (cVar4 == '_') {\n                uVar8 = uVar8 + 1;\n                goto LAB_00286490;\n              }\n            }\n            iVar5 = (int)cVar4;\n            if ((byte)(cVar4 - 0x30U) < 10) break;\nLAB_002864fd:\n            if (0x19 < (byte)((char)iVar5 + 0xbfU)) {\n              return (undefined4 *)0x0;\n            }\n            uVar3 = uVar8;\n            uVar8 = iVar5 + -0x37 + uVar8 * 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        uVar8 = 0;\n        if (cVar4 == '_') {\nLAB_00286490:\n          if (*(uint *)(param_1 + 0x20) <= uVar8) {\n            return (undefined4 *)0x0;\n          }\n          return *(undefined4 **)(*(int *)(param_1 + 0x1c) + uVar8 * 4);\n        }\nLAB_002864c0:\n        uVar8 = 0;\n        if (9 < (byte)(cVar4 - 0x30U)) goto LAB_002864fd;\n        do {\n          uVar3 = uVar8;\n          uVar8 = iVar5 + -0x30 + uVar8 * 0x24;\n          while( true ) {\n            if (uVar8 < uVar3) {\n              return (undefined4 *)0x0;\n            }\n            pcVar2 = *(char **)(param_1 + 0xc);\n            cVar4 = *pcVar2;\n            if (cVar4 != '\0') {\n              *(char **)(param_1 + 0xc) = pcVar2 + 1;\n              cVar4 = *pcVar2;\n              if (cVar4 == '_') {\n                uVar8 = uVar8 + 1;\n                goto LAB_00286490;\n              }\n            }\n            iVar5 = (int)cVar4;\n            if ((byte)(cVar4 - 0x30U) < 10) break;\nLAB_002864fd:\n            if (0x19 < (byte)((char)iVar5 + 0xbfU)) {\n              return (undefined4 *)0x0;\n            }\n            uVar3 = uVar8;\n            uVar8 = iVar5 + -0x37 + uVar8 * 0x24;\n          }\n        } while( true );\n      }" { (expression_statement "uVar8 = 0;" (assignment_expression "uVar8 = 0" identifier = number_literal) ;) (if_statement "if (cVar4 == '_') {\nLAB_00286490:\n          if (*(uint *)(param_1 + 0x20) <= uVar8) {\n            return (undefined4 *)0x0;\n          }\n          return *(undefined4 **)(*(int *)(param_1 + 0x1c) + uVar8 * 4);\n        }" if (parenthesized_expression "(cVar4 == '_')" ( (binary_expression "cVar4 == '_'" identifier == (char_literal "'_'" ' character ')) )) (compound_statement "{\nLAB_00286490:\n          if (*(uint *)(param_1 + 0x20) <= uVar8) {\n            return (undefined4 *)0x0;\n          }\n          return *(undefined4 **)(*(int *)(param_1 + 0x1c) + uVar8 * 4);\n        }" { (labeled_statement "LAB_00286490:\n          if (*(uint *)(param_1 + 0x20) <= uVar8) {\n            return (undefined4 *)0x0;\n          }" statement_identifier : (if_statement "if (*(uint *)(param_1 + 0x20) <= uVar8) {\n            return (undefined4 *)0x0;\n          }" if (parenthesized_expression "(*(uint *)(param_1 + 0x20) <= uVar8)" ( (binary_expression "*(uint *)(param_1 + 0x20) <= uVar8" (pointer_expression "*(uint *)(param_1 + 0x20)" * (cast_expression "(uint *)(param_1 + 0x20)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) )))) <= 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 **)(*(int *)(param_1 + 0x1c) + uVar8 * 4);" return (pointer_expression "*(undefined4 **)(*(int *)(param_1 + 0x1c) + uVar8 * 4)" * (cast_expression "(undefined4 **)(*(int *)(param_1 + 0x1c) + uVar8 * 4)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(param_1 + 0x1c) + uVar8 * 4)" ( (binary_expression "*(int *)(param_1 + 0x1c) + uVar8 * 4" (pointer_expression "*(int *)(param_1 + 0x1c)" * (cast_expression "(int *)(param_1 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) )))) + (binary_expression "uVar8 * 4" identifier * number_literal)) )))) ;) })) (labeled_statement "LAB_002864c0:\n        uVar8 = 0;" statement_identifier : (expression_statement "uVar8 = 0;" (assignment_expression "uVar8 = 0" identifier = number_literal) ;)) (if_statement "if (9 < (byte)(cVar4 - 0x30U)) goto LAB_002864fd;" 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_002864fd;" goto statement_identifier ;)) (do_statement "do {\n          uVar3 = uVar8;\n          uVar8 = iVar5 + -0x30 + uVar8 * 0x24;\n          while( true ) {\n            if (uVar8 < uVar3) {\n              return (undefined4 *)0x0;\n            }\n            pcVar2 = *(char **)(param_1 + 0xc);\n            cVar4 = *pcVar2;\n            if (cVar4 != '\0') {\n              *(char **)(param_1 + 0xc) = pcVar2 + 1;\n              cVar4 = *pcVar2;\n              if (cVar4 == '_') {\n                uVar8 = uVar8 + 1;\n                goto LAB_00286490;\n              }\n            }\n            iVar5 = (int)cVar4;\n            if ((byte)(cVar4 - 0x30U) < 10) break;\nLAB_002864fd:\n            if (0x19 < (byte)((char)iVar5 + 0xbfU)) {\n              return (undefined4 *)0x0;\n            }\n            uVar3 = uVar8;\n            uVar8 = iVar5 + -0x37 + uVar8 * 0x24;\n          }\n        } while( true );" do (compound_statement "{\n          uVar3 = uVar8;\n          uVar8 = iVar5 + -0x30 + uVar8 * 0x24;\n          while( true ) {\n            if (uVar8 < uVar3) {\n              return (undefined4 *)0x0;\n            }\n            pcVar2 = *(char **)(param_1 + 0xc);\n            cVar4 = *pcVar2;\n            if (cVar4 != '\0') {\n              *(char **)(param_1 + 0xc) = pcVar2 + 1;\n              cVar4 = *pcVar2;\n              if (cVar4 == '_') {\n                uVar8 = uVar8 + 1;\n                goto LAB_00286490;\n              }\n            }\n            iVar5 = (int)cVar4;\n            if ((byte)(cVar4 - 0x30U) < 10) break;\nLAB_002864fd:\n            if (0x19 < (byte)((char)iVar5 + 0xbfU)) {\n              return (undefined4 *)0x0;\n            }\n            uVar3 = uVar8;\n            uVar8 = iVar5 + -0x37 + uVar8 * 0x24;\n          }\n        }" { (expression_statement "uVar3 = uVar8;" (assignment_expression "uVar3 = uVar8" identifier = identifier) ;) (expression_statement "uVar8 = iVar5 + -0x30 + uVar8 * 0x24;" (assignment_expression "uVar8 = iVar5 + -0x30 + uVar8 * 0x24" identifier = (binary_expression "iVar5 + -0x30 + uVar8 * 0x24" (binary_expression "iVar5 + -0x30" identifier + number_literal) + (binary_expression "uVar8 * 0x24" identifier * number_literal))) ;) (while_statement "while( true ) {\n            if (uVar8 < uVar3) {\n              return (undefined4 *)0x0;\n            }\n            pcVar2 = *(char **)(param_1 + 0xc);\n            cVar4 = *pcVar2;\n            if (cVar4 != '\0') {\n              *(char **)(param_1 + 0xc) = pcVar2 + 1;\n              cVar4 = *pcVar2;\n              if (cVar4 == '_') {\n                uVar8 = uVar8 + 1;\n                goto LAB_00286490;\n              }\n            }\n            iVar5 = (int)cVar4;\n            if ((byte)(cVar4 - 0x30U) < 10) break;\nLAB_002864fd:\n            if (0x19 < (byte)((char)iVar5 + 0xbfU)) {\n              return (undefined4 *)0x0;\n            }\n            uVar3 = uVar8;\n            uVar8 = iVar5 + -0x37 + uVar8 * 0x24;\n          }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n            if (uVar8 < uVar3) {\n              return (undefined4 *)0x0;\n            }\n            pcVar2 = *(char **)(param_1 + 0xc);\n            cVar4 = *pcVar2;\n            if (cVar4 != '\0') {\n              *(char **)(param_1 + 0xc) = pcVar2 + 1;\n              cVar4 = *pcVar2;\n              if (cVar4 == '_') {\n                uVar8 = uVar8 + 1;\n                goto LAB_00286490;\n              }\n            }\n            iVar5 = (int)cVar4;\n            if ((byte)(cVar4 - 0x30U) < 10) break;\nLAB_002864fd:\n            if (0x19 < (byte)((char)iVar5 + 0xbfU)) {\n              return (undefined4 *)0x0;\n            }\n            uVar3 = uVar8;\n            uVar8 = iVar5 + -0x37 + uVar8 * 0x24;\n          }" { (if_statement "if (uVar8 < uVar3) {\n              return (undefined4 *)0x0;\n            }" if (parenthesized_expression "(uVar8 < uVar3)" ( (binary_expression "uVar8 < uVar3" 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 "pcVar2 = *(char **)(param_1 + 0xc);" (assignment_expression "pcVar2 = *(char **)(param_1 + 0xc)" identifier = (pointer_expression "*(char **)(param_1 + 0xc)" * (cast_expression "(char **)(param_1 + 0xc)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) ))))) ;) (expression_statement "cVar4 = *pcVar2;" (assignment_expression "cVar4 = *pcVar2" identifier = (pointer_expression "*pcVar2" * identifier)) ;) (if_statement "if (cVar4 != '\0') {\n              *(char **)(param_1 + 0xc) = pcVar2 + 1;\n              cVar4 = *pcVar2;\n              if (cVar4 == '_') {\n                uVar8 = uVar8 + 1;\n                goto LAB_00286490;\n              }\n            }" if (parenthesized_expression "(cVar4 != '\0')" ( (binary_expression "cVar4 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n              *(char **)(param_1 + 0xc) = pcVar2 + 1;\n              cVar4 = *pcVar2;\n              if (cVar4 == '_') {\n                uVar8 = uVar8 + 1;\n                goto LAB_00286490;\n              }\n            }" { (expression_statement "*(char **)(param_1 + 0xc) = pcVar2 + 1;" (assignment_expression "*(char **)(param_1 + 0xc) = pcVar2 + 1" (pointer_expression "*(char **)(param_1 + 0xc)" * (cast_expression "(char **)(param_1 + 0xc)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) = (binary_expression "pcVar2 + 1" identifier + number_literal)) ;) (expression_statement "cVar4 = *pcVar2;" (assignment_expression "cVar4 = *pcVar2" identifier = (pointer_expression "*pcVar2" * identifier)) ;) (if_statement "if (cVar4 == '_') {\n                uVar8 = uVar8 + 1;\n                goto LAB_00286490;\n              }" if (parenthesized_expression "(cVar4 == '_')" ( (binary_expression "cVar4 == '_'" identifier == (char_literal "'_'" ' character ')) )) (compound_statement "{\n                uVar8 = uVar8 + 1;\n                goto LAB_00286490;\n              }" { (expression_statement "uVar8 = uVar8 + 1;" (assignment_expression "uVar8 = uVar8 + 1" identifier = (binary_expression "uVar8 + 1" identifier + number_literal)) ;) (goto_statement "goto LAB_00286490;" goto statement_identifier ;) })) })) (expression_statement "iVar5 = (int)cVar4;" (assignment_expression "iVar5 = (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_002864fd:\n            if (0x19 < (byte)((char)iVar5 + 0xbfU)) {\n              return (undefined4 *)0x0;\n            }" statement_identifier : (if_statement "if (0x19 < (byte)((char)iVar5 + 0xbfU)) {\n              return (undefined4 *)0x0;\n            }" if (parenthesized_expression "(0x19 < (byte)((char)iVar5 + 0xbfU))" ( (binary_expression "0x19 < (byte)((char)iVar5 + 0xbfU)" number_literal < (call_expression "(byte)((char)iVar5 + 0xbfU)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "((char)iVar5 + 0xbfU)" ( (binary_expression "(char)iVar5 + 0xbfU" (cast_expression "(char)iVar5" ( (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 "uVar3 = uVar8;" (assignment_expression "uVar3 = uVar8" identifier = identifier) ;) (expression_statement "uVar8 = iVar5 + -0x37 + uVar8 * 0x24;" (assignment_expression "uVar8 = iVar5 + -0x37 + uVar8 * 0x24" identifier = (binary_expression "iVar5 + -0x37 + uVar8 * 0x24" (binary_expression "iVar5 + -0x37" identifier + number_literal) + (binary_expression "uVar8 * 0x24" identifier * number_literal))) ;) })) }) while (parenthesized_expression "( true )" ( true )) ;) })) (if_statement "if ((byte)(cVar4 + 0xbfU) < 0x1a) goto LAB_002864c0;" 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_002864c0;" goto statement_identifier ;)) })) (expression_statement "bVar11 = (*(uint *)(param_1 + 8) & 8) != 0;" (assignment_expression "bVar11 = (*(uint *)(param_1 + 8) & 8) != 0" identifier = (binary_expression "(*(uint *)(param_1 + 8) & 8) != 0" (parenthesized_expression "(*(uint *)(param_1 + 8) & 8)" ( (binary_expression "*(uint *)(param_1 + 8) & 8" (pointer_expression "*(uint *)(param_1 + 8)" * (cast_expression "(uint *)(param_1 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) & number_literal) )) != number_literal)) ;) (if_statement "if ((!bVar11) && ((param_2 & 1) != 0)) {\n      bVar11 = (byte)(**(char **)(param_1 + 0xc) + 0xbdU) < 2 || bVar11;\n    }" if (parenthesized_expression "((!bVar11) && ((param_2 & 1) != 0))" ( (binary_expression "(!bVar11) && ((param_2 & 1) != 0)" (parenthesized_expression "(!bVar11)" ( (unary_expression "!bVar11" ! 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) ))) )) (compound_statement "{\n      bVar11 = (byte)(**(char **)(param_1 + 0xc) + 0xbdU) < 2 || bVar11;\n    }" { (expression_statement "bVar11 = (byte)(**(char **)(param_1 + 0xc) + 0xbdU) < 2 || bVar11;" (assignment_expression "bVar11 = (byte)(**(char **)(param_1 + 0xc) + 0xbdU) < 2 || bVar11" identifier = (binary_expression "(byte)(**(char **)(param_1 + 0xc) + 0xbdU) < 2 || bVar11" (binary_expression "(byte)(**(char **)(param_1 + 0xc) + 0xbdU) < 2" (call_expression "(byte)(**(char **)(param_1 + 0xc) + 0xbdU)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(**(char **)(param_1 + 0xc) + 0xbdU)" ( (binary_expression "**(char **)(param_1 + 0xc) + 0xbdU" (pointer_expression "**(char **)(param_1 + 0xc)" * (pointer_expression "*(char **)(param_1 + 0xc)" * (cast_expression "(char **)(param_1 + 0xc)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) ))))) + number_literal) ))) < number_literal) || identifier)) ;) })) (expression_statement "pcVar2 = "t";" (assignment_expression "pcVar2 = "t"" identifier = (string_literal ""t"" " string_content ")) ;) (expression_statement "cVar7 = 't';" (assignment_expression "cVar7 = 't'" identifier = (char_literal "'t'" ' character ')) ;) (while_statement "while (cVar4 != cVar7) {\n      pcVar2 = pcVar2 + 0x1c;\n      if (pcVar2 == "") {\n        return (undefined4 *)0x0;\n      }\n      cVar7 = *pcVar2;\n    }" while (parenthesized_expression "(cVar4 != cVar7)" ( (binary_expression "cVar4 != cVar7" identifier != identifier) )) (compound_statement "{\n      pcVar2 = pcVar2 + 0x1c;\n      if (pcVar2 == "") {\n        return (undefined4 *)0x0;\n      }\n      cVar7 = *pcVar2;\n    }" { (expression_statement "pcVar2 = pcVar2 + 0x1c;" (assignment_expression "pcVar2 = pcVar2 + 0x1c" identifier = (binary_expression "pcVar2 + 0x1c" identifier + number_literal)) ;) (if_statement "if (pcVar2 == "") {\n        return (undefined4 *)0x0;\n      }" if (parenthesized_expression "(pcVar2 == "")" ( (binary_expression "pcVar2 == """ identifier == (string_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 "cVar7 = *pcVar2;" (assignment_expression "cVar7 = *pcVar2" identifier = (pointer_expression "*pcVar2" * identifier)) ;) })) (expression_statement "iVar5 = *(int *)(pcVar2 + 0x14);" (assignment_expression "iVar5 = *(int *)(pcVar2 + 0x14)" identifier = (pointer_expression "*(int *)(pcVar2 + 0x14)" * (cast_expression "(int *)(pcVar2 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar2 + 0x14)" ( (binary_expression "pcVar2 + 0x14" identifier + number_literal) ))))) ;) (expression_statement "iVar6 = *(int *)(param_1 + 0x14);" (assignment_expression "iVar6 = *(int *)(param_1 + 0x14)" identifier = (pointer_expression "*(int *)(param_1 + 0x14)" * (cast_expression "(int *)(param_1 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) ))))) ;) (expression_statement "iVar1 = *(int *)(param_1 + 0x18);" (assignment_expression "iVar1 = *(int *)(param_1 + 0x18)" identifier = (pointer_expression "*(int *)(param_1 + 0x18)" * (cast_expression "(int *)(param_1 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) ))))) ;) (if_statement "if (iVar5 != 0) {\n      uVar9 = *(undefined4 *)(pcVar2 + 0x18);\n      if (iVar6 < iVar1) {\n        puVar10 = (undefined4 *)(iVar6 * 0x10 + *(int *)(param_1 + 0x10));\n        puVar10[1] = 0;\n        *(int *)(param_1 + 0x14) = iVar6 + 1;\n        *puVar10 = 0x18;\n        puVar10[2] = iVar5;\n        puVar10[3] = uVar9;\n        iVar6 = iVar6 + 1;\n      }\n      else {\n        puVar10 = (undefined4 *)0x0;\n      }\n      *(undefined4 **)(param_1 + 0x28) = puVar10;\n    }" if (parenthesized_expression "(iVar5 != 0)" ( (binary_expression "iVar5 != 0" identifier != number_literal) )) (compound_statement "{\n      uVar9 = *(undefined4 *)(pcVar2 + 0x18);\n      if (iVar6 < iVar1) {\n        puVar10 = (undefined4 *)(iVar6 * 0x10 + *(int *)(param_1 + 0x10));\n        puVar10[1] = 0;\n        *(int *)(param_1 + 0x14) = iVar6 + 1;\n        *puVar10 = 0x18;\n        puVar10[2] = iVar5;\n        puVar10[3] = uVar9;\n        iVar6 = iVar6 + 1;\n      }\n      else {\n        puVar10 = (undefined4 *)0x0;\n      }\n      *(undefined4 **)(param_1 + 0x28) = puVar10;\n    }" { (expression_statement "uVar9 = *(undefined4 *)(pcVar2 + 0x18);" (assignment_expression "uVar9 = *(undefined4 *)(pcVar2 + 0x18)" identifier = (pointer_expression "*(undefined4 *)(pcVar2 + 0x18)" * (cast_expression "(undefined4 *)(pcVar2 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar2 + 0x18)" ( (binary_expression "pcVar2 + 0x18" identifier + number_literal) ))))) ;) (if_statement "if (iVar6 < iVar1) {\n        puVar10 = (undefined4 *)(iVar6 * 0x10 + *(int *)(param_1 + 0x10));\n        puVar10[1] = 0;\n        *(int *)(param_1 + 0x14) = iVar6 + 1;\n        *puVar10 = 0x18;\n        puVar10[2] = iVar5;\n        puVar10[3] = uVar9;\n        iVar6 = iVar6 + 1;\n      }\n      else {\n        puVar10 = (undefined4 *)0x0;\n      }" if (parenthesized_expression "(iVar6 < iVar1)" ( (binary_expression "iVar6 < iVar1" identifier < identifier) )) (compound_statement "{\n        puVar10 = (undefined4 *)(iVar6 * 0x10 + *(int *)(param_1 + 0x10));\n        puVar10[1] = 0;\n        *(int *)(param_1 + 0x14) = iVar6 + 1;\n        *puVar10 = 0x18;\n        puVar10[2] = iVar5;\n        puVar10[3] = uVar9;\n        iVar6 = iVar6 + 1;\n      }" { (expression_statement "puVar10 = (undefined4 *)(iVar6 * 0x10 + *(int *)(param_1 + 0x10));" (assignment_expression "puVar10 = (undefined4 *)(iVar6 * 0x10 + *(int *)(param_1 + 0x10))" identifier = (cast_expression "(undefined4 *)(iVar6 * 0x10 + *(int *)(param_1 + 0x10))" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 * 0x10 + *(int *)(param_1 + 0x10))" ( (binary_expression "iVar6 * 0x10 + *(int *)(param_1 + 0x10)" (binary_expression "iVar6 * 0x10" identifier * number_literal) + (pointer_expression "*(int *)(param_1 + 0x10)" * (cast_expression "(int *)(param_1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) ))))) )))) ;) (expression_statement "puVar10[1] = 0;" (assignment_expression "puVar10[1] = 0" (subscript_expression "puVar10[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(int *)(param_1 + 0x14) = iVar6 + 1;" (assignment_expression "*(int *)(param_1 + 0x14) = iVar6 + 1" (pointer_expression "*(int *)(param_1 + 0x14)" * (cast_expression "(int *)(param_1 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))) = (binary_expression "iVar6 + 1" identifier + number_literal)) ;) (expression_statement "*puVar10 = 0x18;" (assignment_expression "*puVar10 = 0x18" (pointer_expression "*puVar10" * identifier) = number_literal) ;) (expression_statement "puVar10[2] = iVar5;" (assignment_expression "puVar10[2] = iVar5" (subscript_expression "puVar10[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar10[3] = uVar9;" (assignment_expression "puVar10[3] = uVar9" (subscript_expression "puVar10[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "iVar6 = iVar6 + 1;" (assignment_expression "iVar6 = iVar6 + 1" identifier = (binary_expression "iVar6 + 1" identifier + number_literal)) ;) }) (else_clause "else {\n        puVar10 = (undefined4 *)0x0;\n      }" else (compound_statement "{\n        puVar10 = (undefined4 *)0x0;\n      }" { (expression_statement "puVar10 = (undefined4 *)0x0;" (assignment_expression "puVar10 = (undefined4 *)0x0" identifier = (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }))) (expression_statement "*(undefined4 **)(param_1 + 0x28) = puVar10;" (assignment_expression "*(undefined4 **)(param_1 + 0x28) = puVar10" (pointer_expression "*(undefined4 **)(param_1 + 0x28)" * (cast_expression "(undefined4 **)(param_1 + 0x28)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x28)" ( (binary_expression "param_1 + 0x28" identifier + number_literal) )))) = identifier) ;) })) (if_statement "if (bVar11) {\n      uVar9 = *(undefined4 *)(pcVar2 + 0xc);\n      iVar5 = *(int *)(pcVar2 + 0x10);\n    }\n    else {\n      uVar9 = *(undefined4 *)(pcVar2 + 4);\n      iVar5 = *(int *)(pcVar2 + 8);\n    }" if (parenthesized_expression "(bVar11)" ( identifier )) (compound_statement "{\n      uVar9 = *(undefined4 *)(pcVar2 + 0xc);\n      iVar5 = *(int *)(pcVar2 + 0x10);\n    }" { (expression_statement "uVar9 = *(undefined4 *)(pcVar2 + 0xc);" (assignment_expression "uVar9 = *(undefined4 *)(pcVar2 + 0xc)" identifier = (pointer_expression "*(undefined4 *)(pcVar2 + 0xc)" * (cast_expression "(undefined4 *)(pcVar2 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar2 + 0xc)" ( (binary_expression "pcVar2 + 0xc" identifier + number_literal) ))))) ;) (expression_statement "iVar5 = *(int *)(pcVar2 + 0x10);" (assignment_expression "iVar5 = *(int *)(pcVar2 + 0x10)" identifier = (pointer_expression "*(int *)(pcVar2 + 0x10)" * (cast_expression "(int *)(pcVar2 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar2 + 0x10)" ( (binary_expression "pcVar2 + 0x10" identifier + number_literal) ))))) ;) }) (else_clause "else {\n      uVar9 = *(undefined4 *)(pcVar2 + 4);\n      iVar5 = *(int *)(pcVar2 + 8);\n    }" else (compound_statement "{\n      uVar9 = *(undefined4 *)(pcVar2 + 4);\n      iVar5 = *(int *)(pcVar2 + 8);\n    }" { (expression_statement "uVar9 = *(undefined4 *)(pcVar2 + 4);" (assignment_expression "uVar9 = *(undefined4 *)(pcVar2 + 4)" identifier = (pointer_expression "*(undefined4 *)(pcVar2 + 4)" * (cast_expression "(undefined4 *)(pcVar2 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar2 + 4)" ( (binary_expression "pcVar2 + 4" identifier + number_literal) ))))) ;) (expression_statement "iVar5 = *(int *)(pcVar2 + 8);" (assignment_expression "iVar5 = *(int *)(pcVar2 + 8)" identifier = (pointer_expression "*(int *)(pcVar2 + 8)" * (cast_expression "(int *)(pcVar2 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar2 + 8)" ( (binary_expression "pcVar2 + 8" identifier + number_literal) ))))) ;) }))) (expression_statement "*(int *)(param_1 + 0x2c) = *(int *)(param_1 + 0x2c) + iVar5;" (assignment_expression "*(int *)(param_1 + 0x2c) = *(int *)(param_1 + 0x2c) + iVar5" (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) )))) = (binary_expression "*(int *)(param_1 + 0x2c) + iVar5" (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) )))) + identifier)) ;) (if_statement "if (iVar6 < iVar1) {\n      puVar10 = (undefined4 *)(iVar6 * 0x10 + *(int *)(param_1 + 0x10));\n      puVar10[1] = 0;\n      *(int *)(param_1 + 0x14) = iVar6 + 1;\n      *puVar10 = 0x18;\n      puVar10[2] = uVar9;\n      puVar10[3] = iVar5;\n    }\n    else {\n      puVar10 = (undefined4 *)0x0;\n    }" if (parenthesized_expression "(iVar6 < iVar1)" ( (binary_expression "iVar6 < iVar1" identifier < identifier) )) (compound_statement "{\n      puVar10 = (undefined4 *)(iVar6 * 0x10 + *(int *)(param_1 + 0x10));\n      puVar10[1] = 0;\n      *(int *)(param_1 + 0x14) = iVar6 + 1;\n      *puVar10 = 0x18;\n      puVar10[2] = uVar9;\n      puVar10[3] = iVar5;\n    }" { (expression_statement "puVar10 = (undefined4 *)(iVar6 * 0x10 + *(int *)(param_1 + 0x10));" (assignment_expression "puVar10 = (undefined4 *)(iVar6 * 0x10 + *(int *)(param_1 + 0x10))" identifier = (cast_expression "(undefined4 *)(iVar6 * 0x10 + *(int *)(param_1 + 0x10))" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 * 0x10 + *(int *)(param_1 + 0x10))" ( (binary_expression "iVar6 * 0x10 + *(int *)(param_1 + 0x10)" (binary_expression "iVar6 * 0x10" identifier * number_literal) + (pointer_expression "*(int *)(param_1 + 0x10)" * (cast_expression "(int *)(param_1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) ))))) )))) ;) (expression_statement "puVar10[1] = 0;" (assignment_expression "puVar10[1] = 0" (subscript_expression "puVar10[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(int *)(param_1 + 0x14) = iVar6 + 1;" (assignment_expression "*(int *)(param_1 + 0x14) = iVar6 + 1" (pointer_expression "*(int *)(param_1 + 0x14)" * (cast_expression "(int *)(param_1 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))) = (binary_expression "iVar6 + 1" identifier + number_literal)) ;) (expression_statement "*puVar10 = 0x18;" (assignment_expression "*puVar10 = 0x18" (pointer_expression "*puVar10" * identifier) = number_literal) ;) (expression_statement "puVar10[2] = uVar9;" (assignment_expression "puVar10[2] = uVar9" (subscript_expression "puVar10[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar10[3] = iVar5;" (assignment_expression "puVar10[3] = iVar5" (subscript_expression "puVar10[3]" identifier [ number_literal ]) = identifier) ;) }) (else_clause "else {\n      puVar10 = (undefined4 *)0x0;\n    }" else (compound_statement "{\n      puVar10 = (undefined4 *)0x0;\n    }" { (expression_statement "puVar10 = (undefined4 *)0x0;" (assignment_expression "puVar10 = (undefined4 *)0x0" identifier = (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }))) (if_statement "if (**(char **)(param_1 + 0xc) != 'B') {\n      return puVar10;\n    }" if (parenthesized_expression "(**(char **)(param_1 + 0xc) != 'B')" ( (binary_expression "**(char **)(param_1 + 0xc) != 'B'" (pointer_expression "**(char **)(param_1 + 0xc)" * (pointer_expression "*(char **)(param_1 + 0xc)" * (cast_expression "(char **)(param_1 + 0xc)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) ))))) != (char_literal "'B'" ' character ')) )) (compound_statement "{\n      return puVar10;\n    }" { (return_statement "return puVar10;" return identifier ;) })) (expression_statement "puVar10 = (undefined4 *)FUN_00286390();" (assignment_expression "puVar10 = (undefined4 *)FUN_00286390()" identifier = (cast_expression "(undefined4 *)FUN_00286390()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00286390()" identifier (argument_list "()" ( ))))) ;) (if_statement "if ((puVar10 != (undefined4 *)0x0) &&\n       (iVar5 = *(int *)(param_1 + 0x20), iVar5 < *(int *)(param_1 + 0x24))) {\n      *(undefined4 **)(*(int *)(param_1 + 0x1c) + iVar5 * 4) = puVar10;\n      *(int *)(param_1 + 0x20) = iVar5 + 1;\n      return puVar10;\n    }" if (parenthesized_expression "((puVar10 != (undefined4 *)0x0) &&\n       (iVar5 = *(int *)(param_1 + 0x20), iVar5 < *(int *)(param_1 + 0x24)))" ( (binary_expression "(puVar10 != (undefined4 *)0x0) &&\n       (iVar5 = *(int *)(param_1 + 0x20), iVar5 < *(int *)(param_1 + 0x24))" (parenthesized_expression "(puVar10 != (undefined4 *)0x0)" ( (binary_expression "puVar10 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(iVar5 = *(int *)(param_1 + 0x20), iVar5 < *(int *)(param_1 + 0x24))" ( (comma_expression "iVar5 = *(int *)(param_1 + 0x20), iVar5 < *(int *)(param_1 + 0x24)" (assignment_expression "iVar5 = *(int *)(param_1 + 0x20)" identifier = (pointer_expression "*(int *)(param_1 + 0x20)" * (cast_expression "(int *)(param_1 + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) ))))) , (binary_expression "iVar5 < *(int *)(param_1 + 0x24)" identifier < (pointer_expression "*(int *)(param_1 + 0x24)" * (cast_expression "(int *)(param_1 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x24)" ( (binary_expression "param_1 + 0x24" identifier + number_literal) )))))) ))) )) (compound_statement "{\n      *(undefined4 **)(*(int *)(param_1 + 0x1c) + iVar5 * 4) = puVar10;\n      *(int *)(param_1 + 0x20) = iVar5 + 1;\n      return puVar10;\n    }" { (expression_statement "*(undefined4 **)(*(int *)(param_1 + 0x1c) + iVar5 * 4) = puVar10;" (assignment_expression "*(undefined4 **)(*(int *)(param_1 + 0x1c) + iVar5 * 4) = puVar10" (pointer_expression "*(undefined4 **)(*(int *)(param_1 + 0x1c) + iVar5 * 4)" * (cast_expression "(undefined4 **)(*(int *)(param_1 + 0x1c) + iVar5 * 4)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(param_1 + 0x1c) + iVar5 * 4)" ( (binary_expression "*(int *)(param_1 + 0x1c) + iVar5 * 4" (pointer_expression "*(int *)(param_1 + 0x1c)" * (cast_expression "(int *)(param_1 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) )))) + (binary_expression "iVar5 * 4" identifier * number_literal)) )))) = identifier) ;) (expression_statement "*(int *)(param_1 + 0x20) = iVar5 + 1;" (assignment_expression "*(int *)(param_1 + 0x20) = iVar5 + 1" (pointer_expression "*(int *)(param_1 + 0x20)" * (cast_expression "(int *)(param_1 + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) )))) = (binary_expression "iVar5 + 1" identifier + number_literal)) ;) (return_statement "return puVar10;" return identifier ;) })) })) (return_statement "return (undefined4 *)0x0;" return (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ;) }))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.si replaced with injection: get_pc_thunk_si */\n\nundefined4 * __regparm3 d_substitution(int param_1,uint param_2)\n\n{\n  char *pcVar1;\n  int iVar2;\n  undefined1 *puVar3;\n  uint uVar4;\n  char cVar5;\n  int iVar6;\n  int iVar7;\n  char cVar8;\n  uint uVar9;\n  undefined4 uVar10;\n  undefined4 *puVar11;\n  bool bVar12;\n  \n  pcVar1 = *(char **)(param_1 + 0xc);\n  if (*pcVar1 == 'S') {\n    *(char **)(param_1 + 0xc) = pcVar1 + 1;\n    cVar5 = pcVar1[1];\n    if (cVar5 != '\0') {\n      *(char **)(param_1 + 0xc) = pcVar1 + 2;\n      cVar5 = pcVar1[1];\n      iVar6 = (int)cVar5;\n      if (((byte)(cVar5 - 0x30U) < 10) || (cVar5 == '_')) {\n        uVar9 = 0;\n        if (cVar5 == '_') {\nLAB_00286490:\n          if (*(uint *)(param_1 + 0x20) <= uVar9) {\n            return (undefined4 *)0x0;\n          }\n          return *(undefined4 **)(*(int *)(param_1 + 0x1c) + uVar9 * 4);\n        }\nLAB_002864c0:\n        uVar9 = 0;\n        if (9 < (byte)(cVar5 - 0x30U)) goto LAB_002864fd;\n        do {\n          uVar4 = uVar9;\n          uVar9 = iVar6 + -0x30 + uVar9 * 0x24;\n          while( true ) {\n            if (uVar9 < uVar4) {\n              return (undefined4 *)0x0;\n            }\n            pcVar1 = *(char **)(param_1 + 0xc);\n            cVar5 = *pcVar1;\n            if (cVar5 != '\0') {\n              *(char **)(param_1 + 0xc) = pcVar1 + 1;\n              cVar5 = *pcVar1;\n              if (cVar5 == '_') {\n                uVar9 = uVar9 + 1;\n                goto LAB_00286490;\n              }\n            }\n            iVar6 = (int)cVar5;\n            if ((byte)(cVar5 - 0x30U) < 10) break;\nLAB_002864fd:\n            if (0x19 < (byte)((char)iVar6 + 0xbfU)) {\n              return (undefined4 *)0x0;\n            }\n            uVar4 = uVar9;\n            uVar9 = iVar6 + -0x37 + uVar9 * 0x24;\n          }\n        } while( true );\n      }\n      if ((byte)(cVar5 + 0xbfU) < 0x1a) goto LAB_002864c0;\n    }\n    bVar12 = (*(uint *)(param_1 + 8) & 8) != 0;\n    if ((!bVar12) && ((param_2 & 1) != 0)) {\n      bVar12 = (byte)(**(char **)(param_1 + 0xc) + 0xbdU) < 2 || bVar12;\n    }\n    puVar3 = standard_subs;\n    cVar8 = 't';\n    while (cVar5 != cVar8) {\n      puVar3 = puVar3 + 0x1c;\n      if (puVar3 == "") {\n        return (undefined4 *)0x0;\n      }\n      cVar8 = *puVar3;\n    }\n    iVar6 = *(int *)(puVar3 + 0x14);\n    iVar7 = *(int *)(param_1 + 0x14);\n    iVar2 = *(int *)(param_1 + 0x18);\n    if (iVar6 != 0) {\n      uVar10 = *(undefined4 *)(puVar3 + 0x18);\n      if (iVar7 < iVar2) {\n        puVar11 = (undefined4 *)(iVar7 * 0x10 + *(int *)(param_1 + 0x10));\n        puVar11[1] = 0;\n        *(int *)(param_1 + 0x14) = iVar7 + 1;\n        *puVar11 = 0x18;\n        puVar11[2] = iVar6;\n        puVar11[3] = uVar10;\n        iVar7 = iVar7 + 1;\n      }\n      else {\n        puVar11 = (undefined4 *)0x0;\n      }\n      *(undefined4 **)(param_1 + 0x28) = puVar11;\n    }\n    if (bVar12) {\n      uVar10 = *(undefined4 *)(puVar3 + 0xc);\n      iVar6 = *(int *)(puVar3 + 0x10);\n    }\n    else {\n      uVar10 = *(undefined4 *)(puVar3 + 4);\n      iVar6 = *(int *)(puVar3 + 8);\n    }\n    *(int *)(param_1 + 0x2c) = *(int *)(param_1 + 0x2c) + iVar6;\n    if (iVar7 < iVar2) {\n      puVar11 = (undefined4 *)(iVar7 * 0x10 + *(int *)(param_1 + 0x10));\n      puVar11[1] = 0;\n      *(int *)(param_1 + 0x14) = iVar7 + 1;\n      *puVar11 = 0x18;\n      puVar11[2] = uVar10;\n      puVar11[3] = iVar6;\n    }\n    else {\n      puVar11 = (undefined4 *)0x0;\n    }\n    if (**(char **)(param_1 + 0xc) != 'B') {\n      return puVar11;\n    }\n    puVar11 = (undefined4 *)d_abi_tags();\n    if ((puVar11 != (undefined4 *)0x0) &&\n       (iVar6 = *(int *)(param_1 + 0x20), iVar6 < *(int *)(param_1 + 0x24))) {\n      *(undefined4 **)(*(int *)(param_1 + 0x1c) + iVar6 * 4) = puVar11;\n      *(int *)(param_1 + 0x20) = iVar6 + 1;\n      return puVar11;\n    }\n  }\n  return (undefined4 *)0x0;\n}\n\n" comment (ERROR "undefined4 * __regparm3 d_substitution(int param_1,uint param_2)" (binary_expression "undefined4 * __regparm3 d_substitution(int param_1,uint param_2)" identifier * (ERROR "__regparm3" identifier) (call_expression "d_substitution(int param_1,uint param_2)" identifier (argument_list "(int param_1,uint param_2)" ( (ERROR "int" identifier) identifier , (ERROR "uint" identifier) identifier ))))) (compound_statement "{\n  char *pcVar1;\n  int iVar2;\n  undefined1 *puVar3;\n  uint uVar4;\n  char cVar5;\n  int iVar6;\n  int iVar7;\n  char cVar8;\n  uint uVar9;\n  undefined4 uVar10;\n  undefined4 *puVar11;\n  bool bVar12;\n  \n  pcVar1 = *(char **)(param_1 + 0xc);\n  if (*pcVar1 == 'S') {\n    *(char **)(param_1 + 0xc) = pcVar1 + 1;\n    cVar5 = pcVar1[1];\n    if (cVar5 != '\0') {\n      *(char **)(param_1 + 0xc) = pcVar1 + 2;\n      cVar5 = pcVar1[1];\n      iVar6 = (int)cVar5;\n      if (((byte)(cVar5 - 0x30U) < 10) || (cVar5 == '_')) {\n        uVar9 = 0;\n        if (cVar5 == '_') {\nLAB_00286490:\n          if (*(uint *)(param_1 + 0x20) <= uVar9) {\n            return (undefined4 *)0x0;\n          }\n          return *(undefined4 **)(*(int *)(param_1 + 0x1c) + uVar9 * 4);\n        }\nLAB_002864c0:\n        uVar9 = 0;\n        if (9 < (byte)(cVar5 - 0x30U)) goto LAB_002864fd;\n        do {\n          uVar4 = uVar9;\n          uVar9 = iVar6 + -0x30 + uVar9 * 0x24;\n          while( true ) {\n            if (uVar9 < uVar4) {\n              return (undefined4 *)0x0;\n            }\n            pcVar1 = *(char **)(param_1 + 0xc);\n            cVar5 = *pcVar1;\n            if (cVar5 != '\0') {\n              *(char **)(param_1 + 0xc) = pcVar1 + 1;\n              cVar5 = *pcVar1;\n              if (cVar5 == '_') {\n                uVar9 = uVar9 + 1;\n                goto LAB_00286490;\n              }\n            }\n            iVar6 = (int)cVar5;\n            if ((byte)(cVar5 - 0x30U) < 10) break;\nLAB_002864fd:\n            if (0x19 < (byte)((char)iVar6 + 0xbfU)) {\n              return (undefined4 *)0x0;\n            }\n            uVar4 = uVar9;\n            uVar9 = iVar6 + -0x37 + uVar9 * 0x24;\n          }\n        } while( true );\n      }\n      if ((byte)(cVar5 + 0xbfU) < 0x1a) goto LAB_002864c0;\n    }\n    bVar12 = (*(uint *)(param_1 + 8) & 8) != 0;\n    if ((!bVar12) && ((param_2 & 1) != 0)) {\n      bVar12 = (byte)(**(char **)(param_1 + 0xc) + 0xbdU) < 2 || bVar12;\n    }\n    puVar3 = standard_subs;\n    cVar8 = 't';\n    while (cVar5 != cVar8) {\n      puVar3 = puVar3 + 0x1c;\n      if (puVar3 == "") {\n        return (undefined4 *)0x0;\n      }\n      cVar8 = *puVar3;\n    }\n    iVar6 = *(int *)(puVar3 + 0x14);\n    iVar7 = *(int *)(param_1 + 0x14);\n    iVar2 = *(int *)(param_1 + 0x18);\n    if (iVar6 != 0) {\n      uVar10 = *(undefined4 *)(puVar3 + 0x18);\n      if (iVar7 < iVar2) {\n        puVar11 = (undefined4 *)(iVar7 * 0x10 + *(int *)(param_1 + 0x10));\n        puVar11[1] = 0;\n        *(int *)(param_1 + 0x14) = iVar7 + 1;\n        *puVar11 = 0x18;\n        puVar11[2] = iVar6;\n        puVar11[3] = uVar10;\n        iVar7 = iVar7 + 1;\n      }\n      else {\n        puVar11 = (undefined4 *)0x0;\n      }\n      *(undefined4 **)(param_1 + 0x28) = puVar11;\n    }\n    if (bVar12) {\n      uVar10 = *(undefined4 *)(puVar3 + 0xc);\n      iVar6 = *(int *)(puVar3 + 0x10);\n    }\n    else {\n      uVar10 = *(undefined4 *)(puVar3 + 4);\n      iVar6 = *(int *)(puVar3 + 8);\n    }\n    *(int *)(param_1 + 0x2c) = *(int *)(param_1 + 0x2c) + iVar6;\n    if (iVar7 < iVar2) {\n      puVar11 = (undefined4 *)(iVar7 * 0x10 + *(int *)(param_1 + 0x10));\n      puVar11[1] = 0;\n      *(int *)(param_1 + 0x14) = iVar7 + 1;\n      *puVar11 = 0x18;\n      puVar11[2] = uVar10;\n      puVar11[3] = iVar6;\n    }\n    else {\n      puVar11 = (undefined4 *)0x0;\n    }\n    if (**(char **)(param_1 + 0xc) != 'B') {\n      return puVar11;\n    }\n    puVar11 = (undefined4 *)d_abi_tags();\n    if ((puVar11 != (undefined4 *)0x0) &&\n       (iVar6 = *(int *)(param_1 + 0x20), iVar6 < *(int *)(param_1 + 0x24))) {\n      *(undefined4 **)(*(int *)(param_1 + 0x1c) + iVar6 * 4) = puVar11;\n      *(int *)(param_1 + 0x20) = iVar6 + 1;\n      return puVar11;\n    }\n  }\n  return (undefined4 *)0x0;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined1 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "char cVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "char cVar8;" primitive_type identifier ;) (declaration "uint uVar9;" type_identifier identifier ;) (declaration "undefined4 uVar10;" type_identifier identifier ;) (declaration "undefined4 *puVar11;" type_identifier (pointer_declarator "*puVar11" * identifier) ;) (declaration "bool bVar12;" primitive_type identifier ;) (expression_statement "pcVar1 = *(char **)(param_1 + 0xc);" (assignment_expression "pcVar1 = *(char **)(param_1 + 0xc)" identifier = (pointer_expression "*(char **)(param_1 + 0xc)" * (cast_expression "(char **)(param_1 + 0xc)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) ))))) ;) (if_statement "if (*pcVar1 == 'S') {\n    *(char **)(param_1 + 0xc) = pcVar1 + 1;\n    cVar5 = pcVar1[1];\n    if (cVar5 != '\0') {\n      *(char **)(param_1 + 0xc) = pcVar1 + 2;\n      cVar5 = pcVar1[1];\n      iVar6 = (int)cVar5;\n      if (((byte)(cVar5 - 0x30U) < 10) || (cVar5 == '_')) {\n        uVar9 = 0;\n        if (cVar5 == '_') {\nLAB_00286490:\n          if (*(uint *)(param_1 + 0x20) <= uVar9) {\n            return (undefined4 *)0x0;\n          }\n          return *(undefined4 **)(*(int *)(param_1 + 0x1c) + uVar9 * 4);\n        }\nLAB_002864c0:\n        uVar9 = 0;\n        if (9 < (byte)(cVar5 - 0x30U)) goto LAB_002864fd;\n        do {\n          uVar4 = uVar9;\n          uVar9 = iVar6 + -0x30 + uVar9 * 0x24;\n          while( true ) {\n            if (uVar9 < uVar4) {\n              return (undefined4 *)0x0;\n            }\n            pcVar1 = *(char **)(param_1 + 0xc);\n            cVar5 = *pcVar1;\n            if (cVar5 != '\0') {\n              *(char **)(param_1 + 0xc) = pcVar1 + 1;\n              cVar5 = *pcVar1;\n              if (cVar5 == '_') {\n                uVar9 = uVar9 + 1;\n                goto LAB_00286490;\n              }\n            }\n            iVar6 = (int)cVar5;\n            if ((byte)(cVar5 - 0x30U) < 10) break;\nLAB_002864fd:\n            if (0x19 < (byte)((char)iVar6 + 0xbfU)) {\n              return (undefined4 *)0x0;\n            }\n            uVar4 = uVar9;\n            uVar9 = iVar6 + -0x37 + uVar9 * 0x24;\n          }\n        } while( true );\n      }\n      if ((byte)(cVar5 + 0xbfU) < 0x1a) goto LAB_002864c0;\n    }\n    bVar12 = (*(uint *)(param_1 + 8) & 8) != 0;\n    if ((!bVar12) && ((param_2 & 1) != 0)) {\n      bVar12 = (byte)(**(char **)(param_1 + 0xc) + 0xbdU) < 2 || bVar12;\n    }\n    puVar3 = standard_subs;\n    cVar8 = 't';\n    while (cVar5 != cVar8) {\n      puVar3 = puVar3 + 0x1c;\n      if (puVar3 == "") {\n        return (undefined4 *)0x0;\n      }\n      cVar8 = *puVar3;\n    }\n    iVar6 = *(int *)(puVar3 + 0x14);\n    iVar7 = *(int *)(param_1 + 0x14);\n    iVar2 = *(int *)(param_1 + 0x18);\n    if (iVar6 != 0) {\n      uVar10 = *(undefined4 *)(puVar3 + 0x18);\n      if (iVar7 < iVar2) {\n        puVar11 = (undefined4 *)(iVar7 * 0x10 + *(int *)(param_1 + 0x10));\n        puVar11[1] = 0;\n        *(int *)(param_1 + 0x14) = iVar7 + 1;\n        *puVar11 = 0x18;\n        puVar11[2] = iVar6;\n        puVar11[3] = uVar10;\n        iVar7 = iVar7 + 1;\n      }\n      else {\n        puVar11 = (undefined4 *)0x0;\n      }\n      *(undefined4 **)(param_1 + 0x28) = puVar11;\n    }\n    if (bVar12) {\n      uVar10 = *(undefined4 *)(puVar3 + 0xc);\n      iVar6 = *(int *)(puVar3 + 0x10);\n    }\n    else {\n      uVar10 = *(undefined4 *)(puVar3 + 4);\n      iVar6 = *(int *)(puVar3 + 8);\n    }\n    *(int *)(param_1 + 0x2c) = *(int *)(param_1 + 0x2c) + iVar6;\n    if (iVar7 < iVar2) {\n      puVar11 = (undefined4 *)(iVar7 * 0x10 + *(int *)(param_1 + 0x10));\n      puVar11[1] = 0;\n      *(int *)(param_1 + 0x14) = iVar7 + 1;\n      *puVar11 = 0x18;\n      puVar11[2] = uVar10;\n      puVar11[3] = iVar6;\n    }\n    else {\n      puVar11 = (undefined4 *)0x0;\n    }\n    if (**(char **)(param_1 + 0xc) != 'B') {\n      return puVar11;\n    }\n    puVar11 = (undefined4 *)d_abi_tags();\n    if ((puVar11 != (undefined4 *)0x0) &&\n       (iVar6 = *(int *)(param_1 + 0x20), iVar6 < *(int *)(param_1 + 0x24))) {\n      *(undefined4 **)(*(int *)(param_1 + 0x1c) + iVar6 * 4) = puVar11;\n      *(int *)(param_1 + 0x20) = iVar6 + 1;\n      return puVar11;\n    }\n  }" if (parenthesized_expression "(*pcVar1 == 'S')" ( (binary_expression "*pcVar1 == 'S'" (pointer_expression "*pcVar1" * identifier) == (char_literal "'S'" ' character ')) )) (compound_statement "{\n    *(char **)(param_1 + 0xc) = pcVar1 + 1;\n    cVar5 = pcVar1[1];\n    if (cVar5 != '\0') {\n      *(char **)(param_1 + 0xc) = pcVar1 + 2;\n      cVar5 = pcVar1[1];\n      iVar6 = (int)cVar5;\n      if (((byte)(cVar5 - 0x30U) < 10) || (cVar5 == '_')) {\n        uVar9 = 0;\n        if (cVar5 == '_') {\nLAB_00286490:\n          if (*(uint *)(param_1 + 0x20) <= uVar9) {\n            return (undefined4 *)0x0;\n          }\n          return *(undefined4 **)(*(int *)(param_1 + 0x1c) + uVar9 * 4);\n        }\nLAB_002864c0:\n        uVar9 = 0;\n        if (9 < (byte)(cVar5 - 0x30U)) goto LAB_002864fd;\n        do {\n          uVar4 = uVar9;\n          uVar9 = iVar6 + -0x30 + uVar9 * 0x24;\n          while( true ) {\n            if (uVar9 < uVar4) {\n              return (undefined4 *)0x0;\n            }\n            pcVar1 = *(char **)(param_1 + 0xc);\n            cVar5 = *pcVar1;\n            if (cVar5 != '\0') {\n              *(char **)(param_1 + 0xc) = pcVar1 + 1;\n              cVar5 = *pcVar1;\n              if (cVar5 == '_') {\n                uVar9 = uVar9 + 1;\n                goto LAB_00286490;\n              }\n            }\n            iVar6 = (int)cVar5;\n            if ((byte)(cVar5 - 0x30U) < 10) break;\nLAB_002864fd:\n            if (0x19 < (byte)((char)iVar6 + 0xbfU)) {\n              return (undefined4 *)0x0;\n            }\n            uVar4 = uVar9;\n            uVar9 = iVar6 + -0x37 + uVar9 * 0x24;\n          }\n        } while( true );\n      }\n      if ((byte)(cVar5 + 0xbfU) < 0x1a) goto LAB_002864c0;\n    }\n    bVar12 = (*(uint *)(param_1 + 8) & 8) != 0;\n    if ((!bVar12) && ((param_2 & 1) != 0)) {\n      bVar12 = (byte)(**(char **)(param_1 + 0xc) + 0xbdU) < 2 || bVar12;\n    }\n    puVar3 = standard_subs;\n    cVar8 = 't';\n    while (cVar5 != cVar8) {\n      puVar3 = puVar3 + 0x1c;\n      if (puVar3 == "") {\n        return (undefined4 *)0x0;\n      }\n      cVar8 = *puVar3;\n    }\n    iVar6 = *(int *)(puVar3 + 0x14);\n    iVar7 = *(int *)(param_1 + 0x14);\n    iVar2 = *(int *)(param_1 + 0x18);\n    if (iVar6 != 0) {\n      uVar10 = *(undefined4 *)(puVar3 + 0x18);\n      if (iVar7 < iVar2) {\n        puVar11 = (undefined4 *)(iVar7 * 0x10 + *(int *)(param_1 + 0x10));\n        puVar11[1] = 0;\n        *(int *)(param_1 + 0x14) = iVar7 + 1;\n        *puVar11 = 0x18;\n        puVar11[2] = iVar6;\n        puVar11[3] = uVar10;\n        iVar7 = iVar7 + 1;\n      }\n      else {\n        puVar11 = (undefined4 *)0x0;\n      }\n      *(undefined4 **)(param_1 + 0x28) = puVar11;\n    }\n    if (bVar12) {\n      uVar10 = *(undefined4 *)(puVar3 + 0xc);\n      iVar6 = *(int *)(puVar3 + 0x10);\n    }\n    else {\n      uVar10 = *(undefined4 *)(puVar3 + 4);\n      iVar6 = *(int *)(puVar3 + 8);\n    }\n    *(int *)(param_1 + 0x2c) = *(int *)(param_1 + 0x2c) + iVar6;\n    if (iVar7 < iVar2) {\n      puVar11 = (undefined4 *)(iVar7 * 0x10 + *(int *)(param_1 + 0x10));\n      puVar11[1] = 0;\n      *(int *)(param_1 + 0x14) = iVar7 + 1;\n      *puVar11 = 0x18;\n      puVar11[2] = uVar10;\n      puVar11[3] = iVar6;\n    }\n    else {\n      puVar11 = (undefined4 *)0x0;\n    }\n    if (**(char **)(param_1 + 0xc) != 'B') {\n      return puVar11;\n    }\n    puVar11 = (undefined4 *)d_abi_tags();\n    if ((puVar11 != (undefined4 *)0x0) &&\n       (iVar6 = *(int *)(param_1 + 0x20), iVar6 < *(int *)(param_1 + 0x24))) {\n      *(undefined4 **)(*(int *)(param_1 + 0x1c) + iVar6 * 4) = puVar11;\n      *(int *)(param_1 + 0x20) = iVar6 + 1;\n      return puVar11;\n    }\n  }" { (expression_statement "*(char **)(param_1 + 0xc) = pcVar1 + 1;" (assignment_expression "*(char **)(param_1 + 0xc) = pcVar1 + 1" (pointer_expression "*(char **)(param_1 + 0xc)" * (cast_expression "(char **)(param_1 + 0xc)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) = (binary_expression "pcVar1 + 1" identifier + number_literal)) ;) (expression_statement "cVar5 = pcVar1[1];" (assignment_expression "cVar5 = pcVar1[1]" identifier = (subscript_expression "pcVar1[1]" identifier [ number_literal ])) ;) (if_statement "if (cVar5 != '\0') {\n      *(char **)(param_1 + 0xc) = pcVar1 + 2;\n      cVar5 = pcVar1[1];\n      iVar6 = (int)cVar5;\n      if (((byte)(cVar5 - 0x30U) < 10) || (cVar5 == '_')) {\n        uVar9 = 0;\n        if (cVar5 == '_') {\nLAB_00286490:\n          if (*(uint *)(param_1 + 0x20) <= uVar9) {\n            return (undefined4 *)0x0;\n          }\n          return *(undefined4 **)(*(int *)(param_1 + 0x1c) + uVar9 * 4);\n        }\nLAB_002864c0:\n        uVar9 = 0;\n        if (9 < (byte)(cVar5 - 0x30U)) goto LAB_002864fd;\n        do {\n          uVar4 = uVar9;\n          uVar9 = iVar6 + -0x30 + uVar9 * 0x24;\n          while( true ) {\n            if (uVar9 < uVar4) {\n              return (undefined4 *)0x0;\n            }\n            pcVar1 = *(char **)(param_1 + 0xc);\n            cVar5 = *pcVar1;\n            if (cVar5 != '\0') {\n              *(char **)(param_1 + 0xc) = pcVar1 + 1;\n              cVar5 = *pcVar1;\n              if (cVar5 == '_') {\n                uVar9 = uVar9 + 1;\n                goto LAB_00286490;\n              }\n            }\n            iVar6 = (int)cVar5;\n            if ((byte)(cVar5 - 0x30U) < 10) break;\nLAB_002864fd:\n            if (0x19 < (byte)((char)iVar6 + 0xbfU)) {\n              return (undefined4 *)0x0;\n            }\n            uVar4 = uVar9;\n            uVar9 = iVar6 + -0x37 + uVar9 * 0x24;\n          }\n        } while( true );\n      }\n      if ((byte)(cVar5 + 0xbfU) < 0x1a) goto LAB_002864c0;\n    }" if (parenthesized_expression "(cVar5 != '\0')" ( (binary_expression "cVar5 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      *(char **)(param_1 + 0xc) = pcVar1 + 2;\n      cVar5 = pcVar1[1];\n      iVar6 = (int)cVar5;\n      if (((byte)(cVar5 - 0x30U) < 10) || (cVar5 == '_')) {\n        uVar9 = 0;\n        if (cVar5 == '_') {\nLAB_00286490:\n          if (*(uint *)(param_1 + 0x20) <= uVar9) {\n            return (undefined4 *)0x0;\n          }\n          return *(undefined4 **)(*(int *)(param_1 + 0x1c) + uVar9 * 4);\n        }\nLAB_002864c0:\n        uVar9 = 0;\n        if (9 < (byte)(cVar5 - 0x30U)) goto LAB_002864fd;\n        do {\n          uVar4 = uVar9;\n          uVar9 = iVar6 + -0x30 + uVar9 * 0x24;\n          while( true ) {\n            if (uVar9 < uVar4) {\n              return (undefined4 *)0x0;\n            }\n            pcVar1 = *(char **)(param_1 + 0xc);\n            cVar5 = *pcVar1;\n            if (cVar5 != '\0') {\n              *(char **)(param_1 + 0xc) = pcVar1 + 1;\n              cVar5 = *pcVar1;\n              if (cVar5 == '_') {\n                uVar9 = uVar9 + 1;\n                goto LAB_00286490;\n              }\n            }\n            iVar6 = (int)cVar5;\n            if ((byte)(cVar5 - 0x30U) < 10) break;\nLAB_002864fd:\n            if (0x19 < (byte)((char)iVar6 + 0xbfU)) {\n              return (undefined4 *)0x0;\n            }\n            uVar4 = uVar9;\n            uVar9 = iVar6 + -0x37 + uVar9 * 0x24;\n          }\n        } while( true );\n      }\n      if ((byte)(cVar5 + 0xbfU) < 0x1a) goto LAB_002864c0;\n    }" { (expression_statement "*(char **)(param_1 + 0xc) = pcVar1 + 2;" (assignment_expression "*(char **)(param_1 + 0xc) = pcVar1 + 2" (pointer_expression "*(char **)(param_1 + 0xc)" * (cast_expression "(char **)(param_1 + 0xc)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) = (binary_expression "pcVar1 + 2" identifier + number_literal)) ;) (expression_statement "cVar5 = pcVar1[1];" (assignment_expression "cVar5 = pcVar1[1]" identifier = (subscript_expression "pcVar1[1]" identifier [ number_literal ])) ;) (expression_statement "iVar6 = (int)cVar5;" (assignment_expression "iVar6 = (int)cVar5" identifier = (cast_expression "(int)cVar5" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (if_statement "if (((byte)(cVar5 - 0x30U) < 10) || (cVar5 == '_')) {\n        uVar9 = 0;\n        if (cVar5 == '_') {\nLAB_00286490:\n          if (*(uint *)(param_1 + 0x20) <= uVar9) {\n            return (undefined4 *)0x0;\n          }\n          return *(undefined4 **)(*(int *)(param_1 + 0x1c) + uVar9 * 4);\n        }\nLAB_002864c0:\n        uVar9 = 0;\n        if (9 < (byte)(cVar5 - 0x30U)) goto LAB_002864fd;\n        do {\n          uVar4 = uVar9;\n          uVar9 = iVar6 + -0x30 + uVar9 * 0x24;\n          while( true ) {\n            if (uVar9 < uVar4) {\n              return (undefined4 *)0x0;\n            }\n            pcVar1 = *(char **)(param_1 + 0xc);\n            cVar5 = *pcVar1;\n            if (cVar5 != '\0') {\n              *(char **)(param_1 + 0xc) = pcVar1 + 1;\n              cVar5 = *pcVar1;\n              if (cVar5 == '_') {\n                uVar9 = uVar9 + 1;\n                goto LAB_00286490;\n              }\n            }\n            iVar6 = (int)cVar5;\n            if ((byte)(cVar5 - 0x30U) < 10) break;\nLAB_002864fd:\n            if (0x19 < (byte)((char)iVar6 + 0xbfU)) {\n              return (undefined4 *)0x0;\n            }\n            uVar4 = uVar9;\n            uVar9 = iVar6 + -0x37 + uVar9 * 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        uVar9 = 0;\n        if (cVar5 == '_') {\nLAB_00286490:\n          if (*(uint *)(param_1 + 0x20) <= uVar9) {\n            return (undefined4 *)0x0;\n          }\n          return *(undefined4 **)(*(int *)(param_1 + 0x1c) + uVar9 * 4);\n        }\nLAB_002864c0:\n        uVar9 = 0;\n        if (9 < (byte)(cVar5 - 0x30U)) goto LAB_002864fd;\n        do {\n          uVar4 = uVar9;\n          uVar9 = iVar6 + -0x30 + uVar9 * 0x24;\n          while( true ) {\n            if (uVar9 < uVar4) {\n              return (undefined4 *)0x0;\n            }\n            pcVar1 = *(char **)(param_1 + 0xc);\n            cVar5 = *pcVar1;\n            if (cVar5 != '\0') {\n              *(char **)(param_1 + 0xc) = pcVar1 + 1;\n              cVar5 = *pcVar1;\n              if (cVar5 == '_') {\n                uVar9 = uVar9 + 1;\n                goto LAB_00286490;\n              }\n            }\n            iVar6 = (int)cVar5;\n            if ((byte)(cVar5 - 0x30U) < 10) break;\nLAB_002864fd:\n            if (0x19 < (byte)((char)iVar6 + 0xbfU)) {\n              return (undefined4 *)0x0;\n            }\n            uVar4 = uVar9;\n            uVar9 = iVar6 + -0x37 + uVar9 * 0x24;\n          }\n        } while( true );\n      }" { (expression_statement "uVar9 = 0;" (assignment_expression "uVar9 = 0" identifier = number_literal) ;) (if_statement "if (cVar5 == '_') {\nLAB_00286490:\n          if (*(uint *)(param_1 + 0x20) <= uVar9) {\n            return (undefined4 *)0x0;\n          }\n          return *(undefined4 **)(*(int *)(param_1 + 0x1c) + uVar9 * 4);\n        }" if (parenthesized_expression "(cVar5 == '_')" ( (binary_expression "cVar5 == '_'" identifier == (char_literal "'_'" ' character ')) )) (compound_statement "{\nLAB_00286490:\n          if (*(uint *)(param_1 + 0x20) <= uVar9) {\n            return (undefined4 *)0x0;\n          }\n          return *(undefined4 **)(*(int *)(param_1 + 0x1c) + uVar9 * 4);\n        }" { (labeled_statement "LAB_00286490:\n          if (*(uint *)(param_1 + 0x20) <= uVar9) {\n            return (undefined4 *)0x0;\n          }" statement_identifier : (if_statement "if (*(uint *)(param_1 + 0x20) <= uVar9) {\n            return (undefined4 *)0x0;\n          }" if (parenthesized_expression "(*(uint *)(param_1 + 0x20) <= uVar9)" ( (binary_expression "*(uint *)(param_1 + 0x20) <= uVar9" (pointer_expression "*(uint *)(param_1 + 0x20)" * (cast_expression "(uint *)(param_1 + 0x20)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) )))) <= 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 **)(*(int *)(param_1 + 0x1c) + uVar9 * 4);" return (pointer_expression "*(undefined4 **)(*(int *)(param_1 + 0x1c) + uVar9 * 4)" * (cast_expression "(undefined4 **)(*(int *)(param_1 + 0x1c) + uVar9 * 4)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(param_1 + 0x1c) + uVar9 * 4)" ( (binary_expression "*(int *)(param_1 + 0x1c) + uVar9 * 4" (pointer_expression "*(int *)(param_1 + 0x1c)" * (cast_expression "(int *)(param_1 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) )))) + (binary_expression "uVar9 * 4" identifier * number_literal)) )))) ;) })) (labeled_statement "LAB_002864c0:\n        uVar9 = 0;" statement_identifier : (expression_statement "uVar9 = 0;" (assignment_expression "uVar9 = 0" identifier = number_literal) ;)) (if_statement "if (9 < (byte)(cVar5 - 0x30U)) goto LAB_002864fd;" 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_002864fd;" goto statement_identifier ;)) (do_statement "do {\n          uVar4 = uVar9;\n          uVar9 = iVar6 + -0x30 + uVar9 * 0x24;\n          while( true ) {\n            if (uVar9 < uVar4) {\n              return (undefined4 *)0x0;\n            }\n            pcVar1 = *(char **)(param_1 + 0xc);\n            cVar5 = *pcVar1;\n            if (cVar5 != '\0') {\n              *(char **)(param_1 + 0xc) = pcVar1 + 1;\n              cVar5 = *pcVar1;\n              if (cVar5 == '_') {\n                uVar9 = uVar9 + 1;\n                goto LAB_00286490;\n              }\n            }\n            iVar6 = (int)cVar5;\n            if ((byte)(cVar5 - 0x30U) < 10) break;\nLAB_002864fd:\n            if (0x19 < (byte)((char)iVar6 + 0xbfU)) {\n              return (undefined4 *)0x0;\n            }\n            uVar4 = uVar9;\n            uVar9 = iVar6 + -0x37 + uVar9 * 0x24;\n          }\n        } while( true );" do (compound_statement "{\n          uVar4 = uVar9;\n          uVar9 = iVar6 + -0x30 + uVar9 * 0x24;\n          while( true ) {\n            if (uVar9 < uVar4) {\n              return (undefined4 *)0x0;\n            }\n            pcVar1 = *(char **)(param_1 + 0xc);\n            cVar5 = *pcVar1;\n            if (cVar5 != '\0') {\n              *(char **)(param_1 + 0xc) = pcVar1 + 1;\n              cVar5 = *pcVar1;\n              if (cVar5 == '_') {\n                uVar9 = uVar9 + 1;\n                goto LAB_00286490;\n              }\n            }\n            iVar6 = (int)cVar5;\n            if ((byte)(cVar5 - 0x30U) < 10) break;\nLAB_002864fd:\n            if (0x19 < (byte)((char)iVar6 + 0xbfU)) {\n              return (undefined4 *)0x0;\n            }\n            uVar4 = uVar9;\n            uVar9 = iVar6 + -0x37 + uVar9 * 0x24;\n          }\n        }" { (expression_statement "uVar4 = uVar9;" (assignment_expression "uVar4 = uVar9" identifier = identifier) ;) (expression_statement "uVar9 = iVar6 + -0x30 + uVar9 * 0x24;" (assignment_expression "uVar9 = iVar6 + -0x30 + uVar9 * 0x24" identifier = (binary_expression "iVar6 + -0x30 + uVar9 * 0x24" (binary_expression "iVar6 + -0x30" identifier + number_literal) + (binary_expression "uVar9 * 0x24" identifier * number_literal))) ;) (while_statement "while( true ) {\n            if (uVar9 < uVar4) {\n              return (undefined4 *)0x0;\n            }\n            pcVar1 = *(char **)(param_1 + 0xc);\n            cVar5 = *pcVar1;\n            if (cVar5 != '\0') {\n              *(char **)(param_1 + 0xc) = pcVar1 + 1;\n              cVar5 = *pcVar1;\n              if (cVar5 == '_') {\n                uVar9 = uVar9 + 1;\n                goto LAB_00286490;\n              }\n            }\n            iVar6 = (int)cVar5;\n            if ((byte)(cVar5 - 0x30U) < 10) break;\nLAB_002864fd:\n            if (0x19 < (byte)((char)iVar6 + 0xbfU)) {\n              return (undefined4 *)0x0;\n            }\n            uVar4 = uVar9;\n            uVar9 = iVar6 + -0x37 + uVar9 * 0x24;\n          }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n            if (uVar9 < uVar4) {\n              return (undefined4 *)0x0;\n            }\n            pcVar1 = *(char **)(param_1 + 0xc);\n            cVar5 = *pcVar1;\n            if (cVar5 != '\0') {\n              *(char **)(param_1 + 0xc) = pcVar1 + 1;\n              cVar5 = *pcVar1;\n              if (cVar5 == '_') {\n                uVar9 = uVar9 + 1;\n                goto LAB_00286490;\n              }\n            }\n            iVar6 = (int)cVar5;\n            if ((byte)(cVar5 - 0x30U) < 10) break;\nLAB_002864fd:\n            if (0x19 < (byte)((char)iVar6 + 0xbfU)) {\n              return (undefined4 *)0x0;\n            }\n            uVar4 = uVar9;\n            uVar9 = iVar6 + -0x37 + uVar9 * 0x24;\n          }" { (if_statement "if (uVar9 < uVar4) {\n              return (undefined4 *)0x0;\n            }" if (parenthesized_expression "(uVar9 < uVar4)" ( (binary_expression "uVar9 < uVar4" 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 "pcVar1 = *(char **)(param_1 + 0xc);" (assignment_expression "pcVar1 = *(char **)(param_1 + 0xc)" identifier = (pointer_expression "*(char **)(param_1 + 0xc)" * (cast_expression "(char **)(param_1 + 0xc)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) ))))) ;) (expression_statement "cVar5 = *pcVar1;" (assignment_expression "cVar5 = *pcVar1" identifier = (pointer_expression "*pcVar1" * identifier)) ;) (if_statement "if (cVar5 != '\0') {\n              *(char **)(param_1 + 0xc) = pcVar1 + 1;\n              cVar5 = *pcVar1;\n              if (cVar5 == '_') {\n                uVar9 = uVar9 + 1;\n                goto LAB_00286490;\n              }\n            }" if (parenthesized_expression "(cVar5 != '\0')" ( (binary_expression "cVar5 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n              *(char **)(param_1 + 0xc) = pcVar1 + 1;\n              cVar5 = *pcVar1;\n              if (cVar5 == '_') {\n                uVar9 = uVar9 + 1;\n                goto LAB_00286490;\n              }\n            }" { (expression_statement "*(char **)(param_1 + 0xc) = pcVar1 + 1;" (assignment_expression "*(char **)(param_1 + 0xc) = pcVar1 + 1" (pointer_expression "*(char **)(param_1 + 0xc)" * (cast_expression "(char **)(param_1 + 0xc)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) = (binary_expression "pcVar1 + 1" identifier + number_literal)) ;) (expression_statement "cVar5 = *pcVar1;" (assignment_expression "cVar5 = *pcVar1" identifier = (pointer_expression "*pcVar1" * identifier)) ;) (if_statement "if (cVar5 == '_') {\n                uVar9 = uVar9 + 1;\n                goto LAB_00286490;\n              }" if (parenthesized_expression "(cVar5 == '_')" ( (binary_expression "cVar5 == '_'" identifier == (char_literal "'_'" ' character ')) )) (compound_statement "{\n                uVar9 = uVar9 + 1;\n                goto LAB_00286490;\n              }" { (expression_statement "uVar9 = uVar9 + 1;" (assignment_expression "uVar9 = uVar9 + 1" identifier = (binary_expression "uVar9 + 1" identifier + number_literal)) ;) (goto_statement "goto LAB_00286490;" goto statement_identifier ;) })) })) (expression_statement "iVar6 = (int)cVar5;" (assignment_expression "iVar6 = (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_002864fd:\n            if (0x19 < (byte)((char)iVar6 + 0xbfU)) {\n              return (undefined4 *)0x0;\n            }" statement_identifier : (if_statement "if (0x19 < (byte)((char)iVar6 + 0xbfU)) {\n              return (undefined4 *)0x0;\n            }" if (parenthesized_expression "(0x19 < (byte)((char)iVar6 + 0xbfU))" ( (binary_expression "0x19 < (byte)((char)iVar6 + 0xbfU)" number_literal < (call_expression "(byte)((char)iVar6 + 0xbfU)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "((char)iVar6 + 0xbfU)" ( (binary_expression "(char)iVar6 + 0xbfU" (cast_expression "(char)iVar6" ( (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 "uVar4 = uVar9;" (assignment_expression "uVar4 = uVar9" identifier = identifier) ;) (expression_statement "uVar9 = iVar6 + -0x37 + uVar9 * 0x24;" (assignment_expression "uVar9 = iVar6 + -0x37 + uVar9 * 0x24" identifier = (binary_expression "iVar6 + -0x37 + uVar9 * 0x24" (binary_expression "iVar6 + -0x37" identifier + number_literal) + (binary_expression "uVar9 * 0x24" identifier * number_literal))) ;) })) }) while (parenthesized_expression "( true )" ( true )) ;) })) (if_statement "if ((byte)(cVar5 + 0xbfU) < 0x1a) goto LAB_002864c0;" 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_002864c0;" goto statement_identifier ;)) })) (expression_statement "bVar12 = (*(uint *)(param_1 + 8) & 8) != 0;" (assignment_expression "bVar12 = (*(uint *)(param_1 + 8) & 8) != 0" identifier = (binary_expression "(*(uint *)(param_1 + 8) & 8) != 0" (parenthesized_expression "(*(uint *)(param_1 + 8) & 8)" ( (binary_expression "*(uint *)(param_1 + 8) & 8" (pointer_expression "*(uint *)(param_1 + 8)" * (cast_expression "(uint *)(param_1 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) & number_literal) )) != number_literal)) ;) (if_statement "if ((!bVar12) && ((param_2 & 1) != 0)) {\n      bVar12 = (byte)(**(char **)(param_1 + 0xc) + 0xbdU) < 2 || bVar12;\n    }" if (parenthesized_expression "((!bVar12) && ((param_2 & 1) != 0))" ( (binary_expression "(!bVar12) && ((param_2 & 1) != 0)" (parenthesized_expression "(!bVar12)" ( (unary_expression "!bVar12" ! 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) ))) )) (compound_statement "{\n      bVar12 = (byte)(**(char **)(param_1 + 0xc) + 0xbdU) < 2 || bVar12;\n    }" { (expression_statement "bVar12 = (byte)(**(char **)(param_1 + 0xc) + 0xbdU) < 2 || bVar12;" (assignment_expression "bVar12 = (byte)(**(char **)(param_1 + 0xc) + 0xbdU) < 2 || bVar12" identifier = (binary_expression "(byte)(**(char **)(param_1 + 0xc) + 0xbdU) < 2 || bVar12" (binary_expression "(byte)(**(char **)(param_1 + 0xc) + 0xbdU) < 2" (call_expression "(byte)(**(char **)(param_1 + 0xc) + 0xbdU)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(**(char **)(param_1 + 0xc) + 0xbdU)" ( (binary_expression "**(char **)(param_1 + 0xc) + 0xbdU" (pointer_expression "**(char **)(param_1 + 0xc)" * (pointer_expression "*(char **)(param_1 + 0xc)" * (cast_expression "(char **)(param_1 + 0xc)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) ))))) + number_literal) ))) < number_literal) || identifier)) ;) })) (expression_statement "puVar3 = standard_subs;" (assignment_expression "puVar3 = standard_subs" identifier = identifier) ;) (expression_statement "cVar8 = 't';" (assignment_expression "cVar8 = 't'" identifier = (char_literal "'t'" ' character ')) ;) (while_statement "while (cVar5 != cVar8) {\n      puVar3 = puVar3 + 0x1c;\n      if (puVar3 == "") {\n        return (undefined4 *)0x0;\n      }\n      cVar8 = *puVar3;\n    }" while (parenthesized_expression "(cVar5 != cVar8)" ( (binary_expression "cVar5 != cVar8" identifier != identifier) )) (compound_statement "{\n      puVar3 = puVar3 + 0x1c;\n      if (puVar3 == "") {\n        return (undefined4 *)0x0;\n      }\n      cVar8 = *puVar3;\n    }" { (expression_statement "puVar3 = puVar3 + 0x1c;" (assignment_expression "puVar3 = puVar3 + 0x1c" identifier = (binary_expression "puVar3 + 0x1c" identifier + number_literal)) ;) (if_statement "if (puVar3 == "") {\n        return (undefined4 *)0x0;\n      }" if (parenthesized_expression "(puVar3 == "")" ( (binary_expression "puVar3 == """ identifier == (string_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 "cVar8 = *puVar3;" (assignment_expression "cVar8 = *puVar3" identifier = (pointer_expression "*puVar3" * identifier)) ;) })) (expression_statement "iVar6 = *(int *)(puVar3 + 0x14);" (assignment_expression "iVar6 = *(int *)(puVar3 + 0x14)" identifier = (pointer_expression "*(int *)(puVar3 + 0x14)" * (cast_expression "(int *)(puVar3 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar3 + 0x14)" ( (binary_expression "puVar3 + 0x14" identifier + number_literal) ))))) ;) (expression_statement "iVar7 = *(int *)(param_1 + 0x14);" (assignment_expression "iVar7 = *(int *)(param_1 + 0x14)" identifier = (pointer_expression "*(int *)(param_1 + 0x14)" * (cast_expression "(int *)(param_1 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) ))))) ;) (expression_statement "iVar2 = *(int *)(param_1 + 0x18);" (assignment_expression "iVar2 = *(int *)(param_1 + 0x18)" identifier = (pointer_expression "*(int *)(param_1 + 0x18)" * (cast_expression "(int *)(param_1 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) ))))) ;) (if_statement "if (iVar6 != 0) {\n      uVar10 = *(undefined4 *)(puVar3 + 0x18);\n      if (iVar7 < iVar2) {\n        puVar11 = (undefined4 *)(iVar7 * 0x10 + *(int *)(param_1 + 0x10));\n        puVar11[1] = 0;\n        *(int *)(param_1 + 0x14) = iVar7 + 1;\n        *puVar11 = 0x18;\n        puVar11[2] = iVar6;\n        puVar11[3] = uVar10;\n        iVar7 = iVar7 + 1;\n      }\n      else {\n        puVar11 = (undefined4 *)0x0;\n      }\n      *(undefined4 **)(param_1 + 0x28) = puVar11;\n    }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n      uVar10 = *(undefined4 *)(puVar3 + 0x18);\n      if (iVar7 < iVar2) {\n        puVar11 = (undefined4 *)(iVar7 * 0x10 + *(int *)(param_1 + 0x10));\n        puVar11[1] = 0;\n        *(int *)(param_1 + 0x14) = iVar7 + 1;\n        *puVar11 = 0x18;\n        puVar11[2] = iVar6;\n        puVar11[3] = uVar10;\n        iVar7 = iVar7 + 1;\n      }\n      else {\n        puVar11 = (undefined4 *)0x0;\n      }\n      *(undefined4 **)(param_1 + 0x28) = puVar11;\n    }" { (expression_statement "uVar10 = *(undefined4 *)(puVar3 + 0x18);" (assignment_expression "uVar10 = *(undefined4 *)(puVar3 + 0x18)" identifier = (pointer_expression "*(undefined4 *)(puVar3 + 0x18)" * (cast_expression "(undefined4 *)(puVar3 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar3 + 0x18)" ( (binary_expression "puVar3 + 0x18" identifier + number_literal) ))))) ;) (if_statement "if (iVar7 < iVar2) {\n        puVar11 = (undefined4 *)(iVar7 * 0x10 + *(int *)(param_1 + 0x10));\n        puVar11[1] = 0;\n        *(int *)(param_1 + 0x14) = iVar7 + 1;\n        *puVar11 = 0x18;\n        puVar11[2] = iVar6;\n        puVar11[3] = uVar10;\n        iVar7 = iVar7 + 1;\n      }\n      else {\n        puVar11 = (undefined4 *)0x0;\n      }" if (parenthesized_expression "(iVar7 < iVar2)" ( (binary_expression "iVar7 < iVar2" identifier < identifier) )) (compound_statement "{\n        puVar11 = (undefined4 *)(iVar7 * 0x10 + *(int *)(param_1 + 0x10));\n        puVar11[1] = 0;\n        *(int *)(param_1 + 0x14) = iVar7 + 1;\n        *puVar11 = 0x18;\n        puVar11[2] = iVar6;\n        puVar11[3] = uVar10;\n        iVar7 = iVar7 + 1;\n      }" { (expression_statement "puVar11 = (undefined4 *)(iVar7 * 0x10 + *(int *)(param_1 + 0x10));" (assignment_expression "puVar11 = (undefined4 *)(iVar7 * 0x10 + *(int *)(param_1 + 0x10))" identifier = (cast_expression "(undefined4 *)(iVar7 * 0x10 + *(int *)(param_1 + 0x10))" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 * 0x10 + *(int *)(param_1 + 0x10))" ( (binary_expression "iVar7 * 0x10 + *(int *)(param_1 + 0x10)" (binary_expression "iVar7 * 0x10" identifier * number_literal) + (pointer_expression "*(int *)(param_1 + 0x10)" * (cast_expression "(int *)(param_1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) ))))) )))) ;) (expression_statement "puVar11[1] = 0;" (assignment_expression "puVar11[1] = 0" (subscript_expression "puVar11[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(int *)(param_1 + 0x14) = iVar7 + 1;" (assignment_expression "*(int *)(param_1 + 0x14) = iVar7 + 1" (pointer_expression "*(int *)(param_1 + 0x14)" * (cast_expression "(int *)(param_1 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))) = (binary_expression "iVar7 + 1" identifier + number_literal)) ;) (expression_statement "*puVar11 = 0x18;" (assignment_expression "*puVar11 = 0x18" (pointer_expression "*puVar11" * identifier) = number_literal) ;) (expression_statement "puVar11[2] = iVar6;" (assignment_expression "puVar11[2] = iVar6" (subscript_expression "puVar11[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar11[3] = uVar10;" (assignment_expression "puVar11[3] = uVar10" (subscript_expression "puVar11[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "iVar7 = iVar7 + 1;" (assignment_expression "iVar7 = iVar7 + 1" identifier = (binary_expression "iVar7 + 1" identifier + number_literal)) ;) }) (else_clause "else {\n        puVar11 = (undefined4 *)0x0;\n      }" else (compound_statement "{\n        puVar11 = (undefined4 *)0x0;\n      }" { (expression_statement "puVar11 = (undefined4 *)0x0;" (assignment_expression "puVar11 = (undefined4 *)0x0" identifier = (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }))) (expression_statement "*(undefined4 **)(param_1 + 0x28) = puVar11;" (assignment_expression "*(undefined4 **)(param_1 + 0x28) = puVar11" (pointer_expression "*(undefined4 **)(param_1 + 0x28)" * (cast_expression "(undefined4 **)(param_1 + 0x28)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x28)" ( (binary_expression "param_1 + 0x28" identifier + number_literal) )))) = identifier) ;) })) (if_statement "if (bVar12) {\n      uVar10 = *(undefined4 *)(puVar3 + 0xc);\n      iVar6 = *(int *)(puVar3 + 0x10);\n    }\n    else {\n      uVar10 = *(undefined4 *)(puVar3 + 4);\n      iVar6 = *(int *)(puVar3 + 8);\n    }" if (parenthesized_expression "(bVar12)" ( identifier )) (compound_statement "{\n      uVar10 = *(undefined4 *)(puVar3 + 0xc);\n      iVar6 = *(int *)(puVar3 + 0x10);\n    }" { (expression_statement "uVar10 = *(undefined4 *)(puVar3 + 0xc);" (assignment_expression "uVar10 = *(undefined4 *)(puVar3 + 0xc)" identifier = (pointer_expression "*(undefined4 *)(puVar3 + 0xc)" * (cast_expression "(undefined4 *)(puVar3 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar3 + 0xc)" ( (binary_expression "puVar3 + 0xc" identifier + number_literal) ))))) ;) (expression_statement "iVar6 = *(int *)(puVar3 + 0x10);" (assignment_expression "iVar6 = *(int *)(puVar3 + 0x10)" identifier = (pointer_expression "*(int *)(puVar3 + 0x10)" * (cast_expression "(int *)(puVar3 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar3 + 0x10)" ( (binary_expression "puVar3 + 0x10" identifier + number_literal) ))))) ;) }) (else_clause "else {\n      uVar10 = *(undefined4 *)(puVar3 + 4);\n      iVar6 = *(int *)(puVar3 + 8);\n    }" else (compound_statement "{\n      uVar10 = *(undefined4 *)(puVar3 + 4);\n      iVar6 = *(int *)(puVar3 + 8);\n    }" { (expression_statement "uVar10 = *(undefined4 *)(puVar3 + 4);" (assignment_expression "uVar10 = *(undefined4 *)(puVar3 + 4)" identifier = (pointer_expression "*(undefined4 *)(puVar3 + 4)" * (cast_expression "(undefined4 *)(puVar3 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar3 + 4)" ( (binary_expression "puVar3 + 4" identifier + number_literal) ))))) ;) (expression_statement "iVar6 = *(int *)(puVar3 + 8);" (assignment_expression "iVar6 = *(int *)(puVar3 + 8)" identifier = (pointer_expression "*(int *)(puVar3 + 8)" * (cast_expression "(int *)(puVar3 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar3 + 8)" ( (binary_expression "puVar3 + 8" identifier + number_literal) ))))) ;) }))) (expression_statement "*(int *)(param_1 + 0x2c) = *(int *)(param_1 + 0x2c) + iVar6;" (assignment_expression "*(int *)(param_1 + 0x2c) = *(int *)(param_1 + 0x2c) + iVar6" (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) )))) = (binary_expression "*(int *)(param_1 + 0x2c) + iVar6" (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) )))) + identifier)) ;) (if_statement "if (iVar7 < iVar2) {\n      puVar11 = (undefined4 *)(iVar7 * 0x10 + *(int *)(param_1 + 0x10));\n      puVar11[1] = 0;\n      *(int *)(param_1 + 0x14) = iVar7 + 1;\n      *puVar11 = 0x18;\n      puVar11[2] = uVar10;\n      puVar11[3] = iVar6;\n    }\n    else {\n      puVar11 = (undefined4 *)0x0;\n    }" if (parenthesized_expression "(iVar7 < iVar2)" ( (binary_expression "iVar7 < iVar2" identifier < identifier) )) (compound_statement "{\n      puVar11 = (undefined4 *)(iVar7 * 0x10 + *(int *)(param_1 + 0x10));\n      puVar11[1] = 0;\n      *(int *)(param_1 + 0x14) = iVar7 + 1;\n      *puVar11 = 0x18;\n      puVar11[2] = uVar10;\n      puVar11[3] = iVar6;\n    }" { (expression_statement "puVar11 = (undefined4 *)(iVar7 * 0x10 + *(int *)(param_1 + 0x10));" (assignment_expression "puVar11 = (undefined4 *)(iVar7 * 0x10 + *(int *)(param_1 + 0x10))" identifier = (cast_expression "(undefined4 *)(iVar7 * 0x10 + *(int *)(param_1 + 0x10))" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 * 0x10 + *(int *)(param_1 + 0x10))" ( (binary_expression "iVar7 * 0x10 + *(int *)(param_1 + 0x10)" (binary_expression "iVar7 * 0x10" identifier * number_literal) + (pointer_expression "*(int *)(param_1 + 0x10)" * (cast_expression "(int *)(param_1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) ))))) )))) ;) (expression_statement "puVar11[1] = 0;" (assignment_expression "puVar11[1] = 0" (subscript_expression "puVar11[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(int *)(param_1 + 0x14) = iVar7 + 1;" (assignment_expression "*(int *)(param_1 + 0x14) = iVar7 + 1" (pointer_expression "*(int *)(param_1 + 0x14)" * (cast_expression "(int *)(param_1 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))) = (binary_expression "iVar7 + 1" identifier + number_literal)) ;) (expression_statement "*puVar11 = 0x18;" (assignment_expression "*puVar11 = 0x18" (pointer_expression "*puVar11" * identifier) = number_literal) ;) (expression_statement "puVar11[2] = uVar10;" (assignment_expression "puVar11[2] = uVar10" (subscript_expression "puVar11[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar11[3] = iVar6;" (assignment_expression "puVar11[3] = iVar6" (subscript_expression "puVar11[3]" identifier [ number_literal ]) = identifier) ;) }) (else_clause "else {\n      puVar11 = (undefined4 *)0x0;\n    }" else (compound_statement "{\n      puVar11 = (undefined4 *)0x0;\n    }" { (expression_statement "puVar11 = (undefined4 *)0x0;" (assignment_expression "puVar11 = (undefined4 *)0x0" identifier = (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }))) (if_statement "if (**(char **)(param_1 + 0xc) != 'B') {\n      return puVar11;\n    }" if (parenthesized_expression "(**(char **)(param_1 + 0xc) != 'B')" ( (binary_expression "**(char **)(param_1 + 0xc) != 'B'" (pointer_expression "**(char **)(param_1 + 0xc)" * (pointer_expression "*(char **)(param_1 + 0xc)" * (cast_expression "(char **)(param_1 + 0xc)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) ))))) != (char_literal "'B'" ' character ')) )) (compound_statement "{\n      return puVar11;\n    }" { (return_statement "return puVar11;" return identifier ;) })) (expression_statement "puVar11 = (undefined4 *)d_abi_tags();" (assignment_expression "puVar11 = (undefined4 *)d_abi_tags()" identifier = (cast_expression "(undefined4 *)d_abi_tags()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "d_abi_tags()" identifier (argument_list "()" ( ))))) ;) (if_statement "if ((puVar11 != (undefined4 *)0x0) &&\n       (iVar6 = *(int *)(param_1 + 0x20), iVar6 < *(int *)(param_1 + 0x24))) {\n      *(undefined4 **)(*(int *)(param_1 + 0x1c) + iVar6 * 4) = puVar11;\n      *(int *)(param_1 + 0x20) = iVar6 + 1;\n      return puVar11;\n    }" if (parenthesized_expression "((puVar11 != (undefined4 *)0x0) &&\n       (iVar6 = *(int *)(param_1 + 0x20), iVar6 < *(int *)(param_1 + 0x24)))" ( (binary_expression "(puVar11 != (undefined4 *)0x0) &&\n       (iVar6 = *(int *)(param_1 + 0x20), iVar6 < *(int *)(param_1 + 0x24))" (parenthesized_expression "(puVar11 != (undefined4 *)0x0)" ( (binary_expression "puVar11 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(iVar6 = *(int *)(param_1 + 0x20), iVar6 < *(int *)(param_1 + 0x24))" ( (comma_expression "iVar6 = *(int *)(param_1 + 0x20), iVar6 < *(int *)(param_1 + 0x24)" (assignment_expression "iVar6 = *(int *)(param_1 + 0x20)" identifier = (pointer_expression "*(int *)(param_1 + 0x20)" * (cast_expression "(int *)(param_1 + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) ))))) , (binary_expression "iVar6 < *(int *)(param_1 + 0x24)" identifier < (pointer_expression "*(int *)(param_1 + 0x24)" * (cast_expression "(int *)(param_1 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x24)" ( (binary_expression "param_1 + 0x24" identifier + number_literal) )))))) ))) )) (compound_statement "{\n      *(undefined4 **)(*(int *)(param_1 + 0x1c) + iVar6 * 4) = puVar11;\n      *(int *)(param_1 + 0x20) = iVar6 + 1;\n      return puVar11;\n    }" { (expression_statement "*(undefined4 **)(*(int *)(param_1 + 0x1c) + iVar6 * 4) = puVar11;" (assignment_expression "*(undefined4 **)(*(int *)(param_1 + 0x1c) + iVar6 * 4) = puVar11" (pointer_expression "*(undefined4 **)(*(int *)(param_1 + 0x1c) + iVar6 * 4)" * (cast_expression "(undefined4 **)(*(int *)(param_1 + 0x1c) + iVar6 * 4)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(param_1 + 0x1c) + iVar6 * 4)" ( (binary_expression "*(int *)(param_1 + 0x1c) + iVar6 * 4" (pointer_expression "*(int *)(param_1 + 0x1c)" * (cast_expression "(int *)(param_1 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) )))) + (binary_expression "iVar6 * 4" identifier * number_literal)) )))) = identifier) ;) (expression_statement "*(int *)(param_1 + 0x20) = iVar6 + 1;" (assignment_expression "*(int *)(param_1 + 0x20) = iVar6 + 1" (pointer_expression "*(int *)(param_1 + 0x20)" * (cast_expression "(int *)(param_1 + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) )))) = (binary_expression "iVar6 + 1" identifier + number_literal)) ;) (return_statement "return puVar11;" return identifier ;) })) })) (return_statement "return (undefined4 *)0x0;" return (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ;) }))
(translation_unit "undefined4 * __regparm3 FUN_002863e0(int param_1,uint param_2)\n\n{\n  int iVar1;\n  char *pcVar2;\n  uint uVar3;\n  char cVar4;\n  int iVar5;\n  int iVar6;\n  char cVar7;\n  uint uVar8;\n  undefined4 uVar9;\n  undefined4 *puVar10;\n  bool bVar11;\n  \n  pcVar2 = *(char **)(param_1 + 0xc);\n  if (*pcVar2 == 'S') {\n    *(char **)(param_1 + 0xc) = pcVar2 + 1;\n    cVar4 = pcVar2[1];\n    if (cVar4 != '\0') {\n      *(char **)(param_1 + 0xc) = pcVar2 + 2;\n      cVar4 = pcVar2[1];\n      iVar5 = (int)cVar4;\n      if (((byte)(cVar4 - 0x30U) < 10) || (cVar4 == '_')) {\n        uVar8 = 0;\n        if (cVar4 == '_') {\nLAB_00286490:\n          if (*(uint *)(param_1 + 0x20) <= uVar8) {\n            return (undefined4 *)0x0;\n          }\n          return *(undefined4 **)(*(int *)(param_1 + 0x1c) + uVar8 * 4);\n        }\nLAB_002864c0:\n        uVar8 = 0;\n        if (9 < (byte)(cVar4 - 0x30U)) goto LAB_002864fd;\n        do {\n          uVar3 = uVar8;\n          uVar8 = iVar5 + -0x30 + uVar8 * 0x24;\n          while( true ) {\n            if (uVar8 < uVar3) {\n              return (undefined4 *)0x0;\n            }\n            pcVar2 = *(char **)(param_1 + 0xc);\n            cVar4 = *pcVar2;\n            if (cVar4 != '\0') {\n              *(char **)(param_1 + 0xc) = pcVar2 + 1;\n              cVar4 = *pcVar2;\n              if (cVar4 == '_') {\n                uVar8 = uVar8 + 1;\n                goto LAB_00286490;\n              }\n            }\n            iVar5 = (int)cVar4;\n            if ((byte)(cVar4 - 0x30U) < 10) break;\nLAB_002864fd:\n            if (0x19 < (byte)((char)iVar5 + 0xbfU)) {\n              return (undefined4 *)0x0;\n            }\n            uVar3 = uVar8;\n            uVar8 = iVar5 + -0x37 + uVar8 * 0x24;\n          }\n        } while( true );\n      }\n      if ((byte)(cVar4 + 0xbfU) < 0x1a) goto LAB_002864c0;\n    }\n    bVar11 = (*(uint *)(param_1 + 8) & 8) != 0;\n    if ((!bVar11) && ((param_2 & 1) != 0)) {\n      bVar11 = (byte)(**(char **)(param_1 + 0xc) + 0xbdU) < 2 || bVar11;\n    }\n    pcVar2 = "t";\n    cVar7 = 't';\n    while (cVar4 != cVar7) {\n      pcVar2 = pcVar2 + 0x1c;\n      if (pcVar2 == "") {\n        return (undefined4 *)0x0;\n      }\n      cVar7 = *pcVar2;\n    }\n    iVar5 = *(int *)(pcVar2 + 0x14);\n    iVar6 = *(int *)(param_1 + 0x14);\n    iVar1 = *(int *)(param_1 + 0x18);\n    if (iVar5 != 0) {\n      uVar9 = *(undefined4 *)(pcVar2 + 0x18);\n      if (iVar6 < iVar1) {\n        puVar10 = (undefined4 *)(iVar6 * 0x10 + *(int *)(param_1 + 0x10));\n        puVar10[1] = 0;\n        *(int *)(param_1 + 0x14) = iVar6 + 1;\n        *puVar10 = 0x18;\n        puVar10[2] = iVar5;\n        puVar10[3] = uVar9;\n        iVar6 = iVar6 + 1;\n      }\n      else {\n        puVar10 = (undefined4 *)0x0;\n      }\n      *(undefined4 **)(param_1 + 0x28) = puVar10;\n    }\n    if (bVar11) {\n      uVar9 = *(undefined4 *)(pcVar2 + 0xc);\n      iVar5 = *(int *)(pcVar2 + 0x10);\n    }\n    else {\n      uVar9 = *(undefined4 *)(pcVar2 + 4);\n      iVar5 = *(int *)(pcVar2 + 8);\n    }\n    *(int *)(param_1 + 0x2c) = *(int *)(param_1 + 0x2c) + iVar5;\n    if (iVar6 < iVar1) {\n      puVar10 = (undefined4 *)(iVar6 * 0x10 + *(int *)(param_1 + 0x10));\n      puVar10[1] = 0;\n      *(int *)(param_1 + 0x14) = iVar6 + 1;\n      *puVar10 = 0x18;\n      puVar10[2] = uVar9;\n      puVar10[3] = iVar5;\n    }\n    else {\n      puVar10 = (undefined4 *)0x0;\n    }\n    if (**(char **)(param_1 + 0xc) != 'B') {\n      return puVar10;\n    }\n    puVar10 = (undefined4 *)FUN_00286390();\n    if ((puVar10 != (undefined4 *)0x0) &&\n       (iVar5 = *(int *)(param_1 + 0x20), iVar5 < *(int *)(param_1 + 0x24))) {\n      *(undefined4 **)(*(int *)(param_1 + 0x1c) + iVar5 * 4) = puVar10;\n      *(int *)(param_1 + 0x20) = iVar5 + 1;\n      return puVar10;\n    }\n  }\n  return (undefined4 *)0x0;\n}\n\n" (ERROR "undefined4 * __regparm3 FUN_002863e0(int param_1,uint param_2)" (binary_expression "undefined4 * __regparm3 FUN_002863e0(int param_1,uint param_2)" identifier * (ERROR "__regparm3" identifier) (call_expression "FUN_002863e0(int param_1,uint param_2)" identifier (argument_list "(int param_1,uint param_2)" ( (ERROR "int" identifier) identifier , (ERROR "uint" identifier) identifier ))))) (compound_statement "{\n  int iVar1;\n  char *pcVar2;\n  uint uVar3;\n  char cVar4;\n  int iVar5;\n  int iVar6;\n  char cVar7;\n  uint uVar8;\n  undefined4 uVar9;\n  undefined4 *puVar10;\n  bool bVar11;\n  \n  pcVar2 = *(char **)(param_1 + 0xc);\n  if (*pcVar2 == 'S') {\n    *(char **)(param_1 + 0xc) = pcVar2 + 1;\n    cVar4 = pcVar2[1];\n    if (cVar4 != '\0') {\n      *(char **)(param_1 + 0xc) = pcVar2 + 2;\n      cVar4 = pcVar2[1];\n      iVar5 = (int)cVar4;\n      if (((byte)(cVar4 - 0x30U) < 10) || (cVar4 == '_')) {\n        uVar8 = 0;\n        if (cVar4 == '_') {\nLAB_00286490:\n          if (*(uint *)(param_1 + 0x20) <= uVar8) {\n            return (undefined4 *)0x0;\n          }\n          return *(undefined4 **)(*(int *)(param_1 + 0x1c) + uVar8 * 4);\n        }\nLAB_002864c0:\n        uVar8 = 0;\n        if (9 < (byte)(cVar4 - 0x30U)) goto LAB_002864fd;\n        do {\n          uVar3 = uVar8;\n          uVar8 = iVar5 + -0x30 + uVar8 * 0x24;\n          while( true ) {\n            if (uVar8 < uVar3) {\n              return (undefined4 *)0x0;\n            }\n            pcVar2 = *(char **)(param_1 + 0xc);\n            cVar4 = *pcVar2;\n            if (cVar4 != '\0') {\n              *(char **)(param_1 + 0xc) = pcVar2 + 1;\n              cVar4 = *pcVar2;\n              if (cVar4 == '_') {\n                uVar8 = uVar8 + 1;\n                goto LAB_00286490;\n              }\n            }\n            iVar5 = (int)cVar4;\n            if ((byte)(cVar4 - 0x30U) < 10) break;\nLAB_002864fd:\n            if (0x19 < (byte)((char)iVar5 + 0xbfU)) {\n              return (undefined4 *)0x0;\n            }\n            uVar3 = uVar8;\n            uVar8 = iVar5 + -0x37 + uVar8 * 0x24;\n          }\n        } while( true );\n      }\n      if ((byte)(cVar4 + 0xbfU) < 0x1a) goto LAB_002864c0;\n    }\n    bVar11 = (*(uint *)(param_1 + 8) & 8) != 0;\n    if ((!bVar11) && ((param_2 & 1) != 0)) {\n      bVar11 = (byte)(**(char **)(param_1 + 0xc) + 0xbdU) < 2 || bVar11;\n    }\n    pcVar2 = "t";\n    cVar7 = 't';\n    while (cVar4 != cVar7) {\n      pcVar2 = pcVar2 + 0x1c;\n      if (pcVar2 == "") {\n        return (undefined4 *)0x0;\n      }\n      cVar7 = *pcVar2;\n    }\n    iVar5 = *(int *)(pcVar2 + 0x14);\n    iVar6 = *(int *)(param_1 + 0x14);\n    iVar1 = *(int *)(param_1 + 0x18);\n    if (iVar5 != 0) {\n      uVar9 = *(undefined4 *)(pcVar2 + 0x18);\n      if (iVar6 < iVar1) {\n        puVar10 = (undefined4 *)(iVar6 * 0x10 + *(int *)(param_1 + 0x10));\n        puVar10[1] = 0;\n        *(int *)(param_1 + 0x14) = iVar6 + 1;\n        *puVar10 = 0x18;\n        puVar10[2] = iVar5;\n        puVar10[3] = uVar9;\n        iVar6 = iVar6 + 1;\n      }\n      else {\n        puVar10 = (undefined4 *)0x0;\n      }\n      *(undefined4 **)(param_1 + 0x28) = puVar10;\n    }\n    if (bVar11) {\n      uVar9 = *(undefined4 *)(pcVar2 + 0xc);\n      iVar5 = *(int *)(pcVar2 + 0x10);\n    }\n    else {\n      uVar9 = *(undefined4 *)(pcVar2 + 4);\n      iVar5 = *(int *)(pcVar2 + 8);\n    }\n    *(int *)(param_1 + 0x2c) = *(int *)(param_1 + 0x2c) + iVar5;\n    if (iVar6 < iVar1) {\n      puVar10 = (undefined4 *)(iVar6 * 0x10 + *(int *)(param_1 + 0x10));\n      puVar10[1] = 0;\n      *(int *)(param_1 + 0x14) = iVar6 + 1;\n      *puVar10 = 0x18;\n      puVar10[2] = uVar9;\n      puVar10[3] = iVar5;\n    }\n    else {\n      puVar10 = (undefined4 *)0x0;\n    }\n    if (**(char **)(param_1 + 0xc) != 'B') {\n      return puVar10;\n    }\n    puVar10 = (undefined4 *)FUN_00286390();\n    if ((puVar10 != (undefined4 *)0x0) &&\n       (iVar5 = *(int *)(param_1 + 0x20), iVar5 < *(int *)(param_1 + 0x24))) {\n      *(undefined4 **)(*(int *)(param_1 + 0x1c) + iVar5 * 4) = puVar10;\n      *(int *)(param_1 + 0x20) = iVar5 + 1;\n      return puVar10;\n    }\n  }\n  return (undefined4 *)0x0;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "char cVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "char cVar7;" primitive_type identifier ;) (declaration "uint uVar8;" type_identifier identifier ;) (declaration "undefined4 uVar9;" type_identifier identifier ;) (declaration "undefined4 *puVar10;" type_identifier (pointer_declarator "*puVar10" * identifier) ;) (declaration "bool bVar11;" primitive_type identifier ;) (expression_statement "pcVar2 = *(char **)(param_1 + 0xc);" (assignment_expression "pcVar2 = *(char **)(param_1 + 0xc)" identifier = (pointer_expression "*(char **)(param_1 + 0xc)" * (cast_expression "(char **)(param_1 + 0xc)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) ))))) ;) (if_statement "if (*pcVar2 == 'S') {\n    *(char **)(param_1 + 0xc) = pcVar2 + 1;\n    cVar4 = pcVar2[1];\n    if (cVar4 != '\0') {\n      *(char **)(param_1 + 0xc) = pcVar2 + 2;\n      cVar4 = pcVar2[1];\n      iVar5 = (int)cVar4;\n      if (((byte)(cVar4 - 0x30U) < 10) || (cVar4 == '_')) {\n        uVar8 = 0;\n        if (cVar4 == '_') {\nLAB_00286490:\n          if (*(uint *)(param_1 + 0x20) <= uVar8) {\n            return (undefined4 *)0x0;\n          }\n          return *(undefined4 **)(*(int *)(param_1 + 0x1c) + uVar8 * 4);\n        }\nLAB_002864c0:\n        uVar8 = 0;\n        if (9 < (byte)(cVar4 - 0x30U)) goto LAB_002864fd;\n        do {\n          uVar3 = uVar8;\n          uVar8 = iVar5 + -0x30 + uVar8 * 0x24;\n          while( true ) {\n            if (uVar8 < uVar3) {\n              return (undefined4 *)0x0;\n            }\n            pcVar2 = *(char **)(param_1 + 0xc);\n            cVar4 = *pcVar2;\n            if (cVar4 != '\0') {\n              *(char **)(param_1 + 0xc) = pcVar2 + 1;\n              cVar4 = *pcVar2;\n              if (cVar4 == '_') {\n                uVar8 = uVar8 + 1;\n                goto LAB_00286490;\n              }\n            }\n            iVar5 = (int)cVar4;\n            if ((byte)(cVar4 - 0x30U) < 10) break;\nLAB_002864fd:\n            if (0x19 < (byte)((char)iVar5 + 0xbfU)) {\n              return (undefined4 *)0x0;\n            }\n            uVar3 = uVar8;\n            uVar8 = iVar5 + -0x37 + uVar8 * 0x24;\n          }\n        } while( true );\n      }\n      if ((byte)(cVar4 + 0xbfU) < 0x1a) goto LAB_002864c0;\n    }\n    bVar11 = (*(uint *)(param_1 + 8) & 8) != 0;\n    if ((!bVar11) && ((param_2 & 1) != 0)) {\n      bVar11 = (byte)(**(char **)(param_1 + 0xc) + 0xbdU) < 2 || bVar11;\n    }\n    pcVar2 = "t";\n    cVar7 = 't';\n    while (cVar4 != cVar7) {\n      pcVar2 = pcVar2 + 0x1c;\n      if (pcVar2 == "") {\n        return (undefined4 *)0x0;\n      }\n      cVar7 = *pcVar2;\n    }\n    iVar5 = *(int *)(pcVar2 + 0x14);\n    iVar6 = *(int *)(param_1 + 0x14);\n    iVar1 = *(int *)(param_1 + 0x18);\n    if (iVar5 != 0) {\n      uVar9 = *(undefined4 *)(pcVar2 + 0x18);\n      if (iVar6 < iVar1) {\n        puVar10 = (undefined4 *)(iVar6 * 0x10 + *(int *)(param_1 + 0x10));\n        puVar10[1] = 0;\n        *(int *)(param_1 + 0x14) = iVar6 + 1;\n        *puVar10 = 0x18;\n        puVar10[2] = iVar5;\n        puVar10[3] = uVar9;\n        iVar6 = iVar6 + 1;\n      }\n      else {\n        puVar10 = (undefined4 *)0x0;\n      }\n      *(undefined4 **)(param_1 + 0x28) = puVar10;\n    }\n    if (bVar11) {\n      uVar9 = *(undefined4 *)(pcVar2 + 0xc);\n      iVar5 = *(int *)(pcVar2 + 0x10);\n    }\n    else {\n      uVar9 = *(undefined4 *)(pcVar2 + 4);\n      iVar5 = *(int *)(pcVar2 + 8);\n    }\n    *(int *)(param_1 + 0x2c) = *(int *)(param_1 + 0x2c) + iVar5;\n    if (iVar6 < iVar1) {\n      puVar10 = (undefined4 *)(iVar6 * 0x10 + *(int *)(param_1 + 0x10));\n      puVar10[1] = 0;\n      *(int *)(param_1 + 0x14) = iVar6 + 1;\n      *puVar10 = 0x18;\n      puVar10[2] = uVar9;\n      puVar10[3] = iVar5;\n    }\n    else {\n      puVar10 = (undefined4 *)0x0;\n    }\n    if (**(char **)(param_1 + 0xc) != 'B') {\n      return puVar10;\n    }\n    puVar10 = (undefined4 *)FUN_00286390();\n    if ((puVar10 != (undefined4 *)0x0) &&\n       (iVar5 = *(int *)(param_1 + 0x20), iVar5 < *(int *)(param_1 + 0x24))) {\n      *(undefined4 **)(*(int *)(param_1 + 0x1c) + iVar5 * 4) = puVar10;\n      *(int *)(param_1 + 0x20) = iVar5 + 1;\n      return puVar10;\n    }\n  }" if (parenthesized_expression "(*pcVar2 == 'S')" ( (binary_expression "*pcVar2 == 'S'" (pointer_expression "*pcVar2" * identifier) == (char_literal "'S'" ' character ')) )) (compound_statement "{\n    *(char **)(param_1 + 0xc) = pcVar2 + 1;\n    cVar4 = pcVar2[1];\n    if (cVar4 != '\0') {\n      *(char **)(param_1 + 0xc) = pcVar2 + 2;\n      cVar4 = pcVar2[1];\n      iVar5 = (int)cVar4;\n      if (((byte)(cVar4 - 0x30U) < 10) || (cVar4 == '_')) {\n        uVar8 = 0;\n        if (cVar4 == '_') {\nLAB_00286490:\n          if (*(uint *)(param_1 + 0x20) <= uVar8) {\n            return (undefined4 *)0x0;\n          }\n          return *(undefined4 **)(*(int *)(param_1 + 0x1c) + uVar8 * 4);\n        }\nLAB_002864c0:\n        uVar8 = 0;\n        if (9 < (byte)(cVar4 - 0x30U)) goto LAB_002864fd;\n        do {\n          uVar3 = uVar8;\n          uVar8 = iVar5 + -0x30 + uVar8 * 0x24;\n          while( true ) {\n            if (uVar8 < uVar3) {\n              return (undefined4 *)0x0;\n            }\n            pcVar2 = *(char **)(param_1 + 0xc);\n            cVar4 = *pcVar2;\n            if (cVar4 != '\0') {\n              *(char **)(param_1 + 0xc) = pcVar2 + 1;\n              cVar4 = *pcVar2;\n              if (cVar4 == '_') {\n                uVar8 = uVar8 + 1;\n                goto LAB_00286490;\n              }\n            }\n            iVar5 = (int)cVar4;\n            if ((byte)(cVar4 - 0x30U) < 10) break;\nLAB_002864fd:\n            if (0x19 < (byte)((char)iVar5 + 0xbfU)) {\n              return (undefined4 *)0x0;\n            }\n            uVar3 = uVar8;\n            uVar8 = iVar5 + -0x37 + uVar8 * 0x24;\n          }\n        } while( true );\n      }\n      if ((byte)(cVar4 + 0xbfU) < 0x1a) goto LAB_002864c0;\n    }\n    bVar11 = (*(uint *)(param_1 + 8) & 8) != 0;\n    if ((!bVar11) && ((param_2 & 1) != 0)) {\n      bVar11 = (byte)(**(char **)(param_1 + 0xc) + 0xbdU) < 2 || bVar11;\n    }\n    pcVar2 = "t";\n    cVar7 = 't';\n    while (cVar4 != cVar7) {\n      pcVar2 = pcVar2 + 0x1c;\n      if (pcVar2 == "") {\n        return (undefined4 *)0x0;\n      }\n      cVar7 = *pcVar2;\n    }\n    iVar5 = *(int *)(pcVar2 + 0x14);\n    iVar6 = *(int *)(param_1 + 0x14);\n    iVar1 = *(int *)(param_1 + 0x18);\n    if (iVar5 != 0) {\n      uVar9 = *(undefined4 *)(pcVar2 + 0x18);\n      if (iVar6 < iVar1) {\n        puVar10 = (undefined4 *)(iVar6 * 0x10 + *(int *)(param_1 + 0x10));\n        puVar10[1] = 0;\n        *(int *)(param_1 + 0x14) = iVar6 + 1;\n        *puVar10 = 0x18;\n        puVar10[2] = iVar5;\n        puVar10[3] = uVar9;\n        iVar6 = iVar6 + 1;\n      }\n      else {\n        puVar10 = (undefined4 *)0x0;\n      }\n      *(undefined4 **)(param_1 + 0x28) = puVar10;\n    }\n    if (bVar11) {\n      uVar9 = *(undefined4 *)(pcVar2 + 0xc);\n      iVar5 = *(int *)(pcVar2 + 0x10);\n    }\n    else {\n      uVar9 = *(undefined4 *)(pcVar2 + 4);\n      iVar5 = *(int *)(pcVar2 + 8);\n    }\n    *(int *)(param_1 + 0x2c) = *(int *)(param_1 + 0x2c) + iVar5;\n    if (iVar6 < iVar1) {\n      puVar10 = (undefined4 *)(iVar6 * 0x10 + *(int *)(param_1 + 0x10));\n      puVar10[1] = 0;\n      *(int *)(param_1 + 0x14) = iVar6 + 1;\n      *puVar10 = 0x18;\n      puVar10[2] = uVar9;\n      puVar10[3] = iVar5;\n    }\n    else {\n      puVar10 = (undefined4 *)0x0;\n    }\n    if (**(char **)(param_1 + 0xc) != 'B') {\n      return puVar10;\n    }\n    puVar10 = (undefined4 *)FUN_00286390();\n    if ((puVar10 != (undefined4 *)0x0) &&\n       (iVar5 = *(int *)(param_1 + 0x20), iVar5 < *(int *)(param_1 + 0x24))) {\n      *(undefined4 **)(*(int *)(param_1 + 0x1c) + iVar5 * 4) = puVar10;\n      *(int *)(param_1 + 0x20) = iVar5 + 1;\n      return puVar10;\n    }\n  }" { (expression_statement "*(char **)(param_1 + 0xc) = pcVar2 + 1;" (assignment_expression "*(char **)(param_1 + 0xc) = pcVar2 + 1" (pointer_expression "*(char **)(param_1 + 0xc)" * (cast_expression "(char **)(param_1 + 0xc)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) = (binary_expression "pcVar2 + 1" identifier + number_literal)) ;) (expression_statement "cVar4 = pcVar2[1];" (assignment_expression "cVar4 = pcVar2[1]" identifier = (subscript_expression "pcVar2[1]" identifier [ number_literal ])) ;) (if_statement "if (cVar4 != '\0') {\n      *(char **)(param_1 + 0xc) = pcVar2 + 2;\n      cVar4 = pcVar2[1];\n      iVar5 = (int)cVar4;\n      if (((byte)(cVar4 - 0x30U) < 10) || (cVar4 == '_')) {\n        uVar8 = 0;\n        if (cVar4 == '_') {\nLAB_00286490:\n          if (*(uint *)(param_1 + 0x20) <= uVar8) {\n            return (undefined4 *)0x0;\n          }\n          return *(undefined4 **)(*(int *)(param_1 + 0x1c) + uVar8 * 4);\n        }\nLAB_002864c0:\n        uVar8 = 0;\n        if (9 < (byte)(cVar4 - 0x30U)) goto LAB_002864fd;\n        do {\n          uVar3 = uVar8;\n          uVar8 = iVar5 + -0x30 + uVar8 * 0x24;\n          while( true ) {\n            if (uVar8 < uVar3) {\n              return (undefined4 *)0x0;\n            }\n            pcVar2 = *(char **)(param_1 + 0xc);\n            cVar4 = *pcVar2;\n            if (cVar4 != '\0') {\n              *(char **)(param_1 + 0xc) = pcVar2 + 1;\n              cVar4 = *pcVar2;\n              if (cVar4 == '_') {\n                uVar8 = uVar8 + 1;\n                goto LAB_00286490;\n              }\n            }\n            iVar5 = (int)cVar4;\n            if ((byte)(cVar4 - 0x30U) < 10) break;\nLAB_002864fd:\n            if (0x19 < (byte)((char)iVar5 + 0xbfU)) {\n              return (undefined4 *)0x0;\n            }\n            uVar3 = uVar8;\n            uVar8 = iVar5 + -0x37 + uVar8 * 0x24;\n          }\n        } while( true );\n      }\n      if ((byte)(cVar4 + 0xbfU) < 0x1a) goto LAB_002864c0;\n    }" if (parenthesized_expression "(cVar4 != '\0')" ( (binary_expression "cVar4 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      *(char **)(param_1 + 0xc) = pcVar2 + 2;\n      cVar4 = pcVar2[1];\n      iVar5 = (int)cVar4;\n      if (((byte)(cVar4 - 0x30U) < 10) || (cVar4 == '_')) {\n        uVar8 = 0;\n        if (cVar4 == '_') {\nLAB_00286490:\n          if (*(uint *)(param_1 + 0x20) <= uVar8) {\n            return (undefined4 *)0x0;\n          }\n          return *(undefined4 **)(*(int *)(param_1 + 0x1c) + uVar8 * 4);\n        }\nLAB_002864c0:\n        uVar8 = 0;\n        if (9 < (byte)(cVar4 - 0x30U)) goto LAB_002864fd;\n        do {\n          uVar3 = uVar8;\n          uVar8 = iVar5 + -0x30 + uVar8 * 0x24;\n          while( true ) {\n            if (uVar8 < uVar3) {\n              return (undefined4 *)0x0;\n            }\n            pcVar2 = *(char **)(param_1 + 0xc);\n            cVar4 = *pcVar2;\n            if (cVar4 != '\0') {\n              *(char **)(param_1 + 0xc) = pcVar2 + 1;\n              cVar4 = *pcVar2;\n              if (cVar4 == '_') {\n                uVar8 = uVar8 + 1;\n                goto LAB_00286490;\n              }\n            }\n            iVar5 = (int)cVar4;\n            if ((byte)(cVar4 - 0x30U) < 10) break;\nLAB_002864fd:\n            if (0x19 < (byte)((char)iVar5 + 0xbfU)) {\n              return (undefined4 *)0x0;\n            }\n            uVar3 = uVar8;\n            uVar8 = iVar5 + -0x37 + uVar8 * 0x24;\n          }\n        } while( true );\n      }\n      if ((byte)(cVar4 + 0xbfU) < 0x1a) goto LAB_002864c0;\n    }" { (expression_statement "*(char **)(param_1 + 0xc) = pcVar2 + 2;" (assignment_expression "*(char **)(param_1 + 0xc) = pcVar2 + 2" (pointer_expression "*(char **)(param_1 + 0xc)" * (cast_expression "(char **)(param_1 + 0xc)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) = (binary_expression "pcVar2 + 2" identifier + number_literal)) ;) (expression_statement "cVar4 = pcVar2[1];" (assignment_expression "cVar4 = pcVar2[1]" identifier = (subscript_expression "pcVar2[1]" identifier [ number_literal ])) ;) (expression_statement "iVar5 = (int)cVar4;" (assignment_expression "iVar5 = (int)cVar4" identifier = (cast_expression "(int)cVar4" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (if_statement "if (((byte)(cVar4 - 0x30U) < 10) || (cVar4 == '_')) {\n        uVar8 = 0;\n        if (cVar4 == '_') {\nLAB_00286490:\n          if (*(uint *)(param_1 + 0x20) <= uVar8) {\n            return (undefined4 *)0x0;\n          }\n          return *(undefined4 **)(*(int *)(param_1 + 0x1c) + uVar8 * 4);\n        }\nLAB_002864c0:\n        uVar8 = 0;\n        if (9 < (byte)(cVar4 - 0x30U)) goto LAB_002864fd;\n        do {\n          uVar3 = uVar8;\n          uVar8 = iVar5 + -0x30 + uVar8 * 0x24;\n          while( true ) {\n            if (uVar8 < uVar3) {\n              return (undefined4 *)0x0;\n            }\n            pcVar2 = *(char **)(param_1 + 0xc);\n            cVar4 = *pcVar2;\n            if (cVar4 != '\0') {\n              *(char **)(param_1 + 0xc) = pcVar2 + 1;\n              cVar4 = *pcVar2;\n              if (cVar4 == '_') {\n                uVar8 = uVar8 + 1;\n                goto LAB_00286490;\n              }\n            }\n            iVar5 = (int)cVar4;\n            if ((byte)(cVar4 - 0x30U) < 10) break;\nLAB_002864fd:\n            if (0x19 < (byte)((char)iVar5 + 0xbfU)) {\n              return (undefined4 *)0x0;\n            }\n            uVar3 = uVar8;\n            uVar8 = iVar5 + -0x37 + uVar8 * 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        uVar8 = 0;\n        if (cVar4 == '_') {\nLAB_00286490:\n          if (*(uint *)(param_1 + 0x20) <= uVar8) {\n            return (undefined4 *)0x0;\n          }\n          return *(undefined4 **)(*(int *)(param_1 + 0x1c) + uVar8 * 4);\n        }\nLAB_002864c0:\n        uVar8 = 0;\n        if (9 < (byte)(cVar4 - 0x30U)) goto LAB_002864fd;\n        do {\n          uVar3 = uVar8;\n          uVar8 = iVar5 + -0x30 + uVar8 * 0x24;\n          while( true ) {\n            if (uVar8 < uVar3) {\n              return (undefined4 *)0x0;\n            }\n            pcVar2 = *(char **)(param_1 + 0xc);\n            cVar4 = *pcVar2;\n            if (cVar4 != '\0') {\n              *(char **)(param_1 + 0xc) = pcVar2 + 1;\n              cVar4 = *pcVar2;\n              if (cVar4 == '_') {\n                uVar8 = uVar8 + 1;\n                goto LAB_00286490;\n              }\n            }\n            iVar5 = (int)cVar4;\n            if ((byte)(cVar4 - 0x30U) < 10) break;\nLAB_002864fd:\n            if (0x19 < (byte)((char)iVar5 + 0xbfU)) {\n              return (undefined4 *)0x0;\n            }\n            uVar3 = uVar8;\n            uVar8 = iVar5 + -0x37 + uVar8 * 0x24;\n          }\n        } while( true );\n      }" { (expression_statement "uVar8 = 0;" (assignment_expression "uVar8 = 0" identifier = number_literal) ;) (if_statement "if (cVar4 == '_') {\nLAB_00286490:\n          if (*(uint *)(param_1 + 0x20) <= uVar8) {\n            return (undefined4 *)0x0;\n          }\n          return *(undefined4 **)(*(int *)(param_1 + 0x1c) + uVar8 * 4);\n        }" if (parenthesized_expression "(cVar4 == '_')" ( (binary_expression "cVar4 == '_'" identifier == (char_literal "'_'" ' character ')) )) (compound_statement "{\nLAB_00286490:\n          if (*(uint *)(param_1 + 0x20) <= uVar8) {\n            return (undefined4 *)0x0;\n          }\n          return *(undefined4 **)(*(int *)(param_1 + 0x1c) + uVar8 * 4);\n        }" { (labeled_statement "LAB_00286490:\n          if (*(uint *)(param_1 + 0x20) <= uVar8) {\n            return (undefined4 *)0x0;\n          }" statement_identifier : (if_statement "if (*(uint *)(param_1 + 0x20) <= uVar8) {\n            return (undefined4 *)0x0;\n          }" if (parenthesized_expression "(*(uint *)(param_1 + 0x20) <= uVar8)" ( (binary_expression "*(uint *)(param_1 + 0x20) <= uVar8" (pointer_expression "*(uint *)(param_1 + 0x20)" * (cast_expression "(uint *)(param_1 + 0x20)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) )))) <= 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 **)(*(int *)(param_1 + 0x1c) + uVar8 * 4);" return (pointer_expression "*(undefined4 **)(*(int *)(param_1 + 0x1c) + uVar8 * 4)" * (cast_expression "(undefined4 **)(*(int *)(param_1 + 0x1c) + uVar8 * 4)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(param_1 + 0x1c) + uVar8 * 4)" ( (binary_expression "*(int *)(param_1 + 0x1c) + uVar8 * 4" (pointer_expression "*(int *)(param_1 + 0x1c)" * (cast_expression "(int *)(param_1 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) )))) + (binary_expression "uVar8 * 4" identifier * number_literal)) )))) ;) })) (labeled_statement "LAB_002864c0:\n        uVar8 = 0;" statement_identifier : (expression_statement "uVar8 = 0;" (assignment_expression "uVar8 = 0" identifier = number_literal) ;)) (if_statement "if (9 < (byte)(cVar4 - 0x30U)) goto LAB_002864fd;" 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_002864fd;" goto statement_identifier ;)) (do_statement "do {\n          uVar3 = uVar8;\n          uVar8 = iVar5 + -0x30 + uVar8 * 0x24;\n          while( true ) {\n            if (uVar8 < uVar3) {\n              return (undefined4 *)0x0;\n            }\n            pcVar2 = *(char **)(param_1 + 0xc);\n            cVar4 = *pcVar2;\n            if (cVar4 != '\0') {\n              *(char **)(param_1 + 0xc) = pcVar2 + 1;\n              cVar4 = *pcVar2;\n              if (cVar4 == '_') {\n                uVar8 = uVar8 + 1;\n                goto LAB_00286490;\n              }\n            }\n            iVar5 = (int)cVar4;\n            if ((byte)(cVar4 - 0x30U) < 10) break;\nLAB_002864fd:\n            if (0x19 < (byte)((char)iVar5 + 0xbfU)) {\n              return (undefined4 *)0x0;\n            }\n            uVar3 = uVar8;\n            uVar8 = iVar5 + -0x37 + uVar8 * 0x24;\n          }\n        } while( true );" do (compound_statement "{\n          uVar3 = uVar8;\n          uVar8 = iVar5 + -0x30 + uVar8 * 0x24;\n          while( true ) {\n            if (uVar8 < uVar3) {\n              return (undefined4 *)0x0;\n            }\n            pcVar2 = *(char **)(param_1 + 0xc);\n            cVar4 = *pcVar2;\n            if (cVar4 != '\0') {\n              *(char **)(param_1 + 0xc) = pcVar2 + 1;\n              cVar4 = *pcVar2;\n              if (cVar4 == '_') {\n                uVar8 = uVar8 + 1;\n                goto LAB_00286490;\n              }\n            }\n            iVar5 = (int)cVar4;\n            if ((byte)(cVar4 - 0x30U) < 10) break;\nLAB_002864fd:\n            if (0x19 < (byte)((char)iVar5 + 0xbfU)) {\n              return (undefined4 *)0x0;\n            }\n            uVar3 = uVar8;\n            uVar8 = iVar5 + -0x37 + uVar8 * 0x24;\n          }\n        }" { (expression_statement "uVar3 = uVar8;" (assignment_expression "uVar3 = uVar8" identifier = identifier) ;) (expression_statement "uVar8 = iVar5 + -0x30 + uVar8 * 0x24;" (assignment_expression "uVar8 = iVar5 + -0x30 + uVar8 * 0x24" identifier = (binary_expression "iVar5 + -0x30 + uVar8 * 0x24" (binary_expression "iVar5 + -0x30" identifier + number_literal) + (binary_expression "uVar8 * 0x24" identifier * number_literal))) ;) (while_statement "while( true ) {\n            if (uVar8 < uVar3) {\n              return (undefined4 *)0x0;\n            }\n            pcVar2 = *(char **)(param_1 + 0xc);\n            cVar4 = *pcVar2;\n            if (cVar4 != '\0') {\n              *(char **)(param_1 + 0xc) = pcVar2 + 1;\n              cVar4 = *pcVar2;\n              if (cVar4 == '_') {\n                uVar8 = uVar8 + 1;\n                goto LAB_00286490;\n              }\n            }\n            iVar5 = (int)cVar4;\n            if ((byte)(cVar4 - 0x30U) < 10) break;\nLAB_002864fd:\n            if (0x19 < (byte)((char)iVar5 + 0xbfU)) {\n              return (undefined4 *)0x0;\n            }\n            uVar3 = uVar8;\n            uVar8 = iVar5 + -0x37 + uVar8 * 0x24;\n          }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n            if (uVar8 < uVar3) {\n              return (undefined4 *)0x0;\n            }\n            pcVar2 = *(char **)(param_1 + 0xc);\n            cVar4 = *pcVar2;\n            if (cVar4 != '\0') {\n              *(char **)(param_1 + 0xc) = pcVar2 + 1;\n              cVar4 = *pcVar2;\n              if (cVar4 == '_') {\n                uVar8 = uVar8 + 1;\n                goto LAB_00286490;\n              }\n            }\n            iVar5 = (int)cVar4;\n            if ((byte)(cVar4 - 0x30U) < 10) break;\nLAB_002864fd:\n            if (0x19 < (byte)((char)iVar5 + 0xbfU)) {\n              return (undefined4 *)0x0;\n            }\n            uVar3 = uVar8;\n            uVar8 = iVar5 + -0x37 + uVar8 * 0x24;\n          }" { (if_statement "if (uVar8 < uVar3) {\n              return (undefined4 *)0x0;\n            }" if (parenthesized_expression "(uVar8 < uVar3)" ( (binary_expression "uVar8 < uVar3" 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 "pcVar2 = *(char **)(param_1 + 0xc);" (assignment_expression "pcVar2 = *(char **)(param_1 + 0xc)" identifier = (pointer_expression "*(char **)(param_1 + 0xc)" * (cast_expression "(char **)(param_1 + 0xc)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) ))))) ;) (expression_statement "cVar4 = *pcVar2;" (assignment_expression "cVar4 = *pcVar2" identifier = (pointer_expression "*pcVar2" * identifier)) ;) (if_statement "if (cVar4 != '\0') {\n              *(char **)(param_1 + 0xc) = pcVar2 + 1;\n              cVar4 = *pcVar2;\n              if (cVar4 == '_') {\n                uVar8 = uVar8 + 1;\n                goto LAB_00286490;\n              }\n            }" if (parenthesized_expression "(cVar4 != '\0')" ( (binary_expression "cVar4 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n              *(char **)(param_1 + 0xc) = pcVar2 + 1;\n              cVar4 = *pcVar2;\n              if (cVar4 == '_') {\n                uVar8 = uVar8 + 1;\n                goto LAB_00286490;\n              }\n            }" { (expression_statement "*(char **)(param_1 + 0xc) = pcVar2 + 1;" (assignment_expression "*(char **)(param_1 + 0xc) = pcVar2 + 1" (pointer_expression "*(char **)(param_1 + 0xc)" * (cast_expression "(char **)(param_1 + 0xc)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) = (binary_expression "pcVar2 + 1" identifier + number_literal)) ;) (expression_statement "cVar4 = *pcVar2;" (assignment_expression "cVar4 = *pcVar2" identifier = (pointer_expression "*pcVar2" * identifier)) ;) (if_statement "if (cVar4 == '_') {\n                uVar8 = uVar8 + 1;\n                goto LAB_00286490;\n              }" if (parenthesized_expression "(cVar4 == '_')" ( (binary_expression "cVar4 == '_'" identifier == (char_literal "'_'" ' character ')) )) (compound_statement "{\n                uVar8 = uVar8 + 1;\n                goto LAB_00286490;\n              }" { (expression_statement "uVar8 = uVar8 + 1;" (assignment_expression "uVar8 = uVar8 + 1" identifier = (binary_expression "uVar8 + 1" identifier + number_literal)) ;) (goto_statement "goto LAB_00286490;" goto statement_identifier ;) })) })) (expression_statement "iVar5 = (int)cVar4;" (assignment_expression "iVar5 = (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_002864fd:\n            if (0x19 < (byte)((char)iVar5 + 0xbfU)) {\n              return (undefined4 *)0x0;\n            }" statement_identifier : (if_statement "if (0x19 < (byte)((char)iVar5 + 0xbfU)) {\n              return (undefined4 *)0x0;\n            }" if (parenthesized_expression "(0x19 < (byte)((char)iVar5 + 0xbfU))" ( (binary_expression "0x19 < (byte)((char)iVar5 + 0xbfU)" number_literal < (call_expression "(byte)((char)iVar5 + 0xbfU)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "((char)iVar5 + 0xbfU)" ( (binary_expression "(char)iVar5 + 0xbfU" (cast_expression "(char)iVar5" ( (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 "uVar3 = uVar8;" (assignment_expression "uVar3 = uVar8" identifier = identifier) ;) (expression_statement "uVar8 = iVar5 + -0x37 + uVar8 * 0x24;" (assignment_expression "uVar8 = iVar5 + -0x37 + uVar8 * 0x24" identifier = (binary_expression "iVar5 + -0x37 + uVar8 * 0x24" (binary_expression "iVar5 + -0x37" identifier + number_literal) + (binary_expression "uVar8 * 0x24" identifier * number_literal))) ;) })) }) while (parenthesized_expression "( true )" ( true )) ;) })) (if_statement "if ((byte)(cVar4 + 0xbfU) < 0x1a) goto LAB_002864c0;" 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_002864c0;" goto statement_identifier ;)) })) (expression_statement "bVar11 = (*(uint *)(param_1 + 8) & 8) != 0;" (assignment_expression "bVar11 = (*(uint *)(param_1 + 8) & 8) != 0" identifier = (binary_expression "(*(uint *)(param_1 + 8) & 8) != 0" (parenthesized_expression "(*(uint *)(param_1 + 8) & 8)" ( (binary_expression "*(uint *)(param_1 + 8) & 8" (pointer_expression "*(uint *)(param_1 + 8)" * (cast_expression "(uint *)(param_1 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) & number_literal) )) != number_literal)) ;) (if_statement "if ((!bVar11) && ((param_2 & 1) != 0)) {\n      bVar11 = (byte)(**(char **)(param_1 + 0xc) + 0xbdU) < 2 || bVar11;\n    }" if (parenthesized_expression "((!bVar11) && ((param_2 & 1) != 0))" ( (binary_expression "(!bVar11) && ((param_2 & 1) != 0)" (parenthesized_expression "(!bVar11)" ( (unary_expression "!bVar11" ! 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) ))) )) (compound_statement "{\n      bVar11 = (byte)(**(char **)(param_1 + 0xc) + 0xbdU) < 2 || bVar11;\n    }" { (expression_statement "bVar11 = (byte)(**(char **)(param_1 + 0xc) + 0xbdU) < 2 || bVar11;" (assignment_expression "bVar11 = (byte)(**(char **)(param_1 + 0xc) + 0xbdU) < 2 || bVar11" identifier = (binary_expression "(byte)(**(char **)(param_1 + 0xc) + 0xbdU) < 2 || bVar11" (binary_expression "(byte)(**(char **)(param_1 + 0xc) + 0xbdU) < 2" (call_expression "(byte)(**(char **)(param_1 + 0xc) + 0xbdU)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(**(char **)(param_1 + 0xc) + 0xbdU)" ( (binary_expression "**(char **)(param_1 + 0xc) + 0xbdU" (pointer_expression "**(char **)(param_1 + 0xc)" * (pointer_expression "*(char **)(param_1 + 0xc)" * (cast_expression "(char **)(param_1 + 0xc)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) ))))) + number_literal) ))) < number_literal) || identifier)) ;) })) (expression_statement "pcVar2 = "t";" (assignment_expression "pcVar2 = "t"" identifier = (string_literal ""t"" " string_content ")) ;) (expression_statement "cVar7 = 't';" (assignment_expression "cVar7 = 't'" identifier = (char_literal "'t'" ' character ')) ;) (while_statement "while (cVar4 != cVar7) {\n      pcVar2 = pcVar2 + 0x1c;\n      if (pcVar2 == "") {\n        return (undefined4 *)0x0;\n      }\n      cVar7 = *pcVar2;\n    }" while (parenthesized_expression "(cVar4 != cVar7)" ( (binary_expression "cVar4 != cVar7" identifier != identifier) )) (compound_statement "{\n      pcVar2 = pcVar2 + 0x1c;\n      if (pcVar2 == "") {\n        return (undefined4 *)0x0;\n      }\n      cVar7 = *pcVar2;\n    }" { (expression_statement "pcVar2 = pcVar2 + 0x1c;" (assignment_expression "pcVar2 = pcVar2 + 0x1c" identifier = (binary_expression "pcVar2 + 0x1c" identifier + number_literal)) ;) (if_statement "if (pcVar2 == "") {\n        return (undefined4 *)0x0;\n      }" if (parenthesized_expression "(pcVar2 == "")" ( (binary_expression "pcVar2 == """ identifier == (string_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 "cVar7 = *pcVar2;" (assignment_expression "cVar7 = *pcVar2" identifier = (pointer_expression "*pcVar2" * identifier)) ;) })) (expression_statement "iVar5 = *(int *)(pcVar2 + 0x14);" (assignment_expression "iVar5 = *(int *)(pcVar2 + 0x14)" identifier = (pointer_expression "*(int *)(pcVar2 + 0x14)" * (cast_expression "(int *)(pcVar2 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar2 + 0x14)" ( (binary_expression "pcVar2 + 0x14" identifier + number_literal) ))))) ;) (expression_statement "iVar6 = *(int *)(param_1 + 0x14);" (assignment_expression "iVar6 = *(int *)(param_1 + 0x14)" identifier = (pointer_expression "*(int *)(param_1 + 0x14)" * (cast_expression "(int *)(param_1 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) ))))) ;) (expression_statement "iVar1 = *(int *)(param_1 + 0x18);" (assignment_expression "iVar1 = *(int *)(param_1 + 0x18)" identifier = (pointer_expression "*(int *)(param_1 + 0x18)" * (cast_expression "(int *)(param_1 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) ))))) ;) (if_statement "if (iVar5 != 0) {\n      uVar9 = *(undefined4 *)(pcVar2 + 0x18);\n      if (iVar6 < iVar1) {\n        puVar10 = (undefined4 *)(iVar6 * 0x10 + *(int *)(param_1 + 0x10));\n        puVar10[1] = 0;\n        *(int *)(param_1 + 0x14) = iVar6 + 1;\n        *puVar10 = 0x18;\n        puVar10[2] = iVar5;\n        puVar10[3] = uVar9;\n        iVar6 = iVar6 + 1;\n      }\n      else {\n        puVar10 = (undefined4 *)0x0;\n      }\n      *(undefined4 **)(param_1 + 0x28) = puVar10;\n    }" if (parenthesized_expression "(iVar5 != 0)" ( (binary_expression "iVar5 != 0" identifier != number_literal) )) (compound_statement "{\n      uVar9 = *(undefined4 *)(pcVar2 + 0x18);\n      if (iVar6 < iVar1) {\n        puVar10 = (undefined4 *)(iVar6 * 0x10 + *(int *)(param_1 + 0x10));\n        puVar10[1] = 0;\n        *(int *)(param_1 + 0x14) = iVar6 + 1;\n        *puVar10 = 0x18;\n        puVar10[2] = iVar5;\n        puVar10[3] = uVar9;\n        iVar6 = iVar6 + 1;\n      }\n      else {\n        puVar10 = (undefined4 *)0x0;\n      }\n      *(undefined4 **)(param_1 + 0x28) = puVar10;\n    }" { (expression_statement "uVar9 = *(undefined4 *)(pcVar2 + 0x18);" (assignment_expression "uVar9 = *(undefined4 *)(pcVar2 + 0x18)" identifier = (pointer_expression "*(undefined4 *)(pcVar2 + 0x18)" * (cast_expression "(undefined4 *)(pcVar2 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar2 + 0x18)" ( (binary_expression "pcVar2 + 0x18" identifier + number_literal) ))))) ;) (if_statement "if (iVar6 < iVar1) {\n        puVar10 = (undefined4 *)(iVar6 * 0x10 + *(int *)(param_1 + 0x10));\n        puVar10[1] = 0;\n        *(int *)(param_1 + 0x14) = iVar6 + 1;\n        *puVar10 = 0x18;\n        puVar10[2] = iVar5;\n        puVar10[3] = uVar9;\n        iVar6 = iVar6 + 1;\n      }\n      else {\n        puVar10 = (undefined4 *)0x0;\n      }" if (parenthesized_expression "(iVar6 < iVar1)" ( (binary_expression "iVar6 < iVar1" identifier < identifier) )) (compound_statement "{\n        puVar10 = (undefined4 *)(iVar6 * 0x10 + *(int *)(param_1 + 0x10));\n        puVar10[1] = 0;\n        *(int *)(param_1 + 0x14) = iVar6 + 1;\n        *puVar10 = 0x18;\n        puVar10[2] = iVar5;\n        puVar10[3] = uVar9;\n        iVar6 = iVar6 + 1;\n      }" { (expression_statement "puVar10 = (undefined4 *)(iVar6 * 0x10 + *(int *)(param_1 + 0x10));" (assignment_expression "puVar10 = (undefined4 *)(iVar6 * 0x10 + *(int *)(param_1 + 0x10))" identifier = (cast_expression "(undefined4 *)(iVar6 * 0x10 + *(int *)(param_1 + 0x10))" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 * 0x10 + *(int *)(param_1 + 0x10))" ( (binary_expression "iVar6 * 0x10 + *(int *)(param_1 + 0x10)" (binary_expression "iVar6 * 0x10" identifier * number_literal) + (pointer_expression "*(int *)(param_1 + 0x10)" * (cast_expression "(int *)(param_1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) ))))) )))) ;) (expression_statement "puVar10[1] = 0;" (assignment_expression "puVar10[1] = 0" (subscript_expression "puVar10[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(int *)(param_1 + 0x14) = iVar6 + 1;" (assignment_expression "*(int *)(param_1 + 0x14) = iVar6 + 1" (pointer_expression "*(int *)(param_1 + 0x14)" * (cast_expression "(int *)(param_1 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))) = (binary_expression "iVar6 + 1" identifier + number_literal)) ;) (expression_statement "*puVar10 = 0x18;" (assignment_expression "*puVar10 = 0x18" (pointer_expression "*puVar10" * identifier) = number_literal) ;) (expression_statement "puVar10[2] = iVar5;" (assignment_expression "puVar10[2] = iVar5" (subscript_expression "puVar10[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar10[3] = uVar9;" (assignment_expression "puVar10[3] = uVar9" (subscript_expression "puVar10[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "iVar6 = iVar6 + 1;" (assignment_expression "iVar6 = iVar6 + 1" identifier = (binary_expression "iVar6 + 1" identifier + number_literal)) ;) }) (else_clause "else {\n        puVar10 = (undefined4 *)0x0;\n      }" else (compound_statement "{\n        puVar10 = (undefined4 *)0x0;\n      }" { (expression_statement "puVar10 = (undefined4 *)0x0;" (assignment_expression "puVar10 = (undefined4 *)0x0" identifier = (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }))) (expression_statement "*(undefined4 **)(param_1 + 0x28) = puVar10;" (assignment_expression "*(undefined4 **)(param_1 + 0x28) = puVar10" (pointer_expression "*(undefined4 **)(param_1 + 0x28)" * (cast_expression "(undefined4 **)(param_1 + 0x28)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x28)" ( (binary_expression "param_1 + 0x28" identifier + number_literal) )))) = identifier) ;) })) (if_statement "if (bVar11) {\n      uVar9 = *(undefined4 *)(pcVar2 + 0xc);\n      iVar5 = *(int *)(pcVar2 + 0x10);\n    }\n    else {\n      uVar9 = *(undefined4 *)(pcVar2 + 4);\n      iVar5 = *(int *)(pcVar2 + 8);\n    }" if (parenthesized_expression "(bVar11)" ( identifier )) (compound_statement "{\n      uVar9 = *(undefined4 *)(pcVar2 + 0xc);\n      iVar5 = *(int *)(pcVar2 + 0x10);\n    }" { (expression_statement "uVar9 = *(undefined4 *)(pcVar2 + 0xc);" (assignment_expression "uVar9 = *(undefined4 *)(pcVar2 + 0xc)" identifier = (pointer_expression "*(undefined4 *)(pcVar2 + 0xc)" * (cast_expression "(undefined4 *)(pcVar2 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar2 + 0xc)" ( (binary_expression "pcVar2 + 0xc" identifier + number_literal) ))))) ;) (expression_statement "iVar5 = *(int *)(pcVar2 + 0x10);" (assignment_expression "iVar5 = *(int *)(pcVar2 + 0x10)" identifier = (pointer_expression "*(int *)(pcVar2 + 0x10)" * (cast_expression "(int *)(pcVar2 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar2 + 0x10)" ( (binary_expression "pcVar2 + 0x10" identifier + number_literal) ))))) ;) }) (else_clause "else {\n      uVar9 = *(undefined4 *)(pcVar2 + 4);\n      iVar5 = *(int *)(pcVar2 + 8);\n    }" else (compound_statement "{\n      uVar9 = *(undefined4 *)(pcVar2 + 4);\n      iVar5 = *(int *)(pcVar2 + 8);\n    }" { (expression_statement "uVar9 = *(undefined4 *)(pcVar2 + 4);" (assignment_expression "uVar9 = *(undefined4 *)(pcVar2 + 4)" identifier = (pointer_expression "*(undefined4 *)(pcVar2 + 4)" * (cast_expression "(undefined4 *)(pcVar2 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar2 + 4)" ( (binary_expression "pcVar2 + 4" identifier + number_literal) ))))) ;) (expression_statement "iVar5 = *(int *)(pcVar2 + 8);" (assignment_expression "iVar5 = *(int *)(pcVar2 + 8)" identifier = (pointer_expression "*(int *)(pcVar2 + 8)" * (cast_expression "(int *)(pcVar2 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar2 + 8)" ( (binary_expression "pcVar2 + 8" identifier + number_literal) ))))) ;) }))) (expression_statement "*(int *)(param_1 + 0x2c) = *(int *)(param_1 + 0x2c) + iVar5;" (assignment_expression "*(int *)(param_1 + 0x2c) = *(int *)(param_1 + 0x2c) + iVar5" (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) )))) = (binary_expression "*(int *)(param_1 + 0x2c) + iVar5" (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) )))) + identifier)) ;) (if_statement "if (iVar6 < iVar1) {\n      puVar10 = (undefined4 *)(iVar6 * 0x10 + *(int *)(param_1 + 0x10));\n      puVar10[1] = 0;\n      *(int *)(param_1 + 0x14) = iVar6 + 1;\n      *puVar10 = 0x18;\n      puVar10[2] = uVar9;\n      puVar10[3] = iVar5;\n    }\n    else {\n      puVar10 = (undefined4 *)0x0;\n    }" if (parenthesized_expression "(iVar6 < iVar1)" ( (binary_expression "iVar6 < iVar1" identifier < identifier) )) (compound_statement "{\n      puVar10 = (undefined4 *)(iVar6 * 0x10 + *(int *)(param_1 + 0x10));\n      puVar10[1] = 0;\n      *(int *)(param_1 + 0x14) = iVar6 + 1;\n      *puVar10 = 0x18;\n      puVar10[2] = uVar9;\n      puVar10[3] = iVar5;\n    }" { (expression_statement "puVar10 = (undefined4 *)(iVar6 * 0x10 + *(int *)(param_1 + 0x10));" (assignment_expression "puVar10 = (undefined4 *)(iVar6 * 0x10 + *(int *)(param_1 + 0x10))" identifier = (cast_expression "(undefined4 *)(iVar6 * 0x10 + *(int *)(param_1 + 0x10))" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 * 0x10 + *(int *)(param_1 + 0x10))" ( (binary_expression "iVar6 * 0x10 + *(int *)(param_1 + 0x10)" (binary_expression "iVar6 * 0x10" identifier * number_literal) + (pointer_expression "*(int *)(param_1 + 0x10)" * (cast_expression "(int *)(param_1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) ))))) )))) ;) (expression_statement "puVar10[1] = 0;" (assignment_expression "puVar10[1] = 0" (subscript_expression "puVar10[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(int *)(param_1 + 0x14) = iVar6 + 1;" (assignment_expression "*(int *)(param_1 + 0x14) = iVar6 + 1" (pointer_expression "*(int *)(param_1 + 0x14)" * (cast_expression "(int *)(param_1 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))) = (binary_expression "iVar6 + 1" identifier + number_literal)) ;) (expression_statement "*puVar10 = 0x18;" (assignment_expression "*puVar10 = 0x18" (pointer_expression "*puVar10" * identifier) = number_literal) ;) (expression_statement "puVar10[2] = uVar9;" (assignment_expression "puVar10[2] = uVar9" (subscript_expression "puVar10[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar10[3] = iVar5;" (assignment_expression "puVar10[3] = iVar5" (subscript_expression "puVar10[3]" identifier [ number_literal ]) = identifier) ;) }) (else_clause "else {\n      puVar10 = (undefined4 *)0x0;\n    }" else (compound_statement "{\n      puVar10 = (undefined4 *)0x0;\n    }" { (expression_statement "puVar10 = (undefined4 *)0x0;" (assignment_expression "puVar10 = (undefined4 *)0x0" identifier = (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }))) (if_statement "if (**(char **)(param_1 + 0xc) != 'B') {\n      return puVar10;\n    }" if (parenthesized_expression "(**(char **)(param_1 + 0xc) != 'B')" ( (binary_expression "**(char **)(param_1 + 0xc) != 'B'" (pointer_expression "**(char **)(param_1 + 0xc)" * (pointer_expression "*(char **)(param_1 + 0xc)" * (cast_expression "(char **)(param_1 + 0xc)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) ))))) != (char_literal "'B'" ' character ')) )) (compound_statement "{\n      return puVar10;\n    }" { (return_statement "return puVar10;" return identifier ;) })) (expression_statement "puVar10 = (undefined4 *)FUN_00286390();" (assignment_expression "puVar10 = (undefined4 *)FUN_00286390()" identifier = (cast_expression "(undefined4 *)FUN_00286390()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00286390()" identifier (argument_list "()" ( ))))) ;) (if_statement "if ((puVar10 != (undefined4 *)0x0) &&\n       (iVar5 = *(int *)(param_1 + 0x20), iVar5 < *(int *)(param_1 + 0x24))) {\n      *(undefined4 **)(*(int *)(param_1 + 0x1c) + iVar5 * 4) = puVar10;\n      *(int *)(param_1 + 0x20) = iVar5 + 1;\n      return puVar10;\n    }" if (parenthesized_expression "((puVar10 != (undefined4 *)0x0) &&\n       (iVar5 = *(int *)(param_1 + 0x20), iVar5 < *(int *)(param_1 + 0x24)))" ( (binary_expression "(puVar10 != (undefined4 *)0x0) &&\n       (iVar5 = *(int *)(param_1 + 0x20), iVar5 < *(int *)(param_1 + 0x24))" (parenthesized_expression "(puVar10 != (undefined4 *)0x0)" ( (binary_expression "puVar10 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(iVar5 = *(int *)(param_1 + 0x20), iVar5 < *(int *)(param_1 + 0x24))" ( (comma_expression "iVar5 = *(int *)(param_1 + 0x20), iVar5 < *(int *)(param_1 + 0x24)" (assignment_expression "iVar5 = *(int *)(param_1 + 0x20)" identifier = (pointer_expression "*(int *)(param_1 + 0x20)" * (cast_expression "(int *)(param_1 + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) ))))) , (binary_expression "iVar5 < *(int *)(param_1 + 0x24)" identifier < (pointer_expression "*(int *)(param_1 + 0x24)" * (cast_expression "(int *)(param_1 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x24)" ( (binary_expression "param_1 + 0x24" identifier + number_literal) )))))) ))) )) (compound_statement "{\n      *(undefined4 **)(*(int *)(param_1 + 0x1c) + iVar5 * 4) = puVar10;\n      *(int *)(param_1 + 0x20) = iVar5 + 1;\n      return puVar10;\n    }" { (expression_statement "*(undefined4 **)(*(int *)(param_1 + 0x1c) + iVar5 * 4) = puVar10;" (assignment_expression "*(undefined4 **)(*(int *)(param_1 + 0x1c) + iVar5 * 4) = puVar10" (pointer_expression "*(undefined4 **)(*(int *)(param_1 + 0x1c) + iVar5 * 4)" * (cast_expression "(undefined4 **)(*(int *)(param_1 + 0x1c) + iVar5 * 4)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(param_1 + 0x1c) + iVar5 * 4)" ( (binary_expression "*(int *)(param_1 + 0x1c) + iVar5 * 4" (pointer_expression "*(int *)(param_1 + 0x1c)" * (cast_expression "(int *)(param_1 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) )))) + (binary_expression "iVar5 * 4" identifier * number_literal)) )))) = identifier) ;) (expression_statement "*(int *)(param_1 + 0x20) = iVar5 + 1;" (assignment_expression "*(int *)(param_1 + 0x20) = iVar5 + 1" (pointer_expression "*(int *)(param_1 + 0x20)" * (cast_expression "(int *)(param_1 + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) )))) = (binary_expression "iVar5 + 1" identifier + number_literal)) ;) (return_statement "return puVar10;" return identifier ;) })) })) (return_statement "return (undefined4 *)0x0;" return (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ;) }))
(translation_unit (ERROR (binary_expression IDENT * (ERROR IDENT) (call_expression IDENT (argument_list ( (ERROR IDENT) IDENT , (ERROR IDENT) IDENT ))))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * 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) )))) <= 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 TYPE (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 = (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 ( (unary_expression ! IDENT) )) && (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_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) || IDENT)) ;) })) (expression_statement (assignment_expression IDENT = (string_literal " string_content ")) ;) (expression_statement (assignment_expression IDENT = (char_literal ' character ')) ;) (while_statement while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (string_literal " ")) )) (compound_statement { (return_statement return (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression 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 TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT * LIT) + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (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) )))) = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) (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 (binary_expression IDENT * LIT) + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (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) )))) = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression (subscript_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 ( ))))) ;) (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 TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + (binary_expression 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) ;) }))
(ERROR "undefined4 * __regparm3 FUN_002863e0(int param_1,uint param_2)" (binary_expression "undefined4 * __regparm3 FUN_002863e0(int param_1,uint param_2)" (identifier "undefined4") (* "*") (ERROR "__regparm3" (identifier "__regparm3")) (call_expression "FUN_002863e0(int param_1,uint param_2)" (identifier "FUN_002863e0") (argument_list "(int param_1,uint param_2)" (( "(") (ERROR "int" (identifier "int")) (identifier "param_1") (, ",") (ERROR "uint" (identifier "uint")) (identifier "param_2") () ")"))))) (compound_statement "{\n  int iVar1;\n  char *pcVar2;\n  uint uVar3;\n  char cVar4;\n  int iVar5;\n  int iVar6;\n  char cVar7;\n  uint uVar8;\n  undefined4 uVar9;\n  undefined4 *puVar10;\n  bool bVar11;\n  \n  pcVar2 = *(char **)(param_1 + 0xc);\n  if (*pcVar2 == 'S') {\n    *(char **)(param_1 + 0xc) = pcVar2 + 1;\n    cVar4 = pcVar2[1];\n    if (cVar4 != '\0') {\n      *(char **)(param_1 + 0xc) = pcVar2 + 2;\n      cVar4 = pcVar2[1];\n      iVar5 = (int)cVar4;\n      if (((byte)(cVar4 - 0x30U) < 10) || (cVar4 == '_')) {\n        uVar8 = 0;\n        if (cVar4 == '_') {\nLAB_00286490:\n          if (*(uint *)(param_1 + 0x20) <= uVar8) {\n            return (undefined4 *)0x0;\n          }\n          return *(undefined4 **)(*(int *)(param_1 + 0x1c) + uVar8 * 4);\n        }\nLAB_002864c0:\n        uVar8 = 0;\n        if (9 < (byte)(cVar4 - 0x30U)) goto LAB_002864fd;\n        do {\n          uVar3 = uVar8;\n          uVar8 = iVar5 + -0x30 + uVar8 * 0x24;\n          while( true ) {\n            if (uVar8 < uVar3) {\n              return (undefined4 *)0x0;\n            }\n            pcVar2 = *(char **)(param_1 + 0xc);\n            cVar4 = *pcVar2;\n            if (cVar4 != '\0') {\n              *(char **)(param_1 + 0xc) = pcVar2 + 1;\n              cVar4 = *pcVar2;\n              if (cVar4 == '_') {\n                uVar8 = uVar8 + 1;\n                goto LAB_00286490;\n              }\n            }\n            iVar5 = (int)cVar4;\n            if ((byte)(cVar4 - 0x30U) < 10) break;\nLAB_002864fd:\n            if (0x19 < (byte)((char)iVar5 + 0xbfU)) {\n              return (undefined4 *)0x0;\n            }\n            uVar3 = uVar8;\n            uVar8 = iVar5 + -0x37 + uVar8 * 0x24;\n          }\n        } while( true );\n      }\n      if ((byte)(cVar4 + 0xbfU) < 0x1a) goto LAB_002864c0;\n    }\n    bVar11 = (*(uint *)(param_1 + 8) & 8) != 0;\n    if ((!bVar11) && ((param_2 & 1) != 0)) {\n      bVar11 = (byte)(**(char **)(param_1 + 0xc) + 0xbdU) < 2 || bVar11;\n    }\n    pcVar2 = "t";\n    cVar7 = 't';\n    while (cVar4 != cVar7) {\n      pcVar2 = pcVar2 + 0x1c;\n      if (pcVar2 == "") {\n        return (undefined4 *)0x0;\n      }\n      cVar7 = *pcVar2;\n    }\n    iVar5 = *(int *)(pcVar2 + 0x14);\n    iVar6 = *(int *)(param_1 + 0x14);\n    iVar1 = *(int *)(param_1 + 0x18);\n    if (iVar5 != 0) {\n      uVar9 = *(undefined4 *)(pcVar2 + 0x18);\n      if (iVar6 < iVar1) {\n        puVar10 = (undefined4 *)(iVar6 * 0x10 + *(int *)(param_1 + 0x10));\n        puVar10[1] = 0;\n        *(int *)(param_1 + 0x14) = iVar6 + 1;\n        *puVar10 = 0x18;\n        puVar10[2] = iVar5;\n        puVar10[3] = uVar9;\n        iVar6 = iVar6 + 1;\n      }\n      else {\n        puVar10 = (undefined4 *)0x0;\n      }\n      *(undefined4 **)(param_1 + 0x28) = puVar10;\n    }\n    if (bVar11) {\n      uVar9 = *(undefined4 *)(pcVar2 + 0xc);\n      iVar5 = *(int *)(pcVar2 + 0x10);\n    }\n    else {\n      uVar9 = *(undefined4 *)(pcVar2 + 4);\n      iVar5 = *(int *)(pcVar2 + 8);\n    }\n    *(int *)(param_1 + 0x2c) = *(int *)(param_1 + 0x2c) + iVar5;\n    if (iVar6 < iVar1) {\n      puVar10 = (undefined4 *)(iVar6 * 0x10 + *(int *)(param_1 + 0x10));\n      puVar10[1] = 0;\n      *(int *)(param_1 + 0x14) = iVar6 + 1;\n      *puVar10 = 0x18;\n      puVar10[2] = uVar9;\n      puVar10[3] = iVar5;\n    }\n    else {\n      puVar10 = (undefined4 *)0x0;\n    }\n    if (**(char **)(param_1 + 0xc) != 'B') {\n      return puVar10;\n    }\n    puVar10 = (undefined4 *)FUN_00286390();\n    if ((puVar10 != (undefined4 *)0x0) &&\n       (iVar5 = *(int *)(param_1 + 0x20), iVar5 < *(int *)(param_1 + 0x24))) {\n      *(undefined4 **)(*(int *)(param_1 + 0x1c) + iVar5 * 4) = puVar10;\n      *(int *)(param_1 + 0x20) = iVar5 + 1;\n      return puVar10;\n    }\n  }\n  return (undefined4 *)0x0;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "char *pcVar2;" (primitive_type "char") (pointer_declarator "*pcVar2" (* "*") (identifier "pcVar2")) (; ";")) (declaration "uint uVar3;" (type_identifier "uint") (identifier "uVar3") (; ";")) (declaration "char cVar4;" (primitive_type "char") (identifier "cVar4") (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "char cVar7;" (primitive_type "char") (identifier "cVar7") (; ";")) (declaration "uint uVar8;" (type_identifier "uint") (identifier "uVar8") (; ";")) (declaration "undefined4 uVar9;" (type_identifier "undefined4") (identifier "uVar9") (; ";")) (declaration "undefined4 *puVar10;" (type_identifier "undefined4") (pointer_declarator "*puVar10" (* "*") (identifier "puVar10")) (; ";")) (declaration "bool bVar11;" (primitive_type "bool") (identifier "bVar11") (; ";")) (expression_statement "pcVar2 = *(char **)(param_1 + 0xc);" (assignment_expression "pcVar2 = *(char **)(param_1 + 0xc)" (identifier "pcVar2") (= "=") (pointer_expression "*(char **)(param_1 + 0xc)" (* "*") (cast_expression "(char **)(param_1 + 0xc)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0xc)" (( "(") (binary_expression "param_1 + 0xc" (identifier "param_1") (+ "+") (number_literal "0xc")) () ")"))))) (; ";")) (if_statement "if (*pcVar2 == 'S') {\n    *(char **)(param_1 + 0xc) = pcVar2 + 1;\n    cVar4 = pcVar2[1];\n    if (cVar4 != '\0') {\n      *(char **)(param_1 + 0xc) = pcVar2 + 2;\n      cVar4 = pcVar2[1];\n      iVar5 = (int)cVar4;\n      if (((byte)(cVar4 - 0x30U) < 10) || (cVar4 == '_')) {\n        uVar8 = 0;\n        if (cVar4 == '_') {\nLAB_00286490:\n          if (*(uint *)(param_1 + 0x20) <= uVar8) {\n            return (undefined4 *)0x0;\n          }\n          return *(undefined4 **)(*(int *)(param_1 + 0x1c) + uVar8 * 4);\n        }\nLAB_002864c0:\n        uVar8 = 0;\n        if (9 < (byte)(cVar4 - 0x30U)) goto LAB_002864fd;\n        do {\n          uVar3 = uVar8;\n          uVar8 = iVar5 + -0x30 + uVar8 * 0x24;\n          while( true ) {\n            if (uVar8 < uVar3) {\n              return (undefined4 *)0x0;\n            }\n            pcVar2 = *(char **)(param_1 + 0xc);\n            cVar4 = *pcVar2;\n            if (cVar4 != '\0') {\n              *(char **)(param_1 + 0xc) = pcVar2 + 1;\n              cVar4 = *pcVar2;\n              if (cVar4 == '_') {\n                uVar8 = uVar8 + 1;\n                goto LAB_00286490;\n              }\n            }\n            iVar5 = (int)cVar4;\n            if ((byte)(cVar4 - 0x30U) < 10) break;\nLAB_002864fd:\n            if (0x19 < (byte)((char)iVar5 + 0xbfU)) {\n              return (undefined4 *)0x0;\n            }\n            uVar3 = uVar8;\n            uVar8 = iVar5 + -0x37 + uVar8 * 0x24;\n          }\n        } while( true );\n      }\n      if ((byte)(cVar4 + 0xbfU) < 0x1a) goto LAB_002864c0;\n    }\n    bVar11 = (*(uint *)(param_1 + 8) & 8) != 0;\n    if ((!bVar11) && ((param_2 & 1) != 0)) {\n      bVar11 = (byte)(**(char **)(param_1 + 0xc) + 0xbdU) < 2 || bVar11;\n    }\n    pcVar2 = "t";\n    cVar7 = 't';\n    while (cVar4 != cVar7) {\n      pcVar2 = pcVar2 + 0x1c;\n      if (pcVar2 == "") {\n        return (undefined4 *)0x0;\n      }\n      cVar7 = *pcVar2;\n    }\n    iVar5 = *(int *)(pcVar2 + 0x14);\n    iVar6 = *(int *)(param_1 + 0x14);\n    iVar1 = *(int *)(param_1 + 0x18);\n    if (iVar5 != 0) {\n      uVar9 = *(undefined4 *)(pcVar2 + 0x18);\n      if (iVar6 < iVar1) {\n        puVar10 = (undefined4 *)(iVar6 * 0x10 + *(int *)(param_1 + 0x10));\n        puVar10[1] = 0;\n        *(int *)(param_1 + 0x14) = iVar6 + 1;\n        *puVar10 = 0x18;\n        puVar10[2] = iVar5;\n        puVar10[3] = uVar9;\n        iVar6 = iVar6 + 1;\n      }\n      else {\n        puVar10 = (undefined4 *)0x0;\n      }\n      *(undefined4 **)(param_1 + 0x28) = puVar10;\n    }\n    if (bVar11) {\n      uVar9 = *(undefined4 *)(pcVar2 + 0xc);\n      iVar5 = *(int *)(pcVar2 + 0x10);\n    }\n    else {\n      uVar9 = *(undefined4 *)(pcVar2 + 4);\n      iVar5 = *(int *)(pcVar2 + 8);\n    }\n    *(int *)(param_1 + 0x2c) = *(int *)(param_1 + 0x2c) + iVar5;\n    if (iVar6 < iVar1) {\n      puVar10 = (undefined4 *)(iVar6 * 0x10 + *(int *)(param_1 + 0x10));\n      puVar10[1] = 0;\n      *(int *)(param_1 + 0x14) = iVar6 + 1;\n      *puVar10 = 0x18;\n      puVar10[2] = uVar9;\n      puVar10[3] = iVar5;\n    }\n    else {\n      puVar10 = (undefined4 *)0x0;\n    }\n    if (**(char **)(param_1 + 0xc) != 'B') {\n      return puVar10;\n    }\n    puVar10 = (undefined4 *)FUN_00286390();\n    if ((puVar10 != (undefined4 *)0x0) &&\n       (iVar5 = *(int *)(param_1 + 0x20), iVar5 < *(int *)(param_1 + 0x24))) {\n      *(undefined4 **)(*(int *)(param_1 + 0x1c) + iVar5 * 4) = puVar10;\n      *(int *)(param_1 + 0x20) = iVar5 + 1;\n      return puVar10;\n    }\n  }" (if "if") (parenthesized_expression "(*pcVar2 == 'S')" (( "(") (binary_expression "*pcVar2 == 'S'" (pointer_expression "*pcVar2" (* "*") (identifier "pcVar2")) (== "==") (char_literal "'S'" (' "'") (character "S") (' "'"))) () ")")) (compound_statement "{\n    *(char **)(param_1 + 0xc) = pcVar2 + 1;\n    cVar4 = pcVar2[1];\n    if (cVar4 != '\0') {\n      *(char **)(param_1 + 0xc) = pcVar2 + 2;\n      cVar4 = pcVar2[1];\n      iVar5 = (int)cVar4;\n      if (((byte)(cVar4 - 0x30U) < 10) || (cVar4 == '_')) {\n        uVar8 = 0;\n        if (cVar4 == '_') {\nLAB_00286490:\n          if (*(uint *)(param_1 + 0x20) <= uVar8) {\n            return (undefined4 *)0x0;\n          }\n          return *(undefined4 **)(*(int *)(param_1 + 0x1c) + uVar8 * 4);\n        }\nLAB_002864c0:\n        uVar8 = 0;\n        if (9 < (byte)(cVar4 - 0x30U)) goto LAB_002864fd;\n        do {\n          uVar3 = uVar8;\n          uVar8 = iVar5 + -0x30 + uVar8 * 0x24;\n          while( true ) {\n            if (uVar8 < uVar3) {\n              return (undefined4 *)0x0;\n            }\n            pcVar2 = *(char **)(param_1 + 0xc);\n            cVar4 = *pcVar2;\n            if (cVar4 != '\0') {\n              *(char **)(param_1 + 0xc) = pcVar2 + 1;\n              cVar4 = *pcVar2;\n              if (cVar4 == '_') {\n                uVar8 = uVar8 + 1;\n                goto LAB_00286490;\n              }\n            }\n            iVar5 = (int)cVar4;\n            if ((byte)(cVar4 - 0x30U) < 10) break;\nLAB_002864fd:\n            if (0x19 < (byte)((char)iVar5 + 0xbfU)) {\n              return (undefined4 *)0x0;\n            }\n            uVar3 = uVar8;\n            uVar8 = iVar5 + -0x37 + uVar8 * 0x24;\n          }\n        } while( true );\n      }\n      if ((byte)(cVar4 + 0xbfU) < 0x1a) goto LAB_002864c0;\n    }\n    bVar11 = (*(uint *)(param_1 + 8) & 8) != 0;\n    if ((!bVar11) && ((param_2 & 1) != 0)) {\n      bVar11 = (byte)(**(char **)(param_1 + 0xc) + 0xbdU) < 2 || bVar11;\n    }\n    pcVar2 = "t";\n    cVar7 = 't';\n    while (cVar4 != cVar7) {\n      pcVar2 = pcVar2 + 0x1c;\n      if (pcVar2 == "") {\n        return (undefined4 *)0x0;\n      }\n      cVar7 = *pcVar2;\n    }\n    iVar5 = *(int *)(pcVar2 + 0x14);\n    iVar6 = *(int *)(param_1 + 0x14);\n    iVar1 = *(int *)(param_1 + 0x18);\n    if (iVar5 != 0) {\n      uVar9 = *(undefined4 *)(pcVar2 + 0x18);\n      if (iVar6 < iVar1) {\n        puVar10 = (undefined4 *)(iVar6 * 0x10 + *(int *)(param_1 + 0x10));\n        puVar10[1] = 0;\n        *(int *)(param_1 + 0x14) = iVar6 + 1;\n        *puVar10 = 0x18;\n        puVar10[2] = iVar5;\n        puVar10[3] = uVar9;\n        iVar6 = iVar6 + 1;\n      }\n      else {\n        puVar10 = (undefined4 *)0x0;\n      }\n      *(undefined4 **)(param_1 + 0x28) = puVar10;\n    }\n    if (bVar11) {\n      uVar9 = *(undefined4 *)(pcVar2 + 0xc);\n      iVar5 = *(int *)(pcVar2 + 0x10);\n    }\n    else {\n      uVar9 = *(undefined4 *)(pcVar2 + 4);\n      iVar5 = *(int *)(pcVar2 + 8);\n    }\n    *(int *)(param_1 + 0x2c) = *(int *)(param_1 + 0x2c) + iVar5;\n    if (iVar6 < iVar1) {\n      puVar10 = (undefined4 *)(iVar6 * 0x10 + *(int *)(param_1 + 0x10));\n      puVar10[1] = 0;\n      *(int *)(param_1 + 0x14) = iVar6 + 1;\n      *puVar10 = 0x18;\n      puVar10[2] = uVar9;\n      puVar10[3] = iVar5;\n    }\n    else {\n      puVar10 = (undefined4 *)0x0;\n    }\n    if (**(char **)(param_1 + 0xc) != 'B') {\n      return puVar10;\n    }\n    puVar10 = (undefined4 *)FUN_00286390();\n    if ((puVar10 != (undefined4 *)0x0) &&\n       (iVar5 = *(int *)(param_1 + 0x20), iVar5 < *(int *)(param_1 + 0x24))) {\n      *(undefined4 **)(*(int *)(param_1 + 0x1c) + iVar5 * 4) = puVar10;\n      *(int *)(param_1 + 0x20) = iVar5 + 1;\n      return puVar10;\n    }\n  }" ({ "{") (expression_statement "*(char **)(param_1 + 0xc) = pcVar2 + 1;" (assignment_expression "*(char **)(param_1 + 0xc) = pcVar2 + 1" (pointer_expression "*(char **)(param_1 + 0xc)" (* "*") (cast_expression "(char **)(param_1 + 0xc)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0xc)" (( "(") (binary_expression "param_1 + 0xc" (identifier "param_1") (+ "+") (number_literal "0xc")) () ")")))) (= "=") (binary_expression "pcVar2 + 1" (identifier "pcVar2") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "cVar4 = pcVar2[1];" (assignment_expression "cVar4 = pcVar2[1]" (identifier "cVar4") (= "=") (subscript_expression "pcVar2[1]" (identifier "pcVar2") ([ "[") (number_literal "1") (] "]"))) (; ";")) (if_statement "if (cVar4 != '\0') {\n      *(char **)(param_1 + 0xc) = pcVar2 + 2;\n      cVar4 = pcVar2[1];\n      iVar5 = (int)cVar4;\n      if (((byte)(cVar4 - 0x30U) < 10) || (cVar4 == '_')) {\n        uVar8 = 0;\n        if (cVar4 == '_') {\nLAB_00286490:\n          if (*(uint *)(param_1 + 0x20) <= uVar8) {\n            return (undefined4 *)0x0;\n          }\n          return *(undefined4 **)(*(int *)(param_1 + 0x1c) + uVar8 * 4);\n        }\nLAB_002864c0:\n        uVar8 = 0;\n        if (9 < (byte)(cVar4 - 0x30U)) goto LAB_002864fd;\n        do {\n          uVar3 = uVar8;\n          uVar8 = iVar5 + -0x30 + uVar8 * 0x24;\n          while( true ) {\n            if (uVar8 < uVar3) {\n              return (undefined4 *)0x0;\n            }\n            pcVar2 = *(char **)(param_1 + 0xc);\n            cVar4 = *pcVar2;\n            if (cVar4 != '\0') {\n              *(char **)(param_1 + 0xc) = pcVar2 + 1;\n              cVar4 = *pcVar2;\n              if (cVar4 == '_') {\n                uVar8 = uVar8 + 1;\n                goto LAB_00286490;\n              }\n            }\n            iVar5 = (int)cVar4;\n            if ((byte)(cVar4 - 0x30U) < 10) break;\nLAB_002864fd:\n            if (0x19 < (byte)((char)iVar5 + 0xbfU)) {\n              return (undefined4 *)0x0;\n            }\n            uVar3 = uVar8;\n            uVar8 = iVar5 + -0x37 + uVar8 * 0x24;\n          }\n        } while( true );\n      }\n      if ((byte)(cVar4 + 0xbfU) < 0x1a) goto LAB_002864c0;\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 + 0xc) = pcVar2 + 2;\n      cVar4 = pcVar2[1];\n      iVar5 = (int)cVar4;\n      if (((byte)(cVar4 - 0x30U) < 10) || (cVar4 == '_')) {\n        uVar8 = 0;\n        if (cVar4 == '_') {\nLAB_00286490:\n          if (*(uint *)(param_1 + 0x20) <= uVar8) {\n            return (undefined4 *)0x0;\n          }\n          return *(undefined4 **)(*(int *)(param_1 + 0x1c) + uVar8 * 4);\n        }\nLAB_002864c0:\n        uVar8 = 0;\n        if (9 < (byte)(cVar4 - 0x30U)) goto LAB_002864fd;\n        do {\n          uVar3 = uVar8;\n          uVar8 = iVar5 + -0x30 + uVar8 * 0x24;\n          while( true ) {\n            if (uVar8 < uVar3) {\n              return (undefined4 *)0x0;\n            }\n            pcVar2 = *(char **)(param_1 + 0xc);\n            cVar4 = *pcVar2;\n            if (cVar4 != '\0') {\n              *(char **)(param_1 + 0xc) = pcVar2 + 1;\n              cVar4 = *pcVar2;\n              if (cVar4 == '_') {\n                uVar8 = uVar8 + 1;\n                goto LAB_00286490;\n              }\n            }\n            iVar5 = (int)cVar4;\n            if ((byte)(cVar4 - 0x30U) < 10) break;\nLAB_002864fd:\n            if (0x19 < (byte)((char)iVar5 + 0xbfU)) {\n              return (undefined4 *)0x0;\n            }\n            uVar3 = uVar8;\n            uVar8 = iVar5 + -0x37 + uVar8 * 0x24;\n          }\n        } while( true );\n      }\n      if ((byte)(cVar4 + 0xbfU) < 0x1a) goto LAB_002864c0;\n    }" ({ "{") (expression_statement "*(char **)(param_1 + 0xc) = pcVar2 + 2;" (assignment_expression "*(char **)(param_1 + 0xc) = pcVar2 + 2" (pointer_expression "*(char **)(param_1 + 0xc)" (* "*") (cast_expression "(char **)(param_1 + 0xc)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0xc)" (( "(") (binary_expression "param_1 + 0xc" (identifier "param_1") (+ "+") (number_literal "0xc")) () ")")))) (= "=") (binary_expression "pcVar2 + 2" (identifier "pcVar2") (+ "+") (number_literal "2"))) (; ";")) (expression_statement "cVar4 = pcVar2[1];" (assignment_expression "cVar4 = pcVar2[1]" (identifier "cVar4") (= "=") (subscript_expression "pcVar2[1]" (identifier "pcVar2") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "iVar5 = (int)cVar4;" (assignment_expression "iVar5 = (int)cVar4" (identifier "iVar5") (= "=") (cast_expression "(int)cVar4" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "cVar4"))) (; ";")) (if_statement "if (((byte)(cVar4 - 0x30U) < 10) || (cVar4 == '_')) {\n        uVar8 = 0;\n        if (cVar4 == '_') {\nLAB_00286490:\n          if (*(uint *)(param_1 + 0x20) <= uVar8) {\n            return (undefined4 *)0x0;\n          }\n          return *(undefined4 **)(*(int *)(param_1 + 0x1c) + uVar8 * 4);\n        }\nLAB_002864c0:\n        uVar8 = 0;\n        if (9 < (byte)(cVar4 - 0x30U)) goto LAB_002864fd;\n        do {\n          uVar3 = uVar8;\n          uVar8 = iVar5 + -0x30 + uVar8 * 0x24;\n          while( true ) {\n            if (uVar8 < uVar3) {\n              return (undefined4 *)0x0;\n            }\n            pcVar2 = *(char **)(param_1 + 0xc);\n            cVar4 = *pcVar2;\n            if (cVar4 != '\0') {\n              *(char **)(param_1 + 0xc) = pcVar2 + 1;\n              cVar4 = *pcVar2;\n              if (cVar4 == '_') {\n                uVar8 = uVar8 + 1;\n                goto LAB_00286490;\n              }\n            }\n            iVar5 = (int)cVar4;\n            if ((byte)(cVar4 - 0x30U) < 10) break;\nLAB_002864fd:\n            if (0x19 < (byte)((char)iVar5 + 0xbfU)) {\n              return (undefined4 *)0x0;\n            }\n            uVar3 = uVar8;\n            uVar8 = iVar5 + -0x37 + uVar8 * 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        uVar8 = 0;\n        if (cVar4 == '_') {\nLAB_00286490:\n          if (*(uint *)(param_1 + 0x20) <= uVar8) {\n            return (undefined4 *)0x0;\n          }\n          return *(undefined4 **)(*(int *)(param_1 + 0x1c) + uVar8 * 4);\n        }\nLAB_002864c0:\n        uVar8 = 0;\n        if (9 < (byte)(cVar4 - 0x30U)) goto LAB_002864fd;\n        do {\n          uVar3 = uVar8;\n          uVar8 = iVar5 + -0x30 + uVar8 * 0x24;\n          while( true ) {\n            if (uVar8 < uVar3) {\n              return (undefined4 *)0x0;\n            }\n            pcVar2 = *(char **)(param_1 + 0xc);\n            cVar4 = *pcVar2;\n            if (cVar4 != '\0') {\n              *(char **)(param_1 + 0xc) = pcVar2 + 1;\n              cVar4 = *pcVar2;\n              if (cVar4 == '_') {\n                uVar8 = uVar8 + 1;\n                goto LAB_00286490;\n              }\n            }\n            iVar5 = (int)cVar4;\n            if ((byte)(cVar4 - 0x30U) < 10) break;\nLAB_002864fd:\n            if (0x19 < (byte)((char)iVar5 + 0xbfU)) {\n              return (undefined4 *)0x0;\n            }\n            uVar3 = uVar8;\n            uVar8 = iVar5 + -0x37 + uVar8 * 0x24;\n          }\n        } while( true );\n      }" ({ "{") (expression_statement "uVar8 = 0;" (assignment_expression "uVar8 = 0" (identifier "uVar8") (= "=") (number_literal "0")) (; ";")) (if_statement "if (cVar4 == '_') {\nLAB_00286490:\n          if (*(uint *)(param_1 + 0x20) <= uVar8) {\n            return (undefined4 *)0x0;\n          }\n          return *(undefined4 **)(*(int *)(param_1 + 0x1c) + uVar8 * 4);\n        }" (if "if") (parenthesized_expression "(cVar4 == '_')" (( "(") (binary_expression "cVar4 == '_'" (identifier "cVar4") (== "==") (char_literal "'_'" (' "'") (character "_") (' "'"))) () ")")) (compound_statement "{\nLAB_00286490:\n          if (*(uint *)(param_1 + 0x20) <= uVar8) {\n            return (undefined4 *)0x0;\n          }\n          return *(undefined4 **)(*(int *)(param_1 + 0x1c) + uVar8 * 4);\n        }" ({ "{") (labeled_statement "LAB_00286490:\n          if (*(uint *)(param_1 + 0x20) <= uVar8) {\n            return (undefined4 *)0x0;\n          }" (statement_identifier "LAB_00286490") (: ":") (if_statement "if (*(uint *)(param_1 + 0x20) <= uVar8) {\n            return (undefined4 *)0x0;\n          }" (if "if") (parenthesized_expression "(*(uint *)(param_1 + 0x20) <= uVar8)" (( "(") (binary_expression "*(uint *)(param_1 + 0x20) <= uVar8" (pointer_expression "*(uint *)(param_1 + 0x20)" (* "*") (cast_expression "(uint *)(param_1 + 0x20)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x20)" (( "(") (binary_expression "param_1 + 0x20" (identifier "param_1") (+ "+") (number_literal "0x20")) () ")")))) (<= "<=") (identifier "uVar8")) () ")")) (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 **)(*(int *)(param_1 + 0x1c) + uVar8 * 4);" (return "return") (pointer_expression "*(undefined4 **)(*(int *)(param_1 + 0x1c) + uVar8 * 4)" (* "*") (cast_expression "(undefined4 **)(*(int *)(param_1 + 0x1c) + uVar8 * 4)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*(int *)(param_1 + 0x1c) + uVar8 * 4)" (( "(") (binary_expression "*(int *)(param_1 + 0x1c) + uVar8 * 4" (pointer_expression "*(int *)(param_1 + 0x1c)" (* "*") (cast_expression "(int *)(param_1 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1c)" (( "(") (binary_expression "param_1 + 0x1c" (identifier "param_1") (+ "+") (number_literal "0x1c")) () ")")))) (+ "+") (binary_expression "uVar8 * 4" (identifier "uVar8") (* "*") (number_literal "4"))) () ")")))) (; ";")) (} "}"))) (labeled_statement "LAB_002864c0:\n        uVar8 = 0;" (statement_identifier "LAB_002864c0") (: ":") (expression_statement "uVar8 = 0;" (assignment_expression "uVar8 = 0" (identifier "uVar8") (= "=") (number_literal "0")) (; ";"))) (if_statement "if (9 < (byte)(cVar4 - 0x30U)) goto LAB_002864fd;" (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_002864fd;" (goto "goto") (statement_identifier "LAB_002864fd") (; ";"))) (do_statement "do {\n          uVar3 = uVar8;\n          uVar8 = iVar5 + -0x30 + uVar8 * 0x24;\n          while( true ) {\n            if (uVar8 < uVar3) {\n              return (undefined4 *)0x0;\n            }\n            pcVar2 = *(char **)(param_1 + 0xc);\n            cVar4 = *pcVar2;\n            if (cVar4 != '\0') {\n              *(char **)(param_1 + 0xc) = pcVar2 + 1;\n              cVar4 = *pcVar2;\n              if (cVar4 == '_') {\n                uVar8 = uVar8 + 1;\n                goto LAB_00286490;\n              }\n            }\n            iVar5 = (int)cVar4;\n            if ((byte)(cVar4 - 0x30U) < 10) break;\nLAB_002864fd:\n            if (0x19 < (byte)((char)iVar5 + 0xbfU)) {\n              return (undefined4 *)0x0;\n            }\n            uVar3 = uVar8;\n            uVar8 = iVar5 + -0x37 + uVar8 * 0x24;\n          }\n        } while( true );" (do "do") (compound_statement "{\n          uVar3 = uVar8;\n          uVar8 = iVar5 + -0x30 + uVar8 * 0x24;\n          while( true ) {\n            if (uVar8 < uVar3) {\n              return (undefined4 *)0x0;\n            }\n            pcVar2 = *(char **)(param_1 + 0xc);\n            cVar4 = *pcVar2;\n            if (cVar4 != '\0') {\n              *(char **)(param_1 + 0xc) = pcVar2 + 1;\n              cVar4 = *pcVar2;\n              if (cVar4 == '_') {\n                uVar8 = uVar8 + 1;\n                goto LAB_00286490;\n              }\n            }\n            iVar5 = (int)cVar4;\n            if ((byte)(cVar4 - 0x30U) < 10) break;\nLAB_002864fd:\n            if (0x19 < (byte)((char)iVar5 + 0xbfU)) {\n              return (undefined4 *)0x0;\n            }\n            uVar3 = uVar8;\n            uVar8 = iVar5 + -0x37 + uVar8 * 0x24;\n          }\n        }" ({ "{") (expression_statement "uVar3 = uVar8;" (assignment_expression "uVar3 = uVar8" (identifier "uVar3") (= "=") (identifier "uVar8")) (; ";")) (expression_statement "uVar8 = iVar5 + -0x30 + uVar8 * 0x24;" (assignment_expression "uVar8 = iVar5 + -0x30 + uVar8 * 0x24" (identifier "uVar8") (= "=") (binary_expression "iVar5 + -0x30 + uVar8 * 0x24" (binary_expression "iVar5 + -0x30" (identifier "iVar5") (+ "+") (number_literal "-0x30")) (+ "+") (binary_expression "uVar8 * 0x24" (identifier "uVar8") (* "*") (number_literal "0x24")))) (; ";")) (while_statement "while( true ) {\n            if (uVar8 < uVar3) {\n              return (undefined4 *)0x0;\n            }\n            pcVar2 = *(char **)(param_1 + 0xc);\n            cVar4 = *pcVar2;\n            if (cVar4 != '\0') {\n              *(char **)(param_1 + 0xc) = pcVar2 + 1;\n              cVar4 = *pcVar2;\n              if (cVar4 == '_') {\n                uVar8 = uVar8 + 1;\n                goto LAB_00286490;\n              }\n            }\n            iVar5 = (int)cVar4;\n            if ((byte)(cVar4 - 0x30U) < 10) break;\nLAB_002864fd:\n            if (0x19 < (byte)((char)iVar5 + 0xbfU)) {\n              return (undefined4 *)0x0;\n            }\n            uVar3 = uVar8;\n            uVar8 = iVar5 + -0x37 + uVar8 * 0x24;\n          }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n            if (uVar8 < uVar3) {\n              return (undefined4 *)0x0;\n            }\n            pcVar2 = *(char **)(param_1 + 0xc);\n            cVar4 = *pcVar2;\n            if (cVar4 != '\0') {\n              *(char **)(param_1 + 0xc) = pcVar2 + 1;\n              cVar4 = *pcVar2;\n              if (cVar4 == '_') {\n                uVar8 = uVar8 + 1;\n                goto LAB_00286490;\n              }\n            }\n            iVar5 = (int)cVar4;\n            if ((byte)(cVar4 - 0x30U) < 10) break;\nLAB_002864fd:\n            if (0x19 < (byte)((char)iVar5 + 0xbfU)) {\n              return (undefined4 *)0x0;\n            }\n            uVar3 = uVar8;\n            uVar8 = iVar5 + -0x37 + uVar8 * 0x24;\n          }" ({ "{") (if_statement "if (uVar8 < uVar3) {\n              return (undefined4 *)0x0;\n            }" (if "if") (parenthesized_expression "(uVar8 < uVar3)" (( "(") (binary_expression "uVar8 < uVar3" (identifier "uVar8") (< "<") (identifier "uVar3")) () ")")) (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 "pcVar2 = *(char **)(param_1 + 0xc);" (assignment_expression "pcVar2 = *(char **)(param_1 + 0xc)" (identifier "pcVar2") (= "=") (pointer_expression "*(char **)(param_1 + 0xc)" (* "*") (cast_expression "(char **)(param_1 + 0xc)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0xc)" (( "(") (binary_expression "param_1 + 0xc" (identifier "param_1") (+ "+") (number_literal "0xc")) () ")"))))) (; ";")) (expression_statement "cVar4 = *pcVar2;" (assignment_expression "cVar4 = *pcVar2" (identifier "cVar4") (= "=") (pointer_expression "*pcVar2" (* "*") (identifier "pcVar2"))) (; ";")) (if_statement "if (cVar4 != '\0') {\n              *(char **)(param_1 + 0xc) = pcVar2 + 1;\n              cVar4 = *pcVar2;\n              if (cVar4 == '_') {\n                uVar8 = uVar8 + 1;\n                goto LAB_00286490;\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 + 0xc) = pcVar2 + 1;\n              cVar4 = *pcVar2;\n              if (cVar4 == '_') {\n                uVar8 = uVar8 + 1;\n                goto LAB_00286490;\n              }\n            }" ({ "{") (expression_statement "*(char **)(param_1 + 0xc) = pcVar2 + 1;" (assignment_expression "*(char **)(param_1 + 0xc) = pcVar2 + 1" (pointer_expression "*(char **)(param_1 + 0xc)" (* "*") (cast_expression "(char **)(param_1 + 0xc)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0xc)" (( "(") (binary_expression "param_1 + 0xc" (identifier "param_1") (+ "+") (number_literal "0xc")) () ")")))) (= "=") (binary_expression "pcVar2 + 1" (identifier "pcVar2") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "cVar4 = *pcVar2;" (assignment_expression "cVar4 = *pcVar2" (identifier "cVar4") (= "=") (pointer_expression "*pcVar2" (* "*") (identifier "pcVar2"))) (; ";")) (if_statement "if (cVar4 == '_') {\n                uVar8 = uVar8 + 1;\n                goto LAB_00286490;\n              }" (if "if") (parenthesized_expression "(cVar4 == '_')" (( "(") (binary_expression "cVar4 == '_'" (identifier "cVar4") (== "==") (char_literal "'_'" (' "'") (character "_") (' "'"))) () ")")) (compound_statement "{\n                uVar8 = uVar8 + 1;\n                goto LAB_00286490;\n              }" ({ "{") (expression_statement "uVar8 = uVar8 + 1;" (assignment_expression "uVar8 = uVar8 + 1" (identifier "uVar8") (= "=") (binary_expression "uVar8 + 1" (identifier "uVar8") (+ "+") (number_literal "1"))) (; ";")) (goto_statement "goto LAB_00286490;" (goto "goto") (statement_identifier "LAB_00286490") (; ";")) (} "}"))) (} "}"))) (expression_statement "iVar5 = (int)cVar4;" (assignment_expression "iVar5 = (int)cVar4" (identifier "iVar5") (= "=") (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_002864fd:\n            if (0x19 < (byte)((char)iVar5 + 0xbfU)) {\n              return (undefined4 *)0x0;\n            }" (statement_identifier "LAB_002864fd") (: ":") (if_statement "if (0x19 < (byte)((char)iVar5 + 0xbfU)) {\n              return (undefined4 *)0x0;\n            }" (if "if") (parenthesized_expression "(0x19 < (byte)((char)iVar5 + 0xbfU))" (( "(") (binary_expression "0x19 < (byte)((char)iVar5 + 0xbfU)" (number_literal "0x19") (< "<") (call_expression "(byte)((char)iVar5 + 0xbfU)" (parenthesized_expression "(byte)" (( "(") (identifier "byte") () ")")) (argument_list "((char)iVar5 + 0xbfU)" (( "(") (binary_expression "(char)iVar5 + 0xbfU" (cast_expression "(char)iVar5" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "iVar5")) (+ "+") (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 "uVar3 = uVar8;" (assignment_expression "uVar3 = uVar8" (identifier "uVar3") (= "=") (identifier "uVar8")) (; ";")) (expression_statement "uVar8 = iVar5 + -0x37 + uVar8 * 0x24;" (assignment_expression "uVar8 = iVar5 + -0x37 + uVar8 * 0x24" (identifier "uVar8") (= "=") (binary_expression "iVar5 + -0x37 + uVar8 * 0x24" (binary_expression "iVar5 + -0x37" (identifier "iVar5") (+ "+") (number_literal "-0x37")) (+ "+") (binary_expression "uVar8 * 0x24" (identifier "uVar8") (* "*") (number_literal "0x24")))) (; ";")) (} "}"))) (} "}")) (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (; ";")) (} "}"))) (if_statement "if ((byte)(cVar4 + 0xbfU) < 0x1a) goto LAB_002864c0;" (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_002864c0;" (goto "goto") (statement_identifier "LAB_002864c0") (; ";"))) (} "}"))) (expression_statement "bVar11 = (*(uint *)(param_1 + 8) & 8) != 0;" (assignment_expression "bVar11 = (*(uint *)(param_1 + 8) & 8) != 0" (identifier "bVar11") (= "=") (binary_expression "(*(uint *)(param_1 + 8) & 8) != 0" (parenthesized_expression "(*(uint *)(param_1 + 8) & 8)" (( "(") (binary_expression "*(uint *)(param_1 + 8) & 8" (pointer_expression "*(uint *)(param_1 + 8)" (* "*") (cast_expression "(uint *)(param_1 + 8)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")")))) (& "&") (number_literal "8")) () ")")) (!= "!=") (number_literal "0"))) (; ";")) (if_statement "if ((!bVar11) && ((param_2 & 1) != 0)) {\n      bVar11 = (byte)(**(char **)(param_1 + 0xc) + 0xbdU) < 2 || bVar11;\n    }" (if "if") (parenthesized_expression "((!bVar11) && ((param_2 & 1) != 0))" (( "(") (binary_expression "(!bVar11) && ((param_2 & 1) != 0)" (parenthesized_expression "(!bVar11)" (( "(") (unary_expression "!bVar11" (! "!") (identifier "bVar11")) () ")")) (&& "&&") (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")) () ")"))) () ")")) (compound_statement "{\n      bVar11 = (byte)(**(char **)(param_1 + 0xc) + 0xbdU) < 2 || bVar11;\n    }" ({ "{") (expression_statement "bVar11 = (byte)(**(char **)(param_1 + 0xc) + 0xbdU) < 2 || bVar11;" (assignment_expression "bVar11 = (byte)(**(char **)(param_1 + 0xc) + 0xbdU) < 2 || bVar11" (identifier "bVar11") (= "=") (binary_expression "(byte)(**(char **)(param_1 + 0xc) + 0xbdU) < 2 || bVar11" (binary_expression "(byte)(**(char **)(param_1 + 0xc) + 0xbdU) < 2" (call_expression "(byte)(**(char **)(param_1 + 0xc) + 0xbdU)" (parenthesized_expression "(byte)" (( "(") (identifier "byte") () ")")) (argument_list "(**(char **)(param_1 + 0xc) + 0xbdU)" (( "(") (binary_expression "**(char **)(param_1 + 0xc) + 0xbdU" (pointer_expression "**(char **)(param_1 + 0xc)" (* "*") (pointer_expression "*(char **)(param_1 + 0xc)" (* "*") (cast_expression "(char **)(param_1 + 0xc)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0xc)" (( "(") (binary_expression "param_1 + 0xc" (identifier "param_1") (+ "+") (number_literal "0xc")) () ")"))))) (+ "+") (number_literal "0xbdU")) () ")"))) (< "<") (number_literal "2")) (|| "||") (identifier "bVar11"))) (; ";")) (} "}"))) (expression_statement "pcVar2 = "t";" (assignment_expression "pcVar2 = "t"" (identifier "pcVar2") (= "=") (string_literal ""t"" (" """) (string_content "t") (" """))) (; ";")) (expression_statement "cVar7 = 't';" (assignment_expression "cVar7 = 't'" (identifier "cVar7") (= "=") (char_literal "'t'" (' "'") (character "t") (' "'"))) (; ";")) (while_statement "while (cVar4 != cVar7) {\n      pcVar2 = pcVar2 + 0x1c;\n      if (pcVar2 == "") {\n        return (undefined4 *)0x0;\n      }\n      cVar7 = *pcVar2;\n    }" (while "while") (parenthesized_expression "(cVar4 != cVar7)" (( "(") (binary_expression "cVar4 != cVar7" (identifier "cVar4") (!= "!=") (identifier "cVar7")) () ")")) (compound_statement "{\n      pcVar2 = pcVar2 + 0x1c;\n      if (pcVar2 == "") {\n        return (undefined4 *)0x0;\n      }\n      cVar7 = *pcVar2;\n    }" ({ "{") (expression_statement "pcVar2 = pcVar2 + 0x1c;" (assignment_expression "pcVar2 = pcVar2 + 0x1c" (identifier "pcVar2") (= "=") (binary_expression "pcVar2 + 0x1c" (identifier "pcVar2") (+ "+") (number_literal "0x1c"))) (; ";")) (if_statement "if (pcVar2 == "") {\n        return (undefined4 *)0x0;\n      }" (if "if") (parenthesized_expression "(pcVar2 == "")" (( "(") (binary_expression "pcVar2 == """ (identifier "pcVar2") (== "==") (string_literal """" (" """) (" """))) () ")")) (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 "cVar7 = *pcVar2;" (assignment_expression "cVar7 = *pcVar2" (identifier "cVar7") (= "=") (pointer_expression "*pcVar2" (* "*") (identifier "pcVar2"))) (; ";")) (} "}"))) (expression_statement "iVar5 = *(int *)(pcVar2 + 0x14);" (assignment_expression "iVar5 = *(int *)(pcVar2 + 0x14)" (identifier "iVar5") (= "=") (pointer_expression "*(int *)(pcVar2 + 0x14)" (* "*") (cast_expression "(int *)(pcVar2 + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pcVar2 + 0x14)" (( "(") (binary_expression "pcVar2 + 0x14" (identifier "pcVar2") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (expression_statement "iVar6 = *(int *)(param_1 + 0x14);" (assignment_expression "iVar6 = *(int *)(param_1 + 0x14)" (identifier "iVar6") (= "=") (pointer_expression "*(int *)(param_1 + 0x14)" (* "*") (cast_expression "(int *)(param_1 + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x14)" (( "(") (binary_expression "param_1 + 0x14" (identifier "param_1") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (expression_statement "iVar1 = *(int *)(param_1 + 0x18);" (assignment_expression "iVar1 = *(int *)(param_1 + 0x18)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(param_1 + 0x18)" (* "*") (cast_expression "(int *)(param_1 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x18)" (( "(") (binary_expression "param_1 + 0x18" (identifier "param_1") (+ "+") (number_literal "0x18")) () ")"))))) (; ";")) (if_statement "if (iVar5 != 0) {\n      uVar9 = *(undefined4 *)(pcVar2 + 0x18);\n      if (iVar6 < iVar1) {\n        puVar10 = (undefined4 *)(iVar6 * 0x10 + *(int *)(param_1 + 0x10));\n        puVar10[1] = 0;\n        *(int *)(param_1 + 0x14) = iVar6 + 1;\n        *puVar10 = 0x18;\n        puVar10[2] = iVar5;\n        puVar10[3] = uVar9;\n        iVar6 = iVar6 + 1;\n      }\n      else {\n        puVar10 = (undefined4 *)0x0;\n      }\n      *(undefined4 **)(param_1 + 0x28) = puVar10;\n    }" (if "if") (parenthesized_expression "(iVar5 != 0)" (( "(") (binary_expression "iVar5 != 0" (identifier "iVar5") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      uVar9 = *(undefined4 *)(pcVar2 + 0x18);\n      if (iVar6 < iVar1) {\n        puVar10 = (undefined4 *)(iVar6 * 0x10 + *(int *)(param_1 + 0x10));\n        puVar10[1] = 0;\n        *(int *)(param_1 + 0x14) = iVar6 + 1;\n        *puVar10 = 0x18;\n        puVar10[2] = iVar5;\n        puVar10[3] = uVar9;\n        iVar6 = iVar6 + 1;\n      }\n      else {\n        puVar10 = (undefined4 *)0x0;\n      }\n      *(undefined4 **)(param_1 + 0x28) = puVar10;\n    }" ({ "{") (expression_statement "uVar9 = *(undefined4 *)(pcVar2 + 0x18);" (assignment_expression "uVar9 = *(undefined4 *)(pcVar2 + 0x18)" (identifier "uVar9") (= "=") (pointer_expression "*(undefined4 *)(pcVar2 + 0x18)" (* "*") (cast_expression "(undefined4 *)(pcVar2 + 0x18)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pcVar2 + 0x18)" (( "(") (binary_expression "pcVar2 + 0x18" (identifier "pcVar2") (+ "+") (number_literal "0x18")) () ")"))))) (; ";")) (if_statement "if (iVar6 < iVar1) {\n        puVar10 = (undefined4 *)(iVar6 * 0x10 + *(int *)(param_1 + 0x10));\n        puVar10[1] = 0;\n        *(int *)(param_1 + 0x14) = iVar6 + 1;\n        *puVar10 = 0x18;\n        puVar10[2] = iVar5;\n        puVar10[3] = uVar9;\n        iVar6 = iVar6 + 1;\n      }\n      else {\n        puVar10 = (undefined4 *)0x0;\n      }" (if "if") (parenthesized_expression "(iVar6 < iVar1)" (( "(") (binary_expression "iVar6 < iVar1" (identifier "iVar6") (< "<") (identifier "iVar1")) () ")")) (compound_statement "{\n        puVar10 = (undefined4 *)(iVar6 * 0x10 + *(int *)(param_1 + 0x10));\n        puVar10[1] = 0;\n        *(int *)(param_1 + 0x14) = iVar6 + 1;\n        *puVar10 = 0x18;\n        puVar10[2] = iVar5;\n        puVar10[3] = uVar9;\n        iVar6 = iVar6 + 1;\n      }" ({ "{") (expression_statement "puVar10 = (undefined4 *)(iVar6 * 0x10 + *(int *)(param_1 + 0x10));" (assignment_expression "puVar10 = (undefined4 *)(iVar6 * 0x10 + *(int *)(param_1 + 0x10))" (identifier "puVar10") (= "=") (cast_expression "(undefined4 *)(iVar6 * 0x10 + *(int *)(param_1 + 0x10))" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 * 0x10 + *(int *)(param_1 + 0x10))" (( "(") (binary_expression "iVar6 * 0x10 + *(int *)(param_1 + 0x10)" (binary_expression "iVar6 * 0x10" (identifier "iVar6") (* "*") (number_literal "0x10")) (+ "+") (pointer_expression "*(int *)(param_1 + 0x10)" (* "*") (cast_expression "(int *)(param_1 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")"))))) () ")")))) (; ";")) (expression_statement "puVar10[1] = 0;" (assignment_expression "puVar10[1] = 0" (subscript_expression "puVar10[1]" (identifier "puVar10") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(int *)(param_1 + 0x14) = iVar6 + 1;" (assignment_expression "*(int *)(param_1 + 0x14) = iVar6 + 1" (pointer_expression "*(int *)(param_1 + 0x14)" (* "*") (cast_expression "(int *)(param_1 + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x14)" (( "(") (binary_expression "param_1 + 0x14" (identifier "param_1") (+ "+") (number_literal "0x14")) () ")")))) (= "=") (binary_expression "iVar6 + 1" (identifier "iVar6") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*puVar10 = 0x18;" (assignment_expression "*puVar10 = 0x18" (pointer_expression "*puVar10" (* "*") (identifier "puVar10")) (= "=") (number_literal "0x18")) (; ";")) (expression_statement "puVar10[2] = iVar5;" (assignment_expression "puVar10[2] = iVar5" (subscript_expression "puVar10[2]" (identifier "puVar10") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "iVar5")) (; ";")) (expression_statement "puVar10[3] = uVar9;" (assignment_expression "puVar10[3] = uVar9" (subscript_expression "puVar10[3]" (identifier "puVar10") ([ "[") (number_literal "3") (] "]")) (= "=") (identifier "uVar9")) (; ";")) (expression_statement "iVar6 = iVar6 + 1;" (assignment_expression "iVar6 = iVar6 + 1" (identifier "iVar6") (= "=") (binary_expression "iVar6 + 1" (identifier "iVar6") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (else_clause "else {\n        puVar10 = (undefined4 *)0x0;\n      }" (else "else") (compound_statement "{\n        puVar10 = (undefined4 *)0x0;\n      }" ({ "{") (expression_statement "puVar10 = (undefined4 *)0x0;" (assignment_expression "puVar10 = (undefined4 *)0x0" (identifier "puVar10") (= "=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (} "}")))) (expression_statement "*(undefined4 **)(param_1 + 0x28) = puVar10;" (assignment_expression "*(undefined4 **)(param_1 + 0x28) = puVar10" (pointer_expression "*(undefined4 **)(param_1 + 0x28)" (* "*") (cast_expression "(undefined4 **)(param_1 + 0x28)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x28)" (( "(") (binary_expression "param_1 + 0x28" (identifier "param_1") (+ "+") (number_literal "0x28")) () ")")))) (= "=") (identifier "puVar10")) (; ";")) (} "}"))) (if_statement "if (bVar11) {\n      uVar9 = *(undefined4 *)(pcVar2 + 0xc);\n      iVar5 = *(int *)(pcVar2 + 0x10);\n    }\n    else {\n      uVar9 = *(undefined4 *)(pcVar2 + 4);\n      iVar5 = *(int *)(pcVar2 + 8);\n    }" (if "if") (parenthesized_expression "(bVar11)" (( "(") (identifier "bVar11") () ")")) (compound_statement "{\n      uVar9 = *(undefined4 *)(pcVar2 + 0xc);\n      iVar5 = *(int *)(pcVar2 + 0x10);\n    }" ({ "{") (expression_statement "uVar9 = *(undefined4 *)(pcVar2 + 0xc);" (assignment_expression "uVar9 = *(undefined4 *)(pcVar2 + 0xc)" (identifier "uVar9") (= "=") (pointer_expression "*(undefined4 *)(pcVar2 + 0xc)" (* "*") (cast_expression "(undefined4 *)(pcVar2 + 0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pcVar2 + 0xc)" (( "(") (binary_expression "pcVar2 + 0xc" (identifier "pcVar2") (+ "+") (number_literal "0xc")) () ")"))))) (; ";")) (expression_statement "iVar5 = *(int *)(pcVar2 + 0x10);" (assignment_expression "iVar5 = *(int *)(pcVar2 + 0x10)" (identifier "iVar5") (= "=") (pointer_expression "*(int *)(pcVar2 + 0x10)" (* "*") (cast_expression "(int *)(pcVar2 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pcVar2 + 0x10)" (( "(") (binary_expression "pcVar2 + 0x10" (identifier "pcVar2") (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (} "}")) (else_clause "else {\n      uVar9 = *(undefined4 *)(pcVar2 + 4);\n      iVar5 = *(int *)(pcVar2 + 8);\n    }" (else "else") (compound_statement "{\n      uVar9 = *(undefined4 *)(pcVar2 + 4);\n      iVar5 = *(int *)(pcVar2 + 8);\n    }" ({ "{") (expression_statement "uVar9 = *(undefined4 *)(pcVar2 + 4);" (assignment_expression "uVar9 = *(undefined4 *)(pcVar2 + 4)" (identifier "uVar9") (= "=") (pointer_expression "*(undefined4 *)(pcVar2 + 4)" (* "*") (cast_expression "(undefined4 *)(pcVar2 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pcVar2 + 4)" (( "(") (binary_expression "pcVar2 + 4" (identifier "pcVar2") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (expression_statement "iVar5 = *(int *)(pcVar2 + 8);" (assignment_expression "iVar5 = *(int *)(pcVar2 + 8)" (identifier "iVar5") (= "=") (pointer_expression "*(int *)(pcVar2 + 8)" (* "*") (cast_expression "(int *)(pcVar2 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pcVar2 + 8)" (( "(") (binary_expression "pcVar2 + 8" (identifier "pcVar2") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (} "}")))) (expression_statement "*(int *)(param_1 + 0x2c) = *(int *)(param_1 + 0x2c) + iVar5;" (assignment_expression "*(int *)(param_1 + 0x2c) = *(int *)(param_1 + 0x2c) + iVar5" (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")) () ")")))) (= "=") (binary_expression "*(int *)(param_1 + 0x2c) + iVar5" (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")) () ")")))) (+ "+") (identifier "iVar5"))) (; ";")) (if_statement "if (iVar6 < iVar1) {\n      puVar10 = (undefined4 *)(iVar6 * 0x10 + *(int *)(param_1 + 0x10));\n      puVar10[1] = 0;\n      *(int *)(param_1 + 0x14) = iVar6 + 1;\n      *puVar10 = 0x18;\n      puVar10[2] = uVar9;\n      puVar10[3] = iVar5;\n    }\n    else {\n      puVar10 = (undefined4 *)0x0;\n    }" (if "if") (parenthesized_expression "(iVar6 < iVar1)" (( "(") (binary_expression "iVar6 < iVar1" (identifier "iVar6") (< "<") (identifier "iVar1")) () ")")) (compound_statement "{\n      puVar10 = (undefined4 *)(iVar6 * 0x10 + *(int *)(param_1 + 0x10));\n      puVar10[1] = 0;\n      *(int *)(param_1 + 0x14) = iVar6 + 1;\n      *puVar10 = 0x18;\n      puVar10[2] = uVar9;\n      puVar10[3] = iVar5;\n    }" ({ "{") (expression_statement "puVar10 = (undefined4 *)(iVar6 * 0x10 + *(int *)(param_1 + 0x10));" (assignment_expression "puVar10 = (undefined4 *)(iVar6 * 0x10 + *(int *)(param_1 + 0x10))" (identifier "puVar10") (= "=") (cast_expression "(undefined4 *)(iVar6 * 0x10 + *(int *)(param_1 + 0x10))" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 * 0x10 + *(int *)(param_1 + 0x10))" (( "(") (binary_expression "iVar6 * 0x10 + *(int *)(param_1 + 0x10)" (binary_expression "iVar6 * 0x10" (identifier "iVar6") (* "*") (number_literal "0x10")) (+ "+") (pointer_expression "*(int *)(param_1 + 0x10)" (* "*") (cast_expression "(int *)(param_1 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")"))))) () ")")))) (; ";")) (expression_statement "puVar10[1] = 0;" (assignment_expression "puVar10[1] = 0" (subscript_expression "puVar10[1]" (identifier "puVar10") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(int *)(param_1 + 0x14) = iVar6 + 1;" (assignment_expression "*(int *)(param_1 + 0x14) = iVar6 + 1" (pointer_expression "*(int *)(param_1 + 0x14)" (* "*") (cast_expression "(int *)(param_1 + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x14)" (( "(") (binary_expression "param_1 + 0x14" (identifier "param_1") (+ "+") (number_literal "0x14")) () ")")))) (= "=") (binary_expression "iVar6 + 1" (identifier "iVar6") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*puVar10 = 0x18;" (assignment_expression "*puVar10 = 0x18" (pointer_expression "*puVar10" (* "*") (identifier "puVar10")) (= "=") (number_literal "0x18")) (; ";")) (expression_statement "puVar10[2] = uVar9;" (assignment_expression "puVar10[2] = uVar9" (subscript_expression "puVar10[2]" (identifier "puVar10") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "uVar9")) (; ";")) (expression_statement "puVar10[3] = iVar5;" (assignment_expression "puVar10[3] = iVar5" (subscript_expression "puVar10[3]" (identifier "puVar10") ([ "[") (number_literal "3") (] "]")) (= "=") (identifier "iVar5")) (; ";")) (} "}")) (else_clause "else {\n      puVar10 = (undefined4 *)0x0;\n    }" (else "else") (compound_statement "{\n      puVar10 = (undefined4 *)0x0;\n    }" ({ "{") (expression_statement "puVar10 = (undefined4 *)0x0;" (assignment_expression "puVar10 = (undefined4 *)0x0" (identifier "puVar10") (= "=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (} "}")))) (if_statement "if (**(char **)(param_1 + 0xc) != 'B') {\n      return puVar10;\n    }" (if "if") (parenthesized_expression "(**(char **)(param_1 + 0xc) != 'B')" (( "(") (binary_expression "**(char **)(param_1 + 0xc) != 'B'" (pointer_expression "**(char **)(param_1 + 0xc)" (* "*") (pointer_expression "*(char **)(param_1 + 0xc)" (* "*") (cast_expression "(char **)(param_1 + 0xc)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0xc)" (( "(") (binary_expression "param_1 + 0xc" (identifier "param_1") (+ "+") (number_literal "0xc")) () ")"))))) (!= "!=") (char_literal "'B'" (' "'") (character "B") (' "'"))) () ")")) (compound_statement "{\n      return puVar10;\n    }" ({ "{") (return_statement "return puVar10;" (return "return") (identifier "puVar10") (; ";")) (} "}"))) (expression_statement "puVar10 = (undefined4 *)FUN_00286390();" (assignment_expression "puVar10 = (undefined4 *)FUN_00286390()" (identifier "puVar10") (= "=") (cast_expression "(undefined4 *)FUN_00286390()" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_00286390()" (identifier "FUN_00286390") (argument_list "()" (( "(") () ")"))))) (; ";")) (if_statement "if ((puVar10 != (undefined4 *)0x0) &&\n       (iVar5 = *(int *)(param_1 + 0x20), iVar5 < *(int *)(param_1 + 0x24))) {\n      *(undefined4 **)(*(int *)(param_1 + 0x1c) + iVar5 * 4) = puVar10;\n      *(int *)(param_1 + 0x20) = iVar5 + 1;\n      return puVar10;\n    }" (if "if") (parenthesized_expression "((puVar10 != (undefined4 *)0x0) &&\n       (iVar5 = *(int *)(param_1 + 0x20), iVar5 < *(int *)(param_1 + 0x24)))" (( "(") (binary_expression "(puVar10 != (undefined4 *)0x0) &&\n       (iVar5 = *(int *)(param_1 + 0x20), iVar5 < *(int *)(param_1 + 0x24))" (parenthesized_expression "(puVar10 != (undefined4 *)0x0)" (( "(") (binary_expression "puVar10 != (undefined4 *)0x0" (identifier "puVar10") (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (&& "&&") (parenthesized_expression "(iVar5 = *(int *)(param_1 + 0x20), iVar5 < *(int *)(param_1 + 0x24))" (( "(") (comma_expression "iVar5 = *(int *)(param_1 + 0x20), iVar5 < *(int *)(param_1 + 0x24)" (assignment_expression "iVar5 = *(int *)(param_1 + 0x20)" (identifier "iVar5") (= "=") (pointer_expression "*(int *)(param_1 + 0x20)" (* "*") (cast_expression "(int *)(param_1 + 0x20)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x20)" (( "(") (binary_expression "param_1 + 0x20" (identifier "param_1") (+ "+") (number_literal "0x20")) () ")"))))) (, ",") (binary_expression "iVar5 < *(int *)(param_1 + 0x24)" (identifier "iVar5") (< "<") (pointer_expression "*(int *)(param_1 + 0x24)" (* "*") (cast_expression "(int *)(param_1 + 0x24)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x24)" (( "(") (binary_expression "param_1 + 0x24" (identifier "param_1") (+ "+") (number_literal "0x24")) () ")")))))) () ")"))) () ")")) (compound_statement "{\n      *(undefined4 **)(*(int *)(param_1 + 0x1c) + iVar5 * 4) = puVar10;\n      *(int *)(param_1 + 0x20) = iVar5 + 1;\n      return puVar10;\n    }" ({ "{") (expression_statement "*(undefined4 **)(*(int *)(param_1 + 0x1c) + iVar5 * 4) = puVar10;" (assignment_expression "*(undefined4 **)(*(int *)(param_1 + 0x1c) + iVar5 * 4) = puVar10" (pointer_expression "*(undefined4 **)(*(int *)(param_1 + 0x1c) + iVar5 * 4)" (* "*") (cast_expression "(undefined4 **)(*(int *)(param_1 + 0x1c) + iVar5 * 4)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*(int *)(param_1 + 0x1c) + iVar5 * 4)" (( "(") (binary_expression "*(int *)(param_1 + 0x1c) + iVar5 * 4" (pointer_expression "*(int *)(param_1 + 0x1c)" (* "*") (cast_expression "(int *)(param_1 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1c)" (( "(") (binary_expression "param_1 + 0x1c" (identifier "param_1") (+ "+") (number_literal "0x1c")) () ")")))) (+ "+") (binary_expression "iVar5 * 4" (identifier "iVar5") (* "*") (number_literal "4"))) () ")")))) (= "=") (identifier "puVar10")) (; ";")) (expression_statement "*(int *)(param_1 + 0x20) = iVar5 + 1;" (assignment_expression "*(int *)(param_1 + 0x20) = iVar5 + 1" (pointer_expression "*(int *)(param_1 + 0x20)" (* "*") (cast_expression "(int *)(param_1 + 0x20)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x20)" (( "(") (binary_expression "param_1 + 0x20" (identifier "param_1") (+ "+") (number_literal "0x20")) () ")")))) (= "=") (binary_expression "iVar5 + 1" (identifier "iVar5") (+ "+") (number_literal "1"))) (; ";")) (return_statement "return puVar10;" (return "return") (identifier "puVar10") (; ";")) (} "}"))) (} "}"))) (return_statement "return (undefined4 *)0x0;" (return "return") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")) (; ";")) (} "}"))

/* WARNING: Function: __x86.get_pc_thunk.si replaced with injection: get_pc_thunk_si */

type_3 * __regparm3 d_substitution(int var_1,type_2 var_7)

{
  char *var_2;
  int var_12;
  type_1 *var_10;
  type_2 var_6;
  char var_3;
  int var_5;
  int var_11;
  char var_9;
  type_2 var_4;
  type_3 uVar10;
  type_3 *var_14;
  bool var_8;
  
  var_2 = *(char **)(var_1 + 0xc);
  if (*var_2 == 'S') {
    *(char **)(var_1 + 0xc) = var_2 + 1;
    var_3 = var_2[1];
    if (var_3 != '\0') {
      *(char **)(var_1 + 0xc) = 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_00286490:
          if (*(type_2 *)(var_1 + 0x20) <= var_4) {
            return (type_3 *)0x0;
          }
          return *(type_3 **)(*(int *)(var_1 + 0x1c) + var_4 * 4);
        }
LAB_002864c0:
        var_4 = 0;
        if (9 < (byte)(var_3 - 0x30U)) goto LAB_002864fd;
        do {
          var_6 = var_4;
          var_4 = var_5 + -0x30 + var_4 * 0x24;
          while( true ) {
            if (var_4 < var_6) {
              return (type_3 *)0x0;
            }
            var_2 = *(char **)(var_1 + 0xc);
            var_3 = *var_2;
            if (var_3 != '\0') {
              *(char **)(var_1 + 0xc) = var_2 + 1;
              var_3 = *var_2;
              if (var_3 == '_') {
                var_4 = var_4 + 1;
                goto LAB_00286490;
              }
            }
            var_5 = (int)var_3;
            if ((byte)(var_3 - 0x30U) < 10) break;
LAB_002864fd:
            if (0x19 < (byte)((char)var_5 + 0xbfU)) {
              return (type_3 *)0x0;
            }
            var_6 = var_4;
            var_4 = var_5 + -0x37 + var_4 * 0x24;
          }
        } while( true );
      }
      if ((byte)(var_3 + 0xbfU) < 0x1a) goto LAB_002864c0;
    }
    var_8 = (*(type_2 *)(var_1 + 8) & 8) != 0;
    if ((!var_8) && ((var_7 & 1) != 0)) {
      var_8 = (byte)(**(char **)(var_1 + 0xc) + 0xbdU) < 2 || var_8;
    }
    var_10 = standard_subs;
    var_9 = 't';
    while (var_3 != var_9) {
      var_10 = var_10 + 0x1c;
      if (var_10 == "") {
        return (type_3 *)0x0;
      }
      var_9 = *var_10;
    }
    var_5 = *(int *)(var_10 + 0x14);
    var_11 = *(int *)(var_1 + 0x14);
    var_12 = *(int *)(var_1 + 0x18);
    if (var_5 != 0) {
      uVar10 = *(type_3 *)(var_10 + 0x18);
      if (var_11 < var_12) {
        var_14 = (type_3 *)(var_11 * 0x10 + *(int *)(var_1 + 0x10));
        var_14[1] = 0;
        *(int *)(var_1 + 0x14) = var_11 + 1;
        *var_14 = 0x18;
        var_14[2] = var_5;
        var_14[3] = uVar10;
        var_11 = var_11 + 1;
      }
      else {
        var_14 = (type_3 *)0x0;
      }
      *(type_3 **)(var_1 + 0x28) = var_14;
    }
    if (var_8) {
      uVar10 = *(type_3 *)(var_10 + 0xc);
      var_5 = *(int *)(var_10 + 0x10);
    }
    else {
      uVar10 = *(type_3 *)(var_10 + 4);
      var_5 = *(int *)(var_10 + 8);
    }
    *(int *)(var_1 + 0x2c) = *(int *)(var_1 + 0x2c) + var_5;
    if (var_11 < var_12) {
      var_14 = (type_3 *)(var_11 * 0x10 + *(int *)(var_1 + 0x10));
      var_14[1] = 0;
      *(int *)(var_1 + 0x14) = var_11 + 1;
      *var_14 = 0x18;
      var_14[2] = uVar10;
      var_14[3] = var_5;
    }
    else {
      var_14 = (type_3 *)0x0;
    }
    if (**(char **)(var_1 + 0xc) != 'B') {
      return var_14;
    }
    var_14 = (type_3 *)var_13();
    if ((var_14 != (type_3 *)0x0) &&
       (var_5 = *(int *)(var_1 + 0x20), var_5 < *(int *)(var_1 + 0x24))) {
      *(type_3 **)(*(int *)(var_1 + 0x1c) + var_5 * 4) = var_14;
      *(int *)(var_1 + 0x20) = var_5 + 1;
      return var_14;
    }
  }
  return (type_3 *)0x0;
}


(translation_unit (ERROR (binary_expression left: (identifier) (ERROR (identifier)) right: (call_expression function: (identifier) arguments: (argument_list (ERROR (identifier)) (identifier) (ERROR (identifier)) (identifier))))) (compound_statement (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)) (declaration type: (primitive_type) 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: (pointer_declarator 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: (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: (primitive_type) 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: (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 (unary_expression argument: (identifier))) right: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (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)) right: (identifier)))))) (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 (binary_expression left: (identifier) right: (identifier))) body: (compound_statement (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: (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: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (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: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) 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: (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: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) 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: (binary_expression left: (identifier) right: (number_literal)) 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: (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: (subscript_expression argument: (identifier) index: (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))))) (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: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (binary_expression left: (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)))))

/* WARNING: Function: __i686.get_pc_thunk.si replaced with injection: get_pc_thunk_si */

undefined4 * __regparm3 MASKED(int param_1,uint param_2)

{
  int iVar1;
  char *pcVar2;
  uint uVar3;
  char cVar4;
  int iVar5;
  int iVar6;
  char cVar7;
  uint uVar8;
  undefined4 uVar9;
  undefined4 *puVar10;
  bool bVar11;
  
  pcVar2 = *(char **)(param_1 + 0xc);
  if (*pcVar2 == 'S') {
    *(char **)(param_1 + 0xc) = pcVar2 + 1;
    cVar4 = pcVar2[1];
    if (cVar4 != '\0') {
      *(char **)(param_1 + 0xc) = pcVar2 + 2;
      cVar4 = pcVar2[1];
      iVar5 = (int)cVar4;
      if (((byte)(cVar4 - 0x30U) < 10) || (cVar4 == '_')) {
        uVar8 = 0;
        if (cVar4 == '_') {
LAB_00286490:
          if (*(uint *)(param_1 + 0x20) <= uVar8) {
            return (undefined4 *)0x0;
          }
          return *(undefined4 **)(*(int *)(param_1 + 0x1c) + uVar8 * 4);
        }
LAB_002864c0:
        uVar8 = 0;
        if (9 < (byte)(cVar4 - 0x30U)) goto LAB_002864fd;
        do {
          uVar3 = uVar8;
          uVar8 = iVar5 + -0x30 + uVar8 * 0x24;
          while( true ) {
            if (uVar8 < uVar3) {
              return (undefined4 *)0x0;
            }
            pcVar2 = *(char **)(param_1 + 0xc);
            cVar4 = *pcVar2;
            if (cVar4 != '\0') {
              *(char **)(param_1 + 0xc) = pcVar2 + 1;
              cVar4 = *pcVar2;
              if (cVar4 == '_') {
                uVar8 = uVar8 + 1;
                goto LAB_00286490;
              }
            }
            iVar5 = (int)cVar4;
            if ((byte)(cVar4 - 0x30U) < 10) break;
LAB_002864fd:
            if (0x19 < (byte)((char)iVar5 + 0xbfU)) {
              return (undefined4 *)0x0;
            }
            uVar3 = uVar8;
            uVar8 = iVar5 + -0x37 + uVar8 * 0x24;
          }
        } while( true );
      }
      if ((byte)(cVar4 + 0xbfU) < 0x1a) goto LAB_002864c0;
    }
    bVar11 = (*(uint *)(param_1 + 8) & 8) != 0;
    if ((!bVar11) && ((param_2 & 1) != 0)) {
      bVar11 = (byte)(**(char **)(param_1 + 0xc) + 0xbdU) < 2 || bVar11;
    }
    pcVar2 = "t";
    cVar7 = 't';
    while (cVar4 != cVar7) {
      pcVar2 = pcVar2 + 0x1c;
      if (pcVar2 == "") {
        return (undefined4 *)0x0;
      }
      cVar7 = *pcVar2;
    }
    iVar5 = *(int *)(pcVar2 + 0x14);
    iVar6 = *(int *)(param_1 + 0x14);
    iVar1 = *(int *)(param_1 + 0x18);
    if (iVar5 != 0) {
      uVar9 = *(undefined4 *)(pcVar2 + 0x18);
      if (iVar6 < iVar1) {
        puVar10 = (undefined4 *)(iVar6 * 0x10 + *(int *)(param_1 + 0x10));
        puVar10[1] = 0;
        *(int *)(param_1 + 0x14) = iVar6 + 1;
        *puVar10 = 0x18;
        puVar10[2] = iVar5;
        puVar10[3] = uVar9;
        iVar6 = iVar6 + 1;
      }
      else {
        puVar10 = (undefined4 *)0x0;
      }
      *(undefined4 **)(param_1 + 0x28) = puVar10;
    }
    if (bVar11) {
      uVar9 = *(undefined4 *)(pcVar2 + 0xc);
      iVar5 = *(int *)(pcVar2 + 0x10);
    }
    else {
      uVar9 = *(undefined4 *)(pcVar2 + 4);
      iVar5 = *(int *)(pcVar2 + 8);
    }
    *(int *)(param_1 + 0x2c) = *(int *)(param_1 + 0x2c) + iVar5;
    if (iVar6 < iVar1) {
      puVar10 = (undefined4 *)(iVar6 * 0x10 + *(int *)(param_1 + 0x10));
      puVar10[1] = 0;
      *(int *)(param_1 + 0x14) = iVar6 + 1;
      *puVar10 = 0x18;
      puVar10[2] = uVar9;
      puVar10[3] = iVar5;
    }
    else {
      puVar10 = (undefined4 *)0x0;
    }
    if (**(char **)(param_1 + 0xc) != 'B') {
      return puVar10;
    }
    puVar10 = (undefined4 *)FUN_00286390();
    if ((puVar10 != (undefined4 *)0x0) &&
       (iVar5 = *(int *)(param_1 + 0x20), iVar5 < *(int *)(param_1 + 0x24))) {
      *(undefined4 **)(*(int *)(param_1 + 0x1c) + iVar5 * 4) = puVar10;
      *(int *)(param_1 + 0x20) = iVar5 + 1;
      return puVar10;
    }
  }
  return (undefined4 *)0x0;
}

