
void sqlite3DefaultRowEst(Index *pIdx)

{
  undefined *puVar1;
  undefined *puVar2;
  short sVar3;
  short *psVar4;
  uint uVar5;
  int iVar6;
  uint uVar7;
  short *psVar8;
  LogEst aVal [5];
  
  puVar1 = PTR___stack_chk_guard_00190e24;
  psVar8 = pIdx->aiRowLogEst;
  aVal._0_4_ = *(undefined4 *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x2aa8);
  sVar3 = pIdx->pTable->nRowLogEst;
  aVal._4_4_ = *(undefined4 *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x2aac);
  aVal[4] = *(LogEst *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x2ab0);
  uVar7 = (uint)pIdx->nKeyCol;
  iVar6 = *(int *)PTR___stack_chk_guard_00190e24;
  *psVar8 = sVar3;
  puVar2 = PTR_memcpy_00190e2c;
  if (5 < uVar7) {
    uVar7 = 5;
  }
  if (pIdx->pPartIdxWhere != (Expr *)0x0) {
    sVar3 = sVar3 + -10;
  }
  if (sVar3 < 0x21) {
    sVar3 = 0x21;
  }
  *psVar8 = sVar3;
  (*(code *)puVar2)(psVar8 + 1,aVal,uVar7 << 1);
  uVar7 = uVar7 + 1;
  uVar5 = (uint)pIdx->nKeyCol;
  if (uVar7 <= uVar5) {
    psVar4 = psVar8 + uVar7;
    do {
      *psVar4 = 0x17;
      uVar7 = uVar7 + 1;
      uVar5 = (uint)pIdx->nKeyCol;
      psVar4 = psVar4 + 1;
    } while ((int)uVar7 <= (int)uVar5);
  }
  if (pIdx->onError != '\0') {
    psVar8[uVar5] = 0;
  }
  if (iVar6 == *(int *)puVar1) {
    return;
  }
  (*(code *)PTR___stack_chk_fail_00190df8)();
  return;
}



void FUN_000496d4(int param_1)

{
  undefined *puVar1;
  short sVar3;
  byte bVar4;
  int iVar2;
  short *psVar5;
  byte *pbVar6;
  uint uVar7;
  int *piVar8;
  byte bVar9;
  undefined4 *puVar10;
  uint uVar11;
  byte *pbVar12;
  int iVar13;
  short *psVar14;
  undefined *puVar15;
  undefined4 local_28;
  undefined4 local_24;
  undefined2 local_20;
  int local_1c;
  
  puVar15 = PTR___stack_chk_guard_00190e24;
  psVar14 = *(short **)(param_1 + 8);
  local_28 = *(undefined4 *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x2aa8);
  sVar3 = *(short *)(*(int *)(param_1 + 0xc) + 0x2c);
  local_24 = *(undefined4 *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x2aac);
  local_20 = *(undefined2 *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x2ab0);
  uVar11 = (uint)*(ushort *)(param_1 + 0x32);
  local_1c = *(int *)PTR___stack_chk_guard_00190e24;
  *psVar14 = sVar3;
  puVar1 = PTR_memcpy_00190e2c;
  if (5 < uVar11) {
    uVar11 = 5;
  }
  if (*(int *)(param_1 + 0x24) != 0) {
    sVar3 = sVar3 + -10;
  }
  if (sVar3 < 0x21) {
    sVar3 = 0x21;
  }
  *psVar14 = sVar3;
  puVar10 = &local_28;
  (*(code *)puVar1)(psVar14 + 1,puVar10,uVar11 << 1);
  uVar11 = uVar11 + 1;
  uVar7 = (uint)*(ushort *)(param_1 + 0x32);
  if (uVar11 <= uVar7) {
    psVar5 = psVar14 + uVar11;
    do {
      *psVar5 = 0x17;
      uVar11 = uVar11 + 1;
      uVar7 = (uint)*(ushort *)(param_1 + 0x32);
      puVar10 = (undefined4 *)(uint)((int)uVar7 < (int)uVar11);
      psVar5 = psVar5 + 1;
    } while (puVar10 == (undefined4 *)0x0);
  }
  piVar8 = (int *)(uVar7 * 2);
  if (*(char *)(param_1 + 0x36) != '\0') {
    piVar8 = (int *)(psVar14 + uVar7);
    *(short *)piVar8 = 0;
  }
  if (local_1c != *(int *)puVar15) {
    puVar15 = PTR___stack_chk_fail_00190df8;
    (*(code *)PTR___stack_chk_fail_00190df8)();
    pbVar12 = (byte *)*puVar10;
    bVar9 = *pbVar12;
    pbVar6 = pbVar12;
    if (bVar9 != 0) {
      do {
        pbVar6 = pbVar6 + 1;
        bVar4 = bVar9 & 0x80;
        bVar9 = *pbVar6;
      } while (bVar9 != 0 || bVar4 != 0);
    }
    iVar13 = (int)(pbVar6 + 1) - (int)pbVar12;
    iVar2 = (**(code **)(puVar15 + 0x14762c))(*piVar8,pbVar12,iVar13);
    *piVar8 = iVar2 + iVar13;
    *puVar10 = pbVar6 + 1;
    return;
  }
  return;
}


lui gp,0x15
addiu gp,gp,-0xdb4
addu gp,gp,t9
addiu sp,sp,-0x40
sw s1,0x30(sp)
or s1,a0,zero
sw s3,0x38(sp)
sw gp,0x10(sp)
sw ra,0x3c(sp)
sw s2,0x34(sp)
sw s0,0x2c(sp)
lw a0,-0x7fc4(gp)
lw v0,0xc(s1)
lw s3,-0x7afc(gp)
addiu v1,a0,0x2aa8
lw s2,0x8(s1)
lw a2,0x2aa8(a0)
lh v0,0x2c(v0)
lw a0,0x4(v1)
lhu v1,0x8(v1)
lhu s0,0x32(s1)
lw a3,0x0(s3)
sh v0,0x0(s2)
sh v1,0x20(sp)
sltiu a1,s0,0x6
sw a0,0x1c(sp)
li a0,0x5
sw a3,0x24(sp)
sw a2,0x18(sp)
lw v1,0x24(s1)
beq v1,zero,0x0004975c
_movz s0,a0,a1
addiu v0,v0,-0xa
seh v0,v0
slti v1,v0,0x21
beq v1,zero,0x0004976c
_lw t9,-0x7af4(gp)
li v0,0x21
addiu a0,s2,0x2
sll a2,s0,0x1
sh v0,0x0(s2)
jalr t9
_addiu a1,sp,0x18
addiu v0,s0,0x1
lhu a0,0x32(s1)
slt v1,a0,v0
bne v1,zero,0x000497b8
_lw gp,0x10(sp)
sll v1,v0,0x1
li a2,0x17
addu v1,s2,v1
sh a2,0x0(v1)
addiu v0,v0,0x1
lhu a0,0x32(s1)
slt a1,a0,v0
beq a1,zero,0x000497a0
_addiu v1,v1,0x2
lbu v0,0x36(s1)
beq v0,zero,0x000497cc
_sll a0,a0,0x1
addu a0,s2,a0
sh zero,0x0(a0)
lw v1,0x24(sp)
lw v0,0x0(s3)
bne v1,v0,0x000497f4
_lw ra,0x3c(sp)
lw s3,0x38(sp)
lw s2,0x34(sp)
lw s1,0x30(sp)
lw s0,0x2c(sp)
jr ra
_addiu sp,sp,0x40
lw t9,-0x7b28(gp)
jalr t9
_nop
(translation_unit "void FUN_000496d4(int param_1)\n\n{\n  undefined *puVar1;\n  short sVar3;\n  byte bVar4;\n  int iVar2;\n  short *psVar5;\n  byte *pbVar6;\n  uint uVar7;\n  int *piVar8;\n  byte bVar9;\n  undefined4 *puVar10;\n  uint uVar11;\n  byte *pbVar12;\n  int iVar13;\n  short *psVar14;\n  undefined *puVar15;\n  undefined4 local_28;\n  undefined4 local_24;\n  undefined2 local_20;\n  int local_1c;\n  \n  puVar15 = PTR___stack_chk_guard_00190e24;\n  psVar14 = *(short **)(param_1 + 8);\n  local_28 = *(undefined4 *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x2aa8);\n  sVar3 = *(short *)(*(int *)(param_1 + 0xc) + 0x2c);\n  local_24 = *(undefined4 *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x2aac);\n  local_20 = *(undefined2 *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x2ab0);\n  uVar11 = (uint)*(ushort *)(param_1 + 0x32);\n  local_1c = *(int *)PTR___stack_chk_guard_00190e24;\n  *psVar14 = sVar3;\n  puVar1 = PTR_memcpy_00190e2c;\n  if (5 < uVar11) {\n    uVar11 = 5;\n  }\n  if (*(int *)(param_1 + 0x24) != 0) {\n    sVar3 = sVar3 + -10;\n  }\n  if (sVar3 < 0x21) {\n    sVar3 = 0x21;\n  }\n  *psVar14 = sVar3;\n  puVar10 = &local_28;\n  (*(code *)puVar1)(psVar14 + 1,puVar10,uVar11 << 1);\n  uVar11 = uVar11 + 1;\n  uVar7 = (uint)*(ushort *)(param_1 + 0x32);\n  if (uVar11 <= uVar7) {\n    psVar5 = psVar14 + uVar11;\n    do {\n      *psVar5 = 0x17;\n      uVar11 = uVar11 + 1;\n      uVar7 = (uint)*(ushort *)(param_1 + 0x32);\n      puVar10 = (undefined4 *)(uint)((int)uVar7 < (int)uVar11);\n      psVar5 = psVar5 + 1;\n    } while (puVar10 == (undefined4 *)0x0);\n  }\n  piVar8 = (int *)(uVar7 * 2);\n  if (*(char *)(param_1 + 0x36) != '\0') {\n    piVar8 = (int *)(psVar14 + uVar7);\n    *(short *)piVar8 = 0;\n  }\n  if (local_1c != *(int *)puVar15) {\n    puVar15 = PTR___stack_chk_fail_00190df8;\n    (*(code *)PTR___stack_chk_fail_00190df8)();\n    pbVar12 = (byte *)*puVar10;\n    bVar9 = *pbVar12;\n    pbVar6 = pbVar12;\n    if (bVar9 != 0) {\n      do {\n        pbVar6 = pbVar6 + 1;\n        bVar4 = bVar9 & 0x80;\n        bVar9 = *pbVar6;\n      } while (bVar9 != 0 || bVar4 != 0);\n    }\n    iVar13 = (int)(pbVar6 + 1) - (int)pbVar12;\n    iVar2 = (**(code **)(puVar15 + 0x14762c))(*piVar8,pbVar12,iVar13);\n    *piVar8 = iVar2 + iVar13;\n    *puVar10 = pbVar6 + 1;\n    return;\n  }\n  return;\n}\n\n" (function_definition "void FUN_000496d4(int param_1)\n\n{\n  undefined *puVar1;\n  short sVar3;\n  byte bVar4;\n  int iVar2;\n  short *psVar5;\n  byte *pbVar6;\n  uint uVar7;\n  int *piVar8;\n  byte bVar9;\n  undefined4 *puVar10;\n  uint uVar11;\n  byte *pbVar12;\n  int iVar13;\n  short *psVar14;\n  undefined *puVar15;\n  undefined4 local_28;\n  undefined4 local_24;\n  undefined2 local_20;\n  int local_1c;\n  \n  puVar15 = PTR___stack_chk_guard_00190e24;\n  psVar14 = *(short **)(param_1 + 8);\n  local_28 = *(undefined4 *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x2aa8);\n  sVar3 = *(short *)(*(int *)(param_1 + 0xc) + 0x2c);\n  local_24 = *(undefined4 *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x2aac);\n  local_20 = *(undefined2 *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x2ab0);\n  uVar11 = (uint)*(ushort *)(param_1 + 0x32);\n  local_1c = *(int *)PTR___stack_chk_guard_00190e24;\n  *psVar14 = sVar3;\n  puVar1 = PTR_memcpy_00190e2c;\n  if (5 < uVar11) {\n    uVar11 = 5;\n  }\n  if (*(int *)(param_1 + 0x24) != 0) {\n    sVar3 = sVar3 + -10;\n  }\n  if (sVar3 < 0x21) {\n    sVar3 = 0x21;\n  }\n  *psVar14 = sVar3;\n  puVar10 = &local_28;\n  (*(code *)puVar1)(psVar14 + 1,puVar10,uVar11 << 1);\n  uVar11 = uVar11 + 1;\n  uVar7 = (uint)*(ushort *)(param_1 + 0x32);\n  if (uVar11 <= uVar7) {\n    psVar5 = psVar14 + uVar11;\n    do {\n      *psVar5 = 0x17;\n      uVar11 = uVar11 + 1;\n      uVar7 = (uint)*(ushort *)(param_1 + 0x32);\n      puVar10 = (undefined4 *)(uint)((int)uVar7 < (int)uVar11);\n      psVar5 = psVar5 + 1;\n    } while (puVar10 == (undefined4 *)0x0);\n  }\n  piVar8 = (int *)(uVar7 * 2);\n  if (*(char *)(param_1 + 0x36) != '\0') {\n    piVar8 = (int *)(psVar14 + uVar7);\n    *(short *)piVar8 = 0;\n  }\n  if (local_1c != *(int *)puVar15) {\n    puVar15 = PTR___stack_chk_fail_00190df8;\n    (*(code *)PTR___stack_chk_fail_00190df8)();\n    pbVar12 = (byte *)*puVar10;\n    bVar9 = *pbVar12;\n    pbVar6 = pbVar12;\n    if (bVar9 != 0) {\n      do {\n        pbVar6 = pbVar6 + 1;\n        bVar4 = bVar9 & 0x80;\n        bVar9 = *pbVar6;\n      } while (bVar9 != 0 || bVar4 != 0);\n    }\n    iVar13 = (int)(pbVar6 + 1) - (int)pbVar12;\n    iVar2 = (**(code **)(puVar15 + 0x14762c))(*piVar8,pbVar12,iVar13);\n    *piVar8 = iVar2 + iVar13;\n    *puVar10 = pbVar6 + 1;\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_000496d4(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  short sVar3;\n  byte bVar4;\n  int iVar2;\n  short *psVar5;\n  byte *pbVar6;\n  uint uVar7;\n  int *piVar8;\n  byte bVar9;\n  undefined4 *puVar10;\n  uint uVar11;\n  byte *pbVar12;\n  int iVar13;\n  short *psVar14;\n  undefined *puVar15;\n  undefined4 local_28;\n  undefined4 local_24;\n  undefined2 local_20;\n  int local_1c;\n  \n  puVar15 = PTR___stack_chk_guard_00190e24;\n  psVar14 = *(short **)(param_1 + 8);\n  local_28 = *(undefined4 *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x2aa8);\n  sVar3 = *(short *)(*(int *)(param_1 + 0xc) + 0x2c);\n  local_24 = *(undefined4 *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x2aac);\n  local_20 = *(undefined2 *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x2ab0);\n  uVar11 = (uint)*(ushort *)(param_1 + 0x32);\n  local_1c = *(int *)PTR___stack_chk_guard_00190e24;\n  *psVar14 = sVar3;\n  puVar1 = PTR_memcpy_00190e2c;\n  if (5 < uVar11) {\n    uVar11 = 5;\n  }\n  if (*(int *)(param_1 + 0x24) != 0) {\n    sVar3 = sVar3 + -10;\n  }\n  if (sVar3 < 0x21) {\n    sVar3 = 0x21;\n  }\n  *psVar14 = sVar3;\n  puVar10 = &local_28;\n  (*(code *)puVar1)(psVar14 + 1,puVar10,uVar11 << 1);\n  uVar11 = uVar11 + 1;\n  uVar7 = (uint)*(ushort *)(param_1 + 0x32);\n  if (uVar11 <= uVar7) {\n    psVar5 = psVar14 + uVar11;\n    do {\n      *psVar5 = 0x17;\n      uVar11 = uVar11 + 1;\n      uVar7 = (uint)*(ushort *)(param_1 + 0x32);\n      puVar10 = (undefined4 *)(uint)((int)uVar7 < (int)uVar11);\n      psVar5 = psVar5 + 1;\n    } while (puVar10 == (undefined4 *)0x0);\n  }\n  piVar8 = (int *)(uVar7 * 2);\n  if (*(char *)(param_1 + 0x36) != '\0') {\n    piVar8 = (int *)(psVar14 + uVar7);\n    *(short *)piVar8 = 0;\n  }\n  if (local_1c != *(int *)puVar15) {\n    puVar15 = PTR___stack_chk_fail_00190df8;\n    (*(code *)PTR___stack_chk_fail_00190df8)();\n    pbVar12 = (byte *)*puVar10;\n    bVar9 = *pbVar12;\n    pbVar6 = pbVar12;\n    if (bVar9 != 0) {\n      do {\n        pbVar6 = pbVar6 + 1;\n        bVar4 = bVar9 & 0x80;\n        bVar9 = *pbVar6;\n      } while (bVar9 != 0 || bVar4 != 0);\n    }\n    iVar13 = (int)(pbVar6 + 1) - (int)pbVar12;\n    iVar2 = (**(code **)(puVar15 + 0x14762c))(*piVar8,pbVar12,iVar13);\n    *piVar8 = iVar2 + iVar13;\n    *puVar10 = pbVar6 + 1;\n    return;\n  }\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "short sVar3;" (sized_type_specifier "short" short) identifier ;) (declaration "byte bVar4;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "short *psVar5;" (sized_type_specifier "short" short) (pointer_declarator "*psVar5" * identifier) ;) (declaration "byte *pbVar6;" type_identifier (pointer_declarator "*pbVar6" * identifier) ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "int *piVar8;" primitive_type (pointer_declarator "*piVar8" * identifier) ;) (declaration "byte bVar9;" type_identifier identifier ;) (declaration "undefined4 *puVar10;" type_identifier (pointer_declarator "*puVar10" * identifier) ;) (declaration "uint uVar11;" type_identifier identifier ;) (declaration "byte *pbVar12;" type_identifier (pointer_declarator "*pbVar12" * identifier) ;) (declaration "int iVar13;" primitive_type identifier ;) (declaration "short *psVar14;" (sized_type_specifier "short" short) (pointer_declarator "*psVar14" * identifier) ;) (declaration "undefined *puVar15;" type_identifier (pointer_declarator "*puVar15" * identifier) ;) (declaration "undefined4 local_28;" type_identifier identifier ;) (declaration "undefined4 local_24;" type_identifier identifier ;) (declaration "undefined2 local_20;" type_identifier identifier ;) (declaration "int local_1c;" primitive_type identifier ;) (expression_statement "puVar15 = PTR___stack_chk_guard_00190e24;" (assignment_expression "puVar15 = PTR___stack_chk_guard_00190e24" identifier = identifier) ;) (expression_statement "psVar14 = *(short **)(param_1 + 8);" (assignment_expression "psVar14 = *(short **)(param_1 + 8)" identifier = (pointer_expression "*(short **)(param_1 + 8)" * (cast_expression "(short **)(param_1 + 8)" ( (type_descriptor "short **" (sized_type_specifier "short" short) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) ;) (expression_statement "local_28 = *(undefined4 *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x2aa8);" (assignment_expression "local_28 = *(undefined4 *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x2aa8)" identifier = (pointer_expression "*(undefined4 *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x2aa8)" * (cast_expression "(undefined4 *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x2aa8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x2aa8)" ( (binary_expression "PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x2aa8" identifier + number_literal) ))))) ;) (expression_statement "sVar3 = *(short *)(*(int *)(param_1 + 0xc) + 0x2c);" (assignment_expression "sVar3 = *(short *)(*(int *)(param_1 + 0xc) + 0x2c)" identifier = (pointer_expression "*(short *)(*(int *)(param_1 + 0xc) + 0x2c)" * (cast_expression "(short *)(*(int *)(param_1 + 0xc) + 0x2c)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0xc) + 0x2c)" ( (binary_expression "*(int *)(param_1 + 0xc) + 0x2c" (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) ))))) ;) (expression_statement "local_24 = *(undefined4 *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x2aac);" (assignment_expression "local_24 = *(undefined4 *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x2aac)" identifier = (pointer_expression "*(undefined4 *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x2aac)" * (cast_expression "(undefined4 *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x2aac)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x2aac)" ( (binary_expression "PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x2aac" identifier + number_literal) ))))) ;) (expression_statement "local_20 = *(undefined2 *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x2ab0);" (assignment_expression "local_20 = *(undefined2 *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x2ab0)" identifier = (pointer_expression "*(undefined2 *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x2ab0)" * (cast_expression "(undefined2 *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x2ab0)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x2ab0)" ( (binary_expression "PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x2ab0" identifier + number_literal) ))))) ;) (expression_statement "uVar11 = (uint)*(ushort *)(param_1 + 0x32);" (assignment_expression "uVar11 = (uint)*(ushort *)(param_1 + 0x32)" identifier = (binary_expression "(uint)*(ushort *)(param_1 + 0x32)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(ushort *)(param_1 + 0x32)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x32)" ( (binary_expression "param_1 + 0x32" identifier + number_literal) ))))) ;) (expression_statement "local_1c = *(int *)PTR___stack_chk_guard_00190e24;" (assignment_expression "local_1c = *(int *)PTR___stack_chk_guard_00190e24" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_00190e24" * (cast_expression "(int *)PTR___stack_chk_guard_00190e24" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "*psVar14 = sVar3;" (assignment_expression "*psVar14 = sVar3" (pointer_expression "*psVar14" * identifier) = identifier) ;) (expression_statement "puVar1 = PTR_memcpy_00190e2c;" (assignment_expression "puVar1 = PTR_memcpy_00190e2c" identifier = identifier) ;) (if_statement "if (5 < uVar11) {\n    uVar11 = 5;\n  }" if (parenthesized_expression "(5 < uVar11)" ( (binary_expression "5 < uVar11" number_literal < identifier) )) (compound_statement "{\n    uVar11 = 5;\n  }" { (expression_statement "uVar11 = 5;" (assignment_expression "uVar11 = 5" identifier = number_literal) ;) })) (if_statement "if (*(int *)(param_1 + 0x24) != 0) {\n    sVar3 = sVar3 + -10;\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x24) != 0)" ( (binary_expression "*(int *)(param_1 + 0x24) != 0" (pointer_expression "*(int *)(param_1 + 0x24)" * (cast_expression "(int *)(param_1 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x24)" ( (binary_expression "param_1 + 0x24" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    sVar3 = sVar3 + -10;\n  }" { (expression_statement "sVar3 = sVar3 + -10;" (assignment_expression "sVar3 = sVar3 + -10" identifier = (binary_expression "sVar3 + -10" identifier + number_literal)) ;) })) (if_statement "if (sVar3 < 0x21) {\n    sVar3 = 0x21;\n  }" if (parenthesized_expression "(sVar3 < 0x21)" ( (binary_expression "sVar3 < 0x21" identifier < number_literal) )) (compound_statement "{\n    sVar3 = 0x21;\n  }" { (expression_statement "sVar3 = 0x21;" (assignment_expression "sVar3 = 0x21" identifier = number_literal) ;) })) (expression_statement "*psVar14 = sVar3;" (assignment_expression "*psVar14 = sVar3" (pointer_expression "*psVar14" * identifier) = identifier) ;) (expression_statement "puVar10 = &local_28;" (assignment_expression "puVar10 = &local_28" identifier = (pointer_expression "&local_28" & identifier)) ;) (expression_statement "(*(code *)puVar1)(psVar14 + 1,puVar10,uVar11 << 1);" (call_expression "(*(code *)puVar1)(psVar14 + 1,puVar10,uVar11 << 1)" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(psVar14 + 1,puVar10,uVar11 << 1)" ( (binary_expression "psVar14 + 1" identifier + number_literal) , identifier , (binary_expression "uVar11 << 1" identifier << number_literal) ))) ;) (expression_statement "uVar11 = uVar11 + 1;" (assignment_expression "uVar11 = uVar11 + 1" identifier = (binary_expression "uVar11 + 1" identifier + number_literal)) ;) (expression_statement "uVar7 = (uint)*(ushort *)(param_1 + 0x32);" (assignment_expression "uVar7 = (uint)*(ushort *)(param_1 + 0x32)" identifier = (binary_expression "(uint)*(ushort *)(param_1 + 0x32)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(ushort *)(param_1 + 0x32)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x32)" ( (binary_expression "param_1 + 0x32" identifier + number_literal) ))))) ;) (if_statement "if (uVar11 <= uVar7) {\n    psVar5 = psVar14 + uVar11;\n    do {\n      *psVar5 = 0x17;\n      uVar11 = uVar11 + 1;\n      uVar7 = (uint)*(ushort *)(param_1 + 0x32);\n      puVar10 = (undefined4 *)(uint)((int)uVar7 < (int)uVar11);\n      psVar5 = psVar5 + 1;\n    } while (puVar10 == (undefined4 *)0x0);\n  }" if (parenthesized_expression "(uVar11 <= uVar7)" ( (binary_expression "uVar11 <= uVar7" identifier <= identifier) )) (compound_statement "{\n    psVar5 = psVar14 + uVar11;\n    do {\n      *psVar5 = 0x17;\n      uVar11 = uVar11 + 1;\n      uVar7 = (uint)*(ushort *)(param_1 + 0x32);\n      puVar10 = (undefined4 *)(uint)((int)uVar7 < (int)uVar11);\n      psVar5 = psVar5 + 1;\n    } while (puVar10 == (undefined4 *)0x0);\n  }" { (expression_statement "psVar5 = psVar14 + uVar11;" (assignment_expression "psVar5 = psVar14 + uVar11" identifier = (binary_expression "psVar14 + uVar11" identifier + identifier)) ;) (do_statement "do {\n      *psVar5 = 0x17;\n      uVar11 = uVar11 + 1;\n      uVar7 = (uint)*(ushort *)(param_1 + 0x32);\n      puVar10 = (undefined4 *)(uint)((int)uVar7 < (int)uVar11);\n      psVar5 = psVar5 + 1;\n    } while (puVar10 == (undefined4 *)0x0);" do (compound_statement "{\n      *psVar5 = 0x17;\n      uVar11 = uVar11 + 1;\n      uVar7 = (uint)*(ushort *)(param_1 + 0x32);\n      puVar10 = (undefined4 *)(uint)((int)uVar7 < (int)uVar11);\n      psVar5 = psVar5 + 1;\n    }" { (expression_statement "*psVar5 = 0x17;" (assignment_expression "*psVar5 = 0x17" (pointer_expression "*psVar5" * identifier) = number_literal) ;) (expression_statement "uVar11 = uVar11 + 1;" (assignment_expression "uVar11 = uVar11 + 1" identifier = (binary_expression "uVar11 + 1" identifier + number_literal)) ;) (expression_statement "uVar7 = (uint)*(ushort *)(param_1 + 0x32);" (assignment_expression "uVar7 = (uint)*(ushort *)(param_1 + 0x32)" identifier = (binary_expression "(uint)*(ushort *)(param_1 + 0x32)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(ushort *)(param_1 + 0x32)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x32)" ( (binary_expression "param_1 + 0x32" identifier + number_literal) ))))) ;) (expression_statement "puVar10 = (undefined4 *)(uint)((int)uVar7 < (int)uVar11);" (assignment_expression "puVar10 = (undefined4 *)(uint)((int)uVar7 < (int)uVar11)" identifier = (cast_expression "(undefined4 *)(uint)((int)uVar7 < (int)uVar11)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(uint)((int)uVar7 < (int)uVar11)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((int)uVar7 < (int)uVar11)" ( (binary_expression "(int)uVar7 < (int)uVar11" (cast_expression "(int)uVar7" ( (type_descriptor "int" primitive_type) ) identifier) < (cast_expression "(int)uVar11" ( (type_descriptor "int" primitive_type) ) identifier)) ))))) ;) (expression_statement "psVar5 = psVar5 + 1;" (assignment_expression "psVar5 = psVar5 + 1" identifier = (binary_expression "psVar5 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(puVar10 == (undefined4 *)0x0)" ( (binary_expression "puVar10 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) })) (expression_statement "piVar8 = (int *)(uVar7 * 2);" (assignment_expression "piVar8 = (int *)(uVar7 * 2)" identifier = (cast_expression "(int *)(uVar7 * 2)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uVar7 * 2)" ( (binary_expression "uVar7 * 2" identifier * number_literal) )))) ;) (if_statement "if (*(char *)(param_1 + 0x36) != '\0') {\n    piVar8 = (int *)(psVar14 + uVar7);\n    *(short *)piVar8 = 0;\n  }" if (parenthesized_expression "(*(char *)(param_1 + 0x36) != '\0')" ( (binary_expression "*(char *)(param_1 + 0x36) != '\0'" (pointer_expression "*(char *)(param_1 + 0x36)" * (cast_expression "(char *)(param_1 + 0x36)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x36)" ( (binary_expression "param_1 + 0x36" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    piVar8 = (int *)(psVar14 + uVar7);\n    *(short *)piVar8 = 0;\n  }" { (expression_statement "piVar8 = (int *)(psVar14 + uVar7);" (assignment_expression "piVar8 = (int *)(psVar14 + uVar7)" identifier = (cast_expression "(int *)(psVar14 + uVar7)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(psVar14 + uVar7)" ( (binary_expression "psVar14 + uVar7" identifier + identifier) )))) ;) (expression_statement "*(short *)piVar8 = 0;" (assignment_expression "*(short *)piVar8 = 0" (pointer_expression "*(short *)piVar8" * (cast_expression "(short *)piVar8" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) identifier)) = number_literal) ;) })) (if_statement "if (local_1c != *(int *)puVar15) {\n    puVar15 = PTR___stack_chk_fail_00190df8;\n    (*(code *)PTR___stack_chk_fail_00190df8)();\n    pbVar12 = (byte *)*puVar10;\n    bVar9 = *pbVar12;\n    pbVar6 = pbVar12;\n    if (bVar9 != 0) {\n      do {\n        pbVar6 = pbVar6 + 1;\n        bVar4 = bVar9 & 0x80;\n        bVar9 = *pbVar6;\n      } while (bVar9 != 0 || bVar4 != 0);\n    }\n    iVar13 = (int)(pbVar6 + 1) - (int)pbVar12;\n    iVar2 = (**(code **)(puVar15 + 0x14762c))(*piVar8,pbVar12,iVar13);\n    *piVar8 = iVar2 + iVar13;\n    *puVar10 = pbVar6 + 1;\n    return;\n  }" if (parenthesized_expression "(local_1c != *(int *)puVar15)" ( (binary_expression "local_1c != *(int *)puVar15" identifier != (pointer_expression "*(int *)puVar15" * (cast_expression "(int *)puVar15" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    puVar15 = PTR___stack_chk_fail_00190df8;\n    (*(code *)PTR___stack_chk_fail_00190df8)();\n    pbVar12 = (byte *)*puVar10;\n    bVar9 = *pbVar12;\n    pbVar6 = pbVar12;\n    if (bVar9 != 0) {\n      do {\n        pbVar6 = pbVar6 + 1;\n        bVar4 = bVar9 & 0x80;\n        bVar9 = *pbVar6;\n      } while (bVar9 != 0 || bVar4 != 0);\n    }\n    iVar13 = (int)(pbVar6 + 1) - (int)pbVar12;\n    iVar2 = (**(code **)(puVar15 + 0x14762c))(*piVar8,pbVar12,iVar13);\n    *piVar8 = iVar2 + iVar13;\n    *puVar10 = pbVar6 + 1;\n    return;\n  }" { (expression_statement "puVar15 = PTR___stack_chk_fail_00190df8;" (assignment_expression "puVar15 = PTR___stack_chk_fail_00190df8" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_00190df8)();" (call_expression "(*(code *)PTR___stack_chk_fail_00190df8)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_00190df8)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_00190df8" * (cast_expression "(code *)PTR___stack_chk_fail_00190df8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "pbVar12 = (byte *)*puVar10;" (assignment_expression "pbVar12 = (byte *)*puVar10" identifier = (cast_expression "(byte *)*puVar10" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar10" * identifier))) ;) (expression_statement "bVar9 = *pbVar12;" (assignment_expression "bVar9 = *pbVar12" identifier = (pointer_expression "*pbVar12" * identifier)) ;) (expression_statement "pbVar6 = pbVar12;" (assignment_expression "pbVar6 = pbVar12" identifier = identifier) ;) (if_statement "if (bVar9 != 0) {\n      do {\n        pbVar6 = pbVar6 + 1;\n        bVar4 = bVar9 & 0x80;\n        bVar9 = *pbVar6;\n      } while (bVar9 != 0 || bVar4 != 0);\n    }" if (parenthesized_expression "(bVar9 != 0)" ( (binary_expression "bVar9 != 0" identifier != number_literal) )) (compound_statement "{\n      do {\n        pbVar6 = pbVar6 + 1;\n        bVar4 = bVar9 & 0x80;\n        bVar9 = *pbVar6;\n      } while (bVar9 != 0 || bVar4 != 0);\n    }" { (do_statement "do {\n        pbVar6 = pbVar6 + 1;\n        bVar4 = bVar9 & 0x80;\n        bVar9 = *pbVar6;\n      } while (bVar9 != 0 || bVar4 != 0);" do (compound_statement "{\n        pbVar6 = pbVar6 + 1;\n        bVar4 = bVar9 & 0x80;\n        bVar9 = *pbVar6;\n      }" { (expression_statement "pbVar6 = pbVar6 + 1;" (assignment_expression "pbVar6 = pbVar6 + 1" identifier = (binary_expression "pbVar6 + 1" identifier + number_literal)) ;) (expression_statement "bVar4 = bVar9 & 0x80;" (assignment_expression "bVar4 = bVar9 & 0x80" identifier = (binary_expression "bVar9 & 0x80" identifier & number_literal)) ;) (expression_statement "bVar9 = *pbVar6;" (assignment_expression "bVar9 = *pbVar6" identifier = (pointer_expression "*pbVar6" * identifier)) ;) }) while (parenthesized_expression "(bVar9 != 0 || bVar4 != 0)" ( (binary_expression "bVar9 != 0 || bVar4 != 0" (binary_expression "bVar9 != 0" identifier != number_literal) || (binary_expression "bVar4 != 0" identifier != number_literal)) )) ;) })) (expression_statement "iVar13 = (int)(pbVar6 + 1) - (int)pbVar12;" (assignment_expression "iVar13 = (int)(pbVar6 + 1) - (int)pbVar12" identifier = (binary_expression "(int)(pbVar6 + 1) - (int)pbVar12" (cast_expression "(int)(pbVar6 + 1)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(pbVar6 + 1)" ( (binary_expression "pbVar6 + 1" identifier + number_literal) ))) - (cast_expression "(int)pbVar12" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "iVar2 = (**(code **)(puVar15 + 0x14762c))(*piVar8,pbVar12,iVar13);" (assignment_expression "iVar2 = (**(code **)(puVar15 + 0x14762c))(*piVar8,pbVar12,iVar13)" identifier = (call_expression "(**(code **)(puVar15 + 0x14762c))(*piVar8,pbVar12,iVar13)" (parenthesized_expression "(**(code **)(puVar15 + 0x14762c))" ( (pointer_expression "**(code **)(puVar15 + 0x14762c)" * (pointer_expression "*(code **)(puVar15 + 0x14762c)" * (cast_expression "(code **)(puVar15 + 0x14762c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x14762c)" ( (binary_expression "puVar15 + 0x14762c" identifier + number_literal) ))))) )) (argument_list "(*piVar8,pbVar12,iVar13)" ( (pointer_expression "*piVar8" * identifier) , identifier , identifier )))) ;) (expression_statement "*piVar8 = iVar2 + iVar13;" (assignment_expression "*piVar8 = iVar2 + iVar13" (pointer_expression "*piVar8" * identifier) = (binary_expression "iVar2 + iVar13" identifier + identifier)) ;) (expression_statement "*puVar10 = pbVar6 + 1;" (assignment_expression "*puVar10 = pbVar6 + 1" (pointer_expression "*puVar10" * identifier) = (binary_expression "pbVar6 + 1" identifier + number_literal)) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit "void sqlite3DefaultRowEst(Index *pIdx)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  short sVar3;\n  short *psVar4;\n  uint uVar5;\n  int iVar6;\n  uint uVar7;\n  short *psVar8;\n  LogEst aVal [5];\n  \n  puVar1 = PTR___stack_chk_guard_00190e24;\n  psVar8 = pIdx->aiRowLogEst;\n  aVal._0_4_ = *(undefined4 *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x2aa8);\n  sVar3 = pIdx->pTable->nRowLogEst;\n  aVal._4_4_ = *(undefined4 *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x2aac);\n  aVal[4] = *(LogEst *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x2ab0);\n  uVar7 = (uint)pIdx->nKeyCol;\n  iVar6 = *(int *)PTR___stack_chk_guard_00190e24;\n  *psVar8 = sVar3;\n  puVar2 = PTR_memcpy_00190e2c;\n  if (5 < uVar7) {\n    uVar7 = 5;\n  }\n  if (pIdx->pPartIdxWhere != (Expr *)0x0) {\n    sVar3 = sVar3 + -10;\n  }\n  if (sVar3 < 0x21) {\n    sVar3 = 0x21;\n  }\n  *psVar8 = sVar3;\n  (*(code *)puVar2)(psVar8 + 1,aVal,uVar7 << 1);\n  uVar7 = uVar7 + 1;\n  uVar5 = (uint)pIdx->nKeyCol;\n  if (uVar7 <= uVar5) {\n    psVar4 = psVar8 + uVar7;\n    do {\n      *psVar4 = 0x17;\n      uVar7 = uVar7 + 1;\n      uVar5 = (uint)pIdx->nKeyCol;\n      psVar4 = psVar4 + 1;\n    } while ((int)uVar7 <= (int)uVar5);\n  }\n  if (pIdx->onError != '\0') {\n    psVar8[uVar5] = 0;\n  }\n  if (iVar6 == *(int *)puVar1) {\n    return;\n  }\n  (*(code *)PTR___stack_chk_fail_00190df8)();\n  return;\n}\n\n" (function_definition "void sqlite3DefaultRowEst(Index *pIdx)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  short sVar3;\n  short *psVar4;\n  uint uVar5;\n  int iVar6;\n  uint uVar7;\n  short *psVar8;\n  LogEst aVal [5];\n  \n  puVar1 = PTR___stack_chk_guard_00190e24;\n  psVar8 = pIdx->aiRowLogEst;\n  aVal._0_4_ = *(undefined4 *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x2aa8);\n  sVar3 = pIdx->pTable->nRowLogEst;\n  aVal._4_4_ = *(undefined4 *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x2aac);\n  aVal[4] = *(LogEst *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x2ab0);\n  uVar7 = (uint)pIdx->nKeyCol;\n  iVar6 = *(int *)PTR___stack_chk_guard_00190e24;\n  *psVar8 = sVar3;\n  puVar2 = PTR_memcpy_00190e2c;\n  if (5 < uVar7) {\n    uVar7 = 5;\n  }\n  if (pIdx->pPartIdxWhere != (Expr *)0x0) {\n    sVar3 = sVar3 + -10;\n  }\n  if (sVar3 < 0x21) {\n    sVar3 = 0x21;\n  }\n  *psVar8 = sVar3;\n  (*(code *)puVar2)(psVar8 + 1,aVal,uVar7 << 1);\n  uVar7 = uVar7 + 1;\n  uVar5 = (uint)pIdx->nKeyCol;\n  if (uVar7 <= uVar5) {\n    psVar4 = psVar8 + uVar7;\n    do {\n      *psVar4 = 0x17;\n      uVar7 = uVar7 + 1;\n      uVar5 = (uint)pIdx->nKeyCol;\n      psVar4 = psVar4 + 1;\n    } while ((int)uVar7 <= (int)uVar5);\n  }\n  if (pIdx->onError != '\0') {\n    psVar8[uVar5] = 0;\n  }\n  if (iVar6 == *(int *)puVar1) {\n    return;\n  }\n  (*(code *)PTR___stack_chk_fail_00190df8)();\n  return;\n}" primitive_type (function_declarator "sqlite3DefaultRowEst(Index *pIdx)" identifier (parameter_list "(Index *pIdx)" ( (parameter_declaration "Index *pIdx" type_identifier (pointer_declarator "*pIdx" * identifier)) ))) (compound_statement "{\n  undefined *puVar1;\n  undefined *puVar2;\n  short sVar3;\n  short *psVar4;\n  uint uVar5;\n  int iVar6;\n  uint uVar7;\n  short *psVar8;\n  LogEst aVal [5];\n  \n  puVar1 = PTR___stack_chk_guard_00190e24;\n  psVar8 = pIdx->aiRowLogEst;\n  aVal._0_4_ = *(undefined4 *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x2aa8);\n  sVar3 = pIdx->pTable->nRowLogEst;\n  aVal._4_4_ = *(undefined4 *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x2aac);\n  aVal[4] = *(LogEst *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x2ab0);\n  uVar7 = (uint)pIdx->nKeyCol;\n  iVar6 = *(int *)PTR___stack_chk_guard_00190e24;\n  *psVar8 = sVar3;\n  puVar2 = PTR_memcpy_00190e2c;\n  if (5 < uVar7) {\n    uVar7 = 5;\n  }\n  if (pIdx->pPartIdxWhere != (Expr *)0x0) {\n    sVar3 = sVar3 + -10;\n  }\n  if (sVar3 < 0x21) {\n    sVar3 = 0x21;\n  }\n  *psVar8 = sVar3;\n  (*(code *)puVar2)(psVar8 + 1,aVal,uVar7 << 1);\n  uVar7 = uVar7 + 1;\n  uVar5 = (uint)pIdx->nKeyCol;\n  if (uVar7 <= uVar5) {\n    psVar4 = psVar8 + uVar7;\n    do {\n      *psVar4 = 0x17;\n      uVar7 = uVar7 + 1;\n      uVar5 = (uint)pIdx->nKeyCol;\n      psVar4 = psVar4 + 1;\n    } while ((int)uVar7 <= (int)uVar5);\n  }\n  if (pIdx->onError != '\0') {\n    psVar8[uVar5] = 0;\n  }\n  if (iVar6 == *(int *)puVar1) {\n    return;\n  }\n  (*(code *)PTR___stack_chk_fail_00190df8)();\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "short sVar3;" (sized_type_specifier "short" short) identifier ;) (declaration "short *psVar4;" (sized_type_specifier "short" short) (pointer_declarator "*psVar4" * identifier) ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "short *psVar8;" (sized_type_specifier "short" short) (pointer_declarator "*psVar8" * identifier) ;) (declaration "LogEst aVal [5];" type_identifier (array_declarator "aVal [5]" identifier [ number_literal ]) ;) (expression_statement "puVar1 = PTR___stack_chk_guard_00190e24;" (assignment_expression "puVar1 = PTR___stack_chk_guard_00190e24" identifier = identifier) ;) (expression_statement "psVar8 = pIdx->aiRowLogEst;" (assignment_expression "psVar8 = pIdx->aiRowLogEst" identifier = (field_expression "pIdx->aiRowLogEst" identifier -> field_identifier)) ;) (expression_statement "aVal._0_4_ = *(undefined4 *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x2aa8);" (assignment_expression "aVal._0_4_ = *(undefined4 *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x2aa8)" (field_expression "aVal._0_4_" identifier . field_identifier) = (pointer_expression "*(undefined4 *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x2aa8)" * (cast_expression "(undefined4 *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x2aa8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x2aa8)" ( (binary_expression "PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x2aa8" identifier + number_literal) ))))) ;) (expression_statement "sVar3 = pIdx->pTable->nRowLogEst;" (assignment_expression "sVar3 = pIdx->pTable->nRowLogEst" identifier = (field_expression "pIdx->pTable->nRowLogEst" (field_expression "pIdx->pTable" identifier -> field_identifier) -> field_identifier)) ;) (expression_statement "aVal._4_4_ = *(undefined4 *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x2aac);" (assignment_expression "aVal._4_4_ = *(undefined4 *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x2aac)" (field_expression "aVal._4_4_" identifier . field_identifier) = (pointer_expression "*(undefined4 *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x2aac)" * (cast_expression "(undefined4 *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x2aac)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x2aac)" ( (binary_expression "PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x2aac" identifier + number_literal) ))))) ;) (expression_statement "aVal[4] = *(LogEst *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x2ab0);" (assignment_expression "aVal[4] = *(LogEst *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x2ab0)" (subscript_expression "aVal[4]" identifier [ number_literal ]) = (pointer_expression "*(LogEst *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x2ab0)" * (cast_expression "(LogEst *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x2ab0)" ( (type_descriptor "LogEst *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x2ab0)" ( (binary_expression "PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x2ab0" identifier + number_literal) ))))) ;) (expression_statement "uVar7 = (uint)pIdx->nKeyCol;" (assignment_expression "uVar7 = (uint)pIdx->nKeyCol" identifier = (cast_expression "(uint)pIdx->nKeyCol" ( (type_descriptor "uint" type_identifier) ) (field_expression "pIdx->nKeyCol" identifier -> field_identifier))) ;) (expression_statement "iVar6 = *(int *)PTR___stack_chk_guard_00190e24;" (assignment_expression "iVar6 = *(int *)PTR___stack_chk_guard_00190e24" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_00190e24" * (cast_expression "(int *)PTR___stack_chk_guard_00190e24" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "*psVar8 = sVar3;" (assignment_expression "*psVar8 = sVar3" (pointer_expression "*psVar8" * identifier) = identifier) ;) (expression_statement "puVar2 = PTR_memcpy_00190e2c;" (assignment_expression "puVar2 = PTR_memcpy_00190e2c" identifier = identifier) ;) (if_statement "if (5 < uVar7) {\n    uVar7 = 5;\n  }" if (parenthesized_expression "(5 < uVar7)" ( (binary_expression "5 < uVar7" number_literal < identifier) )) (compound_statement "{\n    uVar7 = 5;\n  }" { (expression_statement "uVar7 = 5;" (assignment_expression "uVar7 = 5" identifier = number_literal) ;) })) (if_statement "if (pIdx->pPartIdxWhere != (Expr *)0x0) {\n    sVar3 = sVar3 + -10;\n  }" if (parenthesized_expression "(pIdx->pPartIdxWhere != (Expr *)0x0)" ( (binary_expression "pIdx->pPartIdxWhere != (Expr *)0x0" (field_expression "pIdx->pPartIdxWhere" identifier -> field_identifier) != (cast_expression "(Expr *)0x0" ( (type_descriptor "Expr *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    sVar3 = sVar3 + -10;\n  }" { (expression_statement "sVar3 = sVar3 + -10;" (assignment_expression "sVar3 = sVar3 + -10" identifier = (binary_expression "sVar3 + -10" identifier + number_literal)) ;) })) (if_statement "if (sVar3 < 0x21) {\n    sVar3 = 0x21;\n  }" if (parenthesized_expression "(sVar3 < 0x21)" ( (binary_expression "sVar3 < 0x21" identifier < number_literal) )) (compound_statement "{\n    sVar3 = 0x21;\n  }" { (expression_statement "sVar3 = 0x21;" (assignment_expression "sVar3 = 0x21" identifier = number_literal) ;) })) (expression_statement "*psVar8 = sVar3;" (assignment_expression "*psVar8 = sVar3" (pointer_expression "*psVar8" * identifier) = identifier) ;) (expression_statement "(*(code *)puVar2)(psVar8 + 1,aVal,uVar7 << 1);" (call_expression "(*(code *)puVar2)(psVar8 + 1,aVal,uVar7 << 1)" (parenthesized_expression "(*(code *)puVar2)" ( (pointer_expression "*(code *)puVar2" * (cast_expression "(code *)puVar2" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(psVar8 + 1,aVal,uVar7 << 1)" ( (binary_expression "psVar8 + 1" identifier + number_literal) , identifier , (binary_expression "uVar7 << 1" identifier << number_literal) ))) ;) (expression_statement "uVar7 = uVar7 + 1;" (assignment_expression "uVar7 = uVar7 + 1" identifier = (binary_expression "uVar7 + 1" identifier + number_literal)) ;) (expression_statement "uVar5 = (uint)pIdx->nKeyCol;" (assignment_expression "uVar5 = (uint)pIdx->nKeyCol" identifier = (cast_expression "(uint)pIdx->nKeyCol" ( (type_descriptor "uint" type_identifier) ) (field_expression "pIdx->nKeyCol" identifier -> field_identifier))) ;) (if_statement "if (uVar7 <= uVar5) {\n    psVar4 = psVar8 + uVar7;\n    do {\n      *psVar4 = 0x17;\n      uVar7 = uVar7 + 1;\n      uVar5 = (uint)pIdx->nKeyCol;\n      psVar4 = psVar4 + 1;\n    } while ((int)uVar7 <= (int)uVar5);\n  }" if (parenthesized_expression "(uVar7 <= uVar5)" ( (binary_expression "uVar7 <= uVar5" identifier <= identifier) )) (compound_statement "{\n    psVar4 = psVar8 + uVar7;\n    do {\n      *psVar4 = 0x17;\n      uVar7 = uVar7 + 1;\n      uVar5 = (uint)pIdx->nKeyCol;\n      psVar4 = psVar4 + 1;\n    } while ((int)uVar7 <= (int)uVar5);\n  }" { (expression_statement "psVar4 = psVar8 + uVar7;" (assignment_expression "psVar4 = psVar8 + uVar7" identifier = (binary_expression "psVar8 + uVar7" identifier + identifier)) ;) (do_statement "do {\n      *psVar4 = 0x17;\n      uVar7 = uVar7 + 1;\n      uVar5 = (uint)pIdx->nKeyCol;\n      psVar4 = psVar4 + 1;\n    } while ((int)uVar7 <= (int)uVar5);" do (compound_statement "{\n      *psVar4 = 0x17;\n      uVar7 = uVar7 + 1;\n      uVar5 = (uint)pIdx->nKeyCol;\n      psVar4 = psVar4 + 1;\n    }" { (expression_statement "*psVar4 = 0x17;" (assignment_expression "*psVar4 = 0x17" (pointer_expression "*psVar4" * identifier) = number_literal) ;) (expression_statement "uVar7 = uVar7 + 1;" (assignment_expression "uVar7 = uVar7 + 1" identifier = (binary_expression "uVar7 + 1" identifier + number_literal)) ;) (expression_statement "uVar5 = (uint)pIdx->nKeyCol;" (assignment_expression "uVar5 = (uint)pIdx->nKeyCol" identifier = (cast_expression "(uint)pIdx->nKeyCol" ( (type_descriptor "uint" type_identifier) ) (field_expression "pIdx->nKeyCol" identifier -> field_identifier))) ;) (expression_statement "psVar4 = psVar4 + 1;" (assignment_expression "psVar4 = psVar4 + 1" identifier = (binary_expression "psVar4 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "((int)uVar7 <= (int)uVar5)" ( (binary_expression "(int)uVar7 <= (int)uVar5" (cast_expression "(int)uVar7" ( (type_descriptor "int" primitive_type) ) identifier) <= (cast_expression "(int)uVar5" ( (type_descriptor "int" primitive_type) ) identifier)) )) ;) })) (if_statement "if (pIdx->onError != '\0') {\n    psVar8[uVar5] = 0;\n  }" if (parenthesized_expression "(pIdx->onError != '\0')" ( (binary_expression "pIdx->onError != '\0'" (field_expression "pIdx->onError" identifier -> field_identifier) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    psVar8[uVar5] = 0;\n  }" { (expression_statement "psVar8[uVar5] = 0;" (assignment_expression "psVar8[uVar5] = 0" (subscript_expression "psVar8[uVar5]" identifier [ identifier ]) = number_literal) ;) })) (if_statement "if (iVar6 == *(int *)puVar1) {\n    return;\n  }" if (parenthesized_expression "(iVar6 == *(int *)puVar1)" ( (binary_expression "iVar6 == *(int *)puVar1" identifier == (pointer_expression "*(int *)puVar1" * (cast_expression "(int *)puVar1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "(*(code *)PTR___stack_chk_fail_00190df8)();" (call_expression "(*(code *)PTR___stack_chk_fail_00190df8)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_00190df8)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_00190df8" * (cast_expression "(code *)PTR___stack_chk_fail_00190df8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_000496d4(int param_1)\n\n{\n  undefined *puVar1;\n  short sVar3;\n  byte bVar4;\n  int iVar2;\n  short *psVar5;\n  byte *pbVar6;\n  uint uVar7;\n  int *piVar8;\n  byte bVar9;\n  undefined4 *puVar10;\n  uint uVar11;\n  byte *pbVar12;\n  int iVar13;\n  short *psVar14;\n  undefined *puVar15;\n  undefined4 local_28;\n  undefined4 local_24;\n  undefined2 local_20;\n  int local_1c;\n  \n  puVar15 = PTR___stack_chk_guard_00190e24;\n  psVar14 = *(short **)(param_1 + 8);\n  local_28 = *(undefined4 *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x2aa8);\n  sVar3 = *(short *)(*(int *)(param_1 + 0xc) + 0x2c);\n  local_24 = *(undefined4 *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x2aac);\n  local_20 = *(undefined2 *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x2ab0);\n  uVar11 = (uint)*(ushort *)(param_1 + 0x32);\n  local_1c = *(int *)PTR___stack_chk_guard_00190e24;\n  *psVar14 = sVar3;\n  puVar1 = PTR_memcpy_00190e2c;\n  if (5 < uVar11) {\n    uVar11 = 5;\n  }\n  if (*(int *)(param_1 + 0x24) != 0) {\n    sVar3 = sVar3 + -10;\n  }\n  if (sVar3 < 0x21) {\n    sVar3 = 0x21;\n  }\n  *psVar14 = sVar3;\n  puVar10 = &local_28;\n  (*(code *)puVar1)(psVar14 + 1,puVar10,uVar11 << 1);\n  uVar11 = uVar11 + 1;\n  uVar7 = (uint)*(ushort *)(param_1 + 0x32);\n  if (uVar11 <= uVar7) {\n    psVar5 = psVar14 + uVar11;\n    do {\n      *psVar5 = 0x17;\n      uVar11 = uVar11 + 1;\n      uVar7 = (uint)*(ushort *)(param_1 + 0x32);\n      puVar10 = (undefined4 *)(uint)((int)uVar7 < (int)uVar11);\n      psVar5 = psVar5 + 1;\n    } while (puVar10 == (undefined4 *)0x0);\n  }\n  piVar8 = (int *)(uVar7 * 2);\n  if (*(char *)(param_1 + 0x36) != '\0') {\n    piVar8 = (int *)(psVar14 + uVar7);\n    *(short *)piVar8 = 0;\n  }\n  if (local_1c != *(int *)puVar15) {\n    puVar15 = PTR___stack_chk_fail_00190df8;\n    (*(code *)PTR___stack_chk_fail_00190df8)();\n    pbVar12 = (byte *)*puVar10;\n    bVar9 = *pbVar12;\n    pbVar6 = pbVar12;\n    if (bVar9 != 0) {\n      do {\n        pbVar6 = pbVar6 + 1;\n        bVar4 = bVar9 & 0x80;\n        bVar9 = *pbVar6;\n      } while (bVar9 != 0 || bVar4 != 0);\n    }\n    iVar13 = (int)(pbVar6 + 1) - (int)pbVar12;\n    iVar2 = (**(code **)(puVar15 + 0x14762c))(*piVar8,pbVar12,iVar13);\n    *piVar8 = iVar2 + iVar13;\n    *puVar10 = pbVar6 + 1;\n    return;\n  }\n  return;\n}\n\n" (function_definition "void FUN_000496d4(int param_1)\n\n{\n  undefined *puVar1;\n  short sVar3;\n  byte bVar4;\n  int iVar2;\n  short *psVar5;\n  byte *pbVar6;\n  uint uVar7;\n  int *piVar8;\n  byte bVar9;\n  undefined4 *puVar10;\n  uint uVar11;\n  byte *pbVar12;\n  int iVar13;\n  short *psVar14;\n  undefined *puVar15;\n  undefined4 local_28;\n  undefined4 local_24;\n  undefined2 local_20;\n  int local_1c;\n  \n  puVar15 = PTR___stack_chk_guard_00190e24;\n  psVar14 = *(short **)(param_1 + 8);\n  local_28 = *(undefined4 *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x2aa8);\n  sVar3 = *(short *)(*(int *)(param_1 + 0xc) + 0x2c);\n  local_24 = *(undefined4 *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x2aac);\n  local_20 = *(undefined2 *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x2ab0);\n  uVar11 = (uint)*(ushort *)(param_1 + 0x32);\n  local_1c = *(int *)PTR___stack_chk_guard_00190e24;\n  *psVar14 = sVar3;\n  puVar1 = PTR_memcpy_00190e2c;\n  if (5 < uVar11) {\n    uVar11 = 5;\n  }\n  if (*(int *)(param_1 + 0x24) != 0) {\n    sVar3 = sVar3 + -10;\n  }\n  if (sVar3 < 0x21) {\n    sVar3 = 0x21;\n  }\n  *psVar14 = sVar3;\n  puVar10 = &local_28;\n  (*(code *)puVar1)(psVar14 + 1,puVar10,uVar11 << 1);\n  uVar11 = uVar11 + 1;\n  uVar7 = (uint)*(ushort *)(param_1 + 0x32);\n  if (uVar11 <= uVar7) {\n    psVar5 = psVar14 + uVar11;\n    do {\n      *psVar5 = 0x17;\n      uVar11 = uVar11 + 1;\n      uVar7 = (uint)*(ushort *)(param_1 + 0x32);\n      puVar10 = (undefined4 *)(uint)((int)uVar7 < (int)uVar11);\n      psVar5 = psVar5 + 1;\n    } while (puVar10 == (undefined4 *)0x0);\n  }\n  piVar8 = (int *)(uVar7 * 2);\n  if (*(char *)(param_1 + 0x36) != '\0') {\n    piVar8 = (int *)(psVar14 + uVar7);\n    *(short *)piVar8 = 0;\n  }\n  if (local_1c != *(int *)puVar15) {\n    puVar15 = PTR___stack_chk_fail_00190df8;\n    (*(code *)PTR___stack_chk_fail_00190df8)();\n    pbVar12 = (byte *)*puVar10;\n    bVar9 = *pbVar12;\n    pbVar6 = pbVar12;\n    if (bVar9 != 0) {\n      do {\n        pbVar6 = pbVar6 + 1;\n        bVar4 = bVar9 & 0x80;\n        bVar9 = *pbVar6;\n      } while (bVar9 != 0 || bVar4 != 0);\n    }\n    iVar13 = (int)(pbVar6 + 1) - (int)pbVar12;\n    iVar2 = (**(code **)(puVar15 + 0x14762c))(*piVar8,pbVar12,iVar13);\n    *piVar8 = iVar2 + iVar13;\n    *puVar10 = pbVar6 + 1;\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_000496d4(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  short sVar3;\n  byte bVar4;\n  int iVar2;\n  short *psVar5;\n  byte *pbVar6;\n  uint uVar7;\n  int *piVar8;\n  byte bVar9;\n  undefined4 *puVar10;\n  uint uVar11;\n  byte *pbVar12;\n  int iVar13;\n  short *psVar14;\n  undefined *puVar15;\n  undefined4 local_28;\n  undefined4 local_24;\n  undefined2 local_20;\n  int local_1c;\n  \n  puVar15 = PTR___stack_chk_guard_00190e24;\n  psVar14 = *(short **)(param_1 + 8);\n  local_28 = *(undefined4 *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x2aa8);\n  sVar3 = *(short *)(*(int *)(param_1 + 0xc) + 0x2c);\n  local_24 = *(undefined4 *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x2aac);\n  local_20 = *(undefined2 *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x2ab0);\n  uVar11 = (uint)*(ushort *)(param_1 + 0x32);\n  local_1c = *(int *)PTR___stack_chk_guard_00190e24;\n  *psVar14 = sVar3;\n  puVar1 = PTR_memcpy_00190e2c;\n  if (5 < uVar11) {\n    uVar11 = 5;\n  }\n  if (*(int *)(param_1 + 0x24) != 0) {\n    sVar3 = sVar3 + -10;\n  }\n  if (sVar3 < 0x21) {\n    sVar3 = 0x21;\n  }\n  *psVar14 = sVar3;\n  puVar10 = &local_28;\n  (*(code *)puVar1)(psVar14 + 1,puVar10,uVar11 << 1);\n  uVar11 = uVar11 + 1;\n  uVar7 = (uint)*(ushort *)(param_1 + 0x32);\n  if (uVar11 <= uVar7) {\n    psVar5 = psVar14 + uVar11;\n    do {\n      *psVar5 = 0x17;\n      uVar11 = uVar11 + 1;\n      uVar7 = (uint)*(ushort *)(param_1 + 0x32);\n      puVar10 = (undefined4 *)(uint)((int)uVar7 < (int)uVar11);\n      psVar5 = psVar5 + 1;\n    } while (puVar10 == (undefined4 *)0x0);\n  }\n  piVar8 = (int *)(uVar7 * 2);\n  if (*(char *)(param_1 + 0x36) != '\0') {\n    piVar8 = (int *)(psVar14 + uVar7);\n    *(short *)piVar8 = 0;\n  }\n  if (local_1c != *(int *)puVar15) {\n    puVar15 = PTR___stack_chk_fail_00190df8;\n    (*(code *)PTR___stack_chk_fail_00190df8)();\n    pbVar12 = (byte *)*puVar10;\n    bVar9 = *pbVar12;\n    pbVar6 = pbVar12;\n    if (bVar9 != 0) {\n      do {\n        pbVar6 = pbVar6 + 1;\n        bVar4 = bVar9 & 0x80;\n        bVar9 = *pbVar6;\n      } while (bVar9 != 0 || bVar4 != 0);\n    }\n    iVar13 = (int)(pbVar6 + 1) - (int)pbVar12;\n    iVar2 = (**(code **)(puVar15 + 0x14762c))(*piVar8,pbVar12,iVar13);\n    *piVar8 = iVar2 + iVar13;\n    *puVar10 = pbVar6 + 1;\n    return;\n  }\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "short sVar3;" (sized_type_specifier "short" short) identifier ;) (declaration "byte bVar4;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "short *psVar5;" (sized_type_specifier "short" short) (pointer_declarator "*psVar5" * identifier) ;) (declaration "byte *pbVar6;" type_identifier (pointer_declarator "*pbVar6" * identifier) ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "int *piVar8;" primitive_type (pointer_declarator "*piVar8" * identifier) ;) (declaration "byte bVar9;" type_identifier identifier ;) (declaration "undefined4 *puVar10;" type_identifier (pointer_declarator "*puVar10" * identifier) ;) (declaration "uint uVar11;" type_identifier identifier ;) (declaration "byte *pbVar12;" type_identifier (pointer_declarator "*pbVar12" * identifier) ;) (declaration "int iVar13;" primitive_type identifier ;) (declaration "short *psVar14;" (sized_type_specifier "short" short) (pointer_declarator "*psVar14" * identifier) ;) (declaration "undefined *puVar15;" type_identifier (pointer_declarator "*puVar15" * identifier) ;) (declaration "undefined4 local_28;" type_identifier identifier ;) (declaration "undefined4 local_24;" type_identifier identifier ;) (declaration "undefined2 local_20;" type_identifier identifier ;) (declaration "int local_1c;" primitive_type identifier ;) (expression_statement "puVar15 = PTR___stack_chk_guard_00190e24;" (assignment_expression "puVar15 = PTR___stack_chk_guard_00190e24" identifier = identifier) ;) (expression_statement "psVar14 = *(short **)(param_1 + 8);" (assignment_expression "psVar14 = *(short **)(param_1 + 8)" identifier = (pointer_expression "*(short **)(param_1 + 8)" * (cast_expression "(short **)(param_1 + 8)" ( (type_descriptor "short **" (sized_type_specifier "short" short) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) ;) (expression_statement "local_28 = *(undefined4 *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x2aa8);" (assignment_expression "local_28 = *(undefined4 *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x2aa8)" identifier = (pointer_expression "*(undefined4 *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x2aa8)" * (cast_expression "(undefined4 *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x2aa8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x2aa8)" ( (binary_expression "PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x2aa8" identifier + number_literal) ))))) ;) (expression_statement "sVar3 = *(short *)(*(int *)(param_1 + 0xc) + 0x2c);" (assignment_expression "sVar3 = *(short *)(*(int *)(param_1 + 0xc) + 0x2c)" identifier = (pointer_expression "*(short *)(*(int *)(param_1 + 0xc) + 0x2c)" * (cast_expression "(short *)(*(int *)(param_1 + 0xc) + 0x2c)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0xc) + 0x2c)" ( (binary_expression "*(int *)(param_1 + 0xc) + 0x2c" (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) ))))) ;) (expression_statement "local_24 = *(undefined4 *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x2aac);" (assignment_expression "local_24 = *(undefined4 *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x2aac)" identifier = (pointer_expression "*(undefined4 *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x2aac)" * (cast_expression "(undefined4 *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x2aac)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x2aac)" ( (binary_expression "PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x2aac" identifier + number_literal) ))))) ;) (expression_statement "local_20 = *(undefined2 *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x2ab0);" (assignment_expression "local_20 = *(undefined2 *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x2ab0)" identifier = (pointer_expression "*(undefined2 *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x2ab0)" * (cast_expression "(undefined2 *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x2ab0)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x2ab0)" ( (binary_expression "PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x2ab0" identifier + number_literal) ))))) ;) (expression_statement "uVar11 = (uint)*(ushort *)(param_1 + 0x32);" (assignment_expression "uVar11 = (uint)*(ushort *)(param_1 + 0x32)" identifier = (binary_expression "(uint)*(ushort *)(param_1 + 0x32)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(ushort *)(param_1 + 0x32)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x32)" ( (binary_expression "param_1 + 0x32" identifier + number_literal) ))))) ;) (expression_statement "local_1c = *(int *)PTR___stack_chk_guard_00190e24;" (assignment_expression "local_1c = *(int *)PTR___stack_chk_guard_00190e24" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_00190e24" * (cast_expression "(int *)PTR___stack_chk_guard_00190e24" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "*psVar14 = sVar3;" (assignment_expression "*psVar14 = sVar3" (pointer_expression "*psVar14" * identifier) = identifier) ;) (expression_statement "puVar1 = PTR_memcpy_00190e2c;" (assignment_expression "puVar1 = PTR_memcpy_00190e2c" identifier = identifier) ;) (if_statement "if (5 < uVar11) {\n    uVar11 = 5;\n  }" if (parenthesized_expression "(5 < uVar11)" ( (binary_expression "5 < uVar11" number_literal < identifier) )) (compound_statement "{\n    uVar11 = 5;\n  }" { (expression_statement "uVar11 = 5;" (assignment_expression "uVar11 = 5" identifier = number_literal) ;) })) (if_statement "if (*(int *)(param_1 + 0x24) != 0) {\n    sVar3 = sVar3 + -10;\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x24) != 0)" ( (binary_expression "*(int *)(param_1 + 0x24) != 0" (pointer_expression "*(int *)(param_1 + 0x24)" * (cast_expression "(int *)(param_1 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x24)" ( (binary_expression "param_1 + 0x24" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    sVar3 = sVar3 + -10;\n  }" { (expression_statement "sVar3 = sVar3 + -10;" (assignment_expression "sVar3 = sVar3 + -10" identifier = (binary_expression "sVar3 + -10" identifier + number_literal)) ;) })) (if_statement "if (sVar3 < 0x21) {\n    sVar3 = 0x21;\n  }" if (parenthesized_expression "(sVar3 < 0x21)" ( (binary_expression "sVar3 < 0x21" identifier < number_literal) )) (compound_statement "{\n    sVar3 = 0x21;\n  }" { (expression_statement "sVar3 = 0x21;" (assignment_expression "sVar3 = 0x21" identifier = number_literal) ;) })) (expression_statement "*psVar14 = sVar3;" (assignment_expression "*psVar14 = sVar3" (pointer_expression "*psVar14" * identifier) = identifier) ;) (expression_statement "puVar10 = &local_28;" (assignment_expression "puVar10 = &local_28" identifier = (pointer_expression "&local_28" & identifier)) ;) (expression_statement "(*(code *)puVar1)(psVar14 + 1,puVar10,uVar11 << 1);" (call_expression "(*(code *)puVar1)(psVar14 + 1,puVar10,uVar11 << 1)" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(psVar14 + 1,puVar10,uVar11 << 1)" ( (binary_expression "psVar14 + 1" identifier + number_literal) , identifier , (binary_expression "uVar11 << 1" identifier << number_literal) ))) ;) (expression_statement "uVar11 = uVar11 + 1;" (assignment_expression "uVar11 = uVar11 + 1" identifier = (binary_expression "uVar11 + 1" identifier + number_literal)) ;) (expression_statement "uVar7 = (uint)*(ushort *)(param_1 + 0x32);" (assignment_expression "uVar7 = (uint)*(ushort *)(param_1 + 0x32)" identifier = (binary_expression "(uint)*(ushort *)(param_1 + 0x32)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(ushort *)(param_1 + 0x32)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x32)" ( (binary_expression "param_1 + 0x32" identifier + number_literal) ))))) ;) (if_statement "if (uVar11 <= uVar7) {\n    psVar5 = psVar14 + uVar11;\n    do {\n      *psVar5 = 0x17;\n      uVar11 = uVar11 + 1;\n      uVar7 = (uint)*(ushort *)(param_1 + 0x32);\n      puVar10 = (undefined4 *)(uint)((int)uVar7 < (int)uVar11);\n      psVar5 = psVar5 + 1;\n    } while (puVar10 == (undefined4 *)0x0);\n  }" if (parenthesized_expression "(uVar11 <= uVar7)" ( (binary_expression "uVar11 <= uVar7" identifier <= identifier) )) (compound_statement "{\n    psVar5 = psVar14 + uVar11;\n    do {\n      *psVar5 = 0x17;\n      uVar11 = uVar11 + 1;\n      uVar7 = (uint)*(ushort *)(param_1 + 0x32);\n      puVar10 = (undefined4 *)(uint)((int)uVar7 < (int)uVar11);\n      psVar5 = psVar5 + 1;\n    } while (puVar10 == (undefined4 *)0x0);\n  }" { (expression_statement "psVar5 = psVar14 + uVar11;" (assignment_expression "psVar5 = psVar14 + uVar11" identifier = (binary_expression "psVar14 + uVar11" identifier + identifier)) ;) (do_statement "do {\n      *psVar5 = 0x17;\n      uVar11 = uVar11 + 1;\n      uVar7 = (uint)*(ushort *)(param_1 + 0x32);\n      puVar10 = (undefined4 *)(uint)((int)uVar7 < (int)uVar11);\n      psVar5 = psVar5 + 1;\n    } while (puVar10 == (undefined4 *)0x0);" do (compound_statement "{\n      *psVar5 = 0x17;\n      uVar11 = uVar11 + 1;\n      uVar7 = (uint)*(ushort *)(param_1 + 0x32);\n      puVar10 = (undefined4 *)(uint)((int)uVar7 < (int)uVar11);\n      psVar5 = psVar5 + 1;\n    }" { (expression_statement "*psVar5 = 0x17;" (assignment_expression "*psVar5 = 0x17" (pointer_expression "*psVar5" * identifier) = number_literal) ;) (expression_statement "uVar11 = uVar11 + 1;" (assignment_expression "uVar11 = uVar11 + 1" identifier = (binary_expression "uVar11 + 1" identifier + number_literal)) ;) (expression_statement "uVar7 = (uint)*(ushort *)(param_1 + 0x32);" (assignment_expression "uVar7 = (uint)*(ushort *)(param_1 + 0x32)" identifier = (binary_expression "(uint)*(ushort *)(param_1 + 0x32)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(ushort *)(param_1 + 0x32)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x32)" ( (binary_expression "param_1 + 0x32" identifier + number_literal) ))))) ;) (expression_statement "puVar10 = (undefined4 *)(uint)((int)uVar7 < (int)uVar11);" (assignment_expression "puVar10 = (undefined4 *)(uint)((int)uVar7 < (int)uVar11)" identifier = (cast_expression "(undefined4 *)(uint)((int)uVar7 < (int)uVar11)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(uint)((int)uVar7 < (int)uVar11)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((int)uVar7 < (int)uVar11)" ( (binary_expression "(int)uVar7 < (int)uVar11" (cast_expression "(int)uVar7" ( (type_descriptor "int" primitive_type) ) identifier) < (cast_expression "(int)uVar11" ( (type_descriptor "int" primitive_type) ) identifier)) ))))) ;) (expression_statement "psVar5 = psVar5 + 1;" (assignment_expression "psVar5 = psVar5 + 1" identifier = (binary_expression "psVar5 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(puVar10 == (undefined4 *)0x0)" ( (binary_expression "puVar10 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) })) (expression_statement "piVar8 = (int *)(uVar7 * 2);" (assignment_expression "piVar8 = (int *)(uVar7 * 2)" identifier = (cast_expression "(int *)(uVar7 * 2)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uVar7 * 2)" ( (binary_expression "uVar7 * 2" identifier * number_literal) )))) ;) (if_statement "if (*(char *)(param_1 + 0x36) != '\0') {\n    piVar8 = (int *)(psVar14 + uVar7);\n    *(short *)piVar8 = 0;\n  }" if (parenthesized_expression "(*(char *)(param_1 + 0x36) != '\0')" ( (binary_expression "*(char *)(param_1 + 0x36) != '\0'" (pointer_expression "*(char *)(param_1 + 0x36)" * (cast_expression "(char *)(param_1 + 0x36)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x36)" ( (binary_expression "param_1 + 0x36" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    piVar8 = (int *)(psVar14 + uVar7);\n    *(short *)piVar8 = 0;\n  }" { (expression_statement "piVar8 = (int *)(psVar14 + uVar7);" (assignment_expression "piVar8 = (int *)(psVar14 + uVar7)" identifier = (cast_expression "(int *)(psVar14 + uVar7)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(psVar14 + uVar7)" ( (binary_expression "psVar14 + uVar7" identifier + identifier) )))) ;) (expression_statement "*(short *)piVar8 = 0;" (assignment_expression "*(short *)piVar8 = 0" (pointer_expression "*(short *)piVar8" * (cast_expression "(short *)piVar8" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) identifier)) = number_literal) ;) })) (if_statement "if (local_1c != *(int *)puVar15) {\n    puVar15 = PTR___stack_chk_fail_00190df8;\n    (*(code *)PTR___stack_chk_fail_00190df8)();\n    pbVar12 = (byte *)*puVar10;\n    bVar9 = *pbVar12;\n    pbVar6 = pbVar12;\n    if (bVar9 != 0) {\n      do {\n        pbVar6 = pbVar6 + 1;\n        bVar4 = bVar9 & 0x80;\n        bVar9 = *pbVar6;\n      } while (bVar9 != 0 || bVar4 != 0);\n    }\n    iVar13 = (int)(pbVar6 + 1) - (int)pbVar12;\n    iVar2 = (**(code **)(puVar15 + 0x14762c))(*piVar8,pbVar12,iVar13);\n    *piVar8 = iVar2 + iVar13;\n    *puVar10 = pbVar6 + 1;\n    return;\n  }" if (parenthesized_expression "(local_1c != *(int *)puVar15)" ( (binary_expression "local_1c != *(int *)puVar15" identifier != (pointer_expression "*(int *)puVar15" * (cast_expression "(int *)puVar15" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    puVar15 = PTR___stack_chk_fail_00190df8;\n    (*(code *)PTR___stack_chk_fail_00190df8)();\n    pbVar12 = (byte *)*puVar10;\n    bVar9 = *pbVar12;\n    pbVar6 = pbVar12;\n    if (bVar9 != 0) {\n      do {\n        pbVar6 = pbVar6 + 1;\n        bVar4 = bVar9 & 0x80;\n        bVar9 = *pbVar6;\n      } while (bVar9 != 0 || bVar4 != 0);\n    }\n    iVar13 = (int)(pbVar6 + 1) - (int)pbVar12;\n    iVar2 = (**(code **)(puVar15 + 0x14762c))(*piVar8,pbVar12,iVar13);\n    *piVar8 = iVar2 + iVar13;\n    *puVar10 = pbVar6 + 1;\n    return;\n  }" { (expression_statement "puVar15 = PTR___stack_chk_fail_00190df8;" (assignment_expression "puVar15 = PTR___stack_chk_fail_00190df8" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_00190df8)();" (call_expression "(*(code *)PTR___stack_chk_fail_00190df8)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_00190df8)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_00190df8" * (cast_expression "(code *)PTR___stack_chk_fail_00190df8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "pbVar12 = (byte *)*puVar10;" (assignment_expression "pbVar12 = (byte *)*puVar10" identifier = (cast_expression "(byte *)*puVar10" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar10" * identifier))) ;) (expression_statement "bVar9 = *pbVar12;" (assignment_expression "bVar9 = *pbVar12" identifier = (pointer_expression "*pbVar12" * identifier)) ;) (expression_statement "pbVar6 = pbVar12;" (assignment_expression "pbVar6 = pbVar12" identifier = identifier) ;) (if_statement "if (bVar9 != 0) {\n      do {\n        pbVar6 = pbVar6 + 1;\n        bVar4 = bVar9 & 0x80;\n        bVar9 = *pbVar6;\n      } while (bVar9 != 0 || bVar4 != 0);\n    }" if (parenthesized_expression "(bVar9 != 0)" ( (binary_expression "bVar9 != 0" identifier != number_literal) )) (compound_statement "{\n      do {\n        pbVar6 = pbVar6 + 1;\n        bVar4 = bVar9 & 0x80;\n        bVar9 = *pbVar6;\n      } while (bVar9 != 0 || bVar4 != 0);\n    }" { (do_statement "do {\n        pbVar6 = pbVar6 + 1;\n        bVar4 = bVar9 & 0x80;\n        bVar9 = *pbVar6;\n      } while (bVar9 != 0 || bVar4 != 0);" do (compound_statement "{\n        pbVar6 = pbVar6 + 1;\n        bVar4 = bVar9 & 0x80;\n        bVar9 = *pbVar6;\n      }" { (expression_statement "pbVar6 = pbVar6 + 1;" (assignment_expression "pbVar6 = pbVar6 + 1" identifier = (binary_expression "pbVar6 + 1" identifier + number_literal)) ;) (expression_statement "bVar4 = bVar9 & 0x80;" (assignment_expression "bVar4 = bVar9 & 0x80" identifier = (binary_expression "bVar9 & 0x80" identifier & number_literal)) ;) (expression_statement "bVar9 = *pbVar6;" (assignment_expression "bVar9 = *pbVar6" identifier = (pointer_expression "*pbVar6" * identifier)) ;) }) while (parenthesized_expression "(bVar9 != 0 || bVar4 != 0)" ( (binary_expression "bVar9 != 0 || bVar4 != 0" (binary_expression "bVar9 != 0" identifier != number_literal) || (binary_expression "bVar4 != 0" identifier != number_literal)) )) ;) })) (expression_statement "iVar13 = (int)(pbVar6 + 1) - (int)pbVar12;" (assignment_expression "iVar13 = (int)(pbVar6 + 1) - (int)pbVar12" identifier = (binary_expression "(int)(pbVar6 + 1) - (int)pbVar12" (cast_expression "(int)(pbVar6 + 1)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(pbVar6 + 1)" ( (binary_expression "pbVar6 + 1" identifier + number_literal) ))) - (cast_expression "(int)pbVar12" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "iVar2 = (**(code **)(puVar15 + 0x14762c))(*piVar8,pbVar12,iVar13);" (assignment_expression "iVar2 = (**(code **)(puVar15 + 0x14762c))(*piVar8,pbVar12,iVar13)" identifier = (call_expression "(**(code **)(puVar15 + 0x14762c))(*piVar8,pbVar12,iVar13)" (parenthesized_expression "(**(code **)(puVar15 + 0x14762c))" ( (pointer_expression "**(code **)(puVar15 + 0x14762c)" * (pointer_expression "*(code **)(puVar15 + 0x14762c)" * (cast_expression "(code **)(puVar15 + 0x14762c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x14762c)" ( (binary_expression "puVar15 + 0x14762c" identifier + number_literal) ))))) )) (argument_list "(*piVar8,pbVar12,iVar13)" ( (pointer_expression "*piVar8" * identifier) , identifier , identifier )))) ;) (expression_statement "*piVar8 = iVar2 + iVar13;" (assignment_expression "*piVar8 = iVar2 + iVar13" (pointer_expression "*piVar8" * identifier) = (binary_expression "iVar2 + iVar13" identifier + identifier)) ;) (expression_statement "*puVar10 = pbVar6 + 1;" (assignment_expression "*puVar10 = pbVar6 + 1" (pointer_expression "*puVar10" * identifier) = (binary_expression "pbVar6 + 1" identifier + number_literal)) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration (sized_type_specifier short) IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration (sized_type_specifier short) (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration (sized_type_specifier short) (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier short) (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier short) (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 = (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 = (binary_expression (parenthesized_expression ( IDENT )) * (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 *)) ) IDENT))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) , IDENT , (binary_expression IDENT << LIT) ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( IDENT )) * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( IDENT )) * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < (cast_expression ( (type_descriptor TYPE) ) IDENT)) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT * LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier short) (abstract_pointer_declarator *)) ) IDENT)) = LIT) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) 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 = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT & LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) }) while (parenthesized_expression ( (binary_expression (binary_expression IDENT != LIT) || (binary_expression IDENT != LIT)) )) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))) - (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (pointer_expression * IDENT) , IDENT , IDENT )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression IDENT + LIT)) ;) (return_statement return ;) })) (return_statement return ;) })))
(function_definition "void FUN_000496d4(int param_1)\n\n{\n  undefined *puVar1;\n  short sVar3;\n  byte bVar4;\n  int iVar2;\n  short *psVar5;\n  byte *pbVar6;\n  uint uVar7;\n  int *piVar8;\n  byte bVar9;\n  undefined4 *puVar10;\n  uint uVar11;\n  byte *pbVar12;\n  int iVar13;\n  short *psVar14;\n  undefined *puVar15;\n  undefined4 local_28;\n  undefined4 local_24;\n  undefined2 local_20;\n  int local_1c;\n  \n  puVar15 = PTR___stack_chk_guard_00190e24;\n  psVar14 = *(short **)(param_1 + 8);\n  local_28 = *(undefined4 *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x2aa8);\n  sVar3 = *(short *)(*(int *)(param_1 + 0xc) + 0x2c);\n  local_24 = *(undefined4 *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x2aac);\n  local_20 = *(undefined2 *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x2ab0);\n  uVar11 = (uint)*(ushort *)(param_1 + 0x32);\n  local_1c = *(int *)PTR___stack_chk_guard_00190e24;\n  *psVar14 = sVar3;\n  puVar1 = PTR_memcpy_00190e2c;\n  if (5 < uVar11) {\n    uVar11 = 5;\n  }\n  if (*(int *)(param_1 + 0x24) != 0) {\n    sVar3 = sVar3 + -10;\n  }\n  if (sVar3 < 0x21) {\n    sVar3 = 0x21;\n  }\n  *psVar14 = sVar3;\n  puVar10 = &local_28;\n  (*(code *)puVar1)(psVar14 + 1,puVar10,uVar11 << 1);\n  uVar11 = uVar11 + 1;\n  uVar7 = (uint)*(ushort *)(param_1 + 0x32);\n  if (uVar11 <= uVar7) {\n    psVar5 = psVar14 + uVar11;\n    do {\n      *psVar5 = 0x17;\n      uVar11 = uVar11 + 1;\n      uVar7 = (uint)*(ushort *)(param_1 + 0x32);\n      puVar10 = (undefined4 *)(uint)((int)uVar7 < (int)uVar11);\n      psVar5 = psVar5 + 1;\n    } while (puVar10 == (undefined4 *)0x0);\n  }\n  piVar8 = (int *)(uVar7 * 2);\n  if (*(char *)(param_1 + 0x36) != '\0') {\n    piVar8 = (int *)(psVar14 + uVar7);\n    *(short *)piVar8 = 0;\n  }\n  if (local_1c != *(int *)puVar15) {\n    puVar15 = PTR___stack_chk_fail_00190df8;\n    (*(code *)PTR___stack_chk_fail_00190df8)();\n    pbVar12 = (byte *)*puVar10;\n    bVar9 = *pbVar12;\n    pbVar6 = pbVar12;\n    if (bVar9 != 0) {\n      do {\n        pbVar6 = pbVar6 + 1;\n        bVar4 = bVar9 & 0x80;\n        bVar9 = *pbVar6;\n      } while (bVar9 != 0 || bVar4 != 0);\n    }\n    iVar13 = (int)(pbVar6 + 1) - (int)pbVar12;\n    iVar2 = (**(code **)(puVar15 + 0x14762c))(*piVar8,pbVar12,iVar13);\n    *piVar8 = iVar2 + iVar13;\n    *puVar10 = pbVar6 + 1;\n    return;\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_000496d4(int param_1)" (identifier "FUN_000496d4") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  undefined *puVar1;\n  short sVar3;\n  byte bVar4;\n  int iVar2;\n  short *psVar5;\n  byte *pbVar6;\n  uint uVar7;\n  int *piVar8;\n  byte bVar9;\n  undefined4 *puVar10;\n  uint uVar11;\n  byte *pbVar12;\n  int iVar13;\n  short *psVar14;\n  undefined *puVar15;\n  undefined4 local_28;\n  undefined4 local_24;\n  undefined2 local_20;\n  int local_1c;\n  \n  puVar15 = PTR___stack_chk_guard_00190e24;\n  psVar14 = *(short **)(param_1 + 8);\n  local_28 = *(undefined4 *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x2aa8);\n  sVar3 = *(short *)(*(int *)(param_1 + 0xc) + 0x2c);\n  local_24 = *(undefined4 *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x2aac);\n  local_20 = *(undefined2 *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x2ab0);\n  uVar11 = (uint)*(ushort *)(param_1 + 0x32);\n  local_1c = *(int *)PTR___stack_chk_guard_00190e24;\n  *psVar14 = sVar3;\n  puVar1 = PTR_memcpy_00190e2c;\n  if (5 < uVar11) {\n    uVar11 = 5;\n  }\n  if (*(int *)(param_1 + 0x24) != 0) {\n    sVar3 = sVar3 + -10;\n  }\n  if (sVar3 < 0x21) {\n    sVar3 = 0x21;\n  }\n  *psVar14 = sVar3;\n  puVar10 = &local_28;\n  (*(code *)puVar1)(psVar14 + 1,puVar10,uVar11 << 1);\n  uVar11 = uVar11 + 1;\n  uVar7 = (uint)*(ushort *)(param_1 + 0x32);\n  if (uVar11 <= uVar7) {\n    psVar5 = psVar14 + uVar11;\n    do {\n      *psVar5 = 0x17;\n      uVar11 = uVar11 + 1;\n      uVar7 = (uint)*(ushort *)(param_1 + 0x32);\n      puVar10 = (undefined4 *)(uint)((int)uVar7 < (int)uVar11);\n      psVar5 = psVar5 + 1;\n    } while (puVar10 == (undefined4 *)0x0);\n  }\n  piVar8 = (int *)(uVar7 * 2);\n  if (*(char *)(param_1 + 0x36) != '\0') {\n    piVar8 = (int *)(psVar14 + uVar7);\n    *(short *)piVar8 = 0;\n  }\n  if (local_1c != *(int *)puVar15) {\n    puVar15 = PTR___stack_chk_fail_00190df8;\n    (*(code *)PTR___stack_chk_fail_00190df8)();\n    pbVar12 = (byte *)*puVar10;\n    bVar9 = *pbVar12;\n    pbVar6 = pbVar12;\n    if (bVar9 != 0) {\n      do {\n        pbVar6 = pbVar6 + 1;\n        bVar4 = bVar9 & 0x80;\n        bVar9 = *pbVar6;\n      } while (bVar9 != 0 || bVar4 != 0);\n    }\n    iVar13 = (int)(pbVar6 + 1) - (int)pbVar12;\n    iVar2 = (**(code **)(puVar15 + 0x14762c))(*piVar8,pbVar12,iVar13);\n    *piVar8 = iVar2 + iVar13;\n    *puVar10 = pbVar6 + 1;\n    return;\n  }\n  return;\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "short sVar3;" (sized_type_specifier "short" (short "short")) (identifier "sVar3") (; ";")) (declaration "byte bVar4;" (type_identifier "byte") (identifier "bVar4") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "short *psVar5;" (sized_type_specifier "short" (short "short")) (pointer_declarator "*psVar5" (* "*") (identifier "psVar5")) (; ";")) (declaration "byte *pbVar6;" (type_identifier "byte") (pointer_declarator "*pbVar6" (* "*") (identifier "pbVar6")) (; ";")) (declaration "uint uVar7;" (type_identifier "uint") (identifier "uVar7") (; ";")) (declaration "int *piVar8;" (primitive_type "int") (pointer_declarator "*piVar8" (* "*") (identifier "piVar8")) (; ";")) (declaration "byte bVar9;" (type_identifier "byte") (identifier "bVar9") (; ";")) (declaration "undefined4 *puVar10;" (type_identifier "undefined4") (pointer_declarator "*puVar10" (* "*") (identifier "puVar10")) (; ";")) (declaration "uint uVar11;" (type_identifier "uint") (identifier "uVar11") (; ";")) (declaration "byte *pbVar12;" (type_identifier "byte") (pointer_declarator "*pbVar12" (* "*") (identifier "pbVar12")) (; ";")) (declaration "int iVar13;" (primitive_type "int") (identifier "iVar13") (; ";")) (declaration "short *psVar14;" (sized_type_specifier "short" (short "short")) (pointer_declarator "*psVar14" (* "*") (identifier "psVar14")) (; ";")) (declaration "undefined *puVar15;" (type_identifier "undefined") (pointer_declarator "*puVar15" (* "*") (identifier "puVar15")) (; ";")) (declaration "undefined4 local_28;" (type_identifier "undefined4") (identifier "local_28") (; ";")) (declaration "undefined4 local_24;" (type_identifier "undefined4") (identifier "local_24") (; ";")) (declaration "undefined2 local_20;" (type_identifier "undefined2") (identifier "local_20") (; ";")) (declaration "int local_1c;" (primitive_type "int") (identifier "local_1c") (; ";")) (expression_statement "puVar15 = PTR___stack_chk_guard_00190e24;" (assignment_expression "puVar15 = PTR___stack_chk_guard_00190e24" (identifier "puVar15") (= "=") (identifier "PTR___stack_chk_guard_00190e24")) (; ";")) (expression_statement "psVar14 = *(short **)(param_1 + 8);" (assignment_expression "psVar14 = *(short **)(param_1 + 8)" (identifier "psVar14") (= "=") (pointer_expression "*(short **)(param_1 + 8)" (* "*") (cast_expression "(short **)(param_1 + 8)" (( "(") (type_descriptor "short **" (sized_type_specifier "short" (short "short")) (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (expression_statement "local_28 = *(undefined4 *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x2aa8);" (assignment_expression "local_28 = *(undefined4 *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x2aa8)" (identifier "local_28") (= "=") (pointer_expression "*(undefined4 *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x2aa8)" (* "*") (cast_expression "(undefined4 *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x2aa8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x2aa8)" (( "(") (binary_expression "PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x2aa8" (identifier "PTR_s_o_page_from_root____pageno_INTEG_0019095c") (+ "+") (number_literal "0x2aa8")) () ")"))))) (; ";")) (expression_statement "sVar3 = *(short *)(*(int *)(param_1 + 0xc) + 0x2c);" (assignment_expression "sVar3 = *(short *)(*(int *)(param_1 + 0xc) + 0x2c)" (identifier "sVar3") (= "=") (pointer_expression "*(short *)(*(int *)(param_1 + 0xc) + 0x2c)" (* "*") (cast_expression "(short *)(*(int *)(param_1 + 0xc) + 0x2c)" (( "(") (type_descriptor "short *" (sized_type_specifier "short" (short "short")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_1 + 0xc) + 0x2c)" (( "(") (binary_expression "*(int *)(param_1 + 0xc) + 0x2c" (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 "0x2c")) () ")"))))) (; ";")) (expression_statement "local_24 = *(undefined4 *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x2aac);" (assignment_expression "local_24 = *(undefined4 *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x2aac)" (identifier "local_24") (= "=") (pointer_expression "*(undefined4 *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x2aac)" (* "*") (cast_expression "(undefined4 *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x2aac)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x2aac)" (( "(") (binary_expression "PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x2aac" (identifier "PTR_s_o_page_from_root____pageno_INTEG_0019095c") (+ "+") (number_literal "0x2aac")) () ")"))))) (; ";")) (expression_statement "local_20 = *(undefined2 *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x2ab0);" (assignment_expression "local_20 = *(undefined2 *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x2ab0)" (identifier "local_20") (= "=") (pointer_expression "*(undefined2 *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x2ab0)" (* "*") (cast_expression "(undefined2 *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x2ab0)" (( "(") (type_descriptor "undefined2 *" (type_identifier "undefined2") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x2ab0)" (( "(") (binary_expression "PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x2ab0" (identifier "PTR_s_o_page_from_root____pageno_INTEG_0019095c") (+ "+") (number_literal "0x2ab0")) () ")"))))) (; ";")) (expression_statement "uVar11 = (uint)*(ushort *)(param_1 + 0x32);" (assignment_expression "uVar11 = (uint)*(ushort *)(param_1 + 0x32)" (identifier "uVar11") (= "=") (binary_expression "(uint)*(ushort *)(param_1 + 0x32)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (cast_expression "(ushort *)(param_1 + 0x32)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x32)" (( "(") (binary_expression "param_1 + 0x32" (identifier "param_1") (+ "+") (number_literal "0x32")) () ")"))))) (; ";")) (expression_statement "local_1c = *(int *)PTR___stack_chk_guard_00190e24;" (assignment_expression "local_1c = *(int *)PTR___stack_chk_guard_00190e24" (identifier "local_1c") (= "=") (pointer_expression "*(int *)PTR___stack_chk_guard_00190e24" (* "*") (cast_expression "(int *)PTR___stack_chk_guard_00190e24" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_guard_00190e24")))) (; ";")) (expression_statement "*psVar14 = sVar3;" (assignment_expression "*psVar14 = sVar3" (pointer_expression "*psVar14" (* "*") (identifier "psVar14")) (= "=") (identifier "sVar3")) (; ";")) (expression_statement "puVar1 = PTR_memcpy_00190e2c;" (assignment_expression "puVar1 = PTR_memcpy_00190e2c" (identifier "puVar1") (= "=") (identifier "PTR_memcpy_00190e2c")) (; ";")) (if_statement "if (5 < uVar11) {\n    uVar11 = 5;\n  }" (if "if") (parenthesized_expression "(5 < uVar11)" (( "(") (binary_expression "5 < uVar11" (number_literal "5") (< "<") (identifier "uVar11")) () ")")) (compound_statement "{\n    uVar11 = 5;\n  }" ({ "{") (expression_statement "uVar11 = 5;" (assignment_expression "uVar11 = 5" (identifier "uVar11") (= "=") (number_literal "5")) (; ";")) (} "}"))) (if_statement "if (*(int *)(param_1 + 0x24) != 0) {\n    sVar3 = sVar3 + -10;\n  }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 0x24) != 0)" (( "(") (binary_expression "*(int *)(param_1 + 0x24) != 0" (pointer_expression "*(int *)(param_1 + 0x24)" (* "*") (cast_expression "(int *)(param_1 + 0x24)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x24)" (( "(") (binary_expression "param_1 + 0x24" (identifier "param_1") (+ "+") (number_literal "0x24")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    sVar3 = sVar3 + -10;\n  }" ({ "{") (expression_statement "sVar3 = sVar3 + -10;" (assignment_expression "sVar3 = sVar3 + -10" (identifier "sVar3") (= "=") (binary_expression "sVar3 + -10" (identifier "sVar3") (+ "+") (number_literal "-10"))) (; ";")) (} "}"))) (if_statement "if (sVar3 < 0x21) {\n    sVar3 = 0x21;\n  }" (if "if") (parenthesized_expression "(sVar3 < 0x21)" (( "(") (binary_expression "sVar3 < 0x21" (identifier "sVar3") (< "<") (number_literal "0x21")) () ")")) (compound_statement "{\n    sVar3 = 0x21;\n  }" ({ "{") (expression_statement "sVar3 = 0x21;" (assignment_expression "sVar3 = 0x21" (identifier "sVar3") (= "=") (number_literal "0x21")) (; ";")) (} "}"))) (expression_statement "*psVar14 = sVar3;" (assignment_expression "*psVar14 = sVar3" (pointer_expression "*psVar14" (* "*") (identifier "psVar14")) (= "=") (identifier "sVar3")) (; ";")) (expression_statement "puVar10 = &local_28;" (assignment_expression "puVar10 = &local_28" (identifier "puVar10") (= "=") (pointer_expression "&local_28" (& "&") (identifier "local_28"))) (; ";")) (expression_statement "(*(code *)puVar1)(psVar14 + 1,puVar10,uVar11 << 1);" (call_expression "(*(code *)puVar1)(psVar14 + 1,puVar10,uVar11 << 1)" (parenthesized_expression "(*(code *)puVar1)" (( "(") (pointer_expression "*(code *)puVar1" (* "*") (cast_expression "(code *)puVar1" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar1"))) () ")")) (argument_list "(psVar14 + 1,puVar10,uVar11 << 1)" (( "(") (binary_expression "psVar14 + 1" (identifier "psVar14") (+ "+") (number_literal "1")) (, ",") (identifier "puVar10") (, ",") (binary_expression "uVar11 << 1" (identifier "uVar11") (<< "<<") (number_literal "1")) () ")"))) (; ";")) (expression_statement "uVar11 = uVar11 + 1;" (assignment_expression "uVar11 = uVar11 + 1" (identifier "uVar11") (= "=") (binary_expression "uVar11 + 1" (identifier "uVar11") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "uVar7 = (uint)*(ushort *)(param_1 + 0x32);" (assignment_expression "uVar7 = (uint)*(ushort *)(param_1 + 0x32)" (identifier "uVar7") (= "=") (binary_expression "(uint)*(ushort *)(param_1 + 0x32)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (cast_expression "(ushort *)(param_1 + 0x32)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x32)" (( "(") (binary_expression "param_1 + 0x32" (identifier "param_1") (+ "+") (number_literal "0x32")) () ")"))))) (; ";")) (if_statement "if (uVar11 <= uVar7) {\n    psVar5 = psVar14 + uVar11;\n    do {\n      *psVar5 = 0x17;\n      uVar11 = uVar11 + 1;\n      uVar7 = (uint)*(ushort *)(param_1 + 0x32);\n      puVar10 = (undefined4 *)(uint)((int)uVar7 < (int)uVar11);\n      psVar5 = psVar5 + 1;\n    } while (puVar10 == (undefined4 *)0x0);\n  }" (if "if") (parenthesized_expression "(uVar11 <= uVar7)" (( "(") (binary_expression "uVar11 <= uVar7" (identifier "uVar11") (<= "<=") (identifier "uVar7")) () ")")) (compound_statement "{\n    psVar5 = psVar14 + uVar11;\n    do {\n      *psVar5 = 0x17;\n      uVar11 = uVar11 + 1;\n      uVar7 = (uint)*(ushort *)(param_1 + 0x32);\n      puVar10 = (undefined4 *)(uint)((int)uVar7 < (int)uVar11);\n      psVar5 = psVar5 + 1;\n    } while (puVar10 == (undefined4 *)0x0);\n  }" ({ "{") (expression_statement "psVar5 = psVar14 + uVar11;" (assignment_expression "psVar5 = psVar14 + uVar11" (identifier "psVar5") (= "=") (binary_expression "psVar14 + uVar11" (identifier "psVar14") (+ "+") (identifier "uVar11"))) (; ";")) (do_statement "do {\n      *psVar5 = 0x17;\n      uVar11 = uVar11 + 1;\n      uVar7 = (uint)*(ushort *)(param_1 + 0x32);\n      puVar10 = (undefined4 *)(uint)((int)uVar7 < (int)uVar11);\n      psVar5 = psVar5 + 1;\n    } while (puVar10 == (undefined4 *)0x0);" (do "do") (compound_statement "{\n      *psVar5 = 0x17;\n      uVar11 = uVar11 + 1;\n      uVar7 = (uint)*(ushort *)(param_1 + 0x32);\n      puVar10 = (undefined4 *)(uint)((int)uVar7 < (int)uVar11);\n      psVar5 = psVar5 + 1;\n    }" ({ "{") (expression_statement "*psVar5 = 0x17;" (assignment_expression "*psVar5 = 0x17" (pointer_expression "*psVar5" (* "*") (identifier "psVar5")) (= "=") (number_literal "0x17")) (; ";")) (expression_statement "uVar11 = uVar11 + 1;" (assignment_expression "uVar11 = uVar11 + 1" (identifier "uVar11") (= "=") (binary_expression "uVar11 + 1" (identifier "uVar11") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "uVar7 = (uint)*(ushort *)(param_1 + 0x32);" (assignment_expression "uVar7 = (uint)*(ushort *)(param_1 + 0x32)" (identifier "uVar7") (= "=") (binary_expression "(uint)*(ushort *)(param_1 + 0x32)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (cast_expression "(ushort *)(param_1 + 0x32)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x32)" (( "(") (binary_expression "param_1 + 0x32" (identifier "param_1") (+ "+") (number_literal "0x32")) () ")"))))) (; ";")) (expression_statement "puVar10 = (undefined4 *)(uint)((int)uVar7 < (int)uVar11);" (assignment_expression "puVar10 = (undefined4 *)(uint)((int)uVar7 < (int)uVar11)" (identifier "puVar10") (= "=") (cast_expression "(undefined4 *)(uint)((int)uVar7 < (int)uVar11)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(uint)((int)uVar7 < (int)uVar11)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "((int)uVar7 < (int)uVar11)" (( "(") (binary_expression "(int)uVar7 < (int)uVar11" (cast_expression "(int)uVar7" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar7")) (< "<") (cast_expression "(int)uVar11" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar11"))) () ")"))))) (; ";")) (expression_statement "psVar5 = psVar5 + 1;" (assignment_expression "psVar5 = psVar5 + 1" (identifier "psVar5") (= "=") (binary_expression "psVar5 + 1" (identifier "psVar5") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(puVar10 == (undefined4 *)0x0)" (( "(") (binary_expression "puVar10 == (undefined4 *)0x0" (identifier "puVar10") (== "==") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (; ";")) (} "}"))) (expression_statement "piVar8 = (int *)(uVar7 * 2);" (assignment_expression "piVar8 = (int *)(uVar7 * 2)" (identifier "piVar8") (= "=") (cast_expression "(int *)(uVar7 * 2)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(uVar7 * 2)" (( "(") (binary_expression "uVar7 * 2" (identifier "uVar7") (* "*") (number_literal "2")) () ")")))) (; ";")) (if_statement "if (*(char *)(param_1 + 0x36) != '\0') {\n    piVar8 = (int *)(psVar14 + uVar7);\n    *(short *)piVar8 = 0;\n  }" (if "if") (parenthesized_expression "(*(char *)(param_1 + 0x36) != '\0')" (( "(") (binary_expression "*(char *)(param_1 + 0x36) != '\0'" (pointer_expression "*(char *)(param_1 + 0x36)" (* "*") (cast_expression "(char *)(param_1 + 0x36)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x36)" (( "(") (binary_expression "param_1 + 0x36" (identifier "param_1") (+ "+") (number_literal "0x36")) () ")")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    piVar8 = (int *)(psVar14 + uVar7);\n    *(short *)piVar8 = 0;\n  }" ({ "{") (expression_statement "piVar8 = (int *)(psVar14 + uVar7);" (assignment_expression "piVar8 = (int *)(psVar14 + uVar7)" (identifier "piVar8") (= "=") (cast_expression "(int *)(psVar14 + uVar7)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(psVar14 + uVar7)" (( "(") (binary_expression "psVar14 + uVar7" (identifier "psVar14") (+ "+") (identifier "uVar7")) () ")")))) (; ";")) (expression_statement "*(short *)piVar8 = 0;" (assignment_expression "*(short *)piVar8 = 0" (pointer_expression "*(short *)piVar8" (* "*") (cast_expression "(short *)piVar8" (( "(") (type_descriptor "short *" (sized_type_specifier "short" (short "short")) (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "piVar8"))) (= "=") (number_literal "0")) (; ";")) (} "}"))) (if_statement "if (local_1c != *(int *)puVar15) {\n    puVar15 = PTR___stack_chk_fail_00190df8;\n    (*(code *)PTR___stack_chk_fail_00190df8)();\n    pbVar12 = (byte *)*puVar10;\n    bVar9 = *pbVar12;\n    pbVar6 = pbVar12;\n    if (bVar9 != 0) {\n      do {\n        pbVar6 = pbVar6 + 1;\n        bVar4 = bVar9 & 0x80;\n        bVar9 = *pbVar6;\n      } while (bVar9 != 0 || bVar4 != 0);\n    }\n    iVar13 = (int)(pbVar6 + 1) - (int)pbVar12;\n    iVar2 = (**(code **)(puVar15 + 0x14762c))(*piVar8,pbVar12,iVar13);\n    *piVar8 = iVar2 + iVar13;\n    *puVar10 = pbVar6 + 1;\n    return;\n  }" (if "if") (parenthesized_expression "(local_1c != *(int *)puVar15)" (( "(") (binary_expression "local_1c != *(int *)puVar15" (identifier "local_1c") (!= "!=") (pointer_expression "*(int *)puVar15" (* "*") (cast_expression "(int *)puVar15" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar15")))) () ")")) (compound_statement "{\n    puVar15 = PTR___stack_chk_fail_00190df8;\n    (*(code *)PTR___stack_chk_fail_00190df8)();\n    pbVar12 = (byte *)*puVar10;\n    bVar9 = *pbVar12;\n    pbVar6 = pbVar12;\n    if (bVar9 != 0) {\n      do {\n        pbVar6 = pbVar6 + 1;\n        bVar4 = bVar9 & 0x80;\n        bVar9 = *pbVar6;\n      } while (bVar9 != 0 || bVar4 != 0);\n    }\n    iVar13 = (int)(pbVar6 + 1) - (int)pbVar12;\n    iVar2 = (**(code **)(puVar15 + 0x14762c))(*piVar8,pbVar12,iVar13);\n    *piVar8 = iVar2 + iVar13;\n    *puVar10 = pbVar6 + 1;\n    return;\n  }" ({ "{") (expression_statement "puVar15 = PTR___stack_chk_fail_00190df8;" (assignment_expression "puVar15 = PTR___stack_chk_fail_00190df8" (identifier "puVar15") (= "=") (identifier "PTR___stack_chk_fail_00190df8")) (; ";")) (expression_statement "(*(code *)PTR___stack_chk_fail_00190df8)();" (call_expression "(*(code *)PTR___stack_chk_fail_00190df8)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_00190df8)" (( "(") (pointer_expression "*(code *)PTR___stack_chk_fail_00190df8" (* "*") (cast_expression "(code *)PTR___stack_chk_fail_00190df8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_fail_00190df8"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "pbVar12 = (byte *)*puVar10;" (assignment_expression "pbVar12 = (byte *)*puVar10" (identifier "pbVar12") (= "=") (cast_expression "(byte *)*puVar10" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar10" (* "*") (identifier "puVar10")))) (; ";")) (expression_statement "bVar9 = *pbVar12;" (assignment_expression "bVar9 = *pbVar12" (identifier "bVar9") (= "=") (pointer_expression "*pbVar12" (* "*") (identifier "pbVar12"))) (; ";")) (expression_statement "pbVar6 = pbVar12;" (assignment_expression "pbVar6 = pbVar12" (identifier "pbVar6") (= "=") (identifier "pbVar12")) (; ";")) (if_statement "if (bVar9 != 0) {\n      do {\n        pbVar6 = pbVar6 + 1;\n        bVar4 = bVar9 & 0x80;\n        bVar9 = *pbVar6;\n      } while (bVar9 != 0 || bVar4 != 0);\n    }" (if "if") (parenthesized_expression "(bVar9 != 0)" (( "(") (binary_expression "bVar9 != 0" (identifier "bVar9") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      do {\n        pbVar6 = pbVar6 + 1;\n        bVar4 = bVar9 & 0x80;\n        bVar9 = *pbVar6;\n      } while (bVar9 != 0 || bVar4 != 0);\n    }" ({ "{") (do_statement "do {\n        pbVar6 = pbVar6 + 1;\n        bVar4 = bVar9 & 0x80;\n        bVar9 = *pbVar6;\n      } while (bVar9 != 0 || bVar4 != 0);" (do "do") (compound_statement "{\n        pbVar6 = pbVar6 + 1;\n        bVar4 = bVar9 & 0x80;\n        bVar9 = *pbVar6;\n      }" ({ "{") (expression_statement "pbVar6 = pbVar6 + 1;" (assignment_expression "pbVar6 = pbVar6 + 1" (identifier "pbVar6") (= "=") (binary_expression "pbVar6 + 1" (identifier "pbVar6") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "bVar4 = bVar9 & 0x80;" (assignment_expression "bVar4 = bVar9 & 0x80" (identifier "bVar4") (= "=") (binary_expression "bVar9 & 0x80" (identifier "bVar9") (& "&") (number_literal "0x80"))) (; ";")) (expression_statement "bVar9 = *pbVar6;" (assignment_expression "bVar9 = *pbVar6" (identifier "bVar9") (= "=") (pointer_expression "*pbVar6" (* "*") (identifier "pbVar6"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(bVar9 != 0 || bVar4 != 0)" (( "(") (binary_expression "bVar9 != 0 || bVar4 != 0" (binary_expression "bVar9 != 0" (identifier "bVar9") (!= "!=") (number_literal "0")) (|| "||") (binary_expression "bVar4 != 0" (identifier "bVar4") (!= "!=") (number_literal "0"))) () ")")) (; ";")) (} "}"))) (expression_statement "iVar13 = (int)(pbVar6 + 1) - (int)pbVar12;" (assignment_expression "iVar13 = (int)(pbVar6 + 1) - (int)pbVar12" (identifier "iVar13") (= "=") (binary_expression "(int)(pbVar6 + 1) - (int)pbVar12" (cast_expression "(int)(pbVar6 + 1)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(pbVar6 + 1)" (( "(") (binary_expression "pbVar6 + 1" (identifier "pbVar6") (+ "+") (number_literal "1")) () ")"))) (- "-") (cast_expression "(int)pbVar12" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pbVar12")))) (; ";")) (expression_statement "iVar2 = (**(code **)(puVar15 + 0x14762c))(*piVar8,pbVar12,iVar13);" (assignment_expression "iVar2 = (**(code **)(puVar15 + 0x14762c))(*piVar8,pbVar12,iVar13)" (identifier "iVar2") (= "=") (call_expression "(**(code **)(puVar15 + 0x14762c))(*piVar8,pbVar12,iVar13)" (parenthesized_expression "(**(code **)(puVar15 + 0x14762c))" (( "(") (pointer_expression "**(code **)(puVar15 + 0x14762c)" (* "*") (pointer_expression "*(code **)(puVar15 + 0x14762c)" (* "*") (cast_expression "(code **)(puVar15 + 0x14762c)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar15 + 0x14762c)" (( "(") (binary_expression "puVar15 + 0x14762c" (identifier "puVar15") (+ "+") (number_literal "0x14762c")) () ")"))))) () ")")) (argument_list "(*piVar8,pbVar12,iVar13)" (( "(") (pointer_expression "*piVar8" (* "*") (identifier "piVar8")) (, ",") (identifier "pbVar12") (, ",") (identifier "iVar13") () ")")))) (; ";")) (expression_statement "*piVar8 = iVar2 + iVar13;" (assignment_expression "*piVar8 = iVar2 + iVar13" (pointer_expression "*piVar8" (* "*") (identifier "piVar8")) (= "=") (binary_expression "iVar2 + iVar13" (identifier "iVar2") (+ "+") (identifier "iVar13"))) (; ";")) (expression_statement "*puVar10 = pbVar6 + 1;" (assignment_expression "*puVar10 = pbVar6 + 1" (pointer_expression "*puVar10" (* "*") (identifier "puVar10")) (= "=") (binary_expression "pbVar6 + 1" (identifier "pbVar6") (+ "+") (number_literal "1"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

void function_1(type_1 *pIdx)

{
  type_2 *puVar1;
  type_2 *puVar2;
  short var_3;
  short *var_6;
  type_3 var_5;
  int var_7;
  type_3 var_2;
  short *var_4;
  type_4 aVal [5];
  
  puVar1 = PTR___stack_chk_guard_00190e24;
  var_4 = pIdx->aiRowLogEst;
  aVal._0_4_ = *(type_5 *)(var_1 + 0x2aa8);
  var_3 = pIdx->pTable->nRowLogEst;
  aVal._4_4_ = *(type_5 *)(var_1 + 0x2aac);
  aVal[4] = *(type_4 *)(var_1 + 0x2ab0);
  var_2 = (type_3)pIdx->nKeyCol;
  var_7 = *(int *)PTR___stack_chk_guard_00190e24;
  *var_4 = var_3;
  puVar2 = PTR_memcpy_00190e2c;
  if (5 < var_2) {
    var_2 = 5;
  }
  if (pIdx->pPartIdxWhere != (type_6 *)0x0) {
    var_3 = var_3 + -10;
  }
  if (var_3 < 0x21) {
    var_3 = 0x21;
  }
  *var_4 = var_3;
  (*(type_7 *)puVar2)(var_4 + 1,aVal,var_2 << 1);
  var_2 = var_2 + 1;
  var_5 = (type_3)pIdx->nKeyCol;
  if (var_2 <= var_5) {
    var_6 = var_4 + var_2;
    do {
      *var_6 = 0x17;
      var_2 = var_2 + 1;
      var_5 = (type_3)pIdx->nKeyCol;
      var_6 = var_6 + 1;
    } while ((int)var_2 <= (int)var_5);
  }
  if (pIdx->onError != '\0') {
    var_4[var_5] = 0;
  }
  if (var_7 == *(int *)puVar1) {
    return;
  }
  (*(type_7 *)PTR___stack_chk_fail_00190df8)();
  return;
}


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

void MASKED(int param_1)

{
  undefined *puVar1;
  short sVar3;
  byte bVar4;
  int iVar2;
  short *psVar5;
  byte *pbVar6;
  uint uVar7;
  int *piVar8;
  byte bVar9;
  undefined4 *puVar10;
  uint uVar11;
  byte *pbVar12;
  int iVar13;
  short *psVar14;
  undefined *puVar15;
  undefined4 local_28;
  undefined4 local_24;
  undefined2 local_20;
  int local_1c;
  
  puVar15 = PTR___stack_chk_guard_00190e24;
  psVar14 = *(short **)(param_1 + 8);
  local_28 = *(undefined4 *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x2aa8);
  sVar3 = *(short *)(*(int *)(param_1 + 0xc) + 0x2c);
  local_24 = *(undefined4 *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x2aac);
  local_20 = *(undefined2 *)(PTR_s_o_page_from_root____pageno_INTEG_0019095c + 0x2ab0);
  uVar11 = (uint)*(ushort *)(param_1 + 0x32);
  local_1c = *(int *)PTR___stack_chk_guard_00190e24;
  *psVar14 = sVar3;
  puVar1 = PTR_memcpy_00190e2c;
  if (5 < uVar11) {
    uVar11 = 5;
  }
  if (*(int *)(param_1 + 0x24) != 0) {
    sVar3 = sVar3 + -10;
  }
  if (sVar3 < 0x21) {
    sVar3 = 0x21;
  }
  *psVar14 = sVar3;
  puVar10 = &local_28;
  (*(code *)puVar1)(psVar14 + 1,puVar10,uVar11 << 1);
  uVar11 = uVar11 + 1;
  uVar7 = (uint)*(ushort *)(param_1 + 0x32);
  if (uVar11 <= uVar7) {
    psVar5 = psVar14 + uVar11;
    do {
      *psVar5 = 0x17;
      uVar11 = uVar11 + 1;
      uVar7 = (uint)*(ushort *)(param_1 + 0x32);
      puVar10 = (undefined4 *)(uint)((int)uVar7 < (int)uVar11);
      psVar5 = psVar5 + 1;
    } while (puVar10 == (undefined4 *)0x0);
  }
  piVar8 = (int *)(uVar7 * 2);
  if (*(char *)(param_1 + 0x36) != '\0') {
    piVar8 = (int *)(psVar14 + uVar7);
    *(short *)piVar8 = 0;
  }
  if (local_1c != *(int *)puVar15) {
    puVar15 = PTR___stack_chk_fail_00190df8;
    (*(code *)PTR___stack_chk_fail_00190df8)();
    pbVar12 = (byte *)*puVar10;
    bVar9 = *pbVar12;
    pbVar6 = pbVar12;
    if (bVar9 != 0) {
      do {
        pbVar6 = pbVar6 + 1;
        bVar4 = bVar9 & 0x80;
        bVar9 = *pbVar6;
      } while (bVar9 != 0 || bVar4 != 0);
    }
    iVar13 = (int)(pbVar6 + 1) - (int)pbVar12;
    iVar2 = (**(code **)(puVar15 + 0x14762c))(*piVar8,pbVar12,iVar13);
    *piVar8 = iVar2 + iVar13;
    *puVar10 = pbVar6 + 1;
    return;
  }
  return;
}

