
void identPut(char *z,int *pIdx,char *zSignedIdent)

{
  byte bVar1;
  bool bVar2;
  undefined *puVar3;
  uint uVar4;
  uint uVar5;
  int n;
  int iVar6;
  byte *pbVar7;
  char *pcVar8;
  int id;
  int iStack_2c;
  
  puVar3 = PTR___stack_chk_guard_0015ba2c;
  iVar6 = *pIdx;
  uVar5 = (uint)(byte)*zSignedIdent;
  iStack_2c = *(int *)PTR___stack_chk_guard_0015ba2c;
  pcVar8 = z + iVar6;
  if (uVar5 == 0) {
LAB_0003b6dc:
    iVar6 = iVar6 + 1;
    *pcVar8 = '\"';
    uVar5 = (uint)(byte)*zSignedIdent;
    pcVar8 = z + iVar6;
    if (uVar5 != 0) {
      bVar2 = true;
      pcVar8 = z + iVar6;
      goto LAB_0003b71c;
    }
  }
  else {
    n = 0;
    uVar4 = uVar5;
    pbVar7 = (byte *)zSignedIdent;
    do {
      if (((PTR_DAT_0015b694[uVar4 - 0x7b28] & 6) == 0) && (uVar4 != 0x5f)) break;
      pbVar7 = pbVar7 + 1;
      uVar4 = (uint)*pbVar7;
      n = n + 1;
    } while (uVar4 != 0);
    if ((PTR_DAT_0015b694[uVar5 - 0x7b28] & 4) != 0) goto LAB_0003b6dc;
    id = 0x3b;
    if (n < 2) {
      if ((*pbVar7 == 0) && (n != 0)) goto LAB_0003b7fc;
      goto LAB_0003b6dc;
    }
    keywordCode(zSignedIdent,n,&id);
    if ((id != 0x3b) || (*pbVar7 != 0)) goto LAB_0003b6dc;
    uVar5 = (uint)(byte)*zSignedIdent;
LAB_0003b7fc:
    if (uVar5 == 0) goto LAB_0003b750;
    bVar2 = false;
LAB_0003b71c:
    while( true ) {
      *pcVar8 = (char)uVar5;
      pcVar8 = z + iVar6 + 1;
      if (*zSignedIdent == '\"') {
        *pcVar8 = '\"';
        iVar6 = iVar6 + 2;
        bVar1 = zSignedIdent[1];
        pcVar8 = z + iVar6;
      }
      else {
        bVar1 = zSignedIdent[1];
        iVar6 = iVar6 + 1;
      }
      uVar5 = (uint)bVar1;
      if (uVar5 == 0) break;
      zSignedIdent = zSignedIdent + 1;
      pcVar8 = z + iVar6;
    }
    if (!bVar2) goto LAB_0003b750;
  }
  iVar6 = iVar6 + 1;
  *pcVar8 = '\"';
  pcVar8 = z + iVar6;
LAB_0003b750:
  *pcVar8 = '\0';
  *pIdx = iVar6;
  if (iStack_2c == *(int *)puVar3) {
    return;
  }
  (*(code *)PTR___stack_chk_fail_0015ba10)();
  return;
}



int FUN_0003b61c(int param_1,int *param_2,byte *param_3)

{
  byte bVar1;
  uint uVar2;
  uint uVar3;
  int *piVar4;
  undefined4 *puVar5;
  int iVar6;
  byte *pbVar7;
  undefined1 *puVar8;
  undefined *puVar9;
  code *pcVar10;
  int local_30;
  int local_2c;
  
  puVar9 = PTR___stack_chk_guard_0015ba2c;
  iVar6 = *param_2;
  uVar3 = (uint)*param_3;
  local_2c = *(int *)PTR___stack_chk_guard_0015ba2c;
  puVar8 = (undefined1 *)(param_1 + iVar6);
  piVar4 = param_2;
  if (uVar3 == 0) {
LAB_0003b6dc:
    iVar6 = iVar6 + 1;
    *puVar8 = 0x22;
    uVar3 = (uint)*param_3;
    puVar8 = (undefined1 *)(param_1 + iVar6);
    if (uVar3 != 0) {
      piVar4 = (int *)0x1;
      puVar8 = (undefined1 *)(param_1 + iVar6);
      goto LAB_0003b71c;
    }
  }
  else {
    piVar4 = (int *)0x0;
    uVar2 = uVar3;
    pbVar7 = param_3;
    do {
      if (((PTR_DAT_0015b694[uVar2 - 0x7b28] & 6) == 0) && (uVar2 != 0x5f)) break;
      pbVar7 = pbVar7 + 1;
      uVar2 = (uint)*pbVar7;
      piVar4 = (int *)((int)piVar4 + 1);
    } while (uVar2 != 0);
    if ((PTR_DAT_0015b694[uVar3 - 0x7b28] & 4) != 0) goto LAB_0003b6dc;
    local_30 = 0x3b;
    if ((int)piVar4 < 2) {
      if ((*pbVar7 == 0) && (piVar4 != (int *)0x0)) goto LAB_0003b7fc;
      goto LAB_0003b6dc;
    }
    FUN_0003b4d0(param_3,piVar4,&local_30);
    if ((local_30 != 0x3b) || (*pbVar7 != 0)) goto LAB_0003b6dc;
    uVar3 = (uint)*param_3;
LAB_0003b7fc:
    if (uVar3 == 0) goto LAB_0003b750;
    piVar4 = (int *)0x0;
LAB_0003b71c:
    while( true ) {
      *puVar8 = (char)uVar3;
      puVar8 = (undefined1 *)(param_1 + iVar6 + 1);
      if (*param_3 == 0x22) {
        *puVar8 = 0x22;
        iVar6 = iVar6 + 2;
        bVar1 = param_3[1];
        puVar8 = (undefined1 *)(param_1 + iVar6);
      }
      else {
        bVar1 = param_3[1];
        iVar6 = iVar6 + 1;
      }
      uVar3 = (uint)bVar1;
      if (uVar3 == 0) break;
      param_3 = param_3 + 1;
      puVar8 = (undefined1 *)(param_1 + iVar6);
    }
    if (piVar4 == (int *)0x0) goto LAB_0003b750;
  }
  iVar6 = iVar6 + 1;
  *puVar8 = 0x22;
  puVar8 = (undefined1 *)(param_1 + iVar6);
LAB_0003b750:
  *puVar8 = 0;
  *param_2 = iVar6;
  if (local_2c == *(int *)puVar9) {
    return *(int *)puVar9;
  }
  puVar9 = PTR___stack_chk_fail_0015ba10;
  (*(code *)PTR___stack_chk_fail_0015ba10)();
  puVar5 = *(undefined4 **)(puVar9 + 0x120214);
  pbVar7 = (byte *)*puVar5;
  if (1 < (int)piVar4) {
    FUN_0003b4d0();
  }
  if (pbVar7 == (byte *)*puVar5) {
    return 0;
  }
  pcVar10 = *(code **)(puVar9 + 0x1201f8);
  (*pcVar10)();
  uVar3 = (uint)*(byte *)(*(int *)(pcVar10 + 0x11fd5c) + 0x5134 + (uint)*pbVar7);
  if (uVar3 < 0x1d) {
                    /* WARNING: Could not recover jumptable at 0x0003b8f0. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    iVar6 = (*(pcVar10 + *(int *)(*(int *)(pcVar10 + 0x11fd5c) + -0x1ac + uVar3 * 4) + 0x127d10))();
    return iVar6;
  }
  *piVar4 = 0xad;
  return 1;
}


lui gp,0x12
addiu gp,gp,0x7f94
addu gp,gp,t9
addiu sp,sp,-0x48
sw s7,0x3c(sp)
sw s6,0x38(sp)
or s6,a1,zero
sw s4,0x30(sp)
sw s3,0x2c(sp)
or s3,a0,zero
sw s0,0x20(sp)
or s0,a2,zero
sw gp,0x10(sp)
sw ra,0x44(sp)
sw s8,0x40(sp)
sw s5,0x34(sp)
sw s2,0x28(sp)
sw s1,0x24(sp)
lw s7,-0x7b84(gp)
lw s1,0x0(a1)
lbu a0,0x0(a2)
lw v0,0x0(s7)
addu s4,s3,s1
sw v0,0x1c(sp)
beq a0,zero,0x0003b6dc
_lw a2,-0x7f1c(gp)
or a1,zero,zero
li a3,0x5f
or s5,s4,zero
addiu a2,a2,-0x7b28
or v1,a0,zero
or s2,s0,zero
addu v0,a2,v1
lbu v0,0x0(v0)
andi v0,v0,0x6
bne v0,zero,0x0003b6b8
_nop
bne v1,a3,0x0003b6c8
_nop
addiu s2,s2,0x1
lbu v1,0x0(s2)
bne v1,zero,0x0003b69c
_addiu a1,a1,0x1
addu a2,a2,a0
lbu v0,0x0(a2)
andi v0,v0,0x4
beq v0,zero,0x0003b7a8
_li s8,0x3b
li v0,0x22
addiu s1,s1,0x1
sb v0,0x0(s4)
lbu v0,0x0(s0)
beq v0,zero,0x0003b794
_addu s5,s3,s1
li a1,0x1
addu s4,s3,s1
b 0x0003b71c
_li a0,0x22
addiu s0,s0,0x1
or s1,v0,zero
lbu v0,0x0(s0)
beq v0,zero,0x0003b748
_nop
addu s4,s3,s1
sb v0,0x0(s4)
addiu v0,s1,0x1
lbu v1,0x0(s0)
bne v1,a0,0x0003b704
_addu s5,s3,v0
addiu s0,s0,0x1
sb a0,0x0(s5)
addiu s1,s1,0x2
lbu v0,0x0(s0)
bne v0,zero,0x0003b718
_addu s5,s3,s1
bne a1,zero,0x0003b794
_nop
lw v1,0x1c(sp)
sb zero,0x0(s5)
sw s1,0x0(s6)
lw v0,0x0(s7)
bne v1,v0,0x0003b80c
_lw ra,0x44(sp)
lw s8,0x40(sp)
lw s7,0x3c(sp)
lw s6,0x38(sp)
lw s5,0x34(sp)
lw s4,0x30(sp)
lw s3,0x2c(sp)
lw s2,0x28(sp)
lw s1,0x24(sp)
lw s0,0x20(sp)
jr ra
_addiu sp,sp,0x48
addiu s1,s1,0x1
li v0,0x22
sb v0,0x0(s5)
b 0x0003b750
_addu s5,s3,s1
slti v0,a1,0x2
bne v0,zero,0x0003b7e8
_sw s8,0x18(sp)
lw t9,-0x7ef0(gp)
addiu a2,sp,0x18
addiu t9,t9,-0x4b30
bal 0x0003b4d0
_or a0,s0,zero
lw v0,0x18(sp)
bne v0,s8,0x0003b6dc
_lw gp,0x10(sp)
lbu v0,0x0(s2)
bne v0,zero,0x0003b6dc
_nop
b 0x0003b7fc
_lbu a0,0x0(s0)
lbu v0,0x0(s2)
bne v0,zero,0x0003b6dc
_nop
beq a1,zero,0x0003b6dc
_nop
beq a0,zero,0x0003b750
_or v0,a0,zero
b 0x0003b6fc
_or a1,zero,zero
lw t9,-0x7ba0(gp)
jalr t9
_nop
(translation_unit "int FUN_0003b61c(int param_1,int *param_2,byte *param_3)\n\n{\n  byte bVar1;\n  uint uVar2;\n  uint uVar3;\n  int *piVar4;\n  undefined4 *puVar5;\n  int iVar6;\n  byte *pbVar7;\n  undefined1 *puVar8;\n  undefined *puVar9;\n  code *pcVar10;\n  int local_30;\n  int local_2c;\n  \n  puVar9 = PTR___stack_chk_guard_0015ba2c;\n  iVar6 = *param_2;\n  uVar3 = (uint)*param_3;\n  local_2c = *(int *)PTR___stack_chk_guard_0015ba2c;\n  puVar8 = (undefined1 *)(param_1 + iVar6);\n  piVar4 = param_2;\n  if (uVar3 == 0) {\nLAB_0003b6dc:\n    iVar6 = iVar6 + 1;\n    *puVar8 = 0x22;\n    uVar3 = (uint)*param_3;\n    puVar8 = (undefined1 *)(param_1 + iVar6);\n    if (uVar3 != 0) {\n      piVar4 = (int *)0x1;\n      puVar8 = (undefined1 *)(param_1 + iVar6);\n      goto LAB_0003b71c;\n    }\n  }\n  else {\n    piVar4 = (int *)0x0;\n    uVar2 = uVar3;\n    pbVar7 = param_3;\n    do {\n      if (((PTR_DAT_0015b694[uVar2 - 0x7b28] & 6) == 0) && (uVar2 != 0x5f)) break;\n      pbVar7 = pbVar7 + 1;\n      uVar2 = (uint)*pbVar7;\n      piVar4 = (int *)((int)piVar4 + 1);\n    } while (uVar2 != 0);\n    if ((PTR_DAT_0015b694[uVar3 - 0x7b28] & 4) != 0) goto LAB_0003b6dc;\n    local_30 = 0x3b;\n    if ((int)piVar4 < 2) {\n      if ((*pbVar7 == 0) && (piVar4 != (int *)0x0)) goto LAB_0003b7fc;\n      goto LAB_0003b6dc;\n    }\n    FUN_0003b4d0(param_3,piVar4,&local_30);\n    if ((local_30 != 0x3b) || (*pbVar7 != 0)) goto LAB_0003b6dc;\n    uVar3 = (uint)*param_3;\nLAB_0003b7fc:\n    if (uVar3 == 0) goto LAB_0003b750;\n    piVar4 = (int *)0x0;\nLAB_0003b71c:\n    while( true ) {\n      *puVar8 = (char)uVar3;\n      puVar8 = (undefined1 *)(param_1 + iVar6 + 1);\n      if (*param_3 == 0x22) {\n        *puVar8 = 0x22;\n        iVar6 = iVar6 + 2;\n        bVar1 = param_3[1];\n        puVar8 = (undefined1 *)(param_1 + iVar6);\n      }\n      else {\n        bVar1 = param_3[1];\n        iVar6 = iVar6 + 1;\n      }\n      uVar3 = (uint)bVar1;\n      if (uVar3 == 0) break;\n      param_3 = param_3 + 1;\n      puVar8 = (undefined1 *)(param_1 + iVar6);\n    }\n    if (piVar4 == (int *)0x0) goto LAB_0003b750;\n  }\n  iVar6 = iVar6 + 1;\n  *puVar8 = 0x22;\n  puVar8 = (undefined1 *)(param_1 + iVar6);\nLAB_0003b750:\n  *puVar8 = 0;\n  *param_2 = iVar6;\n  if (local_2c == *(int *)puVar9) {\n    return *(int *)puVar9;\n  }\n  puVar9 = PTR___stack_chk_fail_0015ba10;\n  (*(code *)PTR___stack_chk_fail_0015ba10)();\n  puVar5 = *(undefined4 **)(puVar9 + 0x120214);\n  pbVar7 = (byte *)*puVar5;\n  if (1 < (int)piVar4) {\n    FUN_0003b4d0();\n  }\n  if (pbVar7 == (byte *)*puVar5) {\n    return 0;\n  }\n  pcVar10 = *(code **)(puVar9 + 0x1201f8);\n  (*pcVar10)();\n  uVar3 = (uint)*(byte *)(*(int *)(pcVar10 + 0x11fd5c) + 0x5134 + (uint)*pbVar7);\n  if (uVar3 < 0x1d) {\n                    /* WARNING: Could not recover jumptable at 0x0003b8f0. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    iVar6 = (*(pcVar10 + *(int *)(*(int *)(pcVar10 + 0x11fd5c) + -0x1ac + uVar3 * 4) + 0x127d10))();\n    return iVar6;\n  }\n  *piVar4 = 0xad;\n  return 1;\n}\n\n" (function_definition "int FUN_0003b61c(int param_1,int *param_2,byte *param_3)\n\n{\n  byte bVar1;\n  uint uVar2;\n  uint uVar3;\n  int *piVar4;\n  undefined4 *puVar5;\n  int iVar6;\n  byte *pbVar7;\n  undefined1 *puVar8;\n  undefined *puVar9;\n  code *pcVar10;\n  int local_30;\n  int local_2c;\n  \n  puVar9 = PTR___stack_chk_guard_0015ba2c;\n  iVar6 = *param_2;\n  uVar3 = (uint)*param_3;\n  local_2c = *(int *)PTR___stack_chk_guard_0015ba2c;\n  puVar8 = (undefined1 *)(param_1 + iVar6);\n  piVar4 = param_2;\n  if (uVar3 == 0) {\nLAB_0003b6dc:\n    iVar6 = iVar6 + 1;\n    *puVar8 = 0x22;\n    uVar3 = (uint)*param_3;\n    puVar8 = (undefined1 *)(param_1 + iVar6);\n    if (uVar3 != 0) {\n      piVar4 = (int *)0x1;\n      puVar8 = (undefined1 *)(param_1 + iVar6);\n      goto LAB_0003b71c;\n    }\n  }\n  else {\n    piVar4 = (int *)0x0;\n    uVar2 = uVar3;\n    pbVar7 = param_3;\n    do {\n      if (((PTR_DAT_0015b694[uVar2 - 0x7b28] & 6) == 0) && (uVar2 != 0x5f)) break;\n      pbVar7 = pbVar7 + 1;\n      uVar2 = (uint)*pbVar7;\n      piVar4 = (int *)((int)piVar4 + 1);\n    } while (uVar2 != 0);\n    if ((PTR_DAT_0015b694[uVar3 - 0x7b28] & 4) != 0) goto LAB_0003b6dc;\n    local_30 = 0x3b;\n    if ((int)piVar4 < 2) {\n      if ((*pbVar7 == 0) && (piVar4 != (int *)0x0)) goto LAB_0003b7fc;\n      goto LAB_0003b6dc;\n    }\n    FUN_0003b4d0(param_3,piVar4,&local_30);\n    if ((local_30 != 0x3b) || (*pbVar7 != 0)) goto LAB_0003b6dc;\n    uVar3 = (uint)*param_3;\nLAB_0003b7fc:\n    if (uVar3 == 0) goto LAB_0003b750;\n    piVar4 = (int *)0x0;\nLAB_0003b71c:\n    while( true ) {\n      *puVar8 = (char)uVar3;\n      puVar8 = (undefined1 *)(param_1 + iVar6 + 1);\n      if (*param_3 == 0x22) {\n        *puVar8 = 0x22;\n        iVar6 = iVar6 + 2;\n        bVar1 = param_3[1];\n        puVar8 = (undefined1 *)(param_1 + iVar6);\n      }\n      else {\n        bVar1 = param_3[1];\n        iVar6 = iVar6 + 1;\n      }\n      uVar3 = (uint)bVar1;\n      if (uVar3 == 0) break;\n      param_3 = param_3 + 1;\n      puVar8 = (undefined1 *)(param_1 + iVar6);\n    }\n    if (piVar4 == (int *)0x0) goto LAB_0003b750;\n  }\n  iVar6 = iVar6 + 1;\n  *puVar8 = 0x22;\n  puVar8 = (undefined1 *)(param_1 + iVar6);\nLAB_0003b750:\n  *puVar8 = 0;\n  *param_2 = iVar6;\n  if (local_2c == *(int *)puVar9) {\n    return *(int *)puVar9;\n  }\n  puVar9 = PTR___stack_chk_fail_0015ba10;\n  (*(code *)PTR___stack_chk_fail_0015ba10)();\n  puVar5 = *(undefined4 **)(puVar9 + 0x120214);\n  pbVar7 = (byte *)*puVar5;\n  if (1 < (int)piVar4) {\n    FUN_0003b4d0();\n  }\n  if (pbVar7 == (byte *)*puVar5) {\n    return 0;\n  }\n  pcVar10 = *(code **)(puVar9 + 0x1201f8);\n  (*pcVar10)();\n  uVar3 = (uint)*(byte *)(*(int *)(pcVar10 + 0x11fd5c) + 0x5134 + (uint)*pbVar7);\n  if (uVar3 < 0x1d) {\n                    /* WARNING: Could not recover jumptable at 0x0003b8f0. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    iVar6 = (*(pcVar10 + *(int *)(*(int *)(pcVar10 + 0x11fd5c) + -0x1ac + uVar3 * 4) + 0x127d10))();\n    return iVar6;\n  }\n  *piVar4 = 0xad;\n  return 1;\n}" primitive_type (function_declarator "FUN_0003b61c(int param_1,int *param_2,byte *param_3)" identifier (parameter_list "(int param_1,int *param_2,byte *param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "byte *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  byte bVar1;\n  uint uVar2;\n  uint uVar3;\n  int *piVar4;\n  undefined4 *puVar5;\n  int iVar6;\n  byte *pbVar7;\n  undefined1 *puVar8;\n  undefined *puVar9;\n  code *pcVar10;\n  int local_30;\n  int local_2c;\n  \n  puVar9 = PTR___stack_chk_guard_0015ba2c;\n  iVar6 = *param_2;\n  uVar3 = (uint)*param_3;\n  local_2c = *(int *)PTR___stack_chk_guard_0015ba2c;\n  puVar8 = (undefined1 *)(param_1 + iVar6);\n  piVar4 = param_2;\n  if (uVar3 == 0) {\nLAB_0003b6dc:\n    iVar6 = iVar6 + 1;\n    *puVar8 = 0x22;\n    uVar3 = (uint)*param_3;\n    puVar8 = (undefined1 *)(param_1 + iVar6);\n    if (uVar3 != 0) {\n      piVar4 = (int *)0x1;\n      puVar8 = (undefined1 *)(param_1 + iVar6);\n      goto LAB_0003b71c;\n    }\n  }\n  else {\n    piVar4 = (int *)0x0;\n    uVar2 = uVar3;\n    pbVar7 = param_3;\n    do {\n      if (((PTR_DAT_0015b694[uVar2 - 0x7b28] & 6) == 0) && (uVar2 != 0x5f)) break;\n      pbVar7 = pbVar7 + 1;\n      uVar2 = (uint)*pbVar7;\n      piVar4 = (int *)((int)piVar4 + 1);\n    } while (uVar2 != 0);\n    if ((PTR_DAT_0015b694[uVar3 - 0x7b28] & 4) != 0) goto LAB_0003b6dc;\n    local_30 = 0x3b;\n    if ((int)piVar4 < 2) {\n      if ((*pbVar7 == 0) && (piVar4 != (int *)0x0)) goto LAB_0003b7fc;\n      goto LAB_0003b6dc;\n    }\n    FUN_0003b4d0(param_3,piVar4,&local_30);\n    if ((local_30 != 0x3b) || (*pbVar7 != 0)) goto LAB_0003b6dc;\n    uVar3 = (uint)*param_3;\nLAB_0003b7fc:\n    if (uVar3 == 0) goto LAB_0003b750;\n    piVar4 = (int *)0x0;\nLAB_0003b71c:\n    while( true ) {\n      *puVar8 = (char)uVar3;\n      puVar8 = (undefined1 *)(param_1 + iVar6 + 1);\n      if (*param_3 == 0x22) {\n        *puVar8 = 0x22;\n        iVar6 = iVar6 + 2;\n        bVar1 = param_3[1];\n        puVar8 = (undefined1 *)(param_1 + iVar6);\n      }\n      else {\n        bVar1 = param_3[1];\n        iVar6 = iVar6 + 1;\n      }\n      uVar3 = (uint)bVar1;\n      if (uVar3 == 0) break;\n      param_3 = param_3 + 1;\n      puVar8 = (undefined1 *)(param_1 + iVar6);\n    }\n    if (piVar4 == (int *)0x0) goto LAB_0003b750;\n  }\n  iVar6 = iVar6 + 1;\n  *puVar8 = 0x22;\n  puVar8 = (undefined1 *)(param_1 + iVar6);\nLAB_0003b750:\n  *puVar8 = 0;\n  *param_2 = iVar6;\n  if (local_2c == *(int *)puVar9) {\n    return *(int *)puVar9;\n  }\n  puVar9 = PTR___stack_chk_fail_0015ba10;\n  (*(code *)PTR___stack_chk_fail_0015ba10)();\n  puVar5 = *(undefined4 **)(puVar9 + 0x120214);\n  pbVar7 = (byte *)*puVar5;\n  if (1 < (int)piVar4) {\n    FUN_0003b4d0();\n  }\n  if (pbVar7 == (byte *)*puVar5) {\n    return 0;\n  }\n  pcVar10 = *(code **)(puVar9 + 0x1201f8);\n  (*pcVar10)();\n  uVar3 = (uint)*(byte *)(*(int *)(pcVar10 + 0x11fd5c) + 0x5134 + (uint)*pbVar7);\n  if (uVar3 < 0x1d) {\n                    /* WARNING: Could not recover jumptable at 0x0003b8f0. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    iVar6 = (*(pcVar10 + *(int *)(*(int *)(pcVar10 + 0x11fd5c) + -0x1ac + uVar3 * 4) + 0x127d10))();\n    return iVar6;\n  }\n  *piVar4 = 0xad;\n  return 1;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "int *piVar4;" primitive_type (pointer_declarator "*piVar4" * identifier) ;) (declaration "undefined4 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "byte *pbVar7;" type_identifier (pointer_declarator "*pbVar7" * identifier) ;) (declaration "undefined1 *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (declaration "undefined *puVar9;" type_identifier (pointer_declarator "*puVar9" * identifier) ;) (declaration "code *pcVar10;" type_identifier (pointer_declarator "*pcVar10" * identifier) ;) (declaration "int local_30;" primitive_type identifier ;) (declaration "int local_2c;" primitive_type identifier ;) (expression_statement "puVar9 = PTR___stack_chk_guard_0015ba2c;" (assignment_expression "puVar9 = PTR___stack_chk_guard_0015ba2c" identifier = identifier) ;) (expression_statement "iVar6 = *param_2;" (assignment_expression "iVar6 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "uVar3 = (uint)*param_3;" (assignment_expression "uVar3 = (uint)*param_3" identifier = (binary_expression "(uint)*param_3" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) (expression_statement "local_2c = *(int *)PTR___stack_chk_guard_0015ba2c;" (assignment_expression "local_2c = *(int *)PTR___stack_chk_guard_0015ba2c" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_0015ba2c" * (cast_expression "(int *)PTR___stack_chk_guard_0015ba2c" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "puVar8 = (undefined1 *)(param_1 + iVar6);" (assignment_expression "puVar8 = (undefined1 *)(param_1 + iVar6)" identifier = (cast_expression "(undefined1 *)(param_1 + iVar6)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + iVar6)" ( (binary_expression "param_1 + iVar6" identifier + identifier) )))) ;) (expression_statement "piVar4 = param_2;" (assignment_expression "piVar4 = param_2" identifier = identifier) ;) (if_statement "if (uVar3 == 0) {\nLAB_0003b6dc:\n    iVar6 = iVar6 + 1;\n    *puVar8 = 0x22;\n    uVar3 = (uint)*param_3;\n    puVar8 = (undefined1 *)(param_1 + iVar6);\n    if (uVar3 != 0) {\n      piVar4 = (int *)0x1;\n      puVar8 = (undefined1 *)(param_1 + iVar6);\n      goto LAB_0003b71c;\n    }\n  }\n  else {\n    piVar4 = (int *)0x0;\n    uVar2 = uVar3;\n    pbVar7 = param_3;\n    do {\n      if (((PTR_DAT_0015b694[uVar2 - 0x7b28] & 6) == 0) && (uVar2 != 0x5f)) break;\n      pbVar7 = pbVar7 + 1;\n      uVar2 = (uint)*pbVar7;\n      piVar4 = (int *)((int)piVar4 + 1);\n    } while (uVar2 != 0);\n    if ((PTR_DAT_0015b694[uVar3 - 0x7b28] & 4) != 0) goto LAB_0003b6dc;\n    local_30 = 0x3b;\n    if ((int)piVar4 < 2) {\n      if ((*pbVar7 == 0) && (piVar4 != (int *)0x0)) goto LAB_0003b7fc;\n      goto LAB_0003b6dc;\n    }\n    FUN_0003b4d0(param_3,piVar4,&local_30);\n    if ((local_30 != 0x3b) || (*pbVar7 != 0)) goto LAB_0003b6dc;\n    uVar3 = (uint)*param_3;\nLAB_0003b7fc:\n    if (uVar3 == 0) goto LAB_0003b750;\n    piVar4 = (int *)0x0;\nLAB_0003b71c:\n    while( true ) {\n      *puVar8 = (char)uVar3;\n      puVar8 = (undefined1 *)(param_1 + iVar6 + 1);\n      if (*param_3 == 0x22) {\n        *puVar8 = 0x22;\n        iVar6 = iVar6 + 2;\n        bVar1 = param_3[1];\n        puVar8 = (undefined1 *)(param_1 + iVar6);\n      }\n      else {\n        bVar1 = param_3[1];\n        iVar6 = iVar6 + 1;\n      }\n      uVar3 = (uint)bVar1;\n      if (uVar3 == 0) break;\n      param_3 = param_3 + 1;\n      puVar8 = (undefined1 *)(param_1 + iVar6);\n    }\n    if (piVar4 == (int *)0x0) goto LAB_0003b750;\n  }" if (parenthesized_expression "(uVar3 == 0)" ( (binary_expression "uVar3 == 0" identifier == number_literal) )) (compound_statement "{\nLAB_0003b6dc:\n    iVar6 = iVar6 + 1;\n    *puVar8 = 0x22;\n    uVar3 = (uint)*param_3;\n    puVar8 = (undefined1 *)(param_1 + iVar6);\n    if (uVar3 != 0) {\n      piVar4 = (int *)0x1;\n      puVar8 = (undefined1 *)(param_1 + iVar6);\n      goto LAB_0003b71c;\n    }\n  }" { (labeled_statement "LAB_0003b6dc:\n    iVar6 = iVar6 + 1;" statement_identifier : (expression_statement "iVar6 = iVar6 + 1;" (assignment_expression "iVar6 = iVar6 + 1" identifier = (binary_expression "iVar6 + 1" identifier + number_literal)) ;)) (expression_statement "*puVar8 = 0x22;" (assignment_expression "*puVar8 = 0x22" (pointer_expression "*puVar8" * identifier) = number_literal) ;) (expression_statement "uVar3 = (uint)*param_3;" (assignment_expression "uVar3 = (uint)*param_3" identifier = (binary_expression "(uint)*param_3" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) (expression_statement "puVar8 = (undefined1 *)(param_1 + iVar6);" (assignment_expression "puVar8 = (undefined1 *)(param_1 + iVar6)" identifier = (cast_expression "(undefined1 *)(param_1 + iVar6)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + iVar6)" ( (binary_expression "param_1 + iVar6" identifier + identifier) )))) ;) (if_statement "if (uVar3 != 0) {\n      piVar4 = (int *)0x1;\n      puVar8 = (undefined1 *)(param_1 + iVar6);\n      goto LAB_0003b71c;\n    }" if (parenthesized_expression "(uVar3 != 0)" ( (binary_expression "uVar3 != 0" identifier != number_literal) )) (compound_statement "{\n      piVar4 = (int *)0x1;\n      puVar8 = (undefined1 *)(param_1 + iVar6);\n      goto LAB_0003b71c;\n    }" { (expression_statement "piVar4 = (int *)0x1;" (assignment_expression "piVar4 = (int *)0x1" identifier = (cast_expression "(int *)0x1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "puVar8 = (undefined1 *)(param_1 + iVar6);" (assignment_expression "puVar8 = (undefined1 *)(param_1 + iVar6)" identifier = (cast_expression "(undefined1 *)(param_1 + iVar6)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + iVar6)" ( (binary_expression "param_1 + iVar6" identifier + identifier) )))) ;) (goto_statement "goto LAB_0003b71c;" goto statement_identifier ;) })) }) (else_clause "else {\n    piVar4 = (int *)0x0;\n    uVar2 = uVar3;\n    pbVar7 = param_3;\n    do {\n      if (((PTR_DAT_0015b694[uVar2 - 0x7b28] & 6) == 0) && (uVar2 != 0x5f)) break;\n      pbVar7 = pbVar7 + 1;\n      uVar2 = (uint)*pbVar7;\n      piVar4 = (int *)((int)piVar4 + 1);\n    } while (uVar2 != 0);\n    if ((PTR_DAT_0015b694[uVar3 - 0x7b28] & 4) != 0) goto LAB_0003b6dc;\n    local_30 = 0x3b;\n    if ((int)piVar4 < 2) {\n      if ((*pbVar7 == 0) && (piVar4 != (int *)0x0)) goto LAB_0003b7fc;\n      goto LAB_0003b6dc;\n    }\n    FUN_0003b4d0(param_3,piVar4,&local_30);\n    if ((local_30 != 0x3b) || (*pbVar7 != 0)) goto LAB_0003b6dc;\n    uVar3 = (uint)*param_3;\nLAB_0003b7fc:\n    if (uVar3 == 0) goto LAB_0003b750;\n    piVar4 = (int *)0x0;\nLAB_0003b71c:\n    while( true ) {\n      *puVar8 = (char)uVar3;\n      puVar8 = (undefined1 *)(param_1 + iVar6 + 1);\n      if (*param_3 == 0x22) {\n        *puVar8 = 0x22;\n        iVar6 = iVar6 + 2;\n        bVar1 = param_3[1];\n        puVar8 = (undefined1 *)(param_1 + iVar6);\n      }\n      else {\n        bVar1 = param_3[1];\n        iVar6 = iVar6 + 1;\n      }\n      uVar3 = (uint)bVar1;\n      if (uVar3 == 0) break;\n      param_3 = param_3 + 1;\n      puVar8 = (undefined1 *)(param_1 + iVar6);\n    }\n    if (piVar4 == (int *)0x0) goto LAB_0003b750;\n  }" else (compound_statement "{\n    piVar4 = (int *)0x0;\n    uVar2 = uVar3;\n    pbVar7 = param_3;\n    do {\n      if (((PTR_DAT_0015b694[uVar2 - 0x7b28] & 6) == 0) && (uVar2 != 0x5f)) break;\n      pbVar7 = pbVar7 + 1;\n      uVar2 = (uint)*pbVar7;\n      piVar4 = (int *)((int)piVar4 + 1);\n    } while (uVar2 != 0);\n    if ((PTR_DAT_0015b694[uVar3 - 0x7b28] & 4) != 0) goto LAB_0003b6dc;\n    local_30 = 0x3b;\n    if ((int)piVar4 < 2) {\n      if ((*pbVar7 == 0) && (piVar4 != (int *)0x0)) goto LAB_0003b7fc;\n      goto LAB_0003b6dc;\n    }\n    FUN_0003b4d0(param_3,piVar4,&local_30);\n    if ((local_30 != 0x3b) || (*pbVar7 != 0)) goto LAB_0003b6dc;\n    uVar3 = (uint)*param_3;\nLAB_0003b7fc:\n    if (uVar3 == 0) goto LAB_0003b750;\n    piVar4 = (int *)0x0;\nLAB_0003b71c:\n    while( true ) {\n      *puVar8 = (char)uVar3;\n      puVar8 = (undefined1 *)(param_1 + iVar6 + 1);\n      if (*param_3 == 0x22) {\n        *puVar8 = 0x22;\n        iVar6 = iVar6 + 2;\n        bVar1 = param_3[1];\n        puVar8 = (undefined1 *)(param_1 + iVar6);\n      }\n      else {\n        bVar1 = param_3[1];\n        iVar6 = iVar6 + 1;\n      }\n      uVar3 = (uint)bVar1;\n      if (uVar3 == 0) break;\n      param_3 = param_3 + 1;\n      puVar8 = (undefined1 *)(param_1 + iVar6);\n    }\n    if (piVar4 == (int *)0x0) goto LAB_0003b750;\n  }" { (expression_statement "piVar4 = (int *)0x0;" (assignment_expression "piVar4 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "uVar2 = uVar3;" (assignment_expression "uVar2 = uVar3" identifier = identifier) ;) (expression_statement "pbVar7 = param_3;" (assignment_expression "pbVar7 = param_3" identifier = identifier) ;) (do_statement "do {\n      if (((PTR_DAT_0015b694[uVar2 - 0x7b28] & 6) == 0) && (uVar2 != 0x5f)) break;\n      pbVar7 = pbVar7 + 1;\n      uVar2 = (uint)*pbVar7;\n      piVar4 = (int *)((int)piVar4 + 1);\n    } while (uVar2 != 0);" do (compound_statement "{\n      if (((PTR_DAT_0015b694[uVar2 - 0x7b28] & 6) == 0) && (uVar2 != 0x5f)) break;\n      pbVar7 = pbVar7 + 1;\n      uVar2 = (uint)*pbVar7;\n      piVar4 = (int *)((int)piVar4 + 1);\n    }" { (if_statement "if (((PTR_DAT_0015b694[uVar2 - 0x7b28] & 6) == 0) && (uVar2 != 0x5f)) break;" if (parenthesized_expression "(((PTR_DAT_0015b694[uVar2 - 0x7b28] & 6) == 0) && (uVar2 != 0x5f))" ( (binary_expression "((PTR_DAT_0015b694[uVar2 - 0x7b28] & 6) == 0) && (uVar2 != 0x5f)" (parenthesized_expression "((PTR_DAT_0015b694[uVar2 - 0x7b28] & 6) == 0)" ( (binary_expression "(PTR_DAT_0015b694[uVar2 - 0x7b28] & 6) == 0" (parenthesized_expression "(PTR_DAT_0015b694[uVar2 - 0x7b28] & 6)" ( (binary_expression "PTR_DAT_0015b694[uVar2 - 0x7b28] & 6" (subscript_expression "PTR_DAT_0015b694[uVar2 - 0x7b28]" identifier [ (binary_expression "uVar2 - 0x7b28" identifier - number_literal) ]) & number_literal) )) == number_literal) )) && (parenthesized_expression "(uVar2 != 0x5f)" ( (binary_expression "uVar2 != 0x5f" identifier != number_literal) ))) )) (break_statement "break;" break ;)) (expression_statement "pbVar7 = pbVar7 + 1;" (assignment_expression "pbVar7 = pbVar7 + 1" identifier = (binary_expression "pbVar7 + 1" identifier + number_literal)) ;) (expression_statement "uVar2 = (uint)*pbVar7;" (assignment_expression "uVar2 = (uint)*pbVar7" identifier = (binary_expression "(uint)*pbVar7" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) (expression_statement "piVar4 = (int *)((int)piVar4 + 1);" (assignment_expression "piVar4 = (int *)((int)piVar4 + 1)" identifier = (cast_expression "(int *)((int)piVar4 + 1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar4 + 1)" ( (binary_expression "(int)piVar4 + 1" (cast_expression "(int)piVar4" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) }) while (parenthesized_expression "(uVar2 != 0)" ( (binary_expression "uVar2 != 0" identifier != number_literal) )) ;) (if_statement "if ((PTR_DAT_0015b694[uVar3 - 0x7b28] & 4) != 0) goto LAB_0003b6dc;" if (parenthesized_expression "((PTR_DAT_0015b694[uVar3 - 0x7b28] & 4) != 0)" ( (binary_expression "(PTR_DAT_0015b694[uVar3 - 0x7b28] & 4) != 0" (parenthesized_expression "(PTR_DAT_0015b694[uVar3 - 0x7b28] & 4)" ( (binary_expression "PTR_DAT_0015b694[uVar3 - 0x7b28] & 4" (subscript_expression "PTR_DAT_0015b694[uVar3 - 0x7b28]" identifier [ (binary_expression "uVar3 - 0x7b28" identifier - number_literal) ]) & number_literal) )) != number_literal) )) (goto_statement "goto LAB_0003b6dc;" goto statement_identifier ;)) (expression_statement "local_30 = 0x3b;" (assignment_expression "local_30 = 0x3b" identifier = number_literal) ;) (if_statement "if ((int)piVar4 < 2) {\n      if ((*pbVar7 == 0) && (piVar4 != (int *)0x0)) goto LAB_0003b7fc;\n      goto LAB_0003b6dc;\n    }" if (parenthesized_expression "((int)piVar4 < 2)" ( (binary_expression "(int)piVar4 < 2" (cast_expression "(int)piVar4" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n      if ((*pbVar7 == 0) && (piVar4 != (int *)0x0)) goto LAB_0003b7fc;\n      goto LAB_0003b6dc;\n    }" { (if_statement "if ((*pbVar7 == 0) && (piVar4 != (int *)0x0)) goto LAB_0003b7fc;" if (parenthesized_expression "((*pbVar7 == 0) && (piVar4 != (int *)0x0))" ( (binary_expression "(*pbVar7 == 0) && (piVar4 != (int *)0x0)" (parenthesized_expression "(*pbVar7 == 0)" ( (binary_expression "*pbVar7 == 0" (pointer_expression "*pbVar7" * identifier) == number_literal) )) && (parenthesized_expression "(piVar4 != (int *)0x0)" ( (binary_expression "piVar4 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ))) )) (goto_statement "goto LAB_0003b7fc;" goto statement_identifier ;)) (goto_statement "goto LAB_0003b6dc;" goto statement_identifier ;) })) (expression_statement "FUN_0003b4d0(param_3,piVar4,&local_30);" (call_expression "FUN_0003b4d0(param_3,piVar4,&local_30)" identifier (argument_list "(param_3,piVar4,&local_30)" ( identifier , identifier , (pointer_expression "&local_30" & identifier) ))) ;) (if_statement "if ((local_30 != 0x3b) || (*pbVar7 != 0)) goto LAB_0003b6dc;" if (parenthesized_expression "((local_30 != 0x3b) || (*pbVar7 != 0))" ( (binary_expression "(local_30 != 0x3b) || (*pbVar7 != 0)" (parenthesized_expression "(local_30 != 0x3b)" ( (binary_expression "local_30 != 0x3b" identifier != number_literal) )) || (parenthesized_expression "(*pbVar7 != 0)" ( (binary_expression "*pbVar7 != 0" (pointer_expression "*pbVar7" * identifier) != number_literal) ))) )) (goto_statement "goto LAB_0003b6dc;" goto statement_identifier ;)) (expression_statement "uVar3 = (uint)*param_3;" (assignment_expression "uVar3 = (uint)*param_3" identifier = (binary_expression "(uint)*param_3" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) (labeled_statement "LAB_0003b7fc:\n    if (uVar3 == 0) goto LAB_0003b750;" statement_identifier : (if_statement "if (uVar3 == 0) goto LAB_0003b750;" if (parenthesized_expression "(uVar3 == 0)" ( (binary_expression "uVar3 == 0" identifier == number_literal) )) (goto_statement "goto LAB_0003b750;" goto statement_identifier ;))) (expression_statement "piVar4 = (int *)0x0;" (assignment_expression "piVar4 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (labeled_statement "LAB_0003b71c:\n    while( true ) {\n      *puVar8 = (char)uVar3;\n      puVar8 = (undefined1 *)(param_1 + iVar6 + 1);\n      if (*param_3 == 0x22) {\n        *puVar8 = 0x22;\n        iVar6 = iVar6 + 2;\n        bVar1 = param_3[1];\n        puVar8 = (undefined1 *)(param_1 + iVar6);\n      }\n      else {\n        bVar1 = param_3[1];\n        iVar6 = iVar6 + 1;\n      }\n      uVar3 = (uint)bVar1;\n      if (uVar3 == 0) break;\n      param_3 = param_3 + 1;\n      puVar8 = (undefined1 *)(param_1 + iVar6);\n    }" statement_identifier : (while_statement "while( true ) {\n      *puVar8 = (char)uVar3;\n      puVar8 = (undefined1 *)(param_1 + iVar6 + 1);\n      if (*param_3 == 0x22) {\n        *puVar8 = 0x22;\n        iVar6 = iVar6 + 2;\n        bVar1 = param_3[1];\n        puVar8 = (undefined1 *)(param_1 + iVar6);\n      }\n      else {\n        bVar1 = param_3[1];\n        iVar6 = iVar6 + 1;\n      }\n      uVar3 = (uint)bVar1;\n      if (uVar3 == 0) break;\n      param_3 = param_3 + 1;\n      puVar8 = (undefined1 *)(param_1 + iVar6);\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      *puVar8 = (char)uVar3;\n      puVar8 = (undefined1 *)(param_1 + iVar6 + 1);\n      if (*param_3 == 0x22) {\n        *puVar8 = 0x22;\n        iVar6 = iVar6 + 2;\n        bVar1 = param_3[1];\n        puVar8 = (undefined1 *)(param_1 + iVar6);\n      }\n      else {\n        bVar1 = param_3[1];\n        iVar6 = iVar6 + 1;\n      }\n      uVar3 = (uint)bVar1;\n      if (uVar3 == 0) break;\n      param_3 = param_3 + 1;\n      puVar8 = (undefined1 *)(param_1 + iVar6);\n    }" { (expression_statement "*puVar8 = (char)uVar3;" (assignment_expression "*puVar8 = (char)uVar3" (pointer_expression "*puVar8" * identifier) = (cast_expression "(char)uVar3" ( (type_descriptor "char" primitive_type) ) identifier)) ;) (expression_statement "puVar8 = (undefined1 *)(param_1 + iVar6 + 1);" (assignment_expression "puVar8 = (undefined1 *)(param_1 + iVar6 + 1)" identifier = (cast_expression "(undefined1 *)(param_1 + iVar6 + 1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + iVar6 + 1)" ( (binary_expression "param_1 + iVar6 + 1" (binary_expression "param_1 + iVar6" identifier + identifier) + number_literal) )))) ;) (if_statement "if (*param_3 == 0x22) {\n        *puVar8 = 0x22;\n        iVar6 = iVar6 + 2;\n        bVar1 = param_3[1];\n        puVar8 = (undefined1 *)(param_1 + iVar6);\n      }\n      else {\n        bVar1 = param_3[1];\n        iVar6 = iVar6 + 1;\n      }" if (parenthesized_expression "(*param_3 == 0x22)" ( (binary_expression "*param_3 == 0x22" (pointer_expression "*param_3" * identifier) == number_literal) )) (compound_statement "{\n        *puVar8 = 0x22;\n        iVar6 = iVar6 + 2;\n        bVar1 = param_3[1];\n        puVar8 = (undefined1 *)(param_1 + iVar6);\n      }" { (expression_statement "*puVar8 = 0x22;" (assignment_expression "*puVar8 = 0x22" (pointer_expression "*puVar8" * identifier) = number_literal) ;) (expression_statement "iVar6 = iVar6 + 2;" (assignment_expression "iVar6 = iVar6 + 2" identifier = (binary_expression "iVar6 + 2" identifier + number_literal)) ;) (expression_statement "bVar1 = param_3[1];" (assignment_expression "bVar1 = param_3[1]" identifier = (subscript_expression "param_3[1]" identifier [ number_literal ])) ;) (expression_statement "puVar8 = (undefined1 *)(param_1 + iVar6);" (assignment_expression "puVar8 = (undefined1 *)(param_1 + iVar6)" identifier = (cast_expression "(undefined1 *)(param_1 + iVar6)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + iVar6)" ( (binary_expression "param_1 + iVar6" identifier + identifier) )))) ;) }) (else_clause "else {\n        bVar1 = param_3[1];\n        iVar6 = iVar6 + 1;\n      }" else (compound_statement "{\n        bVar1 = param_3[1];\n        iVar6 = iVar6 + 1;\n      }" { (expression_statement "bVar1 = param_3[1];" (assignment_expression "bVar1 = param_3[1]" identifier = (subscript_expression "param_3[1]" identifier [ number_literal ])) ;) (expression_statement "iVar6 = iVar6 + 1;" (assignment_expression "iVar6 = iVar6 + 1" identifier = (binary_expression "iVar6 + 1" identifier + number_literal)) ;) }))) (expression_statement "uVar3 = (uint)bVar1;" (assignment_expression "uVar3 = (uint)bVar1" identifier = (cast_expression "(uint)bVar1" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (if_statement "if (uVar3 == 0) break;" if (parenthesized_expression "(uVar3 == 0)" ( (binary_expression "uVar3 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "param_3 = param_3 + 1;" (assignment_expression "param_3 = param_3 + 1" identifier = (binary_expression "param_3 + 1" identifier + number_literal)) ;) (expression_statement "puVar8 = (undefined1 *)(param_1 + iVar6);" (assignment_expression "puVar8 = (undefined1 *)(param_1 + iVar6)" identifier = (cast_expression "(undefined1 *)(param_1 + iVar6)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + iVar6)" ( (binary_expression "param_1 + iVar6" identifier + identifier) )))) ;) }))) (if_statement "if (piVar4 == (int *)0x0) goto LAB_0003b750;" if (parenthesized_expression "(piVar4 == (int *)0x0)" ( (binary_expression "piVar4 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_0003b750;" goto statement_identifier ;)) }))) (expression_statement "iVar6 = iVar6 + 1;" (assignment_expression "iVar6 = iVar6 + 1" identifier = (binary_expression "iVar6 + 1" identifier + number_literal)) ;) (expression_statement "*puVar8 = 0x22;" (assignment_expression "*puVar8 = 0x22" (pointer_expression "*puVar8" * identifier) = number_literal) ;) (expression_statement "puVar8 = (undefined1 *)(param_1 + iVar6);" (assignment_expression "puVar8 = (undefined1 *)(param_1 + iVar6)" identifier = (cast_expression "(undefined1 *)(param_1 + iVar6)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + iVar6)" ( (binary_expression "param_1 + iVar6" identifier + identifier) )))) ;) (labeled_statement "LAB_0003b750:\n  *puVar8 = 0;" statement_identifier : (expression_statement "*puVar8 = 0;" (assignment_expression "*puVar8 = 0" (pointer_expression "*puVar8" * identifier) = number_literal) ;)) (expression_statement "*param_2 = iVar6;" (assignment_expression "*param_2 = iVar6" (pointer_expression "*param_2" * identifier) = identifier) ;) (if_statement "if (local_2c == *(int *)puVar9) {\n    return *(int *)puVar9;\n  }" if (parenthesized_expression "(local_2c == *(int *)puVar9)" ( (binary_expression "local_2c == *(int *)puVar9" identifier == (pointer_expression "*(int *)puVar9" * (cast_expression "(int *)puVar9" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return *(int *)puVar9;\n  }" { (return_statement "return *(int *)puVar9;" return (pointer_expression "*(int *)puVar9" * (cast_expression "(int *)puVar9" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) ;) })) (expression_statement "puVar9 = PTR___stack_chk_fail_0015ba10;" (assignment_expression "puVar9 = PTR___stack_chk_fail_0015ba10" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_0015ba10)();" (call_expression "(*(code *)PTR___stack_chk_fail_0015ba10)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_0015ba10)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_0015ba10" * (cast_expression "(code *)PTR___stack_chk_fail_0015ba10" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "puVar5 = *(undefined4 **)(puVar9 + 0x120214);" (assignment_expression "puVar5 = *(undefined4 **)(puVar9 + 0x120214)" identifier = (pointer_expression "*(undefined4 **)(puVar9 + 0x120214)" * (cast_expression "(undefined4 **)(puVar9 + 0x120214)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar9 + 0x120214)" ( (binary_expression "puVar9 + 0x120214" identifier + number_literal) ))))) ;) (expression_statement "pbVar7 = (byte *)*puVar5;" (assignment_expression "pbVar7 = (byte *)*puVar5" identifier = (cast_expression "(byte *)*puVar5" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar5" * identifier))) ;) (if_statement "if (1 < (int)piVar4) {\n    FUN_0003b4d0();\n  }" if (parenthesized_expression "(1 < (int)piVar4)" ( (binary_expression "1 < (int)piVar4" number_literal < (cast_expression "(int)piVar4" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n    FUN_0003b4d0();\n  }" { (expression_statement "FUN_0003b4d0();" (call_expression "FUN_0003b4d0()" identifier (argument_list "()" ( ))) ;) })) (if_statement "if (pbVar7 == (byte *)*puVar5) {\n    return 0;\n  }" if (parenthesized_expression "(pbVar7 == (byte *)*puVar5)" ( (binary_expression "pbVar7 == (byte *)*puVar5" identifier == (cast_expression "(byte *)*puVar5" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar5" * identifier))) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "pcVar10 = *(code **)(puVar9 + 0x1201f8);" (assignment_expression "pcVar10 = *(code **)(puVar9 + 0x1201f8)" identifier = (pointer_expression "*(code **)(puVar9 + 0x1201f8)" * (cast_expression "(code **)(puVar9 + 0x1201f8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar9 + 0x1201f8)" ( (binary_expression "puVar9 + 0x1201f8" identifier + number_literal) ))))) ;) (expression_statement "(*pcVar10)();" (call_expression "(*pcVar10)()" (parenthesized_expression "(*pcVar10)" ( (pointer_expression "*pcVar10" * identifier) )) (argument_list "()" ( ))) ;) (expression_statement "uVar3 = (uint)*(byte *)(*(int *)(pcVar10 + 0x11fd5c) + 0x5134 + (uint)*pbVar7);" (assignment_expression "uVar3 = (uint)*(byte *)(*(int *)(pcVar10 + 0x11fd5c) + 0x5134 + (uint)*pbVar7)" identifier = (binary_expression "(uint)*(byte *)(*(int *)(pcVar10 + 0x11fd5c) + 0x5134 + (uint)*pbVar7)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)(*(int *)(pcVar10 + 0x11fd5c) + 0x5134 + (uint)*pbVar7)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(pcVar10 + 0x11fd5c) + 0x5134 + (uint)*pbVar7)" ( (binary_expression "*(int *)(pcVar10 + 0x11fd5c) + 0x5134 + (uint)*pbVar7" (binary_expression "*(int *)(pcVar10 + 0x11fd5c) + 0x5134" (pointer_expression "*(int *)(pcVar10 + 0x11fd5c)" * (cast_expression "(int *)(pcVar10 + 0x11fd5c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar10 + 0x11fd5c)" ( (binary_expression "pcVar10 + 0x11fd5c" identifier + number_literal) )))) + number_literal) + (binary_expression "(uint)*pbVar7" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ))))) ;) (if_statement "if (uVar3 < 0x1d) {\n                    /* WARNING: Could not recover jumptable at 0x0003b8f0. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    iVar6 = (*(pcVar10 + *(int *)(*(int *)(pcVar10 + 0x11fd5c) + -0x1ac + uVar3 * 4) + 0x127d10))();\n    return iVar6;\n  }" if (parenthesized_expression "(uVar3 < 0x1d)" ( (binary_expression "uVar3 < 0x1d" identifier < number_literal) )) (compound_statement "{\n                    /* WARNING: Could not recover jumptable at 0x0003b8f0. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    iVar6 = (*(pcVar10 + *(int *)(*(int *)(pcVar10 + 0x11fd5c) + -0x1ac + uVar3 * 4) + 0x127d10))();\n    return iVar6;\n  }" { comment comment (expression_statement "iVar6 = (*(pcVar10 + *(int *)(*(int *)(pcVar10 + 0x11fd5c) + -0x1ac + uVar3 * 4) + 0x127d10))();" (assignment_expression "iVar6 = (*(pcVar10 + *(int *)(*(int *)(pcVar10 + 0x11fd5c) + -0x1ac + uVar3 * 4) + 0x127d10))()" identifier = (call_expression "(*(pcVar10 + *(int *)(*(int *)(pcVar10 + 0x11fd5c) + -0x1ac + uVar3 * 4) + 0x127d10))()" (parenthesized_expression "(*(pcVar10 + *(int *)(*(int *)(pcVar10 + 0x11fd5c) + -0x1ac + uVar3 * 4) + 0x127d10))" ( (pointer_expression "*(pcVar10 + *(int *)(*(int *)(pcVar10 + 0x11fd5c) + -0x1ac + uVar3 * 4) + 0x127d10)" * (parenthesized_expression "(pcVar10 + *(int *)(*(int *)(pcVar10 + 0x11fd5c) + -0x1ac + uVar3 * 4) + 0x127d10)" ( (binary_expression "pcVar10 + *(int *)(*(int *)(pcVar10 + 0x11fd5c) + -0x1ac + uVar3 * 4) + 0x127d10" (binary_expression "pcVar10 + *(int *)(*(int *)(pcVar10 + 0x11fd5c) + -0x1ac + uVar3 * 4)" identifier + (pointer_expression "*(int *)(*(int *)(pcVar10 + 0x11fd5c) + -0x1ac + uVar3 * 4)" * (cast_expression "(int *)(*(int *)(pcVar10 + 0x11fd5c) + -0x1ac + uVar3 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(pcVar10 + 0x11fd5c) + -0x1ac + uVar3 * 4)" ( (binary_expression "*(int *)(pcVar10 + 0x11fd5c) + -0x1ac + uVar3 * 4" (binary_expression "*(int *)(pcVar10 + 0x11fd5c) + -0x1ac" (pointer_expression "*(int *)(pcVar10 + 0x11fd5c)" * (cast_expression "(int *)(pcVar10 + 0x11fd5c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar10 + 0x11fd5c)" ( (binary_expression "pcVar10 + 0x11fd5c" identifier + number_literal) )))) + number_literal) + (binary_expression "uVar3 * 4" identifier * number_literal)) ))))) + number_literal) ))) )) (argument_list "()" ( )))) ;) (return_statement "return iVar6;" return identifier ;) })) (expression_statement "*piVar4 = 0xad;" (assignment_expression "*piVar4 = 0xad" (pointer_expression "*piVar4" * identifier) = number_literal) ;) (return_statement "return 1;" return number_literal ;) })))
(translation_unit "void identPut(char *z,int *pIdx,char *zSignedIdent)\n\n{\n  byte bVar1;\n  bool bVar2;\n  undefined *puVar3;\n  uint uVar4;\n  uint uVar5;\n  int n;\n  int iVar6;\n  byte *pbVar7;\n  char *pcVar8;\n  int id;\n  int iStack_2c;\n  \n  puVar3 = PTR___stack_chk_guard_0015ba2c;\n  iVar6 = *pIdx;\n  uVar5 = (uint)(byte)*zSignedIdent;\n  iStack_2c = *(int *)PTR___stack_chk_guard_0015ba2c;\n  pcVar8 = z + iVar6;\n  if (uVar5 == 0) {\nLAB_0003b6dc:\n    iVar6 = iVar6 + 1;\n    *pcVar8 = '\"';\n    uVar5 = (uint)(byte)*zSignedIdent;\n    pcVar8 = z + iVar6;\n    if (uVar5 != 0) {\n      bVar2 = true;\n      pcVar8 = z + iVar6;\n      goto LAB_0003b71c;\n    }\n  }\n  else {\n    n = 0;\n    uVar4 = uVar5;\n    pbVar7 = (byte *)zSignedIdent;\n    do {\n      if (((PTR_DAT_0015b694[uVar4 - 0x7b28] & 6) == 0) && (uVar4 != 0x5f)) break;\n      pbVar7 = pbVar7 + 1;\n      uVar4 = (uint)*pbVar7;\n      n = n + 1;\n    } while (uVar4 != 0);\n    if ((PTR_DAT_0015b694[uVar5 - 0x7b28] & 4) != 0) goto LAB_0003b6dc;\n    id = 0x3b;\n    if (n < 2) {\n      if ((*pbVar7 == 0) && (n != 0)) goto LAB_0003b7fc;\n      goto LAB_0003b6dc;\n    }\n    keywordCode(zSignedIdent,n,&id);\n    if ((id != 0x3b) || (*pbVar7 != 0)) goto LAB_0003b6dc;\n    uVar5 = (uint)(byte)*zSignedIdent;\nLAB_0003b7fc:\n    if (uVar5 == 0) goto LAB_0003b750;\n    bVar2 = false;\nLAB_0003b71c:\n    while( true ) {\n      *pcVar8 = (char)uVar5;\n      pcVar8 = z + iVar6 + 1;\n      if (*zSignedIdent == '\"') {\n        *pcVar8 = '\"';\n        iVar6 = iVar6 + 2;\n        bVar1 = zSignedIdent[1];\n        pcVar8 = z + iVar6;\n      }\n      else {\n        bVar1 = zSignedIdent[1];\n        iVar6 = iVar6 + 1;\n      }\n      uVar5 = (uint)bVar1;\n      if (uVar5 == 0) break;\n      zSignedIdent = zSignedIdent + 1;\n      pcVar8 = z + iVar6;\n    }\n    if (!bVar2) goto LAB_0003b750;\n  }\n  iVar6 = iVar6 + 1;\n  *pcVar8 = '\"';\n  pcVar8 = z + iVar6;\nLAB_0003b750:\n  *pcVar8 = '\0';\n  *pIdx = iVar6;\n  if (iStack_2c == *(int *)puVar3) {\n    return;\n  }\n  (*(code *)PTR___stack_chk_fail_0015ba10)();\n  return;\n}\n\n" (function_definition "void identPut(char *z,int *pIdx,char *zSignedIdent)\n\n{\n  byte bVar1;\n  bool bVar2;\n  undefined *puVar3;\n  uint uVar4;\n  uint uVar5;\n  int n;\n  int iVar6;\n  byte *pbVar7;\n  char *pcVar8;\n  int id;\n  int iStack_2c;\n  \n  puVar3 = PTR___stack_chk_guard_0015ba2c;\n  iVar6 = *pIdx;\n  uVar5 = (uint)(byte)*zSignedIdent;\n  iStack_2c = *(int *)PTR___stack_chk_guard_0015ba2c;\n  pcVar8 = z + iVar6;\n  if (uVar5 == 0) {\nLAB_0003b6dc:\n    iVar6 = iVar6 + 1;\n    *pcVar8 = '\"';\n    uVar5 = (uint)(byte)*zSignedIdent;\n    pcVar8 = z + iVar6;\n    if (uVar5 != 0) {\n      bVar2 = true;\n      pcVar8 = z + iVar6;\n      goto LAB_0003b71c;\n    }\n  }\n  else {\n    n = 0;\n    uVar4 = uVar5;\n    pbVar7 = (byte *)zSignedIdent;\n    do {\n      if (((PTR_DAT_0015b694[uVar4 - 0x7b28] & 6) == 0) && (uVar4 != 0x5f)) break;\n      pbVar7 = pbVar7 + 1;\n      uVar4 = (uint)*pbVar7;\n      n = n + 1;\n    } while (uVar4 != 0);\n    if ((PTR_DAT_0015b694[uVar5 - 0x7b28] & 4) != 0) goto LAB_0003b6dc;\n    id = 0x3b;\n    if (n < 2) {\n      if ((*pbVar7 == 0) && (n != 0)) goto LAB_0003b7fc;\n      goto LAB_0003b6dc;\n    }\n    keywordCode(zSignedIdent,n,&id);\n    if ((id != 0x3b) || (*pbVar7 != 0)) goto LAB_0003b6dc;\n    uVar5 = (uint)(byte)*zSignedIdent;\nLAB_0003b7fc:\n    if (uVar5 == 0) goto LAB_0003b750;\n    bVar2 = false;\nLAB_0003b71c:\n    while( true ) {\n      *pcVar8 = (char)uVar5;\n      pcVar8 = z + iVar6 + 1;\n      if (*zSignedIdent == '\"') {\n        *pcVar8 = '\"';\n        iVar6 = iVar6 + 2;\n        bVar1 = zSignedIdent[1];\n        pcVar8 = z + iVar6;\n      }\n      else {\n        bVar1 = zSignedIdent[1];\n        iVar6 = iVar6 + 1;\n      }\n      uVar5 = (uint)bVar1;\n      if (uVar5 == 0) break;\n      zSignedIdent = zSignedIdent + 1;\n      pcVar8 = z + iVar6;\n    }\n    if (!bVar2) goto LAB_0003b750;\n  }\n  iVar6 = iVar6 + 1;\n  *pcVar8 = '\"';\n  pcVar8 = z + iVar6;\nLAB_0003b750:\n  *pcVar8 = '\0';\n  *pIdx = iVar6;\n  if (iStack_2c == *(int *)puVar3) {\n    return;\n  }\n  (*(code *)PTR___stack_chk_fail_0015ba10)();\n  return;\n}" primitive_type (function_declarator "identPut(char *z,int *pIdx,char *zSignedIdent)" identifier (parameter_list "(char *z,int *pIdx,char *zSignedIdent)" ( (parameter_declaration "char *z" primitive_type (pointer_declarator "*z" * identifier)) , (parameter_declaration "int *pIdx" primitive_type (pointer_declarator "*pIdx" * identifier)) , (parameter_declaration "char *zSignedIdent" primitive_type (pointer_declarator "*zSignedIdent" * identifier)) ))) (compound_statement "{\n  byte bVar1;\n  bool bVar2;\n  undefined *puVar3;\n  uint uVar4;\n  uint uVar5;\n  int n;\n  int iVar6;\n  byte *pbVar7;\n  char *pcVar8;\n  int id;\n  int iStack_2c;\n  \n  puVar3 = PTR___stack_chk_guard_0015ba2c;\n  iVar6 = *pIdx;\n  uVar5 = (uint)(byte)*zSignedIdent;\n  iStack_2c = *(int *)PTR___stack_chk_guard_0015ba2c;\n  pcVar8 = z + iVar6;\n  if (uVar5 == 0) {\nLAB_0003b6dc:\n    iVar6 = iVar6 + 1;\n    *pcVar8 = '\"';\n    uVar5 = (uint)(byte)*zSignedIdent;\n    pcVar8 = z + iVar6;\n    if (uVar5 != 0) {\n      bVar2 = true;\n      pcVar8 = z + iVar6;\n      goto LAB_0003b71c;\n    }\n  }\n  else {\n    n = 0;\n    uVar4 = uVar5;\n    pbVar7 = (byte *)zSignedIdent;\n    do {\n      if (((PTR_DAT_0015b694[uVar4 - 0x7b28] & 6) == 0) && (uVar4 != 0x5f)) break;\n      pbVar7 = pbVar7 + 1;\n      uVar4 = (uint)*pbVar7;\n      n = n + 1;\n    } while (uVar4 != 0);\n    if ((PTR_DAT_0015b694[uVar5 - 0x7b28] & 4) != 0) goto LAB_0003b6dc;\n    id = 0x3b;\n    if (n < 2) {\n      if ((*pbVar7 == 0) && (n != 0)) goto LAB_0003b7fc;\n      goto LAB_0003b6dc;\n    }\n    keywordCode(zSignedIdent,n,&id);\n    if ((id != 0x3b) || (*pbVar7 != 0)) goto LAB_0003b6dc;\n    uVar5 = (uint)(byte)*zSignedIdent;\nLAB_0003b7fc:\n    if (uVar5 == 0) goto LAB_0003b750;\n    bVar2 = false;\nLAB_0003b71c:\n    while( true ) {\n      *pcVar8 = (char)uVar5;\n      pcVar8 = z + iVar6 + 1;\n      if (*zSignedIdent == '\"') {\n        *pcVar8 = '\"';\n        iVar6 = iVar6 + 2;\n        bVar1 = zSignedIdent[1];\n        pcVar8 = z + iVar6;\n      }\n      else {\n        bVar1 = zSignedIdent[1];\n        iVar6 = iVar6 + 1;\n      }\n      uVar5 = (uint)bVar1;\n      if (uVar5 == 0) break;\n      zSignedIdent = zSignedIdent + 1;\n      pcVar8 = z + iVar6;\n    }\n    if (!bVar2) goto LAB_0003b750;\n  }\n  iVar6 = iVar6 + 1;\n  *pcVar8 = '\"';\n  pcVar8 = z + iVar6;\nLAB_0003b750:\n  *pcVar8 = '\0';\n  *pIdx = iVar6;\n  if (iStack_2c == *(int *)puVar3) {\n    return;\n  }\n  (*(code *)PTR___stack_chk_fail_0015ba10)();\n  return;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "bool bVar2;" primitive_type identifier ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "int n;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "byte *pbVar7;" type_identifier (pointer_declarator "*pbVar7" * identifier) ;) (declaration "char *pcVar8;" primitive_type (pointer_declarator "*pcVar8" * identifier) ;) (declaration "int id;" primitive_type identifier ;) (declaration "int iStack_2c;" primitive_type identifier ;) (expression_statement "puVar3 = PTR___stack_chk_guard_0015ba2c;" (assignment_expression "puVar3 = PTR___stack_chk_guard_0015ba2c" identifier = identifier) ;) (expression_statement "iVar6 = *pIdx;" (assignment_expression "iVar6 = *pIdx" identifier = (pointer_expression "*pIdx" * identifier)) ;) (expression_statement "uVar5 = (uint)(byte)*zSignedIdent;" (assignment_expression "uVar5 = (uint)(byte)*zSignedIdent" identifier = (binary_expression "(uint)(byte)*zSignedIdent" (call_expression "(uint)(byte)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(byte)" ( identifier ))) * identifier)) ;) (expression_statement "iStack_2c = *(int *)PTR___stack_chk_guard_0015ba2c;" (assignment_expression "iStack_2c = *(int *)PTR___stack_chk_guard_0015ba2c" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_0015ba2c" * (cast_expression "(int *)PTR___stack_chk_guard_0015ba2c" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "pcVar8 = z + iVar6;" (assignment_expression "pcVar8 = z + iVar6" identifier = (binary_expression "z + iVar6" identifier + identifier)) ;) (if_statement "if (uVar5 == 0) {\nLAB_0003b6dc:\n    iVar6 = iVar6 + 1;\n    *pcVar8 = '\"';\n    uVar5 = (uint)(byte)*zSignedIdent;\n    pcVar8 = z + iVar6;\n    if (uVar5 != 0) {\n      bVar2 = true;\n      pcVar8 = z + iVar6;\n      goto LAB_0003b71c;\n    }\n  }\n  else {\n    n = 0;\n    uVar4 = uVar5;\n    pbVar7 = (byte *)zSignedIdent;\n    do {\n      if (((PTR_DAT_0015b694[uVar4 - 0x7b28] & 6) == 0) && (uVar4 != 0x5f)) break;\n      pbVar7 = pbVar7 + 1;\n      uVar4 = (uint)*pbVar7;\n      n = n + 1;\n    } while (uVar4 != 0);\n    if ((PTR_DAT_0015b694[uVar5 - 0x7b28] & 4) != 0) goto LAB_0003b6dc;\n    id = 0x3b;\n    if (n < 2) {\n      if ((*pbVar7 == 0) && (n != 0)) goto LAB_0003b7fc;\n      goto LAB_0003b6dc;\n    }\n    keywordCode(zSignedIdent,n,&id);\n    if ((id != 0x3b) || (*pbVar7 != 0)) goto LAB_0003b6dc;\n    uVar5 = (uint)(byte)*zSignedIdent;\nLAB_0003b7fc:\n    if (uVar5 == 0) goto LAB_0003b750;\n    bVar2 = false;\nLAB_0003b71c:\n    while( true ) {\n      *pcVar8 = (char)uVar5;\n      pcVar8 = z + iVar6 + 1;\n      if (*zSignedIdent == '\"') {\n        *pcVar8 = '\"';\n        iVar6 = iVar6 + 2;\n        bVar1 = zSignedIdent[1];\n        pcVar8 = z + iVar6;\n      }\n      else {\n        bVar1 = zSignedIdent[1];\n        iVar6 = iVar6 + 1;\n      }\n      uVar5 = (uint)bVar1;\n      if (uVar5 == 0) break;\n      zSignedIdent = zSignedIdent + 1;\n      pcVar8 = z + iVar6;\n    }\n    if (!bVar2) goto LAB_0003b750;\n  }" if (parenthesized_expression "(uVar5 == 0)" ( (binary_expression "uVar5 == 0" identifier == number_literal) )) (compound_statement "{\nLAB_0003b6dc:\n    iVar6 = iVar6 + 1;\n    *pcVar8 = '\"';\n    uVar5 = (uint)(byte)*zSignedIdent;\n    pcVar8 = z + iVar6;\n    if (uVar5 != 0) {\n      bVar2 = true;\n      pcVar8 = z + iVar6;\n      goto LAB_0003b71c;\n    }\n  }" { (labeled_statement "LAB_0003b6dc:\n    iVar6 = iVar6 + 1;" statement_identifier : (expression_statement "iVar6 = iVar6 + 1;" (assignment_expression "iVar6 = iVar6 + 1" identifier = (binary_expression "iVar6 + 1" identifier + number_literal)) ;)) (expression_statement "*pcVar8 = '\"';" (assignment_expression "*pcVar8 = '\"'" (pointer_expression "*pcVar8" * identifier) = (char_literal "'\"'" ' escape_sequence ')) ;) (expression_statement "uVar5 = (uint)(byte)*zSignedIdent;" (assignment_expression "uVar5 = (uint)(byte)*zSignedIdent" identifier = (binary_expression "(uint)(byte)*zSignedIdent" (call_expression "(uint)(byte)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(byte)" ( identifier ))) * identifier)) ;) (expression_statement "pcVar8 = z + iVar6;" (assignment_expression "pcVar8 = z + iVar6" identifier = (binary_expression "z + iVar6" identifier + identifier)) ;) (if_statement "if (uVar5 != 0) {\n      bVar2 = true;\n      pcVar8 = z + iVar6;\n      goto LAB_0003b71c;\n    }" if (parenthesized_expression "(uVar5 != 0)" ( (binary_expression "uVar5 != 0" identifier != number_literal) )) (compound_statement "{\n      bVar2 = true;\n      pcVar8 = z + iVar6;\n      goto LAB_0003b71c;\n    }" { (expression_statement "bVar2 = true;" (assignment_expression "bVar2 = true" identifier = true) ;) (expression_statement "pcVar8 = z + iVar6;" (assignment_expression "pcVar8 = z + iVar6" identifier = (binary_expression "z + iVar6" identifier + identifier)) ;) (goto_statement "goto LAB_0003b71c;" goto statement_identifier ;) })) }) (else_clause "else {\n    n = 0;\n    uVar4 = uVar5;\n    pbVar7 = (byte *)zSignedIdent;\n    do {\n      if (((PTR_DAT_0015b694[uVar4 - 0x7b28] & 6) == 0) && (uVar4 != 0x5f)) break;\n      pbVar7 = pbVar7 + 1;\n      uVar4 = (uint)*pbVar7;\n      n = n + 1;\n    } while (uVar4 != 0);\n    if ((PTR_DAT_0015b694[uVar5 - 0x7b28] & 4) != 0) goto LAB_0003b6dc;\n    id = 0x3b;\n    if (n < 2) {\n      if ((*pbVar7 == 0) && (n != 0)) goto LAB_0003b7fc;\n      goto LAB_0003b6dc;\n    }\n    keywordCode(zSignedIdent,n,&id);\n    if ((id != 0x3b) || (*pbVar7 != 0)) goto LAB_0003b6dc;\n    uVar5 = (uint)(byte)*zSignedIdent;\nLAB_0003b7fc:\n    if (uVar5 == 0) goto LAB_0003b750;\n    bVar2 = false;\nLAB_0003b71c:\n    while( true ) {\n      *pcVar8 = (char)uVar5;\n      pcVar8 = z + iVar6 + 1;\n      if (*zSignedIdent == '\"') {\n        *pcVar8 = '\"';\n        iVar6 = iVar6 + 2;\n        bVar1 = zSignedIdent[1];\n        pcVar8 = z + iVar6;\n      }\n      else {\n        bVar1 = zSignedIdent[1];\n        iVar6 = iVar6 + 1;\n      }\n      uVar5 = (uint)bVar1;\n      if (uVar5 == 0) break;\n      zSignedIdent = zSignedIdent + 1;\n      pcVar8 = z + iVar6;\n    }\n    if (!bVar2) goto LAB_0003b750;\n  }" else (compound_statement "{\n    n = 0;\n    uVar4 = uVar5;\n    pbVar7 = (byte *)zSignedIdent;\n    do {\n      if (((PTR_DAT_0015b694[uVar4 - 0x7b28] & 6) == 0) && (uVar4 != 0x5f)) break;\n      pbVar7 = pbVar7 + 1;\n      uVar4 = (uint)*pbVar7;\n      n = n + 1;\n    } while (uVar4 != 0);\n    if ((PTR_DAT_0015b694[uVar5 - 0x7b28] & 4) != 0) goto LAB_0003b6dc;\n    id = 0x3b;\n    if (n < 2) {\n      if ((*pbVar7 == 0) && (n != 0)) goto LAB_0003b7fc;\n      goto LAB_0003b6dc;\n    }\n    keywordCode(zSignedIdent,n,&id);\n    if ((id != 0x3b) || (*pbVar7 != 0)) goto LAB_0003b6dc;\n    uVar5 = (uint)(byte)*zSignedIdent;\nLAB_0003b7fc:\n    if (uVar5 == 0) goto LAB_0003b750;\n    bVar2 = false;\nLAB_0003b71c:\n    while( true ) {\n      *pcVar8 = (char)uVar5;\n      pcVar8 = z + iVar6 + 1;\n      if (*zSignedIdent == '\"') {\n        *pcVar8 = '\"';\n        iVar6 = iVar6 + 2;\n        bVar1 = zSignedIdent[1];\n        pcVar8 = z + iVar6;\n      }\n      else {\n        bVar1 = zSignedIdent[1];\n        iVar6 = iVar6 + 1;\n      }\n      uVar5 = (uint)bVar1;\n      if (uVar5 == 0) break;\n      zSignedIdent = zSignedIdent + 1;\n      pcVar8 = z + iVar6;\n    }\n    if (!bVar2) goto LAB_0003b750;\n  }" { (expression_statement "n = 0;" (assignment_expression "n = 0" identifier = number_literal) ;) (expression_statement "uVar4 = uVar5;" (assignment_expression "uVar4 = uVar5" identifier = identifier) ;) (expression_statement "pbVar7 = (byte *)zSignedIdent;" (assignment_expression "pbVar7 = (byte *)zSignedIdent" identifier = (cast_expression "(byte *)zSignedIdent" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (do_statement "do {\n      if (((PTR_DAT_0015b694[uVar4 - 0x7b28] & 6) == 0) && (uVar4 != 0x5f)) break;\n      pbVar7 = pbVar7 + 1;\n      uVar4 = (uint)*pbVar7;\n      n = n + 1;\n    } while (uVar4 != 0);" do (compound_statement "{\n      if (((PTR_DAT_0015b694[uVar4 - 0x7b28] & 6) == 0) && (uVar4 != 0x5f)) break;\n      pbVar7 = pbVar7 + 1;\n      uVar4 = (uint)*pbVar7;\n      n = n + 1;\n    }" { (if_statement "if (((PTR_DAT_0015b694[uVar4 - 0x7b28] & 6) == 0) && (uVar4 != 0x5f)) break;" if (parenthesized_expression "(((PTR_DAT_0015b694[uVar4 - 0x7b28] & 6) == 0) && (uVar4 != 0x5f))" ( (binary_expression "((PTR_DAT_0015b694[uVar4 - 0x7b28] & 6) == 0) && (uVar4 != 0x5f)" (parenthesized_expression "((PTR_DAT_0015b694[uVar4 - 0x7b28] & 6) == 0)" ( (binary_expression "(PTR_DAT_0015b694[uVar4 - 0x7b28] & 6) == 0" (parenthesized_expression "(PTR_DAT_0015b694[uVar4 - 0x7b28] & 6)" ( (binary_expression "PTR_DAT_0015b694[uVar4 - 0x7b28] & 6" (subscript_expression "PTR_DAT_0015b694[uVar4 - 0x7b28]" identifier [ (binary_expression "uVar4 - 0x7b28" identifier - number_literal) ]) & number_literal) )) == number_literal) )) && (parenthesized_expression "(uVar4 != 0x5f)" ( (binary_expression "uVar4 != 0x5f" identifier != number_literal) ))) )) (break_statement "break;" break ;)) (expression_statement "pbVar7 = pbVar7 + 1;" (assignment_expression "pbVar7 = pbVar7 + 1" identifier = (binary_expression "pbVar7 + 1" identifier + number_literal)) ;) (expression_statement "uVar4 = (uint)*pbVar7;" (assignment_expression "uVar4 = (uint)*pbVar7" identifier = (binary_expression "(uint)*pbVar7" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) (expression_statement "n = n + 1;" (assignment_expression "n = n + 1" identifier = (binary_expression "n + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar4 != 0)" ( (binary_expression "uVar4 != 0" identifier != number_literal) )) ;) (if_statement "if ((PTR_DAT_0015b694[uVar5 - 0x7b28] & 4) != 0) goto LAB_0003b6dc;" if (parenthesized_expression "((PTR_DAT_0015b694[uVar5 - 0x7b28] & 4) != 0)" ( (binary_expression "(PTR_DAT_0015b694[uVar5 - 0x7b28] & 4) != 0" (parenthesized_expression "(PTR_DAT_0015b694[uVar5 - 0x7b28] & 4)" ( (binary_expression "PTR_DAT_0015b694[uVar5 - 0x7b28] & 4" (subscript_expression "PTR_DAT_0015b694[uVar5 - 0x7b28]" identifier [ (binary_expression "uVar5 - 0x7b28" identifier - number_literal) ]) & number_literal) )) != number_literal) )) (goto_statement "goto LAB_0003b6dc;" goto statement_identifier ;)) (expression_statement "id = 0x3b;" (assignment_expression "id = 0x3b" identifier = number_literal) ;) (if_statement "if (n < 2) {\n      if ((*pbVar7 == 0) && (n != 0)) goto LAB_0003b7fc;\n      goto LAB_0003b6dc;\n    }" if (parenthesized_expression "(n < 2)" ( (binary_expression "n < 2" identifier < number_literal) )) (compound_statement "{\n      if ((*pbVar7 == 0) && (n != 0)) goto LAB_0003b7fc;\n      goto LAB_0003b6dc;\n    }" { (if_statement "if ((*pbVar7 == 0) && (n != 0)) goto LAB_0003b7fc;" if (parenthesized_expression "((*pbVar7 == 0) && (n != 0))" ( (binary_expression "(*pbVar7 == 0) && (n != 0)" (parenthesized_expression "(*pbVar7 == 0)" ( (binary_expression "*pbVar7 == 0" (pointer_expression "*pbVar7" * identifier) == number_literal) )) && (parenthesized_expression "(n != 0)" ( (binary_expression "n != 0" identifier != number_literal) ))) )) (goto_statement "goto LAB_0003b7fc;" goto statement_identifier ;)) (goto_statement "goto LAB_0003b6dc;" goto statement_identifier ;) })) (expression_statement "keywordCode(zSignedIdent,n,&id);" (call_expression "keywordCode(zSignedIdent,n,&id)" identifier (argument_list "(zSignedIdent,n,&id)" ( identifier , identifier , (pointer_expression "&id" & identifier) ))) ;) (if_statement "if ((id != 0x3b) || (*pbVar7 != 0)) goto LAB_0003b6dc;" if (parenthesized_expression "((id != 0x3b) || (*pbVar7 != 0))" ( (binary_expression "(id != 0x3b) || (*pbVar7 != 0)" (parenthesized_expression "(id != 0x3b)" ( (binary_expression "id != 0x3b" identifier != number_literal) )) || (parenthesized_expression "(*pbVar7 != 0)" ( (binary_expression "*pbVar7 != 0" (pointer_expression "*pbVar7" * identifier) != number_literal) ))) )) (goto_statement "goto LAB_0003b6dc;" goto statement_identifier ;)) (expression_statement "uVar5 = (uint)(byte)*zSignedIdent;" (assignment_expression "uVar5 = (uint)(byte)*zSignedIdent" identifier = (binary_expression "(uint)(byte)*zSignedIdent" (call_expression "(uint)(byte)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(byte)" ( identifier ))) * identifier)) ;) (labeled_statement "LAB_0003b7fc:\n    if (uVar5 == 0) goto LAB_0003b750;" statement_identifier : (if_statement "if (uVar5 == 0) goto LAB_0003b750;" if (parenthesized_expression "(uVar5 == 0)" ( (binary_expression "uVar5 == 0" identifier == number_literal) )) (goto_statement "goto LAB_0003b750;" goto statement_identifier ;))) (expression_statement "bVar2 = false;" (assignment_expression "bVar2 = false" identifier = false) ;) (labeled_statement "LAB_0003b71c:\n    while( true ) {\n      *pcVar8 = (char)uVar5;\n      pcVar8 = z + iVar6 + 1;\n      if (*zSignedIdent == '\"') {\n        *pcVar8 = '\"';\n        iVar6 = iVar6 + 2;\n        bVar1 = zSignedIdent[1];\n        pcVar8 = z + iVar6;\n      }\n      else {\n        bVar1 = zSignedIdent[1];\n        iVar6 = iVar6 + 1;\n      }\n      uVar5 = (uint)bVar1;\n      if (uVar5 == 0) break;\n      zSignedIdent = zSignedIdent + 1;\n      pcVar8 = z + iVar6;\n    }" statement_identifier : (while_statement "while( true ) {\n      *pcVar8 = (char)uVar5;\n      pcVar8 = z + iVar6 + 1;\n      if (*zSignedIdent == '\"') {\n        *pcVar8 = '\"';\n        iVar6 = iVar6 + 2;\n        bVar1 = zSignedIdent[1];\n        pcVar8 = z + iVar6;\n      }\n      else {\n        bVar1 = zSignedIdent[1];\n        iVar6 = iVar6 + 1;\n      }\n      uVar5 = (uint)bVar1;\n      if (uVar5 == 0) break;\n      zSignedIdent = zSignedIdent + 1;\n      pcVar8 = z + iVar6;\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      *pcVar8 = (char)uVar5;\n      pcVar8 = z + iVar6 + 1;\n      if (*zSignedIdent == '\"') {\n        *pcVar8 = '\"';\n        iVar6 = iVar6 + 2;\n        bVar1 = zSignedIdent[1];\n        pcVar8 = z + iVar6;\n      }\n      else {\n        bVar1 = zSignedIdent[1];\n        iVar6 = iVar6 + 1;\n      }\n      uVar5 = (uint)bVar1;\n      if (uVar5 == 0) break;\n      zSignedIdent = zSignedIdent + 1;\n      pcVar8 = z + iVar6;\n    }" { (expression_statement "*pcVar8 = (char)uVar5;" (assignment_expression "*pcVar8 = (char)uVar5" (pointer_expression "*pcVar8" * identifier) = (cast_expression "(char)uVar5" ( (type_descriptor "char" primitive_type) ) identifier)) ;) (expression_statement "pcVar8 = z + iVar6 + 1;" (assignment_expression "pcVar8 = z + iVar6 + 1" identifier = (binary_expression "z + iVar6 + 1" (binary_expression "z + iVar6" identifier + identifier) + number_literal)) ;) (if_statement "if (*zSignedIdent == '\"') {\n        *pcVar8 = '\"';\n        iVar6 = iVar6 + 2;\n        bVar1 = zSignedIdent[1];\n        pcVar8 = z + iVar6;\n      }\n      else {\n        bVar1 = zSignedIdent[1];\n        iVar6 = iVar6 + 1;\n      }" if (parenthesized_expression "(*zSignedIdent == '\"')" ( (binary_expression "*zSignedIdent == '\"'" (pointer_expression "*zSignedIdent" * identifier) == (char_literal "'\"'" ' escape_sequence ')) )) (compound_statement "{\n        *pcVar8 = '\"';\n        iVar6 = iVar6 + 2;\n        bVar1 = zSignedIdent[1];\n        pcVar8 = z + iVar6;\n      }" { (expression_statement "*pcVar8 = '\"';" (assignment_expression "*pcVar8 = '\"'" (pointer_expression "*pcVar8" * identifier) = (char_literal "'\"'" ' escape_sequence ')) ;) (expression_statement "iVar6 = iVar6 + 2;" (assignment_expression "iVar6 = iVar6 + 2" identifier = (binary_expression "iVar6 + 2" identifier + number_literal)) ;) (expression_statement "bVar1 = zSignedIdent[1];" (assignment_expression "bVar1 = zSignedIdent[1]" identifier = (subscript_expression "zSignedIdent[1]" identifier [ number_literal ])) ;) (expression_statement "pcVar8 = z + iVar6;" (assignment_expression "pcVar8 = z + iVar6" identifier = (binary_expression "z + iVar6" identifier + identifier)) ;) }) (else_clause "else {\n        bVar1 = zSignedIdent[1];\n        iVar6 = iVar6 + 1;\n      }" else (compound_statement "{\n        bVar1 = zSignedIdent[1];\n        iVar6 = iVar6 + 1;\n      }" { (expression_statement "bVar1 = zSignedIdent[1];" (assignment_expression "bVar1 = zSignedIdent[1]" identifier = (subscript_expression "zSignedIdent[1]" identifier [ number_literal ])) ;) (expression_statement "iVar6 = iVar6 + 1;" (assignment_expression "iVar6 = iVar6 + 1" identifier = (binary_expression "iVar6 + 1" identifier + number_literal)) ;) }))) (expression_statement "uVar5 = (uint)bVar1;" (assignment_expression "uVar5 = (uint)bVar1" identifier = (cast_expression "(uint)bVar1" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (if_statement "if (uVar5 == 0) break;" if (parenthesized_expression "(uVar5 == 0)" ( (binary_expression "uVar5 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "zSignedIdent = zSignedIdent + 1;" (assignment_expression "zSignedIdent = zSignedIdent + 1" identifier = (binary_expression "zSignedIdent + 1" identifier + number_literal)) ;) (expression_statement "pcVar8 = z + iVar6;" (assignment_expression "pcVar8 = z + iVar6" identifier = (binary_expression "z + iVar6" identifier + identifier)) ;) }))) (if_statement "if (!bVar2) goto LAB_0003b750;" if (parenthesized_expression "(!bVar2)" ( (unary_expression "!bVar2" ! identifier) )) (goto_statement "goto LAB_0003b750;" goto statement_identifier ;)) }))) (expression_statement "iVar6 = iVar6 + 1;" (assignment_expression "iVar6 = iVar6 + 1" identifier = (binary_expression "iVar6 + 1" identifier + number_literal)) ;) (expression_statement "*pcVar8 = '\"';" (assignment_expression "*pcVar8 = '\"'" (pointer_expression "*pcVar8" * identifier) = (char_literal "'\"'" ' escape_sequence ')) ;) (expression_statement "pcVar8 = z + iVar6;" (assignment_expression "pcVar8 = z + iVar6" identifier = (binary_expression "z + iVar6" identifier + identifier)) ;) (labeled_statement "LAB_0003b750:\n  *pcVar8 = '\0';" statement_identifier : (expression_statement "*pcVar8 = '\0';" (assignment_expression "*pcVar8 = '\0'" (pointer_expression "*pcVar8" * identifier) = (char_literal "'\0'" ' escape_sequence ')) ;)) (expression_statement "*pIdx = iVar6;" (assignment_expression "*pIdx = iVar6" (pointer_expression "*pIdx" * identifier) = identifier) ;) (if_statement "if (iStack_2c == *(int *)puVar3) {\n    return;\n  }" if (parenthesized_expression "(iStack_2c == *(int *)puVar3)" ( (binary_expression "iStack_2c == *(int *)puVar3" identifier == (pointer_expression "*(int *)puVar3" * (cast_expression "(int *)puVar3" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "(*(code *)PTR___stack_chk_fail_0015ba10)();" (call_expression "(*(code *)PTR___stack_chk_fail_0015ba10)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_0015ba10)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_0015ba10" * (cast_expression "(code *)PTR___stack_chk_fail_0015ba10" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })))
(translation_unit "int FUN_0003b61c(int param_1,int *param_2,byte *param_3)\n\n{\n  byte bVar1;\n  uint uVar2;\n  uint uVar3;\n  int *piVar4;\n  undefined4 *puVar5;\n  int iVar6;\n  byte *pbVar7;\n  undefined1 *puVar8;\n  undefined *puVar9;\n  code *pcVar10;\n  int local_30;\n  int local_2c;\n  \n  puVar9 = PTR___stack_chk_guard_0015ba2c;\n  iVar6 = *param_2;\n  uVar3 = (uint)*param_3;\n  local_2c = *(int *)PTR___stack_chk_guard_0015ba2c;\n  puVar8 = (undefined1 *)(param_1 + iVar6);\n  piVar4 = param_2;\n  if (uVar3 == 0) {\nLAB_0003b6dc:\n    iVar6 = iVar6 + 1;\n    *puVar8 = 0x22;\n    uVar3 = (uint)*param_3;\n    puVar8 = (undefined1 *)(param_1 + iVar6);\n    if (uVar3 != 0) {\n      piVar4 = (int *)0x1;\n      puVar8 = (undefined1 *)(param_1 + iVar6);\n      goto LAB_0003b71c;\n    }\n  }\n  else {\n    piVar4 = (int *)0x0;\n    uVar2 = uVar3;\n    pbVar7 = param_3;\n    do {\n      if (((PTR_DAT_0015b694[uVar2 - 0x7b28] & 6) == 0) && (uVar2 != 0x5f)) break;\n      pbVar7 = pbVar7 + 1;\n      uVar2 = (uint)*pbVar7;\n      piVar4 = (int *)((int)piVar4 + 1);\n    } while (uVar2 != 0);\n    if ((PTR_DAT_0015b694[uVar3 - 0x7b28] & 4) != 0) goto LAB_0003b6dc;\n    local_30 = 0x3b;\n    if ((int)piVar4 < 2) {\n      if ((*pbVar7 == 0) && (piVar4 != (int *)0x0)) goto LAB_0003b7fc;\n      goto LAB_0003b6dc;\n    }\n    FUN_0003b4d0(param_3,piVar4,&local_30);\n    if ((local_30 != 0x3b) || (*pbVar7 != 0)) goto LAB_0003b6dc;\n    uVar3 = (uint)*param_3;\nLAB_0003b7fc:\n    if (uVar3 == 0) goto LAB_0003b750;\n    piVar4 = (int *)0x0;\nLAB_0003b71c:\n    while( true ) {\n      *puVar8 = (char)uVar3;\n      puVar8 = (undefined1 *)(param_1 + iVar6 + 1);\n      if (*param_3 == 0x22) {\n        *puVar8 = 0x22;\n        iVar6 = iVar6 + 2;\n        bVar1 = param_3[1];\n        puVar8 = (undefined1 *)(param_1 + iVar6);\n      }\n      else {\n        bVar1 = param_3[1];\n        iVar6 = iVar6 + 1;\n      }\n      uVar3 = (uint)bVar1;\n      if (uVar3 == 0) break;\n      param_3 = param_3 + 1;\n      puVar8 = (undefined1 *)(param_1 + iVar6);\n    }\n    if (piVar4 == (int *)0x0) goto LAB_0003b750;\n  }\n  iVar6 = iVar6 + 1;\n  *puVar8 = 0x22;\n  puVar8 = (undefined1 *)(param_1 + iVar6);\nLAB_0003b750:\n  *puVar8 = 0;\n  *param_2 = iVar6;\n  if (local_2c == *(int *)puVar9) {\n    return *(int *)puVar9;\n  }\n  puVar9 = PTR___stack_chk_fail_0015ba10;\n  (*(code *)PTR___stack_chk_fail_0015ba10)();\n  puVar5 = *(undefined4 **)(puVar9 + 0x120214);\n  pbVar7 = (byte *)*puVar5;\n  if (1 < (int)piVar4) {\n    FUN_0003b4d0();\n  }\n  if (pbVar7 == (byte *)*puVar5) {\n    return 0;\n  }\n  pcVar10 = *(code **)(puVar9 + 0x1201f8);\n  (*pcVar10)();\n  uVar3 = (uint)*(byte *)(*(int *)(pcVar10 + 0x11fd5c) + 0x5134 + (uint)*pbVar7);\n  if (uVar3 < 0x1d) {\n                    \n                    \n    iVar6 = (*(pcVar10 + *(int *)(*(int *)(pcVar10 + 0x11fd5c) + -0x1ac + uVar3 * 4) + 0x127d10))();\n    return iVar6;\n  }\n  *piVar4 = 0xad;\n  return 1;\n}\n\n" (function_definition "int FUN_0003b61c(int param_1,int *param_2,byte *param_3)\n\n{\n  byte bVar1;\n  uint uVar2;\n  uint uVar3;\n  int *piVar4;\n  undefined4 *puVar5;\n  int iVar6;\n  byte *pbVar7;\n  undefined1 *puVar8;\n  undefined *puVar9;\n  code *pcVar10;\n  int local_30;\n  int local_2c;\n  \n  puVar9 = PTR___stack_chk_guard_0015ba2c;\n  iVar6 = *param_2;\n  uVar3 = (uint)*param_3;\n  local_2c = *(int *)PTR___stack_chk_guard_0015ba2c;\n  puVar8 = (undefined1 *)(param_1 + iVar6);\n  piVar4 = param_2;\n  if (uVar3 == 0) {\nLAB_0003b6dc:\n    iVar6 = iVar6 + 1;\n    *puVar8 = 0x22;\n    uVar3 = (uint)*param_3;\n    puVar8 = (undefined1 *)(param_1 + iVar6);\n    if (uVar3 != 0) {\n      piVar4 = (int *)0x1;\n      puVar8 = (undefined1 *)(param_1 + iVar6);\n      goto LAB_0003b71c;\n    }\n  }\n  else {\n    piVar4 = (int *)0x0;\n    uVar2 = uVar3;\n    pbVar7 = param_3;\n    do {\n      if (((PTR_DAT_0015b694[uVar2 - 0x7b28] & 6) == 0) && (uVar2 != 0x5f)) break;\n      pbVar7 = pbVar7 + 1;\n      uVar2 = (uint)*pbVar7;\n      piVar4 = (int *)((int)piVar4 + 1);\n    } while (uVar2 != 0);\n    if ((PTR_DAT_0015b694[uVar3 - 0x7b28] & 4) != 0) goto LAB_0003b6dc;\n    local_30 = 0x3b;\n    if ((int)piVar4 < 2) {\n      if ((*pbVar7 == 0) && (piVar4 != (int *)0x0)) goto LAB_0003b7fc;\n      goto LAB_0003b6dc;\n    }\n    FUN_0003b4d0(param_3,piVar4,&local_30);\n    if ((local_30 != 0x3b) || (*pbVar7 != 0)) goto LAB_0003b6dc;\n    uVar3 = (uint)*param_3;\nLAB_0003b7fc:\n    if (uVar3 == 0) goto LAB_0003b750;\n    piVar4 = (int *)0x0;\nLAB_0003b71c:\n    while( true ) {\n      *puVar8 = (char)uVar3;\n      puVar8 = (undefined1 *)(param_1 + iVar6 + 1);\n      if (*param_3 == 0x22) {\n        *puVar8 = 0x22;\n        iVar6 = iVar6 + 2;\n        bVar1 = param_3[1];\n        puVar8 = (undefined1 *)(param_1 + iVar6);\n      }\n      else {\n        bVar1 = param_3[1];\n        iVar6 = iVar6 + 1;\n      }\n      uVar3 = (uint)bVar1;\n      if (uVar3 == 0) break;\n      param_3 = param_3 + 1;\n      puVar8 = (undefined1 *)(param_1 + iVar6);\n    }\n    if (piVar4 == (int *)0x0) goto LAB_0003b750;\n  }\n  iVar6 = iVar6 + 1;\n  *puVar8 = 0x22;\n  puVar8 = (undefined1 *)(param_1 + iVar6);\nLAB_0003b750:\n  *puVar8 = 0;\n  *param_2 = iVar6;\n  if (local_2c == *(int *)puVar9) {\n    return *(int *)puVar9;\n  }\n  puVar9 = PTR___stack_chk_fail_0015ba10;\n  (*(code *)PTR___stack_chk_fail_0015ba10)();\n  puVar5 = *(undefined4 **)(puVar9 + 0x120214);\n  pbVar7 = (byte *)*puVar5;\n  if (1 < (int)piVar4) {\n    FUN_0003b4d0();\n  }\n  if (pbVar7 == (byte *)*puVar5) {\n    return 0;\n  }\n  pcVar10 = *(code **)(puVar9 + 0x1201f8);\n  (*pcVar10)();\n  uVar3 = (uint)*(byte *)(*(int *)(pcVar10 + 0x11fd5c) + 0x5134 + (uint)*pbVar7);\n  if (uVar3 < 0x1d) {\n                    \n                    \n    iVar6 = (*(pcVar10 + *(int *)(*(int *)(pcVar10 + 0x11fd5c) + -0x1ac + uVar3 * 4) + 0x127d10))();\n    return iVar6;\n  }\n  *piVar4 = 0xad;\n  return 1;\n}" primitive_type (function_declarator "FUN_0003b61c(int param_1,int *param_2,byte *param_3)" identifier (parameter_list "(int param_1,int *param_2,byte *param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "byte *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  byte bVar1;\n  uint uVar2;\n  uint uVar3;\n  int *piVar4;\n  undefined4 *puVar5;\n  int iVar6;\n  byte *pbVar7;\n  undefined1 *puVar8;\n  undefined *puVar9;\n  code *pcVar10;\n  int local_30;\n  int local_2c;\n  \n  puVar9 = PTR___stack_chk_guard_0015ba2c;\n  iVar6 = *param_2;\n  uVar3 = (uint)*param_3;\n  local_2c = *(int *)PTR___stack_chk_guard_0015ba2c;\n  puVar8 = (undefined1 *)(param_1 + iVar6);\n  piVar4 = param_2;\n  if (uVar3 == 0) {\nLAB_0003b6dc:\n    iVar6 = iVar6 + 1;\n    *puVar8 = 0x22;\n    uVar3 = (uint)*param_3;\n    puVar8 = (undefined1 *)(param_1 + iVar6);\n    if (uVar3 != 0) {\n      piVar4 = (int *)0x1;\n      puVar8 = (undefined1 *)(param_1 + iVar6);\n      goto LAB_0003b71c;\n    }\n  }\n  else {\n    piVar4 = (int *)0x0;\n    uVar2 = uVar3;\n    pbVar7 = param_3;\n    do {\n      if (((PTR_DAT_0015b694[uVar2 - 0x7b28] & 6) == 0) && (uVar2 != 0x5f)) break;\n      pbVar7 = pbVar7 + 1;\n      uVar2 = (uint)*pbVar7;\n      piVar4 = (int *)((int)piVar4 + 1);\n    } while (uVar2 != 0);\n    if ((PTR_DAT_0015b694[uVar3 - 0x7b28] & 4) != 0) goto LAB_0003b6dc;\n    local_30 = 0x3b;\n    if ((int)piVar4 < 2) {\n      if ((*pbVar7 == 0) && (piVar4 != (int *)0x0)) goto LAB_0003b7fc;\n      goto LAB_0003b6dc;\n    }\n    FUN_0003b4d0(param_3,piVar4,&local_30);\n    if ((local_30 != 0x3b) || (*pbVar7 != 0)) goto LAB_0003b6dc;\n    uVar3 = (uint)*param_3;\nLAB_0003b7fc:\n    if (uVar3 == 0) goto LAB_0003b750;\n    piVar4 = (int *)0x0;\nLAB_0003b71c:\n    while( true ) {\n      *puVar8 = (char)uVar3;\n      puVar8 = (undefined1 *)(param_1 + iVar6 + 1);\n      if (*param_3 == 0x22) {\n        *puVar8 = 0x22;\n        iVar6 = iVar6 + 2;\n        bVar1 = param_3[1];\n        puVar8 = (undefined1 *)(param_1 + iVar6);\n      }\n      else {\n        bVar1 = param_3[1];\n        iVar6 = iVar6 + 1;\n      }\n      uVar3 = (uint)bVar1;\n      if (uVar3 == 0) break;\n      param_3 = param_3 + 1;\n      puVar8 = (undefined1 *)(param_1 + iVar6);\n    }\n    if (piVar4 == (int *)0x0) goto LAB_0003b750;\n  }\n  iVar6 = iVar6 + 1;\n  *puVar8 = 0x22;\n  puVar8 = (undefined1 *)(param_1 + iVar6);\nLAB_0003b750:\n  *puVar8 = 0;\n  *param_2 = iVar6;\n  if (local_2c == *(int *)puVar9) {\n    return *(int *)puVar9;\n  }\n  puVar9 = PTR___stack_chk_fail_0015ba10;\n  (*(code *)PTR___stack_chk_fail_0015ba10)();\n  puVar5 = *(undefined4 **)(puVar9 + 0x120214);\n  pbVar7 = (byte *)*puVar5;\n  if (1 < (int)piVar4) {\n    FUN_0003b4d0();\n  }\n  if (pbVar7 == (byte *)*puVar5) {\n    return 0;\n  }\n  pcVar10 = *(code **)(puVar9 + 0x1201f8);\n  (*pcVar10)();\n  uVar3 = (uint)*(byte *)(*(int *)(pcVar10 + 0x11fd5c) + 0x5134 + (uint)*pbVar7);\n  if (uVar3 < 0x1d) {\n                    \n                    \n    iVar6 = (*(pcVar10 + *(int *)(*(int *)(pcVar10 + 0x11fd5c) + -0x1ac + uVar3 * 4) + 0x127d10))();\n    return iVar6;\n  }\n  *piVar4 = 0xad;\n  return 1;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "int *piVar4;" primitive_type (pointer_declarator "*piVar4" * identifier) ;) (declaration "undefined4 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "byte *pbVar7;" type_identifier (pointer_declarator "*pbVar7" * identifier) ;) (declaration "undefined1 *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (declaration "undefined *puVar9;" type_identifier (pointer_declarator "*puVar9" * identifier) ;) (declaration "code *pcVar10;" type_identifier (pointer_declarator "*pcVar10" * identifier) ;) (declaration "int local_30;" primitive_type identifier ;) (declaration "int local_2c;" primitive_type identifier ;) (expression_statement "puVar9 = PTR___stack_chk_guard_0015ba2c;" (assignment_expression "puVar9 = PTR___stack_chk_guard_0015ba2c" identifier = identifier) ;) (expression_statement "iVar6 = *param_2;" (assignment_expression "iVar6 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "uVar3 = (uint)*param_3;" (assignment_expression "uVar3 = (uint)*param_3" identifier = (binary_expression "(uint)*param_3" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) (expression_statement "local_2c = *(int *)PTR___stack_chk_guard_0015ba2c;" (assignment_expression "local_2c = *(int *)PTR___stack_chk_guard_0015ba2c" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_0015ba2c" * (cast_expression "(int *)PTR___stack_chk_guard_0015ba2c" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "puVar8 = (undefined1 *)(param_1 + iVar6);" (assignment_expression "puVar8 = (undefined1 *)(param_1 + iVar6)" identifier = (cast_expression "(undefined1 *)(param_1 + iVar6)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + iVar6)" ( (binary_expression "param_1 + iVar6" identifier + identifier) )))) ;) (expression_statement "piVar4 = param_2;" (assignment_expression "piVar4 = param_2" identifier = identifier) ;) (if_statement "if (uVar3 == 0) {\nLAB_0003b6dc:\n    iVar6 = iVar6 + 1;\n    *puVar8 = 0x22;\n    uVar3 = (uint)*param_3;\n    puVar8 = (undefined1 *)(param_1 + iVar6);\n    if (uVar3 != 0) {\n      piVar4 = (int *)0x1;\n      puVar8 = (undefined1 *)(param_1 + iVar6);\n      goto LAB_0003b71c;\n    }\n  }\n  else {\n    piVar4 = (int *)0x0;\n    uVar2 = uVar3;\n    pbVar7 = param_3;\n    do {\n      if (((PTR_DAT_0015b694[uVar2 - 0x7b28] & 6) == 0) && (uVar2 != 0x5f)) break;\n      pbVar7 = pbVar7 + 1;\n      uVar2 = (uint)*pbVar7;\n      piVar4 = (int *)((int)piVar4 + 1);\n    } while (uVar2 != 0);\n    if ((PTR_DAT_0015b694[uVar3 - 0x7b28] & 4) != 0) goto LAB_0003b6dc;\n    local_30 = 0x3b;\n    if ((int)piVar4 < 2) {\n      if ((*pbVar7 == 0) && (piVar4 != (int *)0x0)) goto LAB_0003b7fc;\n      goto LAB_0003b6dc;\n    }\n    FUN_0003b4d0(param_3,piVar4,&local_30);\n    if ((local_30 != 0x3b) || (*pbVar7 != 0)) goto LAB_0003b6dc;\n    uVar3 = (uint)*param_3;\nLAB_0003b7fc:\n    if (uVar3 == 0) goto LAB_0003b750;\n    piVar4 = (int *)0x0;\nLAB_0003b71c:\n    while( true ) {\n      *puVar8 = (char)uVar3;\n      puVar8 = (undefined1 *)(param_1 + iVar6 + 1);\n      if (*param_3 == 0x22) {\n        *puVar8 = 0x22;\n        iVar6 = iVar6 + 2;\n        bVar1 = param_3[1];\n        puVar8 = (undefined1 *)(param_1 + iVar6);\n      }\n      else {\n        bVar1 = param_3[1];\n        iVar6 = iVar6 + 1;\n      }\n      uVar3 = (uint)bVar1;\n      if (uVar3 == 0) break;\n      param_3 = param_3 + 1;\n      puVar8 = (undefined1 *)(param_1 + iVar6);\n    }\n    if (piVar4 == (int *)0x0) goto LAB_0003b750;\n  }" if (parenthesized_expression "(uVar3 == 0)" ( (binary_expression "uVar3 == 0" identifier == number_literal) )) (compound_statement "{\nLAB_0003b6dc:\n    iVar6 = iVar6 + 1;\n    *puVar8 = 0x22;\n    uVar3 = (uint)*param_3;\n    puVar8 = (undefined1 *)(param_1 + iVar6);\n    if (uVar3 != 0) {\n      piVar4 = (int *)0x1;\n      puVar8 = (undefined1 *)(param_1 + iVar6);\n      goto LAB_0003b71c;\n    }\n  }" { (labeled_statement "LAB_0003b6dc:\n    iVar6 = iVar6 + 1;" statement_identifier : (expression_statement "iVar6 = iVar6 + 1;" (assignment_expression "iVar6 = iVar6 + 1" identifier = (binary_expression "iVar6 + 1" identifier + number_literal)) ;)) (expression_statement "*puVar8 = 0x22;" (assignment_expression "*puVar8 = 0x22" (pointer_expression "*puVar8" * identifier) = number_literal) ;) (expression_statement "uVar3 = (uint)*param_3;" (assignment_expression "uVar3 = (uint)*param_3" identifier = (binary_expression "(uint)*param_3" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) (expression_statement "puVar8 = (undefined1 *)(param_1 + iVar6);" (assignment_expression "puVar8 = (undefined1 *)(param_1 + iVar6)" identifier = (cast_expression "(undefined1 *)(param_1 + iVar6)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + iVar6)" ( (binary_expression "param_1 + iVar6" identifier + identifier) )))) ;) (if_statement "if (uVar3 != 0) {\n      piVar4 = (int *)0x1;\n      puVar8 = (undefined1 *)(param_1 + iVar6);\n      goto LAB_0003b71c;\n    }" if (parenthesized_expression "(uVar3 != 0)" ( (binary_expression "uVar3 != 0" identifier != number_literal) )) (compound_statement "{\n      piVar4 = (int *)0x1;\n      puVar8 = (undefined1 *)(param_1 + iVar6);\n      goto LAB_0003b71c;\n    }" { (expression_statement "piVar4 = (int *)0x1;" (assignment_expression "piVar4 = (int *)0x1" identifier = (cast_expression "(int *)0x1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "puVar8 = (undefined1 *)(param_1 + iVar6);" (assignment_expression "puVar8 = (undefined1 *)(param_1 + iVar6)" identifier = (cast_expression "(undefined1 *)(param_1 + iVar6)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + iVar6)" ( (binary_expression "param_1 + iVar6" identifier + identifier) )))) ;) (goto_statement "goto LAB_0003b71c;" goto statement_identifier ;) })) }) (else_clause "else {\n    piVar4 = (int *)0x0;\n    uVar2 = uVar3;\n    pbVar7 = param_3;\n    do {\n      if (((PTR_DAT_0015b694[uVar2 - 0x7b28] & 6) == 0) && (uVar2 != 0x5f)) break;\n      pbVar7 = pbVar7 + 1;\n      uVar2 = (uint)*pbVar7;\n      piVar4 = (int *)((int)piVar4 + 1);\n    } while (uVar2 != 0);\n    if ((PTR_DAT_0015b694[uVar3 - 0x7b28] & 4) != 0) goto LAB_0003b6dc;\n    local_30 = 0x3b;\n    if ((int)piVar4 < 2) {\n      if ((*pbVar7 == 0) && (piVar4 != (int *)0x0)) goto LAB_0003b7fc;\n      goto LAB_0003b6dc;\n    }\n    FUN_0003b4d0(param_3,piVar4,&local_30);\n    if ((local_30 != 0x3b) || (*pbVar7 != 0)) goto LAB_0003b6dc;\n    uVar3 = (uint)*param_3;\nLAB_0003b7fc:\n    if (uVar3 == 0) goto LAB_0003b750;\n    piVar4 = (int *)0x0;\nLAB_0003b71c:\n    while( true ) {\n      *puVar8 = (char)uVar3;\n      puVar8 = (undefined1 *)(param_1 + iVar6 + 1);\n      if (*param_3 == 0x22) {\n        *puVar8 = 0x22;\n        iVar6 = iVar6 + 2;\n        bVar1 = param_3[1];\n        puVar8 = (undefined1 *)(param_1 + iVar6);\n      }\n      else {\n        bVar1 = param_3[1];\n        iVar6 = iVar6 + 1;\n      }\n      uVar3 = (uint)bVar1;\n      if (uVar3 == 0) break;\n      param_3 = param_3 + 1;\n      puVar8 = (undefined1 *)(param_1 + iVar6);\n    }\n    if (piVar4 == (int *)0x0) goto LAB_0003b750;\n  }" else (compound_statement "{\n    piVar4 = (int *)0x0;\n    uVar2 = uVar3;\n    pbVar7 = param_3;\n    do {\n      if (((PTR_DAT_0015b694[uVar2 - 0x7b28] & 6) == 0) && (uVar2 != 0x5f)) break;\n      pbVar7 = pbVar7 + 1;\n      uVar2 = (uint)*pbVar7;\n      piVar4 = (int *)((int)piVar4 + 1);\n    } while (uVar2 != 0);\n    if ((PTR_DAT_0015b694[uVar3 - 0x7b28] & 4) != 0) goto LAB_0003b6dc;\n    local_30 = 0x3b;\n    if ((int)piVar4 < 2) {\n      if ((*pbVar7 == 0) && (piVar4 != (int *)0x0)) goto LAB_0003b7fc;\n      goto LAB_0003b6dc;\n    }\n    FUN_0003b4d0(param_3,piVar4,&local_30);\n    if ((local_30 != 0x3b) || (*pbVar7 != 0)) goto LAB_0003b6dc;\n    uVar3 = (uint)*param_3;\nLAB_0003b7fc:\n    if (uVar3 == 0) goto LAB_0003b750;\n    piVar4 = (int *)0x0;\nLAB_0003b71c:\n    while( true ) {\n      *puVar8 = (char)uVar3;\n      puVar8 = (undefined1 *)(param_1 + iVar6 + 1);\n      if (*param_3 == 0x22) {\n        *puVar8 = 0x22;\n        iVar6 = iVar6 + 2;\n        bVar1 = param_3[1];\n        puVar8 = (undefined1 *)(param_1 + iVar6);\n      }\n      else {\n        bVar1 = param_3[1];\n        iVar6 = iVar6 + 1;\n      }\n      uVar3 = (uint)bVar1;\n      if (uVar3 == 0) break;\n      param_3 = param_3 + 1;\n      puVar8 = (undefined1 *)(param_1 + iVar6);\n    }\n    if (piVar4 == (int *)0x0) goto LAB_0003b750;\n  }" { (expression_statement "piVar4 = (int *)0x0;" (assignment_expression "piVar4 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "uVar2 = uVar3;" (assignment_expression "uVar2 = uVar3" identifier = identifier) ;) (expression_statement "pbVar7 = param_3;" (assignment_expression "pbVar7 = param_3" identifier = identifier) ;) (do_statement "do {\n      if (((PTR_DAT_0015b694[uVar2 - 0x7b28] & 6) == 0) && (uVar2 != 0x5f)) break;\n      pbVar7 = pbVar7 + 1;\n      uVar2 = (uint)*pbVar7;\n      piVar4 = (int *)((int)piVar4 + 1);\n    } while (uVar2 != 0);" do (compound_statement "{\n      if (((PTR_DAT_0015b694[uVar2 - 0x7b28] & 6) == 0) && (uVar2 != 0x5f)) break;\n      pbVar7 = pbVar7 + 1;\n      uVar2 = (uint)*pbVar7;\n      piVar4 = (int *)((int)piVar4 + 1);\n    }" { (if_statement "if (((PTR_DAT_0015b694[uVar2 - 0x7b28] & 6) == 0) && (uVar2 != 0x5f)) break;" if (parenthesized_expression "(((PTR_DAT_0015b694[uVar2 - 0x7b28] & 6) == 0) && (uVar2 != 0x5f))" ( (binary_expression "((PTR_DAT_0015b694[uVar2 - 0x7b28] & 6) == 0) && (uVar2 != 0x5f)" (parenthesized_expression "((PTR_DAT_0015b694[uVar2 - 0x7b28] & 6) == 0)" ( (binary_expression "(PTR_DAT_0015b694[uVar2 - 0x7b28] & 6) == 0" (parenthesized_expression "(PTR_DAT_0015b694[uVar2 - 0x7b28] & 6)" ( (binary_expression "PTR_DAT_0015b694[uVar2 - 0x7b28] & 6" (subscript_expression "PTR_DAT_0015b694[uVar2 - 0x7b28]" identifier [ (binary_expression "uVar2 - 0x7b28" identifier - number_literal) ]) & number_literal) )) == number_literal) )) && (parenthesized_expression "(uVar2 != 0x5f)" ( (binary_expression "uVar2 != 0x5f" identifier != number_literal) ))) )) (break_statement "break;" break ;)) (expression_statement "pbVar7 = pbVar7 + 1;" (assignment_expression "pbVar7 = pbVar7 + 1" identifier = (binary_expression "pbVar7 + 1" identifier + number_literal)) ;) (expression_statement "uVar2 = (uint)*pbVar7;" (assignment_expression "uVar2 = (uint)*pbVar7" identifier = (binary_expression "(uint)*pbVar7" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) (expression_statement "piVar4 = (int *)((int)piVar4 + 1);" (assignment_expression "piVar4 = (int *)((int)piVar4 + 1)" identifier = (cast_expression "(int *)((int)piVar4 + 1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar4 + 1)" ( (binary_expression "(int)piVar4 + 1" (cast_expression "(int)piVar4" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) }) while (parenthesized_expression "(uVar2 != 0)" ( (binary_expression "uVar2 != 0" identifier != number_literal) )) ;) (if_statement "if ((PTR_DAT_0015b694[uVar3 - 0x7b28] & 4) != 0) goto LAB_0003b6dc;" if (parenthesized_expression "((PTR_DAT_0015b694[uVar3 - 0x7b28] & 4) != 0)" ( (binary_expression "(PTR_DAT_0015b694[uVar3 - 0x7b28] & 4) != 0" (parenthesized_expression "(PTR_DAT_0015b694[uVar3 - 0x7b28] & 4)" ( (binary_expression "PTR_DAT_0015b694[uVar3 - 0x7b28] & 4" (subscript_expression "PTR_DAT_0015b694[uVar3 - 0x7b28]" identifier [ (binary_expression "uVar3 - 0x7b28" identifier - number_literal) ]) & number_literal) )) != number_literal) )) (goto_statement "goto LAB_0003b6dc;" goto statement_identifier ;)) (expression_statement "local_30 = 0x3b;" (assignment_expression "local_30 = 0x3b" identifier = number_literal) ;) (if_statement "if ((int)piVar4 < 2) {\n      if ((*pbVar7 == 0) && (piVar4 != (int *)0x0)) goto LAB_0003b7fc;\n      goto LAB_0003b6dc;\n    }" if (parenthesized_expression "((int)piVar4 < 2)" ( (binary_expression "(int)piVar4 < 2" (cast_expression "(int)piVar4" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n      if ((*pbVar7 == 0) && (piVar4 != (int *)0x0)) goto LAB_0003b7fc;\n      goto LAB_0003b6dc;\n    }" { (if_statement "if ((*pbVar7 == 0) && (piVar4 != (int *)0x0)) goto LAB_0003b7fc;" if (parenthesized_expression "((*pbVar7 == 0) && (piVar4 != (int *)0x0))" ( (binary_expression "(*pbVar7 == 0) && (piVar4 != (int *)0x0)" (parenthesized_expression "(*pbVar7 == 0)" ( (binary_expression "*pbVar7 == 0" (pointer_expression "*pbVar7" * identifier) == number_literal) )) && (parenthesized_expression "(piVar4 != (int *)0x0)" ( (binary_expression "piVar4 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ))) )) (goto_statement "goto LAB_0003b7fc;" goto statement_identifier ;)) (goto_statement "goto LAB_0003b6dc;" goto statement_identifier ;) })) (expression_statement "FUN_0003b4d0(param_3,piVar4,&local_30);" (call_expression "FUN_0003b4d0(param_3,piVar4,&local_30)" identifier (argument_list "(param_3,piVar4,&local_30)" ( identifier , identifier , (pointer_expression "&local_30" & identifier) ))) ;) (if_statement "if ((local_30 != 0x3b) || (*pbVar7 != 0)) goto LAB_0003b6dc;" if (parenthesized_expression "((local_30 != 0x3b) || (*pbVar7 != 0))" ( (binary_expression "(local_30 != 0x3b) || (*pbVar7 != 0)" (parenthesized_expression "(local_30 != 0x3b)" ( (binary_expression "local_30 != 0x3b" identifier != number_literal) )) || (parenthesized_expression "(*pbVar7 != 0)" ( (binary_expression "*pbVar7 != 0" (pointer_expression "*pbVar7" * identifier) != number_literal) ))) )) (goto_statement "goto LAB_0003b6dc;" goto statement_identifier ;)) (expression_statement "uVar3 = (uint)*param_3;" (assignment_expression "uVar3 = (uint)*param_3" identifier = (binary_expression "(uint)*param_3" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) (labeled_statement "LAB_0003b7fc:\n    if (uVar3 == 0) goto LAB_0003b750;" statement_identifier : (if_statement "if (uVar3 == 0) goto LAB_0003b750;" if (parenthesized_expression "(uVar3 == 0)" ( (binary_expression "uVar3 == 0" identifier == number_literal) )) (goto_statement "goto LAB_0003b750;" goto statement_identifier ;))) (expression_statement "piVar4 = (int *)0x0;" (assignment_expression "piVar4 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (labeled_statement "LAB_0003b71c:\n    while( true ) {\n      *puVar8 = (char)uVar3;\n      puVar8 = (undefined1 *)(param_1 + iVar6 + 1);\n      if (*param_3 == 0x22) {\n        *puVar8 = 0x22;\n        iVar6 = iVar6 + 2;\n        bVar1 = param_3[1];\n        puVar8 = (undefined1 *)(param_1 + iVar6);\n      }\n      else {\n        bVar1 = param_3[1];\n        iVar6 = iVar6 + 1;\n      }\n      uVar3 = (uint)bVar1;\n      if (uVar3 == 0) break;\n      param_3 = param_3 + 1;\n      puVar8 = (undefined1 *)(param_1 + iVar6);\n    }" statement_identifier : (while_statement "while( true ) {\n      *puVar8 = (char)uVar3;\n      puVar8 = (undefined1 *)(param_1 + iVar6 + 1);\n      if (*param_3 == 0x22) {\n        *puVar8 = 0x22;\n        iVar6 = iVar6 + 2;\n        bVar1 = param_3[1];\n        puVar8 = (undefined1 *)(param_1 + iVar6);\n      }\n      else {\n        bVar1 = param_3[1];\n        iVar6 = iVar6 + 1;\n      }\n      uVar3 = (uint)bVar1;\n      if (uVar3 == 0) break;\n      param_3 = param_3 + 1;\n      puVar8 = (undefined1 *)(param_1 + iVar6);\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      *puVar8 = (char)uVar3;\n      puVar8 = (undefined1 *)(param_1 + iVar6 + 1);\n      if (*param_3 == 0x22) {\n        *puVar8 = 0x22;\n        iVar6 = iVar6 + 2;\n        bVar1 = param_3[1];\n        puVar8 = (undefined1 *)(param_1 + iVar6);\n      }\n      else {\n        bVar1 = param_3[1];\n        iVar6 = iVar6 + 1;\n      }\n      uVar3 = (uint)bVar1;\n      if (uVar3 == 0) break;\n      param_3 = param_3 + 1;\n      puVar8 = (undefined1 *)(param_1 + iVar6);\n    }" { (expression_statement "*puVar8 = (char)uVar3;" (assignment_expression "*puVar8 = (char)uVar3" (pointer_expression "*puVar8" * identifier) = (cast_expression "(char)uVar3" ( (type_descriptor "char" primitive_type) ) identifier)) ;) (expression_statement "puVar8 = (undefined1 *)(param_1 + iVar6 + 1);" (assignment_expression "puVar8 = (undefined1 *)(param_1 + iVar6 + 1)" identifier = (cast_expression "(undefined1 *)(param_1 + iVar6 + 1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + iVar6 + 1)" ( (binary_expression "param_1 + iVar6 + 1" (binary_expression "param_1 + iVar6" identifier + identifier) + number_literal) )))) ;) (if_statement "if (*param_3 == 0x22) {\n        *puVar8 = 0x22;\n        iVar6 = iVar6 + 2;\n        bVar1 = param_3[1];\n        puVar8 = (undefined1 *)(param_1 + iVar6);\n      }\n      else {\n        bVar1 = param_3[1];\n        iVar6 = iVar6 + 1;\n      }" if (parenthesized_expression "(*param_3 == 0x22)" ( (binary_expression "*param_3 == 0x22" (pointer_expression "*param_3" * identifier) == number_literal) )) (compound_statement "{\n        *puVar8 = 0x22;\n        iVar6 = iVar6 + 2;\n        bVar1 = param_3[1];\n        puVar8 = (undefined1 *)(param_1 + iVar6);\n      }" { (expression_statement "*puVar8 = 0x22;" (assignment_expression "*puVar8 = 0x22" (pointer_expression "*puVar8" * identifier) = number_literal) ;) (expression_statement "iVar6 = iVar6 + 2;" (assignment_expression "iVar6 = iVar6 + 2" identifier = (binary_expression "iVar6 + 2" identifier + number_literal)) ;) (expression_statement "bVar1 = param_3[1];" (assignment_expression "bVar1 = param_3[1]" identifier = (subscript_expression "param_3[1]" identifier [ number_literal ])) ;) (expression_statement "puVar8 = (undefined1 *)(param_1 + iVar6);" (assignment_expression "puVar8 = (undefined1 *)(param_1 + iVar6)" identifier = (cast_expression "(undefined1 *)(param_1 + iVar6)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + iVar6)" ( (binary_expression "param_1 + iVar6" identifier + identifier) )))) ;) }) (else_clause "else {\n        bVar1 = param_3[1];\n        iVar6 = iVar6 + 1;\n      }" else (compound_statement "{\n        bVar1 = param_3[1];\n        iVar6 = iVar6 + 1;\n      }" { (expression_statement "bVar1 = param_3[1];" (assignment_expression "bVar1 = param_3[1]" identifier = (subscript_expression "param_3[1]" identifier [ number_literal ])) ;) (expression_statement "iVar6 = iVar6 + 1;" (assignment_expression "iVar6 = iVar6 + 1" identifier = (binary_expression "iVar6 + 1" identifier + number_literal)) ;) }))) (expression_statement "uVar3 = (uint)bVar1;" (assignment_expression "uVar3 = (uint)bVar1" identifier = (cast_expression "(uint)bVar1" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (if_statement "if (uVar3 == 0) break;" if (parenthesized_expression "(uVar3 == 0)" ( (binary_expression "uVar3 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "param_3 = param_3 + 1;" (assignment_expression "param_3 = param_3 + 1" identifier = (binary_expression "param_3 + 1" identifier + number_literal)) ;) (expression_statement "puVar8 = (undefined1 *)(param_1 + iVar6);" (assignment_expression "puVar8 = (undefined1 *)(param_1 + iVar6)" identifier = (cast_expression "(undefined1 *)(param_1 + iVar6)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + iVar6)" ( (binary_expression "param_1 + iVar6" identifier + identifier) )))) ;) }))) (if_statement "if (piVar4 == (int *)0x0) goto LAB_0003b750;" if (parenthesized_expression "(piVar4 == (int *)0x0)" ( (binary_expression "piVar4 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_0003b750;" goto statement_identifier ;)) }))) (expression_statement "iVar6 = iVar6 + 1;" (assignment_expression "iVar6 = iVar6 + 1" identifier = (binary_expression "iVar6 + 1" identifier + number_literal)) ;) (expression_statement "*puVar8 = 0x22;" (assignment_expression "*puVar8 = 0x22" (pointer_expression "*puVar8" * identifier) = number_literal) ;) (expression_statement "puVar8 = (undefined1 *)(param_1 + iVar6);" (assignment_expression "puVar8 = (undefined1 *)(param_1 + iVar6)" identifier = (cast_expression "(undefined1 *)(param_1 + iVar6)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + iVar6)" ( (binary_expression "param_1 + iVar6" identifier + identifier) )))) ;) (labeled_statement "LAB_0003b750:\n  *puVar8 = 0;" statement_identifier : (expression_statement "*puVar8 = 0;" (assignment_expression "*puVar8 = 0" (pointer_expression "*puVar8" * identifier) = number_literal) ;)) (expression_statement "*param_2 = iVar6;" (assignment_expression "*param_2 = iVar6" (pointer_expression "*param_2" * identifier) = identifier) ;) (if_statement "if (local_2c == *(int *)puVar9) {\n    return *(int *)puVar9;\n  }" if (parenthesized_expression "(local_2c == *(int *)puVar9)" ( (binary_expression "local_2c == *(int *)puVar9" identifier == (pointer_expression "*(int *)puVar9" * (cast_expression "(int *)puVar9" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return *(int *)puVar9;\n  }" { (return_statement "return *(int *)puVar9;" return (pointer_expression "*(int *)puVar9" * (cast_expression "(int *)puVar9" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) ;) })) (expression_statement "puVar9 = PTR___stack_chk_fail_0015ba10;" (assignment_expression "puVar9 = PTR___stack_chk_fail_0015ba10" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_0015ba10)();" (call_expression "(*(code *)PTR___stack_chk_fail_0015ba10)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_0015ba10)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_0015ba10" * (cast_expression "(code *)PTR___stack_chk_fail_0015ba10" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "puVar5 = *(undefined4 **)(puVar9 + 0x120214);" (assignment_expression "puVar5 = *(undefined4 **)(puVar9 + 0x120214)" identifier = (pointer_expression "*(undefined4 **)(puVar9 + 0x120214)" * (cast_expression "(undefined4 **)(puVar9 + 0x120214)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar9 + 0x120214)" ( (binary_expression "puVar9 + 0x120214" identifier + number_literal) ))))) ;) (expression_statement "pbVar7 = (byte *)*puVar5;" (assignment_expression "pbVar7 = (byte *)*puVar5" identifier = (cast_expression "(byte *)*puVar5" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar5" * identifier))) ;) (if_statement "if (1 < (int)piVar4) {\n    FUN_0003b4d0();\n  }" if (parenthesized_expression "(1 < (int)piVar4)" ( (binary_expression "1 < (int)piVar4" number_literal < (cast_expression "(int)piVar4" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n    FUN_0003b4d0();\n  }" { (expression_statement "FUN_0003b4d0();" (call_expression "FUN_0003b4d0()" identifier (argument_list "()" ( ))) ;) })) (if_statement "if (pbVar7 == (byte *)*puVar5) {\n    return 0;\n  }" if (parenthesized_expression "(pbVar7 == (byte *)*puVar5)" ( (binary_expression "pbVar7 == (byte *)*puVar5" identifier == (cast_expression "(byte *)*puVar5" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar5" * identifier))) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "pcVar10 = *(code **)(puVar9 + 0x1201f8);" (assignment_expression "pcVar10 = *(code **)(puVar9 + 0x1201f8)" identifier = (pointer_expression "*(code **)(puVar9 + 0x1201f8)" * (cast_expression "(code **)(puVar9 + 0x1201f8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar9 + 0x1201f8)" ( (binary_expression "puVar9 + 0x1201f8" identifier + number_literal) ))))) ;) (expression_statement "(*pcVar10)();" (call_expression "(*pcVar10)()" (parenthesized_expression "(*pcVar10)" ( (pointer_expression "*pcVar10" * identifier) )) (argument_list "()" ( ))) ;) (expression_statement "uVar3 = (uint)*(byte *)(*(int *)(pcVar10 + 0x11fd5c) + 0x5134 + (uint)*pbVar7);" (assignment_expression "uVar3 = (uint)*(byte *)(*(int *)(pcVar10 + 0x11fd5c) + 0x5134 + (uint)*pbVar7)" identifier = (binary_expression "(uint)*(byte *)(*(int *)(pcVar10 + 0x11fd5c) + 0x5134 + (uint)*pbVar7)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)(*(int *)(pcVar10 + 0x11fd5c) + 0x5134 + (uint)*pbVar7)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(pcVar10 + 0x11fd5c) + 0x5134 + (uint)*pbVar7)" ( (binary_expression "*(int *)(pcVar10 + 0x11fd5c) + 0x5134 + (uint)*pbVar7" (binary_expression "*(int *)(pcVar10 + 0x11fd5c) + 0x5134" (pointer_expression "*(int *)(pcVar10 + 0x11fd5c)" * (cast_expression "(int *)(pcVar10 + 0x11fd5c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar10 + 0x11fd5c)" ( (binary_expression "pcVar10 + 0x11fd5c" identifier + number_literal) )))) + number_literal) + (binary_expression "(uint)*pbVar7" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ))))) ;) (if_statement "if (uVar3 < 0x1d) {\n                    \n                    \n    iVar6 = (*(pcVar10 + *(int *)(*(int *)(pcVar10 + 0x11fd5c) + -0x1ac + uVar3 * 4) + 0x127d10))();\n    return iVar6;\n  }" if (parenthesized_expression "(uVar3 < 0x1d)" ( (binary_expression "uVar3 < 0x1d" identifier < number_literal) )) (compound_statement "{\n                    \n                    \n    iVar6 = (*(pcVar10 + *(int *)(*(int *)(pcVar10 + 0x11fd5c) + -0x1ac + uVar3 * 4) + 0x127d10))();\n    return iVar6;\n  }" { (expression_statement "iVar6 = (*(pcVar10 + *(int *)(*(int *)(pcVar10 + 0x11fd5c) + -0x1ac + uVar3 * 4) + 0x127d10))();" (assignment_expression "iVar6 = (*(pcVar10 + *(int *)(*(int *)(pcVar10 + 0x11fd5c) + -0x1ac + uVar3 * 4) + 0x127d10))()" identifier = (call_expression "(*(pcVar10 + *(int *)(*(int *)(pcVar10 + 0x11fd5c) + -0x1ac + uVar3 * 4) + 0x127d10))()" (parenthesized_expression "(*(pcVar10 + *(int *)(*(int *)(pcVar10 + 0x11fd5c) + -0x1ac + uVar3 * 4) + 0x127d10))" ( (pointer_expression "*(pcVar10 + *(int *)(*(int *)(pcVar10 + 0x11fd5c) + -0x1ac + uVar3 * 4) + 0x127d10)" * (parenthesized_expression "(pcVar10 + *(int *)(*(int *)(pcVar10 + 0x11fd5c) + -0x1ac + uVar3 * 4) + 0x127d10)" ( (binary_expression "pcVar10 + *(int *)(*(int *)(pcVar10 + 0x11fd5c) + -0x1ac + uVar3 * 4) + 0x127d10" (binary_expression "pcVar10 + *(int *)(*(int *)(pcVar10 + 0x11fd5c) + -0x1ac + uVar3 * 4)" identifier + (pointer_expression "*(int *)(*(int *)(pcVar10 + 0x11fd5c) + -0x1ac + uVar3 * 4)" * (cast_expression "(int *)(*(int *)(pcVar10 + 0x11fd5c) + -0x1ac + uVar3 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(pcVar10 + 0x11fd5c) + -0x1ac + uVar3 * 4)" ( (binary_expression "*(int *)(pcVar10 + 0x11fd5c) + -0x1ac + uVar3 * 4" (binary_expression "*(int *)(pcVar10 + 0x11fd5c) + -0x1ac" (pointer_expression "*(int *)(pcVar10 + 0x11fd5c)" * (cast_expression "(int *)(pcVar10 + 0x11fd5c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar10 + 0x11fd5c)" ( (binary_expression "pcVar10 + 0x11fd5c" identifier + number_literal) )))) + number_literal) + (binary_expression "uVar3 * 4" identifier * number_literal)) ))))) + number_literal) ))) )) (argument_list "()" ( )))) ;) (return_statement "return iVar6;" return identifier ;) })) (expression_statement "*piVar4 = 0xad;" (assignment_expression "*piVar4 = 0xad" (pointer_expression "*piVar4" * identifier) = number_literal) ;) (return_statement "return 1;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( IDENT )) * IDENT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;)) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( IDENT )) * IDENT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) )))) ;) (goto_statement goto statement_identifier ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ (binary_expression IDENT - LIT) ]) & LIT) )) == LIT) )) && (parenthesized_expression ( (binary_expression IDENT != LIT) ))) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( IDENT )) * IDENT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ (binary_expression IDENT - LIT) ]) & LIT) )) != LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == LIT) )) && (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ))) )) (goto_statement goto statement_identifier ;)) (goto_statement goto statement_identifier ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , (pointer_expression & IDENT) ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) || (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != LIT) ))) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( IDENT )) * IDENT)) ;) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;))) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (labeled_statement statement_identifier : (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + IDENT) + LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) )))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }))) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) )))) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (goto_statement goto statement_identifier ;)) }))) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) )))) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;)) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) )) (compound_statement { (return_statement return (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) (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 = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < (cast_expression ( (type_descriptor TYPE) ) IDENT)) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) )) (compound_statement { (return_statement return 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 (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( IDENT )) * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) + (binary_expression (parenthesized_expression ( IDENT )) * IDENT)) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (parenthesized_expression ( (binary_expression (binary_expression IDENT + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) + (binary_expression IDENT * LIT)) ))))) + LIT) ))) )) (argument_list ( )))) ;) (return_statement return IDENT ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (return_statement return LIT ;) })))
(function_definition "int FUN_0003b61c(int param_1,int *param_2,byte *param_3)\n\n{\n  byte bVar1;\n  uint uVar2;\n  uint uVar3;\n  int *piVar4;\n  undefined4 *puVar5;\n  int iVar6;\n  byte *pbVar7;\n  undefined1 *puVar8;\n  undefined *puVar9;\n  code *pcVar10;\n  int local_30;\n  int local_2c;\n  \n  puVar9 = PTR___stack_chk_guard_0015ba2c;\n  iVar6 = *param_2;\n  uVar3 = (uint)*param_3;\n  local_2c = *(int *)PTR___stack_chk_guard_0015ba2c;\n  puVar8 = (undefined1 *)(param_1 + iVar6);\n  piVar4 = param_2;\n  if (uVar3 == 0) {\nLAB_0003b6dc:\n    iVar6 = iVar6 + 1;\n    *puVar8 = 0x22;\n    uVar3 = (uint)*param_3;\n    puVar8 = (undefined1 *)(param_1 + iVar6);\n    if (uVar3 != 0) {\n      piVar4 = (int *)0x1;\n      puVar8 = (undefined1 *)(param_1 + iVar6);\n      goto LAB_0003b71c;\n    }\n  }\n  else {\n    piVar4 = (int *)0x0;\n    uVar2 = uVar3;\n    pbVar7 = param_3;\n    do {\n      if (((PTR_DAT_0015b694[uVar2 - 0x7b28] & 6) == 0) && (uVar2 != 0x5f)) break;\n      pbVar7 = pbVar7 + 1;\n      uVar2 = (uint)*pbVar7;\n      piVar4 = (int *)((int)piVar4 + 1);\n    } while (uVar2 != 0);\n    if ((PTR_DAT_0015b694[uVar3 - 0x7b28] & 4) != 0) goto LAB_0003b6dc;\n    local_30 = 0x3b;\n    if ((int)piVar4 < 2) {\n      if ((*pbVar7 == 0) && (piVar4 != (int *)0x0)) goto LAB_0003b7fc;\n      goto LAB_0003b6dc;\n    }\n    FUN_0003b4d0(param_3,piVar4,&local_30);\n    if ((local_30 != 0x3b) || (*pbVar7 != 0)) goto LAB_0003b6dc;\n    uVar3 = (uint)*param_3;\nLAB_0003b7fc:\n    if (uVar3 == 0) goto LAB_0003b750;\n    piVar4 = (int *)0x0;\nLAB_0003b71c:\n    while( true ) {\n      *puVar8 = (char)uVar3;\n      puVar8 = (undefined1 *)(param_1 + iVar6 + 1);\n      if (*param_3 == 0x22) {\n        *puVar8 = 0x22;\n        iVar6 = iVar6 + 2;\n        bVar1 = param_3[1];\n        puVar8 = (undefined1 *)(param_1 + iVar6);\n      }\n      else {\n        bVar1 = param_3[1];\n        iVar6 = iVar6 + 1;\n      }\n      uVar3 = (uint)bVar1;\n      if (uVar3 == 0) break;\n      param_3 = param_3 + 1;\n      puVar8 = (undefined1 *)(param_1 + iVar6);\n    }\n    if (piVar4 == (int *)0x0) goto LAB_0003b750;\n  }\n  iVar6 = iVar6 + 1;\n  *puVar8 = 0x22;\n  puVar8 = (undefined1 *)(param_1 + iVar6);\nLAB_0003b750:\n  *puVar8 = 0;\n  *param_2 = iVar6;\n  if (local_2c == *(int *)puVar9) {\n    return *(int *)puVar9;\n  }\n  puVar9 = PTR___stack_chk_fail_0015ba10;\n  (*(code *)PTR___stack_chk_fail_0015ba10)();\n  puVar5 = *(undefined4 **)(puVar9 + 0x120214);\n  pbVar7 = (byte *)*puVar5;\n  if (1 < (int)piVar4) {\n    FUN_0003b4d0();\n  }\n  if (pbVar7 == (byte *)*puVar5) {\n    return 0;\n  }\n  pcVar10 = *(code **)(puVar9 + 0x1201f8);\n  (*pcVar10)();\n  uVar3 = (uint)*(byte *)(*(int *)(pcVar10 + 0x11fd5c) + 0x5134 + (uint)*pbVar7);\n  if (uVar3 < 0x1d) {\n                    \n                    \n    iVar6 = (*(pcVar10 + *(int *)(*(int *)(pcVar10 + 0x11fd5c) + -0x1ac + uVar3 * 4) + 0x127d10))();\n    return iVar6;\n  }\n  *piVar4 = 0xad;\n  return 1;\n}" (primitive_type "int") (function_declarator "FUN_0003b61c(int param_1,int *param_2,byte *param_3)" (identifier "FUN_0003b61c") (parameter_list "(int param_1,int *param_2,byte *param_3)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "int *param_2" (primitive_type "int") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "byte *param_3" (type_identifier "byte") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) () ")"))) (compound_statement "{\n  byte bVar1;\n  uint uVar2;\n  uint uVar3;\n  int *piVar4;\n  undefined4 *puVar5;\n  int iVar6;\n  byte *pbVar7;\n  undefined1 *puVar8;\n  undefined *puVar9;\n  code *pcVar10;\n  int local_30;\n  int local_2c;\n  \n  puVar9 = PTR___stack_chk_guard_0015ba2c;\n  iVar6 = *param_2;\n  uVar3 = (uint)*param_3;\n  local_2c = *(int *)PTR___stack_chk_guard_0015ba2c;\n  puVar8 = (undefined1 *)(param_1 + iVar6);\n  piVar4 = param_2;\n  if (uVar3 == 0) {\nLAB_0003b6dc:\n    iVar6 = iVar6 + 1;\n    *puVar8 = 0x22;\n    uVar3 = (uint)*param_3;\n    puVar8 = (undefined1 *)(param_1 + iVar6);\n    if (uVar3 != 0) {\n      piVar4 = (int *)0x1;\n      puVar8 = (undefined1 *)(param_1 + iVar6);\n      goto LAB_0003b71c;\n    }\n  }\n  else {\n    piVar4 = (int *)0x0;\n    uVar2 = uVar3;\n    pbVar7 = param_3;\n    do {\n      if (((PTR_DAT_0015b694[uVar2 - 0x7b28] & 6) == 0) && (uVar2 != 0x5f)) break;\n      pbVar7 = pbVar7 + 1;\n      uVar2 = (uint)*pbVar7;\n      piVar4 = (int *)((int)piVar4 + 1);\n    } while (uVar2 != 0);\n    if ((PTR_DAT_0015b694[uVar3 - 0x7b28] & 4) != 0) goto LAB_0003b6dc;\n    local_30 = 0x3b;\n    if ((int)piVar4 < 2) {\n      if ((*pbVar7 == 0) && (piVar4 != (int *)0x0)) goto LAB_0003b7fc;\n      goto LAB_0003b6dc;\n    }\n    FUN_0003b4d0(param_3,piVar4,&local_30);\n    if ((local_30 != 0x3b) || (*pbVar7 != 0)) goto LAB_0003b6dc;\n    uVar3 = (uint)*param_3;\nLAB_0003b7fc:\n    if (uVar3 == 0) goto LAB_0003b750;\n    piVar4 = (int *)0x0;\nLAB_0003b71c:\n    while( true ) {\n      *puVar8 = (char)uVar3;\n      puVar8 = (undefined1 *)(param_1 + iVar6 + 1);\n      if (*param_3 == 0x22) {\n        *puVar8 = 0x22;\n        iVar6 = iVar6 + 2;\n        bVar1 = param_3[1];\n        puVar8 = (undefined1 *)(param_1 + iVar6);\n      }\n      else {\n        bVar1 = param_3[1];\n        iVar6 = iVar6 + 1;\n      }\n      uVar3 = (uint)bVar1;\n      if (uVar3 == 0) break;\n      param_3 = param_3 + 1;\n      puVar8 = (undefined1 *)(param_1 + iVar6);\n    }\n    if (piVar4 == (int *)0x0) goto LAB_0003b750;\n  }\n  iVar6 = iVar6 + 1;\n  *puVar8 = 0x22;\n  puVar8 = (undefined1 *)(param_1 + iVar6);\nLAB_0003b750:\n  *puVar8 = 0;\n  *param_2 = iVar6;\n  if (local_2c == *(int *)puVar9) {\n    return *(int *)puVar9;\n  }\n  puVar9 = PTR___stack_chk_fail_0015ba10;\n  (*(code *)PTR___stack_chk_fail_0015ba10)();\n  puVar5 = *(undefined4 **)(puVar9 + 0x120214);\n  pbVar7 = (byte *)*puVar5;\n  if (1 < (int)piVar4) {\n    FUN_0003b4d0();\n  }\n  if (pbVar7 == (byte *)*puVar5) {\n    return 0;\n  }\n  pcVar10 = *(code **)(puVar9 + 0x1201f8);\n  (*pcVar10)();\n  uVar3 = (uint)*(byte *)(*(int *)(pcVar10 + 0x11fd5c) + 0x5134 + (uint)*pbVar7);\n  if (uVar3 < 0x1d) {\n                    \n                    \n    iVar6 = (*(pcVar10 + *(int *)(*(int *)(pcVar10 + 0x11fd5c) + -0x1ac + uVar3 * 4) + 0x127d10))();\n    return iVar6;\n  }\n  *piVar4 = 0xad;\n  return 1;\n}" ({ "{") (declaration "byte bVar1;" (type_identifier "byte") (identifier "bVar1") (; ";")) (declaration "uint uVar2;" (type_identifier "uint") (identifier "uVar2") (; ";")) (declaration "uint uVar3;" (type_identifier "uint") (identifier "uVar3") (; ";")) (declaration "int *piVar4;" (primitive_type "int") (pointer_declarator "*piVar4" (* "*") (identifier "piVar4")) (; ";")) (declaration "undefined4 *puVar5;" (type_identifier "undefined4") (pointer_declarator "*puVar5" (* "*") (identifier "puVar5")) (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "byte *pbVar7;" (type_identifier "byte") (pointer_declarator "*pbVar7" (* "*") (identifier "pbVar7")) (; ";")) (declaration "undefined1 *puVar8;" (type_identifier "undefined1") (pointer_declarator "*puVar8" (* "*") (identifier "puVar8")) (; ";")) (declaration "undefined *puVar9;" (type_identifier "undefined") (pointer_declarator "*puVar9" (* "*") (identifier "puVar9")) (; ";")) (declaration "code *pcVar10;" (type_identifier "code") (pointer_declarator "*pcVar10" (* "*") (identifier "pcVar10")) (; ";")) (declaration "int local_30;" (primitive_type "int") (identifier "local_30") (; ";")) (declaration "int local_2c;" (primitive_type "int") (identifier "local_2c") (; ";")) (expression_statement "puVar9 = PTR___stack_chk_guard_0015ba2c;" (assignment_expression "puVar9 = PTR___stack_chk_guard_0015ba2c" (identifier "puVar9") (= "=") (identifier "PTR___stack_chk_guard_0015ba2c")) (; ";")) (expression_statement "iVar6 = *param_2;" (assignment_expression "iVar6 = *param_2" (identifier "iVar6") (= "=") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) (; ";")) (expression_statement "uVar3 = (uint)*param_3;" (assignment_expression "uVar3 = (uint)*param_3" (identifier "uVar3") (= "=") (binary_expression "(uint)*param_3" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (identifier "param_3"))) (; ";")) (expression_statement "local_2c = *(int *)PTR___stack_chk_guard_0015ba2c;" (assignment_expression "local_2c = *(int *)PTR___stack_chk_guard_0015ba2c" (identifier "local_2c") (= "=") (pointer_expression "*(int *)PTR___stack_chk_guard_0015ba2c" (* "*") (cast_expression "(int *)PTR___stack_chk_guard_0015ba2c" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_guard_0015ba2c")))) (; ";")) (expression_statement "puVar8 = (undefined1 *)(param_1 + iVar6);" (assignment_expression "puVar8 = (undefined1 *)(param_1 + iVar6)" (identifier "puVar8") (= "=") (cast_expression "(undefined1 *)(param_1 + iVar6)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + iVar6)" (( "(") (binary_expression "param_1 + iVar6" (identifier "param_1") (+ "+") (identifier "iVar6")) () ")")))) (; ";")) (expression_statement "piVar4 = param_2;" (assignment_expression "piVar4 = param_2" (identifier "piVar4") (= "=") (identifier "param_2")) (; ";")) (if_statement "if (uVar3 == 0) {\nLAB_0003b6dc:\n    iVar6 = iVar6 + 1;\n    *puVar8 = 0x22;\n    uVar3 = (uint)*param_3;\n    puVar8 = (undefined1 *)(param_1 + iVar6);\n    if (uVar3 != 0) {\n      piVar4 = (int *)0x1;\n      puVar8 = (undefined1 *)(param_1 + iVar6);\n      goto LAB_0003b71c;\n    }\n  }\n  else {\n    piVar4 = (int *)0x0;\n    uVar2 = uVar3;\n    pbVar7 = param_3;\n    do {\n      if (((PTR_DAT_0015b694[uVar2 - 0x7b28] & 6) == 0) && (uVar2 != 0x5f)) break;\n      pbVar7 = pbVar7 + 1;\n      uVar2 = (uint)*pbVar7;\n      piVar4 = (int *)((int)piVar4 + 1);\n    } while (uVar2 != 0);\n    if ((PTR_DAT_0015b694[uVar3 - 0x7b28] & 4) != 0) goto LAB_0003b6dc;\n    local_30 = 0x3b;\n    if ((int)piVar4 < 2) {\n      if ((*pbVar7 == 0) && (piVar4 != (int *)0x0)) goto LAB_0003b7fc;\n      goto LAB_0003b6dc;\n    }\n    FUN_0003b4d0(param_3,piVar4,&local_30);\n    if ((local_30 != 0x3b) || (*pbVar7 != 0)) goto LAB_0003b6dc;\n    uVar3 = (uint)*param_3;\nLAB_0003b7fc:\n    if (uVar3 == 0) goto LAB_0003b750;\n    piVar4 = (int *)0x0;\nLAB_0003b71c:\n    while( true ) {\n      *puVar8 = (char)uVar3;\n      puVar8 = (undefined1 *)(param_1 + iVar6 + 1);\n      if (*param_3 == 0x22) {\n        *puVar8 = 0x22;\n        iVar6 = iVar6 + 2;\n        bVar1 = param_3[1];\n        puVar8 = (undefined1 *)(param_1 + iVar6);\n      }\n      else {\n        bVar1 = param_3[1];\n        iVar6 = iVar6 + 1;\n      }\n      uVar3 = (uint)bVar1;\n      if (uVar3 == 0) break;\n      param_3 = param_3 + 1;\n      puVar8 = (undefined1 *)(param_1 + iVar6);\n    }\n    if (piVar4 == (int *)0x0) goto LAB_0003b750;\n  }" (if "if") (parenthesized_expression "(uVar3 == 0)" (( "(") (binary_expression "uVar3 == 0" (identifier "uVar3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\nLAB_0003b6dc:\n    iVar6 = iVar6 + 1;\n    *puVar8 = 0x22;\n    uVar3 = (uint)*param_3;\n    puVar8 = (undefined1 *)(param_1 + iVar6);\n    if (uVar3 != 0) {\n      piVar4 = (int *)0x1;\n      puVar8 = (undefined1 *)(param_1 + iVar6);\n      goto LAB_0003b71c;\n    }\n  }" ({ "{") (labeled_statement "LAB_0003b6dc:\n    iVar6 = iVar6 + 1;" (statement_identifier "LAB_0003b6dc") (: ":") (expression_statement "iVar6 = iVar6 + 1;" (assignment_expression "iVar6 = iVar6 + 1" (identifier "iVar6") (= "=") (binary_expression "iVar6 + 1" (identifier "iVar6") (+ "+") (number_literal "1"))) (; ";"))) (expression_statement "*puVar8 = 0x22;" (assignment_expression "*puVar8 = 0x22" (pointer_expression "*puVar8" (* "*") (identifier "puVar8")) (= "=") (number_literal "0x22")) (; ";")) (expression_statement "uVar3 = (uint)*param_3;" (assignment_expression "uVar3 = (uint)*param_3" (identifier "uVar3") (= "=") (binary_expression "(uint)*param_3" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (identifier "param_3"))) (; ";")) (expression_statement "puVar8 = (undefined1 *)(param_1 + iVar6);" (assignment_expression "puVar8 = (undefined1 *)(param_1 + iVar6)" (identifier "puVar8") (= "=") (cast_expression "(undefined1 *)(param_1 + iVar6)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + iVar6)" (( "(") (binary_expression "param_1 + iVar6" (identifier "param_1") (+ "+") (identifier "iVar6")) () ")")))) (; ";")) (if_statement "if (uVar3 != 0) {\n      piVar4 = (int *)0x1;\n      puVar8 = (undefined1 *)(param_1 + iVar6);\n      goto LAB_0003b71c;\n    }" (if "if") (parenthesized_expression "(uVar3 != 0)" (( "(") (binary_expression "uVar3 != 0" (identifier "uVar3") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      piVar4 = (int *)0x1;\n      puVar8 = (undefined1 *)(param_1 + iVar6);\n      goto LAB_0003b71c;\n    }" ({ "{") (expression_statement "piVar4 = (int *)0x1;" (assignment_expression "piVar4 = (int *)0x1" (identifier "piVar4") (= "=") (cast_expression "(int *)0x1" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x1"))) (; ";")) (expression_statement "puVar8 = (undefined1 *)(param_1 + iVar6);" (assignment_expression "puVar8 = (undefined1 *)(param_1 + iVar6)" (identifier "puVar8") (= "=") (cast_expression "(undefined1 *)(param_1 + iVar6)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + iVar6)" (( "(") (binary_expression "param_1 + iVar6" (identifier "param_1") (+ "+") (identifier "iVar6")) () ")")))) (; ";")) (goto_statement "goto LAB_0003b71c;" (goto "goto") (statement_identifier "LAB_0003b71c") (; ";")) (} "}"))) (} "}")) (else_clause "else {\n    piVar4 = (int *)0x0;\n    uVar2 = uVar3;\n    pbVar7 = param_3;\n    do {\n      if (((PTR_DAT_0015b694[uVar2 - 0x7b28] & 6) == 0) && (uVar2 != 0x5f)) break;\n      pbVar7 = pbVar7 + 1;\n      uVar2 = (uint)*pbVar7;\n      piVar4 = (int *)((int)piVar4 + 1);\n    } while (uVar2 != 0);\n    if ((PTR_DAT_0015b694[uVar3 - 0x7b28] & 4) != 0) goto LAB_0003b6dc;\n    local_30 = 0x3b;\n    if ((int)piVar4 < 2) {\n      if ((*pbVar7 == 0) && (piVar4 != (int *)0x0)) goto LAB_0003b7fc;\n      goto LAB_0003b6dc;\n    }\n    FUN_0003b4d0(param_3,piVar4,&local_30);\n    if ((local_30 != 0x3b) || (*pbVar7 != 0)) goto LAB_0003b6dc;\n    uVar3 = (uint)*param_3;\nLAB_0003b7fc:\n    if (uVar3 == 0) goto LAB_0003b750;\n    piVar4 = (int *)0x0;\nLAB_0003b71c:\n    while( true ) {\n      *puVar8 = (char)uVar3;\n      puVar8 = (undefined1 *)(param_1 + iVar6 + 1);\n      if (*param_3 == 0x22) {\n        *puVar8 = 0x22;\n        iVar6 = iVar6 + 2;\n        bVar1 = param_3[1];\n        puVar8 = (undefined1 *)(param_1 + iVar6);\n      }\n      else {\n        bVar1 = param_3[1];\n        iVar6 = iVar6 + 1;\n      }\n      uVar3 = (uint)bVar1;\n      if (uVar3 == 0) break;\n      param_3 = param_3 + 1;\n      puVar8 = (undefined1 *)(param_1 + iVar6);\n    }\n    if (piVar4 == (int *)0x0) goto LAB_0003b750;\n  }" (else "else") (compound_statement "{\n    piVar4 = (int *)0x0;\n    uVar2 = uVar3;\n    pbVar7 = param_3;\n    do {\n      if (((PTR_DAT_0015b694[uVar2 - 0x7b28] & 6) == 0) && (uVar2 != 0x5f)) break;\n      pbVar7 = pbVar7 + 1;\n      uVar2 = (uint)*pbVar7;\n      piVar4 = (int *)((int)piVar4 + 1);\n    } while (uVar2 != 0);\n    if ((PTR_DAT_0015b694[uVar3 - 0x7b28] & 4) != 0) goto LAB_0003b6dc;\n    local_30 = 0x3b;\n    if ((int)piVar4 < 2) {\n      if ((*pbVar7 == 0) && (piVar4 != (int *)0x0)) goto LAB_0003b7fc;\n      goto LAB_0003b6dc;\n    }\n    FUN_0003b4d0(param_3,piVar4,&local_30);\n    if ((local_30 != 0x3b) || (*pbVar7 != 0)) goto LAB_0003b6dc;\n    uVar3 = (uint)*param_3;\nLAB_0003b7fc:\n    if (uVar3 == 0) goto LAB_0003b750;\n    piVar4 = (int *)0x0;\nLAB_0003b71c:\n    while( true ) {\n      *puVar8 = (char)uVar3;\n      puVar8 = (undefined1 *)(param_1 + iVar6 + 1);\n      if (*param_3 == 0x22) {\n        *puVar8 = 0x22;\n        iVar6 = iVar6 + 2;\n        bVar1 = param_3[1];\n        puVar8 = (undefined1 *)(param_1 + iVar6);\n      }\n      else {\n        bVar1 = param_3[1];\n        iVar6 = iVar6 + 1;\n      }\n      uVar3 = (uint)bVar1;\n      if (uVar3 == 0) break;\n      param_3 = param_3 + 1;\n      puVar8 = (undefined1 *)(param_1 + iVar6);\n    }\n    if (piVar4 == (int *)0x0) goto LAB_0003b750;\n  }" ({ "{") (expression_statement "piVar4 = (int *)0x0;" (assignment_expression "piVar4 = (int *)0x0" (identifier "piVar4") (= "=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "uVar2 = uVar3;" (assignment_expression "uVar2 = uVar3" (identifier "uVar2") (= "=") (identifier "uVar3")) (; ";")) (expression_statement "pbVar7 = param_3;" (assignment_expression "pbVar7 = param_3" (identifier "pbVar7") (= "=") (identifier "param_3")) (; ";")) (do_statement "do {\n      if (((PTR_DAT_0015b694[uVar2 - 0x7b28] & 6) == 0) && (uVar2 != 0x5f)) break;\n      pbVar7 = pbVar7 + 1;\n      uVar2 = (uint)*pbVar7;\n      piVar4 = (int *)((int)piVar4 + 1);\n    } while (uVar2 != 0);" (do "do") (compound_statement "{\n      if (((PTR_DAT_0015b694[uVar2 - 0x7b28] & 6) == 0) && (uVar2 != 0x5f)) break;\n      pbVar7 = pbVar7 + 1;\n      uVar2 = (uint)*pbVar7;\n      piVar4 = (int *)((int)piVar4 + 1);\n    }" ({ "{") (if_statement "if (((PTR_DAT_0015b694[uVar2 - 0x7b28] & 6) == 0) && (uVar2 != 0x5f)) break;" (if "if") (parenthesized_expression "(((PTR_DAT_0015b694[uVar2 - 0x7b28] & 6) == 0) && (uVar2 != 0x5f))" (( "(") (binary_expression "((PTR_DAT_0015b694[uVar2 - 0x7b28] & 6) == 0) && (uVar2 != 0x5f)" (parenthesized_expression "((PTR_DAT_0015b694[uVar2 - 0x7b28] & 6) == 0)" (( "(") (binary_expression "(PTR_DAT_0015b694[uVar2 - 0x7b28] & 6) == 0" (parenthesized_expression "(PTR_DAT_0015b694[uVar2 - 0x7b28] & 6)" (( "(") (binary_expression "PTR_DAT_0015b694[uVar2 - 0x7b28] & 6" (subscript_expression "PTR_DAT_0015b694[uVar2 - 0x7b28]" (identifier "PTR_DAT_0015b694") ([ "[") (binary_expression "uVar2 - 0x7b28" (identifier "uVar2") (- "-") (number_literal "0x7b28")) (] "]")) (& "&") (number_literal "6")) () ")")) (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(uVar2 != 0x5f)" (( "(") (binary_expression "uVar2 != 0x5f" (identifier "uVar2") (!= "!=") (number_literal "0x5f")) () ")"))) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "pbVar7 = pbVar7 + 1;" (assignment_expression "pbVar7 = pbVar7 + 1" (identifier "pbVar7") (= "=") (binary_expression "pbVar7 + 1" (identifier "pbVar7") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "uVar2 = (uint)*pbVar7;" (assignment_expression "uVar2 = (uint)*pbVar7" (identifier "uVar2") (= "=") (binary_expression "(uint)*pbVar7" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (identifier "pbVar7"))) (; ";")) (expression_statement "piVar4 = (int *)((int)piVar4 + 1);" (assignment_expression "piVar4 = (int *)((int)piVar4 + 1)" (identifier "piVar4") (= "=") (cast_expression "(int *)((int)piVar4 + 1)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)piVar4 + 1)" (( "(") (binary_expression "(int)piVar4 + 1" (cast_expression "(int)piVar4" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar4")) (+ "+") (number_literal "1")) () ")")))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(uVar2 != 0)" (( "(") (binary_expression "uVar2 != 0" (identifier "uVar2") (!= "!=") (number_literal "0")) () ")")) (; ";")) (if_statement "if ((PTR_DAT_0015b694[uVar3 - 0x7b28] & 4) != 0) goto LAB_0003b6dc;" (if "if") (parenthesized_expression "((PTR_DAT_0015b694[uVar3 - 0x7b28] & 4) != 0)" (( "(") (binary_expression "(PTR_DAT_0015b694[uVar3 - 0x7b28] & 4) != 0" (parenthesized_expression "(PTR_DAT_0015b694[uVar3 - 0x7b28] & 4)" (( "(") (binary_expression "PTR_DAT_0015b694[uVar3 - 0x7b28] & 4" (subscript_expression "PTR_DAT_0015b694[uVar3 - 0x7b28]" (identifier "PTR_DAT_0015b694") ([ "[") (binary_expression "uVar3 - 0x7b28" (identifier "uVar3") (- "-") (number_literal "0x7b28")) (] "]")) (& "&") (number_literal "4")) () ")")) (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_0003b6dc;" (goto "goto") (statement_identifier "LAB_0003b6dc") (; ";"))) (expression_statement "local_30 = 0x3b;" (assignment_expression "local_30 = 0x3b" (identifier "local_30") (= "=") (number_literal "0x3b")) (; ";")) (if_statement "if ((int)piVar4 < 2) {\n      if ((*pbVar7 == 0) && (piVar4 != (int *)0x0)) goto LAB_0003b7fc;\n      goto LAB_0003b6dc;\n    }" (if "if") (parenthesized_expression "((int)piVar4 < 2)" (( "(") (binary_expression "(int)piVar4 < 2" (cast_expression "(int)piVar4" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar4")) (< "<") (number_literal "2")) () ")")) (compound_statement "{\n      if ((*pbVar7 == 0) && (piVar4 != (int *)0x0)) goto LAB_0003b7fc;\n      goto LAB_0003b6dc;\n    }" ({ "{") (if_statement "if ((*pbVar7 == 0) && (piVar4 != (int *)0x0)) goto LAB_0003b7fc;" (if "if") (parenthesized_expression "((*pbVar7 == 0) && (piVar4 != (int *)0x0))" (( "(") (binary_expression "(*pbVar7 == 0) && (piVar4 != (int *)0x0)" (parenthesized_expression "(*pbVar7 == 0)" (( "(") (binary_expression "*pbVar7 == 0" (pointer_expression "*pbVar7" (* "*") (identifier "pbVar7")) (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(piVar4 != (int *)0x0)" (( "(") (binary_expression "piVar4 != (int *)0x0" (identifier "piVar4") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")"))) () ")")) (goto_statement "goto LAB_0003b7fc;" (goto "goto") (statement_identifier "LAB_0003b7fc") (; ";"))) (goto_statement "goto LAB_0003b6dc;" (goto "goto") (statement_identifier "LAB_0003b6dc") (; ";")) (} "}"))) (expression_statement "FUN_0003b4d0(param_3,piVar4,&local_30);" (call_expression "FUN_0003b4d0(param_3,piVar4,&local_30)" (identifier "FUN_0003b4d0") (argument_list "(param_3,piVar4,&local_30)" (( "(") (identifier "param_3") (, ",") (identifier "piVar4") (, ",") (pointer_expression "&local_30" (& "&") (identifier "local_30")) () ")"))) (; ";")) (if_statement "if ((local_30 != 0x3b) || (*pbVar7 != 0)) goto LAB_0003b6dc;" (if "if") (parenthesized_expression "((local_30 != 0x3b) || (*pbVar7 != 0))" (( "(") (binary_expression "(local_30 != 0x3b) || (*pbVar7 != 0)" (parenthesized_expression "(local_30 != 0x3b)" (( "(") (binary_expression "local_30 != 0x3b" (identifier "local_30") (!= "!=") (number_literal "0x3b")) () ")")) (|| "||") (parenthesized_expression "(*pbVar7 != 0)" (( "(") (binary_expression "*pbVar7 != 0" (pointer_expression "*pbVar7" (* "*") (identifier "pbVar7")) (!= "!=") (number_literal "0")) () ")"))) () ")")) (goto_statement "goto LAB_0003b6dc;" (goto "goto") (statement_identifier "LAB_0003b6dc") (; ";"))) (expression_statement "uVar3 = (uint)*param_3;" (assignment_expression "uVar3 = (uint)*param_3" (identifier "uVar3") (= "=") (binary_expression "(uint)*param_3" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (identifier "param_3"))) (; ";")) (labeled_statement "LAB_0003b7fc:\n    if (uVar3 == 0) goto LAB_0003b750;" (statement_identifier "LAB_0003b7fc") (: ":") (if_statement "if (uVar3 == 0) goto LAB_0003b750;" (if "if") (parenthesized_expression "(uVar3 == 0)" (( "(") (binary_expression "uVar3 == 0" (identifier "uVar3") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_0003b750;" (goto "goto") (statement_identifier "LAB_0003b750") (; ";")))) (expression_statement "piVar4 = (int *)0x0;" (assignment_expression "piVar4 = (int *)0x0" (identifier "piVar4") (= "=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (labeled_statement "LAB_0003b71c:\n    while( true ) {\n      *puVar8 = (char)uVar3;\n      puVar8 = (undefined1 *)(param_1 + iVar6 + 1);\n      if (*param_3 == 0x22) {\n        *puVar8 = 0x22;\n        iVar6 = iVar6 + 2;\n        bVar1 = param_3[1];\n        puVar8 = (undefined1 *)(param_1 + iVar6);\n      }\n      else {\n        bVar1 = param_3[1];\n        iVar6 = iVar6 + 1;\n      }\n      uVar3 = (uint)bVar1;\n      if (uVar3 == 0) break;\n      param_3 = param_3 + 1;\n      puVar8 = (undefined1 *)(param_1 + iVar6);\n    }" (statement_identifier "LAB_0003b71c") (: ":") (while_statement "while( true ) {\n      *puVar8 = (char)uVar3;\n      puVar8 = (undefined1 *)(param_1 + iVar6 + 1);\n      if (*param_3 == 0x22) {\n        *puVar8 = 0x22;\n        iVar6 = iVar6 + 2;\n        bVar1 = param_3[1];\n        puVar8 = (undefined1 *)(param_1 + iVar6);\n      }\n      else {\n        bVar1 = param_3[1];\n        iVar6 = iVar6 + 1;\n      }\n      uVar3 = (uint)bVar1;\n      if (uVar3 == 0) break;\n      param_3 = param_3 + 1;\n      puVar8 = (undefined1 *)(param_1 + iVar6);\n    }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n      *puVar8 = (char)uVar3;\n      puVar8 = (undefined1 *)(param_1 + iVar6 + 1);\n      if (*param_3 == 0x22) {\n        *puVar8 = 0x22;\n        iVar6 = iVar6 + 2;\n        bVar1 = param_3[1];\n        puVar8 = (undefined1 *)(param_1 + iVar6);\n      }\n      else {\n        bVar1 = param_3[1];\n        iVar6 = iVar6 + 1;\n      }\n      uVar3 = (uint)bVar1;\n      if (uVar3 == 0) break;\n      param_3 = param_3 + 1;\n      puVar8 = (undefined1 *)(param_1 + iVar6);\n    }" ({ "{") (expression_statement "*puVar8 = (char)uVar3;" (assignment_expression "*puVar8 = (char)uVar3" (pointer_expression "*puVar8" (* "*") (identifier "puVar8")) (= "=") (cast_expression "(char)uVar3" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "uVar3"))) (; ";")) (expression_statement "puVar8 = (undefined1 *)(param_1 + iVar6 + 1);" (assignment_expression "puVar8 = (undefined1 *)(param_1 + iVar6 + 1)" (identifier "puVar8") (= "=") (cast_expression "(undefined1 *)(param_1 + iVar6 + 1)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + iVar6 + 1)" (( "(") (binary_expression "param_1 + iVar6 + 1" (binary_expression "param_1 + iVar6" (identifier "param_1") (+ "+") (identifier "iVar6")) (+ "+") (number_literal "1")) () ")")))) (; ";")) (if_statement "if (*param_3 == 0x22) {\n        *puVar8 = 0x22;\n        iVar6 = iVar6 + 2;\n        bVar1 = param_3[1];\n        puVar8 = (undefined1 *)(param_1 + iVar6);\n      }\n      else {\n        bVar1 = param_3[1];\n        iVar6 = iVar6 + 1;\n      }" (if "if") (parenthesized_expression "(*param_3 == 0x22)" (( "(") (binary_expression "*param_3 == 0x22" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (== "==") (number_literal "0x22")) () ")")) (compound_statement "{\n        *puVar8 = 0x22;\n        iVar6 = iVar6 + 2;\n        bVar1 = param_3[1];\n        puVar8 = (undefined1 *)(param_1 + iVar6);\n      }" ({ "{") (expression_statement "*puVar8 = 0x22;" (assignment_expression "*puVar8 = 0x22" (pointer_expression "*puVar8" (* "*") (identifier "puVar8")) (= "=") (number_literal "0x22")) (; ";")) (expression_statement "iVar6 = iVar6 + 2;" (assignment_expression "iVar6 = iVar6 + 2" (identifier "iVar6") (= "=") (binary_expression "iVar6 + 2" (identifier "iVar6") (+ "+") (number_literal "2"))) (; ";")) (expression_statement "bVar1 = param_3[1];" (assignment_expression "bVar1 = param_3[1]" (identifier "bVar1") (= "=") (subscript_expression "param_3[1]" (identifier "param_3") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "puVar8 = (undefined1 *)(param_1 + iVar6);" (assignment_expression "puVar8 = (undefined1 *)(param_1 + iVar6)" (identifier "puVar8") (= "=") (cast_expression "(undefined1 *)(param_1 + iVar6)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + iVar6)" (( "(") (binary_expression "param_1 + iVar6" (identifier "param_1") (+ "+") (identifier "iVar6")) () ")")))) (; ";")) (} "}")) (else_clause "else {\n        bVar1 = param_3[1];\n        iVar6 = iVar6 + 1;\n      }" (else "else") (compound_statement "{\n        bVar1 = param_3[1];\n        iVar6 = iVar6 + 1;\n      }" ({ "{") (expression_statement "bVar1 = param_3[1];" (assignment_expression "bVar1 = param_3[1]" (identifier "bVar1") (= "=") (subscript_expression "param_3[1]" (identifier "param_3") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "iVar6 = iVar6 + 1;" (assignment_expression "iVar6 = iVar6 + 1" (identifier "iVar6") (= "=") (binary_expression "iVar6 + 1" (identifier "iVar6") (+ "+") (number_literal "1"))) (; ";")) (} "}")))) (expression_statement "uVar3 = (uint)bVar1;" (assignment_expression "uVar3 = (uint)bVar1" (identifier "uVar3") (= "=") (cast_expression "(uint)bVar1" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar1"))) (; ";")) (if_statement "if (uVar3 == 0) break;" (if "if") (parenthesized_expression "(uVar3 == 0)" (( "(") (binary_expression "uVar3 == 0" (identifier "uVar3") (== "==") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "param_3 = param_3 + 1;" (assignment_expression "param_3 = param_3 + 1" (identifier "param_3") (= "=") (binary_expression "param_3 + 1" (identifier "param_3") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "puVar8 = (undefined1 *)(param_1 + iVar6);" (assignment_expression "puVar8 = (undefined1 *)(param_1 + iVar6)" (identifier "puVar8") (= "=") (cast_expression "(undefined1 *)(param_1 + iVar6)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + iVar6)" (( "(") (binary_expression "param_1 + iVar6" (identifier "param_1") (+ "+") (identifier "iVar6")) () ")")))) (; ";")) (} "}")))) (if_statement "if (piVar4 == (int *)0x0) goto LAB_0003b750;" (if "if") (parenthesized_expression "(piVar4 == (int *)0x0)" (( "(") (binary_expression "piVar4 == (int *)0x0" (identifier "piVar4") (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (goto_statement "goto LAB_0003b750;" (goto "goto") (statement_identifier "LAB_0003b750") (; ";"))) (} "}")))) (expression_statement "iVar6 = iVar6 + 1;" (assignment_expression "iVar6 = iVar6 + 1" (identifier "iVar6") (= "=") (binary_expression "iVar6 + 1" (identifier "iVar6") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*puVar8 = 0x22;" (assignment_expression "*puVar8 = 0x22" (pointer_expression "*puVar8" (* "*") (identifier "puVar8")) (= "=") (number_literal "0x22")) (; ";")) (expression_statement "puVar8 = (undefined1 *)(param_1 + iVar6);" (assignment_expression "puVar8 = (undefined1 *)(param_1 + iVar6)" (identifier "puVar8") (= "=") (cast_expression "(undefined1 *)(param_1 + iVar6)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + iVar6)" (( "(") (binary_expression "param_1 + iVar6" (identifier "param_1") (+ "+") (identifier "iVar6")) () ")")))) (; ";")) (labeled_statement "LAB_0003b750:\n  *puVar8 = 0;" (statement_identifier "LAB_0003b750") (: ":") (expression_statement "*puVar8 = 0;" (assignment_expression "*puVar8 = 0" (pointer_expression "*puVar8" (* "*") (identifier "puVar8")) (= "=") (number_literal "0")) (; ";"))) (expression_statement "*param_2 = iVar6;" (assignment_expression "*param_2 = iVar6" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (identifier "iVar6")) (; ";")) (if_statement "if (local_2c == *(int *)puVar9) {\n    return *(int *)puVar9;\n  }" (if "if") (parenthesized_expression "(local_2c == *(int *)puVar9)" (( "(") (binary_expression "local_2c == *(int *)puVar9" (identifier "local_2c") (== "==") (pointer_expression "*(int *)puVar9" (* "*") (cast_expression "(int *)puVar9" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar9")))) () ")")) (compound_statement "{\n    return *(int *)puVar9;\n  }" ({ "{") (return_statement "return *(int *)puVar9;" (return "return") (pointer_expression "*(int *)puVar9" (* "*") (cast_expression "(int *)puVar9" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar9"))) (; ";")) (} "}"))) (expression_statement "puVar9 = PTR___stack_chk_fail_0015ba10;" (assignment_expression "puVar9 = PTR___stack_chk_fail_0015ba10" (identifier "puVar9") (= "=") (identifier "PTR___stack_chk_fail_0015ba10")) (; ";")) (expression_statement "(*(code *)PTR___stack_chk_fail_0015ba10)();" (call_expression "(*(code *)PTR___stack_chk_fail_0015ba10)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_0015ba10)" (( "(") (pointer_expression "*(code *)PTR___stack_chk_fail_0015ba10" (* "*") (cast_expression "(code *)PTR___stack_chk_fail_0015ba10" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_fail_0015ba10"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "puVar5 = *(undefined4 **)(puVar9 + 0x120214);" (assignment_expression "puVar5 = *(undefined4 **)(puVar9 + 0x120214)" (identifier "puVar5") (= "=") (pointer_expression "*(undefined4 **)(puVar9 + 0x120214)" (* "*") (cast_expression "(undefined4 **)(puVar9 + 0x120214)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar9 + 0x120214)" (( "(") (binary_expression "puVar9 + 0x120214" (identifier "puVar9") (+ "+") (number_literal "0x120214")) () ")"))))) (; ";")) (expression_statement "pbVar7 = (byte *)*puVar5;" (assignment_expression "pbVar7 = (byte *)*puVar5" (identifier "pbVar7") (= "=") (cast_expression "(byte *)*puVar5" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar5" (* "*") (identifier "puVar5")))) (; ";")) (if_statement "if (1 < (int)piVar4) {\n    FUN_0003b4d0();\n  }" (if "if") (parenthesized_expression "(1 < (int)piVar4)" (( "(") (binary_expression "1 < (int)piVar4" (number_literal "1") (< "<") (cast_expression "(int)piVar4" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar4"))) () ")")) (compound_statement "{\n    FUN_0003b4d0();\n  }" ({ "{") (expression_statement "FUN_0003b4d0();" (call_expression "FUN_0003b4d0()" (identifier "FUN_0003b4d0") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (if_statement "if (pbVar7 == (byte *)*puVar5) {\n    return 0;\n  }" (if "if") (parenthesized_expression "(pbVar7 == (byte *)*puVar5)" (( "(") (binary_expression "pbVar7 == (byte *)*puVar5" (identifier "pbVar7") (== "==") (cast_expression "(byte *)*puVar5" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar5" (* "*") (identifier "puVar5")))) () ")")) (compound_statement "{\n    return 0;\n  }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (expression_statement "pcVar10 = *(code **)(puVar9 + 0x1201f8);" (assignment_expression "pcVar10 = *(code **)(puVar9 + 0x1201f8)" (identifier "pcVar10") (= "=") (pointer_expression "*(code **)(puVar9 + 0x1201f8)" (* "*") (cast_expression "(code **)(puVar9 + 0x1201f8)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar9 + 0x1201f8)" (( "(") (binary_expression "puVar9 + 0x1201f8" (identifier "puVar9") (+ "+") (number_literal "0x1201f8")) () ")"))))) (; ";")) (expression_statement "(*pcVar10)();" (call_expression "(*pcVar10)()" (parenthesized_expression "(*pcVar10)" (( "(") (pointer_expression "*pcVar10" (* "*") (identifier "pcVar10")) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "uVar3 = (uint)*(byte *)(*(int *)(pcVar10 + 0x11fd5c) + 0x5134 + (uint)*pbVar7);" (assignment_expression "uVar3 = (uint)*(byte *)(*(int *)(pcVar10 + 0x11fd5c) + 0x5134 + (uint)*pbVar7)" (identifier "uVar3") (= "=") (binary_expression "(uint)*(byte *)(*(int *)(pcVar10 + 0x11fd5c) + 0x5134 + (uint)*pbVar7)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (cast_expression "(byte *)(*(int *)(pcVar10 + 0x11fd5c) + 0x5134 + (uint)*pbVar7)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(pcVar10 + 0x11fd5c) + 0x5134 + (uint)*pbVar7)" (( "(") (binary_expression "*(int *)(pcVar10 + 0x11fd5c) + 0x5134 + (uint)*pbVar7" (binary_expression "*(int *)(pcVar10 + 0x11fd5c) + 0x5134" (pointer_expression "*(int *)(pcVar10 + 0x11fd5c)" (* "*") (cast_expression "(int *)(pcVar10 + 0x11fd5c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pcVar10 + 0x11fd5c)" (( "(") (binary_expression "pcVar10 + 0x11fd5c" (identifier "pcVar10") (+ "+") (number_literal "0x11fd5c")) () ")")))) (+ "+") (number_literal "0x5134")) (+ "+") (binary_expression "(uint)*pbVar7" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (identifier "pbVar7"))) () ")"))))) (; ";")) (if_statement "if (uVar3 < 0x1d) {\n                    \n                    \n    iVar6 = (*(pcVar10 + *(int *)(*(int *)(pcVar10 + 0x11fd5c) + -0x1ac + uVar3 * 4) + 0x127d10))();\n    return iVar6;\n  }" (if "if") (parenthesized_expression "(uVar3 < 0x1d)" (( "(") (binary_expression "uVar3 < 0x1d" (identifier "uVar3") (< "<") (number_literal "0x1d")) () ")")) (compound_statement "{\n                    \n                    \n    iVar6 = (*(pcVar10 + *(int *)(*(int *)(pcVar10 + 0x11fd5c) + -0x1ac + uVar3 * 4) + 0x127d10))();\n    return iVar6;\n  }" ({ "{") (expression_statement "iVar6 = (*(pcVar10 + *(int *)(*(int *)(pcVar10 + 0x11fd5c) + -0x1ac + uVar3 * 4) + 0x127d10))();" (assignment_expression "iVar6 = (*(pcVar10 + *(int *)(*(int *)(pcVar10 + 0x11fd5c) + -0x1ac + uVar3 * 4) + 0x127d10))()" (identifier "iVar6") (= "=") (call_expression "(*(pcVar10 + *(int *)(*(int *)(pcVar10 + 0x11fd5c) + -0x1ac + uVar3 * 4) + 0x127d10))()" (parenthesized_expression "(*(pcVar10 + *(int *)(*(int *)(pcVar10 + 0x11fd5c) + -0x1ac + uVar3 * 4) + 0x127d10))" (( "(") (pointer_expression "*(pcVar10 + *(int *)(*(int *)(pcVar10 + 0x11fd5c) + -0x1ac + uVar3 * 4) + 0x127d10)" (* "*") (parenthesized_expression "(pcVar10 + *(int *)(*(int *)(pcVar10 + 0x11fd5c) + -0x1ac + uVar3 * 4) + 0x127d10)" (( "(") (binary_expression "pcVar10 + *(int *)(*(int *)(pcVar10 + 0x11fd5c) + -0x1ac + uVar3 * 4) + 0x127d10" (binary_expression "pcVar10 + *(int *)(*(int *)(pcVar10 + 0x11fd5c) + -0x1ac + uVar3 * 4)" (identifier "pcVar10") (+ "+") (pointer_expression "*(int *)(*(int *)(pcVar10 + 0x11fd5c) + -0x1ac + uVar3 * 4)" (* "*") (cast_expression "(int *)(*(int *)(pcVar10 + 0x11fd5c) + -0x1ac + uVar3 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(pcVar10 + 0x11fd5c) + -0x1ac + uVar3 * 4)" (( "(") (binary_expression "*(int *)(pcVar10 + 0x11fd5c) + -0x1ac + uVar3 * 4" (binary_expression "*(int *)(pcVar10 + 0x11fd5c) + -0x1ac" (pointer_expression "*(int *)(pcVar10 + 0x11fd5c)" (* "*") (cast_expression "(int *)(pcVar10 + 0x11fd5c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pcVar10 + 0x11fd5c)" (( "(") (binary_expression "pcVar10 + 0x11fd5c" (identifier "pcVar10") (+ "+") (number_literal "0x11fd5c")) () ")")))) (+ "+") (number_literal "-0x1ac")) (+ "+") (binary_expression "uVar3 * 4" (identifier "uVar3") (* "*") (number_literal "4"))) () ")"))))) (+ "+") (number_literal "0x127d10")) () ")"))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (return_statement "return iVar6;" (return "return") (identifier "iVar6") (; ";")) (} "}"))) (expression_statement "*piVar4 = 0xad;" (assignment_expression "*piVar4 = 0xad" (pointer_expression "*piVar4" (* "*") (identifier "piVar4")) (= "=") (number_literal "0xad")) (; ";")) (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}")))

void function_1(char *var_2,int *pIdx,char *var_1)

{
  type_1 bVar1;
  bool bVar2;
  type_2 *puVar3;
  type_3 var_5;
  type_3 var_4;
  int var_7;
  int var_3;
  type_1 *var_6;
  char *pcVar8;
  int var_9;
  int var_10;
  
  puVar3 = PTR___stack_chk_guard_0015ba2c;
  var_3 = *pIdx;
  var_4 = (type_3)(type_1)*var_1;
  var_10 = *(int *)PTR___stack_chk_guard_0015ba2c;
  pcVar8 = var_2 + var_3;
  if (var_4 == 0) {
LAB_0003b6dc:
    var_3 = var_3 + 1;
    *pcVar8 = '\"';
    var_4 = (type_3)(type_1)*var_1;
    pcVar8 = var_2 + var_3;
    if (var_4 != 0) {
      bVar2 = true;
      pcVar8 = var_2 + var_3;
      goto LAB_0003b71c;
    }
  }
  else {
    var_7 = 0;
    var_5 = var_4;
    var_6 = (type_1 *)var_1;
    do {
      if (((PTR_DAT_0015b694[var_5 - 0x7b28] & 6) == 0) && (var_5 != 0x5f)) break;
      var_6 = var_6 + 1;
      var_5 = (type_3)*var_6;
      var_7 = var_7 + 1;
    } while (var_5 != 0);
    if ((PTR_DAT_0015b694[var_4 - 0x7b28] & 4) != 0) goto LAB_0003b6dc;
    var_9 = 0x3b;
    if (var_7 < 2) {
      if ((*var_6 == 0) && (var_7 != 0)) goto LAB_0003b7fc;
      goto LAB_0003b6dc;
    }
    var_8(var_1,var_7,&var_9);
    if ((var_9 != 0x3b) || (*var_6 != 0)) goto LAB_0003b6dc;
    var_4 = (type_3)(type_1)*var_1;
LAB_0003b7fc:
    if (var_4 == 0) goto LAB_0003b750;
    bVar2 = false;
LAB_0003b71c:
    while( true ) {
      *pcVar8 = (char)var_4;
      pcVar8 = var_2 + var_3 + 1;
      if (*var_1 == '\"') {
        *pcVar8 = '\"';
        var_3 = var_3 + 2;
        bVar1 = var_1[1];
        pcVar8 = var_2 + var_3;
      }
      else {
        bVar1 = var_1[1];
        var_3 = var_3 + 1;
      }
      var_4 = (type_3)bVar1;
      if (var_4 == 0) break;
      var_1 = var_1 + 1;
      pcVar8 = var_2 + var_3;
    }
    if (!bVar2) goto LAB_0003b750;
  }
  var_3 = var_3 + 1;
  *pcVar8 = '\"';
  pcVar8 = var_2 + var_3;
LAB_0003b750:
  *pcVar8 = '\0';
  *pIdx = var_3;
  if (var_10 == *(int *)puVar3) {
    return;
  }
  (*(type_4 *)PTR___stack_chk_fail_0015ba10)();
  return;
}


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

int MASKED(int param_1,int *param_2,byte *param_3)

{
  byte bVar1;
  uint uVar2;
  uint uVar3;
  int *piVar4;
  undefined4 *puVar5;
  int iVar6;
  byte *pbVar7;
  undefined1 *puVar8;
  undefined *puVar9;
  code *pcVar10;
  int local_30;
  int local_2c;
  
  puVar9 = PTR___stack_chk_guard_0015ba2c;
  iVar6 = *param_2;
  uVar3 = (uint)*param_3;
  local_2c = *(int *)PTR___stack_chk_guard_0015ba2c;
  puVar8 = (undefined1 *)(param_1 + iVar6);
  piVar4 = param_2;
  if (uVar3 == 0) {
LAB_0003b6dc:
    iVar6 = iVar6 + 1;
    *puVar8 = 0x22;
    uVar3 = (uint)*param_3;
    puVar8 = (undefined1 *)(param_1 + iVar6);
    if (uVar3 != 0) {
      piVar4 = (int *)0x1;
      puVar8 = (undefined1 *)(param_1 + iVar6);
      goto LAB_0003b71c;
    }
  }
  else {
    piVar4 = (int *)0x0;
    uVar2 = uVar3;
    pbVar7 = param_3;
    do {
      if (((PTR_DAT_0015b694[uVar2 - 0x7b28] & 6) == 0) && (uVar2 != 0x5f)) break;
      pbVar7 = pbVar7 + 1;
      uVar2 = (uint)*pbVar7;
      piVar4 = (int *)((int)piVar4 + 1);
    } while (uVar2 != 0);
    if ((PTR_DAT_0015b694[uVar3 - 0x7b28] & 4) != 0) goto LAB_0003b6dc;
    local_30 = 0x3b;
    if ((int)piVar4 < 2) {
      if ((*pbVar7 == 0) && (piVar4 != (int *)0x0)) goto LAB_0003b7fc;
      goto LAB_0003b6dc;
    }
    FUN_0003b4d0(param_3,piVar4,&local_30);
    if ((local_30 != 0x3b) || (*pbVar7 != 0)) goto LAB_0003b6dc;
    uVar3 = (uint)*param_3;
LAB_0003b7fc:
    if (uVar3 == 0) goto LAB_0003b750;
    piVar4 = (int *)0x0;
LAB_0003b71c:
    while( true ) {
      *puVar8 = (char)uVar3;
      puVar8 = (undefined1 *)(param_1 + iVar6 + 1);
      if (*param_3 == 0x22) {
        *puVar8 = 0x22;
        iVar6 = iVar6 + 2;
        bVar1 = param_3[1];
        puVar8 = (undefined1 *)(param_1 + iVar6);
      }
      else {
        bVar1 = param_3[1];
        iVar6 = iVar6 + 1;
      }
      uVar3 = (uint)bVar1;
      if (uVar3 == 0) break;
      param_3 = param_3 + 1;
      puVar8 = (undefined1 *)(param_1 + iVar6);
    }
    if (piVar4 == (int *)0x0) goto LAB_0003b750;
  }
  iVar6 = iVar6 + 1;
  *puVar8 = 0x22;
  puVar8 = (undefined1 *)(param_1 + iVar6);
LAB_0003b750:
  *puVar8 = 0;
  *param_2 = iVar6;
  if (local_2c == *(int *)puVar9) {
    return *(int *)puVar9;
  }
  puVar9 = PTR___stack_chk_fail_0015ba10;
  (*(code *)PTR___stack_chk_fail_0015ba10)();
  puVar5 = *(undefined4 **)(puVar9 + 0x120214);
  pbVar7 = (byte *)*puVar5;
  if (1 < (int)piVar4) {
    FUN_0003b4d0();
  }
  if (pbVar7 == (byte *)*puVar5) {
    return 0;
  }
  pcVar10 = *(code **)(puVar9 + 0x1201f8);
  (*pcVar10)();
  uVar3 = (uint)*(byte *)(*(int *)(pcVar10 + 0x11fd5c) + 0x5134 + (uint)*pbVar7);
  if (uVar3 < 0x1d) {
                    /* WARNING: Could not recover jumptable at 0x0003b8f0. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    iVar6 = (*(pcVar10 + *(int *)(*(int *)(pcVar10 + 0x11fd5c) + -0x1ac + uVar3 * 4) + 0x127d10))();
    return iVar6;
  }
  *piVar4 = 0xad;
  return 1;
}

