
int sqlite3VdbeReset(Vdbe *p)

{
  char *pcVar1;
  undefined *puVar2;
  sqlite3 *psVar3;
  
  psVar3 = p->db;
  sqlite3VdbeHalt(p);
  if (p->pc < 0) {
    pcVar1 = p->zErrMsg;
    if ((p->rc != 0) && ((p->field_0x95 & 0xc0) != 0)) {
      puVar2 = (undefined *)0x0;
      if (pcVar1 != (char *)0x0) {
        puVar2 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x5dfc;
      }
      (*(code *)(PTR_LAB_00190bdc + 0x3e28))(psVar3,p->rc,puVar2,pcVar1);
      pcVar1 = p->zErrMsg;
    }
  }
  else {
    (*(code *)(PTR_LAB_00190bc0 + -0x270c))(p);
    pcVar1 = p->zErrMsg;
    if ((p->field_0x95 & 2) != 0) {
      p->field_0x95 = p->field_0x95 & 0x3f | 0x40;
    }
  }
  if (pcVar1 != (char *)0x0) {
    (*(code *)(PTR_LAB_00190ba8 + -0x2368))(psVar3);
  }
  p->zErrMsg = (char *)0x0;
  p->pResultSet = (Mem *)0x0;
  p->magic = 0x48fa9f76;
  return p->rc & psVar3->errMask;
}



uint FUN_000d9288(int *param_1)

{
  int iVar1;
  undefined *puVar2;
  int iVar3;
  
  iVar3 = *param_1;
  FUN_000d8268();
  if (param_1[9] < 0) {
    iVar1 = param_1[0x1f];
    if ((param_1[10] != 0) && ((*(byte *)((int)param_1 + 0x95) & 0xc0) != 0)) {
      puVar2 = (undefined *)0x0;
      if (iVar1 != 0) {
        puVar2 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x5dfc;
      }
      (*(code *)(PTR_LAB_00190bdc + 0x3e28))(iVar3,param_1[10],puVar2,iVar1);
      iVar1 = param_1[0x1f];
    }
  }
  else {
    (*(code *)(PTR_LAB_00190bc0 + -0x270c))(param_1);
    iVar1 = param_1[0x1f];
    if ((*(byte *)((int)param_1 + 0x95) & 2) != 0) {
      *(byte *)((int)param_1 + 0x95) = *(byte *)((int)param_1 + 0x95) & 0x3f | 0x40;
    }
  }
  if (iVar1 != 0) {
    (*(code *)(PTR_LAB_00190ba8 + -0x2368))(iVar3);
  }
  param_1[0x1f] = 0;
  param_1[0x1e] = 0;
  param_1[5] = 0x48fa9f76;
  return param_1[10] & *(uint *)(iVar3 + 0x44);
}


lui gp,0xc
addiu gp,gp,-0x968
addu gp,gp,t9
addiu sp,sp,-0x28
lw t9,-0x7d50(gp)
addiu t9,t9,-0x7d98
sw s0,0x1c(sp)
or s0,a0,zero
sw gp,0x10(sp)
sw ra,0x24(sp)
sw s1,0x20(sp)
bal 0x000d8268
_lw s1,0x0(a0)
lw v0,0x24(s0)
bgez v0,0x000d9360
_lw gp,0x10(sp)
lw v0,0x28(s0)
bne v0,zero,0x000d931c
_lw a1,0x7c(s0)
beq a1,zero,0x000d92e8
_lw t9,-0x7d78(gp)
addiu t9,t9,-0x2368
jalr t9
_or a0,s1,zero
lui v1,0x48fa
lw a0,0x28(s0)
sw zero,0x7c(s0)
ori v1,v1,0x9f76
sw zero,0x78(s0)
sw v1,0x14(s0)
lw v0,0x44(s1)
lw ra,0x24(sp)
lw s1,0x20(sp)
lw s0,0x1c(sp)
and v0,a0,v0
jr ra
_addiu sp,sp,0x28
lbu v1,0x95(s0)
andi v1,v1,0xc0
beq v1,zero,0x000d92d4
_nop
beq a1,zero,0x000d933c
_or a2,zero,zero
lw a2,-0x7fc4(gp)
addiu a2,a2,-0x5dfc
lw t9,-0x7d44(gp)
or a3,a1,zero
or a0,s1,zero
addiu t9,t9,0x3e28
jalr t9
_or a1,v0,zero
lw gp,0x10(sp)
b 0x000d92d4
_lw a1,0x7c(s0)
lw t9,-0x7d60(gp)
addiu t9,t9,-0x270c
jalr t9
_or a0,s0,zero
lbu v0,0x95(s0)
lw gp,0x10(sp)
andi v1,v0,0x2
beq v1,zero,0x000d92d4
_lw a1,0x7c(s0)
li v1,0x1
ins v0,v1,0x6,0x2
b 0x000d92d4
_sb v0,0x95(s0)
(translation_unit "uint FUN_000d9288(int *param_1)\n\n{\n  int iVar1;\n  undefined *puVar2;\n  int iVar3;\n  \n  iVar3 = *param_1;\n  FUN_000d8268();\n  if (param_1[9] < 0) {\n    iVar1 = param_1[0x1f];\n    if ((param_1[10] != 0) && ((*(byte *)((int)param_1 + 0x95) & 0xc0) != 0)) {\n      puVar2 = (undefined *)0x0;\n      if (iVar1 != 0) {\n        puVar2 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x5dfc;\n      }\n      (*(code *)(PTR_LAB_00190bdc + 0x3e28))(iVar3,param_1[10],puVar2,iVar1);\n      iVar1 = param_1[0x1f];\n    }\n  }\n  else {\n    (*(code *)(PTR_LAB_00190bc0 + -0x270c))(param_1);\n    iVar1 = param_1[0x1f];\n    if ((*(byte *)((int)param_1 + 0x95) & 2) != 0) {\n      *(byte *)((int)param_1 + 0x95) = *(byte *)((int)param_1 + 0x95) & 0x3f | 0x40;\n    }\n  }\n  if (iVar1 != 0) {\n    (*(code *)(PTR_LAB_00190ba8 + -0x2368))(iVar3);\n  }\n  param_1[0x1f] = 0;\n  param_1[0x1e] = 0;\n  param_1[5] = 0x48fa9f76;\n  return param_1[10] & *(uint *)(iVar3 + 0x44);\n}\n\n" (function_definition "uint FUN_000d9288(int *param_1)\n\n{\n  int iVar1;\n  undefined *puVar2;\n  int iVar3;\n  \n  iVar3 = *param_1;\n  FUN_000d8268();\n  if (param_1[9] < 0) {\n    iVar1 = param_1[0x1f];\n    if ((param_1[10] != 0) && ((*(byte *)((int)param_1 + 0x95) & 0xc0) != 0)) {\n      puVar2 = (undefined *)0x0;\n      if (iVar1 != 0) {\n        puVar2 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x5dfc;\n      }\n      (*(code *)(PTR_LAB_00190bdc + 0x3e28))(iVar3,param_1[10],puVar2,iVar1);\n      iVar1 = param_1[0x1f];\n    }\n  }\n  else {\n    (*(code *)(PTR_LAB_00190bc0 + -0x270c))(param_1);\n    iVar1 = param_1[0x1f];\n    if ((*(byte *)((int)param_1 + 0x95) & 2) != 0) {\n      *(byte *)((int)param_1 + 0x95) = *(byte *)((int)param_1 + 0x95) & 0x3f | 0x40;\n    }\n  }\n  if (iVar1 != 0) {\n    (*(code *)(PTR_LAB_00190ba8 + -0x2368))(iVar3);\n  }\n  param_1[0x1f] = 0;\n  param_1[0x1e] = 0;\n  param_1[5] = 0x48fa9f76;\n  return param_1[10] & *(uint *)(iVar3 + 0x44);\n}" type_identifier (function_declarator "FUN_000d9288(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  undefined *puVar2;\n  int iVar3;\n  \n  iVar3 = *param_1;\n  FUN_000d8268();\n  if (param_1[9] < 0) {\n    iVar1 = param_1[0x1f];\n    if ((param_1[10] != 0) && ((*(byte *)((int)param_1 + 0x95) & 0xc0) != 0)) {\n      puVar2 = (undefined *)0x0;\n      if (iVar1 != 0) {\n        puVar2 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x5dfc;\n      }\n      (*(code *)(PTR_LAB_00190bdc + 0x3e28))(iVar3,param_1[10],puVar2,iVar1);\n      iVar1 = param_1[0x1f];\n    }\n  }\n  else {\n    (*(code *)(PTR_LAB_00190bc0 + -0x270c))(param_1);\n    iVar1 = param_1[0x1f];\n    if ((*(byte *)((int)param_1 + 0x95) & 2) != 0) {\n      *(byte *)((int)param_1 + 0x95) = *(byte *)((int)param_1 + 0x95) & 0x3f | 0x40;\n    }\n  }\n  if (iVar1 != 0) {\n    (*(code *)(PTR_LAB_00190ba8 + -0x2368))(iVar3);\n  }\n  param_1[0x1f] = 0;\n  param_1[0x1e] = 0;\n  param_1[5] = 0x48fa9f76;\n  return param_1[10] & *(uint *)(iVar3 + 0x44);\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (expression_statement "iVar3 = *param_1;" (assignment_expression "iVar3 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "FUN_000d8268();" (call_expression "FUN_000d8268()" identifier (argument_list "()" ( ))) ;) (if_statement "if (param_1[9] < 0) {\n    iVar1 = param_1[0x1f];\n    if ((param_1[10] != 0) && ((*(byte *)((int)param_1 + 0x95) & 0xc0) != 0)) {\n      puVar2 = (undefined *)0x0;\n      if (iVar1 != 0) {\n        puVar2 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x5dfc;\n      }\n      (*(code *)(PTR_LAB_00190bdc + 0x3e28))(iVar3,param_1[10],puVar2,iVar1);\n      iVar1 = param_1[0x1f];\n    }\n  }\n  else {\n    (*(code *)(PTR_LAB_00190bc0 + -0x270c))(param_1);\n    iVar1 = param_1[0x1f];\n    if ((*(byte *)((int)param_1 + 0x95) & 2) != 0) {\n      *(byte *)((int)param_1 + 0x95) = *(byte *)((int)param_1 + 0x95) & 0x3f | 0x40;\n    }\n  }" if (parenthesized_expression "(param_1[9] < 0)" ( (binary_expression "param_1[9] < 0" (subscript_expression "param_1[9]" identifier [ number_literal ]) < number_literal) )) (compound_statement "{\n    iVar1 = param_1[0x1f];\n    if ((param_1[10] != 0) && ((*(byte *)((int)param_1 + 0x95) & 0xc0) != 0)) {\n      puVar2 = (undefined *)0x0;\n      if (iVar1 != 0) {\n        puVar2 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x5dfc;\n      }\n      (*(code *)(PTR_LAB_00190bdc + 0x3e28))(iVar3,param_1[10],puVar2,iVar1);\n      iVar1 = param_1[0x1f];\n    }\n  }" { (expression_statement "iVar1 = param_1[0x1f];" (assignment_expression "iVar1 = param_1[0x1f]" identifier = (subscript_expression "param_1[0x1f]" identifier [ number_literal ])) ;) (if_statement "if ((param_1[10] != 0) && ((*(byte *)((int)param_1 + 0x95) & 0xc0) != 0)) {\n      puVar2 = (undefined *)0x0;\n      if (iVar1 != 0) {\n        puVar2 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x5dfc;\n      }\n      (*(code *)(PTR_LAB_00190bdc + 0x3e28))(iVar3,param_1[10],puVar2,iVar1);\n      iVar1 = param_1[0x1f];\n    }" if (parenthesized_expression "((param_1[10] != 0) && ((*(byte *)((int)param_1 + 0x95) & 0xc0) != 0))" ( (binary_expression "(param_1[10] != 0) && ((*(byte *)((int)param_1 + 0x95) & 0xc0) != 0)" (parenthesized_expression "(param_1[10] != 0)" ( (binary_expression "param_1[10] != 0" (subscript_expression "param_1[10]" identifier [ number_literal ]) != number_literal) )) && (parenthesized_expression "((*(byte *)((int)param_1 + 0x95) & 0xc0) != 0)" ( (binary_expression "(*(byte *)((int)param_1 + 0x95) & 0xc0) != 0" (parenthesized_expression "(*(byte *)((int)param_1 + 0x95) & 0xc0)" ( (binary_expression "*(byte *)((int)param_1 + 0x95) & 0xc0" (pointer_expression "*(byte *)((int)param_1 + 0x95)" * (cast_expression "(byte *)((int)param_1 + 0x95)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 0x95)" ( (binary_expression "(int)param_1 + 0x95" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) & number_literal) )) != number_literal) ))) )) (compound_statement "{\n      puVar2 = (undefined *)0x0;\n      if (iVar1 != 0) {\n        puVar2 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x5dfc;\n      }\n      (*(code *)(PTR_LAB_00190bdc + 0x3e28))(iVar3,param_1[10],puVar2,iVar1);\n      iVar1 = param_1[0x1f];\n    }" { (expression_statement "puVar2 = (undefined *)0x0;" (assignment_expression "puVar2 = (undefined *)0x0" identifier = (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (if_statement "if (iVar1 != 0) {\n        puVar2 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x5dfc;\n      }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n        puVar2 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x5dfc;\n      }" { (expression_statement "puVar2 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x5dfc;" (assignment_expression "puVar2 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x5dfc" identifier = (binary_expression "PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x5dfc" identifier + number_literal)) ;) })) (expression_statement "(*(code *)(PTR_LAB_00190bdc + 0x3e28))(iVar3,param_1[10],puVar2,iVar1);" (call_expression "(*(code *)(PTR_LAB_00190bdc + 0x3e28))(iVar3,param_1[10],puVar2,iVar1)" (parenthesized_expression "(*(code *)(PTR_LAB_00190bdc + 0x3e28))" ( (pointer_expression "*(code *)(PTR_LAB_00190bdc + 0x3e28)" * (cast_expression "(code *)(PTR_LAB_00190bdc + 0x3e28)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_00190bdc + 0x3e28)" ( (binary_expression "PTR_LAB_00190bdc + 0x3e28" identifier + number_literal) )))) )) (argument_list "(iVar3,param_1[10],puVar2,iVar1)" ( identifier , (subscript_expression "param_1[10]" identifier [ number_literal ]) , identifier , identifier ))) ;) (expression_statement "iVar1 = param_1[0x1f];" (assignment_expression "iVar1 = param_1[0x1f]" identifier = (subscript_expression "param_1[0x1f]" identifier [ number_literal ])) ;) })) }) (else_clause "else {\n    (*(code *)(PTR_LAB_00190bc0 + -0x270c))(param_1);\n    iVar1 = param_1[0x1f];\n    if ((*(byte *)((int)param_1 + 0x95) & 2) != 0) {\n      *(byte *)((int)param_1 + 0x95) = *(byte *)((int)param_1 + 0x95) & 0x3f | 0x40;\n    }\n  }" else (compound_statement "{\n    (*(code *)(PTR_LAB_00190bc0 + -0x270c))(param_1);\n    iVar1 = param_1[0x1f];\n    if ((*(byte *)((int)param_1 + 0x95) & 2) != 0) {\n      *(byte *)((int)param_1 + 0x95) = *(byte *)((int)param_1 + 0x95) & 0x3f | 0x40;\n    }\n  }" { (expression_statement "(*(code *)(PTR_LAB_00190bc0 + -0x270c))(param_1);" (call_expression "(*(code *)(PTR_LAB_00190bc0 + -0x270c))(param_1)" (parenthesized_expression "(*(code *)(PTR_LAB_00190bc0 + -0x270c))" ( (pointer_expression "*(code *)(PTR_LAB_00190bc0 + -0x270c)" * (cast_expression "(code *)(PTR_LAB_00190bc0 + -0x270c)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_00190bc0 + -0x270c)" ( (binary_expression "PTR_LAB_00190bc0 + -0x270c" identifier + number_literal) )))) )) (argument_list "(param_1)" ( identifier ))) ;) (expression_statement "iVar1 = param_1[0x1f];" (assignment_expression "iVar1 = param_1[0x1f]" identifier = (subscript_expression "param_1[0x1f]" identifier [ number_literal ])) ;) (if_statement "if ((*(byte *)((int)param_1 + 0x95) & 2) != 0) {\n      *(byte *)((int)param_1 + 0x95) = *(byte *)((int)param_1 + 0x95) & 0x3f | 0x40;\n    }" if (parenthesized_expression "((*(byte *)((int)param_1 + 0x95) & 2) != 0)" ( (binary_expression "(*(byte *)((int)param_1 + 0x95) & 2) != 0" (parenthesized_expression "(*(byte *)((int)param_1 + 0x95) & 2)" ( (binary_expression "*(byte *)((int)param_1 + 0x95) & 2" (pointer_expression "*(byte *)((int)param_1 + 0x95)" * (cast_expression "(byte *)((int)param_1 + 0x95)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 0x95)" ( (binary_expression "(int)param_1 + 0x95" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n      *(byte *)((int)param_1 + 0x95) = *(byte *)((int)param_1 + 0x95) & 0x3f | 0x40;\n    }" { (expression_statement "*(byte *)((int)param_1 + 0x95) = *(byte *)((int)param_1 + 0x95) & 0x3f | 0x40;" (assignment_expression "*(byte *)((int)param_1 + 0x95) = *(byte *)((int)param_1 + 0x95) & 0x3f | 0x40" (pointer_expression "*(byte *)((int)param_1 + 0x95)" * (cast_expression "(byte *)((int)param_1 + 0x95)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 0x95)" ( (binary_expression "(int)param_1 + 0x95" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = (binary_expression "*(byte *)((int)param_1 + 0x95) & 0x3f | 0x40" (binary_expression "*(byte *)((int)param_1 + 0x95) & 0x3f" (pointer_expression "*(byte *)((int)param_1 + 0x95)" * (cast_expression "(byte *)((int)param_1 + 0x95)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 0x95)" ( (binary_expression "(int)param_1 + 0x95" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) & number_literal) | number_literal)) ;) })) }))) (if_statement "if (iVar1 != 0) {\n    (*(code *)(PTR_LAB_00190ba8 + -0x2368))(iVar3);\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    (*(code *)(PTR_LAB_00190ba8 + -0x2368))(iVar3);\n  }" { (expression_statement "(*(code *)(PTR_LAB_00190ba8 + -0x2368))(iVar3);" (call_expression "(*(code *)(PTR_LAB_00190ba8 + -0x2368))(iVar3)" (parenthesized_expression "(*(code *)(PTR_LAB_00190ba8 + -0x2368))" ( (pointer_expression "*(code *)(PTR_LAB_00190ba8 + -0x2368)" * (cast_expression "(code *)(PTR_LAB_00190ba8 + -0x2368)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_00190ba8 + -0x2368)" ( (binary_expression "PTR_LAB_00190ba8 + -0x2368" identifier + number_literal) )))) )) (argument_list "(iVar3)" ( identifier ))) ;) })) (expression_statement "param_1[0x1f] = 0;" (assignment_expression "param_1[0x1f] = 0" (subscript_expression "param_1[0x1f]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[0x1e] = 0;" (assignment_expression "param_1[0x1e] = 0" (subscript_expression "param_1[0x1e]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[5] = 0x48fa9f76;" (assignment_expression "param_1[5] = 0x48fa9f76" (subscript_expression "param_1[5]" identifier [ number_literal ]) = number_literal) ;) (return_statement "return param_1[10] & *(uint *)(iVar3 + 0x44);" return (binary_expression "param_1[10] & *(uint *)(iVar3 + 0x44)" (subscript_expression "param_1[10]" identifier [ number_literal ]) & (pointer_expression "*(uint *)(iVar3 + 0x44)" * (cast_expression "(uint *)(iVar3 + 0x44)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x44)" ( (binary_expression "iVar3 + 0x44" identifier + number_literal) ))))) ;) })))
(translation_unit "int sqlite3VdbeReset(Vdbe *p)\n\n{\n  char *pcVar1;\n  undefined *puVar2;\n  sqlite3 *psVar3;\n  \n  psVar3 = p->db;\n  sqlite3VdbeHalt(p);\n  if (p->pc < 0) {\n    pcVar1 = p->zErrMsg;\n    if ((p->rc != 0) && ((p->field_0x95 & 0xc0) != 0)) {\n      puVar2 = (undefined *)0x0;\n      if (pcVar1 != (char *)0x0) {\n        puVar2 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x5dfc;\n      }\n      (*(code *)(PTR_LAB_00190bdc + 0x3e28))(psVar3,p->rc,puVar2,pcVar1);\n      pcVar1 = p->zErrMsg;\n    }\n  }\n  else {\n    (*(code *)(PTR_LAB_00190bc0 + -0x270c))(p);\n    pcVar1 = p->zErrMsg;\n    if ((p->field_0x95 & 2) != 0) {\n      p->field_0x95 = p->field_0x95 & 0x3f | 0x40;\n    }\n  }\n  if (pcVar1 != (char *)0x0) {\n    (*(code *)(PTR_LAB_00190ba8 + -0x2368))(psVar3);\n  }\n  p->zErrMsg = (char *)0x0;\n  p->pResultSet = (Mem *)0x0;\n  p->magic = 0x48fa9f76;\n  return p->rc & psVar3->errMask;\n}\n\n" (function_definition "int sqlite3VdbeReset(Vdbe *p)\n\n{\n  char *pcVar1;\n  undefined *puVar2;\n  sqlite3 *psVar3;\n  \n  psVar3 = p->db;\n  sqlite3VdbeHalt(p);\n  if (p->pc < 0) {\n    pcVar1 = p->zErrMsg;\n    if ((p->rc != 0) && ((p->field_0x95 & 0xc0) != 0)) {\n      puVar2 = (undefined *)0x0;\n      if (pcVar1 != (char *)0x0) {\n        puVar2 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x5dfc;\n      }\n      (*(code *)(PTR_LAB_00190bdc + 0x3e28))(psVar3,p->rc,puVar2,pcVar1);\n      pcVar1 = p->zErrMsg;\n    }\n  }\n  else {\n    (*(code *)(PTR_LAB_00190bc0 + -0x270c))(p);\n    pcVar1 = p->zErrMsg;\n    if ((p->field_0x95 & 2) != 0) {\n      p->field_0x95 = p->field_0x95 & 0x3f | 0x40;\n    }\n  }\n  if (pcVar1 != (char *)0x0) {\n    (*(code *)(PTR_LAB_00190ba8 + -0x2368))(psVar3);\n  }\n  p->zErrMsg = (char *)0x0;\n  p->pResultSet = (Mem *)0x0;\n  p->magic = 0x48fa9f76;\n  return p->rc & psVar3->errMask;\n}" primitive_type (function_declarator "sqlite3VdbeReset(Vdbe *p)" identifier (parameter_list "(Vdbe *p)" ( (parameter_declaration "Vdbe *p" type_identifier (pointer_declarator "*p" * identifier)) ))) (compound_statement "{\n  char *pcVar1;\n  undefined *puVar2;\n  sqlite3 *psVar3;\n  \n  psVar3 = p->db;\n  sqlite3VdbeHalt(p);\n  if (p->pc < 0) {\n    pcVar1 = p->zErrMsg;\n    if ((p->rc != 0) && ((p->field_0x95 & 0xc0) != 0)) {\n      puVar2 = (undefined *)0x0;\n      if (pcVar1 != (char *)0x0) {\n        puVar2 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x5dfc;\n      }\n      (*(code *)(PTR_LAB_00190bdc + 0x3e28))(psVar3,p->rc,puVar2,pcVar1);\n      pcVar1 = p->zErrMsg;\n    }\n  }\n  else {\n    (*(code *)(PTR_LAB_00190bc0 + -0x270c))(p);\n    pcVar1 = p->zErrMsg;\n    if ((p->field_0x95 & 2) != 0) {\n      p->field_0x95 = p->field_0x95 & 0x3f | 0x40;\n    }\n  }\n  if (pcVar1 != (char *)0x0) {\n    (*(code *)(PTR_LAB_00190ba8 + -0x2368))(psVar3);\n  }\n  p->zErrMsg = (char *)0x0;\n  p->pResultSet = (Mem *)0x0;\n  p->magic = 0x48fa9f76;\n  return p->rc & psVar3->errMask;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "sqlite3 *psVar3;" type_identifier (pointer_declarator "*psVar3" * identifier) ;) (expression_statement "psVar3 = p->db;" (assignment_expression "psVar3 = p->db" identifier = (field_expression "p->db" identifier -> field_identifier)) ;) (expression_statement "sqlite3VdbeHalt(p);" (call_expression "sqlite3VdbeHalt(p)" identifier (argument_list "(p)" ( identifier ))) ;) (if_statement "if (p->pc < 0) {\n    pcVar1 = p->zErrMsg;\n    if ((p->rc != 0) && ((p->field_0x95 & 0xc0) != 0)) {\n      puVar2 = (undefined *)0x0;\n      if (pcVar1 != (char *)0x0) {\n        puVar2 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x5dfc;\n      }\n      (*(code *)(PTR_LAB_00190bdc + 0x3e28))(psVar3,p->rc,puVar2,pcVar1);\n      pcVar1 = p->zErrMsg;\n    }\n  }\n  else {\n    (*(code *)(PTR_LAB_00190bc0 + -0x270c))(p);\n    pcVar1 = p->zErrMsg;\n    if ((p->field_0x95 & 2) != 0) {\n      p->field_0x95 = p->field_0x95 & 0x3f | 0x40;\n    }\n  }" if (parenthesized_expression "(p->pc < 0)" ( (binary_expression "p->pc < 0" (field_expression "p->pc" identifier -> field_identifier) < number_literal) )) (compound_statement "{\n    pcVar1 = p->zErrMsg;\n    if ((p->rc != 0) && ((p->field_0x95 & 0xc0) != 0)) {\n      puVar2 = (undefined *)0x0;\n      if (pcVar1 != (char *)0x0) {\n        puVar2 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x5dfc;\n      }\n      (*(code *)(PTR_LAB_00190bdc + 0x3e28))(psVar3,p->rc,puVar2,pcVar1);\n      pcVar1 = p->zErrMsg;\n    }\n  }" { (expression_statement "pcVar1 = p->zErrMsg;" (assignment_expression "pcVar1 = p->zErrMsg" identifier = (field_expression "p->zErrMsg" identifier -> field_identifier)) ;) (if_statement "if ((p->rc != 0) && ((p->field_0x95 & 0xc0) != 0)) {\n      puVar2 = (undefined *)0x0;\n      if (pcVar1 != (char *)0x0) {\n        puVar2 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x5dfc;\n      }\n      (*(code *)(PTR_LAB_00190bdc + 0x3e28))(psVar3,p->rc,puVar2,pcVar1);\n      pcVar1 = p->zErrMsg;\n    }" if (parenthesized_expression "((p->rc != 0) && ((p->field_0x95 & 0xc0) != 0))" ( (binary_expression "(p->rc != 0) && ((p->field_0x95 & 0xc0) != 0)" (parenthesized_expression "(p->rc != 0)" ( (binary_expression "p->rc != 0" (field_expression "p->rc" identifier -> field_identifier) != number_literal) )) && (parenthesized_expression "((p->field_0x95 & 0xc0) != 0)" ( (binary_expression "(p->field_0x95 & 0xc0) != 0" (parenthesized_expression "(p->field_0x95 & 0xc0)" ( (binary_expression "p->field_0x95 & 0xc0" (field_expression "p->field_0x95" identifier -> field_identifier) & number_literal) )) != number_literal) ))) )) (compound_statement "{\n      puVar2 = (undefined *)0x0;\n      if (pcVar1 != (char *)0x0) {\n        puVar2 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x5dfc;\n      }\n      (*(code *)(PTR_LAB_00190bdc + 0x3e28))(psVar3,p->rc,puVar2,pcVar1);\n      pcVar1 = p->zErrMsg;\n    }" { (expression_statement "puVar2 = (undefined *)0x0;" (assignment_expression "puVar2 = (undefined *)0x0" identifier = (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (if_statement "if (pcVar1 != (char *)0x0) {\n        puVar2 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x5dfc;\n      }" if (parenthesized_expression "(pcVar1 != (char *)0x0)" ( (binary_expression "pcVar1 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        puVar2 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x5dfc;\n      }" { (expression_statement "puVar2 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x5dfc;" (assignment_expression "puVar2 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x5dfc" identifier = (binary_expression "PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x5dfc" identifier + number_literal)) ;) })) (expression_statement "(*(code *)(PTR_LAB_00190bdc + 0x3e28))(psVar3,p->rc,puVar2,pcVar1);" (call_expression "(*(code *)(PTR_LAB_00190bdc + 0x3e28))(psVar3,p->rc,puVar2,pcVar1)" (parenthesized_expression "(*(code *)(PTR_LAB_00190bdc + 0x3e28))" ( (pointer_expression "*(code *)(PTR_LAB_00190bdc + 0x3e28)" * (cast_expression "(code *)(PTR_LAB_00190bdc + 0x3e28)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_00190bdc + 0x3e28)" ( (binary_expression "PTR_LAB_00190bdc + 0x3e28" identifier + number_literal) )))) )) (argument_list "(psVar3,p->rc,puVar2,pcVar1)" ( identifier , (field_expression "p->rc" identifier -> field_identifier) , identifier , identifier ))) ;) (expression_statement "pcVar1 = p->zErrMsg;" (assignment_expression "pcVar1 = p->zErrMsg" identifier = (field_expression "p->zErrMsg" identifier -> field_identifier)) ;) })) }) (else_clause "else {\n    (*(code *)(PTR_LAB_00190bc0 + -0x270c))(p);\n    pcVar1 = p->zErrMsg;\n    if ((p->field_0x95 & 2) != 0) {\n      p->field_0x95 = p->field_0x95 & 0x3f | 0x40;\n    }\n  }" else (compound_statement "{\n    (*(code *)(PTR_LAB_00190bc0 + -0x270c))(p);\n    pcVar1 = p->zErrMsg;\n    if ((p->field_0x95 & 2) != 0) {\n      p->field_0x95 = p->field_0x95 & 0x3f | 0x40;\n    }\n  }" { (expression_statement "(*(code *)(PTR_LAB_00190bc0 + -0x270c))(p);" (call_expression "(*(code *)(PTR_LAB_00190bc0 + -0x270c))(p)" (parenthesized_expression "(*(code *)(PTR_LAB_00190bc0 + -0x270c))" ( (pointer_expression "*(code *)(PTR_LAB_00190bc0 + -0x270c)" * (cast_expression "(code *)(PTR_LAB_00190bc0 + -0x270c)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_00190bc0 + -0x270c)" ( (binary_expression "PTR_LAB_00190bc0 + -0x270c" identifier + number_literal) )))) )) (argument_list "(p)" ( identifier ))) ;) (expression_statement "pcVar1 = p->zErrMsg;" (assignment_expression "pcVar1 = p->zErrMsg" identifier = (field_expression "p->zErrMsg" identifier -> field_identifier)) ;) (if_statement "if ((p->field_0x95 & 2) != 0) {\n      p->field_0x95 = p->field_0x95 & 0x3f | 0x40;\n    }" if (parenthesized_expression "((p->field_0x95 & 2) != 0)" ( (binary_expression "(p->field_0x95 & 2) != 0" (parenthesized_expression "(p->field_0x95 & 2)" ( (binary_expression "p->field_0x95 & 2" (field_expression "p->field_0x95" identifier -> field_identifier) & number_literal) )) != number_literal) )) (compound_statement "{\n      p->field_0x95 = p->field_0x95 & 0x3f | 0x40;\n    }" { (expression_statement "p->field_0x95 = p->field_0x95 & 0x3f | 0x40;" (assignment_expression "p->field_0x95 = p->field_0x95 & 0x3f | 0x40" (field_expression "p->field_0x95" identifier -> field_identifier) = (binary_expression "p->field_0x95 & 0x3f | 0x40" (binary_expression "p->field_0x95 & 0x3f" (field_expression "p->field_0x95" identifier -> field_identifier) & number_literal) | number_literal)) ;) })) }))) (if_statement "if (pcVar1 != (char *)0x0) {\n    (*(code *)(PTR_LAB_00190ba8 + -0x2368))(psVar3);\n  }" if (parenthesized_expression "(pcVar1 != (char *)0x0)" ( (binary_expression "pcVar1 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    (*(code *)(PTR_LAB_00190ba8 + -0x2368))(psVar3);\n  }" { (expression_statement "(*(code *)(PTR_LAB_00190ba8 + -0x2368))(psVar3);" (call_expression "(*(code *)(PTR_LAB_00190ba8 + -0x2368))(psVar3)" (parenthesized_expression "(*(code *)(PTR_LAB_00190ba8 + -0x2368))" ( (pointer_expression "*(code *)(PTR_LAB_00190ba8 + -0x2368)" * (cast_expression "(code *)(PTR_LAB_00190ba8 + -0x2368)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_00190ba8 + -0x2368)" ( (binary_expression "PTR_LAB_00190ba8 + -0x2368" identifier + number_literal) )))) )) (argument_list "(psVar3)" ( identifier ))) ;) })) (expression_statement "p->zErrMsg = (char *)0x0;" (assignment_expression "p->zErrMsg = (char *)0x0" (field_expression "p->zErrMsg" identifier -> field_identifier) = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "p->pResultSet = (Mem *)0x0;" (assignment_expression "p->pResultSet = (Mem *)0x0" (field_expression "p->pResultSet" identifier -> field_identifier) = (cast_expression "(Mem *)0x0" ( (type_descriptor "Mem *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "p->magic = 0x48fa9f76;" (assignment_expression "p->magic = 0x48fa9f76" (field_expression "p->magic" identifier -> field_identifier) = number_literal) ;) (return_statement "return p->rc & psVar3->errMask;" return (binary_expression "p->rc & psVar3->errMask" (field_expression "p->rc" identifier -> field_identifier) & (field_expression "psVar3->errMask" identifier -> field_identifier)) ;) })))
(translation_unit "uint FUN_000d9288(int *param_1)\n\n{\n  int iVar1;\n  undefined *puVar2;\n  int iVar3;\n  \n  iVar3 = *param_1;\n  FUN_000d8268();\n  if (param_1[9] < 0) {\n    iVar1 = param_1[0x1f];\n    if ((param_1[10] != 0) && ((*(byte *)((int)param_1 + 0x95) & 0xc0) != 0)) {\n      puVar2 = (undefined *)0x0;\n      if (iVar1 != 0) {\n        puVar2 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x5dfc;\n      }\n      (*(code *)(PTR_LAB_00190bdc + 0x3e28))(iVar3,param_1[10],puVar2,iVar1);\n      iVar1 = param_1[0x1f];\n    }\n  }\n  else {\n    (*(code *)(PTR_LAB_00190bc0 + -0x270c))(param_1);\n    iVar1 = param_1[0x1f];\n    if ((*(byte *)((int)param_1 + 0x95) & 2) != 0) {\n      *(byte *)((int)param_1 + 0x95) = *(byte *)((int)param_1 + 0x95) & 0x3f | 0x40;\n    }\n  }\n  if (iVar1 != 0) {\n    (*(code *)(PTR_LAB_00190ba8 + -0x2368))(iVar3);\n  }\n  param_1[0x1f] = 0;\n  param_1[0x1e] = 0;\n  param_1[5] = 0x48fa9f76;\n  return param_1[10] & *(uint *)(iVar3 + 0x44);\n}\n\n" (function_definition "uint FUN_000d9288(int *param_1)\n\n{\n  int iVar1;\n  undefined *puVar2;\n  int iVar3;\n  \n  iVar3 = *param_1;\n  FUN_000d8268();\n  if (param_1[9] < 0) {\n    iVar1 = param_1[0x1f];\n    if ((param_1[10] != 0) && ((*(byte *)((int)param_1 + 0x95) & 0xc0) != 0)) {\n      puVar2 = (undefined *)0x0;\n      if (iVar1 != 0) {\n        puVar2 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x5dfc;\n      }\n      (*(code *)(PTR_LAB_00190bdc + 0x3e28))(iVar3,param_1[10],puVar2,iVar1);\n      iVar1 = param_1[0x1f];\n    }\n  }\n  else {\n    (*(code *)(PTR_LAB_00190bc0 + -0x270c))(param_1);\n    iVar1 = param_1[0x1f];\n    if ((*(byte *)((int)param_1 + 0x95) & 2) != 0) {\n      *(byte *)((int)param_1 + 0x95) = *(byte *)((int)param_1 + 0x95) & 0x3f | 0x40;\n    }\n  }\n  if (iVar1 != 0) {\n    (*(code *)(PTR_LAB_00190ba8 + -0x2368))(iVar3);\n  }\n  param_1[0x1f] = 0;\n  param_1[0x1e] = 0;\n  param_1[5] = 0x48fa9f76;\n  return param_1[10] & *(uint *)(iVar3 + 0x44);\n}" type_identifier (function_declarator "FUN_000d9288(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  undefined *puVar2;\n  int iVar3;\n  \n  iVar3 = *param_1;\n  FUN_000d8268();\n  if (param_1[9] < 0) {\n    iVar1 = param_1[0x1f];\n    if ((param_1[10] != 0) && ((*(byte *)((int)param_1 + 0x95) & 0xc0) != 0)) {\n      puVar2 = (undefined *)0x0;\n      if (iVar1 != 0) {\n        puVar2 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x5dfc;\n      }\n      (*(code *)(PTR_LAB_00190bdc + 0x3e28))(iVar3,param_1[10],puVar2,iVar1);\n      iVar1 = param_1[0x1f];\n    }\n  }\n  else {\n    (*(code *)(PTR_LAB_00190bc0 + -0x270c))(param_1);\n    iVar1 = param_1[0x1f];\n    if ((*(byte *)((int)param_1 + 0x95) & 2) != 0) {\n      *(byte *)((int)param_1 + 0x95) = *(byte *)((int)param_1 + 0x95) & 0x3f | 0x40;\n    }\n  }\n  if (iVar1 != 0) {\n    (*(code *)(PTR_LAB_00190ba8 + -0x2368))(iVar3);\n  }\n  param_1[0x1f] = 0;\n  param_1[0x1e] = 0;\n  param_1[5] = 0x48fa9f76;\n  return param_1[10] & *(uint *)(iVar3 + 0x44);\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (expression_statement "iVar3 = *param_1;" (assignment_expression "iVar3 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "FUN_000d8268();" (call_expression "FUN_000d8268()" identifier (argument_list "()" ( ))) ;) (if_statement "if (param_1[9] < 0) {\n    iVar1 = param_1[0x1f];\n    if ((param_1[10] != 0) && ((*(byte *)((int)param_1 + 0x95) & 0xc0) != 0)) {\n      puVar2 = (undefined *)0x0;\n      if (iVar1 != 0) {\n        puVar2 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x5dfc;\n      }\n      (*(code *)(PTR_LAB_00190bdc + 0x3e28))(iVar3,param_1[10],puVar2,iVar1);\n      iVar1 = param_1[0x1f];\n    }\n  }\n  else {\n    (*(code *)(PTR_LAB_00190bc0 + -0x270c))(param_1);\n    iVar1 = param_1[0x1f];\n    if ((*(byte *)((int)param_1 + 0x95) & 2) != 0) {\n      *(byte *)((int)param_1 + 0x95) = *(byte *)((int)param_1 + 0x95) & 0x3f | 0x40;\n    }\n  }" if (parenthesized_expression "(param_1[9] < 0)" ( (binary_expression "param_1[9] < 0" (subscript_expression "param_1[9]" identifier [ number_literal ]) < number_literal) )) (compound_statement "{\n    iVar1 = param_1[0x1f];\n    if ((param_1[10] != 0) && ((*(byte *)((int)param_1 + 0x95) & 0xc0) != 0)) {\n      puVar2 = (undefined *)0x0;\n      if (iVar1 != 0) {\n        puVar2 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x5dfc;\n      }\n      (*(code *)(PTR_LAB_00190bdc + 0x3e28))(iVar3,param_1[10],puVar2,iVar1);\n      iVar1 = param_1[0x1f];\n    }\n  }" { (expression_statement "iVar1 = param_1[0x1f];" (assignment_expression "iVar1 = param_1[0x1f]" identifier = (subscript_expression "param_1[0x1f]" identifier [ number_literal ])) ;) (if_statement "if ((param_1[10] != 0) && ((*(byte *)((int)param_1 + 0x95) & 0xc0) != 0)) {\n      puVar2 = (undefined *)0x0;\n      if (iVar1 != 0) {\n        puVar2 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x5dfc;\n      }\n      (*(code *)(PTR_LAB_00190bdc + 0x3e28))(iVar3,param_1[10],puVar2,iVar1);\n      iVar1 = param_1[0x1f];\n    }" if (parenthesized_expression "((param_1[10] != 0) && ((*(byte *)((int)param_1 + 0x95) & 0xc0) != 0))" ( (binary_expression "(param_1[10] != 0) && ((*(byte *)((int)param_1 + 0x95) & 0xc0) != 0)" (parenthesized_expression "(param_1[10] != 0)" ( (binary_expression "param_1[10] != 0" (subscript_expression "param_1[10]" identifier [ number_literal ]) != number_literal) )) && (parenthesized_expression "((*(byte *)((int)param_1 + 0x95) & 0xc0) != 0)" ( (binary_expression "(*(byte *)((int)param_1 + 0x95) & 0xc0) != 0" (parenthesized_expression "(*(byte *)((int)param_1 + 0x95) & 0xc0)" ( (binary_expression "*(byte *)((int)param_1 + 0x95) & 0xc0" (pointer_expression "*(byte *)((int)param_1 + 0x95)" * (cast_expression "(byte *)((int)param_1 + 0x95)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 0x95)" ( (binary_expression "(int)param_1 + 0x95" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) & number_literal) )) != number_literal) ))) )) (compound_statement "{\n      puVar2 = (undefined *)0x0;\n      if (iVar1 != 0) {\n        puVar2 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x5dfc;\n      }\n      (*(code *)(PTR_LAB_00190bdc + 0x3e28))(iVar3,param_1[10],puVar2,iVar1);\n      iVar1 = param_1[0x1f];\n    }" { (expression_statement "puVar2 = (undefined *)0x0;" (assignment_expression "puVar2 = (undefined *)0x0" identifier = (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (if_statement "if (iVar1 != 0) {\n        puVar2 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x5dfc;\n      }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n        puVar2 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x5dfc;\n      }" { (expression_statement "puVar2 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x5dfc;" (assignment_expression "puVar2 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x5dfc" identifier = (binary_expression "PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x5dfc" identifier + number_literal)) ;) })) (expression_statement "(*(code *)(PTR_LAB_00190bdc + 0x3e28))(iVar3,param_1[10],puVar2,iVar1);" (call_expression "(*(code *)(PTR_LAB_00190bdc + 0x3e28))(iVar3,param_1[10],puVar2,iVar1)" (parenthesized_expression "(*(code *)(PTR_LAB_00190bdc + 0x3e28))" ( (pointer_expression "*(code *)(PTR_LAB_00190bdc + 0x3e28)" * (cast_expression "(code *)(PTR_LAB_00190bdc + 0x3e28)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_00190bdc + 0x3e28)" ( (binary_expression "PTR_LAB_00190bdc + 0x3e28" identifier + number_literal) )))) )) (argument_list "(iVar3,param_1[10],puVar2,iVar1)" ( identifier , (subscript_expression "param_1[10]" identifier [ number_literal ]) , identifier , identifier ))) ;) (expression_statement "iVar1 = param_1[0x1f];" (assignment_expression "iVar1 = param_1[0x1f]" identifier = (subscript_expression "param_1[0x1f]" identifier [ number_literal ])) ;) })) }) (else_clause "else {\n    (*(code *)(PTR_LAB_00190bc0 + -0x270c))(param_1);\n    iVar1 = param_1[0x1f];\n    if ((*(byte *)((int)param_1 + 0x95) & 2) != 0) {\n      *(byte *)((int)param_1 + 0x95) = *(byte *)((int)param_1 + 0x95) & 0x3f | 0x40;\n    }\n  }" else (compound_statement "{\n    (*(code *)(PTR_LAB_00190bc0 + -0x270c))(param_1);\n    iVar1 = param_1[0x1f];\n    if ((*(byte *)((int)param_1 + 0x95) & 2) != 0) {\n      *(byte *)((int)param_1 + 0x95) = *(byte *)((int)param_1 + 0x95) & 0x3f | 0x40;\n    }\n  }" { (expression_statement "(*(code *)(PTR_LAB_00190bc0 + -0x270c))(param_1);" (call_expression "(*(code *)(PTR_LAB_00190bc0 + -0x270c))(param_1)" (parenthesized_expression "(*(code *)(PTR_LAB_00190bc0 + -0x270c))" ( (pointer_expression "*(code *)(PTR_LAB_00190bc0 + -0x270c)" * (cast_expression "(code *)(PTR_LAB_00190bc0 + -0x270c)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_00190bc0 + -0x270c)" ( (binary_expression "PTR_LAB_00190bc0 + -0x270c" identifier + number_literal) )))) )) (argument_list "(param_1)" ( identifier ))) ;) (expression_statement "iVar1 = param_1[0x1f];" (assignment_expression "iVar1 = param_1[0x1f]" identifier = (subscript_expression "param_1[0x1f]" identifier [ number_literal ])) ;) (if_statement "if ((*(byte *)((int)param_1 + 0x95) & 2) != 0) {\n      *(byte *)((int)param_1 + 0x95) = *(byte *)((int)param_1 + 0x95) & 0x3f | 0x40;\n    }" if (parenthesized_expression "((*(byte *)((int)param_1 + 0x95) & 2) != 0)" ( (binary_expression "(*(byte *)((int)param_1 + 0x95) & 2) != 0" (parenthesized_expression "(*(byte *)((int)param_1 + 0x95) & 2)" ( (binary_expression "*(byte *)((int)param_1 + 0x95) & 2" (pointer_expression "*(byte *)((int)param_1 + 0x95)" * (cast_expression "(byte *)((int)param_1 + 0x95)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 0x95)" ( (binary_expression "(int)param_1 + 0x95" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n      *(byte *)((int)param_1 + 0x95) = *(byte *)((int)param_1 + 0x95) & 0x3f | 0x40;\n    }" { (expression_statement "*(byte *)((int)param_1 + 0x95) = *(byte *)((int)param_1 + 0x95) & 0x3f | 0x40;" (assignment_expression "*(byte *)((int)param_1 + 0x95) = *(byte *)((int)param_1 + 0x95) & 0x3f | 0x40" (pointer_expression "*(byte *)((int)param_1 + 0x95)" * (cast_expression "(byte *)((int)param_1 + 0x95)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 0x95)" ( (binary_expression "(int)param_1 + 0x95" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = (binary_expression "*(byte *)((int)param_1 + 0x95) & 0x3f | 0x40" (binary_expression "*(byte *)((int)param_1 + 0x95) & 0x3f" (pointer_expression "*(byte *)((int)param_1 + 0x95)" * (cast_expression "(byte *)((int)param_1 + 0x95)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 0x95)" ( (binary_expression "(int)param_1 + 0x95" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) & number_literal) | number_literal)) ;) })) }))) (if_statement "if (iVar1 != 0) {\n    (*(code *)(PTR_LAB_00190ba8 + -0x2368))(iVar3);\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    (*(code *)(PTR_LAB_00190ba8 + -0x2368))(iVar3);\n  }" { (expression_statement "(*(code *)(PTR_LAB_00190ba8 + -0x2368))(iVar3);" (call_expression "(*(code *)(PTR_LAB_00190ba8 + -0x2368))(iVar3)" (parenthesized_expression "(*(code *)(PTR_LAB_00190ba8 + -0x2368))" ( (pointer_expression "*(code *)(PTR_LAB_00190ba8 + -0x2368)" * (cast_expression "(code *)(PTR_LAB_00190ba8 + -0x2368)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_00190ba8 + -0x2368)" ( (binary_expression "PTR_LAB_00190ba8 + -0x2368" identifier + number_literal) )))) )) (argument_list "(iVar3)" ( identifier ))) ;) })) (expression_statement "param_1[0x1f] = 0;" (assignment_expression "param_1[0x1f] = 0" (subscript_expression "param_1[0x1f]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[0x1e] = 0;" (assignment_expression "param_1[0x1e] = 0" (subscript_expression "param_1[0x1e]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[5] = 0x48fa9f76;" (assignment_expression "param_1[5] = 0x48fa9f76" (subscript_expression "param_1[5]" identifier [ number_literal ]) = number_literal) ;) (return_statement "return param_1[10] & *(uint *)(iVar3 + 0x44);" return (binary_expression "param_1[10] & *(uint *)(iVar3 + 0x44)" (subscript_expression "param_1[10]" identifier [ number_literal ]) & (pointer_expression "*(uint *)(iVar3 + 0x44)" * (cast_expression "(uint *)(iVar3 + 0x44)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x44)" ( (binary_expression "iVar3 + 0x44" identifier + number_literal) ))))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) )) && (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) & LIT) )) != LIT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )) (argument_list ( IDENT , (subscript_expression IDENT [ LIT ]) , IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) })) }) (else_clause else (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )) (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) & LIT) )) != LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) & LIT) | LIT)) ;) })) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )) (argument_list ( IDENT ))) ;) })) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (return_statement return (binary_expression (subscript_expression IDENT [ LIT ]) & (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) })))
(function_definition "uint FUN_000d9288(int *param_1)\n\n{\n  int iVar1;\n  undefined *puVar2;\n  int iVar3;\n  \n  iVar3 = *param_1;\n  FUN_000d8268();\n  if (param_1[9] < 0) {\n    iVar1 = param_1[0x1f];\n    if ((param_1[10] != 0) && ((*(byte *)((int)param_1 + 0x95) & 0xc0) != 0)) {\n      puVar2 = (undefined *)0x0;\n      if (iVar1 != 0) {\n        puVar2 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x5dfc;\n      }\n      (*(code *)(PTR_LAB_00190bdc + 0x3e28))(iVar3,param_1[10],puVar2,iVar1);\n      iVar1 = param_1[0x1f];\n    }\n  }\n  else {\n    (*(code *)(PTR_LAB_00190bc0 + -0x270c))(param_1);\n    iVar1 = param_1[0x1f];\n    if ((*(byte *)((int)param_1 + 0x95) & 2) != 0) {\n      *(byte *)((int)param_1 + 0x95) = *(byte *)((int)param_1 + 0x95) & 0x3f | 0x40;\n    }\n  }\n  if (iVar1 != 0) {\n    (*(code *)(PTR_LAB_00190ba8 + -0x2368))(iVar3);\n  }\n  param_1[0x1f] = 0;\n  param_1[0x1e] = 0;\n  param_1[5] = 0x48fa9f76;\n  return param_1[10] & *(uint *)(iVar3 + 0x44);\n}" (type_identifier "uint") (function_declarator "FUN_000d9288(int *param_1)" (identifier "FUN_000d9288") (parameter_list "(int *param_1)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  int iVar1;\n  undefined *puVar2;\n  int iVar3;\n  \n  iVar3 = *param_1;\n  FUN_000d8268();\n  if (param_1[9] < 0) {\n    iVar1 = param_1[0x1f];\n    if ((param_1[10] != 0) && ((*(byte *)((int)param_1 + 0x95) & 0xc0) != 0)) {\n      puVar2 = (undefined *)0x0;\n      if (iVar1 != 0) {\n        puVar2 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x5dfc;\n      }\n      (*(code *)(PTR_LAB_00190bdc + 0x3e28))(iVar3,param_1[10],puVar2,iVar1);\n      iVar1 = param_1[0x1f];\n    }\n  }\n  else {\n    (*(code *)(PTR_LAB_00190bc0 + -0x270c))(param_1);\n    iVar1 = param_1[0x1f];\n    if ((*(byte *)((int)param_1 + 0x95) & 2) != 0) {\n      *(byte *)((int)param_1 + 0x95) = *(byte *)((int)param_1 + 0x95) & 0x3f | 0x40;\n    }\n  }\n  if (iVar1 != 0) {\n    (*(code *)(PTR_LAB_00190ba8 + -0x2368))(iVar3);\n  }\n  param_1[0x1f] = 0;\n  param_1[0x1e] = 0;\n  param_1[5] = 0x48fa9f76;\n  return param_1[10] & *(uint *)(iVar3 + 0x44);\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "undefined *puVar2;" (type_identifier "undefined") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (expression_statement "iVar3 = *param_1;" (assignment_expression "iVar3 = *param_1" (identifier "iVar3") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "FUN_000d8268();" (call_expression "FUN_000d8268()" (identifier "FUN_000d8268") (argument_list "()" (( "(") () ")"))) (; ";")) (if_statement "if (param_1[9] < 0) {\n    iVar1 = param_1[0x1f];\n    if ((param_1[10] != 0) && ((*(byte *)((int)param_1 + 0x95) & 0xc0) != 0)) {\n      puVar2 = (undefined *)0x0;\n      if (iVar1 != 0) {\n        puVar2 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x5dfc;\n      }\n      (*(code *)(PTR_LAB_00190bdc + 0x3e28))(iVar3,param_1[10],puVar2,iVar1);\n      iVar1 = param_1[0x1f];\n    }\n  }\n  else {\n    (*(code *)(PTR_LAB_00190bc0 + -0x270c))(param_1);\n    iVar1 = param_1[0x1f];\n    if ((*(byte *)((int)param_1 + 0x95) & 2) != 0) {\n      *(byte *)((int)param_1 + 0x95) = *(byte *)((int)param_1 + 0x95) & 0x3f | 0x40;\n    }\n  }" (if "if") (parenthesized_expression "(param_1[9] < 0)" (( "(") (binary_expression "param_1[9] < 0" (subscript_expression "param_1[9]" (identifier "param_1") ([ "[") (number_literal "9") (] "]")) (< "<") (number_literal "0")) () ")")) (compound_statement "{\n    iVar1 = param_1[0x1f];\n    if ((param_1[10] != 0) && ((*(byte *)((int)param_1 + 0x95) & 0xc0) != 0)) {\n      puVar2 = (undefined *)0x0;\n      if (iVar1 != 0) {\n        puVar2 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x5dfc;\n      }\n      (*(code *)(PTR_LAB_00190bdc + 0x3e28))(iVar3,param_1[10],puVar2,iVar1);\n      iVar1 = param_1[0x1f];\n    }\n  }" ({ "{") (expression_statement "iVar1 = param_1[0x1f];" (assignment_expression "iVar1 = param_1[0x1f]" (identifier "iVar1") (= "=") (subscript_expression "param_1[0x1f]" (identifier "param_1") ([ "[") (number_literal "0x1f") (] "]"))) (; ";")) (if_statement "if ((param_1[10] != 0) && ((*(byte *)((int)param_1 + 0x95) & 0xc0) != 0)) {\n      puVar2 = (undefined *)0x0;\n      if (iVar1 != 0) {\n        puVar2 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x5dfc;\n      }\n      (*(code *)(PTR_LAB_00190bdc + 0x3e28))(iVar3,param_1[10],puVar2,iVar1);\n      iVar1 = param_1[0x1f];\n    }" (if "if") (parenthesized_expression "((param_1[10] != 0) && ((*(byte *)((int)param_1 + 0x95) & 0xc0) != 0))" (( "(") (binary_expression "(param_1[10] != 0) && ((*(byte *)((int)param_1 + 0x95) & 0xc0) != 0)" (parenthesized_expression "(param_1[10] != 0)" (( "(") (binary_expression "param_1[10] != 0" (subscript_expression "param_1[10]" (identifier "param_1") ([ "[") (number_literal "10") (] "]")) (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "((*(byte *)((int)param_1 + 0x95) & 0xc0) != 0)" (( "(") (binary_expression "(*(byte *)((int)param_1 + 0x95) & 0xc0) != 0" (parenthesized_expression "(*(byte *)((int)param_1 + 0x95) & 0xc0)" (( "(") (binary_expression "*(byte *)((int)param_1 + 0x95) & 0xc0" (pointer_expression "*(byte *)((int)param_1 + 0x95)" (* "*") (cast_expression "(byte *)((int)param_1 + 0x95)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + 0x95)" (( "(") (binary_expression "(int)param_1 + 0x95" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (number_literal "0x95")) () ")")))) (& "&") (number_literal "0xc0")) () ")")) (!= "!=") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n      puVar2 = (undefined *)0x0;\n      if (iVar1 != 0) {\n        puVar2 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x5dfc;\n      }\n      (*(code *)(PTR_LAB_00190bdc + 0x3e28))(iVar3,param_1[10],puVar2,iVar1);\n      iVar1 = param_1[0x1f];\n    }" ({ "{") (expression_statement "puVar2 = (undefined *)0x0;" (assignment_expression "puVar2 = (undefined *)0x0" (identifier "puVar2") (= "=") (cast_expression "(undefined *)0x0" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (if_statement "if (iVar1 != 0) {\n        puVar2 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x5dfc;\n      }" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        puVar2 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x5dfc;\n      }" ({ "{") (expression_statement "puVar2 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x5dfc;" (assignment_expression "puVar2 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x5dfc" (identifier "puVar2") (= "=") (binary_expression "PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x5dfc" (identifier "PTR_s_o_page_from_root____pageno_INTEG_0019095c") (+ "+") (number_literal "-0x5dfc"))) (; ";")) (} "}"))) (expression_statement "(*(code *)(PTR_LAB_00190bdc + 0x3e28))(iVar3,param_1[10],puVar2,iVar1);" (call_expression "(*(code *)(PTR_LAB_00190bdc + 0x3e28))(iVar3,param_1[10],puVar2,iVar1)" (parenthesized_expression "(*(code *)(PTR_LAB_00190bdc + 0x3e28))" (( "(") (pointer_expression "*(code *)(PTR_LAB_00190bdc + 0x3e28)" (* "*") (cast_expression "(code *)(PTR_LAB_00190bdc + 0x3e28)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_00190bdc + 0x3e28)" (( "(") (binary_expression "PTR_LAB_00190bdc + 0x3e28" (identifier "PTR_LAB_00190bdc") (+ "+") (number_literal "0x3e28")) () ")")))) () ")")) (argument_list "(iVar3,param_1[10],puVar2,iVar1)" (( "(") (identifier "iVar3") (, ",") (subscript_expression "param_1[10]" (identifier "param_1") ([ "[") (number_literal "10") (] "]")) (, ",") (identifier "puVar2") (, ",") (identifier "iVar1") () ")"))) (; ";")) (expression_statement "iVar1 = param_1[0x1f];" (assignment_expression "iVar1 = param_1[0x1f]" (identifier "iVar1") (= "=") (subscript_expression "param_1[0x1f]" (identifier "param_1") ([ "[") (number_literal "0x1f") (] "]"))) (; ";")) (} "}"))) (} "}")) (else_clause "else {\n    (*(code *)(PTR_LAB_00190bc0 + -0x270c))(param_1);\n    iVar1 = param_1[0x1f];\n    if ((*(byte *)((int)param_1 + 0x95) & 2) != 0) {\n      *(byte *)((int)param_1 + 0x95) = *(byte *)((int)param_1 + 0x95) & 0x3f | 0x40;\n    }\n  }" (else "else") (compound_statement "{\n    (*(code *)(PTR_LAB_00190bc0 + -0x270c))(param_1);\n    iVar1 = param_1[0x1f];\n    if ((*(byte *)((int)param_1 + 0x95) & 2) != 0) {\n      *(byte *)((int)param_1 + 0x95) = *(byte *)((int)param_1 + 0x95) & 0x3f | 0x40;\n    }\n  }" ({ "{") (expression_statement "(*(code *)(PTR_LAB_00190bc0 + -0x270c))(param_1);" (call_expression "(*(code *)(PTR_LAB_00190bc0 + -0x270c))(param_1)" (parenthesized_expression "(*(code *)(PTR_LAB_00190bc0 + -0x270c))" (( "(") (pointer_expression "*(code *)(PTR_LAB_00190bc0 + -0x270c)" (* "*") (cast_expression "(code *)(PTR_LAB_00190bc0 + -0x270c)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_00190bc0 + -0x270c)" (( "(") (binary_expression "PTR_LAB_00190bc0 + -0x270c" (identifier "PTR_LAB_00190bc0") (+ "+") (number_literal "-0x270c")) () ")")))) () ")")) (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))) (; ";")) (expression_statement "iVar1 = param_1[0x1f];" (assignment_expression "iVar1 = param_1[0x1f]" (identifier "iVar1") (= "=") (subscript_expression "param_1[0x1f]" (identifier "param_1") ([ "[") (number_literal "0x1f") (] "]"))) (; ";")) (if_statement "if ((*(byte *)((int)param_1 + 0x95) & 2) != 0) {\n      *(byte *)((int)param_1 + 0x95) = *(byte *)((int)param_1 + 0x95) & 0x3f | 0x40;\n    }" (if "if") (parenthesized_expression "((*(byte *)((int)param_1 + 0x95) & 2) != 0)" (( "(") (binary_expression "(*(byte *)((int)param_1 + 0x95) & 2) != 0" (parenthesized_expression "(*(byte *)((int)param_1 + 0x95) & 2)" (( "(") (binary_expression "*(byte *)((int)param_1 + 0x95) & 2" (pointer_expression "*(byte *)((int)param_1 + 0x95)" (* "*") (cast_expression "(byte *)((int)param_1 + 0x95)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + 0x95)" (( "(") (binary_expression "(int)param_1 + 0x95" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (number_literal "0x95")) () ")")))) (& "&") (number_literal "2")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      *(byte *)((int)param_1 + 0x95) = *(byte *)((int)param_1 + 0x95) & 0x3f | 0x40;\n    }" ({ "{") (expression_statement "*(byte *)((int)param_1 + 0x95) = *(byte *)((int)param_1 + 0x95) & 0x3f | 0x40;" (assignment_expression "*(byte *)((int)param_1 + 0x95) = *(byte *)((int)param_1 + 0x95) & 0x3f | 0x40" (pointer_expression "*(byte *)((int)param_1 + 0x95)" (* "*") (cast_expression "(byte *)((int)param_1 + 0x95)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + 0x95)" (( "(") (binary_expression "(int)param_1 + 0x95" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (number_literal "0x95")) () ")")))) (= "=") (binary_expression "*(byte *)((int)param_1 + 0x95) & 0x3f | 0x40" (binary_expression "*(byte *)((int)param_1 + 0x95) & 0x3f" (pointer_expression "*(byte *)((int)param_1 + 0x95)" (* "*") (cast_expression "(byte *)((int)param_1 + 0x95)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + 0x95)" (( "(") (binary_expression "(int)param_1 + 0x95" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (number_literal "0x95")) () ")")))) (& "&") (number_literal "0x3f")) (| "|") (number_literal "0x40"))) (; ";")) (} "}"))) (} "}")))) (if_statement "if (iVar1 != 0) {\n    (*(code *)(PTR_LAB_00190ba8 + -0x2368))(iVar3);\n  }" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    (*(code *)(PTR_LAB_00190ba8 + -0x2368))(iVar3);\n  }" ({ "{") (expression_statement "(*(code *)(PTR_LAB_00190ba8 + -0x2368))(iVar3);" (call_expression "(*(code *)(PTR_LAB_00190ba8 + -0x2368))(iVar3)" (parenthesized_expression "(*(code *)(PTR_LAB_00190ba8 + -0x2368))" (( "(") (pointer_expression "*(code *)(PTR_LAB_00190ba8 + -0x2368)" (* "*") (cast_expression "(code *)(PTR_LAB_00190ba8 + -0x2368)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_00190ba8 + -0x2368)" (( "(") (binary_expression "PTR_LAB_00190ba8 + -0x2368" (identifier "PTR_LAB_00190ba8") (+ "+") (number_literal "-0x2368")) () ")")))) () ")")) (argument_list "(iVar3)" (( "(") (identifier "iVar3") () ")"))) (; ";")) (} "}"))) (expression_statement "param_1[0x1f] = 0;" (assignment_expression "param_1[0x1f] = 0" (subscript_expression "param_1[0x1f]" (identifier "param_1") ([ "[") (number_literal "0x1f") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[0x1e] = 0;" (assignment_expression "param_1[0x1e] = 0" (subscript_expression "param_1[0x1e]" (identifier "param_1") ([ "[") (number_literal "0x1e") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[5] = 0x48fa9f76;" (assignment_expression "param_1[5] = 0x48fa9f76" (subscript_expression "param_1[5]" (identifier "param_1") ([ "[") (number_literal "5") (] "]")) (= "=") (number_literal "0x48fa9f76")) (; ";")) (return_statement "return param_1[10] & *(uint *)(iVar3 + 0x44);" (return "return") (binary_expression "param_1[10] & *(uint *)(iVar3 + 0x44)" (subscript_expression "param_1[10]" (identifier "param_1") ([ "[") (number_literal "10") (] "]")) (& "&") (pointer_expression "*(uint *)(iVar3 + 0x44)" (* "*") (cast_expression "(uint *)(iVar3 + 0x44)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x44)" (( "(") (binary_expression "iVar3 + 0x44" (identifier "iVar3") (+ "+") (number_literal "0x44")) () ")"))))) (; ";")) (} "}")))

int function_1(type_1 *p)

{
  char *var_2;
  type_2 *puVar2;
  type_3 *psVar3;
  
  psVar3 = p->db;
  var_1(p);
  if (p->pc < 0) {
    var_2 = p->zErrMsg;
    if ((p->rc != 0) && ((p->field_0x95 & 0xc0) != 0)) {
      puVar2 = (type_2 *)0x0;
      if (var_2 != (char *)0x0) {
        puVar2 = var_3 + -0x5dfc;
      }
      (*(type_4 *)(var_4 + 0x3e28))(psVar3,p->rc,puVar2,var_2);
      var_2 = p->zErrMsg;
    }
  }
  else {
    (*(type_4 *)(var_5 + -0x270c))(p);
    var_2 = p->zErrMsg;
    if ((p->field_0x95 & 2) != 0) {
      p->field_0x95 = p->field_0x95 & 0x3f | 0x40;
    }
  }
  if (var_2 != (char *)0x0) {
    (*(type_4 *)(var_6 + -0x2368))(psVar3);
  }
  p->zErrMsg = (char *)0x0;
  p->pResultSet = (type_5 *)0x0;
  p->magic = 0x48fa9f76;
  return p->rc & psVar3->errMask;
}


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

uint MASKED(int *param_1)

{
  int iVar1;
  undefined *puVar2;
  int iVar3;
  
  iVar3 = *param_1;
  FUN_000d8268();
  if (param_1[9] < 0) {
    iVar1 = param_1[0x1f];
    if ((param_1[10] != 0) && ((*(byte *)((int)param_1 + 0x95) & 0xc0) != 0)) {
      puVar2 = (undefined *)0x0;
      if (iVar1 != 0) {
        puVar2 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x5dfc;
      }
      (*(code *)(PTR_LAB_00190bdc + 0x3e28))(iVar3,param_1[10],puVar2,iVar1);
      iVar1 = param_1[0x1f];
    }
  }
  else {
    (*(code *)(PTR_LAB_00190bc0 + -0x270c))(param_1);
    iVar1 = param_1[0x1f];
    if ((*(byte *)((int)param_1 + 0x95) & 2) != 0) {
      *(byte *)((int)param_1 + 0x95) = *(byte *)((int)param_1 + 0x95) & 0x3f | 0x40;
    }
  }
  if (iVar1 != 0) {
    (*(code *)(PTR_LAB_00190ba8 + -0x2368))(iVar3);
  }
  param_1[0x1f] = 0;
  param_1[0x1e] = 0;
  param_1[5] = 0x48fa9f76;
  return param_1[10] & *(uint *)(iVar3 + 0x44);
}

