
int fts5FindFunctionMethod
              (sqlite3_vtab *pVtab,int nUnused,char *zName,
              _func_void_sqlite3_context_ptr_int_sqlite3_value_ptr_ptr **pxFunc,void **ppArg)

{
  Fts5Auxiliary *pFVar1;
  Fts5FullTable *pTab;
  
  pFVar1 = fts5FindAuxiliary((Fts5FullTable *)pVtab[2].pModule,zName);
  if (pFVar1 != (Fts5Auxiliary *)0x0) {
    *pxFunc = (_func_void_sqlite3_context_ptr_int_sqlite3_value_ptr_ptr *)
              (PTR_LAB_00190bcc + -0x2bb4);
    *ppArg = pFVar1;
    return 1;
  }
  return 0;
}



undefined4
FUN_00063d14(int param_1,undefined4 param_2,undefined4 param_3,undefined4 *param_4,int *param_5)

{
  int iVar1;
  
  iVar1 = FUN_00063c9c(*(undefined4 *)(param_1 + 0x18),param_3);
  if (iVar1 != 0) {
    *param_4 = PTR_LAB_00190bcc + -0x2bb4;
    *param_5 = iVar1;
    return 1;
  }
  return 0;
}


lui gp,0x13
addiu gp,gp,0x4c0c
addu gp,gp,t9
addiu sp,sp,-0x20
lw t9,-0x7d7c(gp)
or a1,a2,zero
or t3,a3,zero
sw gp,0x10(sp)
addiu t9,t9,0x3c9c
sw ra,0x1c(sp)
bal 0x00063c9c
_lw a0,0x18(a0)
beq v0,zero,0x00063d74
_lw gp,0x10(sp)
lw v1,-0x7d54(gp)
li a0,0x1
addiu v1,v1,-0x2bb4
sw v1,0x0(t3)
lw v1,0x30(sp)
sw v0,0x0(v1)
or v0,a0,zero
lw ra,0x1c(sp)
jr ra
_addiu sp,sp,0x20
lw ra,0x1c(sp)
or a0,zero,zero
addiu sp,sp,0x20
jr ra
_or v0,a0,zero
(translation_unit "undefined4\nFUN_00063d14(int param_1,undefined4 param_2,undefined4 param_3,undefined4 *param_4,int *param_5)\n\n{\n  int iVar1;\n  \n  iVar1 = FUN_00063c9c(*(undefined4 *)(param_1 + 0x18),param_3);\n  if (iVar1 != 0) {\n    *param_4 = PTR_LAB_00190bcc + -0x2bb4;\n    *param_5 = iVar1;\n    return 1;\n  }\n  return 0;\n}\n\n" (function_definition "undefined4\nFUN_00063d14(int param_1,undefined4 param_2,undefined4 param_3,undefined4 *param_4,int *param_5)\n\n{\n  int iVar1;\n  \n  iVar1 = FUN_00063c9c(*(undefined4 *)(param_1 + 0x18),param_3);\n  if (iVar1 != 0) {\n    *param_4 = PTR_LAB_00190bcc + -0x2bb4;\n    *param_5 = iVar1;\n    return 1;\n  }\n  return 0;\n}" type_identifier (function_declarator "FUN_00063d14(int param_1,undefined4 param_2,undefined4 param_3,undefined4 *param_4,int *param_5)" identifier (parameter_list "(int param_1,undefined4 param_2,undefined4 param_3,undefined4 *param_4,int *param_5)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined4 *param_4" type_identifier (pointer_declarator "*param_4" * identifier)) , (parameter_declaration "int *param_5" primitive_type (pointer_declarator "*param_5" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = FUN_00063c9c(*(undefined4 *)(param_1 + 0x18),param_3);\n  if (iVar1 != 0) {\n    *param_4 = PTR_LAB_00190bcc + -0x2bb4;\n    *param_5 = iVar1;\n    return 1;\n  }\n  return 0;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = FUN_00063c9c(*(undefined4 *)(param_1 + 0x18),param_3);" (assignment_expression "iVar1 = FUN_00063c9c(*(undefined4 *)(param_1 + 0x18),param_3)" identifier = (call_expression "FUN_00063c9c(*(undefined4 *)(param_1 + 0x18),param_3)" identifier (argument_list "(*(undefined4 *)(param_1 + 0x18),param_3)" ( (pointer_expression "*(undefined4 *)(param_1 + 0x18)" * (cast_expression "(undefined4 *)(param_1 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) )))) , identifier )))) ;) (if_statement "if (iVar1 != 0) {\n    *param_4 = PTR_LAB_00190bcc + -0x2bb4;\n    *param_5 = iVar1;\n    return 1;\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    *param_4 = PTR_LAB_00190bcc + -0x2bb4;\n    *param_5 = iVar1;\n    return 1;\n  }" { (expression_statement "*param_4 = PTR_LAB_00190bcc + -0x2bb4;" (assignment_expression "*param_4 = PTR_LAB_00190bcc + -0x2bb4" (pointer_expression "*param_4" * identifier) = (binary_expression "PTR_LAB_00190bcc + -0x2bb4" identifier + number_literal)) ;) (expression_statement "*param_5 = iVar1;" (assignment_expression "*param_5 = iVar1" (pointer_expression "*param_5" * identifier) = identifier) ;) (return_statement "return 1;" return number_literal ;) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "int fts5FindFunctionMethod\n              (sqlite3_vtab *pVtab,int nUnused,char *zName,\n              _func_void_sqlite3_context_ptr_int_sqlite3_value_ptr_ptr **pxFunc,void **ppArg)\n\n{\n  Fts5Auxiliary *pFVar1;\n  Fts5FullTable *pTab;\n  \n  pFVar1 = fts5FindAuxiliary((Fts5FullTable *)pVtab[2].pModule,zName);\n  if (pFVar1 != (Fts5Auxiliary *)0x0) {\n    *pxFunc = (_func_void_sqlite3_context_ptr_int_sqlite3_value_ptr_ptr *)\n              (PTR_LAB_00190bcc + -0x2bb4);\n    *ppArg = pFVar1;\n    return 1;\n  }\n  return 0;\n}\n\n" (function_definition "int fts5FindFunctionMethod\n              (sqlite3_vtab *pVtab,int nUnused,char *zName,\n              _func_void_sqlite3_context_ptr_int_sqlite3_value_ptr_ptr **pxFunc,void **ppArg)\n\n{\n  Fts5Auxiliary *pFVar1;\n  Fts5FullTable *pTab;\n  \n  pFVar1 = fts5FindAuxiliary((Fts5FullTable *)pVtab[2].pModule,zName);\n  if (pFVar1 != (Fts5Auxiliary *)0x0) {\n    *pxFunc = (_func_void_sqlite3_context_ptr_int_sqlite3_value_ptr_ptr *)\n              (PTR_LAB_00190bcc + -0x2bb4);\n    *ppArg = pFVar1;\n    return 1;\n  }\n  return 0;\n}" primitive_type (function_declarator "fts5FindFunctionMethod\n              (sqlite3_vtab *pVtab,int nUnused,char *zName,\n              _func_void_sqlite3_context_ptr_int_sqlite3_value_ptr_ptr **pxFunc,void **ppArg)" identifier (parameter_list "(sqlite3_vtab *pVtab,int nUnused,char *zName,\n              _func_void_sqlite3_context_ptr_int_sqlite3_value_ptr_ptr **pxFunc,void **ppArg)" ( (parameter_declaration "sqlite3_vtab *pVtab" type_identifier (pointer_declarator "*pVtab" * identifier)) , (parameter_declaration "int nUnused" primitive_type identifier) , (parameter_declaration "char *zName" primitive_type (pointer_declarator "*zName" * identifier)) , (parameter_declaration "_func_void_sqlite3_context_ptr_int_sqlite3_value_ptr_ptr **pxFunc" type_identifier (pointer_declarator "**pxFunc" * (pointer_declarator "*pxFunc" * identifier))) , (parameter_declaration "void **ppArg" primitive_type (pointer_declarator "**ppArg" * (pointer_declarator "*ppArg" * identifier))) ))) (compound_statement "{\n  Fts5Auxiliary *pFVar1;\n  Fts5FullTable *pTab;\n  \n  pFVar1 = fts5FindAuxiliary((Fts5FullTable *)pVtab[2].pModule,zName);\n  if (pFVar1 != (Fts5Auxiliary *)0x0) {\n    *pxFunc = (_func_void_sqlite3_context_ptr_int_sqlite3_value_ptr_ptr *)\n              (PTR_LAB_00190bcc + -0x2bb4);\n    *ppArg = pFVar1;\n    return 1;\n  }\n  return 0;\n}" { (declaration "Fts5Auxiliary *pFVar1;" type_identifier (pointer_declarator "*pFVar1" * identifier) ;) (declaration "Fts5FullTable *pTab;" type_identifier (pointer_declarator "*pTab" * identifier) ;) (expression_statement "pFVar1 = fts5FindAuxiliary((Fts5FullTable *)pVtab[2].pModule,zName);" (assignment_expression "pFVar1 = fts5FindAuxiliary((Fts5FullTable *)pVtab[2].pModule,zName)" identifier = (call_expression "fts5FindAuxiliary((Fts5FullTable *)pVtab[2].pModule,zName)" identifier (argument_list "((Fts5FullTable *)pVtab[2].pModule,zName)" ( (cast_expression "(Fts5FullTable *)pVtab[2].pModule" ( (type_descriptor "Fts5FullTable *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "pVtab[2].pModule" (subscript_expression "pVtab[2]" identifier [ number_literal ]) . field_identifier)) , identifier )))) ;) (if_statement "if (pFVar1 != (Fts5Auxiliary *)0x0) {\n    *pxFunc = (_func_void_sqlite3_context_ptr_int_sqlite3_value_ptr_ptr *)\n              (PTR_LAB_00190bcc + -0x2bb4);\n    *ppArg = pFVar1;\n    return 1;\n  }" if (parenthesized_expression "(pFVar1 != (Fts5Auxiliary *)0x0)" ( (binary_expression "pFVar1 != (Fts5Auxiliary *)0x0" identifier != (cast_expression "(Fts5Auxiliary *)0x0" ( (type_descriptor "Fts5Auxiliary *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    *pxFunc = (_func_void_sqlite3_context_ptr_int_sqlite3_value_ptr_ptr *)\n              (PTR_LAB_00190bcc + -0x2bb4);\n    *ppArg = pFVar1;\n    return 1;\n  }" { (expression_statement "*pxFunc = (_func_void_sqlite3_context_ptr_int_sqlite3_value_ptr_ptr *)\n              (PTR_LAB_00190bcc + -0x2bb4);" (assignment_expression "*pxFunc = (_func_void_sqlite3_context_ptr_int_sqlite3_value_ptr_ptr *)\n              (PTR_LAB_00190bcc + -0x2bb4)" (pointer_expression "*pxFunc" * identifier) = (cast_expression "(_func_void_sqlite3_context_ptr_int_sqlite3_value_ptr_ptr *)\n              (PTR_LAB_00190bcc + -0x2bb4)" ( (type_descriptor "_func_void_sqlite3_context_ptr_int_sqlite3_value_ptr_ptr *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_00190bcc + -0x2bb4)" ( (binary_expression "PTR_LAB_00190bcc + -0x2bb4" identifier + number_literal) )))) ;) (expression_statement "*ppArg = pFVar1;" (assignment_expression "*ppArg = pFVar1" (pointer_expression "*ppArg" * identifier) = identifier) ;) (return_statement "return 1;" return number_literal ;) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "undefined4\nFUN_00063d14(int param_1,undefined4 param_2,undefined4 param_3,undefined4 *param_4,int *param_5)\n\n{\n  int iVar1;\n  \n  iVar1 = FUN_00063c9c(*(undefined4 *)(param_1 + 0x18),param_3);\n  if (iVar1 != 0) {\n    *param_4 = PTR_LAB_00190bcc + -0x2bb4;\n    *param_5 = iVar1;\n    return 1;\n  }\n  return 0;\n}\n\n" (function_definition "undefined4\nFUN_00063d14(int param_1,undefined4 param_2,undefined4 param_3,undefined4 *param_4,int *param_5)\n\n{\n  int iVar1;\n  \n  iVar1 = FUN_00063c9c(*(undefined4 *)(param_1 + 0x18),param_3);\n  if (iVar1 != 0) {\n    *param_4 = PTR_LAB_00190bcc + -0x2bb4;\n    *param_5 = iVar1;\n    return 1;\n  }\n  return 0;\n}" type_identifier (function_declarator "FUN_00063d14(int param_1,undefined4 param_2,undefined4 param_3,undefined4 *param_4,int *param_5)" identifier (parameter_list "(int param_1,undefined4 param_2,undefined4 param_3,undefined4 *param_4,int *param_5)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined4 *param_4" type_identifier (pointer_declarator "*param_4" * identifier)) , (parameter_declaration "int *param_5" primitive_type (pointer_declarator "*param_5" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = FUN_00063c9c(*(undefined4 *)(param_1 + 0x18),param_3);\n  if (iVar1 != 0) {\n    *param_4 = PTR_LAB_00190bcc + -0x2bb4;\n    *param_5 = iVar1;\n    return 1;\n  }\n  return 0;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = FUN_00063c9c(*(undefined4 *)(param_1 + 0x18),param_3);" (assignment_expression "iVar1 = FUN_00063c9c(*(undefined4 *)(param_1 + 0x18),param_3)" identifier = (call_expression "FUN_00063c9c(*(undefined4 *)(param_1 + 0x18),param_3)" identifier (argument_list "(*(undefined4 *)(param_1 + 0x18),param_3)" ( (pointer_expression "*(undefined4 *)(param_1 + 0x18)" * (cast_expression "(undefined4 *)(param_1 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) )))) , identifier )))) ;) (if_statement "if (iVar1 != 0) {\n    *param_4 = PTR_LAB_00190bcc + -0x2bb4;\n    *param_5 = iVar1;\n    return 1;\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    *param_4 = PTR_LAB_00190bcc + -0x2bb4;\n    *param_5 = iVar1;\n    return 1;\n  }" { (expression_statement "*param_4 = PTR_LAB_00190bcc + -0x2bb4;" (assignment_expression "*param_4 = PTR_LAB_00190bcc + -0x2bb4" (pointer_expression "*param_4" * identifier) = (binary_expression "PTR_LAB_00190bcc + -0x2bb4" identifier + number_literal)) ;) (expression_statement "*param_5 = iVar1;" (assignment_expression "*param_5 = iVar1" (pointer_expression "*param_5" * identifier) = identifier) ;) (return_statement "return 1;" return number_literal ;) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (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) )))) , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (return_statement return LIT ;) })) (return_statement return LIT ;) })))
(function_definition "undefined4\nFUN_00063d14(int param_1,undefined4 param_2,undefined4 param_3,undefined4 *param_4,int *param_5)\n\n{\n  int iVar1;\n  \n  iVar1 = FUN_00063c9c(*(undefined4 *)(param_1 + 0x18),param_3);\n  if (iVar1 != 0) {\n    *param_4 = PTR_LAB_00190bcc + -0x2bb4;\n    *param_5 = iVar1;\n    return 1;\n  }\n  return 0;\n}" (type_identifier "undefined4") (function_declarator "FUN_00063d14(int param_1,undefined4 param_2,undefined4 param_3,undefined4 *param_4,int *param_5)" (identifier "FUN_00063d14") (parameter_list "(int param_1,undefined4 param_2,undefined4 param_3,undefined4 *param_4,int *param_5)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) (, ",") (parameter_declaration "undefined4 *param_4" (type_identifier "undefined4") (pointer_declarator "*param_4" (* "*") (identifier "param_4"))) (, ",") (parameter_declaration "int *param_5" (primitive_type "int") (pointer_declarator "*param_5" (* "*") (identifier "param_5"))) () ")"))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = FUN_00063c9c(*(undefined4 *)(param_1 + 0x18),param_3);\n  if (iVar1 != 0) {\n    *param_4 = PTR_LAB_00190bcc + -0x2bb4;\n    *param_5 = iVar1;\n    return 1;\n  }\n  return 0;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (expression_statement "iVar1 = FUN_00063c9c(*(undefined4 *)(param_1 + 0x18),param_3);" (assignment_expression "iVar1 = FUN_00063c9c(*(undefined4 *)(param_1 + 0x18),param_3)" (identifier "iVar1") (= "=") (call_expression "FUN_00063c9c(*(undefined4 *)(param_1 + 0x18),param_3)" (identifier "FUN_00063c9c") (argument_list "(*(undefined4 *)(param_1 + 0x18),param_3)" (( "(") (pointer_expression "*(undefined4 *)(param_1 + 0x18)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x18)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x18)" (( "(") (binary_expression "param_1 + 0x18" (identifier "param_1") (+ "+") (number_literal "0x18")) () ")")))) (, ",") (identifier "param_3") () ")")))) (; ";")) (if_statement "if (iVar1 != 0) {\n    *param_4 = PTR_LAB_00190bcc + -0x2bb4;\n    *param_5 = iVar1;\n    return 1;\n  }" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    *param_4 = PTR_LAB_00190bcc + -0x2bb4;\n    *param_5 = iVar1;\n    return 1;\n  }" ({ "{") (expression_statement "*param_4 = PTR_LAB_00190bcc + -0x2bb4;" (assignment_expression "*param_4 = PTR_LAB_00190bcc + -0x2bb4" (pointer_expression "*param_4" (* "*") (identifier "param_4")) (= "=") (binary_expression "PTR_LAB_00190bcc + -0x2bb4" (identifier "PTR_LAB_00190bcc") (+ "+") (number_literal "-0x2bb4"))) (; ";")) (expression_statement "*param_5 = iVar1;" (assignment_expression "*param_5 = iVar1" (pointer_expression "*param_5" (* "*") (identifier "param_5")) (= "=") (identifier "iVar1")) (; ";")) (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))

int function_1
              (type_1 *pVtab,int nUnused,char *zName,
              type_2 **pxFunc,void **ppArg)

{
  type_3 *var_2;
  type_4 *pTab;
  
  var_2 = var_1((type_4 *)pVtab[2].pModule,zName);
  if (var_2 != (type_3 *)0x0) {
    *pxFunc = (type_2 *)
              (var_3 + -0x2bb4);
    *ppArg = var_2;
    return 1;
  }
  return 0;
}


(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (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))))) (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (return_statement (number_literal)))) (return_statement (number_literal)))))

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

{
  int iVar1;
  
  iVar1 = FUN_00063c9c(*(undefined4 *)(param_1 + 0x18),param_3);
  if (iVar1 != 0) {
    *param_4 = PTR_LAB_00190bcc + -0x2bb4;
    *param_5 = iVar1;
    return 1;
  }
  return 0;
}

