
void exprSetHeight(Expr *p)

{
  byte bVar1;
  Expr **ppEVar2;
  int iVar3;
  ExprList_item *pEVar4;
  int iVar5;
  byte *pbVar6;
  Select *pSelect;
  byte *pbVar7;
  uint uVar8;
  undefined4 *puVar9;
  undefined *puVar10;
  int nHeight;
  byte *local_c;
  
  nHeight = 0;
  local_c = *(byte **)PTR___stack_chk_guard_000f5568;
  if ((p->pLeft != (Expr *)0x0) && (iVar3 = p->pLeft->nHeight, 0 < iVar3)) {
    nHeight = iVar3;
  }
  if ((p->pRight == (Expr *)0x0) || (iVar3 = p->pRight->nHeight, iVar3 <= nHeight)) {
    uVar8 = p->flags;
    pSelect = (Select *)(p->x).pList;
  }
  else {
    uVar8 = p->flags;
    pSelect = (Select *)(p->x).pList;
    nHeight = iVar3;
  }
  uVar8 = uVar8 & 0x800;
  puVar9 = (undefined4 *)PTR___stack_chk_guard_000f5568;
  if (uVar8 == 0) {
    if (pSelect != (Select *)0x0) {
      heightOfExprList((ExprList *)pSelect,&nHeight);
      iVar3 = ((p->x).pList)->nExpr;
      if (0 < iVar3) {
        pEVar4 = ((p->x).pList)->a;
        iVar5 = 0;
        do {
          ppEVar2 = &pEVar4->pExpr;
          iVar5 = iVar5 + 1;
          pEVar4 = pEVar4 + 1;
          uVar8 = uVar8 | (*ppEVar2)->flags;
        } while (iVar5 != iVar3);
        uVar8 = uVar8 & 0x200104;
      }
      p->flags = p->flags | uVar8;
    }
  }
  else {
    heightOfSelect(pSelect,&nHeight);
  }
  pbVar6 = (byte *)*puVar9;
  p->nHeight = nHeight + 1;
  if (local_c != pbVar6) {
    puVar10 = PTR___stack_chk_fail_000f5540;
    (*(code *)PTR___stack_chk_fail_000f5540)();
    iVar3 = *(int *)(puVar10 + 0xc53bc) + 0x25ac;
    pbVar6 = (byte *)(*(int *)(puVar10 + 0xc53b4) + 0x7010);
    pbVar7 = local_c;
    do {
      while( true ) {
        uVar8 = (uint)*pbVar7;
        bVar1 = *pbVar6;
        pbVar7 = pbVar7 + 1;
        if (uVar8 == bVar1) break;
        pbVar6 = pbVar6 + 1;
        if (*(char *)(iVar3 + uVar8) != *(char *)(iVar3 + (uint)bVar1)) {
          pbVar6 = (byte *)(*(int *)(puVar10 + 0xc53b4) + 0x7018);
          do {
            while( true ) {
              uVar8 = (uint)*local_c;
              bVar1 = *pbVar6;
              local_c = local_c + 1;
              if (uVar8 == bVar1) break;
              pbVar6 = pbVar6 + 1;
              if (*(char *)(iVar3 + uVar8) != *(char *)(iVar3 + (uint)bVar1)) {
                return;
              }
            }
            pbVar6 = pbVar6 + 1;
          } while (uVar8 != 0);
          return;
        }
      }
      pbVar6 = pbVar6 + 1;
    } while (uVar8 != 0);
    return;
  }
  return;
}



int FUN_0002fde8(int param_1)

{
  byte bVar1;
  int iVar2;
  int *piVar3;
  byte *pbVar4;
  int iVar5;
  int iVar6;
  byte *pbVar7;
  uint uVar8;
  undefined4 *puVar9;
  undefined *puVar10;
  int local_10;
  byte *local_c;
  
  local_10 = 0;
  local_c = *(byte **)PTR___stack_chk_guard_000f5568;
  if ((*(int *)(param_1 + 0xc) != 0) &&
     (iVar2 = *(int *)(*(int *)(param_1 + 0xc) + 0x18), 0 < iVar2)) {
    local_10 = iVar2;
  }
  if ((*(int *)(param_1 + 0x10) == 0) ||
     (iVar2 = *(int *)(*(int *)(param_1 + 0x10) + 0x18), iVar2 <= local_10)) {
    uVar8 = *(uint *)(param_1 + 4);
    iVar5 = *(int *)(param_1 + 0x14);
  }
  else {
    uVar8 = *(uint *)(param_1 + 4);
    iVar5 = *(int *)(param_1 + 0x14);
    local_10 = iVar2;
  }
  uVar8 = uVar8 & 0x800;
  puVar9 = (undefined4 *)PTR___stack_chk_guard_000f5568;
  if (uVar8 == 0) {
    if (iVar5 != 0) {
      FUN_0002fca8(iVar5,&local_10);
      iVar2 = **(int **)(param_1 + 0x14);
      if (0 < iVar2) {
        piVar3 = *(int **)(param_1 + 0x14) + 1;
        iVar5 = 0;
        do {
          iVar6 = *piVar3;
          iVar5 = iVar5 + 1;
          piVar3 = piVar3 + 4;
          uVar8 = uVar8 | *(uint *)(iVar6 + 4);
        } while (iVar5 != iVar2);
        uVar8 = uVar8 & 0x200104;
      }
      *(uint *)(param_1 + 4) = *(uint *)(param_1 + 4) | uVar8;
    }
  }
  else {
    FUN_0002fcf8(iVar5,&local_10);
  }
  pbVar4 = (byte *)*puVar9;
  *(int *)(param_1 + 0x18) = local_10 + 1;
  if (local_c != pbVar4) {
    puVar10 = PTR___stack_chk_fail_000f5540;
    (*(code *)PTR___stack_chk_fail_000f5540)();
    iVar2 = *(int *)(puVar10 + 0xc53bc) + 0x25ac;
    pbVar4 = (byte *)(*(int *)(puVar10 + 0xc53b4) + 0x7010);
    pbVar7 = local_c;
    do {
      while( true ) {
        uVar8 = (uint)*pbVar7;
        bVar1 = *pbVar4;
        pbVar7 = pbVar7 + 1;
        if (uVar8 == bVar1) break;
        pbVar4 = pbVar4 + 1;
        if (*(char *)(iVar2 + uVar8) != *(char *)(iVar2 + (uint)bVar1)) {
          pbVar4 = (byte *)(*(int *)(puVar10 + 0xc53b4) + 0x7018);
          do {
            while( true ) {
              uVar8 = (uint)*local_c;
              bVar1 = *pbVar4;
              local_c = local_c + 1;
              if (uVar8 == bVar1) break;
              pbVar4 = pbVar4 + 1;
              if (*(char *)(iVar2 + uVar8) != *(char *)(iVar2 + (uint)bVar1)) {
                return 0;
              }
            }
            pbVar4 = pbVar4 + 1;
          } while (uVar8 != 0);
          return 0x20000000;
        }
      }
      pbVar4 = pbVar4 + 1;
    } while (uVar8 != 0);
    return 0x10000000;
  }
  return local_10 + 1;
}


lui gp,0xd
addiu gp,gp,-0x2b48
addu gp,gp,t9
lw t4,-0x7d38(gp)
addiu sp,sp,-0x28
lw v0,0xc(a0)
or t3,a0,zero
sw gp,0x10(sp)
sw ra,0x24(sp)
sw zero,0x18(sp)
lw v1,0x0(t4)
sw v1,0x1c(sp)
beq v0,zero,0x0002fe30
_nop
lw v0,0x18(v0)
blez v0,0x0002fe30
_nop
sw v0,0x18(sp)
lw v0,0x10(t3)
beq v0,zero,0x0002fe50
_nop
lw v1,0x18(v0)
lw v0,0x18(sp)
slt v0,v0,v1
bne v0,zero,0x0002fee0
_nop
lw t1,0x4(t3)
andi t1,t1,0x800
bne t1,zero,0x0002fef4
_lw a0,0x14(t3)
beq a0,zero,0x0002febc
_lw t9,-0x7fb4(gp)
addiu t9,t9,-0x358
bal 0x0002fca8
_addiu a1,sp,0x18
lw v0,0x14(t3)
lw a1,0x0(v0)
blez a1,0x0002feb0
_lw gp,0x10(sp)
addiu v0,v0,0x4
or v1,zero,zero
lw a0,0x0(v0)
addiu v1,v1,0x1
addiu v0,v0,0x10
lw a0,0x4(a0)
bne v1,a1,0x0002fe8c
_or t1,t1,a0
lui v0,0x20
addiu v0,v0,0x104
and t1,t1,v0
lw v0,0x4(t3)
or t1,v0,t1
sw t1,0x4(t3)
lw v0,0x18(sp)
lw a0,0x1c(sp)
lw v1,0x0(t4)
addiu v0,v0,0x1
bne a0,v1,0x0002ff0c
_sw v0,0x18(t3)
lw ra,0x24(sp)
jr ra
_addiu sp,sp,0x28
lw t1,0x4(t3)
lw a0,0x14(t3)
andi t1,t1,0x800
beq t1,zero,0x0002fe60
_sw v1,0x18(sp)
lw t9,-0x7fb4(gp)
addiu t9,t9,-0x308
bal 0x0002fcf8
_addiu a1,sp,0x18
b 0x0002febc
_lw gp,0x10(sp)
lw t9,-0x7d60(gp)
jalr t9
_nop
(translation_unit "int FUN_0002fde8(int param_1)\n\n{\n  byte bVar1;\n  int iVar2;\n  int *piVar3;\n  byte *pbVar4;\n  int iVar5;\n  int iVar6;\n  byte *pbVar7;\n  uint uVar8;\n  undefined4 *puVar9;\n  undefined *puVar10;\n  int local_10;\n  byte *local_c;\n  \n  local_10 = 0;\n  local_c = *(byte **)PTR___stack_chk_guard_000f5568;\n  if ((*(int *)(param_1 + 0xc) != 0) &&\n     (iVar2 = *(int *)(*(int *)(param_1 + 0xc) + 0x18), 0 < iVar2)) {\n    local_10 = iVar2;\n  }\n  if ((*(int *)(param_1 + 0x10) == 0) ||\n     (iVar2 = *(int *)(*(int *)(param_1 + 0x10) + 0x18), iVar2 <= local_10)) {\n    uVar8 = *(uint *)(param_1 + 4);\n    iVar5 = *(int *)(param_1 + 0x14);\n  }\n  else {\n    uVar8 = *(uint *)(param_1 + 4);\n    iVar5 = *(int *)(param_1 + 0x14);\n    local_10 = iVar2;\n  }\n  uVar8 = uVar8 & 0x800;\n  puVar9 = (undefined4 *)PTR___stack_chk_guard_000f5568;\n  if (uVar8 == 0) {\n    if (iVar5 != 0) {\n      FUN_0002fca8(iVar5,&local_10);\n      iVar2 = **(int **)(param_1 + 0x14);\n      if (0 < iVar2) {\n        piVar3 = *(int **)(param_1 + 0x14) + 1;\n        iVar5 = 0;\n        do {\n          iVar6 = *piVar3;\n          iVar5 = iVar5 + 1;\n          piVar3 = piVar3 + 4;\n          uVar8 = uVar8 | *(uint *)(iVar6 + 4);\n        } while (iVar5 != iVar2);\n        uVar8 = uVar8 & 0x200104;\n      }\n      *(uint *)(param_1 + 4) = *(uint *)(param_1 + 4) | uVar8;\n    }\n  }\n  else {\n    FUN_0002fcf8(iVar5,&local_10);\n  }\n  pbVar4 = (byte *)*puVar9;\n  *(int *)(param_1 + 0x18) = local_10 + 1;\n  if (local_c != pbVar4) {\n    puVar10 = PTR___stack_chk_fail_000f5540;\n    (*(code *)PTR___stack_chk_fail_000f5540)();\n    iVar2 = *(int *)(puVar10 + 0xc53bc) + 0x25ac;\n    pbVar4 = (byte *)(*(int *)(puVar10 + 0xc53b4) + 0x7010);\n    pbVar7 = local_c;\n    do {\n      while( true ) {\n        uVar8 = (uint)*pbVar7;\n        bVar1 = *pbVar4;\n        pbVar7 = pbVar7 + 1;\n        if (uVar8 == bVar1) break;\n        pbVar4 = pbVar4 + 1;\n        if (*(char *)(iVar2 + uVar8) != *(char *)(iVar2 + (uint)bVar1)) {\n          pbVar4 = (byte *)(*(int *)(puVar10 + 0xc53b4) + 0x7018);\n          do {\n            while( true ) {\n              uVar8 = (uint)*local_c;\n              bVar1 = *pbVar4;\n              local_c = local_c + 1;\n              if (uVar8 == bVar1) break;\n              pbVar4 = pbVar4 + 1;\n              if (*(char *)(iVar2 + uVar8) != *(char *)(iVar2 + (uint)bVar1)) {\n                return 0;\n              }\n            }\n            pbVar4 = pbVar4 + 1;\n          } while (uVar8 != 0);\n          return 0x20000000;\n        }\n      }\n      pbVar4 = pbVar4 + 1;\n    } while (uVar8 != 0);\n    return 0x10000000;\n  }\n  return local_10 + 1;\n}\n\n" (function_definition "int FUN_0002fde8(int param_1)\n\n{\n  byte bVar1;\n  int iVar2;\n  int *piVar3;\n  byte *pbVar4;\n  int iVar5;\n  int iVar6;\n  byte *pbVar7;\n  uint uVar8;\n  undefined4 *puVar9;\n  undefined *puVar10;\n  int local_10;\n  byte *local_c;\n  \n  local_10 = 0;\n  local_c = *(byte **)PTR___stack_chk_guard_000f5568;\n  if ((*(int *)(param_1 + 0xc) != 0) &&\n     (iVar2 = *(int *)(*(int *)(param_1 + 0xc) + 0x18), 0 < iVar2)) {\n    local_10 = iVar2;\n  }\n  if ((*(int *)(param_1 + 0x10) == 0) ||\n     (iVar2 = *(int *)(*(int *)(param_1 + 0x10) + 0x18), iVar2 <= local_10)) {\n    uVar8 = *(uint *)(param_1 + 4);\n    iVar5 = *(int *)(param_1 + 0x14);\n  }\n  else {\n    uVar8 = *(uint *)(param_1 + 4);\n    iVar5 = *(int *)(param_1 + 0x14);\n    local_10 = iVar2;\n  }\n  uVar8 = uVar8 & 0x800;\n  puVar9 = (undefined4 *)PTR___stack_chk_guard_000f5568;\n  if (uVar8 == 0) {\n    if (iVar5 != 0) {\n      FUN_0002fca8(iVar5,&local_10);\n      iVar2 = **(int **)(param_1 + 0x14);\n      if (0 < iVar2) {\n        piVar3 = *(int **)(param_1 + 0x14) + 1;\n        iVar5 = 0;\n        do {\n          iVar6 = *piVar3;\n          iVar5 = iVar5 + 1;\n          piVar3 = piVar3 + 4;\n          uVar8 = uVar8 | *(uint *)(iVar6 + 4);\n        } while (iVar5 != iVar2);\n        uVar8 = uVar8 & 0x200104;\n      }\n      *(uint *)(param_1 + 4) = *(uint *)(param_1 + 4) | uVar8;\n    }\n  }\n  else {\n    FUN_0002fcf8(iVar5,&local_10);\n  }\n  pbVar4 = (byte *)*puVar9;\n  *(int *)(param_1 + 0x18) = local_10 + 1;\n  if (local_c != pbVar4) {\n    puVar10 = PTR___stack_chk_fail_000f5540;\n    (*(code *)PTR___stack_chk_fail_000f5540)();\n    iVar2 = *(int *)(puVar10 + 0xc53bc) + 0x25ac;\n    pbVar4 = (byte *)(*(int *)(puVar10 + 0xc53b4) + 0x7010);\n    pbVar7 = local_c;\n    do {\n      while( true ) {\n        uVar8 = (uint)*pbVar7;\n        bVar1 = *pbVar4;\n        pbVar7 = pbVar7 + 1;\n        if (uVar8 == bVar1) break;\n        pbVar4 = pbVar4 + 1;\n        if (*(char *)(iVar2 + uVar8) != *(char *)(iVar2 + (uint)bVar1)) {\n          pbVar4 = (byte *)(*(int *)(puVar10 + 0xc53b4) + 0x7018);\n          do {\n            while( true ) {\n              uVar8 = (uint)*local_c;\n              bVar1 = *pbVar4;\n              local_c = local_c + 1;\n              if (uVar8 == bVar1) break;\n              pbVar4 = pbVar4 + 1;\n              if (*(char *)(iVar2 + uVar8) != *(char *)(iVar2 + (uint)bVar1)) {\n                return 0;\n              }\n            }\n            pbVar4 = pbVar4 + 1;\n          } while (uVar8 != 0);\n          return 0x20000000;\n        }\n      }\n      pbVar4 = pbVar4 + 1;\n    } while (uVar8 != 0);\n    return 0x10000000;\n  }\n  return local_10 + 1;\n}" primitive_type (function_declarator "FUN_0002fde8(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  byte bVar1;\n  int iVar2;\n  int *piVar3;\n  byte *pbVar4;\n  int iVar5;\n  int iVar6;\n  byte *pbVar7;\n  uint uVar8;\n  undefined4 *puVar9;\n  undefined *puVar10;\n  int local_10;\n  byte *local_c;\n  \n  local_10 = 0;\n  local_c = *(byte **)PTR___stack_chk_guard_000f5568;\n  if ((*(int *)(param_1 + 0xc) != 0) &&\n     (iVar2 = *(int *)(*(int *)(param_1 + 0xc) + 0x18), 0 < iVar2)) {\n    local_10 = iVar2;\n  }\n  if ((*(int *)(param_1 + 0x10) == 0) ||\n     (iVar2 = *(int *)(*(int *)(param_1 + 0x10) + 0x18), iVar2 <= local_10)) {\n    uVar8 = *(uint *)(param_1 + 4);\n    iVar5 = *(int *)(param_1 + 0x14);\n  }\n  else {\n    uVar8 = *(uint *)(param_1 + 4);\n    iVar5 = *(int *)(param_1 + 0x14);\n    local_10 = iVar2;\n  }\n  uVar8 = uVar8 & 0x800;\n  puVar9 = (undefined4 *)PTR___stack_chk_guard_000f5568;\n  if (uVar8 == 0) {\n    if (iVar5 != 0) {\n      FUN_0002fca8(iVar5,&local_10);\n      iVar2 = **(int **)(param_1 + 0x14);\n      if (0 < iVar2) {\n        piVar3 = *(int **)(param_1 + 0x14) + 1;\n        iVar5 = 0;\n        do {\n          iVar6 = *piVar3;\n          iVar5 = iVar5 + 1;\n          piVar3 = piVar3 + 4;\n          uVar8 = uVar8 | *(uint *)(iVar6 + 4);\n        } while (iVar5 != iVar2);\n        uVar8 = uVar8 & 0x200104;\n      }\n      *(uint *)(param_1 + 4) = *(uint *)(param_1 + 4) | uVar8;\n    }\n  }\n  else {\n    FUN_0002fcf8(iVar5,&local_10);\n  }\n  pbVar4 = (byte *)*puVar9;\n  *(int *)(param_1 + 0x18) = local_10 + 1;\n  if (local_c != pbVar4) {\n    puVar10 = PTR___stack_chk_fail_000f5540;\n    (*(code *)PTR___stack_chk_fail_000f5540)();\n    iVar2 = *(int *)(puVar10 + 0xc53bc) + 0x25ac;\n    pbVar4 = (byte *)(*(int *)(puVar10 + 0xc53b4) + 0x7010);\n    pbVar7 = local_c;\n    do {\n      while( true ) {\n        uVar8 = (uint)*pbVar7;\n        bVar1 = *pbVar4;\n        pbVar7 = pbVar7 + 1;\n        if (uVar8 == bVar1) break;\n        pbVar4 = pbVar4 + 1;\n        if (*(char *)(iVar2 + uVar8) != *(char *)(iVar2 + (uint)bVar1)) {\n          pbVar4 = (byte *)(*(int *)(puVar10 + 0xc53b4) + 0x7018);\n          do {\n            while( true ) {\n              uVar8 = (uint)*local_c;\n              bVar1 = *pbVar4;\n              local_c = local_c + 1;\n              if (uVar8 == bVar1) break;\n              pbVar4 = pbVar4 + 1;\n              if (*(char *)(iVar2 + uVar8) != *(char *)(iVar2 + (uint)bVar1)) {\n                return 0;\n              }\n            }\n            pbVar4 = pbVar4 + 1;\n          } while (uVar8 != 0);\n          return 0x20000000;\n        }\n      }\n      pbVar4 = pbVar4 + 1;\n    } while (uVar8 != 0);\n    return 0x10000000;\n  }\n  return local_10 + 1;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "byte *pbVar4;" type_identifier (pointer_declarator "*pbVar4" * identifier) ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "byte *pbVar7;" type_identifier (pointer_declarator "*pbVar7" * identifier) ;) (declaration "uint uVar8;" type_identifier identifier ;) (declaration "undefined4 *puVar9;" type_identifier (pointer_declarator "*puVar9" * identifier) ;) (declaration "undefined *puVar10;" type_identifier (pointer_declarator "*puVar10" * identifier) ;) (declaration "int local_10;" primitive_type identifier ;) (declaration "byte *local_c;" type_identifier (pointer_declarator "*local_c" * identifier) ;) (expression_statement "local_10 = 0;" (assignment_expression "local_10 = 0" identifier = number_literal) ;) (expression_statement "local_c = *(byte **)PTR___stack_chk_guard_000f5568;" (assignment_expression "local_c = *(byte **)PTR___stack_chk_guard_000f5568" identifier = (pointer_expression "*(byte **)PTR___stack_chk_guard_000f5568" * (cast_expression "(byte **)PTR___stack_chk_guard_000f5568" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (if_statement "if ((*(int *)(param_1 + 0xc) != 0) &&\n     (iVar2 = *(int *)(*(int *)(param_1 + 0xc) + 0x18), 0 < iVar2)) {\n    local_10 = iVar2;\n  }" if (parenthesized_expression "((*(int *)(param_1 + 0xc) != 0) &&\n     (iVar2 = *(int *)(*(int *)(param_1 + 0xc) + 0x18), 0 < iVar2))" ( (binary_expression "(*(int *)(param_1 + 0xc) != 0) &&\n     (iVar2 = *(int *)(*(int *)(param_1 + 0xc) + 0x18), 0 < iVar2)" (parenthesized_expression "(*(int *)(param_1 + 0xc) != 0)" ( (binary_expression "*(int *)(param_1 + 0xc) != 0" (pointer_expression "*(int *)(param_1 + 0xc)" * (cast_expression "(int *)(param_1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) != number_literal) )) && (parenthesized_expression "(iVar2 = *(int *)(*(int *)(param_1 + 0xc) + 0x18), 0 < iVar2)" ( (comma_expression "iVar2 = *(int *)(*(int *)(param_1 + 0xc) + 0x18), 0 < iVar2" (assignment_expression "iVar2 = *(int *)(*(int *)(param_1 + 0xc) + 0x18)" identifier = (pointer_expression "*(int *)(*(int *)(param_1 + 0xc) + 0x18)" * (cast_expression "(int *)(*(int *)(param_1 + 0xc) + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0xc) + 0x18)" ( (binary_expression "*(int *)(param_1 + 0xc) + 0x18" (pointer_expression "*(int *)(param_1 + 0xc)" * (cast_expression "(int *)(param_1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) + number_literal) ))))) , (binary_expression "0 < iVar2" number_literal < identifier)) ))) )) (compound_statement "{\n    local_10 = iVar2;\n  }" { (expression_statement "local_10 = iVar2;" (assignment_expression "local_10 = iVar2" identifier = identifier) ;) })) (if_statement "if ((*(int *)(param_1 + 0x10) == 0) ||\n     (iVar2 = *(int *)(*(int *)(param_1 + 0x10) + 0x18), iVar2 <= local_10)) {\n    uVar8 = *(uint *)(param_1 + 4);\n    iVar5 = *(int *)(param_1 + 0x14);\n  }\n  else {\n    uVar8 = *(uint *)(param_1 + 4);\n    iVar5 = *(int *)(param_1 + 0x14);\n    local_10 = iVar2;\n  }" if (parenthesized_expression "((*(int *)(param_1 + 0x10) == 0) ||\n     (iVar2 = *(int *)(*(int *)(param_1 + 0x10) + 0x18), iVar2 <= local_10))" ( (binary_expression "(*(int *)(param_1 + 0x10) == 0) ||\n     (iVar2 = *(int *)(*(int *)(param_1 + 0x10) + 0x18), iVar2 <= local_10)" (parenthesized_expression "(*(int *)(param_1 + 0x10) == 0)" ( (binary_expression "*(int *)(param_1 + 0x10) == 0" (pointer_expression "*(int *)(param_1 + 0x10)" * (cast_expression "(int *)(param_1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) == number_literal) )) || (parenthesized_expression "(iVar2 = *(int *)(*(int *)(param_1 + 0x10) + 0x18), iVar2 <= local_10)" ( (comma_expression "iVar2 = *(int *)(*(int *)(param_1 + 0x10) + 0x18), iVar2 <= local_10" (assignment_expression "iVar2 = *(int *)(*(int *)(param_1 + 0x10) + 0x18)" identifier = (pointer_expression "*(int *)(*(int *)(param_1 + 0x10) + 0x18)" * (cast_expression "(int *)(*(int *)(param_1 + 0x10) + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0x10) + 0x18)" ( (binary_expression "*(int *)(param_1 + 0x10) + 0x18" (pointer_expression "*(int *)(param_1 + 0x10)" * (cast_expression "(int *)(param_1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) + number_literal) ))))) , (binary_expression "iVar2 <= local_10" identifier <= identifier)) ))) )) (compound_statement "{\n    uVar8 = *(uint *)(param_1 + 4);\n    iVar5 = *(int *)(param_1 + 0x14);\n  }" { (expression_statement "uVar8 = *(uint *)(param_1 + 4);" (assignment_expression "uVar8 = *(uint *)(param_1 + 4)" identifier = (pointer_expression "*(uint *)(param_1 + 4)" * (cast_expression "(uint *)(param_1 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) ;) (expression_statement "iVar5 = *(int *)(param_1 + 0x14);" (assignment_expression "iVar5 = *(int *)(param_1 + 0x14)" identifier = (pointer_expression "*(int *)(param_1 + 0x14)" * (cast_expression "(int *)(param_1 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) ))))) ;) }) (else_clause "else {\n    uVar8 = *(uint *)(param_1 + 4);\n    iVar5 = *(int *)(param_1 + 0x14);\n    local_10 = iVar2;\n  }" else (compound_statement "{\n    uVar8 = *(uint *)(param_1 + 4);\n    iVar5 = *(int *)(param_1 + 0x14);\n    local_10 = iVar2;\n  }" { (expression_statement "uVar8 = *(uint *)(param_1 + 4);" (assignment_expression "uVar8 = *(uint *)(param_1 + 4)" identifier = (pointer_expression "*(uint *)(param_1 + 4)" * (cast_expression "(uint *)(param_1 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) ;) (expression_statement "iVar5 = *(int *)(param_1 + 0x14);" (assignment_expression "iVar5 = *(int *)(param_1 + 0x14)" identifier = (pointer_expression "*(int *)(param_1 + 0x14)" * (cast_expression "(int *)(param_1 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) ))))) ;) (expression_statement "local_10 = iVar2;" (assignment_expression "local_10 = iVar2" identifier = identifier) ;) }))) (expression_statement "uVar8 = uVar8 & 0x800;" (assignment_expression "uVar8 = uVar8 & 0x800" identifier = (binary_expression "uVar8 & 0x800" identifier & number_literal)) ;) (expression_statement "puVar9 = (undefined4 *)PTR___stack_chk_guard_000f5568;" (assignment_expression "puVar9 = (undefined4 *)PTR___stack_chk_guard_000f5568" identifier = (cast_expression "(undefined4 *)PTR___stack_chk_guard_000f5568" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (if_statement "if (uVar8 == 0) {\n    if (iVar5 != 0) {\n      FUN_0002fca8(iVar5,&local_10);\n      iVar2 = **(int **)(param_1 + 0x14);\n      if (0 < iVar2) {\n        piVar3 = *(int **)(param_1 + 0x14) + 1;\n        iVar5 = 0;\n        do {\n          iVar6 = *piVar3;\n          iVar5 = iVar5 + 1;\n          piVar3 = piVar3 + 4;\n          uVar8 = uVar8 | *(uint *)(iVar6 + 4);\n        } while (iVar5 != iVar2);\n        uVar8 = uVar8 & 0x200104;\n      }\n      *(uint *)(param_1 + 4) = *(uint *)(param_1 + 4) | uVar8;\n    }\n  }\n  else {\n    FUN_0002fcf8(iVar5,&local_10);\n  }" if (parenthesized_expression "(uVar8 == 0)" ( (binary_expression "uVar8 == 0" identifier == number_literal) )) (compound_statement "{\n    if (iVar5 != 0) {\n      FUN_0002fca8(iVar5,&local_10);\n      iVar2 = **(int **)(param_1 + 0x14);\n      if (0 < iVar2) {\n        piVar3 = *(int **)(param_1 + 0x14) + 1;\n        iVar5 = 0;\n        do {\n          iVar6 = *piVar3;\n          iVar5 = iVar5 + 1;\n          piVar3 = piVar3 + 4;\n          uVar8 = uVar8 | *(uint *)(iVar6 + 4);\n        } while (iVar5 != iVar2);\n        uVar8 = uVar8 & 0x200104;\n      }\n      *(uint *)(param_1 + 4) = *(uint *)(param_1 + 4) | uVar8;\n    }\n  }" { (if_statement "if (iVar5 != 0) {\n      FUN_0002fca8(iVar5,&local_10);\n      iVar2 = **(int **)(param_1 + 0x14);\n      if (0 < iVar2) {\n        piVar3 = *(int **)(param_1 + 0x14) + 1;\n        iVar5 = 0;\n        do {\n          iVar6 = *piVar3;\n          iVar5 = iVar5 + 1;\n          piVar3 = piVar3 + 4;\n          uVar8 = uVar8 | *(uint *)(iVar6 + 4);\n        } while (iVar5 != iVar2);\n        uVar8 = uVar8 & 0x200104;\n      }\n      *(uint *)(param_1 + 4) = *(uint *)(param_1 + 4) | uVar8;\n    }" if (parenthesized_expression "(iVar5 != 0)" ( (binary_expression "iVar5 != 0" identifier != number_literal) )) (compound_statement "{\n      FUN_0002fca8(iVar5,&local_10);\n      iVar2 = **(int **)(param_1 + 0x14);\n      if (0 < iVar2) {\n        piVar3 = *(int **)(param_1 + 0x14) + 1;\n        iVar5 = 0;\n        do {\n          iVar6 = *piVar3;\n          iVar5 = iVar5 + 1;\n          piVar3 = piVar3 + 4;\n          uVar8 = uVar8 | *(uint *)(iVar6 + 4);\n        } while (iVar5 != iVar2);\n        uVar8 = uVar8 & 0x200104;\n      }\n      *(uint *)(param_1 + 4) = *(uint *)(param_1 + 4) | uVar8;\n    }" { (expression_statement "FUN_0002fca8(iVar5,&local_10);" (call_expression "FUN_0002fca8(iVar5,&local_10)" identifier (argument_list "(iVar5,&local_10)" ( identifier , (pointer_expression "&local_10" & identifier) ))) ;) (expression_statement "iVar2 = **(int **)(param_1 + 0x14);" (assignment_expression "iVar2 = **(int **)(param_1 + 0x14)" identifier = (pointer_expression "**(int **)(param_1 + 0x14)" * (pointer_expression "*(int **)(param_1 + 0x14)" * (cast_expression "(int **)(param_1 + 0x14)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))))) ;) (if_statement "if (0 < iVar2) {\n        piVar3 = *(int **)(param_1 + 0x14) + 1;\n        iVar5 = 0;\n        do {\n          iVar6 = *piVar3;\n          iVar5 = iVar5 + 1;\n          piVar3 = piVar3 + 4;\n          uVar8 = uVar8 | *(uint *)(iVar6 + 4);\n        } while (iVar5 != iVar2);\n        uVar8 = uVar8 & 0x200104;\n      }" if (parenthesized_expression "(0 < iVar2)" ( (binary_expression "0 < iVar2" number_literal < identifier) )) (compound_statement "{\n        piVar3 = *(int **)(param_1 + 0x14) + 1;\n        iVar5 = 0;\n        do {\n          iVar6 = *piVar3;\n          iVar5 = iVar5 + 1;\n          piVar3 = piVar3 + 4;\n          uVar8 = uVar8 | *(uint *)(iVar6 + 4);\n        } while (iVar5 != iVar2);\n        uVar8 = uVar8 & 0x200104;\n      }" { (expression_statement "piVar3 = *(int **)(param_1 + 0x14) + 1;" (assignment_expression "piVar3 = *(int **)(param_1 + 0x14) + 1" identifier = (binary_expression "*(int **)(param_1 + 0x14) + 1" (pointer_expression "*(int **)(param_1 + 0x14)" * (cast_expression "(int **)(param_1 + 0x14)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (do_statement "do {\n          iVar6 = *piVar3;\n          iVar5 = iVar5 + 1;\n          piVar3 = piVar3 + 4;\n          uVar8 = uVar8 | *(uint *)(iVar6 + 4);\n        } while (iVar5 != iVar2);" do (compound_statement "{\n          iVar6 = *piVar3;\n          iVar5 = iVar5 + 1;\n          piVar3 = piVar3 + 4;\n          uVar8 = uVar8 | *(uint *)(iVar6 + 4);\n        }" { (expression_statement "iVar6 = *piVar3;" (assignment_expression "iVar6 = *piVar3" identifier = (pointer_expression "*piVar3" * identifier)) ;) (expression_statement "iVar5 = iVar5 + 1;" (assignment_expression "iVar5 = iVar5 + 1" identifier = (binary_expression "iVar5 + 1" identifier + number_literal)) ;) (expression_statement "piVar3 = piVar3 + 4;" (assignment_expression "piVar3 = piVar3 + 4" identifier = (binary_expression "piVar3 + 4" identifier + number_literal)) ;) (expression_statement "uVar8 = uVar8 | *(uint *)(iVar6 + 4);" (assignment_expression "uVar8 = uVar8 | *(uint *)(iVar6 + 4)" identifier = (binary_expression "uVar8 | *(uint *)(iVar6 + 4)" identifier | (pointer_expression "*(uint *)(iVar6 + 4)" * (cast_expression "(uint *)(iVar6 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 4)" ( (binary_expression "iVar6 + 4" identifier + number_literal) )))))) ;) }) while (parenthesized_expression "(iVar5 != iVar2)" ( (binary_expression "iVar5 != iVar2" identifier != identifier) )) ;) (expression_statement "uVar8 = uVar8 & 0x200104;" (assignment_expression "uVar8 = uVar8 & 0x200104" identifier = (binary_expression "uVar8 & 0x200104" identifier & number_literal)) ;) })) (expression_statement "*(uint *)(param_1 + 4) = *(uint *)(param_1 + 4) | uVar8;" (assignment_expression "*(uint *)(param_1 + 4) = *(uint *)(param_1 + 4) | uVar8" (pointer_expression "*(uint *)(param_1 + 4)" * (cast_expression "(uint *)(param_1 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) = (binary_expression "*(uint *)(param_1 + 4) | uVar8" (pointer_expression "*(uint *)(param_1 + 4)" * (cast_expression "(uint *)(param_1 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) | identifier)) ;) })) }) (else_clause "else {\n    FUN_0002fcf8(iVar5,&local_10);\n  }" else (compound_statement "{\n    FUN_0002fcf8(iVar5,&local_10);\n  }" { (expression_statement "FUN_0002fcf8(iVar5,&local_10);" (call_expression "FUN_0002fcf8(iVar5,&local_10)" identifier (argument_list "(iVar5,&local_10)" ( identifier , (pointer_expression "&local_10" & identifier) ))) ;) }))) (expression_statement "pbVar4 = (byte *)*puVar9;" (assignment_expression "pbVar4 = (byte *)*puVar9" identifier = (cast_expression "(byte *)*puVar9" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar9" * identifier))) ;) (expression_statement "*(int *)(param_1 + 0x18) = local_10 + 1;" (assignment_expression "*(int *)(param_1 + 0x18) = local_10 + 1" (pointer_expression "*(int *)(param_1 + 0x18)" * (cast_expression "(int *)(param_1 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) )))) = (binary_expression "local_10 + 1" identifier + number_literal)) ;) (if_statement "if (local_c != pbVar4) {\n    puVar10 = PTR___stack_chk_fail_000f5540;\n    (*(code *)PTR___stack_chk_fail_000f5540)();\n    iVar2 = *(int *)(puVar10 + 0xc53bc) + 0x25ac;\n    pbVar4 = (byte *)(*(int *)(puVar10 + 0xc53b4) + 0x7010);\n    pbVar7 = local_c;\n    do {\n      while( true ) {\n        uVar8 = (uint)*pbVar7;\n        bVar1 = *pbVar4;\n        pbVar7 = pbVar7 + 1;\n        if (uVar8 == bVar1) break;\n        pbVar4 = pbVar4 + 1;\n        if (*(char *)(iVar2 + uVar8) != *(char *)(iVar2 + (uint)bVar1)) {\n          pbVar4 = (byte *)(*(int *)(puVar10 + 0xc53b4) + 0x7018);\n          do {\n            while( true ) {\n              uVar8 = (uint)*local_c;\n              bVar1 = *pbVar4;\n              local_c = local_c + 1;\n              if (uVar8 == bVar1) break;\n              pbVar4 = pbVar4 + 1;\n              if (*(char *)(iVar2 + uVar8) != *(char *)(iVar2 + (uint)bVar1)) {\n                return 0;\n              }\n            }\n            pbVar4 = pbVar4 + 1;\n          } while (uVar8 != 0);\n          return 0x20000000;\n        }\n      }\n      pbVar4 = pbVar4 + 1;\n    } while (uVar8 != 0);\n    return 0x10000000;\n  }" if (parenthesized_expression "(local_c != pbVar4)" ( (binary_expression "local_c != pbVar4" identifier != identifier) )) (compound_statement "{\n    puVar10 = PTR___stack_chk_fail_000f5540;\n    (*(code *)PTR___stack_chk_fail_000f5540)();\n    iVar2 = *(int *)(puVar10 + 0xc53bc) + 0x25ac;\n    pbVar4 = (byte *)(*(int *)(puVar10 + 0xc53b4) + 0x7010);\n    pbVar7 = local_c;\n    do {\n      while( true ) {\n        uVar8 = (uint)*pbVar7;\n        bVar1 = *pbVar4;\n        pbVar7 = pbVar7 + 1;\n        if (uVar8 == bVar1) break;\n        pbVar4 = pbVar4 + 1;\n        if (*(char *)(iVar2 + uVar8) != *(char *)(iVar2 + (uint)bVar1)) {\n          pbVar4 = (byte *)(*(int *)(puVar10 + 0xc53b4) + 0x7018);\n          do {\n            while( true ) {\n              uVar8 = (uint)*local_c;\n              bVar1 = *pbVar4;\n              local_c = local_c + 1;\n              if (uVar8 == bVar1) break;\n              pbVar4 = pbVar4 + 1;\n              if (*(char *)(iVar2 + uVar8) != *(char *)(iVar2 + (uint)bVar1)) {\n                return 0;\n              }\n            }\n            pbVar4 = pbVar4 + 1;\n          } while (uVar8 != 0);\n          return 0x20000000;\n        }\n      }\n      pbVar4 = pbVar4 + 1;\n    } while (uVar8 != 0);\n    return 0x10000000;\n  }" { (expression_statement "puVar10 = PTR___stack_chk_fail_000f5540;" (assignment_expression "puVar10 = PTR___stack_chk_fail_000f5540" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_000f5540)();" (call_expression "(*(code *)PTR___stack_chk_fail_000f5540)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000f5540)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_000f5540" * (cast_expression "(code *)PTR___stack_chk_fail_000f5540" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "iVar2 = *(int *)(puVar10 + 0xc53bc) + 0x25ac;" (assignment_expression "iVar2 = *(int *)(puVar10 + 0xc53bc) + 0x25ac" identifier = (binary_expression "*(int *)(puVar10 + 0xc53bc) + 0x25ac" (pointer_expression "*(int *)(puVar10 + 0xc53bc)" * (cast_expression "(int *)(puVar10 + 0xc53bc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar10 + 0xc53bc)" ( (binary_expression "puVar10 + 0xc53bc" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "pbVar4 = (byte *)(*(int *)(puVar10 + 0xc53b4) + 0x7010);" (assignment_expression "pbVar4 = (byte *)(*(int *)(puVar10 + 0xc53b4) + 0x7010)" identifier = (cast_expression "(byte *)(*(int *)(puVar10 + 0xc53b4) + 0x7010)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar10 + 0xc53b4) + 0x7010)" ( (binary_expression "*(int *)(puVar10 + 0xc53b4) + 0x7010" (pointer_expression "*(int *)(puVar10 + 0xc53b4)" * (cast_expression "(int *)(puVar10 + 0xc53b4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar10 + 0xc53b4)" ( (binary_expression "puVar10 + 0xc53b4" identifier + number_literal) )))) + number_literal) )))) ;) (expression_statement "pbVar7 = local_c;" (assignment_expression "pbVar7 = local_c" identifier = identifier) ;) (do_statement "do {\n      while( true ) {\n        uVar8 = (uint)*pbVar7;\n        bVar1 = *pbVar4;\n        pbVar7 = pbVar7 + 1;\n        if (uVar8 == bVar1) break;\n        pbVar4 = pbVar4 + 1;\n        if (*(char *)(iVar2 + uVar8) != *(char *)(iVar2 + (uint)bVar1)) {\n          pbVar4 = (byte *)(*(int *)(puVar10 + 0xc53b4) + 0x7018);\n          do {\n            while( true ) {\n              uVar8 = (uint)*local_c;\n              bVar1 = *pbVar4;\n              local_c = local_c + 1;\n              if (uVar8 == bVar1) break;\n              pbVar4 = pbVar4 + 1;\n              if (*(char *)(iVar2 + uVar8) != *(char *)(iVar2 + (uint)bVar1)) {\n                return 0;\n              }\n            }\n            pbVar4 = pbVar4 + 1;\n          } while (uVar8 != 0);\n          return 0x20000000;\n        }\n      }\n      pbVar4 = pbVar4 + 1;\n    } while (uVar8 != 0);" do (compound_statement "{\n      while( true ) {\n        uVar8 = (uint)*pbVar7;\n        bVar1 = *pbVar4;\n        pbVar7 = pbVar7 + 1;\n        if (uVar8 == bVar1) break;\n        pbVar4 = pbVar4 + 1;\n        if (*(char *)(iVar2 + uVar8) != *(char *)(iVar2 + (uint)bVar1)) {\n          pbVar4 = (byte *)(*(int *)(puVar10 + 0xc53b4) + 0x7018);\n          do {\n            while( true ) {\n              uVar8 = (uint)*local_c;\n              bVar1 = *pbVar4;\n              local_c = local_c + 1;\n              if (uVar8 == bVar1) break;\n              pbVar4 = pbVar4 + 1;\n              if (*(char *)(iVar2 + uVar8) != *(char *)(iVar2 + (uint)bVar1)) {\n                return 0;\n              }\n            }\n            pbVar4 = pbVar4 + 1;\n          } while (uVar8 != 0);\n          return 0x20000000;\n        }\n      }\n      pbVar4 = pbVar4 + 1;\n    }" { (while_statement "while( true ) {\n        uVar8 = (uint)*pbVar7;\n        bVar1 = *pbVar4;\n        pbVar7 = pbVar7 + 1;\n        if (uVar8 == bVar1) break;\n        pbVar4 = pbVar4 + 1;\n        if (*(char *)(iVar2 + uVar8) != *(char *)(iVar2 + (uint)bVar1)) {\n          pbVar4 = (byte *)(*(int *)(puVar10 + 0xc53b4) + 0x7018);\n          do {\n            while( true ) {\n              uVar8 = (uint)*local_c;\n              bVar1 = *pbVar4;\n              local_c = local_c + 1;\n              if (uVar8 == bVar1) break;\n              pbVar4 = pbVar4 + 1;\n              if (*(char *)(iVar2 + uVar8) != *(char *)(iVar2 + (uint)bVar1)) {\n                return 0;\n              }\n            }\n            pbVar4 = pbVar4 + 1;\n          } while (uVar8 != 0);\n          return 0x20000000;\n        }\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        uVar8 = (uint)*pbVar7;\n        bVar1 = *pbVar4;\n        pbVar7 = pbVar7 + 1;\n        if (uVar8 == bVar1) break;\n        pbVar4 = pbVar4 + 1;\n        if (*(char *)(iVar2 + uVar8) != *(char *)(iVar2 + (uint)bVar1)) {\n          pbVar4 = (byte *)(*(int *)(puVar10 + 0xc53b4) + 0x7018);\n          do {\n            while( true ) {\n              uVar8 = (uint)*local_c;\n              bVar1 = *pbVar4;\n              local_c = local_c + 1;\n              if (uVar8 == bVar1) break;\n              pbVar4 = pbVar4 + 1;\n              if (*(char *)(iVar2 + uVar8) != *(char *)(iVar2 + (uint)bVar1)) {\n                return 0;\n              }\n            }\n            pbVar4 = pbVar4 + 1;\n          } while (uVar8 != 0);\n          return 0x20000000;\n        }\n      }" { (expression_statement "uVar8 = (uint)*pbVar7;" (assignment_expression "uVar8 = (uint)*pbVar7" identifier = (binary_expression "(uint)*pbVar7" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) (expression_statement "bVar1 = *pbVar4;" (assignment_expression "bVar1 = *pbVar4" identifier = (pointer_expression "*pbVar4" * identifier)) ;) (expression_statement "pbVar7 = pbVar7 + 1;" (assignment_expression "pbVar7 = pbVar7 + 1" identifier = (binary_expression "pbVar7 + 1" identifier + number_literal)) ;) (if_statement "if (uVar8 == bVar1) break;" if (parenthesized_expression "(uVar8 == bVar1)" ( (binary_expression "uVar8 == bVar1" identifier == identifier) )) (break_statement "break;" break ;)) (expression_statement "pbVar4 = pbVar4 + 1;" (assignment_expression "pbVar4 = pbVar4 + 1" identifier = (binary_expression "pbVar4 + 1" identifier + number_literal)) ;) (if_statement "if (*(char *)(iVar2 + uVar8) != *(char *)(iVar2 + (uint)bVar1)) {\n          pbVar4 = (byte *)(*(int *)(puVar10 + 0xc53b4) + 0x7018);\n          do {\n            while( true ) {\n              uVar8 = (uint)*local_c;\n              bVar1 = *pbVar4;\n              local_c = local_c + 1;\n              if (uVar8 == bVar1) break;\n              pbVar4 = pbVar4 + 1;\n              if (*(char *)(iVar2 + uVar8) != *(char *)(iVar2 + (uint)bVar1)) {\n                return 0;\n              }\n            }\n            pbVar4 = pbVar4 + 1;\n          } while (uVar8 != 0);\n          return 0x20000000;\n        }" if (parenthesized_expression "(*(char *)(iVar2 + uVar8) != *(char *)(iVar2 + (uint)bVar1))" ( (binary_expression "*(char *)(iVar2 + uVar8) != *(char *)(iVar2 + (uint)bVar1)" (pointer_expression "*(char *)(iVar2 + uVar8)" * (cast_expression "(char *)(iVar2 + uVar8)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + uVar8)" ( (binary_expression "iVar2 + uVar8" identifier + identifier) )))) != (pointer_expression "*(char *)(iVar2 + (uint)bVar1)" * (cast_expression "(char *)(iVar2 + (uint)bVar1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + (uint)bVar1)" ( (binary_expression "iVar2 + (uint)bVar1" identifier + (cast_expression "(uint)bVar1" ( (type_descriptor "uint" type_identifier) ) identifier)) ))))) )) (compound_statement "{\n          pbVar4 = (byte *)(*(int *)(puVar10 + 0xc53b4) + 0x7018);\n          do {\n            while( true ) {\n              uVar8 = (uint)*local_c;\n              bVar1 = *pbVar4;\n              local_c = local_c + 1;\n              if (uVar8 == bVar1) break;\n              pbVar4 = pbVar4 + 1;\n              if (*(char *)(iVar2 + uVar8) != *(char *)(iVar2 + (uint)bVar1)) {\n                return 0;\n              }\n            }\n            pbVar4 = pbVar4 + 1;\n          } while (uVar8 != 0);\n          return 0x20000000;\n        }" { (expression_statement "pbVar4 = (byte *)(*(int *)(puVar10 + 0xc53b4) + 0x7018);" (assignment_expression "pbVar4 = (byte *)(*(int *)(puVar10 + 0xc53b4) + 0x7018)" identifier = (cast_expression "(byte *)(*(int *)(puVar10 + 0xc53b4) + 0x7018)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar10 + 0xc53b4) + 0x7018)" ( (binary_expression "*(int *)(puVar10 + 0xc53b4) + 0x7018" (pointer_expression "*(int *)(puVar10 + 0xc53b4)" * (cast_expression "(int *)(puVar10 + 0xc53b4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar10 + 0xc53b4)" ( (binary_expression "puVar10 + 0xc53b4" identifier + number_literal) )))) + number_literal) )))) ;) (do_statement "do {\n            while( true ) {\n              uVar8 = (uint)*local_c;\n              bVar1 = *pbVar4;\n              local_c = local_c + 1;\n              if (uVar8 == bVar1) break;\n              pbVar4 = pbVar4 + 1;\n              if (*(char *)(iVar2 + uVar8) != *(char *)(iVar2 + (uint)bVar1)) {\n                return 0;\n              }\n            }\n            pbVar4 = pbVar4 + 1;\n          } while (uVar8 != 0);" do (compound_statement "{\n            while( true ) {\n              uVar8 = (uint)*local_c;\n              bVar1 = *pbVar4;\n              local_c = local_c + 1;\n              if (uVar8 == bVar1) break;\n              pbVar4 = pbVar4 + 1;\n              if (*(char *)(iVar2 + uVar8) != *(char *)(iVar2 + (uint)bVar1)) {\n                return 0;\n              }\n            }\n            pbVar4 = pbVar4 + 1;\n          }" { (while_statement "while( true ) {\n              uVar8 = (uint)*local_c;\n              bVar1 = *pbVar4;\n              local_c = local_c + 1;\n              if (uVar8 == bVar1) break;\n              pbVar4 = pbVar4 + 1;\n              if (*(char *)(iVar2 + uVar8) != *(char *)(iVar2 + (uint)bVar1)) {\n                return 0;\n              }\n            }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n              uVar8 = (uint)*local_c;\n              bVar1 = *pbVar4;\n              local_c = local_c + 1;\n              if (uVar8 == bVar1) break;\n              pbVar4 = pbVar4 + 1;\n              if (*(char *)(iVar2 + uVar8) != *(char *)(iVar2 + (uint)bVar1)) {\n                return 0;\n              }\n            }" { (expression_statement "uVar8 = (uint)*local_c;" (assignment_expression "uVar8 = (uint)*local_c" identifier = (binary_expression "(uint)*local_c" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) (expression_statement "bVar1 = *pbVar4;" (assignment_expression "bVar1 = *pbVar4" identifier = (pointer_expression "*pbVar4" * identifier)) ;) (expression_statement "local_c = local_c + 1;" (assignment_expression "local_c = local_c + 1" identifier = (binary_expression "local_c + 1" identifier + number_literal)) ;) (if_statement "if (uVar8 == bVar1) break;" if (parenthesized_expression "(uVar8 == bVar1)" ( (binary_expression "uVar8 == bVar1" identifier == identifier) )) (break_statement "break;" break ;)) (expression_statement "pbVar4 = pbVar4 + 1;" (assignment_expression "pbVar4 = pbVar4 + 1" identifier = (binary_expression "pbVar4 + 1" identifier + number_literal)) ;) (if_statement "if (*(char *)(iVar2 + uVar8) != *(char *)(iVar2 + (uint)bVar1)) {\n                return 0;\n              }" if (parenthesized_expression "(*(char *)(iVar2 + uVar8) != *(char *)(iVar2 + (uint)bVar1))" ( (binary_expression "*(char *)(iVar2 + uVar8) != *(char *)(iVar2 + (uint)bVar1)" (pointer_expression "*(char *)(iVar2 + uVar8)" * (cast_expression "(char *)(iVar2 + uVar8)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + uVar8)" ( (binary_expression "iVar2 + uVar8" identifier + identifier) )))) != (pointer_expression "*(char *)(iVar2 + (uint)bVar1)" * (cast_expression "(char *)(iVar2 + (uint)bVar1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + (uint)bVar1)" ( (binary_expression "iVar2 + (uint)bVar1" identifier + (cast_expression "(uint)bVar1" ( (type_descriptor "uint" type_identifier) ) identifier)) ))))) )) (compound_statement "{\n                return 0;\n              }" { (return_statement "return 0;" return number_literal ;) })) })) (expression_statement "pbVar4 = pbVar4 + 1;" (assignment_expression "pbVar4 = pbVar4 + 1" identifier = (binary_expression "pbVar4 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar8 != 0)" ( (binary_expression "uVar8 != 0" identifier != number_literal) )) ;) (return_statement "return 0x20000000;" return number_literal ;) })) })) (expression_statement "pbVar4 = pbVar4 + 1;" (assignment_expression "pbVar4 = pbVar4 + 1" identifier = (binary_expression "pbVar4 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar8 != 0)" ( (binary_expression "uVar8 != 0" identifier != number_literal) )) ;) (return_statement "return 0x10000000;" return number_literal ;) })) (return_statement "return local_10 + 1;" return (binary_expression "local_10 + 1" identifier + number_literal) ;) })))
(translation_unit "void exprSetHeight(Expr *p)\n\n{\n  byte bVar1;\n  Expr **ppEVar2;\n  int iVar3;\n  ExprList_item *pEVar4;\n  int iVar5;\n  byte *pbVar6;\n  Select *pSelect;\n  byte *pbVar7;\n  uint uVar8;\n  undefined4 *puVar9;\n  undefined *puVar10;\n  int nHeight;\n  byte *local_c;\n  \n  nHeight = 0;\n  local_c = *(byte **)PTR___stack_chk_guard_000f5568;\n  if ((p->pLeft != (Expr *)0x0) && (iVar3 = p->pLeft->nHeight, 0 < iVar3)) {\n    nHeight = iVar3;\n  }\n  if ((p->pRight == (Expr *)0x0) || (iVar3 = p->pRight->nHeight, iVar3 <= nHeight)) {\n    uVar8 = p->flags;\n    pSelect = (Select *)(p->x).pList;\n  }\n  else {\n    uVar8 = p->flags;\n    pSelect = (Select *)(p->x).pList;\n    nHeight = iVar3;\n  }\n  uVar8 = uVar8 & 0x800;\n  puVar9 = (undefined4 *)PTR___stack_chk_guard_000f5568;\n  if (uVar8 == 0) {\n    if (pSelect != (Select *)0x0) {\n      heightOfExprList((ExprList *)pSelect,&nHeight);\n      iVar3 = ((p->x).pList)->nExpr;\n      if (0 < iVar3) {\n        pEVar4 = ((p->x).pList)->a;\n        iVar5 = 0;\n        do {\n          ppEVar2 = &pEVar4->pExpr;\n          iVar5 = iVar5 + 1;\n          pEVar4 = pEVar4 + 1;\n          uVar8 = uVar8 | (*ppEVar2)->flags;\n        } while (iVar5 != iVar3);\n        uVar8 = uVar8 & 0x200104;\n      }\n      p->flags = p->flags | uVar8;\n    }\n  }\n  else {\n    heightOfSelect(pSelect,&nHeight);\n  }\n  pbVar6 = (byte *)*puVar9;\n  p->nHeight = nHeight + 1;\n  if (local_c != pbVar6) {\n    puVar10 = PTR___stack_chk_fail_000f5540;\n    (*(code *)PTR___stack_chk_fail_000f5540)();\n    iVar3 = *(int *)(puVar10 + 0xc53bc) + 0x25ac;\n    pbVar6 = (byte *)(*(int *)(puVar10 + 0xc53b4) + 0x7010);\n    pbVar7 = local_c;\n    do {\n      while( true ) {\n        uVar8 = (uint)*pbVar7;\n        bVar1 = *pbVar6;\n        pbVar7 = pbVar7 + 1;\n        if (uVar8 == bVar1) break;\n        pbVar6 = pbVar6 + 1;\n        if (*(char *)(iVar3 + uVar8) != *(char *)(iVar3 + (uint)bVar1)) {\n          pbVar6 = (byte *)(*(int *)(puVar10 + 0xc53b4) + 0x7018);\n          do {\n            while( true ) {\n              uVar8 = (uint)*local_c;\n              bVar1 = *pbVar6;\n              local_c = local_c + 1;\n              if (uVar8 == bVar1) break;\n              pbVar6 = pbVar6 + 1;\n              if (*(char *)(iVar3 + uVar8) != *(char *)(iVar3 + (uint)bVar1)) {\n                return;\n              }\n            }\n            pbVar6 = pbVar6 + 1;\n          } while (uVar8 != 0);\n          return;\n        }\n      }\n      pbVar6 = pbVar6 + 1;\n    } while (uVar8 != 0);\n    return;\n  }\n  return;\n}\n\n" (function_definition "void exprSetHeight(Expr *p)\n\n{\n  byte bVar1;\n  Expr **ppEVar2;\n  int iVar3;\n  ExprList_item *pEVar4;\n  int iVar5;\n  byte *pbVar6;\n  Select *pSelect;\n  byte *pbVar7;\n  uint uVar8;\n  undefined4 *puVar9;\n  undefined *puVar10;\n  int nHeight;\n  byte *local_c;\n  \n  nHeight = 0;\n  local_c = *(byte **)PTR___stack_chk_guard_000f5568;\n  if ((p->pLeft != (Expr *)0x0) && (iVar3 = p->pLeft->nHeight, 0 < iVar3)) {\n    nHeight = iVar3;\n  }\n  if ((p->pRight == (Expr *)0x0) || (iVar3 = p->pRight->nHeight, iVar3 <= nHeight)) {\n    uVar8 = p->flags;\n    pSelect = (Select *)(p->x).pList;\n  }\n  else {\n    uVar8 = p->flags;\n    pSelect = (Select *)(p->x).pList;\n    nHeight = iVar3;\n  }\n  uVar8 = uVar8 & 0x800;\n  puVar9 = (undefined4 *)PTR___stack_chk_guard_000f5568;\n  if (uVar8 == 0) {\n    if (pSelect != (Select *)0x0) {\n      heightOfExprList((ExprList *)pSelect,&nHeight);\n      iVar3 = ((p->x).pList)->nExpr;\n      if (0 < iVar3) {\n        pEVar4 = ((p->x).pList)->a;\n        iVar5 = 0;\n        do {\n          ppEVar2 = &pEVar4->pExpr;\n          iVar5 = iVar5 + 1;\n          pEVar4 = pEVar4 + 1;\n          uVar8 = uVar8 | (*ppEVar2)->flags;\n        } while (iVar5 != iVar3);\n        uVar8 = uVar8 & 0x200104;\n      }\n      p->flags = p->flags | uVar8;\n    }\n  }\n  else {\n    heightOfSelect(pSelect,&nHeight);\n  }\n  pbVar6 = (byte *)*puVar9;\n  p->nHeight = nHeight + 1;\n  if (local_c != pbVar6) {\n    puVar10 = PTR___stack_chk_fail_000f5540;\n    (*(code *)PTR___stack_chk_fail_000f5540)();\n    iVar3 = *(int *)(puVar10 + 0xc53bc) + 0x25ac;\n    pbVar6 = (byte *)(*(int *)(puVar10 + 0xc53b4) + 0x7010);\n    pbVar7 = local_c;\n    do {\n      while( true ) {\n        uVar8 = (uint)*pbVar7;\n        bVar1 = *pbVar6;\n        pbVar7 = pbVar7 + 1;\n        if (uVar8 == bVar1) break;\n        pbVar6 = pbVar6 + 1;\n        if (*(char *)(iVar3 + uVar8) != *(char *)(iVar3 + (uint)bVar1)) {\n          pbVar6 = (byte *)(*(int *)(puVar10 + 0xc53b4) + 0x7018);\n          do {\n            while( true ) {\n              uVar8 = (uint)*local_c;\n              bVar1 = *pbVar6;\n              local_c = local_c + 1;\n              if (uVar8 == bVar1) break;\n              pbVar6 = pbVar6 + 1;\n              if (*(char *)(iVar3 + uVar8) != *(char *)(iVar3 + (uint)bVar1)) {\n                return;\n              }\n            }\n            pbVar6 = pbVar6 + 1;\n          } while (uVar8 != 0);\n          return;\n        }\n      }\n      pbVar6 = pbVar6 + 1;\n    } while (uVar8 != 0);\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "exprSetHeight(Expr *p)" identifier (parameter_list "(Expr *p)" ( (parameter_declaration "Expr *p" type_identifier (pointer_declarator "*p" * identifier)) ))) (compound_statement "{\n  byte bVar1;\n  Expr **ppEVar2;\n  int iVar3;\n  ExprList_item *pEVar4;\n  int iVar5;\n  byte *pbVar6;\n  Select *pSelect;\n  byte *pbVar7;\n  uint uVar8;\n  undefined4 *puVar9;\n  undefined *puVar10;\n  int nHeight;\n  byte *local_c;\n  \n  nHeight = 0;\n  local_c = *(byte **)PTR___stack_chk_guard_000f5568;\n  if ((p->pLeft != (Expr *)0x0) && (iVar3 = p->pLeft->nHeight, 0 < iVar3)) {\n    nHeight = iVar3;\n  }\n  if ((p->pRight == (Expr *)0x0) || (iVar3 = p->pRight->nHeight, iVar3 <= nHeight)) {\n    uVar8 = p->flags;\n    pSelect = (Select *)(p->x).pList;\n  }\n  else {\n    uVar8 = p->flags;\n    pSelect = (Select *)(p->x).pList;\n    nHeight = iVar3;\n  }\n  uVar8 = uVar8 & 0x800;\n  puVar9 = (undefined4 *)PTR___stack_chk_guard_000f5568;\n  if (uVar8 == 0) {\n    if (pSelect != (Select *)0x0) {\n      heightOfExprList((ExprList *)pSelect,&nHeight);\n      iVar3 = ((p->x).pList)->nExpr;\n      if (0 < iVar3) {\n        pEVar4 = ((p->x).pList)->a;\n        iVar5 = 0;\n        do {\n          ppEVar2 = &pEVar4->pExpr;\n          iVar5 = iVar5 + 1;\n          pEVar4 = pEVar4 + 1;\n          uVar8 = uVar8 | (*ppEVar2)->flags;\n        } while (iVar5 != iVar3);\n        uVar8 = uVar8 & 0x200104;\n      }\n      p->flags = p->flags | uVar8;\n    }\n  }\n  else {\n    heightOfSelect(pSelect,&nHeight);\n  }\n  pbVar6 = (byte *)*puVar9;\n  p->nHeight = nHeight + 1;\n  if (local_c != pbVar6) {\n    puVar10 = PTR___stack_chk_fail_000f5540;\n    (*(code *)PTR___stack_chk_fail_000f5540)();\n    iVar3 = *(int *)(puVar10 + 0xc53bc) + 0x25ac;\n    pbVar6 = (byte *)(*(int *)(puVar10 + 0xc53b4) + 0x7010);\n    pbVar7 = local_c;\n    do {\n      while( true ) {\n        uVar8 = (uint)*pbVar7;\n        bVar1 = *pbVar6;\n        pbVar7 = pbVar7 + 1;\n        if (uVar8 == bVar1) break;\n        pbVar6 = pbVar6 + 1;\n        if (*(char *)(iVar3 + uVar8) != *(char *)(iVar3 + (uint)bVar1)) {\n          pbVar6 = (byte *)(*(int *)(puVar10 + 0xc53b4) + 0x7018);\n          do {\n            while( true ) {\n              uVar8 = (uint)*local_c;\n              bVar1 = *pbVar6;\n              local_c = local_c + 1;\n              if (uVar8 == bVar1) break;\n              pbVar6 = pbVar6 + 1;\n              if (*(char *)(iVar3 + uVar8) != *(char *)(iVar3 + (uint)bVar1)) {\n                return;\n              }\n            }\n            pbVar6 = pbVar6 + 1;\n          } while (uVar8 != 0);\n          return;\n        }\n      }\n      pbVar6 = pbVar6 + 1;\n    } while (uVar8 != 0);\n    return;\n  }\n  return;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "Expr **ppEVar2;" type_identifier (pointer_declarator "**ppEVar2" * (pointer_declarator "*ppEVar2" * identifier)) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "ExprList_item *pEVar4;" type_identifier (pointer_declarator "*pEVar4" * identifier) ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "byte *pbVar6;" type_identifier (pointer_declarator "*pbVar6" * identifier) ;) (declaration "Select *pSelect;" type_identifier (pointer_declarator "*pSelect" * identifier) ;) (declaration "byte *pbVar7;" type_identifier (pointer_declarator "*pbVar7" * identifier) ;) (declaration "uint uVar8;" type_identifier identifier ;) (declaration "undefined4 *puVar9;" type_identifier (pointer_declarator "*puVar9" * identifier) ;) (declaration "undefined *puVar10;" type_identifier (pointer_declarator "*puVar10" * identifier) ;) (declaration "int nHeight;" primitive_type identifier ;) (declaration "byte *local_c;" type_identifier (pointer_declarator "*local_c" * identifier) ;) (expression_statement "nHeight = 0;" (assignment_expression "nHeight = 0" identifier = number_literal) ;) (expression_statement "local_c = *(byte **)PTR___stack_chk_guard_000f5568;" (assignment_expression "local_c = *(byte **)PTR___stack_chk_guard_000f5568" identifier = (pointer_expression "*(byte **)PTR___stack_chk_guard_000f5568" * (cast_expression "(byte **)PTR___stack_chk_guard_000f5568" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (if_statement "if ((p->pLeft != (Expr *)0x0) && (iVar3 = p->pLeft->nHeight, 0 < iVar3)) {\n    nHeight = iVar3;\n  }" if (parenthesized_expression "((p->pLeft != (Expr *)0x0) && (iVar3 = p->pLeft->nHeight, 0 < iVar3))" ( (binary_expression "(p->pLeft != (Expr *)0x0) && (iVar3 = p->pLeft->nHeight, 0 < iVar3)" (parenthesized_expression "(p->pLeft != (Expr *)0x0)" ( (binary_expression "p->pLeft != (Expr *)0x0" (field_expression "p->pLeft" identifier -> field_identifier) != (cast_expression "(Expr *)0x0" ( (type_descriptor "Expr *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(iVar3 = p->pLeft->nHeight, 0 < iVar3)" ( (comma_expression "iVar3 = p->pLeft->nHeight, 0 < iVar3" (assignment_expression "iVar3 = p->pLeft->nHeight" identifier = (field_expression "p->pLeft->nHeight" (field_expression "p->pLeft" identifier -> field_identifier) -> field_identifier)) , (binary_expression "0 < iVar3" number_literal < identifier)) ))) )) (compound_statement "{\n    nHeight = iVar3;\n  }" { (expression_statement "nHeight = iVar3;" (assignment_expression "nHeight = iVar3" identifier = identifier) ;) })) (if_statement "if ((p->pRight == (Expr *)0x0) || (iVar3 = p->pRight->nHeight, iVar3 <= nHeight)) {\n    uVar8 = p->flags;\n    pSelect = (Select *)(p->x).pList;\n  }\n  else {\n    uVar8 = p->flags;\n    pSelect = (Select *)(p->x).pList;\n    nHeight = iVar3;\n  }" if (parenthesized_expression "((p->pRight == (Expr *)0x0) || (iVar3 = p->pRight->nHeight, iVar3 <= nHeight))" ( (binary_expression "(p->pRight == (Expr *)0x0) || (iVar3 = p->pRight->nHeight, iVar3 <= nHeight)" (parenthesized_expression "(p->pRight == (Expr *)0x0)" ( (binary_expression "p->pRight == (Expr *)0x0" (field_expression "p->pRight" identifier -> field_identifier) == (cast_expression "(Expr *)0x0" ( (type_descriptor "Expr *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(iVar3 = p->pRight->nHeight, iVar3 <= nHeight)" ( (comma_expression "iVar3 = p->pRight->nHeight, iVar3 <= nHeight" (assignment_expression "iVar3 = p->pRight->nHeight" identifier = (field_expression "p->pRight->nHeight" (field_expression "p->pRight" identifier -> field_identifier) -> field_identifier)) , (binary_expression "iVar3 <= nHeight" identifier <= identifier)) ))) )) (compound_statement "{\n    uVar8 = p->flags;\n    pSelect = (Select *)(p->x).pList;\n  }" { (expression_statement "uVar8 = p->flags;" (assignment_expression "uVar8 = p->flags" identifier = (field_expression "p->flags" identifier -> field_identifier)) ;) (expression_statement "pSelect = (Select *)(p->x).pList;" (assignment_expression "pSelect = (Select *)(p->x).pList" identifier = (cast_expression "(Select *)(p->x).pList" ( (type_descriptor "Select *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "(p->x).pList" (parenthesized_expression "(p->x)" ( (field_expression "p->x" identifier -> field_identifier) )) . field_identifier))) ;) }) (else_clause "else {\n    uVar8 = p->flags;\n    pSelect = (Select *)(p->x).pList;\n    nHeight = iVar3;\n  }" else (compound_statement "{\n    uVar8 = p->flags;\n    pSelect = (Select *)(p->x).pList;\n    nHeight = iVar3;\n  }" { (expression_statement "uVar8 = p->flags;" (assignment_expression "uVar8 = p->flags" identifier = (field_expression "p->flags" identifier -> field_identifier)) ;) (expression_statement "pSelect = (Select *)(p->x).pList;" (assignment_expression "pSelect = (Select *)(p->x).pList" identifier = (cast_expression "(Select *)(p->x).pList" ( (type_descriptor "Select *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "(p->x).pList" (parenthesized_expression "(p->x)" ( (field_expression "p->x" identifier -> field_identifier) )) . field_identifier))) ;) (expression_statement "nHeight = iVar3;" (assignment_expression "nHeight = iVar3" identifier = identifier) ;) }))) (expression_statement "uVar8 = uVar8 & 0x800;" (assignment_expression "uVar8 = uVar8 & 0x800" identifier = (binary_expression "uVar8 & 0x800" identifier & number_literal)) ;) (expression_statement "puVar9 = (undefined4 *)PTR___stack_chk_guard_000f5568;" (assignment_expression "puVar9 = (undefined4 *)PTR___stack_chk_guard_000f5568" identifier = (cast_expression "(undefined4 *)PTR___stack_chk_guard_000f5568" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (if_statement "if (uVar8 == 0) {\n    if (pSelect != (Select *)0x0) {\n      heightOfExprList((ExprList *)pSelect,&nHeight);\n      iVar3 = ((p->x).pList)->nExpr;\n      if (0 < iVar3) {\n        pEVar4 = ((p->x).pList)->a;\n        iVar5 = 0;\n        do {\n          ppEVar2 = &pEVar4->pExpr;\n          iVar5 = iVar5 + 1;\n          pEVar4 = pEVar4 + 1;\n          uVar8 = uVar8 | (*ppEVar2)->flags;\n        } while (iVar5 != iVar3);\n        uVar8 = uVar8 & 0x200104;\n      }\n      p->flags = p->flags | uVar8;\n    }\n  }\n  else {\n    heightOfSelect(pSelect,&nHeight);\n  }" if (parenthesized_expression "(uVar8 == 0)" ( (binary_expression "uVar8 == 0" identifier == number_literal) )) (compound_statement "{\n    if (pSelect != (Select *)0x0) {\n      heightOfExprList((ExprList *)pSelect,&nHeight);\n      iVar3 = ((p->x).pList)->nExpr;\n      if (0 < iVar3) {\n        pEVar4 = ((p->x).pList)->a;\n        iVar5 = 0;\n        do {\n          ppEVar2 = &pEVar4->pExpr;\n          iVar5 = iVar5 + 1;\n          pEVar4 = pEVar4 + 1;\n          uVar8 = uVar8 | (*ppEVar2)->flags;\n        } while (iVar5 != iVar3);\n        uVar8 = uVar8 & 0x200104;\n      }\n      p->flags = p->flags | uVar8;\n    }\n  }" { (if_statement "if (pSelect != (Select *)0x0) {\n      heightOfExprList((ExprList *)pSelect,&nHeight);\n      iVar3 = ((p->x).pList)->nExpr;\n      if (0 < iVar3) {\n        pEVar4 = ((p->x).pList)->a;\n        iVar5 = 0;\n        do {\n          ppEVar2 = &pEVar4->pExpr;\n          iVar5 = iVar5 + 1;\n          pEVar4 = pEVar4 + 1;\n          uVar8 = uVar8 | (*ppEVar2)->flags;\n        } while (iVar5 != iVar3);\n        uVar8 = uVar8 & 0x200104;\n      }\n      p->flags = p->flags | uVar8;\n    }" if (parenthesized_expression "(pSelect != (Select *)0x0)" ( (binary_expression "pSelect != (Select *)0x0" identifier != (cast_expression "(Select *)0x0" ( (type_descriptor "Select *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      heightOfExprList((ExprList *)pSelect,&nHeight);\n      iVar3 = ((p->x).pList)->nExpr;\n      if (0 < iVar3) {\n        pEVar4 = ((p->x).pList)->a;\n        iVar5 = 0;\n        do {\n          ppEVar2 = &pEVar4->pExpr;\n          iVar5 = iVar5 + 1;\n          pEVar4 = pEVar4 + 1;\n          uVar8 = uVar8 | (*ppEVar2)->flags;\n        } while (iVar5 != iVar3);\n        uVar8 = uVar8 & 0x200104;\n      }\n      p->flags = p->flags | uVar8;\n    }" { (expression_statement "heightOfExprList((ExprList *)pSelect,&nHeight);" (call_expression "heightOfExprList((ExprList *)pSelect,&nHeight)" identifier (argument_list "((ExprList *)pSelect,&nHeight)" ( (cast_expression "(ExprList *)pSelect" ( (type_descriptor "ExprList *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , (pointer_expression "&nHeight" & identifier) ))) ;) (expression_statement "iVar3 = ((p->x).pList)->nExpr;" (assignment_expression "iVar3 = ((p->x).pList)->nExpr" identifier = (field_expression "((p->x).pList)->nExpr" (parenthesized_expression "((p->x).pList)" ( (field_expression "(p->x).pList" (parenthesized_expression "(p->x)" ( (field_expression "p->x" identifier -> field_identifier) )) . field_identifier) )) -> field_identifier)) ;) (if_statement "if (0 < iVar3) {\n        pEVar4 = ((p->x).pList)->a;\n        iVar5 = 0;\n        do {\n          ppEVar2 = &pEVar4->pExpr;\n          iVar5 = iVar5 + 1;\n          pEVar4 = pEVar4 + 1;\n          uVar8 = uVar8 | (*ppEVar2)->flags;\n        } while (iVar5 != iVar3);\n        uVar8 = uVar8 & 0x200104;\n      }" if (parenthesized_expression "(0 < iVar3)" ( (binary_expression "0 < iVar3" number_literal < identifier) )) (compound_statement "{\n        pEVar4 = ((p->x).pList)->a;\n        iVar5 = 0;\n        do {\n          ppEVar2 = &pEVar4->pExpr;\n          iVar5 = iVar5 + 1;\n          pEVar4 = pEVar4 + 1;\n          uVar8 = uVar8 | (*ppEVar2)->flags;\n        } while (iVar5 != iVar3);\n        uVar8 = uVar8 & 0x200104;\n      }" { (expression_statement "pEVar4 = ((p->x).pList)->a;" (assignment_expression "pEVar4 = ((p->x).pList)->a" identifier = (field_expression "((p->x).pList)->a" (parenthesized_expression "((p->x).pList)" ( (field_expression "(p->x).pList" (parenthesized_expression "(p->x)" ( (field_expression "p->x" identifier -> field_identifier) )) . field_identifier) )) -> field_identifier)) ;) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (do_statement "do {\n          ppEVar2 = &pEVar4->pExpr;\n          iVar5 = iVar5 + 1;\n          pEVar4 = pEVar4 + 1;\n          uVar8 = uVar8 | (*ppEVar2)->flags;\n        } while (iVar5 != iVar3);" do (compound_statement "{\n          ppEVar2 = &pEVar4->pExpr;\n          iVar5 = iVar5 + 1;\n          pEVar4 = pEVar4 + 1;\n          uVar8 = uVar8 | (*ppEVar2)->flags;\n        }" { (expression_statement "ppEVar2 = &pEVar4->pExpr;" (assignment_expression "ppEVar2 = &pEVar4->pExpr" identifier = (pointer_expression "&pEVar4->pExpr" & (field_expression "pEVar4->pExpr" identifier -> field_identifier))) ;) (expression_statement "iVar5 = iVar5 + 1;" (assignment_expression "iVar5 = iVar5 + 1" identifier = (binary_expression "iVar5 + 1" identifier + number_literal)) ;) (expression_statement "pEVar4 = pEVar4 + 1;" (assignment_expression "pEVar4 = pEVar4 + 1" identifier = (binary_expression "pEVar4 + 1" identifier + number_literal)) ;) (expression_statement "uVar8 = uVar8 | (*ppEVar2)->flags;" (assignment_expression "uVar8 = uVar8 | (*ppEVar2)->flags" identifier = (binary_expression "uVar8 | (*ppEVar2)->flags" identifier | (field_expression "(*ppEVar2)->flags" (parenthesized_expression "(*ppEVar2)" ( (pointer_expression "*ppEVar2" * identifier) )) -> field_identifier))) ;) }) while (parenthesized_expression "(iVar5 != iVar3)" ( (binary_expression "iVar5 != iVar3" identifier != identifier) )) ;) (expression_statement "uVar8 = uVar8 & 0x200104;" (assignment_expression "uVar8 = uVar8 & 0x200104" identifier = (binary_expression "uVar8 & 0x200104" identifier & number_literal)) ;) })) (expression_statement "p->flags = p->flags | uVar8;" (assignment_expression "p->flags = p->flags | uVar8" (field_expression "p->flags" identifier -> field_identifier) = (binary_expression "p->flags | uVar8" (field_expression "p->flags" identifier -> field_identifier) | identifier)) ;) })) }) (else_clause "else {\n    heightOfSelect(pSelect,&nHeight);\n  }" else (compound_statement "{\n    heightOfSelect(pSelect,&nHeight);\n  }" { (expression_statement "heightOfSelect(pSelect,&nHeight);" (call_expression "heightOfSelect(pSelect,&nHeight)" identifier (argument_list "(pSelect,&nHeight)" ( identifier , (pointer_expression "&nHeight" & identifier) ))) ;) }))) (expression_statement "pbVar6 = (byte *)*puVar9;" (assignment_expression "pbVar6 = (byte *)*puVar9" identifier = (cast_expression "(byte *)*puVar9" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar9" * identifier))) ;) (expression_statement "p->nHeight = nHeight + 1;" (assignment_expression "p->nHeight = nHeight + 1" (field_expression "p->nHeight" identifier -> field_identifier) = (binary_expression "nHeight + 1" identifier + number_literal)) ;) (if_statement "if (local_c != pbVar6) {\n    puVar10 = PTR___stack_chk_fail_000f5540;\n    (*(code *)PTR___stack_chk_fail_000f5540)();\n    iVar3 = *(int *)(puVar10 + 0xc53bc) + 0x25ac;\n    pbVar6 = (byte *)(*(int *)(puVar10 + 0xc53b4) + 0x7010);\n    pbVar7 = local_c;\n    do {\n      while( true ) {\n        uVar8 = (uint)*pbVar7;\n        bVar1 = *pbVar6;\n        pbVar7 = pbVar7 + 1;\n        if (uVar8 == bVar1) break;\n        pbVar6 = pbVar6 + 1;\n        if (*(char *)(iVar3 + uVar8) != *(char *)(iVar3 + (uint)bVar1)) {\n          pbVar6 = (byte *)(*(int *)(puVar10 + 0xc53b4) + 0x7018);\n          do {\n            while( true ) {\n              uVar8 = (uint)*local_c;\n              bVar1 = *pbVar6;\n              local_c = local_c + 1;\n              if (uVar8 == bVar1) break;\n              pbVar6 = pbVar6 + 1;\n              if (*(char *)(iVar3 + uVar8) != *(char *)(iVar3 + (uint)bVar1)) {\n                return;\n              }\n            }\n            pbVar6 = pbVar6 + 1;\n          } while (uVar8 != 0);\n          return;\n        }\n      }\n      pbVar6 = pbVar6 + 1;\n    } while (uVar8 != 0);\n    return;\n  }" if (parenthesized_expression "(local_c != pbVar6)" ( (binary_expression "local_c != pbVar6" identifier != identifier) )) (compound_statement "{\n    puVar10 = PTR___stack_chk_fail_000f5540;\n    (*(code *)PTR___stack_chk_fail_000f5540)();\n    iVar3 = *(int *)(puVar10 + 0xc53bc) + 0x25ac;\n    pbVar6 = (byte *)(*(int *)(puVar10 + 0xc53b4) + 0x7010);\n    pbVar7 = local_c;\n    do {\n      while( true ) {\n        uVar8 = (uint)*pbVar7;\n        bVar1 = *pbVar6;\n        pbVar7 = pbVar7 + 1;\n        if (uVar8 == bVar1) break;\n        pbVar6 = pbVar6 + 1;\n        if (*(char *)(iVar3 + uVar8) != *(char *)(iVar3 + (uint)bVar1)) {\n          pbVar6 = (byte *)(*(int *)(puVar10 + 0xc53b4) + 0x7018);\n          do {\n            while( true ) {\n              uVar8 = (uint)*local_c;\n              bVar1 = *pbVar6;\n              local_c = local_c + 1;\n              if (uVar8 == bVar1) break;\n              pbVar6 = pbVar6 + 1;\n              if (*(char *)(iVar3 + uVar8) != *(char *)(iVar3 + (uint)bVar1)) {\n                return;\n              }\n            }\n            pbVar6 = pbVar6 + 1;\n          } while (uVar8 != 0);\n          return;\n        }\n      }\n      pbVar6 = pbVar6 + 1;\n    } while (uVar8 != 0);\n    return;\n  }" { (expression_statement "puVar10 = PTR___stack_chk_fail_000f5540;" (assignment_expression "puVar10 = PTR___stack_chk_fail_000f5540" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_000f5540)();" (call_expression "(*(code *)PTR___stack_chk_fail_000f5540)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000f5540)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_000f5540" * (cast_expression "(code *)PTR___stack_chk_fail_000f5540" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "iVar3 = *(int *)(puVar10 + 0xc53bc) + 0x25ac;" (assignment_expression "iVar3 = *(int *)(puVar10 + 0xc53bc) + 0x25ac" identifier = (binary_expression "*(int *)(puVar10 + 0xc53bc) + 0x25ac" (pointer_expression "*(int *)(puVar10 + 0xc53bc)" * (cast_expression "(int *)(puVar10 + 0xc53bc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar10 + 0xc53bc)" ( (binary_expression "puVar10 + 0xc53bc" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "pbVar6 = (byte *)(*(int *)(puVar10 + 0xc53b4) + 0x7010);" (assignment_expression "pbVar6 = (byte *)(*(int *)(puVar10 + 0xc53b4) + 0x7010)" identifier = (cast_expression "(byte *)(*(int *)(puVar10 + 0xc53b4) + 0x7010)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar10 + 0xc53b4) + 0x7010)" ( (binary_expression "*(int *)(puVar10 + 0xc53b4) + 0x7010" (pointer_expression "*(int *)(puVar10 + 0xc53b4)" * (cast_expression "(int *)(puVar10 + 0xc53b4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar10 + 0xc53b4)" ( (binary_expression "puVar10 + 0xc53b4" identifier + number_literal) )))) + number_literal) )))) ;) (expression_statement "pbVar7 = local_c;" (assignment_expression "pbVar7 = local_c" identifier = identifier) ;) (do_statement "do {\n      while( true ) {\n        uVar8 = (uint)*pbVar7;\n        bVar1 = *pbVar6;\n        pbVar7 = pbVar7 + 1;\n        if (uVar8 == bVar1) break;\n        pbVar6 = pbVar6 + 1;\n        if (*(char *)(iVar3 + uVar8) != *(char *)(iVar3 + (uint)bVar1)) {\n          pbVar6 = (byte *)(*(int *)(puVar10 + 0xc53b4) + 0x7018);\n          do {\n            while( true ) {\n              uVar8 = (uint)*local_c;\n              bVar1 = *pbVar6;\n              local_c = local_c + 1;\n              if (uVar8 == bVar1) break;\n              pbVar6 = pbVar6 + 1;\n              if (*(char *)(iVar3 + uVar8) != *(char *)(iVar3 + (uint)bVar1)) {\n                return;\n              }\n            }\n            pbVar6 = pbVar6 + 1;\n          } while (uVar8 != 0);\n          return;\n        }\n      }\n      pbVar6 = pbVar6 + 1;\n    } while (uVar8 != 0);" do (compound_statement "{\n      while( true ) {\n        uVar8 = (uint)*pbVar7;\n        bVar1 = *pbVar6;\n        pbVar7 = pbVar7 + 1;\n        if (uVar8 == bVar1) break;\n        pbVar6 = pbVar6 + 1;\n        if (*(char *)(iVar3 + uVar8) != *(char *)(iVar3 + (uint)bVar1)) {\n          pbVar6 = (byte *)(*(int *)(puVar10 + 0xc53b4) + 0x7018);\n          do {\n            while( true ) {\n              uVar8 = (uint)*local_c;\n              bVar1 = *pbVar6;\n              local_c = local_c + 1;\n              if (uVar8 == bVar1) break;\n              pbVar6 = pbVar6 + 1;\n              if (*(char *)(iVar3 + uVar8) != *(char *)(iVar3 + (uint)bVar1)) {\n                return;\n              }\n            }\n            pbVar6 = pbVar6 + 1;\n          } while (uVar8 != 0);\n          return;\n        }\n      }\n      pbVar6 = pbVar6 + 1;\n    }" { (while_statement "while( true ) {\n        uVar8 = (uint)*pbVar7;\n        bVar1 = *pbVar6;\n        pbVar7 = pbVar7 + 1;\n        if (uVar8 == bVar1) break;\n        pbVar6 = pbVar6 + 1;\n        if (*(char *)(iVar3 + uVar8) != *(char *)(iVar3 + (uint)bVar1)) {\n          pbVar6 = (byte *)(*(int *)(puVar10 + 0xc53b4) + 0x7018);\n          do {\n            while( true ) {\n              uVar8 = (uint)*local_c;\n              bVar1 = *pbVar6;\n              local_c = local_c + 1;\n              if (uVar8 == bVar1) break;\n              pbVar6 = pbVar6 + 1;\n              if (*(char *)(iVar3 + uVar8) != *(char *)(iVar3 + (uint)bVar1)) {\n                return;\n              }\n            }\n            pbVar6 = pbVar6 + 1;\n          } while (uVar8 != 0);\n          return;\n        }\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        uVar8 = (uint)*pbVar7;\n        bVar1 = *pbVar6;\n        pbVar7 = pbVar7 + 1;\n        if (uVar8 == bVar1) break;\n        pbVar6 = pbVar6 + 1;\n        if (*(char *)(iVar3 + uVar8) != *(char *)(iVar3 + (uint)bVar1)) {\n          pbVar6 = (byte *)(*(int *)(puVar10 + 0xc53b4) + 0x7018);\n          do {\n            while( true ) {\n              uVar8 = (uint)*local_c;\n              bVar1 = *pbVar6;\n              local_c = local_c + 1;\n              if (uVar8 == bVar1) break;\n              pbVar6 = pbVar6 + 1;\n              if (*(char *)(iVar3 + uVar8) != *(char *)(iVar3 + (uint)bVar1)) {\n                return;\n              }\n            }\n            pbVar6 = pbVar6 + 1;\n          } while (uVar8 != 0);\n          return;\n        }\n      }" { (expression_statement "uVar8 = (uint)*pbVar7;" (assignment_expression "uVar8 = (uint)*pbVar7" identifier = (binary_expression "(uint)*pbVar7" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) (expression_statement "bVar1 = *pbVar6;" (assignment_expression "bVar1 = *pbVar6" identifier = (pointer_expression "*pbVar6" * identifier)) ;) (expression_statement "pbVar7 = pbVar7 + 1;" (assignment_expression "pbVar7 = pbVar7 + 1" identifier = (binary_expression "pbVar7 + 1" identifier + number_literal)) ;) (if_statement "if (uVar8 == bVar1) break;" if (parenthesized_expression "(uVar8 == bVar1)" ( (binary_expression "uVar8 == bVar1" identifier == identifier) )) (break_statement "break;" break ;)) (expression_statement "pbVar6 = pbVar6 + 1;" (assignment_expression "pbVar6 = pbVar6 + 1" identifier = (binary_expression "pbVar6 + 1" identifier + number_literal)) ;) (if_statement "if (*(char *)(iVar3 + uVar8) != *(char *)(iVar3 + (uint)bVar1)) {\n          pbVar6 = (byte *)(*(int *)(puVar10 + 0xc53b4) + 0x7018);\n          do {\n            while( true ) {\n              uVar8 = (uint)*local_c;\n              bVar1 = *pbVar6;\n              local_c = local_c + 1;\n              if (uVar8 == bVar1) break;\n              pbVar6 = pbVar6 + 1;\n              if (*(char *)(iVar3 + uVar8) != *(char *)(iVar3 + (uint)bVar1)) {\n                return;\n              }\n            }\n            pbVar6 = pbVar6 + 1;\n          } while (uVar8 != 0);\n          return;\n        }" if (parenthesized_expression "(*(char *)(iVar3 + uVar8) != *(char *)(iVar3 + (uint)bVar1))" ( (binary_expression "*(char *)(iVar3 + uVar8) != *(char *)(iVar3 + (uint)bVar1)" (pointer_expression "*(char *)(iVar3 + uVar8)" * (cast_expression "(char *)(iVar3 + uVar8)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + uVar8)" ( (binary_expression "iVar3 + uVar8" identifier + identifier) )))) != (pointer_expression "*(char *)(iVar3 + (uint)bVar1)" * (cast_expression "(char *)(iVar3 + (uint)bVar1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + (uint)bVar1)" ( (binary_expression "iVar3 + (uint)bVar1" identifier + (cast_expression "(uint)bVar1" ( (type_descriptor "uint" type_identifier) ) identifier)) ))))) )) (compound_statement "{\n          pbVar6 = (byte *)(*(int *)(puVar10 + 0xc53b4) + 0x7018);\n          do {\n            while( true ) {\n              uVar8 = (uint)*local_c;\n              bVar1 = *pbVar6;\n              local_c = local_c + 1;\n              if (uVar8 == bVar1) break;\n              pbVar6 = pbVar6 + 1;\n              if (*(char *)(iVar3 + uVar8) != *(char *)(iVar3 + (uint)bVar1)) {\n                return;\n              }\n            }\n            pbVar6 = pbVar6 + 1;\n          } while (uVar8 != 0);\n          return;\n        }" { (expression_statement "pbVar6 = (byte *)(*(int *)(puVar10 + 0xc53b4) + 0x7018);" (assignment_expression "pbVar6 = (byte *)(*(int *)(puVar10 + 0xc53b4) + 0x7018)" identifier = (cast_expression "(byte *)(*(int *)(puVar10 + 0xc53b4) + 0x7018)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar10 + 0xc53b4) + 0x7018)" ( (binary_expression "*(int *)(puVar10 + 0xc53b4) + 0x7018" (pointer_expression "*(int *)(puVar10 + 0xc53b4)" * (cast_expression "(int *)(puVar10 + 0xc53b4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar10 + 0xc53b4)" ( (binary_expression "puVar10 + 0xc53b4" identifier + number_literal) )))) + number_literal) )))) ;) (do_statement "do {\n            while( true ) {\n              uVar8 = (uint)*local_c;\n              bVar1 = *pbVar6;\n              local_c = local_c + 1;\n              if (uVar8 == bVar1) break;\n              pbVar6 = pbVar6 + 1;\n              if (*(char *)(iVar3 + uVar8) != *(char *)(iVar3 + (uint)bVar1)) {\n                return;\n              }\n            }\n            pbVar6 = pbVar6 + 1;\n          } while (uVar8 != 0);" do (compound_statement "{\n            while( true ) {\n              uVar8 = (uint)*local_c;\n              bVar1 = *pbVar6;\n              local_c = local_c + 1;\n              if (uVar8 == bVar1) break;\n              pbVar6 = pbVar6 + 1;\n              if (*(char *)(iVar3 + uVar8) != *(char *)(iVar3 + (uint)bVar1)) {\n                return;\n              }\n            }\n            pbVar6 = pbVar6 + 1;\n          }" { (while_statement "while( true ) {\n              uVar8 = (uint)*local_c;\n              bVar1 = *pbVar6;\n              local_c = local_c + 1;\n              if (uVar8 == bVar1) break;\n              pbVar6 = pbVar6 + 1;\n              if (*(char *)(iVar3 + uVar8) != *(char *)(iVar3 + (uint)bVar1)) {\n                return;\n              }\n            }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n              uVar8 = (uint)*local_c;\n              bVar1 = *pbVar6;\n              local_c = local_c + 1;\n              if (uVar8 == bVar1) break;\n              pbVar6 = pbVar6 + 1;\n              if (*(char *)(iVar3 + uVar8) != *(char *)(iVar3 + (uint)bVar1)) {\n                return;\n              }\n            }" { (expression_statement "uVar8 = (uint)*local_c;" (assignment_expression "uVar8 = (uint)*local_c" identifier = (binary_expression "(uint)*local_c" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) (expression_statement "bVar1 = *pbVar6;" (assignment_expression "bVar1 = *pbVar6" identifier = (pointer_expression "*pbVar6" * identifier)) ;) (expression_statement "local_c = local_c + 1;" (assignment_expression "local_c = local_c + 1" identifier = (binary_expression "local_c + 1" identifier + number_literal)) ;) (if_statement "if (uVar8 == bVar1) break;" if (parenthesized_expression "(uVar8 == bVar1)" ( (binary_expression "uVar8 == bVar1" identifier == identifier) )) (break_statement "break;" break ;)) (expression_statement "pbVar6 = pbVar6 + 1;" (assignment_expression "pbVar6 = pbVar6 + 1" identifier = (binary_expression "pbVar6 + 1" identifier + number_literal)) ;) (if_statement "if (*(char *)(iVar3 + uVar8) != *(char *)(iVar3 + (uint)bVar1)) {\n                return;\n              }" if (parenthesized_expression "(*(char *)(iVar3 + uVar8) != *(char *)(iVar3 + (uint)bVar1))" ( (binary_expression "*(char *)(iVar3 + uVar8) != *(char *)(iVar3 + (uint)bVar1)" (pointer_expression "*(char *)(iVar3 + uVar8)" * (cast_expression "(char *)(iVar3 + uVar8)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + uVar8)" ( (binary_expression "iVar3 + uVar8" identifier + identifier) )))) != (pointer_expression "*(char *)(iVar3 + (uint)bVar1)" * (cast_expression "(char *)(iVar3 + (uint)bVar1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + (uint)bVar1)" ( (binary_expression "iVar3 + (uint)bVar1" identifier + (cast_expression "(uint)bVar1" ( (type_descriptor "uint" type_identifier) ) identifier)) ))))) )) (compound_statement "{\n                return;\n              }" { (return_statement "return;" return ;) })) })) (expression_statement "pbVar6 = pbVar6 + 1;" (assignment_expression "pbVar6 = pbVar6 + 1" identifier = (binary_expression "pbVar6 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar8 != 0)" ( (binary_expression "uVar8 != 0" identifier != number_literal) )) ;) (return_statement "return;" return ;) })) })) (expression_statement "pbVar6 = pbVar6 + 1;" (assignment_expression "pbVar6 = pbVar6 + 1" identifier = (binary_expression "pbVar6 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar8 != 0)" ( (binary_expression "uVar8 != 0" identifier != number_literal) )) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit "int FUN_0002fde8(int param_1)\n\n{\n  byte bVar1;\n  int iVar2;\n  int *piVar3;\n  byte *pbVar4;\n  int iVar5;\n  int iVar6;\n  byte *pbVar7;\n  uint uVar8;\n  undefined4 *puVar9;\n  undefined *puVar10;\n  int local_10;\n  byte *local_c;\n  \n  local_10 = 0;\n  local_c = *(byte **)PTR___stack_chk_guard_000f5568;\n  if ((*(int *)(param_1 + 0xc) != 0) &&\n     (iVar2 = *(int *)(*(int *)(param_1 + 0xc) + 0x18), 0 < iVar2)) {\n    local_10 = iVar2;\n  }\n  if ((*(int *)(param_1 + 0x10) == 0) ||\n     (iVar2 = *(int *)(*(int *)(param_1 + 0x10) + 0x18), iVar2 <= local_10)) {\n    uVar8 = *(uint *)(param_1 + 4);\n    iVar5 = *(int *)(param_1 + 0x14);\n  }\n  else {\n    uVar8 = *(uint *)(param_1 + 4);\n    iVar5 = *(int *)(param_1 + 0x14);\n    local_10 = iVar2;\n  }\n  uVar8 = uVar8 & 0x800;\n  puVar9 = (undefined4 *)PTR___stack_chk_guard_000f5568;\n  if (uVar8 == 0) {\n    if (iVar5 != 0) {\n      FUN_0002fca8(iVar5,&local_10);\n      iVar2 = **(int **)(param_1 + 0x14);\n      if (0 < iVar2) {\n        piVar3 = *(int **)(param_1 + 0x14) + 1;\n        iVar5 = 0;\n        do {\n          iVar6 = *piVar3;\n          iVar5 = iVar5 + 1;\n          piVar3 = piVar3 + 4;\n          uVar8 = uVar8 | *(uint *)(iVar6 + 4);\n        } while (iVar5 != iVar2);\n        uVar8 = uVar8 & 0x200104;\n      }\n      *(uint *)(param_1 + 4) = *(uint *)(param_1 + 4) | uVar8;\n    }\n  }\n  else {\n    FUN_0002fcf8(iVar5,&local_10);\n  }\n  pbVar4 = (byte *)*puVar9;\n  *(int *)(param_1 + 0x18) = local_10 + 1;\n  if (local_c != pbVar4) {\n    puVar10 = PTR___stack_chk_fail_000f5540;\n    (*(code *)PTR___stack_chk_fail_000f5540)();\n    iVar2 = *(int *)(puVar10 + 0xc53bc) + 0x25ac;\n    pbVar4 = (byte *)(*(int *)(puVar10 + 0xc53b4) + 0x7010);\n    pbVar7 = local_c;\n    do {\n      while( true ) {\n        uVar8 = (uint)*pbVar7;\n        bVar1 = *pbVar4;\n        pbVar7 = pbVar7 + 1;\n        if (uVar8 == bVar1) break;\n        pbVar4 = pbVar4 + 1;\n        if (*(char *)(iVar2 + uVar8) != *(char *)(iVar2 + (uint)bVar1)) {\n          pbVar4 = (byte *)(*(int *)(puVar10 + 0xc53b4) + 0x7018);\n          do {\n            while( true ) {\n              uVar8 = (uint)*local_c;\n              bVar1 = *pbVar4;\n              local_c = local_c + 1;\n              if (uVar8 == bVar1) break;\n              pbVar4 = pbVar4 + 1;\n              if (*(char *)(iVar2 + uVar8) != *(char *)(iVar2 + (uint)bVar1)) {\n                return 0;\n              }\n            }\n            pbVar4 = pbVar4 + 1;\n          } while (uVar8 != 0);\n          return 0x20000000;\n        }\n      }\n      pbVar4 = pbVar4 + 1;\n    } while (uVar8 != 0);\n    return 0x10000000;\n  }\n  return local_10 + 1;\n}\n\n" (function_definition "int FUN_0002fde8(int param_1)\n\n{\n  byte bVar1;\n  int iVar2;\n  int *piVar3;\n  byte *pbVar4;\n  int iVar5;\n  int iVar6;\n  byte *pbVar7;\n  uint uVar8;\n  undefined4 *puVar9;\n  undefined *puVar10;\n  int local_10;\n  byte *local_c;\n  \n  local_10 = 0;\n  local_c = *(byte **)PTR___stack_chk_guard_000f5568;\n  if ((*(int *)(param_1 + 0xc) != 0) &&\n     (iVar2 = *(int *)(*(int *)(param_1 + 0xc) + 0x18), 0 < iVar2)) {\n    local_10 = iVar2;\n  }\n  if ((*(int *)(param_1 + 0x10) == 0) ||\n     (iVar2 = *(int *)(*(int *)(param_1 + 0x10) + 0x18), iVar2 <= local_10)) {\n    uVar8 = *(uint *)(param_1 + 4);\n    iVar5 = *(int *)(param_1 + 0x14);\n  }\n  else {\n    uVar8 = *(uint *)(param_1 + 4);\n    iVar5 = *(int *)(param_1 + 0x14);\n    local_10 = iVar2;\n  }\n  uVar8 = uVar8 & 0x800;\n  puVar9 = (undefined4 *)PTR___stack_chk_guard_000f5568;\n  if (uVar8 == 0) {\n    if (iVar5 != 0) {\n      FUN_0002fca8(iVar5,&local_10);\n      iVar2 = **(int **)(param_1 + 0x14);\n      if (0 < iVar2) {\n        piVar3 = *(int **)(param_1 + 0x14) + 1;\n        iVar5 = 0;\n        do {\n          iVar6 = *piVar3;\n          iVar5 = iVar5 + 1;\n          piVar3 = piVar3 + 4;\n          uVar8 = uVar8 | *(uint *)(iVar6 + 4);\n        } while (iVar5 != iVar2);\n        uVar8 = uVar8 & 0x200104;\n      }\n      *(uint *)(param_1 + 4) = *(uint *)(param_1 + 4) | uVar8;\n    }\n  }\n  else {\n    FUN_0002fcf8(iVar5,&local_10);\n  }\n  pbVar4 = (byte *)*puVar9;\n  *(int *)(param_1 + 0x18) = local_10 + 1;\n  if (local_c != pbVar4) {\n    puVar10 = PTR___stack_chk_fail_000f5540;\n    (*(code *)PTR___stack_chk_fail_000f5540)();\n    iVar2 = *(int *)(puVar10 + 0xc53bc) + 0x25ac;\n    pbVar4 = (byte *)(*(int *)(puVar10 + 0xc53b4) + 0x7010);\n    pbVar7 = local_c;\n    do {\n      while( true ) {\n        uVar8 = (uint)*pbVar7;\n        bVar1 = *pbVar4;\n        pbVar7 = pbVar7 + 1;\n        if (uVar8 == bVar1) break;\n        pbVar4 = pbVar4 + 1;\n        if (*(char *)(iVar2 + uVar8) != *(char *)(iVar2 + (uint)bVar1)) {\n          pbVar4 = (byte *)(*(int *)(puVar10 + 0xc53b4) + 0x7018);\n          do {\n            while( true ) {\n              uVar8 = (uint)*local_c;\n              bVar1 = *pbVar4;\n              local_c = local_c + 1;\n              if (uVar8 == bVar1) break;\n              pbVar4 = pbVar4 + 1;\n              if (*(char *)(iVar2 + uVar8) != *(char *)(iVar2 + (uint)bVar1)) {\n                return 0;\n              }\n            }\n            pbVar4 = pbVar4 + 1;\n          } while (uVar8 != 0);\n          return 0x20000000;\n        }\n      }\n      pbVar4 = pbVar4 + 1;\n    } while (uVar8 != 0);\n    return 0x10000000;\n  }\n  return local_10 + 1;\n}" primitive_type (function_declarator "FUN_0002fde8(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  byte bVar1;\n  int iVar2;\n  int *piVar3;\n  byte *pbVar4;\n  int iVar5;\n  int iVar6;\n  byte *pbVar7;\n  uint uVar8;\n  undefined4 *puVar9;\n  undefined *puVar10;\n  int local_10;\n  byte *local_c;\n  \n  local_10 = 0;\n  local_c = *(byte **)PTR___stack_chk_guard_000f5568;\n  if ((*(int *)(param_1 + 0xc) != 0) &&\n     (iVar2 = *(int *)(*(int *)(param_1 + 0xc) + 0x18), 0 < iVar2)) {\n    local_10 = iVar2;\n  }\n  if ((*(int *)(param_1 + 0x10) == 0) ||\n     (iVar2 = *(int *)(*(int *)(param_1 + 0x10) + 0x18), iVar2 <= local_10)) {\n    uVar8 = *(uint *)(param_1 + 4);\n    iVar5 = *(int *)(param_1 + 0x14);\n  }\n  else {\n    uVar8 = *(uint *)(param_1 + 4);\n    iVar5 = *(int *)(param_1 + 0x14);\n    local_10 = iVar2;\n  }\n  uVar8 = uVar8 & 0x800;\n  puVar9 = (undefined4 *)PTR___stack_chk_guard_000f5568;\n  if (uVar8 == 0) {\n    if (iVar5 != 0) {\n      FUN_0002fca8(iVar5,&local_10);\n      iVar2 = **(int **)(param_1 + 0x14);\n      if (0 < iVar2) {\n        piVar3 = *(int **)(param_1 + 0x14) + 1;\n        iVar5 = 0;\n        do {\n          iVar6 = *piVar3;\n          iVar5 = iVar5 + 1;\n          piVar3 = piVar3 + 4;\n          uVar8 = uVar8 | *(uint *)(iVar6 + 4);\n        } while (iVar5 != iVar2);\n        uVar8 = uVar8 & 0x200104;\n      }\n      *(uint *)(param_1 + 4) = *(uint *)(param_1 + 4) | uVar8;\n    }\n  }\n  else {\n    FUN_0002fcf8(iVar5,&local_10);\n  }\n  pbVar4 = (byte *)*puVar9;\n  *(int *)(param_1 + 0x18) = local_10 + 1;\n  if (local_c != pbVar4) {\n    puVar10 = PTR___stack_chk_fail_000f5540;\n    (*(code *)PTR___stack_chk_fail_000f5540)();\n    iVar2 = *(int *)(puVar10 + 0xc53bc) + 0x25ac;\n    pbVar4 = (byte *)(*(int *)(puVar10 + 0xc53b4) + 0x7010);\n    pbVar7 = local_c;\n    do {\n      while( true ) {\n        uVar8 = (uint)*pbVar7;\n        bVar1 = *pbVar4;\n        pbVar7 = pbVar7 + 1;\n        if (uVar8 == bVar1) break;\n        pbVar4 = pbVar4 + 1;\n        if (*(char *)(iVar2 + uVar8) != *(char *)(iVar2 + (uint)bVar1)) {\n          pbVar4 = (byte *)(*(int *)(puVar10 + 0xc53b4) + 0x7018);\n          do {\n            while( true ) {\n              uVar8 = (uint)*local_c;\n              bVar1 = *pbVar4;\n              local_c = local_c + 1;\n              if (uVar8 == bVar1) break;\n              pbVar4 = pbVar4 + 1;\n              if (*(char *)(iVar2 + uVar8) != *(char *)(iVar2 + (uint)bVar1)) {\n                return 0;\n              }\n            }\n            pbVar4 = pbVar4 + 1;\n          } while (uVar8 != 0);\n          return 0x20000000;\n        }\n      }\n      pbVar4 = pbVar4 + 1;\n    } while (uVar8 != 0);\n    return 0x10000000;\n  }\n  return local_10 + 1;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "byte *pbVar4;" type_identifier (pointer_declarator "*pbVar4" * identifier) ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "byte *pbVar7;" type_identifier (pointer_declarator "*pbVar7" * identifier) ;) (declaration "uint uVar8;" type_identifier identifier ;) (declaration "undefined4 *puVar9;" type_identifier (pointer_declarator "*puVar9" * identifier) ;) (declaration "undefined *puVar10;" type_identifier (pointer_declarator "*puVar10" * identifier) ;) (declaration "int local_10;" primitive_type identifier ;) (declaration "byte *local_c;" type_identifier (pointer_declarator "*local_c" * identifier) ;) (expression_statement "local_10 = 0;" (assignment_expression "local_10 = 0" identifier = number_literal) ;) (expression_statement "local_c = *(byte **)PTR___stack_chk_guard_000f5568;" (assignment_expression "local_c = *(byte **)PTR___stack_chk_guard_000f5568" identifier = (pointer_expression "*(byte **)PTR___stack_chk_guard_000f5568" * (cast_expression "(byte **)PTR___stack_chk_guard_000f5568" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (if_statement "if ((*(int *)(param_1 + 0xc) != 0) &&\n     (iVar2 = *(int *)(*(int *)(param_1 + 0xc) + 0x18), 0 < iVar2)) {\n    local_10 = iVar2;\n  }" if (parenthesized_expression "((*(int *)(param_1 + 0xc) != 0) &&\n     (iVar2 = *(int *)(*(int *)(param_1 + 0xc) + 0x18), 0 < iVar2))" ( (binary_expression "(*(int *)(param_1 + 0xc) != 0) &&\n     (iVar2 = *(int *)(*(int *)(param_1 + 0xc) + 0x18), 0 < iVar2)" (parenthesized_expression "(*(int *)(param_1 + 0xc) != 0)" ( (binary_expression "*(int *)(param_1 + 0xc) != 0" (pointer_expression "*(int *)(param_1 + 0xc)" * (cast_expression "(int *)(param_1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) != number_literal) )) && (parenthesized_expression "(iVar2 = *(int *)(*(int *)(param_1 + 0xc) + 0x18), 0 < iVar2)" ( (comma_expression "iVar2 = *(int *)(*(int *)(param_1 + 0xc) + 0x18), 0 < iVar2" (assignment_expression "iVar2 = *(int *)(*(int *)(param_1 + 0xc) + 0x18)" identifier = (pointer_expression "*(int *)(*(int *)(param_1 + 0xc) + 0x18)" * (cast_expression "(int *)(*(int *)(param_1 + 0xc) + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0xc) + 0x18)" ( (binary_expression "*(int *)(param_1 + 0xc) + 0x18" (pointer_expression "*(int *)(param_1 + 0xc)" * (cast_expression "(int *)(param_1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) + number_literal) ))))) , (binary_expression "0 < iVar2" number_literal < identifier)) ))) )) (compound_statement "{\n    local_10 = iVar2;\n  }" { (expression_statement "local_10 = iVar2;" (assignment_expression "local_10 = iVar2" identifier = identifier) ;) })) (if_statement "if ((*(int *)(param_1 + 0x10) == 0) ||\n     (iVar2 = *(int *)(*(int *)(param_1 + 0x10) + 0x18), iVar2 <= local_10)) {\n    uVar8 = *(uint *)(param_1 + 4);\n    iVar5 = *(int *)(param_1 + 0x14);\n  }\n  else {\n    uVar8 = *(uint *)(param_1 + 4);\n    iVar5 = *(int *)(param_1 + 0x14);\n    local_10 = iVar2;\n  }" if (parenthesized_expression "((*(int *)(param_1 + 0x10) == 0) ||\n     (iVar2 = *(int *)(*(int *)(param_1 + 0x10) + 0x18), iVar2 <= local_10))" ( (binary_expression "(*(int *)(param_1 + 0x10) == 0) ||\n     (iVar2 = *(int *)(*(int *)(param_1 + 0x10) + 0x18), iVar2 <= local_10)" (parenthesized_expression "(*(int *)(param_1 + 0x10) == 0)" ( (binary_expression "*(int *)(param_1 + 0x10) == 0" (pointer_expression "*(int *)(param_1 + 0x10)" * (cast_expression "(int *)(param_1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) == number_literal) )) || (parenthesized_expression "(iVar2 = *(int *)(*(int *)(param_1 + 0x10) + 0x18), iVar2 <= local_10)" ( (comma_expression "iVar2 = *(int *)(*(int *)(param_1 + 0x10) + 0x18), iVar2 <= local_10" (assignment_expression "iVar2 = *(int *)(*(int *)(param_1 + 0x10) + 0x18)" identifier = (pointer_expression "*(int *)(*(int *)(param_1 + 0x10) + 0x18)" * (cast_expression "(int *)(*(int *)(param_1 + 0x10) + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0x10) + 0x18)" ( (binary_expression "*(int *)(param_1 + 0x10) + 0x18" (pointer_expression "*(int *)(param_1 + 0x10)" * (cast_expression "(int *)(param_1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) + number_literal) ))))) , (binary_expression "iVar2 <= local_10" identifier <= identifier)) ))) )) (compound_statement "{\n    uVar8 = *(uint *)(param_1 + 4);\n    iVar5 = *(int *)(param_1 + 0x14);\n  }" { (expression_statement "uVar8 = *(uint *)(param_1 + 4);" (assignment_expression "uVar8 = *(uint *)(param_1 + 4)" identifier = (pointer_expression "*(uint *)(param_1 + 4)" * (cast_expression "(uint *)(param_1 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) ;) (expression_statement "iVar5 = *(int *)(param_1 + 0x14);" (assignment_expression "iVar5 = *(int *)(param_1 + 0x14)" identifier = (pointer_expression "*(int *)(param_1 + 0x14)" * (cast_expression "(int *)(param_1 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) ))))) ;) }) (else_clause "else {\n    uVar8 = *(uint *)(param_1 + 4);\n    iVar5 = *(int *)(param_1 + 0x14);\n    local_10 = iVar2;\n  }" else (compound_statement "{\n    uVar8 = *(uint *)(param_1 + 4);\n    iVar5 = *(int *)(param_1 + 0x14);\n    local_10 = iVar2;\n  }" { (expression_statement "uVar8 = *(uint *)(param_1 + 4);" (assignment_expression "uVar8 = *(uint *)(param_1 + 4)" identifier = (pointer_expression "*(uint *)(param_1 + 4)" * (cast_expression "(uint *)(param_1 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) ;) (expression_statement "iVar5 = *(int *)(param_1 + 0x14);" (assignment_expression "iVar5 = *(int *)(param_1 + 0x14)" identifier = (pointer_expression "*(int *)(param_1 + 0x14)" * (cast_expression "(int *)(param_1 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) ))))) ;) (expression_statement "local_10 = iVar2;" (assignment_expression "local_10 = iVar2" identifier = identifier) ;) }))) (expression_statement "uVar8 = uVar8 & 0x800;" (assignment_expression "uVar8 = uVar8 & 0x800" identifier = (binary_expression "uVar8 & 0x800" identifier & number_literal)) ;) (expression_statement "puVar9 = (undefined4 *)PTR___stack_chk_guard_000f5568;" (assignment_expression "puVar9 = (undefined4 *)PTR___stack_chk_guard_000f5568" identifier = (cast_expression "(undefined4 *)PTR___stack_chk_guard_000f5568" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (if_statement "if (uVar8 == 0) {\n    if (iVar5 != 0) {\n      FUN_0002fca8(iVar5,&local_10);\n      iVar2 = **(int **)(param_1 + 0x14);\n      if (0 < iVar2) {\n        piVar3 = *(int **)(param_1 + 0x14) + 1;\n        iVar5 = 0;\n        do {\n          iVar6 = *piVar3;\n          iVar5 = iVar5 + 1;\n          piVar3 = piVar3 + 4;\n          uVar8 = uVar8 | *(uint *)(iVar6 + 4);\n        } while (iVar5 != iVar2);\n        uVar8 = uVar8 & 0x200104;\n      }\n      *(uint *)(param_1 + 4) = *(uint *)(param_1 + 4) | uVar8;\n    }\n  }\n  else {\n    FUN_0002fcf8(iVar5,&local_10);\n  }" if (parenthesized_expression "(uVar8 == 0)" ( (binary_expression "uVar8 == 0" identifier == number_literal) )) (compound_statement "{\n    if (iVar5 != 0) {\n      FUN_0002fca8(iVar5,&local_10);\n      iVar2 = **(int **)(param_1 + 0x14);\n      if (0 < iVar2) {\n        piVar3 = *(int **)(param_1 + 0x14) + 1;\n        iVar5 = 0;\n        do {\n          iVar6 = *piVar3;\n          iVar5 = iVar5 + 1;\n          piVar3 = piVar3 + 4;\n          uVar8 = uVar8 | *(uint *)(iVar6 + 4);\n        } while (iVar5 != iVar2);\n        uVar8 = uVar8 & 0x200104;\n      }\n      *(uint *)(param_1 + 4) = *(uint *)(param_1 + 4) | uVar8;\n    }\n  }" { (if_statement "if (iVar5 != 0) {\n      FUN_0002fca8(iVar5,&local_10);\n      iVar2 = **(int **)(param_1 + 0x14);\n      if (0 < iVar2) {\n        piVar3 = *(int **)(param_1 + 0x14) + 1;\n        iVar5 = 0;\n        do {\n          iVar6 = *piVar3;\n          iVar5 = iVar5 + 1;\n          piVar3 = piVar3 + 4;\n          uVar8 = uVar8 | *(uint *)(iVar6 + 4);\n        } while (iVar5 != iVar2);\n        uVar8 = uVar8 & 0x200104;\n      }\n      *(uint *)(param_1 + 4) = *(uint *)(param_1 + 4) | uVar8;\n    }" if (parenthesized_expression "(iVar5 != 0)" ( (binary_expression "iVar5 != 0" identifier != number_literal) )) (compound_statement "{\n      FUN_0002fca8(iVar5,&local_10);\n      iVar2 = **(int **)(param_1 + 0x14);\n      if (0 < iVar2) {\n        piVar3 = *(int **)(param_1 + 0x14) + 1;\n        iVar5 = 0;\n        do {\n          iVar6 = *piVar3;\n          iVar5 = iVar5 + 1;\n          piVar3 = piVar3 + 4;\n          uVar8 = uVar8 | *(uint *)(iVar6 + 4);\n        } while (iVar5 != iVar2);\n        uVar8 = uVar8 & 0x200104;\n      }\n      *(uint *)(param_1 + 4) = *(uint *)(param_1 + 4) | uVar8;\n    }" { (expression_statement "FUN_0002fca8(iVar5,&local_10);" (call_expression "FUN_0002fca8(iVar5,&local_10)" identifier (argument_list "(iVar5,&local_10)" ( identifier , (pointer_expression "&local_10" & identifier) ))) ;) (expression_statement "iVar2 = **(int **)(param_1 + 0x14);" (assignment_expression "iVar2 = **(int **)(param_1 + 0x14)" identifier = (pointer_expression "**(int **)(param_1 + 0x14)" * (pointer_expression "*(int **)(param_1 + 0x14)" * (cast_expression "(int **)(param_1 + 0x14)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))))) ;) (if_statement "if (0 < iVar2) {\n        piVar3 = *(int **)(param_1 + 0x14) + 1;\n        iVar5 = 0;\n        do {\n          iVar6 = *piVar3;\n          iVar5 = iVar5 + 1;\n          piVar3 = piVar3 + 4;\n          uVar8 = uVar8 | *(uint *)(iVar6 + 4);\n        } while (iVar5 != iVar2);\n        uVar8 = uVar8 & 0x200104;\n      }" if (parenthesized_expression "(0 < iVar2)" ( (binary_expression "0 < iVar2" number_literal < identifier) )) (compound_statement "{\n        piVar3 = *(int **)(param_1 + 0x14) + 1;\n        iVar5 = 0;\n        do {\n          iVar6 = *piVar3;\n          iVar5 = iVar5 + 1;\n          piVar3 = piVar3 + 4;\n          uVar8 = uVar8 | *(uint *)(iVar6 + 4);\n        } while (iVar5 != iVar2);\n        uVar8 = uVar8 & 0x200104;\n      }" { (expression_statement "piVar3 = *(int **)(param_1 + 0x14) + 1;" (assignment_expression "piVar3 = *(int **)(param_1 + 0x14) + 1" identifier = (binary_expression "*(int **)(param_1 + 0x14) + 1" (pointer_expression "*(int **)(param_1 + 0x14)" * (cast_expression "(int **)(param_1 + 0x14)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (do_statement "do {\n          iVar6 = *piVar3;\n          iVar5 = iVar5 + 1;\n          piVar3 = piVar3 + 4;\n          uVar8 = uVar8 | *(uint *)(iVar6 + 4);\n        } while (iVar5 != iVar2);" do (compound_statement "{\n          iVar6 = *piVar3;\n          iVar5 = iVar5 + 1;\n          piVar3 = piVar3 + 4;\n          uVar8 = uVar8 | *(uint *)(iVar6 + 4);\n        }" { (expression_statement "iVar6 = *piVar3;" (assignment_expression "iVar6 = *piVar3" identifier = (pointer_expression "*piVar3" * identifier)) ;) (expression_statement "iVar5 = iVar5 + 1;" (assignment_expression "iVar5 = iVar5 + 1" identifier = (binary_expression "iVar5 + 1" identifier + number_literal)) ;) (expression_statement "piVar3 = piVar3 + 4;" (assignment_expression "piVar3 = piVar3 + 4" identifier = (binary_expression "piVar3 + 4" identifier + number_literal)) ;) (expression_statement "uVar8 = uVar8 | *(uint *)(iVar6 + 4);" (assignment_expression "uVar8 = uVar8 | *(uint *)(iVar6 + 4)" identifier = (binary_expression "uVar8 | *(uint *)(iVar6 + 4)" identifier | (pointer_expression "*(uint *)(iVar6 + 4)" * (cast_expression "(uint *)(iVar6 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 4)" ( (binary_expression "iVar6 + 4" identifier + number_literal) )))))) ;) }) while (parenthesized_expression "(iVar5 != iVar2)" ( (binary_expression "iVar5 != iVar2" identifier != identifier) )) ;) (expression_statement "uVar8 = uVar8 & 0x200104;" (assignment_expression "uVar8 = uVar8 & 0x200104" identifier = (binary_expression "uVar8 & 0x200104" identifier & number_literal)) ;) })) (expression_statement "*(uint *)(param_1 + 4) = *(uint *)(param_1 + 4) | uVar8;" (assignment_expression "*(uint *)(param_1 + 4) = *(uint *)(param_1 + 4) | uVar8" (pointer_expression "*(uint *)(param_1 + 4)" * (cast_expression "(uint *)(param_1 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) = (binary_expression "*(uint *)(param_1 + 4) | uVar8" (pointer_expression "*(uint *)(param_1 + 4)" * (cast_expression "(uint *)(param_1 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) | identifier)) ;) })) }) (else_clause "else {\n    FUN_0002fcf8(iVar5,&local_10);\n  }" else (compound_statement "{\n    FUN_0002fcf8(iVar5,&local_10);\n  }" { (expression_statement "FUN_0002fcf8(iVar5,&local_10);" (call_expression "FUN_0002fcf8(iVar5,&local_10)" identifier (argument_list "(iVar5,&local_10)" ( identifier , (pointer_expression "&local_10" & identifier) ))) ;) }))) (expression_statement "pbVar4 = (byte *)*puVar9;" (assignment_expression "pbVar4 = (byte *)*puVar9" identifier = (cast_expression "(byte *)*puVar9" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar9" * identifier))) ;) (expression_statement "*(int *)(param_1 + 0x18) = local_10 + 1;" (assignment_expression "*(int *)(param_1 + 0x18) = local_10 + 1" (pointer_expression "*(int *)(param_1 + 0x18)" * (cast_expression "(int *)(param_1 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) )))) = (binary_expression "local_10 + 1" identifier + number_literal)) ;) (if_statement "if (local_c != pbVar4) {\n    puVar10 = PTR___stack_chk_fail_000f5540;\n    (*(code *)PTR___stack_chk_fail_000f5540)();\n    iVar2 = *(int *)(puVar10 + 0xc53bc) + 0x25ac;\n    pbVar4 = (byte *)(*(int *)(puVar10 + 0xc53b4) + 0x7010);\n    pbVar7 = local_c;\n    do {\n      while( true ) {\n        uVar8 = (uint)*pbVar7;\n        bVar1 = *pbVar4;\n        pbVar7 = pbVar7 + 1;\n        if (uVar8 == bVar1) break;\n        pbVar4 = pbVar4 + 1;\n        if (*(char *)(iVar2 + uVar8) != *(char *)(iVar2 + (uint)bVar1)) {\n          pbVar4 = (byte *)(*(int *)(puVar10 + 0xc53b4) + 0x7018);\n          do {\n            while( true ) {\n              uVar8 = (uint)*local_c;\n              bVar1 = *pbVar4;\n              local_c = local_c + 1;\n              if (uVar8 == bVar1) break;\n              pbVar4 = pbVar4 + 1;\n              if (*(char *)(iVar2 + uVar8) != *(char *)(iVar2 + (uint)bVar1)) {\n                return 0;\n              }\n            }\n            pbVar4 = pbVar4 + 1;\n          } while (uVar8 != 0);\n          return 0x20000000;\n        }\n      }\n      pbVar4 = pbVar4 + 1;\n    } while (uVar8 != 0);\n    return 0x10000000;\n  }" if (parenthesized_expression "(local_c != pbVar4)" ( (binary_expression "local_c != pbVar4" identifier != identifier) )) (compound_statement "{\n    puVar10 = PTR___stack_chk_fail_000f5540;\n    (*(code *)PTR___stack_chk_fail_000f5540)();\n    iVar2 = *(int *)(puVar10 + 0xc53bc) + 0x25ac;\n    pbVar4 = (byte *)(*(int *)(puVar10 + 0xc53b4) + 0x7010);\n    pbVar7 = local_c;\n    do {\n      while( true ) {\n        uVar8 = (uint)*pbVar7;\n        bVar1 = *pbVar4;\n        pbVar7 = pbVar7 + 1;\n        if (uVar8 == bVar1) break;\n        pbVar4 = pbVar4 + 1;\n        if (*(char *)(iVar2 + uVar8) != *(char *)(iVar2 + (uint)bVar1)) {\n          pbVar4 = (byte *)(*(int *)(puVar10 + 0xc53b4) + 0x7018);\n          do {\n            while( true ) {\n              uVar8 = (uint)*local_c;\n              bVar1 = *pbVar4;\n              local_c = local_c + 1;\n              if (uVar8 == bVar1) break;\n              pbVar4 = pbVar4 + 1;\n              if (*(char *)(iVar2 + uVar8) != *(char *)(iVar2 + (uint)bVar1)) {\n                return 0;\n              }\n            }\n            pbVar4 = pbVar4 + 1;\n          } while (uVar8 != 0);\n          return 0x20000000;\n        }\n      }\n      pbVar4 = pbVar4 + 1;\n    } while (uVar8 != 0);\n    return 0x10000000;\n  }" { (expression_statement "puVar10 = PTR___stack_chk_fail_000f5540;" (assignment_expression "puVar10 = PTR___stack_chk_fail_000f5540" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_000f5540)();" (call_expression "(*(code *)PTR___stack_chk_fail_000f5540)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000f5540)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_000f5540" * (cast_expression "(code *)PTR___stack_chk_fail_000f5540" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "iVar2 = *(int *)(puVar10 + 0xc53bc) + 0x25ac;" (assignment_expression "iVar2 = *(int *)(puVar10 + 0xc53bc) + 0x25ac" identifier = (binary_expression "*(int *)(puVar10 + 0xc53bc) + 0x25ac" (pointer_expression "*(int *)(puVar10 + 0xc53bc)" * (cast_expression "(int *)(puVar10 + 0xc53bc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar10 + 0xc53bc)" ( (binary_expression "puVar10 + 0xc53bc" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "pbVar4 = (byte *)(*(int *)(puVar10 + 0xc53b4) + 0x7010);" (assignment_expression "pbVar4 = (byte *)(*(int *)(puVar10 + 0xc53b4) + 0x7010)" identifier = (cast_expression "(byte *)(*(int *)(puVar10 + 0xc53b4) + 0x7010)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar10 + 0xc53b4) + 0x7010)" ( (binary_expression "*(int *)(puVar10 + 0xc53b4) + 0x7010" (pointer_expression "*(int *)(puVar10 + 0xc53b4)" * (cast_expression "(int *)(puVar10 + 0xc53b4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar10 + 0xc53b4)" ( (binary_expression "puVar10 + 0xc53b4" identifier + number_literal) )))) + number_literal) )))) ;) (expression_statement "pbVar7 = local_c;" (assignment_expression "pbVar7 = local_c" identifier = identifier) ;) (do_statement "do {\n      while( true ) {\n        uVar8 = (uint)*pbVar7;\n        bVar1 = *pbVar4;\n        pbVar7 = pbVar7 + 1;\n        if (uVar8 == bVar1) break;\n        pbVar4 = pbVar4 + 1;\n        if (*(char *)(iVar2 + uVar8) != *(char *)(iVar2 + (uint)bVar1)) {\n          pbVar4 = (byte *)(*(int *)(puVar10 + 0xc53b4) + 0x7018);\n          do {\n            while( true ) {\n              uVar8 = (uint)*local_c;\n              bVar1 = *pbVar4;\n              local_c = local_c + 1;\n              if (uVar8 == bVar1) break;\n              pbVar4 = pbVar4 + 1;\n              if (*(char *)(iVar2 + uVar8) != *(char *)(iVar2 + (uint)bVar1)) {\n                return 0;\n              }\n            }\n            pbVar4 = pbVar4 + 1;\n          } while (uVar8 != 0);\n          return 0x20000000;\n        }\n      }\n      pbVar4 = pbVar4 + 1;\n    } while (uVar8 != 0);" do (compound_statement "{\n      while( true ) {\n        uVar8 = (uint)*pbVar7;\n        bVar1 = *pbVar4;\n        pbVar7 = pbVar7 + 1;\n        if (uVar8 == bVar1) break;\n        pbVar4 = pbVar4 + 1;\n        if (*(char *)(iVar2 + uVar8) != *(char *)(iVar2 + (uint)bVar1)) {\n          pbVar4 = (byte *)(*(int *)(puVar10 + 0xc53b4) + 0x7018);\n          do {\n            while( true ) {\n              uVar8 = (uint)*local_c;\n              bVar1 = *pbVar4;\n              local_c = local_c + 1;\n              if (uVar8 == bVar1) break;\n              pbVar4 = pbVar4 + 1;\n              if (*(char *)(iVar2 + uVar8) != *(char *)(iVar2 + (uint)bVar1)) {\n                return 0;\n              }\n            }\n            pbVar4 = pbVar4 + 1;\n          } while (uVar8 != 0);\n          return 0x20000000;\n        }\n      }\n      pbVar4 = pbVar4 + 1;\n    }" { (while_statement "while( true ) {\n        uVar8 = (uint)*pbVar7;\n        bVar1 = *pbVar4;\n        pbVar7 = pbVar7 + 1;\n        if (uVar8 == bVar1) break;\n        pbVar4 = pbVar4 + 1;\n        if (*(char *)(iVar2 + uVar8) != *(char *)(iVar2 + (uint)bVar1)) {\n          pbVar4 = (byte *)(*(int *)(puVar10 + 0xc53b4) + 0x7018);\n          do {\n            while( true ) {\n              uVar8 = (uint)*local_c;\n              bVar1 = *pbVar4;\n              local_c = local_c + 1;\n              if (uVar8 == bVar1) break;\n              pbVar4 = pbVar4 + 1;\n              if (*(char *)(iVar2 + uVar8) != *(char *)(iVar2 + (uint)bVar1)) {\n                return 0;\n              }\n            }\n            pbVar4 = pbVar4 + 1;\n          } while (uVar8 != 0);\n          return 0x20000000;\n        }\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        uVar8 = (uint)*pbVar7;\n        bVar1 = *pbVar4;\n        pbVar7 = pbVar7 + 1;\n        if (uVar8 == bVar1) break;\n        pbVar4 = pbVar4 + 1;\n        if (*(char *)(iVar2 + uVar8) != *(char *)(iVar2 + (uint)bVar1)) {\n          pbVar4 = (byte *)(*(int *)(puVar10 + 0xc53b4) + 0x7018);\n          do {\n            while( true ) {\n              uVar8 = (uint)*local_c;\n              bVar1 = *pbVar4;\n              local_c = local_c + 1;\n              if (uVar8 == bVar1) break;\n              pbVar4 = pbVar4 + 1;\n              if (*(char *)(iVar2 + uVar8) != *(char *)(iVar2 + (uint)bVar1)) {\n                return 0;\n              }\n            }\n            pbVar4 = pbVar4 + 1;\n          } while (uVar8 != 0);\n          return 0x20000000;\n        }\n      }" { (expression_statement "uVar8 = (uint)*pbVar7;" (assignment_expression "uVar8 = (uint)*pbVar7" identifier = (binary_expression "(uint)*pbVar7" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) (expression_statement "bVar1 = *pbVar4;" (assignment_expression "bVar1 = *pbVar4" identifier = (pointer_expression "*pbVar4" * identifier)) ;) (expression_statement "pbVar7 = pbVar7 + 1;" (assignment_expression "pbVar7 = pbVar7 + 1" identifier = (binary_expression "pbVar7 + 1" identifier + number_literal)) ;) (if_statement "if (uVar8 == bVar1) break;" if (parenthesized_expression "(uVar8 == bVar1)" ( (binary_expression "uVar8 == bVar1" identifier == identifier) )) (break_statement "break;" break ;)) (expression_statement "pbVar4 = pbVar4 + 1;" (assignment_expression "pbVar4 = pbVar4 + 1" identifier = (binary_expression "pbVar4 + 1" identifier + number_literal)) ;) (if_statement "if (*(char *)(iVar2 + uVar8) != *(char *)(iVar2 + (uint)bVar1)) {\n          pbVar4 = (byte *)(*(int *)(puVar10 + 0xc53b4) + 0x7018);\n          do {\n            while( true ) {\n              uVar8 = (uint)*local_c;\n              bVar1 = *pbVar4;\n              local_c = local_c + 1;\n              if (uVar8 == bVar1) break;\n              pbVar4 = pbVar4 + 1;\n              if (*(char *)(iVar2 + uVar8) != *(char *)(iVar2 + (uint)bVar1)) {\n                return 0;\n              }\n            }\n            pbVar4 = pbVar4 + 1;\n          } while (uVar8 != 0);\n          return 0x20000000;\n        }" if (parenthesized_expression "(*(char *)(iVar2 + uVar8) != *(char *)(iVar2 + (uint)bVar1))" ( (binary_expression "*(char *)(iVar2 + uVar8) != *(char *)(iVar2 + (uint)bVar1)" (pointer_expression "*(char *)(iVar2 + uVar8)" * (cast_expression "(char *)(iVar2 + uVar8)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + uVar8)" ( (binary_expression "iVar2 + uVar8" identifier + identifier) )))) != (pointer_expression "*(char *)(iVar2 + (uint)bVar1)" * (cast_expression "(char *)(iVar2 + (uint)bVar1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + (uint)bVar1)" ( (binary_expression "iVar2 + (uint)bVar1" identifier + (cast_expression "(uint)bVar1" ( (type_descriptor "uint" type_identifier) ) identifier)) ))))) )) (compound_statement "{\n          pbVar4 = (byte *)(*(int *)(puVar10 + 0xc53b4) + 0x7018);\n          do {\n            while( true ) {\n              uVar8 = (uint)*local_c;\n              bVar1 = *pbVar4;\n              local_c = local_c + 1;\n              if (uVar8 == bVar1) break;\n              pbVar4 = pbVar4 + 1;\n              if (*(char *)(iVar2 + uVar8) != *(char *)(iVar2 + (uint)bVar1)) {\n                return 0;\n              }\n            }\n            pbVar4 = pbVar4 + 1;\n          } while (uVar8 != 0);\n          return 0x20000000;\n        }" { (expression_statement "pbVar4 = (byte *)(*(int *)(puVar10 + 0xc53b4) + 0x7018);" (assignment_expression "pbVar4 = (byte *)(*(int *)(puVar10 + 0xc53b4) + 0x7018)" identifier = (cast_expression "(byte *)(*(int *)(puVar10 + 0xc53b4) + 0x7018)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar10 + 0xc53b4) + 0x7018)" ( (binary_expression "*(int *)(puVar10 + 0xc53b4) + 0x7018" (pointer_expression "*(int *)(puVar10 + 0xc53b4)" * (cast_expression "(int *)(puVar10 + 0xc53b4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar10 + 0xc53b4)" ( (binary_expression "puVar10 + 0xc53b4" identifier + number_literal) )))) + number_literal) )))) ;) (do_statement "do {\n            while( true ) {\n              uVar8 = (uint)*local_c;\n              bVar1 = *pbVar4;\n              local_c = local_c + 1;\n              if (uVar8 == bVar1) break;\n              pbVar4 = pbVar4 + 1;\n              if (*(char *)(iVar2 + uVar8) != *(char *)(iVar2 + (uint)bVar1)) {\n                return 0;\n              }\n            }\n            pbVar4 = pbVar4 + 1;\n          } while (uVar8 != 0);" do (compound_statement "{\n            while( true ) {\n              uVar8 = (uint)*local_c;\n              bVar1 = *pbVar4;\n              local_c = local_c + 1;\n              if (uVar8 == bVar1) break;\n              pbVar4 = pbVar4 + 1;\n              if (*(char *)(iVar2 + uVar8) != *(char *)(iVar2 + (uint)bVar1)) {\n                return 0;\n              }\n            }\n            pbVar4 = pbVar4 + 1;\n          }" { (while_statement "while( true ) {\n              uVar8 = (uint)*local_c;\n              bVar1 = *pbVar4;\n              local_c = local_c + 1;\n              if (uVar8 == bVar1) break;\n              pbVar4 = pbVar4 + 1;\n              if (*(char *)(iVar2 + uVar8) != *(char *)(iVar2 + (uint)bVar1)) {\n                return 0;\n              }\n            }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n              uVar8 = (uint)*local_c;\n              bVar1 = *pbVar4;\n              local_c = local_c + 1;\n              if (uVar8 == bVar1) break;\n              pbVar4 = pbVar4 + 1;\n              if (*(char *)(iVar2 + uVar8) != *(char *)(iVar2 + (uint)bVar1)) {\n                return 0;\n              }\n            }" { (expression_statement "uVar8 = (uint)*local_c;" (assignment_expression "uVar8 = (uint)*local_c" identifier = (binary_expression "(uint)*local_c" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) (expression_statement "bVar1 = *pbVar4;" (assignment_expression "bVar1 = *pbVar4" identifier = (pointer_expression "*pbVar4" * identifier)) ;) (expression_statement "local_c = local_c + 1;" (assignment_expression "local_c = local_c + 1" identifier = (binary_expression "local_c + 1" identifier + number_literal)) ;) (if_statement "if (uVar8 == bVar1) break;" if (parenthesized_expression "(uVar8 == bVar1)" ( (binary_expression "uVar8 == bVar1" identifier == identifier) )) (break_statement "break;" break ;)) (expression_statement "pbVar4 = pbVar4 + 1;" (assignment_expression "pbVar4 = pbVar4 + 1" identifier = (binary_expression "pbVar4 + 1" identifier + number_literal)) ;) (if_statement "if (*(char *)(iVar2 + uVar8) != *(char *)(iVar2 + (uint)bVar1)) {\n                return 0;\n              }" if (parenthesized_expression "(*(char *)(iVar2 + uVar8) != *(char *)(iVar2 + (uint)bVar1))" ( (binary_expression "*(char *)(iVar2 + uVar8) != *(char *)(iVar2 + (uint)bVar1)" (pointer_expression "*(char *)(iVar2 + uVar8)" * (cast_expression "(char *)(iVar2 + uVar8)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + uVar8)" ( (binary_expression "iVar2 + uVar8" identifier + identifier) )))) != (pointer_expression "*(char *)(iVar2 + (uint)bVar1)" * (cast_expression "(char *)(iVar2 + (uint)bVar1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + (uint)bVar1)" ( (binary_expression "iVar2 + (uint)bVar1" identifier + (cast_expression "(uint)bVar1" ( (type_descriptor "uint" type_identifier) ) identifier)) ))))) )) (compound_statement "{\n                return 0;\n              }" { (return_statement "return 0;" return number_literal ;) })) })) (expression_statement "pbVar4 = pbVar4 + 1;" (assignment_expression "pbVar4 = pbVar4 + 1" identifier = (binary_expression "pbVar4 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar8 != 0)" ( (binary_expression "uVar8 != 0" identifier != number_literal) )) ;) (return_statement "return 0x20000000;" return number_literal ;) })) })) (expression_statement "pbVar4 = pbVar4 + 1;" (assignment_expression "pbVar4 = pbVar4 + 1" identifier = (binary_expression "pbVar4 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar8 != 0)" ( (binary_expression "uVar8 != 0" identifier != number_literal) )) ;) (return_statement "return 0x10000000;" return number_literal ;) })) (return_statement "return local_10 + 1;" return (binary_expression "local_10 + 1" identifier + number_literal) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))))) , (binary_expression LIT < IDENT)) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))))) , (binary_expression IDENT <= IDENT)) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }))) (expression_statement (assignment_expression IDENT = (binary_expression IDENT & LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , (pointer_expression & IDENT) ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))))) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT | (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))))) ;) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT & LIT)) ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) | IDENT)) ;) })) }) (else_clause else (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , (pointer_expression & IDENT) ))) ;) }))) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (compound_statement { (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 = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( IDENT )) * IDENT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) )))) != (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (cast_expression ( (type_descriptor TYPE) ) IDENT)) ))))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) ;) (do_statement do (compound_statement { (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( IDENT )) * IDENT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) )))) != (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (cast_expression ( (type_descriptor TYPE) ) IDENT)) ))))) )) (compound_statement { (return_statement return LIT ;) })) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) (return_statement return LIT ;) })) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) (return_statement return LIT ;) })) (return_statement return (binary_expression IDENT + LIT) ;) })))
(function_definition "int FUN_0002fde8(int param_1)\n\n{\n  byte bVar1;\n  int iVar2;\n  int *piVar3;\n  byte *pbVar4;\n  int iVar5;\n  int iVar6;\n  byte *pbVar7;\n  uint uVar8;\n  undefined4 *puVar9;\n  undefined *puVar10;\n  int local_10;\n  byte *local_c;\n  \n  local_10 = 0;\n  local_c = *(byte **)PTR___stack_chk_guard_000f5568;\n  if ((*(int *)(param_1 + 0xc) != 0) &&\n     (iVar2 = *(int *)(*(int *)(param_1 + 0xc) + 0x18), 0 < iVar2)) {\n    local_10 = iVar2;\n  }\n  if ((*(int *)(param_1 + 0x10) == 0) ||\n     (iVar2 = *(int *)(*(int *)(param_1 + 0x10) + 0x18), iVar2 <= local_10)) {\n    uVar8 = *(uint *)(param_1 + 4);\n    iVar5 = *(int *)(param_1 + 0x14);\n  }\n  else {\n    uVar8 = *(uint *)(param_1 + 4);\n    iVar5 = *(int *)(param_1 + 0x14);\n    local_10 = iVar2;\n  }\n  uVar8 = uVar8 & 0x800;\n  puVar9 = (undefined4 *)PTR___stack_chk_guard_000f5568;\n  if (uVar8 == 0) {\n    if (iVar5 != 0) {\n      FUN_0002fca8(iVar5,&local_10);\n      iVar2 = **(int **)(param_1 + 0x14);\n      if (0 < iVar2) {\n        piVar3 = *(int **)(param_1 + 0x14) + 1;\n        iVar5 = 0;\n        do {\n          iVar6 = *piVar3;\n          iVar5 = iVar5 + 1;\n          piVar3 = piVar3 + 4;\n          uVar8 = uVar8 | *(uint *)(iVar6 + 4);\n        } while (iVar5 != iVar2);\n        uVar8 = uVar8 & 0x200104;\n      }\n      *(uint *)(param_1 + 4) = *(uint *)(param_1 + 4) | uVar8;\n    }\n  }\n  else {\n    FUN_0002fcf8(iVar5,&local_10);\n  }\n  pbVar4 = (byte *)*puVar9;\n  *(int *)(param_1 + 0x18) = local_10 + 1;\n  if (local_c != pbVar4) {\n    puVar10 = PTR___stack_chk_fail_000f5540;\n    (*(code *)PTR___stack_chk_fail_000f5540)();\n    iVar2 = *(int *)(puVar10 + 0xc53bc) + 0x25ac;\n    pbVar4 = (byte *)(*(int *)(puVar10 + 0xc53b4) + 0x7010);\n    pbVar7 = local_c;\n    do {\n      while( true ) {\n        uVar8 = (uint)*pbVar7;\n        bVar1 = *pbVar4;\n        pbVar7 = pbVar7 + 1;\n        if (uVar8 == bVar1) break;\n        pbVar4 = pbVar4 + 1;\n        if (*(char *)(iVar2 + uVar8) != *(char *)(iVar2 + (uint)bVar1)) {\n          pbVar4 = (byte *)(*(int *)(puVar10 + 0xc53b4) + 0x7018);\n          do {\n            while( true ) {\n              uVar8 = (uint)*local_c;\n              bVar1 = *pbVar4;\n              local_c = local_c + 1;\n              if (uVar8 == bVar1) break;\n              pbVar4 = pbVar4 + 1;\n              if (*(char *)(iVar2 + uVar8) != *(char *)(iVar2 + (uint)bVar1)) {\n                return 0;\n              }\n            }\n            pbVar4 = pbVar4 + 1;\n          } while (uVar8 != 0);\n          return 0x20000000;\n        }\n      }\n      pbVar4 = pbVar4 + 1;\n    } while (uVar8 != 0);\n    return 0x10000000;\n  }\n  return local_10 + 1;\n}" (primitive_type "int") (function_declarator "FUN_0002fde8(int param_1)" (identifier "FUN_0002fde8") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  byte bVar1;\n  int iVar2;\n  int *piVar3;\n  byte *pbVar4;\n  int iVar5;\n  int iVar6;\n  byte *pbVar7;\n  uint uVar8;\n  undefined4 *puVar9;\n  undefined *puVar10;\n  int local_10;\n  byte *local_c;\n  \n  local_10 = 0;\n  local_c = *(byte **)PTR___stack_chk_guard_000f5568;\n  if ((*(int *)(param_1 + 0xc) != 0) &&\n     (iVar2 = *(int *)(*(int *)(param_1 + 0xc) + 0x18), 0 < iVar2)) {\n    local_10 = iVar2;\n  }\n  if ((*(int *)(param_1 + 0x10) == 0) ||\n     (iVar2 = *(int *)(*(int *)(param_1 + 0x10) + 0x18), iVar2 <= local_10)) {\n    uVar8 = *(uint *)(param_1 + 4);\n    iVar5 = *(int *)(param_1 + 0x14);\n  }\n  else {\n    uVar8 = *(uint *)(param_1 + 4);\n    iVar5 = *(int *)(param_1 + 0x14);\n    local_10 = iVar2;\n  }\n  uVar8 = uVar8 & 0x800;\n  puVar9 = (undefined4 *)PTR___stack_chk_guard_000f5568;\n  if (uVar8 == 0) {\n    if (iVar5 != 0) {\n      FUN_0002fca8(iVar5,&local_10);\n      iVar2 = **(int **)(param_1 + 0x14);\n      if (0 < iVar2) {\n        piVar3 = *(int **)(param_1 + 0x14) + 1;\n        iVar5 = 0;\n        do {\n          iVar6 = *piVar3;\n          iVar5 = iVar5 + 1;\n          piVar3 = piVar3 + 4;\n          uVar8 = uVar8 | *(uint *)(iVar6 + 4);\n        } while (iVar5 != iVar2);\n        uVar8 = uVar8 & 0x200104;\n      }\n      *(uint *)(param_1 + 4) = *(uint *)(param_1 + 4) | uVar8;\n    }\n  }\n  else {\n    FUN_0002fcf8(iVar5,&local_10);\n  }\n  pbVar4 = (byte *)*puVar9;\n  *(int *)(param_1 + 0x18) = local_10 + 1;\n  if (local_c != pbVar4) {\n    puVar10 = PTR___stack_chk_fail_000f5540;\n    (*(code *)PTR___stack_chk_fail_000f5540)();\n    iVar2 = *(int *)(puVar10 + 0xc53bc) + 0x25ac;\n    pbVar4 = (byte *)(*(int *)(puVar10 + 0xc53b4) + 0x7010);\n    pbVar7 = local_c;\n    do {\n      while( true ) {\n        uVar8 = (uint)*pbVar7;\n        bVar1 = *pbVar4;\n        pbVar7 = pbVar7 + 1;\n        if (uVar8 == bVar1) break;\n        pbVar4 = pbVar4 + 1;\n        if (*(char *)(iVar2 + uVar8) != *(char *)(iVar2 + (uint)bVar1)) {\n          pbVar4 = (byte *)(*(int *)(puVar10 + 0xc53b4) + 0x7018);\n          do {\n            while( true ) {\n              uVar8 = (uint)*local_c;\n              bVar1 = *pbVar4;\n              local_c = local_c + 1;\n              if (uVar8 == bVar1) break;\n              pbVar4 = pbVar4 + 1;\n              if (*(char *)(iVar2 + uVar8) != *(char *)(iVar2 + (uint)bVar1)) {\n                return 0;\n              }\n            }\n            pbVar4 = pbVar4 + 1;\n          } while (uVar8 != 0);\n          return 0x20000000;\n        }\n      }\n      pbVar4 = pbVar4 + 1;\n    } while (uVar8 != 0);\n    return 0x10000000;\n  }\n  return local_10 + 1;\n}" ({ "{") (declaration "byte bVar1;" (type_identifier "byte") (identifier "bVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "int *piVar3;" (primitive_type "int") (pointer_declarator "*piVar3" (* "*") (identifier "piVar3")) (; ";")) (declaration "byte *pbVar4;" (type_identifier "byte") (pointer_declarator "*pbVar4" (* "*") (identifier "pbVar4")) (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "byte *pbVar7;" (type_identifier "byte") (pointer_declarator "*pbVar7" (* "*") (identifier "pbVar7")) (; ";")) (declaration "uint uVar8;" (type_identifier "uint") (identifier "uVar8") (; ";")) (declaration "undefined4 *puVar9;" (type_identifier "undefined4") (pointer_declarator "*puVar9" (* "*") (identifier "puVar9")) (; ";")) (declaration "undefined *puVar10;" (type_identifier "undefined") (pointer_declarator "*puVar10" (* "*") (identifier "puVar10")) (; ";")) (declaration "int local_10;" (primitive_type "int") (identifier "local_10") (; ";")) (declaration "byte *local_c;" (type_identifier "byte") (pointer_declarator "*local_c" (* "*") (identifier "local_c")) (; ";")) (expression_statement "local_10 = 0;" (assignment_expression "local_10 = 0" (identifier "local_10") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_c = *(byte **)PTR___stack_chk_guard_000f5568;" (assignment_expression "local_c = *(byte **)PTR___stack_chk_guard_000f5568" (identifier "local_c") (= "=") (pointer_expression "*(byte **)PTR___stack_chk_guard_000f5568" (* "*") (cast_expression "(byte **)PTR___stack_chk_guard_000f5568" (( "(") (type_descriptor "byte **" (type_identifier "byte") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "PTR___stack_chk_guard_000f5568")))) (; ";")) (if_statement "if ((*(int *)(param_1 + 0xc) != 0) &&\n     (iVar2 = *(int *)(*(int *)(param_1 + 0xc) + 0x18), 0 < iVar2)) {\n    local_10 = iVar2;\n  }" (if "if") (parenthesized_expression "((*(int *)(param_1 + 0xc) != 0) &&\n     (iVar2 = *(int *)(*(int *)(param_1 + 0xc) + 0x18), 0 < iVar2))" (( "(") (binary_expression "(*(int *)(param_1 + 0xc) != 0) &&\n     (iVar2 = *(int *)(*(int *)(param_1 + 0xc) + 0x18), 0 < iVar2)" (parenthesized_expression "(*(int *)(param_1 + 0xc) != 0)" (( "(") (binary_expression "*(int *)(param_1 + 0xc) != 0" (pointer_expression "*(int *)(param_1 + 0xc)" (* "*") (cast_expression "(int *)(param_1 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xc)" (( "(") (binary_expression "param_1 + 0xc" (identifier "param_1") (+ "+") (number_literal "0xc")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(iVar2 = *(int *)(*(int *)(param_1 + 0xc) + 0x18), 0 < iVar2)" (( "(") (comma_expression "iVar2 = *(int *)(*(int *)(param_1 + 0xc) + 0x18), 0 < iVar2" (assignment_expression "iVar2 = *(int *)(*(int *)(param_1 + 0xc) + 0x18)" (identifier "iVar2") (= "=") (pointer_expression "*(int *)(*(int *)(param_1 + 0xc) + 0x18)" (* "*") (cast_expression "(int *)(*(int *)(param_1 + 0xc) + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_1 + 0xc) + 0x18)" (( "(") (binary_expression "*(int *)(param_1 + 0xc) + 0x18" (pointer_expression "*(int *)(param_1 + 0xc)" (* "*") (cast_expression "(int *)(param_1 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xc)" (( "(") (binary_expression "param_1 + 0xc" (identifier "param_1") (+ "+") (number_literal "0xc")) () ")")))) (+ "+") (number_literal "0x18")) () ")"))))) (, ",") (binary_expression "0 < iVar2" (number_literal "0") (< "<") (identifier "iVar2"))) () ")"))) () ")")) (compound_statement "{\n    local_10 = iVar2;\n  }" ({ "{") (expression_statement "local_10 = iVar2;" (assignment_expression "local_10 = iVar2" (identifier "local_10") (= "=") (identifier "iVar2")) (; ";")) (} "}"))) (if_statement "if ((*(int *)(param_1 + 0x10) == 0) ||\n     (iVar2 = *(int *)(*(int *)(param_1 + 0x10) + 0x18), iVar2 <= local_10)) {\n    uVar8 = *(uint *)(param_1 + 4);\n    iVar5 = *(int *)(param_1 + 0x14);\n  }\n  else {\n    uVar8 = *(uint *)(param_1 + 4);\n    iVar5 = *(int *)(param_1 + 0x14);\n    local_10 = iVar2;\n  }" (if "if") (parenthesized_expression "((*(int *)(param_1 + 0x10) == 0) ||\n     (iVar2 = *(int *)(*(int *)(param_1 + 0x10) + 0x18), iVar2 <= local_10))" (( "(") (binary_expression "(*(int *)(param_1 + 0x10) == 0) ||\n     (iVar2 = *(int *)(*(int *)(param_1 + 0x10) + 0x18), iVar2 <= local_10)" (parenthesized_expression "(*(int *)(param_1 + 0x10) == 0)" (( "(") (binary_expression "*(int *)(param_1 + 0x10) == 0" (pointer_expression "*(int *)(param_1 + 0x10)" (* "*") (cast_expression "(int *)(param_1 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")")))) (== "==") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(iVar2 = *(int *)(*(int *)(param_1 + 0x10) + 0x18), iVar2 <= local_10)" (( "(") (comma_expression "iVar2 = *(int *)(*(int *)(param_1 + 0x10) + 0x18), iVar2 <= local_10" (assignment_expression "iVar2 = *(int *)(*(int *)(param_1 + 0x10) + 0x18)" (identifier "iVar2") (= "=") (pointer_expression "*(int *)(*(int *)(param_1 + 0x10) + 0x18)" (* "*") (cast_expression "(int *)(*(int *)(param_1 + 0x10) + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_1 + 0x10) + 0x18)" (( "(") (binary_expression "*(int *)(param_1 + 0x10) + 0x18" (pointer_expression "*(int *)(param_1 + 0x10)" (* "*") (cast_expression "(int *)(param_1 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")")))) (+ "+") (number_literal "0x18")) () ")"))))) (, ",") (binary_expression "iVar2 <= local_10" (identifier "iVar2") (<= "<=") (identifier "local_10"))) () ")"))) () ")")) (compound_statement "{\n    uVar8 = *(uint *)(param_1 + 4);\n    iVar5 = *(int *)(param_1 + 0x14);\n  }" ({ "{") (expression_statement "uVar8 = *(uint *)(param_1 + 4);" (assignment_expression "uVar8 = *(uint *)(param_1 + 4)" (identifier "uVar8") (= "=") (pointer_expression "*(uint *)(param_1 + 4)" (* "*") (cast_expression "(uint *)(param_1 + 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (expression_statement "iVar5 = *(int *)(param_1 + 0x14);" (assignment_expression "iVar5 = *(int *)(param_1 + 0x14)" (identifier "iVar5") (= "=") (pointer_expression "*(int *)(param_1 + 0x14)" (* "*") (cast_expression "(int *)(param_1 + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x14)" (( "(") (binary_expression "param_1 + 0x14" (identifier "param_1") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (} "}")) (else_clause "else {\n    uVar8 = *(uint *)(param_1 + 4);\n    iVar5 = *(int *)(param_1 + 0x14);\n    local_10 = iVar2;\n  }" (else "else") (compound_statement "{\n    uVar8 = *(uint *)(param_1 + 4);\n    iVar5 = *(int *)(param_1 + 0x14);\n    local_10 = iVar2;\n  }" ({ "{") (expression_statement "uVar8 = *(uint *)(param_1 + 4);" (assignment_expression "uVar8 = *(uint *)(param_1 + 4)" (identifier "uVar8") (= "=") (pointer_expression "*(uint *)(param_1 + 4)" (* "*") (cast_expression "(uint *)(param_1 + 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (expression_statement "iVar5 = *(int *)(param_1 + 0x14);" (assignment_expression "iVar5 = *(int *)(param_1 + 0x14)" (identifier "iVar5") (= "=") (pointer_expression "*(int *)(param_1 + 0x14)" (* "*") (cast_expression "(int *)(param_1 + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x14)" (( "(") (binary_expression "param_1 + 0x14" (identifier "param_1") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (expression_statement "local_10 = iVar2;" (assignment_expression "local_10 = iVar2" (identifier "local_10") (= "=") (identifier "iVar2")) (; ";")) (} "}")))) (expression_statement "uVar8 = uVar8 & 0x800;" (assignment_expression "uVar8 = uVar8 & 0x800" (identifier "uVar8") (= "=") (binary_expression "uVar8 & 0x800" (identifier "uVar8") (& "&") (number_literal "0x800"))) (; ";")) (expression_statement "puVar9 = (undefined4 *)PTR___stack_chk_guard_000f5568;" (assignment_expression "puVar9 = (undefined4 *)PTR___stack_chk_guard_000f5568" (identifier "puVar9") (= "=") (cast_expression "(undefined4 *)PTR___stack_chk_guard_000f5568" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_guard_000f5568"))) (; ";")) (if_statement "if (uVar8 == 0) {\n    if (iVar5 != 0) {\n      FUN_0002fca8(iVar5,&local_10);\n      iVar2 = **(int **)(param_1 + 0x14);\n      if (0 < iVar2) {\n        piVar3 = *(int **)(param_1 + 0x14) + 1;\n        iVar5 = 0;\n        do {\n          iVar6 = *piVar3;\n          iVar5 = iVar5 + 1;\n          piVar3 = piVar3 + 4;\n          uVar8 = uVar8 | *(uint *)(iVar6 + 4);\n        } while (iVar5 != iVar2);\n        uVar8 = uVar8 & 0x200104;\n      }\n      *(uint *)(param_1 + 4) = *(uint *)(param_1 + 4) | uVar8;\n    }\n  }\n  else {\n    FUN_0002fcf8(iVar5,&local_10);\n  }" (if "if") (parenthesized_expression "(uVar8 == 0)" (( "(") (binary_expression "uVar8 == 0" (identifier "uVar8") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    if (iVar5 != 0) {\n      FUN_0002fca8(iVar5,&local_10);\n      iVar2 = **(int **)(param_1 + 0x14);\n      if (0 < iVar2) {\n        piVar3 = *(int **)(param_1 + 0x14) + 1;\n        iVar5 = 0;\n        do {\n          iVar6 = *piVar3;\n          iVar5 = iVar5 + 1;\n          piVar3 = piVar3 + 4;\n          uVar8 = uVar8 | *(uint *)(iVar6 + 4);\n        } while (iVar5 != iVar2);\n        uVar8 = uVar8 & 0x200104;\n      }\n      *(uint *)(param_1 + 4) = *(uint *)(param_1 + 4) | uVar8;\n    }\n  }" ({ "{") (if_statement "if (iVar5 != 0) {\n      FUN_0002fca8(iVar5,&local_10);\n      iVar2 = **(int **)(param_1 + 0x14);\n      if (0 < iVar2) {\n        piVar3 = *(int **)(param_1 + 0x14) + 1;\n        iVar5 = 0;\n        do {\n          iVar6 = *piVar3;\n          iVar5 = iVar5 + 1;\n          piVar3 = piVar3 + 4;\n          uVar8 = uVar8 | *(uint *)(iVar6 + 4);\n        } while (iVar5 != iVar2);\n        uVar8 = uVar8 & 0x200104;\n      }\n      *(uint *)(param_1 + 4) = *(uint *)(param_1 + 4) | uVar8;\n    }" (if "if") (parenthesized_expression "(iVar5 != 0)" (( "(") (binary_expression "iVar5 != 0" (identifier "iVar5") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      FUN_0002fca8(iVar5,&local_10);\n      iVar2 = **(int **)(param_1 + 0x14);\n      if (0 < iVar2) {\n        piVar3 = *(int **)(param_1 + 0x14) + 1;\n        iVar5 = 0;\n        do {\n          iVar6 = *piVar3;\n          iVar5 = iVar5 + 1;\n          piVar3 = piVar3 + 4;\n          uVar8 = uVar8 | *(uint *)(iVar6 + 4);\n        } while (iVar5 != iVar2);\n        uVar8 = uVar8 & 0x200104;\n      }\n      *(uint *)(param_1 + 4) = *(uint *)(param_1 + 4) | uVar8;\n    }" ({ "{") (expression_statement "FUN_0002fca8(iVar5,&local_10);" (call_expression "FUN_0002fca8(iVar5,&local_10)" (identifier "FUN_0002fca8") (argument_list "(iVar5,&local_10)" (( "(") (identifier "iVar5") (, ",") (pointer_expression "&local_10" (& "&") (identifier "local_10")) () ")"))) (; ";")) (expression_statement "iVar2 = **(int **)(param_1 + 0x14);" (assignment_expression "iVar2 = **(int **)(param_1 + 0x14)" (identifier "iVar2") (= "=") (pointer_expression "**(int **)(param_1 + 0x14)" (* "*") (pointer_expression "*(int **)(param_1 + 0x14)" (* "*") (cast_expression "(int **)(param_1 + 0x14)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x14)" (( "(") (binary_expression "param_1 + 0x14" (identifier "param_1") (+ "+") (number_literal "0x14")) () ")")))))) (; ";")) (if_statement "if (0 < iVar2) {\n        piVar3 = *(int **)(param_1 + 0x14) + 1;\n        iVar5 = 0;\n        do {\n          iVar6 = *piVar3;\n          iVar5 = iVar5 + 1;\n          piVar3 = piVar3 + 4;\n          uVar8 = uVar8 | *(uint *)(iVar6 + 4);\n        } while (iVar5 != iVar2);\n        uVar8 = uVar8 & 0x200104;\n      }" (if "if") (parenthesized_expression "(0 < iVar2)" (( "(") (binary_expression "0 < iVar2" (number_literal "0") (< "<") (identifier "iVar2")) () ")")) (compound_statement "{\n        piVar3 = *(int **)(param_1 + 0x14) + 1;\n        iVar5 = 0;\n        do {\n          iVar6 = *piVar3;\n          iVar5 = iVar5 + 1;\n          piVar3 = piVar3 + 4;\n          uVar8 = uVar8 | *(uint *)(iVar6 + 4);\n        } while (iVar5 != iVar2);\n        uVar8 = uVar8 & 0x200104;\n      }" ({ "{") (expression_statement "piVar3 = *(int **)(param_1 + 0x14) + 1;" (assignment_expression "piVar3 = *(int **)(param_1 + 0x14) + 1" (identifier "piVar3") (= "=") (binary_expression "*(int **)(param_1 + 0x14) + 1" (pointer_expression "*(int **)(param_1 + 0x14)" (* "*") (cast_expression "(int **)(param_1 + 0x14)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x14)" (( "(") (binary_expression "param_1 + 0x14" (identifier "param_1") (+ "+") (number_literal "0x14")) () ")")))) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" (identifier "iVar5") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n          iVar6 = *piVar3;\n          iVar5 = iVar5 + 1;\n          piVar3 = piVar3 + 4;\n          uVar8 = uVar8 | *(uint *)(iVar6 + 4);\n        } while (iVar5 != iVar2);" (do "do") (compound_statement "{\n          iVar6 = *piVar3;\n          iVar5 = iVar5 + 1;\n          piVar3 = piVar3 + 4;\n          uVar8 = uVar8 | *(uint *)(iVar6 + 4);\n        }" ({ "{") (expression_statement "iVar6 = *piVar3;" (assignment_expression "iVar6 = *piVar3" (identifier "iVar6") (= "=") (pointer_expression "*piVar3" (* "*") (identifier "piVar3"))) (; ";")) (expression_statement "iVar5 = iVar5 + 1;" (assignment_expression "iVar5 = iVar5 + 1" (identifier "iVar5") (= "=") (binary_expression "iVar5 + 1" (identifier "iVar5") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "piVar3 = piVar3 + 4;" (assignment_expression "piVar3 = piVar3 + 4" (identifier "piVar3") (= "=") (binary_expression "piVar3 + 4" (identifier "piVar3") (+ "+") (number_literal "4"))) (; ";")) (expression_statement "uVar8 = uVar8 | *(uint *)(iVar6 + 4);" (assignment_expression "uVar8 = uVar8 | *(uint *)(iVar6 + 4)" (identifier "uVar8") (= "=") (binary_expression "uVar8 | *(uint *)(iVar6 + 4)" (identifier "uVar8") (| "|") (pointer_expression "*(uint *)(iVar6 + 4)" (* "*") (cast_expression "(uint *)(iVar6 + 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 4)" (( "(") (binary_expression "iVar6 + 4" (identifier "iVar6") (+ "+") (number_literal "4")) () ")")))))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar5 != iVar2)" (( "(") (binary_expression "iVar5 != iVar2" (identifier "iVar5") (!= "!=") (identifier "iVar2")) () ")")) (; ";")) (expression_statement "uVar8 = uVar8 & 0x200104;" (assignment_expression "uVar8 = uVar8 & 0x200104" (identifier "uVar8") (= "=") (binary_expression "uVar8 & 0x200104" (identifier "uVar8") (& "&") (number_literal "0x200104"))) (; ";")) (} "}"))) (expression_statement "*(uint *)(param_1 + 4) = *(uint *)(param_1 + 4) | uVar8;" (assignment_expression "*(uint *)(param_1 + 4) = *(uint *)(param_1 + 4) | uVar8" (pointer_expression "*(uint *)(param_1 + 4)" (* "*") (cast_expression "(uint *)(param_1 + 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")")))) (= "=") (binary_expression "*(uint *)(param_1 + 4) | uVar8" (pointer_expression "*(uint *)(param_1 + 4)" (* "*") (cast_expression "(uint *)(param_1 + 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")")))) (| "|") (identifier "uVar8"))) (; ";")) (} "}"))) (} "}")) (else_clause "else {\n    FUN_0002fcf8(iVar5,&local_10);\n  }" (else "else") (compound_statement "{\n    FUN_0002fcf8(iVar5,&local_10);\n  }" ({ "{") (expression_statement "FUN_0002fcf8(iVar5,&local_10);" (call_expression "FUN_0002fcf8(iVar5,&local_10)" (identifier "FUN_0002fcf8") (argument_list "(iVar5,&local_10)" (( "(") (identifier "iVar5") (, ",") (pointer_expression "&local_10" (& "&") (identifier "local_10")) () ")"))) (; ";")) (} "}")))) (expression_statement "pbVar4 = (byte *)*puVar9;" (assignment_expression "pbVar4 = (byte *)*puVar9" (identifier "pbVar4") (= "=") (cast_expression "(byte *)*puVar9" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar9" (* "*") (identifier "puVar9")))) (; ";")) (expression_statement "*(int *)(param_1 + 0x18) = local_10 + 1;" (assignment_expression "*(int *)(param_1 + 0x18) = local_10 + 1" (pointer_expression "*(int *)(param_1 + 0x18)" (* "*") (cast_expression "(int *)(param_1 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x18)" (( "(") (binary_expression "param_1 + 0x18" (identifier "param_1") (+ "+") (number_literal "0x18")) () ")")))) (= "=") (binary_expression "local_10 + 1" (identifier "local_10") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (local_c != pbVar4) {\n    puVar10 = PTR___stack_chk_fail_000f5540;\n    (*(code *)PTR___stack_chk_fail_000f5540)();\n    iVar2 = *(int *)(puVar10 + 0xc53bc) + 0x25ac;\n    pbVar4 = (byte *)(*(int *)(puVar10 + 0xc53b4) + 0x7010);\n    pbVar7 = local_c;\n    do {\n      while( true ) {\n        uVar8 = (uint)*pbVar7;\n        bVar1 = *pbVar4;\n        pbVar7 = pbVar7 + 1;\n        if (uVar8 == bVar1) break;\n        pbVar4 = pbVar4 + 1;\n        if (*(char *)(iVar2 + uVar8) != *(char *)(iVar2 + (uint)bVar1)) {\n          pbVar4 = (byte *)(*(int *)(puVar10 + 0xc53b4) + 0x7018);\n          do {\n            while( true ) {\n              uVar8 = (uint)*local_c;\n              bVar1 = *pbVar4;\n              local_c = local_c + 1;\n              if (uVar8 == bVar1) break;\n              pbVar4 = pbVar4 + 1;\n              if (*(char *)(iVar2 + uVar8) != *(char *)(iVar2 + (uint)bVar1)) {\n                return 0;\n              }\n            }\n            pbVar4 = pbVar4 + 1;\n          } while (uVar8 != 0);\n          return 0x20000000;\n        }\n      }\n      pbVar4 = pbVar4 + 1;\n    } while (uVar8 != 0);\n    return 0x10000000;\n  }" (if "if") (parenthesized_expression "(local_c != pbVar4)" (( "(") (binary_expression "local_c != pbVar4" (identifier "local_c") (!= "!=") (identifier "pbVar4")) () ")")) (compound_statement "{\n    puVar10 = PTR___stack_chk_fail_000f5540;\n    (*(code *)PTR___stack_chk_fail_000f5540)();\n    iVar2 = *(int *)(puVar10 + 0xc53bc) + 0x25ac;\n    pbVar4 = (byte *)(*(int *)(puVar10 + 0xc53b4) + 0x7010);\n    pbVar7 = local_c;\n    do {\n      while( true ) {\n        uVar8 = (uint)*pbVar7;\n        bVar1 = *pbVar4;\n        pbVar7 = pbVar7 + 1;\n        if (uVar8 == bVar1) break;\n        pbVar4 = pbVar4 + 1;\n        if (*(char *)(iVar2 + uVar8) != *(char *)(iVar2 + (uint)bVar1)) {\n          pbVar4 = (byte *)(*(int *)(puVar10 + 0xc53b4) + 0x7018);\n          do {\n            while( true ) {\n              uVar8 = (uint)*local_c;\n              bVar1 = *pbVar4;\n              local_c = local_c + 1;\n              if (uVar8 == bVar1) break;\n              pbVar4 = pbVar4 + 1;\n              if (*(char *)(iVar2 + uVar8) != *(char *)(iVar2 + (uint)bVar1)) {\n                return 0;\n              }\n            }\n            pbVar4 = pbVar4 + 1;\n          } while (uVar8 != 0);\n          return 0x20000000;\n        }\n      }\n      pbVar4 = pbVar4 + 1;\n    } while (uVar8 != 0);\n    return 0x10000000;\n  }" ({ "{") (expression_statement "puVar10 = PTR___stack_chk_fail_000f5540;" (assignment_expression "puVar10 = PTR___stack_chk_fail_000f5540" (identifier "puVar10") (= "=") (identifier "PTR___stack_chk_fail_000f5540")) (; ";")) (expression_statement "(*(code *)PTR___stack_chk_fail_000f5540)();" (call_expression "(*(code *)PTR___stack_chk_fail_000f5540)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000f5540)" (( "(") (pointer_expression "*(code *)PTR___stack_chk_fail_000f5540" (* "*") (cast_expression "(code *)PTR___stack_chk_fail_000f5540" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_fail_000f5540"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "iVar2 = *(int *)(puVar10 + 0xc53bc) + 0x25ac;" (assignment_expression "iVar2 = *(int *)(puVar10 + 0xc53bc) + 0x25ac" (identifier "iVar2") (= "=") (binary_expression "*(int *)(puVar10 + 0xc53bc) + 0x25ac" (pointer_expression "*(int *)(puVar10 + 0xc53bc)" (* "*") (cast_expression "(int *)(puVar10 + 0xc53bc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar10 + 0xc53bc)" (( "(") (binary_expression "puVar10 + 0xc53bc" (identifier "puVar10") (+ "+") (number_literal "0xc53bc")) () ")")))) (+ "+") (number_literal "0x25ac"))) (; ";")) (expression_statement "pbVar4 = (byte *)(*(int *)(puVar10 + 0xc53b4) + 0x7010);" (assignment_expression "pbVar4 = (byte *)(*(int *)(puVar10 + 0xc53b4) + 0x7010)" (identifier "pbVar4") (= "=") (cast_expression "(byte *)(*(int *)(puVar10 + 0xc53b4) + 0x7010)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(puVar10 + 0xc53b4) + 0x7010)" (( "(") (binary_expression "*(int *)(puVar10 + 0xc53b4) + 0x7010" (pointer_expression "*(int *)(puVar10 + 0xc53b4)" (* "*") (cast_expression "(int *)(puVar10 + 0xc53b4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar10 + 0xc53b4)" (( "(") (binary_expression "puVar10 + 0xc53b4" (identifier "puVar10") (+ "+") (number_literal "0xc53b4")) () ")")))) (+ "+") (number_literal "0x7010")) () ")")))) (; ";")) (expression_statement "pbVar7 = local_c;" (assignment_expression "pbVar7 = local_c" (identifier "pbVar7") (= "=") (identifier "local_c")) (; ";")) (do_statement "do {\n      while( true ) {\n        uVar8 = (uint)*pbVar7;\n        bVar1 = *pbVar4;\n        pbVar7 = pbVar7 + 1;\n        if (uVar8 == bVar1) break;\n        pbVar4 = pbVar4 + 1;\n        if (*(char *)(iVar2 + uVar8) != *(char *)(iVar2 + (uint)bVar1)) {\n          pbVar4 = (byte *)(*(int *)(puVar10 + 0xc53b4) + 0x7018);\n          do {\n            while( true ) {\n              uVar8 = (uint)*local_c;\n              bVar1 = *pbVar4;\n              local_c = local_c + 1;\n              if (uVar8 == bVar1) break;\n              pbVar4 = pbVar4 + 1;\n              if (*(char *)(iVar2 + uVar8) != *(char *)(iVar2 + (uint)bVar1)) {\n                return 0;\n              }\n            }\n            pbVar4 = pbVar4 + 1;\n          } while (uVar8 != 0);\n          return 0x20000000;\n        }\n      }\n      pbVar4 = pbVar4 + 1;\n    } while (uVar8 != 0);" (do "do") (compound_statement "{\n      while( true ) {\n        uVar8 = (uint)*pbVar7;\n        bVar1 = *pbVar4;\n        pbVar7 = pbVar7 + 1;\n        if (uVar8 == bVar1) break;\n        pbVar4 = pbVar4 + 1;\n        if (*(char *)(iVar2 + uVar8) != *(char *)(iVar2 + (uint)bVar1)) {\n          pbVar4 = (byte *)(*(int *)(puVar10 + 0xc53b4) + 0x7018);\n          do {\n            while( true ) {\n              uVar8 = (uint)*local_c;\n              bVar1 = *pbVar4;\n              local_c = local_c + 1;\n              if (uVar8 == bVar1) break;\n              pbVar4 = pbVar4 + 1;\n              if (*(char *)(iVar2 + uVar8) != *(char *)(iVar2 + (uint)bVar1)) {\n                return 0;\n              }\n            }\n            pbVar4 = pbVar4 + 1;\n          } while (uVar8 != 0);\n          return 0x20000000;\n        }\n      }\n      pbVar4 = pbVar4 + 1;\n    }" ({ "{") (while_statement "while( true ) {\n        uVar8 = (uint)*pbVar7;\n        bVar1 = *pbVar4;\n        pbVar7 = pbVar7 + 1;\n        if (uVar8 == bVar1) break;\n        pbVar4 = pbVar4 + 1;\n        if (*(char *)(iVar2 + uVar8) != *(char *)(iVar2 + (uint)bVar1)) {\n          pbVar4 = (byte *)(*(int *)(puVar10 + 0xc53b4) + 0x7018);\n          do {\n            while( true ) {\n              uVar8 = (uint)*local_c;\n              bVar1 = *pbVar4;\n              local_c = local_c + 1;\n              if (uVar8 == bVar1) break;\n              pbVar4 = pbVar4 + 1;\n              if (*(char *)(iVar2 + uVar8) != *(char *)(iVar2 + (uint)bVar1)) {\n                return 0;\n              }\n            }\n            pbVar4 = pbVar4 + 1;\n          } while (uVar8 != 0);\n          return 0x20000000;\n        }\n      }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n        uVar8 = (uint)*pbVar7;\n        bVar1 = *pbVar4;\n        pbVar7 = pbVar7 + 1;\n        if (uVar8 == bVar1) break;\n        pbVar4 = pbVar4 + 1;\n        if (*(char *)(iVar2 + uVar8) != *(char *)(iVar2 + (uint)bVar1)) {\n          pbVar4 = (byte *)(*(int *)(puVar10 + 0xc53b4) + 0x7018);\n          do {\n            while( true ) {\n              uVar8 = (uint)*local_c;\n              bVar1 = *pbVar4;\n              local_c = local_c + 1;\n              if (uVar8 == bVar1) break;\n              pbVar4 = pbVar4 + 1;\n              if (*(char *)(iVar2 + uVar8) != *(char *)(iVar2 + (uint)bVar1)) {\n                return 0;\n              }\n            }\n            pbVar4 = pbVar4 + 1;\n          } while (uVar8 != 0);\n          return 0x20000000;\n        }\n      }" ({ "{") (expression_statement "uVar8 = (uint)*pbVar7;" (assignment_expression "uVar8 = (uint)*pbVar7" (identifier "uVar8") (= "=") (binary_expression "(uint)*pbVar7" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (identifier "pbVar7"))) (; ";")) (expression_statement "bVar1 = *pbVar4;" (assignment_expression "bVar1 = *pbVar4" (identifier "bVar1") (= "=") (pointer_expression "*pbVar4" (* "*") (identifier "pbVar4"))) (; ";")) (expression_statement "pbVar7 = pbVar7 + 1;" (assignment_expression "pbVar7 = pbVar7 + 1" (identifier "pbVar7") (= "=") (binary_expression "pbVar7 + 1" (identifier "pbVar7") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (uVar8 == bVar1) break;" (if "if") (parenthesized_expression "(uVar8 == bVar1)" (( "(") (binary_expression "uVar8 == bVar1" (identifier "uVar8") (== "==") (identifier "bVar1")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "pbVar4 = pbVar4 + 1;" (assignment_expression "pbVar4 = pbVar4 + 1" (identifier "pbVar4") (= "=") (binary_expression "pbVar4 + 1" (identifier "pbVar4") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (*(char *)(iVar2 + uVar8) != *(char *)(iVar2 + (uint)bVar1)) {\n          pbVar4 = (byte *)(*(int *)(puVar10 + 0xc53b4) + 0x7018);\n          do {\n            while( true ) {\n              uVar8 = (uint)*local_c;\n              bVar1 = *pbVar4;\n              local_c = local_c + 1;\n              if (uVar8 == bVar1) break;\n              pbVar4 = pbVar4 + 1;\n              if (*(char *)(iVar2 + uVar8) != *(char *)(iVar2 + (uint)bVar1)) {\n                return 0;\n              }\n            }\n            pbVar4 = pbVar4 + 1;\n          } while (uVar8 != 0);\n          return 0x20000000;\n        }" (if "if") (parenthesized_expression "(*(char *)(iVar2 + uVar8) != *(char *)(iVar2 + (uint)bVar1))" (( "(") (binary_expression "*(char *)(iVar2 + uVar8) != *(char *)(iVar2 + (uint)bVar1)" (pointer_expression "*(char *)(iVar2 + uVar8)" (* "*") (cast_expression "(char *)(iVar2 + uVar8)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + uVar8)" (( "(") (binary_expression "iVar2 + uVar8" (identifier "iVar2") (+ "+") (identifier "uVar8")) () ")")))) (!= "!=") (pointer_expression "*(char *)(iVar2 + (uint)bVar1)" (* "*") (cast_expression "(char *)(iVar2 + (uint)bVar1)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + (uint)bVar1)" (( "(") (binary_expression "iVar2 + (uint)bVar1" (identifier "iVar2") (+ "+") (cast_expression "(uint)bVar1" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar1"))) () ")"))))) () ")")) (compound_statement "{\n          pbVar4 = (byte *)(*(int *)(puVar10 + 0xc53b4) + 0x7018);\n          do {\n            while( true ) {\n              uVar8 = (uint)*local_c;\n              bVar1 = *pbVar4;\n              local_c = local_c + 1;\n              if (uVar8 == bVar1) break;\n              pbVar4 = pbVar4 + 1;\n              if (*(char *)(iVar2 + uVar8) != *(char *)(iVar2 + (uint)bVar1)) {\n                return 0;\n              }\n            }\n            pbVar4 = pbVar4 + 1;\n          } while (uVar8 != 0);\n          return 0x20000000;\n        }" ({ "{") (expression_statement "pbVar4 = (byte *)(*(int *)(puVar10 + 0xc53b4) + 0x7018);" (assignment_expression "pbVar4 = (byte *)(*(int *)(puVar10 + 0xc53b4) + 0x7018)" (identifier "pbVar4") (= "=") (cast_expression "(byte *)(*(int *)(puVar10 + 0xc53b4) + 0x7018)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(puVar10 + 0xc53b4) + 0x7018)" (( "(") (binary_expression "*(int *)(puVar10 + 0xc53b4) + 0x7018" (pointer_expression "*(int *)(puVar10 + 0xc53b4)" (* "*") (cast_expression "(int *)(puVar10 + 0xc53b4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar10 + 0xc53b4)" (( "(") (binary_expression "puVar10 + 0xc53b4" (identifier "puVar10") (+ "+") (number_literal "0xc53b4")) () ")")))) (+ "+") (number_literal "0x7018")) () ")")))) (; ";")) (do_statement "do {\n            while( true ) {\n              uVar8 = (uint)*local_c;\n              bVar1 = *pbVar4;\n              local_c = local_c + 1;\n              if (uVar8 == bVar1) break;\n              pbVar4 = pbVar4 + 1;\n              if (*(char *)(iVar2 + uVar8) != *(char *)(iVar2 + (uint)bVar1)) {\n                return 0;\n              }\n            }\n            pbVar4 = pbVar4 + 1;\n          } while (uVar8 != 0);" (do "do") (compound_statement "{\n            while( true ) {\n              uVar8 = (uint)*local_c;\n              bVar1 = *pbVar4;\n              local_c = local_c + 1;\n              if (uVar8 == bVar1) break;\n              pbVar4 = pbVar4 + 1;\n              if (*(char *)(iVar2 + uVar8) != *(char *)(iVar2 + (uint)bVar1)) {\n                return 0;\n              }\n            }\n            pbVar4 = pbVar4 + 1;\n          }" ({ "{") (while_statement "while( true ) {\n              uVar8 = (uint)*local_c;\n              bVar1 = *pbVar4;\n              local_c = local_c + 1;\n              if (uVar8 == bVar1) break;\n              pbVar4 = pbVar4 + 1;\n              if (*(char *)(iVar2 + uVar8) != *(char *)(iVar2 + (uint)bVar1)) {\n                return 0;\n              }\n            }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n              uVar8 = (uint)*local_c;\n              bVar1 = *pbVar4;\n              local_c = local_c + 1;\n              if (uVar8 == bVar1) break;\n              pbVar4 = pbVar4 + 1;\n              if (*(char *)(iVar2 + uVar8) != *(char *)(iVar2 + (uint)bVar1)) {\n                return 0;\n              }\n            }" ({ "{") (expression_statement "uVar8 = (uint)*local_c;" (assignment_expression "uVar8 = (uint)*local_c" (identifier "uVar8") (= "=") (binary_expression "(uint)*local_c" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (identifier "local_c"))) (; ";")) (expression_statement "bVar1 = *pbVar4;" (assignment_expression "bVar1 = *pbVar4" (identifier "bVar1") (= "=") (pointer_expression "*pbVar4" (* "*") (identifier "pbVar4"))) (; ";")) (expression_statement "local_c = local_c + 1;" (assignment_expression "local_c = local_c + 1" (identifier "local_c") (= "=") (binary_expression "local_c + 1" (identifier "local_c") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (uVar8 == bVar1) break;" (if "if") (parenthesized_expression "(uVar8 == bVar1)" (( "(") (binary_expression "uVar8 == bVar1" (identifier "uVar8") (== "==") (identifier "bVar1")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "pbVar4 = pbVar4 + 1;" (assignment_expression "pbVar4 = pbVar4 + 1" (identifier "pbVar4") (= "=") (binary_expression "pbVar4 + 1" (identifier "pbVar4") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (*(char *)(iVar2 + uVar8) != *(char *)(iVar2 + (uint)bVar1)) {\n                return 0;\n              }" (if "if") (parenthesized_expression "(*(char *)(iVar2 + uVar8) != *(char *)(iVar2 + (uint)bVar1))" (( "(") (binary_expression "*(char *)(iVar2 + uVar8) != *(char *)(iVar2 + (uint)bVar1)" (pointer_expression "*(char *)(iVar2 + uVar8)" (* "*") (cast_expression "(char *)(iVar2 + uVar8)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + uVar8)" (( "(") (binary_expression "iVar2 + uVar8" (identifier "iVar2") (+ "+") (identifier "uVar8")) () ")")))) (!= "!=") (pointer_expression "*(char *)(iVar2 + (uint)bVar1)" (* "*") (cast_expression "(char *)(iVar2 + (uint)bVar1)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + (uint)bVar1)" (( "(") (binary_expression "iVar2 + (uint)bVar1" (identifier "iVar2") (+ "+") (cast_expression "(uint)bVar1" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar1"))) () ")"))))) () ")")) (compound_statement "{\n                return 0;\n              }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (} "}"))) (expression_statement "pbVar4 = pbVar4 + 1;" (assignment_expression "pbVar4 = pbVar4 + 1" (identifier "pbVar4") (= "=") (binary_expression "pbVar4 + 1" (identifier "pbVar4") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(uVar8 != 0)" (( "(") (binary_expression "uVar8 != 0" (identifier "uVar8") (!= "!=") (number_literal "0")) () ")")) (; ";")) (return_statement "return 0x20000000;" (return "return") (number_literal "0x20000000") (; ";")) (} "}"))) (} "}"))) (expression_statement "pbVar4 = pbVar4 + 1;" (assignment_expression "pbVar4 = pbVar4 + 1" (identifier "pbVar4") (= "=") (binary_expression "pbVar4 + 1" (identifier "pbVar4") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(uVar8 != 0)" (( "(") (binary_expression "uVar8 != 0" (identifier "uVar8") (!= "!=") (number_literal "0")) () ")")) (; ";")) (return_statement "return 0x10000000;" (return "return") (number_literal "0x10000000") (; ";")) (} "}"))) (return_statement "return local_10 + 1;" (return "return") (binary_expression "local_10 + 1" (identifier "local_10") (+ "+") (number_literal "1")) (; ";")) (} "}")))
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (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: (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (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: (number_literal) right: (identifier)))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (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: (identifier)))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))))))) alternative: (else_clause (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (pointer_expression argument: (identifier)))))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (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: (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)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (do_statement body: (compound_statement (while_statement condition: (parenthesized_expression (true)) body: (compound_statement (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: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (break_statement)) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))))) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)))))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)))))) (do_statement body: (compound_statement (while_statement condition: (parenthesized_expression (true)) body: (compound_statement (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: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (break_statement)) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))))) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)))))))) consequence: (compound_statement (return_statement (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))) (return_statement (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))) (return_statement (number_literal)))) (return_statement (binary_expression left: (identifier) right: (number_literal))))))

int MASKED(int param_1)

{
  byte bVar1;
  int iVar2;
  int *piVar3;
  byte *pbVar4;
  int iVar5;
  int iVar6;
  byte *pbVar7;
  uint uVar8;
  undefined4 *puVar9;
  undefined *puVar10;
  int local_10;
  byte *local_c;
  
  local_10 = 0;
  local_c = *(byte **)PTR___stack_chk_guard_000f5568;
  if ((*(int *)(param_1 + 0xc) != 0) &&
     (iVar2 = *(int *)(*(int *)(param_1 + 0xc) + 0x18), 0 < iVar2)) {
    local_10 = iVar2;
  }
  if ((*(int *)(param_1 + 0x10) == 0) ||
     (iVar2 = *(int *)(*(int *)(param_1 + 0x10) + 0x18), iVar2 <= local_10)) {
    uVar8 = *(uint *)(param_1 + 4);
    iVar5 = *(int *)(param_1 + 0x14);
  }
  else {
    uVar8 = *(uint *)(param_1 + 4);
    iVar5 = *(int *)(param_1 + 0x14);
    local_10 = iVar2;
  }
  uVar8 = uVar8 & 0x800;
  puVar9 = (undefined4 *)PTR___stack_chk_guard_000f5568;
  if (uVar8 == 0) {
    if (iVar5 != 0) {
      FUN_0002fca8(iVar5,&local_10);
      iVar2 = **(int **)(param_1 + 0x14);
      if (0 < iVar2) {
        piVar3 = *(int **)(param_1 + 0x14) + 1;
        iVar5 = 0;
        do {
          iVar6 = *piVar3;
          iVar5 = iVar5 + 1;
          piVar3 = piVar3 + 4;
          uVar8 = uVar8 | *(uint *)(iVar6 + 4);
        } while (iVar5 != iVar2);
        uVar8 = uVar8 & 0x200104;
      }
      *(uint *)(param_1 + 4) = *(uint *)(param_1 + 4) | uVar8;
    }
  }
  else {
    FUN_0002fcf8(iVar5,&local_10);
  }
  pbVar4 = (byte *)*puVar9;
  *(int *)(param_1 + 0x18) = local_10 + 1;
  if (local_c != pbVar4) {
    puVar10 = PTR___stack_chk_fail_000f5540;
    (*(code *)PTR___stack_chk_fail_000f5540)();
    iVar2 = *(int *)(puVar10 + 0xc53bc) + 0x25ac;
    pbVar4 = (byte *)(*(int *)(puVar10 + 0xc53b4) + 0x7010);
    pbVar7 = local_c;
    do {
      while( true ) {
        uVar8 = (uint)*pbVar7;
        bVar1 = *pbVar4;
        pbVar7 = pbVar7 + 1;
        if (uVar8 == bVar1) break;
        pbVar4 = pbVar4 + 1;
        if (*(char *)(iVar2 + uVar8) != *(char *)(iVar2 + (uint)bVar1)) {
          pbVar4 = (byte *)(*(int *)(puVar10 + 0xc53b4) + 0x7018);
          do {
            while( true ) {
              uVar8 = (uint)*local_c;
              bVar1 = *pbVar4;
              local_c = local_c + 1;
              if (uVar8 == bVar1) break;
              pbVar4 = pbVar4 + 1;
              if (*(char *)(iVar2 + uVar8) != *(char *)(iVar2 + (uint)bVar1)) {
                return 0;
              }
            }
            pbVar4 = pbVar4 + 1;
          } while (uVar8 != 0);
          return 0x20000000;
        }
      }
      pbVar4 = pbVar4 + 1;
    } while (uVar8 != 0);
    return 0x10000000;
  }
  return local_10 + 1;
}

