
int fts5ApiColumnText(Fts5Context *pCtx,int iCol,char **pz,int *pn)

{
  char *pcVar1;
  Fts5Cursor *pCsr;
  int iVar2;
  
  if ((*(int *)(*(int *)(*(int *)pCtx + 0xc) + 0x20) == 1) || (*(int *)(pCtx + 0x18) == 3)) {
    iVar2 = 0;
    *pz = (char *)0x0;
    *pn = 0;
  }
  else {
    iVar2 = fts5SeekCursor((Fts5Cursor *)pCtx,0);
    if (iVar2 == 0) {
      pcVar1 = (char *)(*(code *)PTR_sqlite3_column_text_001909a8)
                                 (*(undefined4 *)(pCtx + 0x30),iCol + 1);
      *pz = pcVar1;
      iVar2 = (*(code *)PTR_sqlite3_column_bytes_0019099c)(*(undefined4 *)(pCtx + 0x30),iCol + 1);
      *pn = iVar2;
      return 0;
    }
  }
  return iVar2;
}



int FUN_00133148(int *param_1,int param_2,undefined4 *param_3,undefined4 *param_4)

{
  undefined4 uVar1;
  int iVar2;
  
  if ((*(int *)(*(int *)(*param_1 + 0xc) + 0x20) == 1) || (param_1[6] == 3)) {
    iVar2 = 0;
    *param_3 = 0;
    *param_4 = 0;
  }
  else {
    iVar2 = FUN_00132fdc(param_1,0);
    if (iVar2 == 0) {
      uVar1 = (*(code *)PTR_sqlite3_column_text_001909a8)(param_1[0xc],param_2 + 1);
      *param_3 = uVar1;
      uVar1 = (*(code *)PTR_sqlite3_column_bytes_0019099c)(param_1[0xc],param_2 + 1);
      *param_4 = uVar1;
      return 0;
    }
  }
  return iVar2;
}


lui gp,0x6
addiu gp,gp,0x57d8
addu gp,gp,t9
addiu sp,sp,-0x30
li v1,0x1
sw gp,0x10(sp)
sw ra,0x2c(sp)
sw s4,0x28(sp)
sw s3,0x24(sp)
sw s2,0x20(sp)
sw s1,0x1c(sp)
sw s0,0x18(sp)
lw t0,0x0(a0)
lw t0,0xc(t0)
lw t0,0x20(t0)
beq t0,v1,0x00133198
_li v1,0x3
lw t0,0x18(a0)
bne t0,v1,0x001331c8
_or s0,a0,zero
or s1,zero,zero
sw zero,0x0(a2)
sw zero,0x0(a3)
lw ra,0x2c(sp)
or v0,s1,zero
lw s4,0x28(sp)
lw s3,0x24(sp)
lw s2,0x20(sp)
lw s1,0x1c(sp)
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x30
lw t9,-0x7d70(gp)
or s2,a1,zero
or a1,zero,zero
or s4,a3,zero
addiu t9,t9,0x2fdc
bal 0x00132fdc
_or s3,a2,zero
lw gp,0x10(sp)
bne v0,zero,0x001331a4
_or s1,v0,zero
addiu s2,s2,0x1
lw a0,0x30(s0)
lw t9,-0x7f78(gp)
jalr t9
_or a1,s2,zero
or a1,s2,zero
lw gp,0x10(sp)
sw v0,0x0(s3)
lw t9,-0x7f84(gp)
jalr t9
_lw a0,0x30(s0)
sw v0,0x0(s4)
or v0,s1,zero
lw ra,0x2c(sp)
lw s4,0x28(sp)
lw s3,0x24(sp)
lw s2,0x20(sp)
lw s1,0x1c(sp)
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x30
(translation_unit "int FUN_00133148(int *param_1,int param_2,undefined4 *param_3,undefined4 *param_4)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  \n  if ((*(int *)(*(int *)(*param_1 + 0xc) + 0x20) == 1) || (param_1[6] == 3)) {\n    iVar2 = 0;\n    *param_3 = 0;\n    *param_4 = 0;\n  }\n  else {\n    iVar2 = FUN_00132fdc(param_1,0);\n    if (iVar2 == 0) {\n      uVar1 = (*(code *)PTR_sqlite3_column_text_001909a8)(param_1[0xc],param_2 + 1);\n      *param_3 = uVar1;\n      uVar1 = (*(code *)PTR_sqlite3_column_bytes_0019099c)(param_1[0xc],param_2 + 1);\n      *param_4 = uVar1;\n      return 0;\n    }\n  }\n  return iVar2;\n}\n\n" (function_definition "int FUN_00133148(int *param_1,int param_2,undefined4 *param_3,undefined4 *param_4)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  \n  if ((*(int *)(*(int *)(*param_1 + 0xc) + 0x20) == 1) || (param_1[6] == 3)) {\n    iVar2 = 0;\n    *param_3 = 0;\n    *param_4 = 0;\n  }\n  else {\n    iVar2 = FUN_00132fdc(param_1,0);\n    if (iVar2 == 0) {\n      uVar1 = (*(code *)PTR_sqlite3_column_text_001909a8)(param_1[0xc],param_2 + 1);\n      *param_3 = uVar1;\n      uVar1 = (*(code *)PTR_sqlite3_column_bytes_0019099c)(param_1[0xc],param_2 + 1);\n      *param_4 = uVar1;\n      return 0;\n    }\n  }\n  return iVar2;\n}" primitive_type (function_declarator "FUN_00133148(int *param_1,int param_2,undefined4 *param_3,undefined4 *param_4)" identifier (parameter_list "(int *param_1,int param_2,undefined4 *param_3,undefined4 *param_4)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "undefined4 *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "undefined4 *param_4" type_identifier (pointer_declarator "*param_4" * identifier)) ))) (compound_statement "{\n  undefined4 uVar1;\n  int iVar2;\n  \n  if ((*(int *)(*(int *)(*param_1 + 0xc) + 0x20) == 1) || (param_1[6] == 3)) {\n    iVar2 = 0;\n    *param_3 = 0;\n    *param_4 = 0;\n  }\n  else {\n    iVar2 = FUN_00132fdc(param_1,0);\n    if (iVar2 == 0) {\n      uVar1 = (*(code *)PTR_sqlite3_column_text_001909a8)(param_1[0xc],param_2 + 1);\n      *param_3 = uVar1;\n      uVar1 = (*(code *)PTR_sqlite3_column_bytes_0019099c)(param_1[0xc],param_2 + 1);\n      *param_4 = uVar1;\n      return 0;\n    }\n  }\n  return iVar2;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (if_statement "if ((*(int *)(*(int *)(*param_1 + 0xc) + 0x20) == 1) || (param_1[6] == 3)) {\n    iVar2 = 0;\n    *param_3 = 0;\n    *param_4 = 0;\n  }\n  else {\n    iVar2 = FUN_00132fdc(param_1,0);\n    if (iVar2 == 0) {\n      uVar1 = (*(code *)PTR_sqlite3_column_text_001909a8)(param_1[0xc],param_2 + 1);\n      *param_3 = uVar1;\n      uVar1 = (*(code *)PTR_sqlite3_column_bytes_0019099c)(param_1[0xc],param_2 + 1);\n      *param_4 = uVar1;\n      return 0;\n    }\n  }" if (parenthesized_expression "((*(int *)(*(int *)(*param_1 + 0xc) + 0x20) == 1) || (param_1[6] == 3))" ( (binary_expression "(*(int *)(*(int *)(*param_1 + 0xc) + 0x20) == 1) || (param_1[6] == 3)" (parenthesized_expression "(*(int *)(*(int *)(*param_1 + 0xc) + 0x20) == 1)" ( (binary_expression "*(int *)(*(int *)(*param_1 + 0xc) + 0x20) == 1" (pointer_expression "*(int *)(*(int *)(*param_1 + 0xc) + 0x20)" * (cast_expression "(int *)(*(int *)(*param_1 + 0xc) + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(*param_1 + 0xc) + 0x20)" ( (binary_expression "*(int *)(*param_1 + 0xc) + 0x20" (pointer_expression "*(int *)(*param_1 + 0xc)" * (cast_expression "(int *)(*param_1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0xc)" ( (binary_expression "*param_1 + 0xc" (pointer_expression "*param_1" * identifier) + number_literal) )))) + number_literal) )))) == number_literal) )) || (parenthesized_expression "(param_1[6] == 3)" ( (binary_expression "param_1[6] == 3" (subscript_expression "param_1[6]" identifier [ number_literal ]) == number_literal) ))) )) (compound_statement "{\n    iVar2 = 0;\n    *param_3 = 0;\n    *param_4 = 0;\n  }" { (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) (expression_statement "*param_3 = 0;" (assignment_expression "*param_3 = 0" (pointer_expression "*param_3" * identifier) = number_literal) ;) (expression_statement "*param_4 = 0;" (assignment_expression "*param_4 = 0" (pointer_expression "*param_4" * identifier) = number_literal) ;) }) (else_clause "else {\n    iVar2 = FUN_00132fdc(param_1,0);\n    if (iVar2 == 0) {\n      uVar1 = (*(code *)PTR_sqlite3_column_text_001909a8)(param_1[0xc],param_2 + 1);\n      *param_3 = uVar1;\n      uVar1 = (*(code *)PTR_sqlite3_column_bytes_0019099c)(param_1[0xc],param_2 + 1);\n      *param_4 = uVar1;\n      return 0;\n    }\n  }" else (compound_statement "{\n    iVar2 = FUN_00132fdc(param_1,0);\n    if (iVar2 == 0) {\n      uVar1 = (*(code *)PTR_sqlite3_column_text_001909a8)(param_1[0xc],param_2 + 1);\n      *param_3 = uVar1;\n      uVar1 = (*(code *)PTR_sqlite3_column_bytes_0019099c)(param_1[0xc],param_2 + 1);\n      *param_4 = uVar1;\n      return 0;\n    }\n  }" { (expression_statement "iVar2 = FUN_00132fdc(param_1,0);" (assignment_expression "iVar2 = FUN_00132fdc(param_1,0)" identifier = (call_expression "FUN_00132fdc(param_1,0)" identifier (argument_list "(param_1,0)" ( identifier , number_literal )))) ;) (if_statement "if (iVar2 == 0) {\n      uVar1 = (*(code *)PTR_sqlite3_column_text_001909a8)(param_1[0xc],param_2 + 1);\n      *param_3 = uVar1;\n      uVar1 = (*(code *)PTR_sqlite3_column_bytes_0019099c)(param_1[0xc],param_2 + 1);\n      *param_4 = uVar1;\n      return 0;\n    }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n      uVar1 = (*(code *)PTR_sqlite3_column_text_001909a8)(param_1[0xc],param_2 + 1);\n      *param_3 = uVar1;\n      uVar1 = (*(code *)PTR_sqlite3_column_bytes_0019099c)(param_1[0xc],param_2 + 1);\n      *param_4 = uVar1;\n      return 0;\n    }" { (expression_statement "uVar1 = (*(code *)PTR_sqlite3_column_text_001909a8)(param_1[0xc],param_2 + 1);" (assignment_expression "uVar1 = (*(code *)PTR_sqlite3_column_text_001909a8)(param_1[0xc],param_2 + 1)" identifier = (call_expression "(*(code *)PTR_sqlite3_column_text_001909a8)(param_1[0xc],param_2 + 1)" (parenthesized_expression "(*(code *)PTR_sqlite3_column_text_001909a8)" ( (pointer_expression "*(code *)PTR_sqlite3_column_text_001909a8" * (cast_expression "(code *)PTR_sqlite3_column_text_001909a8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1[0xc],param_2 + 1)" ( (subscript_expression "param_1[0xc]" identifier [ number_literal ]) , (binary_expression "param_2 + 1" identifier + number_literal) )))) ;) (expression_statement "*param_3 = uVar1;" (assignment_expression "*param_3 = uVar1" (pointer_expression "*param_3" * identifier) = identifier) ;) (expression_statement "uVar1 = (*(code *)PTR_sqlite3_column_bytes_0019099c)(param_1[0xc],param_2 + 1);" (assignment_expression "uVar1 = (*(code *)PTR_sqlite3_column_bytes_0019099c)(param_1[0xc],param_2 + 1)" identifier = (call_expression "(*(code *)PTR_sqlite3_column_bytes_0019099c)(param_1[0xc],param_2 + 1)" (parenthesized_expression "(*(code *)PTR_sqlite3_column_bytes_0019099c)" ( (pointer_expression "*(code *)PTR_sqlite3_column_bytes_0019099c" * (cast_expression "(code *)PTR_sqlite3_column_bytes_0019099c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1[0xc],param_2 + 1)" ( (subscript_expression "param_1[0xc]" identifier [ number_literal ]) , (binary_expression "param_2 + 1" identifier + number_literal) )))) ;) (expression_statement "*param_4 = uVar1;" (assignment_expression "*param_4 = uVar1" (pointer_expression "*param_4" * identifier) = identifier) ;) (return_statement "return 0;" return number_literal ;) })) }))) (return_statement "return iVar2;" return identifier ;) })))
(translation_unit "int fts5ApiColumnText(Fts5Context *pCtx,int iCol,char **pz,int *pn)\n\n{\n  char *pcVar1;\n  Fts5Cursor *pCsr;\n  int iVar2;\n  \n  if ((*(int *)(*(int *)(*(int *)pCtx + 0xc) + 0x20) == 1) || (*(int *)(pCtx + 0x18) == 3)) {\n    iVar2 = 0;\n    *pz = (char *)0x0;\n    *pn = 0;\n  }\n  else {\n    iVar2 = fts5SeekCursor((Fts5Cursor *)pCtx,0);\n    if (iVar2 == 0) {\n      pcVar1 = (char *)(*(code *)PTR_sqlite3_column_text_001909a8)\n                                 (*(undefined4 *)(pCtx + 0x30),iCol + 1);\n      *pz = pcVar1;\n      iVar2 = (*(code *)PTR_sqlite3_column_bytes_0019099c)(*(undefined4 *)(pCtx + 0x30),iCol + 1);\n      *pn = iVar2;\n      return 0;\n    }\n  }\n  return iVar2;\n}\n\n" (function_definition "int fts5ApiColumnText(Fts5Context *pCtx,int iCol,char **pz,int *pn)\n\n{\n  char *pcVar1;\n  Fts5Cursor *pCsr;\n  int iVar2;\n  \n  if ((*(int *)(*(int *)(*(int *)pCtx + 0xc) + 0x20) == 1) || (*(int *)(pCtx + 0x18) == 3)) {\n    iVar2 = 0;\n    *pz = (char *)0x0;\n    *pn = 0;\n  }\n  else {\n    iVar2 = fts5SeekCursor((Fts5Cursor *)pCtx,0);\n    if (iVar2 == 0) {\n      pcVar1 = (char *)(*(code *)PTR_sqlite3_column_text_001909a8)\n                                 (*(undefined4 *)(pCtx + 0x30),iCol + 1);\n      *pz = pcVar1;\n      iVar2 = (*(code *)PTR_sqlite3_column_bytes_0019099c)(*(undefined4 *)(pCtx + 0x30),iCol + 1);\n      *pn = iVar2;\n      return 0;\n    }\n  }\n  return iVar2;\n}" primitive_type (function_declarator "fts5ApiColumnText(Fts5Context *pCtx,int iCol,char **pz,int *pn)" identifier (parameter_list "(Fts5Context *pCtx,int iCol,char **pz,int *pn)" ( (parameter_declaration "Fts5Context *pCtx" type_identifier (pointer_declarator "*pCtx" * identifier)) , (parameter_declaration "int iCol" primitive_type identifier) , (parameter_declaration "char **pz" primitive_type (pointer_declarator "**pz" * (pointer_declarator "*pz" * identifier))) , (parameter_declaration "int *pn" primitive_type (pointer_declarator "*pn" * identifier)) ))) (compound_statement "{\n  char *pcVar1;\n  Fts5Cursor *pCsr;\n  int iVar2;\n  \n  if ((*(int *)(*(int *)(*(int *)pCtx + 0xc) + 0x20) == 1) || (*(int *)(pCtx + 0x18) == 3)) {\n    iVar2 = 0;\n    *pz = (char *)0x0;\n    *pn = 0;\n  }\n  else {\n    iVar2 = fts5SeekCursor((Fts5Cursor *)pCtx,0);\n    if (iVar2 == 0) {\n      pcVar1 = (char *)(*(code *)PTR_sqlite3_column_text_001909a8)\n                                 (*(undefined4 *)(pCtx + 0x30),iCol + 1);\n      *pz = pcVar1;\n      iVar2 = (*(code *)PTR_sqlite3_column_bytes_0019099c)(*(undefined4 *)(pCtx + 0x30),iCol + 1);\n      *pn = iVar2;\n      return 0;\n    }\n  }\n  return iVar2;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "Fts5Cursor *pCsr;" type_identifier (pointer_declarator "*pCsr" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (if_statement "if ((*(int *)(*(int *)(*(int *)pCtx + 0xc) + 0x20) == 1) || (*(int *)(pCtx + 0x18) == 3)) {\n    iVar2 = 0;\n    *pz = (char *)0x0;\n    *pn = 0;\n  }\n  else {\n    iVar2 = fts5SeekCursor((Fts5Cursor *)pCtx,0);\n    if (iVar2 == 0) {\n      pcVar1 = (char *)(*(code *)PTR_sqlite3_column_text_001909a8)\n                                 (*(undefined4 *)(pCtx + 0x30),iCol + 1);\n      *pz = pcVar1;\n      iVar2 = (*(code *)PTR_sqlite3_column_bytes_0019099c)(*(undefined4 *)(pCtx + 0x30),iCol + 1);\n      *pn = iVar2;\n      return 0;\n    }\n  }" if (parenthesized_expression "((*(int *)(*(int *)(*(int *)pCtx + 0xc) + 0x20) == 1) || (*(int *)(pCtx + 0x18) == 3))" ( (binary_expression "(*(int *)(*(int *)(*(int *)pCtx + 0xc) + 0x20) == 1) || (*(int *)(pCtx + 0x18) == 3)" (parenthesized_expression "(*(int *)(*(int *)(*(int *)pCtx + 0xc) + 0x20) == 1)" ( (binary_expression "*(int *)(*(int *)(*(int *)pCtx + 0xc) + 0x20) == 1" (pointer_expression "*(int *)(*(int *)(*(int *)pCtx + 0xc) + 0x20)" * (cast_expression "(int *)(*(int *)(*(int *)pCtx + 0xc) + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(*(int *)pCtx + 0xc) + 0x20)" ( (binary_expression "*(int *)(*(int *)pCtx + 0xc) + 0x20" (pointer_expression "*(int *)(*(int *)pCtx + 0xc)" * (cast_expression "(int *)(*(int *)pCtx + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)pCtx + 0xc)" ( (binary_expression "*(int *)pCtx + 0xc" (pointer_expression "*(int *)pCtx" * (cast_expression "(int *)pCtx" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) )))) + number_literal) )))) == number_literal) )) || (parenthesized_expression "(*(int *)(pCtx + 0x18) == 3)" ( (binary_expression "*(int *)(pCtx + 0x18) == 3" (pointer_expression "*(int *)(pCtx + 0x18)" * (cast_expression "(int *)(pCtx + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pCtx + 0x18)" ( (binary_expression "pCtx + 0x18" identifier + number_literal) )))) == number_literal) ))) )) (compound_statement "{\n    iVar2 = 0;\n    *pz = (char *)0x0;\n    *pn = 0;\n  }" { (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) (expression_statement "*pz = (char *)0x0;" (assignment_expression "*pz = (char *)0x0" (pointer_expression "*pz" * identifier) = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "*pn = 0;" (assignment_expression "*pn = 0" (pointer_expression "*pn" * identifier) = number_literal) ;) }) (else_clause "else {\n    iVar2 = fts5SeekCursor((Fts5Cursor *)pCtx,0);\n    if (iVar2 == 0) {\n      pcVar1 = (char *)(*(code *)PTR_sqlite3_column_text_001909a8)\n                                 (*(undefined4 *)(pCtx + 0x30),iCol + 1);\n      *pz = pcVar1;\n      iVar2 = (*(code *)PTR_sqlite3_column_bytes_0019099c)(*(undefined4 *)(pCtx + 0x30),iCol + 1);\n      *pn = iVar2;\n      return 0;\n    }\n  }" else (compound_statement "{\n    iVar2 = fts5SeekCursor((Fts5Cursor *)pCtx,0);\n    if (iVar2 == 0) {\n      pcVar1 = (char *)(*(code *)PTR_sqlite3_column_text_001909a8)\n                                 (*(undefined4 *)(pCtx + 0x30),iCol + 1);\n      *pz = pcVar1;\n      iVar2 = (*(code *)PTR_sqlite3_column_bytes_0019099c)(*(undefined4 *)(pCtx + 0x30),iCol + 1);\n      *pn = iVar2;\n      return 0;\n    }\n  }" { (expression_statement "iVar2 = fts5SeekCursor((Fts5Cursor *)pCtx,0);" (assignment_expression "iVar2 = fts5SeekCursor((Fts5Cursor *)pCtx,0)" identifier = (call_expression "fts5SeekCursor((Fts5Cursor *)pCtx,0)" identifier (argument_list "((Fts5Cursor *)pCtx,0)" ( (cast_expression "(Fts5Cursor *)pCtx" ( (type_descriptor "Fts5Cursor *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , number_literal )))) ;) (if_statement "if (iVar2 == 0) {\n      pcVar1 = (char *)(*(code *)PTR_sqlite3_column_text_001909a8)\n                                 (*(undefined4 *)(pCtx + 0x30),iCol + 1);\n      *pz = pcVar1;\n      iVar2 = (*(code *)PTR_sqlite3_column_bytes_0019099c)(*(undefined4 *)(pCtx + 0x30),iCol + 1);\n      *pn = iVar2;\n      return 0;\n    }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n      pcVar1 = (char *)(*(code *)PTR_sqlite3_column_text_001909a8)\n                                 (*(undefined4 *)(pCtx + 0x30),iCol + 1);\n      *pz = pcVar1;\n      iVar2 = (*(code *)PTR_sqlite3_column_bytes_0019099c)(*(undefined4 *)(pCtx + 0x30),iCol + 1);\n      *pn = iVar2;\n      return 0;\n    }" { (expression_statement "pcVar1 = (char *)(*(code *)PTR_sqlite3_column_text_001909a8)\n                                 (*(undefined4 *)(pCtx + 0x30),iCol + 1);" (assignment_expression "pcVar1 = (char *)(*(code *)PTR_sqlite3_column_text_001909a8)\n                                 (*(undefined4 *)(pCtx + 0x30),iCol + 1)" identifier = (cast_expression "(char *)(*(code *)PTR_sqlite3_column_text_001909a8)\n                                 (*(undefined4 *)(pCtx + 0x30),iCol + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_sqlite3_column_text_001909a8)\n                                 (*(undefined4 *)(pCtx + 0x30),iCol + 1)" (parenthesized_expression "(*(code *)PTR_sqlite3_column_text_001909a8)" ( (pointer_expression "*(code *)PTR_sqlite3_column_text_001909a8" * (cast_expression "(code *)PTR_sqlite3_column_text_001909a8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(pCtx + 0x30),iCol + 1)" ( (pointer_expression "*(undefined4 *)(pCtx + 0x30)" * (cast_expression "(undefined4 *)(pCtx + 0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pCtx + 0x30)" ( (binary_expression "pCtx + 0x30" identifier + number_literal) )))) , (binary_expression "iCol + 1" identifier + number_literal) ))))) ;) (expression_statement "*pz = pcVar1;" (assignment_expression "*pz = pcVar1" (pointer_expression "*pz" * identifier) = identifier) ;) (expression_statement "iVar2 = (*(code *)PTR_sqlite3_column_bytes_0019099c)(*(undefined4 *)(pCtx + 0x30),iCol + 1);" (assignment_expression "iVar2 = (*(code *)PTR_sqlite3_column_bytes_0019099c)(*(undefined4 *)(pCtx + 0x30),iCol + 1)" identifier = (call_expression "(*(code *)PTR_sqlite3_column_bytes_0019099c)(*(undefined4 *)(pCtx + 0x30),iCol + 1)" (parenthesized_expression "(*(code *)PTR_sqlite3_column_bytes_0019099c)" ( (pointer_expression "*(code *)PTR_sqlite3_column_bytes_0019099c" * (cast_expression "(code *)PTR_sqlite3_column_bytes_0019099c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(pCtx + 0x30),iCol + 1)" ( (pointer_expression "*(undefined4 *)(pCtx + 0x30)" * (cast_expression "(undefined4 *)(pCtx + 0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pCtx + 0x30)" ( (binary_expression "pCtx + 0x30" identifier + number_literal) )))) , (binary_expression "iCol + 1" identifier + number_literal) )))) ;) (expression_statement "*pn = iVar2;" (assignment_expression "*pn = iVar2" (pointer_expression "*pn" * identifier) = identifier) ;) (return_statement "return 0;" return number_literal ;) })) }))) (return_statement "return iVar2;" return identifier ;) })))
(translation_unit "int FUN_00133148(int *param_1,int param_2,undefined4 *param_3,undefined4 *param_4)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  \n  if ((*(int *)(*(int *)(*param_1 + 0xc) + 0x20) == 1) || (param_1[6] == 3)) {\n    iVar2 = 0;\n    *param_3 = 0;\n    *param_4 = 0;\n  }\n  else {\n    iVar2 = FUN_00132fdc(param_1,0);\n    if (iVar2 == 0) {\n      uVar1 = (*(code *)PTR_sqlite3_column_text_001909a8)(param_1[0xc],param_2 + 1);\n      *param_3 = uVar1;\n      uVar1 = (*(code *)PTR_sqlite3_column_bytes_0019099c)(param_1[0xc],param_2 + 1);\n      *param_4 = uVar1;\n      return 0;\n    }\n  }\n  return iVar2;\n}\n\n" (function_definition "int FUN_00133148(int *param_1,int param_2,undefined4 *param_3,undefined4 *param_4)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  \n  if ((*(int *)(*(int *)(*param_1 + 0xc) + 0x20) == 1) || (param_1[6] == 3)) {\n    iVar2 = 0;\n    *param_3 = 0;\n    *param_4 = 0;\n  }\n  else {\n    iVar2 = FUN_00132fdc(param_1,0);\n    if (iVar2 == 0) {\n      uVar1 = (*(code *)PTR_sqlite3_column_text_001909a8)(param_1[0xc],param_2 + 1);\n      *param_3 = uVar1;\n      uVar1 = (*(code *)PTR_sqlite3_column_bytes_0019099c)(param_1[0xc],param_2 + 1);\n      *param_4 = uVar1;\n      return 0;\n    }\n  }\n  return iVar2;\n}" primitive_type (function_declarator "FUN_00133148(int *param_1,int param_2,undefined4 *param_3,undefined4 *param_4)" identifier (parameter_list "(int *param_1,int param_2,undefined4 *param_3,undefined4 *param_4)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "undefined4 *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "undefined4 *param_4" type_identifier (pointer_declarator "*param_4" * identifier)) ))) (compound_statement "{\n  undefined4 uVar1;\n  int iVar2;\n  \n  if ((*(int *)(*(int *)(*param_1 + 0xc) + 0x20) == 1) || (param_1[6] == 3)) {\n    iVar2 = 0;\n    *param_3 = 0;\n    *param_4 = 0;\n  }\n  else {\n    iVar2 = FUN_00132fdc(param_1,0);\n    if (iVar2 == 0) {\n      uVar1 = (*(code *)PTR_sqlite3_column_text_001909a8)(param_1[0xc],param_2 + 1);\n      *param_3 = uVar1;\n      uVar1 = (*(code *)PTR_sqlite3_column_bytes_0019099c)(param_1[0xc],param_2 + 1);\n      *param_4 = uVar1;\n      return 0;\n    }\n  }\n  return iVar2;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (if_statement "if ((*(int *)(*(int *)(*param_1 + 0xc) + 0x20) == 1) || (param_1[6] == 3)) {\n    iVar2 = 0;\n    *param_3 = 0;\n    *param_4 = 0;\n  }\n  else {\n    iVar2 = FUN_00132fdc(param_1,0);\n    if (iVar2 == 0) {\n      uVar1 = (*(code *)PTR_sqlite3_column_text_001909a8)(param_1[0xc],param_2 + 1);\n      *param_3 = uVar1;\n      uVar1 = (*(code *)PTR_sqlite3_column_bytes_0019099c)(param_1[0xc],param_2 + 1);\n      *param_4 = uVar1;\n      return 0;\n    }\n  }" if (parenthesized_expression "((*(int *)(*(int *)(*param_1 + 0xc) + 0x20) == 1) || (param_1[6] == 3))" ( (binary_expression "(*(int *)(*(int *)(*param_1 + 0xc) + 0x20) == 1) || (param_1[6] == 3)" (parenthesized_expression "(*(int *)(*(int *)(*param_1 + 0xc) + 0x20) == 1)" ( (binary_expression "*(int *)(*(int *)(*param_1 + 0xc) + 0x20) == 1" (pointer_expression "*(int *)(*(int *)(*param_1 + 0xc) + 0x20)" * (cast_expression "(int *)(*(int *)(*param_1 + 0xc) + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(*param_1 + 0xc) + 0x20)" ( (binary_expression "*(int *)(*param_1 + 0xc) + 0x20" (pointer_expression "*(int *)(*param_1 + 0xc)" * (cast_expression "(int *)(*param_1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0xc)" ( (binary_expression "*param_1 + 0xc" (pointer_expression "*param_1" * identifier) + number_literal) )))) + number_literal) )))) == number_literal) )) || (parenthesized_expression "(param_1[6] == 3)" ( (binary_expression "param_1[6] == 3" (subscript_expression "param_1[6]" identifier [ number_literal ]) == number_literal) ))) )) (compound_statement "{\n    iVar2 = 0;\n    *param_3 = 0;\n    *param_4 = 0;\n  }" { (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) (expression_statement "*param_3 = 0;" (assignment_expression "*param_3 = 0" (pointer_expression "*param_3" * identifier) = number_literal) ;) (expression_statement "*param_4 = 0;" (assignment_expression "*param_4 = 0" (pointer_expression "*param_4" * identifier) = number_literal) ;) }) (else_clause "else {\n    iVar2 = FUN_00132fdc(param_1,0);\n    if (iVar2 == 0) {\n      uVar1 = (*(code *)PTR_sqlite3_column_text_001909a8)(param_1[0xc],param_2 + 1);\n      *param_3 = uVar1;\n      uVar1 = (*(code *)PTR_sqlite3_column_bytes_0019099c)(param_1[0xc],param_2 + 1);\n      *param_4 = uVar1;\n      return 0;\n    }\n  }" else (compound_statement "{\n    iVar2 = FUN_00132fdc(param_1,0);\n    if (iVar2 == 0) {\n      uVar1 = (*(code *)PTR_sqlite3_column_text_001909a8)(param_1[0xc],param_2 + 1);\n      *param_3 = uVar1;\n      uVar1 = (*(code *)PTR_sqlite3_column_bytes_0019099c)(param_1[0xc],param_2 + 1);\n      *param_4 = uVar1;\n      return 0;\n    }\n  }" { (expression_statement "iVar2 = FUN_00132fdc(param_1,0);" (assignment_expression "iVar2 = FUN_00132fdc(param_1,0)" identifier = (call_expression "FUN_00132fdc(param_1,0)" identifier (argument_list "(param_1,0)" ( identifier , number_literal )))) ;) (if_statement "if (iVar2 == 0) {\n      uVar1 = (*(code *)PTR_sqlite3_column_text_001909a8)(param_1[0xc],param_2 + 1);\n      *param_3 = uVar1;\n      uVar1 = (*(code *)PTR_sqlite3_column_bytes_0019099c)(param_1[0xc],param_2 + 1);\n      *param_4 = uVar1;\n      return 0;\n    }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n      uVar1 = (*(code *)PTR_sqlite3_column_text_001909a8)(param_1[0xc],param_2 + 1);\n      *param_3 = uVar1;\n      uVar1 = (*(code *)PTR_sqlite3_column_bytes_0019099c)(param_1[0xc],param_2 + 1);\n      *param_4 = uVar1;\n      return 0;\n    }" { (expression_statement "uVar1 = (*(code *)PTR_sqlite3_column_text_001909a8)(param_1[0xc],param_2 + 1);" (assignment_expression "uVar1 = (*(code *)PTR_sqlite3_column_text_001909a8)(param_1[0xc],param_2 + 1)" identifier = (call_expression "(*(code *)PTR_sqlite3_column_text_001909a8)(param_1[0xc],param_2 + 1)" (parenthesized_expression "(*(code *)PTR_sqlite3_column_text_001909a8)" ( (pointer_expression "*(code *)PTR_sqlite3_column_text_001909a8" * (cast_expression "(code *)PTR_sqlite3_column_text_001909a8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1[0xc],param_2 + 1)" ( (subscript_expression "param_1[0xc]" identifier [ number_literal ]) , (binary_expression "param_2 + 1" identifier + number_literal) )))) ;) (expression_statement "*param_3 = uVar1;" (assignment_expression "*param_3 = uVar1" (pointer_expression "*param_3" * identifier) = identifier) ;) (expression_statement "uVar1 = (*(code *)PTR_sqlite3_column_bytes_0019099c)(param_1[0xc],param_2 + 1);" (assignment_expression "uVar1 = (*(code *)PTR_sqlite3_column_bytes_0019099c)(param_1[0xc],param_2 + 1)" identifier = (call_expression "(*(code *)PTR_sqlite3_column_bytes_0019099c)(param_1[0xc],param_2 + 1)" (parenthesized_expression "(*(code *)PTR_sqlite3_column_bytes_0019099c)" ( (pointer_expression "*(code *)PTR_sqlite3_column_bytes_0019099c" * (cast_expression "(code *)PTR_sqlite3_column_bytes_0019099c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1[0xc],param_2 + 1)" ( (subscript_expression "param_1[0xc]" identifier [ number_literal ]) , (binary_expression "param_2 + 1" identifier + number_literal) )))) ;) (expression_statement "*param_4 = uVar1;" (assignment_expression "*param_4 = uVar1" (pointer_expression "*param_4" * identifier) = identifier) ;) (return_statement "return 0;" return number_literal ;) })) }))) (return_statement "return iVar2;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) + LIT) )))) == LIT) )) || (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (subscript_expression IDENT [ LIT ]) , (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (subscript_expression IDENT [ LIT ]) , (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (return_statement return LIT ;) })) }))) (return_statement return IDENT ;) })))
(function_definition "int FUN_00133148(int *param_1,int param_2,undefined4 *param_3,undefined4 *param_4)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  \n  if ((*(int *)(*(int *)(*param_1 + 0xc) + 0x20) == 1) || (param_1[6] == 3)) {\n    iVar2 = 0;\n    *param_3 = 0;\n    *param_4 = 0;\n  }\n  else {\n    iVar2 = FUN_00132fdc(param_1,0);\n    if (iVar2 == 0) {\n      uVar1 = (*(code *)PTR_sqlite3_column_text_001909a8)(param_1[0xc],param_2 + 1);\n      *param_3 = uVar1;\n      uVar1 = (*(code *)PTR_sqlite3_column_bytes_0019099c)(param_1[0xc],param_2 + 1);\n      *param_4 = uVar1;\n      return 0;\n    }\n  }\n  return iVar2;\n}" (primitive_type "int") (function_declarator "FUN_00133148(int *param_1,int param_2,undefined4 *param_3,undefined4 *param_4)" (identifier "FUN_00133148") (parameter_list "(int *param_1,int param_2,undefined4 *param_3,undefined4 *param_4)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 *param_3" (type_identifier "undefined4") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) (, ",") (parameter_declaration "undefined4 *param_4" (type_identifier "undefined4") (pointer_declarator "*param_4" (* "*") (identifier "param_4"))) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  int iVar2;\n  \n  if ((*(int *)(*(int *)(*param_1 + 0xc) + 0x20) == 1) || (param_1[6] == 3)) {\n    iVar2 = 0;\n    *param_3 = 0;\n    *param_4 = 0;\n  }\n  else {\n    iVar2 = FUN_00132fdc(param_1,0);\n    if (iVar2 == 0) {\n      uVar1 = (*(code *)PTR_sqlite3_column_text_001909a8)(param_1[0xc],param_2 + 1);\n      *param_3 = uVar1;\n      uVar1 = (*(code *)PTR_sqlite3_column_bytes_0019099c)(param_1[0xc],param_2 + 1);\n      *param_4 = uVar1;\n      return 0;\n    }\n  }\n  return iVar2;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (if_statement "if ((*(int *)(*(int *)(*param_1 + 0xc) + 0x20) == 1) || (param_1[6] == 3)) {\n    iVar2 = 0;\n    *param_3 = 0;\n    *param_4 = 0;\n  }\n  else {\n    iVar2 = FUN_00132fdc(param_1,0);\n    if (iVar2 == 0) {\n      uVar1 = (*(code *)PTR_sqlite3_column_text_001909a8)(param_1[0xc],param_2 + 1);\n      *param_3 = uVar1;\n      uVar1 = (*(code *)PTR_sqlite3_column_bytes_0019099c)(param_1[0xc],param_2 + 1);\n      *param_4 = uVar1;\n      return 0;\n    }\n  }" (if "if") (parenthesized_expression "((*(int *)(*(int *)(*param_1 + 0xc) + 0x20) == 1) || (param_1[6] == 3))" (( "(") (binary_expression "(*(int *)(*(int *)(*param_1 + 0xc) + 0x20) == 1) || (param_1[6] == 3)" (parenthesized_expression "(*(int *)(*(int *)(*param_1 + 0xc) + 0x20) == 1)" (( "(") (binary_expression "*(int *)(*(int *)(*param_1 + 0xc) + 0x20) == 1" (pointer_expression "*(int *)(*(int *)(*param_1 + 0xc) + 0x20)" (* "*") (cast_expression "(int *)(*(int *)(*param_1 + 0xc) + 0x20)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(*param_1 + 0xc) + 0x20)" (( "(") (binary_expression "*(int *)(*param_1 + 0xc) + 0x20" (pointer_expression "*(int *)(*param_1 + 0xc)" (* "*") (cast_expression "(int *)(*param_1 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1 + 0xc)" (( "(") (binary_expression "*param_1 + 0xc" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "0xc")) () ")")))) (+ "+") (number_literal "0x20")) () ")")))) (== "==") (number_literal "1")) () ")")) (|| "||") (parenthesized_expression "(param_1[6] == 3)" (( "(") (binary_expression "param_1[6] == 3" (subscript_expression "param_1[6]" (identifier "param_1") ([ "[") (number_literal "6") (] "]")) (== "==") (number_literal "3")) () ")"))) () ")")) (compound_statement "{\n    iVar2 = 0;\n    *param_3 = 0;\n    *param_4 = 0;\n  }" ({ "{") (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" (identifier "iVar2") (= "=") (number_literal "0")) (; ";")) (expression_statement "*param_3 = 0;" (assignment_expression "*param_3 = 0" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*param_4 = 0;" (assignment_expression "*param_4 = 0" (pointer_expression "*param_4" (* "*") (identifier "param_4")) (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n    iVar2 = FUN_00132fdc(param_1,0);\n    if (iVar2 == 0) {\n      uVar1 = (*(code *)PTR_sqlite3_column_text_001909a8)(param_1[0xc],param_2 + 1);\n      *param_3 = uVar1;\n      uVar1 = (*(code *)PTR_sqlite3_column_bytes_0019099c)(param_1[0xc],param_2 + 1);\n      *param_4 = uVar1;\n      return 0;\n    }\n  }" (else "else") (compound_statement "{\n    iVar2 = FUN_00132fdc(param_1,0);\n    if (iVar2 == 0) {\n      uVar1 = (*(code *)PTR_sqlite3_column_text_001909a8)(param_1[0xc],param_2 + 1);\n      *param_3 = uVar1;\n      uVar1 = (*(code *)PTR_sqlite3_column_bytes_0019099c)(param_1[0xc],param_2 + 1);\n      *param_4 = uVar1;\n      return 0;\n    }\n  }" ({ "{") (expression_statement "iVar2 = FUN_00132fdc(param_1,0);" (assignment_expression "iVar2 = FUN_00132fdc(param_1,0)" (identifier "iVar2") (= "=") (call_expression "FUN_00132fdc(param_1,0)" (identifier "FUN_00132fdc") (argument_list "(param_1,0)" (( "(") (identifier "param_1") (, ",") (number_literal "0") () ")")))) (; ";")) (if_statement "if (iVar2 == 0) {\n      uVar1 = (*(code *)PTR_sqlite3_column_text_001909a8)(param_1[0xc],param_2 + 1);\n      *param_3 = uVar1;\n      uVar1 = (*(code *)PTR_sqlite3_column_bytes_0019099c)(param_1[0xc],param_2 + 1);\n      *param_4 = uVar1;\n      return 0;\n    }" (if "if") (parenthesized_expression "(iVar2 == 0)" (( "(") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      uVar1 = (*(code *)PTR_sqlite3_column_text_001909a8)(param_1[0xc],param_2 + 1);\n      *param_3 = uVar1;\n      uVar1 = (*(code *)PTR_sqlite3_column_bytes_0019099c)(param_1[0xc],param_2 + 1);\n      *param_4 = uVar1;\n      return 0;\n    }" ({ "{") (expression_statement "uVar1 = (*(code *)PTR_sqlite3_column_text_001909a8)(param_1[0xc],param_2 + 1);" (assignment_expression "uVar1 = (*(code *)PTR_sqlite3_column_text_001909a8)(param_1[0xc],param_2 + 1)" (identifier "uVar1") (= "=") (call_expression "(*(code *)PTR_sqlite3_column_text_001909a8)(param_1[0xc],param_2 + 1)" (parenthesized_expression "(*(code *)PTR_sqlite3_column_text_001909a8)" (( "(") (pointer_expression "*(code *)PTR_sqlite3_column_text_001909a8" (* "*") (cast_expression "(code *)PTR_sqlite3_column_text_001909a8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sqlite3_column_text_001909a8"))) () ")")) (argument_list "(param_1[0xc],param_2 + 1)" (( "(") (subscript_expression "param_1[0xc]" (identifier "param_1") ([ "[") (number_literal "0xc") (] "]")) (, ",") (binary_expression "param_2 + 1" (identifier "param_2") (+ "+") (number_literal "1")) () ")")))) (; ";")) (expression_statement "*param_3 = uVar1;" (assignment_expression "*param_3 = uVar1" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (= "=") (identifier "uVar1")) (; ";")) (expression_statement "uVar1 = (*(code *)PTR_sqlite3_column_bytes_0019099c)(param_1[0xc],param_2 + 1);" (assignment_expression "uVar1 = (*(code *)PTR_sqlite3_column_bytes_0019099c)(param_1[0xc],param_2 + 1)" (identifier "uVar1") (= "=") (call_expression "(*(code *)PTR_sqlite3_column_bytes_0019099c)(param_1[0xc],param_2 + 1)" (parenthesized_expression "(*(code *)PTR_sqlite3_column_bytes_0019099c)" (( "(") (pointer_expression "*(code *)PTR_sqlite3_column_bytes_0019099c" (* "*") (cast_expression "(code *)PTR_sqlite3_column_bytes_0019099c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sqlite3_column_bytes_0019099c"))) () ")")) (argument_list "(param_1[0xc],param_2 + 1)" (( "(") (subscript_expression "param_1[0xc]" (identifier "param_1") ([ "[") (number_literal "0xc") (] "]")) (, ",") (binary_expression "param_2 + 1" (identifier "param_2") (+ "+") (number_literal "1")) () ")")))) (; ";")) (expression_statement "*param_4 = uVar1;" (assignment_expression "*param_4 = uVar1" (pointer_expression "*param_4" (* "*") (identifier "param_4")) (= "=") (identifier "uVar1")) (; ";")) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (} "}")))) (return_statement "return iVar2;" (return "return") (identifier "iVar2") (; ";")) (} "}")))
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))) right: (number_literal))))) right: (number_literal))) right: (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: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (subscript_expression argument: (identifier) index: (number_literal)) (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (subscript_expression argument: (identifier) index: (number_literal)) (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (return_statement (number_literal))))))) (return_statement (identifier)))))

int MASKED(int *param_1,int param_2,undefined4 *param_3,undefined4 *param_4)

{
  undefined4 uVar1;
  int iVar2;
  
  if ((*(int *)(*(int *)(*param_1 + 0xc) + 0x20) == 1) || (param_1[6] == 3)) {
    iVar2 = 0;
    *param_3 = 0;
    *param_4 = 0;
  }
  else {
    iVar2 = FUN_00132fdc(param_1,0);
    if (iVar2 == 0) {
      uVar1 = (*(code *)PTR_sqlite3_column_text_001909a8)(param_1[0xc],param_2 + 1);
      *param_3 = uVar1;
      uVar1 = (*(code *)PTR_sqlite3_column_bytes_0019099c)(param_1[0xc],param_2 + 1);
      *param_4 = uVar1;
      return 0;
    }
  }
  return iVar2;
}

