
int fts3SetHasStat(Fts3Table *p)

{
  char *zTableName;
  int iVar1;
  int in_t9;
  
  if (p->bHasStat != '\x02') {
    return 0;
  }
  zTableName = (char *)(**(code **)(in_t9 + 0x64988))(*(int *)(in_t9 + 0x64980) + -0x884,p->zName);
  if (zTableName == (char *)0x0) {
    iVar1 = 7;
  }
  else {
    iVar1 = sqlite3_table_column_metadata
                      (p->db,p->zDb,zTableName,(char *)0x0,(char **)0x0,(char **)0x0,(int *)0x0,
                       (int *)0x0,(int *)0x0);
    (**(code **)(in_t9 + 0x6499c))(zTableName);
    p->bHasStat = iVar1 == 0;
    iVar1 = 0;
  }
  return iVar1;
}



undefined4 FUN_0012afdc(int param_1)

{
  int iVar1;
  int iVar2;
  undefined4 uVar3;
  int in_t9;
  
  if (*(char *)(param_1 + 0xe9) != '\x02') {
    return 0;
  }
  iVar1 = (**(code **)(in_t9 + 0x64988))
                    (*(int *)(in_t9 + 0x64980) + -0x884,*(undefined4 *)(param_1 + 0x14));
  if (iVar1 == 0) {
    uVar3 = 7;
  }
  else {
    iVar2 = sqlite3_table_column_metadata
                      (*(undefined4 *)(param_1 + 0xc),*(undefined4 *)(param_1 + 0x10),iVar1,0,0,0,0,
                       0,0);
    (**(code **)(in_t9 + 0x6499c))(iVar1);
    *(bool *)(param_1 + 0xe9) = iVar2 == 0;
    uVar3 = 0;
  }
  return uVar3;
}


lui gp,0x7
addiu gp,gp,-0x36bc
addu gp,gp,t9
lbu v1,0xe9(a0)
li v0,0x2
beq v1,v0,0x0012b000
_or v0,zero,zero
jr ra
_nop
addiu sp,sp,-0x40
sw ra,0x3c(sp)
sw s2,0x38(sp)
sw s1,0x34(sp)
sw s0,0x30(sp)
sw gp,0x28(sp)
or s0,a0,zero
lw a1,0x14(a0)
lw a0,-0x7fc4(gp)
addiu a0,a0,-0x884
lw t9,-0x7fbc(gp)
jalr t9
_nop
lw gp,0x28(sp)
beq v0,zero,0x0012b0b0
_or s1,v0,zero
sw zero,0x20(sp)
sw zero,0x1c(sp)
sw zero,0x18(sp)
sw zero,0x14(sp)
sw zero,0x10(sp)
or a3,zero,zero
or a2,v0,zero
lw a1,0x10(s0)
lw a0,0xc(s0)
lw t9,-0x7ed8(gp)
bal 0x0012aac4
_nop
lw gp,0x28(sp)
or s2,v0,zero
or a0,s1,zero
lw t9,-0x7fa8(gp)
jalr t9
_nop
lw gp,0x28(sp)
sltiu s2,s2,0x1
sb s2,0xe9(s0)
or v0,zero,zero
lw ra,0x3c(sp)
lw s2,0x38(sp)
lw s1,0x34(sp)
lw s0,0x30(sp)
jr ra
_addiu sp,sp,0x40
b 0x0012b098
_li v0,0x7
(translation_unit "undefined4 FUN_0012afdc(int param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  undefined4 uVar3;\n  int in_t9;\n  \n  if (*(char *)(param_1 + 0xe9) != '\x02') {\n    return 0;\n  }\n  iVar1 = (**(code **)(in_t9 + 0x64988))\n                    (*(int *)(in_t9 + 0x64980) + -0x884,*(undefined4 *)(param_1 + 0x14));\n  if (iVar1 == 0) {\n    uVar3 = 7;\n  }\n  else {\n    iVar2 = sqlite3_table_column_metadata\n                      (*(undefined4 *)(param_1 + 0xc),*(undefined4 *)(param_1 + 0x10),iVar1,0,0,0,0,\n                       0,0);\n    (**(code **)(in_t9 + 0x6499c))(iVar1);\n    *(bool *)(param_1 + 0xe9) = iVar2 == 0;\n    uVar3 = 0;\n  }\n  return uVar3;\n}\n\n" (function_definition "undefined4 FUN_0012afdc(int param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  undefined4 uVar3;\n  int in_t9;\n  \n  if (*(char *)(param_1 + 0xe9) != '\x02') {\n    return 0;\n  }\n  iVar1 = (**(code **)(in_t9 + 0x64988))\n                    (*(int *)(in_t9 + 0x64980) + -0x884,*(undefined4 *)(param_1 + 0x14));\n  if (iVar1 == 0) {\n    uVar3 = 7;\n  }\n  else {\n    iVar2 = sqlite3_table_column_metadata\n                      (*(undefined4 *)(param_1 + 0xc),*(undefined4 *)(param_1 + 0x10),iVar1,0,0,0,0,\n                       0,0);\n    (**(code **)(in_t9 + 0x6499c))(iVar1);\n    *(bool *)(param_1 + 0xe9) = iVar2 == 0;\n    uVar3 = 0;\n  }\n  return uVar3;\n}" type_identifier (function_declarator "FUN_0012afdc(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  undefined4 uVar3;\n  int in_t9;\n  \n  if (*(char *)(param_1 + 0xe9) != '\x02') {\n    return 0;\n  }\n  iVar1 = (**(code **)(in_t9 + 0x64988))\n                    (*(int *)(in_t9 + 0x64980) + -0x884,*(undefined4 *)(param_1 + 0x14));\n  if (iVar1 == 0) {\n    uVar3 = 7;\n  }\n  else {\n    iVar2 = sqlite3_table_column_metadata\n                      (*(undefined4 *)(param_1 + 0xc),*(undefined4 *)(param_1 + 0x10),iVar1,0,0,0,0,\n                       0,0);\n    (**(code **)(in_t9 + 0x6499c))(iVar1);\n    *(bool *)(param_1 + 0xe9) = iVar2 == 0;\n    uVar3 = 0;\n  }\n  return uVar3;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "int in_t9;" primitive_type identifier ;) (if_statement "if (*(char *)(param_1 + 0xe9) != '\x02') {\n    return 0;\n  }" if (parenthesized_expression "(*(char *)(param_1 + 0xe9) != '\x02')" ( (binary_expression "*(char *)(param_1 + 0xe9) != '\x02'" (pointer_expression "*(char *)(param_1 + 0xe9)" * (cast_expression "(char *)(param_1 + 0xe9)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xe9)" ( (binary_expression "param_1 + 0xe9" identifier + number_literal) )))) != (char_literal "'\x02'" ' escape_sequence ')) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "iVar1 = (**(code **)(in_t9 + 0x64988))\n                    (*(int *)(in_t9 + 0x64980) + -0x884,*(undefined4 *)(param_1 + 0x14));" (assignment_expression "iVar1 = (**(code **)(in_t9 + 0x64988))\n                    (*(int *)(in_t9 + 0x64980) + -0x884,*(undefined4 *)(param_1 + 0x14))" identifier = (call_expression "(**(code **)(in_t9 + 0x64988))\n                    (*(int *)(in_t9 + 0x64980) + -0x884,*(undefined4 *)(param_1 + 0x14))" (parenthesized_expression "(**(code **)(in_t9 + 0x64988))" ( (pointer_expression "**(code **)(in_t9 + 0x64988)" * (pointer_expression "*(code **)(in_t9 + 0x64988)" * (cast_expression "(code **)(in_t9 + 0x64988)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(in_t9 + 0x64988)" ( (binary_expression "in_t9 + 0x64988" identifier + number_literal) ))))) )) (argument_list "(*(int *)(in_t9 + 0x64980) + -0x884,*(undefined4 *)(param_1 + 0x14))" ( (binary_expression "*(int *)(in_t9 + 0x64980) + -0x884" (pointer_expression "*(int *)(in_t9 + 0x64980)" * (cast_expression "(int *)(in_t9 + 0x64980)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_t9 + 0x64980)" ( (binary_expression "in_t9 + 0x64980" identifier + number_literal) )))) + number_literal) , (pointer_expression "*(undefined4 *)(param_1 + 0x14)" * (cast_expression "(undefined4 *)(param_1 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))) )))) ;) (if_statement "if (iVar1 == 0) {\n    uVar3 = 7;\n  }\n  else {\n    iVar2 = sqlite3_table_column_metadata\n                      (*(undefined4 *)(param_1 + 0xc),*(undefined4 *)(param_1 + 0x10),iVar1,0,0,0,0,\n                       0,0);\n    (**(code **)(in_t9 + 0x6499c))(iVar1);\n    *(bool *)(param_1 + 0xe9) = iVar2 == 0;\n    uVar3 = 0;\n  }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    uVar3 = 7;\n  }" { (expression_statement "uVar3 = 7;" (assignment_expression "uVar3 = 7" identifier = number_literal) ;) }) (else_clause "else {\n    iVar2 = sqlite3_table_column_metadata\n                      (*(undefined4 *)(param_1 + 0xc),*(undefined4 *)(param_1 + 0x10),iVar1,0,0,0,0,\n                       0,0);\n    (**(code **)(in_t9 + 0x6499c))(iVar1);\n    *(bool *)(param_1 + 0xe9) = iVar2 == 0;\n    uVar3 = 0;\n  }" else (compound_statement "{\n    iVar2 = sqlite3_table_column_metadata\n                      (*(undefined4 *)(param_1 + 0xc),*(undefined4 *)(param_1 + 0x10),iVar1,0,0,0,0,\n                       0,0);\n    (**(code **)(in_t9 + 0x6499c))(iVar1);\n    *(bool *)(param_1 + 0xe9) = iVar2 == 0;\n    uVar3 = 0;\n  }" { (expression_statement "iVar2 = sqlite3_table_column_metadata\n                      (*(undefined4 *)(param_1 + 0xc),*(undefined4 *)(param_1 + 0x10),iVar1,0,0,0,0,\n                       0,0);" (assignment_expression "iVar2 = sqlite3_table_column_metadata\n                      (*(undefined4 *)(param_1 + 0xc),*(undefined4 *)(param_1 + 0x10),iVar1,0,0,0,0,\n                       0,0)" identifier = (call_expression "sqlite3_table_column_metadata\n                      (*(undefined4 *)(param_1 + 0xc),*(undefined4 *)(param_1 + 0x10),iVar1,0,0,0,0,\n                       0,0)" identifier (argument_list "(*(undefined4 *)(param_1 + 0xc),*(undefined4 *)(param_1 + 0x10),iVar1,0,0,0,0,\n                       0,0)" ( (pointer_expression "*(undefined4 *)(param_1 + 0xc)" * (cast_expression "(undefined4 *)(param_1 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(param_1 + 0x10)" * (cast_expression "(undefined4 *)(param_1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) , identifier , number_literal , number_literal , number_literal , number_literal , number_literal , number_literal )))) ;) (expression_statement "(**(code **)(in_t9 + 0x6499c))(iVar1);" (call_expression "(**(code **)(in_t9 + 0x6499c))(iVar1)" (parenthesized_expression "(**(code **)(in_t9 + 0x6499c))" ( (pointer_expression "**(code **)(in_t9 + 0x6499c)" * (pointer_expression "*(code **)(in_t9 + 0x6499c)" * (cast_expression "(code **)(in_t9 + 0x6499c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(in_t9 + 0x6499c)" ( (binary_expression "in_t9 + 0x6499c" identifier + number_literal) ))))) )) (argument_list "(iVar1)" ( identifier ))) ;) (expression_statement "*(bool *)(param_1 + 0xe9) = iVar2 == 0;" (assignment_expression "*(bool *)(param_1 + 0xe9) = iVar2 == 0" (pointer_expression "*(bool *)(param_1 + 0xe9)" * (cast_expression "(bool *)(param_1 + 0xe9)" ( (type_descriptor "bool *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xe9)" ( (binary_expression "param_1 + 0xe9" identifier + number_literal) )))) = (binary_expression "iVar2 == 0" identifier == number_literal)) ;) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) }))) (return_statement "return uVar3;" return identifier ;) })))
(translation_unit "int fts3SetHasStat(Fts3Table *p)\n\n{\n  char *zTableName;\n  int iVar1;\n  int in_t9;\n  \n  if (p->bHasStat != '\x02') {\n    return 0;\n  }\n  zTableName = (char *)(**(code **)(in_t9 + 0x64988))(*(int *)(in_t9 + 0x64980) + -0x884,p->zName);\n  if (zTableName == (char *)0x0) {\n    iVar1 = 7;\n  }\n  else {\n    iVar1 = sqlite3_table_column_metadata\n                      (p->db,p->zDb,zTableName,(char *)0x0,(char **)0x0,(char **)0x0,(int *)0x0,\n                       (int *)0x0,(int *)0x0);\n    (**(code **)(in_t9 + 0x6499c))(zTableName);\n    p->bHasStat = iVar1 == 0;\n    iVar1 = 0;\n  }\n  return iVar1;\n}\n\n" (function_definition "int fts3SetHasStat(Fts3Table *p)\n\n{\n  char *zTableName;\n  int iVar1;\n  int in_t9;\n  \n  if (p->bHasStat != '\x02') {\n    return 0;\n  }\n  zTableName = (char *)(**(code **)(in_t9 + 0x64988))(*(int *)(in_t9 + 0x64980) + -0x884,p->zName);\n  if (zTableName == (char *)0x0) {\n    iVar1 = 7;\n  }\n  else {\n    iVar1 = sqlite3_table_column_metadata\n                      (p->db,p->zDb,zTableName,(char *)0x0,(char **)0x0,(char **)0x0,(int *)0x0,\n                       (int *)0x0,(int *)0x0);\n    (**(code **)(in_t9 + 0x6499c))(zTableName);\n    p->bHasStat = iVar1 == 0;\n    iVar1 = 0;\n  }\n  return iVar1;\n}" primitive_type (function_declarator "fts3SetHasStat(Fts3Table *p)" identifier (parameter_list "(Fts3Table *p)" ( (parameter_declaration "Fts3Table *p" type_identifier (pointer_declarator "*p" * identifier)) ))) (compound_statement "{\n  char *zTableName;\n  int iVar1;\n  int in_t9;\n  \n  if (p->bHasStat != '\x02') {\n    return 0;\n  }\n  zTableName = (char *)(**(code **)(in_t9 + 0x64988))(*(int *)(in_t9 + 0x64980) + -0x884,p->zName);\n  if (zTableName == (char *)0x0) {\n    iVar1 = 7;\n  }\n  else {\n    iVar1 = sqlite3_table_column_metadata\n                      (p->db,p->zDb,zTableName,(char *)0x0,(char **)0x0,(char **)0x0,(int *)0x0,\n                       (int *)0x0,(int *)0x0);\n    (**(code **)(in_t9 + 0x6499c))(zTableName);\n    p->bHasStat = iVar1 == 0;\n    iVar1 = 0;\n  }\n  return iVar1;\n}" { (declaration "char *zTableName;" primitive_type (pointer_declarator "*zTableName" * identifier) ;) (declaration "int iVar1;" primitive_type identifier ;) (declaration "int in_t9;" primitive_type identifier ;) (if_statement "if (p->bHasStat != '\x02') {\n    return 0;\n  }" if (parenthesized_expression "(p->bHasStat != '\x02')" ( (binary_expression "p->bHasStat != '\x02'" (field_expression "p->bHasStat" identifier -> field_identifier) != (char_literal "'\x02'" ' escape_sequence ')) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "zTableName = (char *)(**(code **)(in_t9 + 0x64988))(*(int *)(in_t9 + 0x64980) + -0x884,p->zName);" (assignment_expression "zTableName = (char *)(**(code **)(in_t9 + 0x64988))(*(int *)(in_t9 + 0x64980) + -0x884,p->zName)" identifier = (cast_expression "(char *)(**(code **)(in_t9 + 0x64988))(*(int *)(in_t9 + 0x64980) + -0x884,p->zName)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(in_t9 + 0x64988))(*(int *)(in_t9 + 0x64980) + -0x884,p->zName)" (parenthesized_expression "(**(code **)(in_t9 + 0x64988))" ( (pointer_expression "**(code **)(in_t9 + 0x64988)" * (pointer_expression "*(code **)(in_t9 + 0x64988)" * (cast_expression "(code **)(in_t9 + 0x64988)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(in_t9 + 0x64988)" ( (binary_expression "in_t9 + 0x64988" identifier + number_literal) ))))) )) (argument_list "(*(int *)(in_t9 + 0x64980) + -0x884,p->zName)" ( (binary_expression "*(int *)(in_t9 + 0x64980) + -0x884" (pointer_expression "*(int *)(in_t9 + 0x64980)" * (cast_expression "(int *)(in_t9 + 0x64980)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_t9 + 0x64980)" ( (binary_expression "in_t9 + 0x64980" identifier + number_literal) )))) + number_literal) , (field_expression "p->zName" identifier -> field_identifier) ))))) ;) (if_statement "if (zTableName == (char *)0x0) {\n    iVar1 = 7;\n  }\n  else {\n    iVar1 = sqlite3_table_column_metadata\n                      (p->db,p->zDb,zTableName,(char *)0x0,(char **)0x0,(char **)0x0,(int *)0x0,\n                       (int *)0x0,(int *)0x0);\n    (**(code **)(in_t9 + 0x6499c))(zTableName);\n    p->bHasStat = iVar1 == 0;\n    iVar1 = 0;\n  }" if (parenthesized_expression "(zTableName == (char *)0x0)" ( (binary_expression "zTableName == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    iVar1 = 7;\n  }" { (expression_statement "iVar1 = 7;" (assignment_expression "iVar1 = 7" identifier = number_literal) ;) }) (else_clause "else {\n    iVar1 = sqlite3_table_column_metadata\n                      (p->db,p->zDb,zTableName,(char *)0x0,(char **)0x0,(char **)0x0,(int *)0x0,\n                       (int *)0x0,(int *)0x0);\n    (**(code **)(in_t9 + 0x6499c))(zTableName);\n    p->bHasStat = iVar1 == 0;\n    iVar1 = 0;\n  }" else (compound_statement "{\n    iVar1 = sqlite3_table_column_metadata\n                      (p->db,p->zDb,zTableName,(char *)0x0,(char **)0x0,(char **)0x0,(int *)0x0,\n                       (int *)0x0,(int *)0x0);\n    (**(code **)(in_t9 + 0x6499c))(zTableName);\n    p->bHasStat = iVar1 == 0;\n    iVar1 = 0;\n  }" { (expression_statement "iVar1 = sqlite3_table_column_metadata\n                      (p->db,p->zDb,zTableName,(char *)0x0,(char **)0x0,(char **)0x0,(int *)0x0,\n                       (int *)0x0,(int *)0x0);" (assignment_expression "iVar1 = sqlite3_table_column_metadata\n                      (p->db,p->zDb,zTableName,(char *)0x0,(char **)0x0,(char **)0x0,(int *)0x0,\n                       (int *)0x0,(int *)0x0)" identifier = (call_expression "sqlite3_table_column_metadata\n                      (p->db,p->zDb,zTableName,(char *)0x0,(char **)0x0,(char **)0x0,(int *)0x0,\n                       (int *)0x0,(int *)0x0)" identifier (argument_list "(p->db,p->zDb,zTableName,(char *)0x0,(char **)0x0,(char **)0x0,(int *)0x0,\n                       (int *)0x0,(int *)0x0)" ( (field_expression "p->db" identifier -> field_identifier) , (field_expression "p->zDb" identifier -> field_identifier) , identifier , (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) , (cast_expression "(char **)0x0" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal) , (cast_expression "(char **)0x0" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal) , (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) , (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) , (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) )))) ;) (expression_statement "(**(code **)(in_t9 + 0x6499c))(zTableName);" (call_expression "(**(code **)(in_t9 + 0x6499c))(zTableName)" (parenthesized_expression "(**(code **)(in_t9 + 0x6499c))" ( (pointer_expression "**(code **)(in_t9 + 0x6499c)" * (pointer_expression "*(code **)(in_t9 + 0x6499c)" * (cast_expression "(code **)(in_t9 + 0x6499c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(in_t9 + 0x6499c)" ( (binary_expression "in_t9 + 0x6499c" identifier + number_literal) ))))) )) (argument_list "(zTableName)" ( identifier ))) ;) (expression_statement "p->bHasStat = iVar1 == 0;" (assignment_expression "p->bHasStat = iVar1 == 0" (field_expression "p->bHasStat" identifier -> field_identifier) = (binary_expression "iVar1 == 0" identifier == number_literal)) ;) (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" identifier = number_literal) ;) }))) (return_statement "return iVar1;" return identifier ;) })))
(translation_unit "undefined4 FUN_0012afdc(int param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  undefined4 uVar3;\n  int in_t9;\n  \n  if (*(char *)(param_1 + 0xe9) != '\x02') {\n    return 0;\n  }\n  iVar1 = (**(code **)(in_t9 + 0x64988))\n                    (*(int *)(in_t9 + 0x64980) + -0x884,*(undefined4 *)(param_1 + 0x14));\n  if (iVar1 == 0) {\n    uVar3 = 7;\n  }\n  else {\n    iVar2 = sqlite3_table_column_metadata\n                      (*(undefined4 *)(param_1 + 0xc),*(undefined4 *)(param_1 + 0x10),iVar1,0,0,0,0,\n                       0,0);\n    (**(code **)(in_t9 + 0x6499c))(iVar1);\n    *(bool *)(param_1 + 0xe9) = iVar2 == 0;\n    uVar3 = 0;\n  }\n  return uVar3;\n}\n\n" (function_definition "undefined4 FUN_0012afdc(int param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  undefined4 uVar3;\n  int in_t9;\n  \n  if (*(char *)(param_1 + 0xe9) != '\x02') {\n    return 0;\n  }\n  iVar1 = (**(code **)(in_t9 + 0x64988))\n                    (*(int *)(in_t9 + 0x64980) + -0x884,*(undefined4 *)(param_1 + 0x14));\n  if (iVar1 == 0) {\n    uVar3 = 7;\n  }\n  else {\n    iVar2 = sqlite3_table_column_metadata\n                      (*(undefined4 *)(param_1 + 0xc),*(undefined4 *)(param_1 + 0x10),iVar1,0,0,0,0,\n                       0,0);\n    (**(code **)(in_t9 + 0x6499c))(iVar1);\n    *(bool *)(param_1 + 0xe9) = iVar2 == 0;\n    uVar3 = 0;\n  }\n  return uVar3;\n}" type_identifier (function_declarator "FUN_0012afdc(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  undefined4 uVar3;\n  int in_t9;\n  \n  if (*(char *)(param_1 + 0xe9) != '\x02') {\n    return 0;\n  }\n  iVar1 = (**(code **)(in_t9 + 0x64988))\n                    (*(int *)(in_t9 + 0x64980) + -0x884,*(undefined4 *)(param_1 + 0x14));\n  if (iVar1 == 0) {\n    uVar3 = 7;\n  }\n  else {\n    iVar2 = sqlite3_table_column_metadata\n                      (*(undefined4 *)(param_1 + 0xc),*(undefined4 *)(param_1 + 0x10),iVar1,0,0,0,0,\n                       0,0);\n    (**(code **)(in_t9 + 0x6499c))(iVar1);\n    *(bool *)(param_1 + 0xe9) = iVar2 == 0;\n    uVar3 = 0;\n  }\n  return uVar3;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "int in_t9;" primitive_type identifier ;) (if_statement "if (*(char *)(param_1 + 0xe9) != '\x02') {\n    return 0;\n  }" if (parenthesized_expression "(*(char *)(param_1 + 0xe9) != '\x02')" ( (binary_expression "*(char *)(param_1 + 0xe9) != '\x02'" (pointer_expression "*(char *)(param_1 + 0xe9)" * (cast_expression "(char *)(param_1 + 0xe9)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xe9)" ( (binary_expression "param_1 + 0xe9" identifier + number_literal) )))) != (char_literal "'\x02'" ' escape_sequence ')) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "iVar1 = (**(code **)(in_t9 + 0x64988))\n                    (*(int *)(in_t9 + 0x64980) + -0x884,*(undefined4 *)(param_1 + 0x14));" (assignment_expression "iVar1 = (**(code **)(in_t9 + 0x64988))\n                    (*(int *)(in_t9 + 0x64980) + -0x884,*(undefined4 *)(param_1 + 0x14))" identifier = (call_expression "(**(code **)(in_t9 + 0x64988))\n                    (*(int *)(in_t9 + 0x64980) + -0x884,*(undefined4 *)(param_1 + 0x14))" (parenthesized_expression "(**(code **)(in_t9 + 0x64988))" ( (pointer_expression "**(code **)(in_t9 + 0x64988)" * (pointer_expression "*(code **)(in_t9 + 0x64988)" * (cast_expression "(code **)(in_t9 + 0x64988)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(in_t9 + 0x64988)" ( (binary_expression "in_t9 + 0x64988" identifier + number_literal) ))))) )) (argument_list "(*(int *)(in_t9 + 0x64980) + -0x884,*(undefined4 *)(param_1 + 0x14))" ( (binary_expression "*(int *)(in_t9 + 0x64980) + -0x884" (pointer_expression "*(int *)(in_t9 + 0x64980)" * (cast_expression "(int *)(in_t9 + 0x64980)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_t9 + 0x64980)" ( (binary_expression "in_t9 + 0x64980" identifier + number_literal) )))) + number_literal) , (pointer_expression "*(undefined4 *)(param_1 + 0x14)" * (cast_expression "(undefined4 *)(param_1 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))) )))) ;) (if_statement "if (iVar1 == 0) {\n    uVar3 = 7;\n  }\n  else {\n    iVar2 = sqlite3_table_column_metadata\n                      (*(undefined4 *)(param_1 + 0xc),*(undefined4 *)(param_1 + 0x10),iVar1,0,0,0,0,\n                       0,0);\n    (**(code **)(in_t9 + 0x6499c))(iVar1);\n    *(bool *)(param_1 + 0xe9) = iVar2 == 0;\n    uVar3 = 0;\n  }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    uVar3 = 7;\n  }" { (expression_statement "uVar3 = 7;" (assignment_expression "uVar3 = 7" identifier = number_literal) ;) }) (else_clause "else {\n    iVar2 = sqlite3_table_column_metadata\n                      (*(undefined4 *)(param_1 + 0xc),*(undefined4 *)(param_1 + 0x10),iVar1,0,0,0,0,\n                       0,0);\n    (**(code **)(in_t9 + 0x6499c))(iVar1);\n    *(bool *)(param_1 + 0xe9) = iVar2 == 0;\n    uVar3 = 0;\n  }" else (compound_statement "{\n    iVar2 = sqlite3_table_column_metadata\n                      (*(undefined4 *)(param_1 + 0xc),*(undefined4 *)(param_1 + 0x10),iVar1,0,0,0,0,\n                       0,0);\n    (**(code **)(in_t9 + 0x6499c))(iVar1);\n    *(bool *)(param_1 + 0xe9) = iVar2 == 0;\n    uVar3 = 0;\n  }" { (expression_statement "iVar2 = sqlite3_table_column_metadata\n                      (*(undefined4 *)(param_1 + 0xc),*(undefined4 *)(param_1 + 0x10),iVar1,0,0,0,0,\n                       0,0);" (assignment_expression "iVar2 = sqlite3_table_column_metadata\n                      (*(undefined4 *)(param_1 + 0xc),*(undefined4 *)(param_1 + 0x10),iVar1,0,0,0,0,\n                       0,0)" identifier = (call_expression "sqlite3_table_column_metadata\n                      (*(undefined4 *)(param_1 + 0xc),*(undefined4 *)(param_1 + 0x10),iVar1,0,0,0,0,\n                       0,0)" identifier (argument_list "(*(undefined4 *)(param_1 + 0xc),*(undefined4 *)(param_1 + 0x10),iVar1,0,0,0,0,\n                       0,0)" ( (pointer_expression "*(undefined4 *)(param_1 + 0xc)" * (cast_expression "(undefined4 *)(param_1 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(param_1 + 0x10)" * (cast_expression "(undefined4 *)(param_1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) , identifier , number_literal , number_literal , number_literal , number_literal , number_literal , number_literal )))) ;) (expression_statement "(**(code **)(in_t9 + 0x6499c))(iVar1);" (call_expression "(**(code **)(in_t9 + 0x6499c))(iVar1)" (parenthesized_expression "(**(code **)(in_t9 + 0x6499c))" ( (pointer_expression "**(code **)(in_t9 + 0x6499c)" * (pointer_expression "*(code **)(in_t9 + 0x6499c)" * (cast_expression "(code **)(in_t9 + 0x6499c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(in_t9 + 0x6499c)" ( (binary_expression "in_t9 + 0x6499c" identifier + number_literal) ))))) )) (argument_list "(iVar1)" ( identifier ))) ;) (expression_statement "*(bool *)(param_1 + 0xe9) = iVar2 == 0;" (assignment_expression "*(bool *)(param_1 + 0xe9) = iVar2 == 0" (pointer_expression "*(bool *)(param_1 + 0xe9)" * (cast_expression "(bool *)(param_1 + 0xe9)" ( (type_descriptor "bool *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xe9)" ( (binary_expression "param_1 + 0xe9" identifier + number_literal) )))) = (binary_expression "iVar2 == 0" identifier == number_literal)) ;) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) }))) (return_statement "return uVar3;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (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 { (return_statement return LIT ;) })) (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 ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT , LIT , LIT , LIT , LIT , LIT , LIT )))) ;) (expression_statement (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 ( IDENT ))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression IDENT == LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }))) (return_statement return IDENT ;) })))
(function_definition "undefined4 FUN_0012afdc(int param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  undefined4 uVar3;\n  int in_t9;\n  \n  if (*(char *)(param_1 + 0xe9) != '\x02') {\n    return 0;\n  }\n  iVar1 = (**(code **)(in_t9 + 0x64988))\n                    (*(int *)(in_t9 + 0x64980) + -0x884,*(undefined4 *)(param_1 + 0x14));\n  if (iVar1 == 0) {\n    uVar3 = 7;\n  }\n  else {\n    iVar2 = sqlite3_table_column_metadata\n                      (*(undefined4 *)(param_1 + 0xc),*(undefined4 *)(param_1 + 0x10),iVar1,0,0,0,0,\n                       0,0);\n    (**(code **)(in_t9 + 0x6499c))(iVar1);\n    *(bool *)(param_1 + 0xe9) = iVar2 == 0;\n    uVar3 = 0;\n  }\n  return uVar3;\n}" (type_identifier "undefined4") (function_declarator "FUN_0012afdc(int param_1)" (identifier "FUN_0012afdc") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  undefined4 uVar3;\n  int in_t9;\n  \n  if (*(char *)(param_1 + 0xe9) != '\x02') {\n    return 0;\n  }\n  iVar1 = (**(code **)(in_t9 + 0x64988))\n                    (*(int *)(in_t9 + 0x64980) + -0x884,*(undefined4 *)(param_1 + 0x14));\n  if (iVar1 == 0) {\n    uVar3 = 7;\n  }\n  else {\n    iVar2 = sqlite3_table_column_metadata\n                      (*(undefined4 *)(param_1 + 0xc),*(undefined4 *)(param_1 + 0x10),iVar1,0,0,0,0,\n                       0,0);\n    (**(code **)(in_t9 + 0x6499c))(iVar1);\n    *(bool *)(param_1 + 0xe9) = iVar2 == 0;\n    uVar3 = 0;\n  }\n  return uVar3;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "undefined4 uVar3;" (type_identifier "undefined4") (identifier "uVar3") (; ";")) (declaration "int in_t9;" (primitive_type "int") (identifier "in_t9") (; ";")) (if_statement "if (*(char *)(param_1 + 0xe9) != '\x02') {\n    return 0;\n  }" (if "if") (parenthesized_expression "(*(char *)(param_1 + 0xe9) != '\x02')" (( "(") (binary_expression "*(char *)(param_1 + 0xe9) != '\x02'" (pointer_expression "*(char *)(param_1 + 0xe9)" (* "*") (cast_expression "(char *)(param_1 + 0xe9)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xe9)" (( "(") (binary_expression "param_1 + 0xe9" (identifier "param_1") (+ "+") (number_literal "0xe9")) () ")")))) (!= "!=") (char_literal "'\x02'" (' "'") (escape_sequence "\x02") (' "'"))) () ")")) (compound_statement "{\n    return 0;\n  }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (expression_statement "iVar1 = (**(code **)(in_t9 + 0x64988))\n                    (*(int *)(in_t9 + 0x64980) + -0x884,*(undefined4 *)(param_1 + 0x14));" (assignment_expression "iVar1 = (**(code **)(in_t9 + 0x64988))\n                    (*(int *)(in_t9 + 0x64980) + -0x884,*(undefined4 *)(param_1 + 0x14))" (identifier "iVar1") (= "=") (call_expression "(**(code **)(in_t9 + 0x64988))\n                    (*(int *)(in_t9 + 0x64980) + -0x884,*(undefined4 *)(param_1 + 0x14))" (parenthesized_expression "(**(code **)(in_t9 + 0x64988))" (( "(") (pointer_expression "**(code **)(in_t9 + 0x64988)" (* "*") (pointer_expression "*(code **)(in_t9 + 0x64988)" (* "*") (cast_expression "(code **)(in_t9 + 0x64988)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(in_t9 + 0x64988)" (( "(") (binary_expression "in_t9 + 0x64988" (identifier "in_t9") (+ "+") (number_literal "0x64988")) () ")"))))) () ")")) (argument_list "(*(int *)(in_t9 + 0x64980) + -0x884,*(undefined4 *)(param_1 + 0x14))" (( "(") (binary_expression "*(int *)(in_t9 + 0x64980) + -0x884" (pointer_expression "*(int *)(in_t9 + 0x64980)" (* "*") (cast_expression "(int *)(in_t9 + 0x64980)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_t9 + 0x64980)" (( "(") (binary_expression "in_t9 + 0x64980" (identifier "in_t9") (+ "+") (number_literal "0x64980")) () ")")))) (+ "+") (number_literal "-0x884")) (, ",") (pointer_expression "*(undefined4 *)(param_1 + 0x14)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x14)" (( "(") (binary_expression "param_1 + 0x14" (identifier "param_1") (+ "+") (number_literal "0x14")) () ")")))) () ")")))) (; ";")) (if_statement "if (iVar1 == 0) {\n    uVar3 = 7;\n  }\n  else {\n    iVar2 = sqlite3_table_column_metadata\n                      (*(undefined4 *)(param_1 + 0xc),*(undefined4 *)(param_1 + 0x10),iVar1,0,0,0,0,\n                       0,0);\n    (**(code **)(in_t9 + 0x6499c))(iVar1);\n    *(bool *)(param_1 + 0xe9) = iVar2 == 0;\n    uVar3 = 0;\n  }" (if "if") (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    uVar3 = 7;\n  }" ({ "{") (expression_statement "uVar3 = 7;" (assignment_expression "uVar3 = 7" (identifier "uVar3") (= "=") (number_literal "7")) (; ";")) (} "}")) (else_clause "else {\n    iVar2 = sqlite3_table_column_metadata\n                      (*(undefined4 *)(param_1 + 0xc),*(undefined4 *)(param_1 + 0x10),iVar1,0,0,0,0,\n                       0,0);\n    (**(code **)(in_t9 + 0x6499c))(iVar1);\n    *(bool *)(param_1 + 0xe9) = iVar2 == 0;\n    uVar3 = 0;\n  }" (else "else") (compound_statement "{\n    iVar2 = sqlite3_table_column_metadata\n                      (*(undefined4 *)(param_1 + 0xc),*(undefined4 *)(param_1 + 0x10),iVar1,0,0,0,0,\n                       0,0);\n    (**(code **)(in_t9 + 0x6499c))(iVar1);\n    *(bool *)(param_1 + 0xe9) = iVar2 == 0;\n    uVar3 = 0;\n  }" ({ "{") (expression_statement "iVar2 = sqlite3_table_column_metadata\n                      (*(undefined4 *)(param_1 + 0xc),*(undefined4 *)(param_1 + 0x10),iVar1,0,0,0,0,\n                       0,0);" (assignment_expression "iVar2 = sqlite3_table_column_metadata\n                      (*(undefined4 *)(param_1 + 0xc),*(undefined4 *)(param_1 + 0x10),iVar1,0,0,0,0,\n                       0,0)" (identifier "iVar2") (= "=") (call_expression "sqlite3_table_column_metadata\n                      (*(undefined4 *)(param_1 + 0xc),*(undefined4 *)(param_1 + 0x10),iVar1,0,0,0,0,\n                       0,0)" (identifier "sqlite3_table_column_metadata") (argument_list "(*(undefined4 *)(param_1 + 0xc),*(undefined4 *)(param_1 + 0x10),iVar1,0,0,0,0,\n                       0,0)" (( "(") (pointer_expression "*(undefined4 *)(param_1 + 0xc)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xc)" (( "(") (binary_expression "param_1 + 0xc" (identifier "param_1") (+ "+") (number_literal "0xc")) () ")")))) (, ",") (pointer_expression "*(undefined4 *)(param_1 + 0x10)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")")))) (, ",") (identifier "iVar1") (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (number_literal "0") () ")")))) (; ";")) (expression_statement "(**(code **)(in_t9 + 0x6499c))(iVar1);" (call_expression "(**(code **)(in_t9 + 0x6499c))(iVar1)" (parenthesized_expression "(**(code **)(in_t9 + 0x6499c))" (( "(") (pointer_expression "**(code **)(in_t9 + 0x6499c)" (* "*") (pointer_expression "*(code **)(in_t9 + 0x6499c)" (* "*") (cast_expression "(code **)(in_t9 + 0x6499c)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(in_t9 + 0x6499c)" (( "(") (binary_expression "in_t9 + 0x6499c" (identifier "in_t9") (+ "+") (number_literal "0x6499c")) () ")"))))) () ")")) (argument_list "(iVar1)" (( "(") (identifier "iVar1") () ")"))) (; ";")) (expression_statement "*(bool *)(param_1 + 0xe9) = iVar2 == 0;" (assignment_expression "*(bool *)(param_1 + 0xe9) = iVar2 == 0" (pointer_expression "*(bool *)(param_1 + 0xe9)" (* "*") (cast_expression "(bool *)(param_1 + 0xe9)" (( "(") (type_descriptor "bool *" (primitive_type "bool") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xe9)" (( "(") (binary_expression "param_1 + 0xe9" (identifier "param_1") (+ "+") (number_literal "0xe9")) () ")")))) (= "=") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0"))) (; ";")) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" (identifier "uVar3") (= "=") (number_literal "0")) (; ";")) (} "}")))) (return_statement "return uVar3;" (return "return") (identifier "uVar3") (; ";")) (} "}")))

int function_1(type_1 *p)

{
  char *var_2;
  int var_4;
  int var_1;
  
  if (p->bHasStat != '\x02') {
    return 0;
  }
  var_2 = (char *)(**(type_2 **)(var_1 + 0x64988))(*(int *)(var_1 + 0x64980) + -0x884,p->zName);
  if (var_2 == (char *)0x0) {
    var_4 = 7;
  }
  else {
    var_4 = var_3
                      (p->db,p->zDb,var_2,(char *)0x0,(char **)0x0,(char **)0x0,(int *)0x0,
                       (int *)0x0,(int *)0x0);
    (**(type_2 **)(var_1 + 0x6499c))(var_2);
    p->bHasStat = var_4 == 0;
    var_4 = 0;
  }
  return var_4;
}


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

undefined4 MASKED(int param_1)

{
  int iVar1;
  int iVar2;
  undefined4 uVar3;
  int in_t9;
  
  if (*(char *)(param_1 + 0xe9) != '\x02') {
    return 0;
  }
  iVar1 = (**(code **)(in_t9 + 0x64988))
                    (*(int *)(in_t9 + 0x64980) + -0x884,*(undefined4 *)(param_1 + 0x14));
  if (iVar1 == 0) {
    uVar3 = 7;
  }
  else {
    iVar2 = sqlite3_table_column_metadata
                      (*(undefined4 *)(param_1 + 0xc),*(undefined4 *)(param_1 + 0x10),iVar1,0,0,0,0,
                       0,0);
    (**(code **)(in_t9 + 0x6499c))(iVar1);
    *(bool *)(param_1 + 0xe9) = iVar2 == 0;
    uVar3 = 0;
  }
  return uVar3;
}

