
int sessionDiffOld(void *pCtx,int iVal,sqlite3_value **ppVal)

{
  sqlite3_value *psVar1;
  SessionDiffCtx *p;
  
                    /* WARNING: Load size is inaccurate */
  psVar1 = sqlite3_column_value(*pCtx,iVal + *(int *)((int)pCtx + 4));
  *ppVal = psVar1;
  return 0;
}



undefined4 FUN_00047908(undefined4 *param_1,int param_2,undefined4 *param_3)

{
  undefined4 uVar1;
  
  uVar1 = sqlite3_column_value(*param_1,param_2 + param_1[1]);
  *param_3 = uVar1;
  return 0;
}


lui gp,0x12
addiu gp,gp,-0x4358
addu gp,gp,t9
addiu sp,sp,-0x20
lw t9,-0x7f58(gp)
sw s0,0x18(sp)
or s0,a2,zero
sw ra,0x1c(sp)
sw gp,0x10(sp)
lw v0,0x4(a0)
lw a0,0x0(a0)
bal 0x00047898
_addu a1,a1,v0
sw v0,0x0(s0)
or v0,zero,zero
lw ra,0x1c(sp)
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x20
(translation_unit "undefined4 FUN_00047908(undefined4 *param_1,int param_2,undefined4 *param_3)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = sqlite3_column_value(*param_1,param_2 + param_1[1]);\n  *param_3 = uVar1;\n  return 0;\n}\n\n" (function_definition "undefined4 FUN_00047908(undefined4 *param_1,int param_2,undefined4 *param_3)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = sqlite3_column_value(*param_1,param_2 + param_1[1]);\n  *param_3 = uVar1;\n  return 0;\n}" type_identifier (function_declarator "FUN_00047908(undefined4 *param_1,int param_2,undefined4 *param_3)" identifier (parameter_list "(undefined4 *param_1,int param_2,undefined4 *param_3)" ( (parameter_declaration "undefined4 *param_1" type_identifier (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)) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  uVar1 = sqlite3_column_value(*param_1,param_2 + param_1[1]);\n  *param_3 = uVar1;\n  return 0;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = sqlite3_column_value(*param_1,param_2 + param_1[1]);" (assignment_expression "uVar1 = sqlite3_column_value(*param_1,param_2 + param_1[1])" identifier = (call_expression "sqlite3_column_value(*param_1,param_2 + param_1[1])" identifier (argument_list "(*param_1,param_2 + param_1[1])" ( (pointer_expression "*param_1" * identifier) , (binary_expression "param_2 + param_1[1]" identifier + (subscript_expression "param_1[1]" identifier [ number_literal ])) )))) ;) (expression_statement "*param_3 = uVar1;" (assignment_expression "*param_3 = uVar1" (pointer_expression "*param_3" * identifier) = identifier) ;) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "int sessionDiffOld(void *pCtx,int iVal,sqlite3_value **ppVal)\n\n{\n  sqlite3_value *psVar1;\n  SessionDiffCtx *p;\n  \n                    /* WARNING: Load size is inaccurate */\n  psVar1 = sqlite3_column_value(*pCtx,iVal + *(int *)((int)pCtx + 4));\n  *ppVal = psVar1;\n  return 0;\n}\n\n" (function_definition "int sessionDiffOld(void *pCtx,int iVal,sqlite3_value **ppVal)\n\n{\n  sqlite3_value *psVar1;\n  SessionDiffCtx *p;\n  \n                    /* WARNING: Load size is inaccurate */\n  psVar1 = sqlite3_column_value(*pCtx,iVal + *(int *)((int)pCtx + 4));\n  *ppVal = psVar1;\n  return 0;\n}" primitive_type (function_declarator "sessionDiffOld(void *pCtx,int iVal,sqlite3_value **ppVal)" identifier (parameter_list "(void *pCtx,int iVal,sqlite3_value **ppVal)" ( (parameter_declaration "void *pCtx" primitive_type (pointer_declarator "*pCtx" * identifier)) , (parameter_declaration "int iVal" primitive_type identifier) , (parameter_declaration "sqlite3_value **ppVal" type_identifier (pointer_declarator "**ppVal" * (pointer_declarator "*ppVal" * identifier))) ))) (compound_statement "{\n  sqlite3_value *psVar1;\n  SessionDiffCtx *p;\n  \n                    /* WARNING: Load size is inaccurate */\n  psVar1 = sqlite3_column_value(*pCtx,iVal + *(int *)((int)pCtx + 4));\n  *ppVal = psVar1;\n  return 0;\n}" { (declaration "sqlite3_value *psVar1;" type_identifier (pointer_declarator "*psVar1" * identifier) ;) (declaration "SessionDiffCtx *p;" type_identifier (pointer_declarator "*p" * identifier) ;) comment (expression_statement "psVar1 = sqlite3_column_value(*pCtx,iVal + *(int *)((int)pCtx + 4));" (assignment_expression "psVar1 = sqlite3_column_value(*pCtx,iVal + *(int *)((int)pCtx + 4))" identifier = (call_expression "sqlite3_column_value(*pCtx,iVal + *(int *)((int)pCtx + 4))" identifier (argument_list "(*pCtx,iVal + *(int *)((int)pCtx + 4))" ( (pointer_expression "*pCtx" * identifier) , (binary_expression "iVal + *(int *)((int)pCtx + 4)" identifier + (pointer_expression "*(int *)((int)pCtx + 4)" * (cast_expression "(int *)((int)pCtx + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pCtx + 4)" ( (binary_expression "(int)pCtx + 4" (cast_expression "(int)pCtx" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) )))) ;) (expression_statement "*ppVal = psVar1;" (assignment_expression "*ppVal = psVar1" (pointer_expression "*ppVal" * identifier) = identifier) ;) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "undefined4 FUN_00047908(undefined4 *param_1,int param_2,undefined4 *param_3)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = sqlite3_column_value(*param_1,param_2 + param_1[1]);\n  *param_3 = uVar1;\n  return 0;\n}\n\n" (function_definition "undefined4 FUN_00047908(undefined4 *param_1,int param_2,undefined4 *param_3)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = sqlite3_column_value(*param_1,param_2 + param_1[1]);\n  *param_3 = uVar1;\n  return 0;\n}" type_identifier (function_declarator "FUN_00047908(undefined4 *param_1,int param_2,undefined4 *param_3)" identifier (parameter_list "(undefined4 *param_1,int param_2,undefined4 *param_3)" ( (parameter_declaration "undefined4 *param_1" type_identifier (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)) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  uVar1 = sqlite3_column_value(*param_1,param_2 + param_1[1]);\n  *param_3 = uVar1;\n  return 0;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = sqlite3_column_value(*param_1,param_2 + param_1[1]);" (assignment_expression "uVar1 = sqlite3_column_value(*param_1,param_2 + param_1[1])" identifier = (call_expression "sqlite3_column_value(*param_1,param_2 + param_1[1])" identifier (argument_list "(*param_1,param_2 + param_1[1])" ( (pointer_expression "*param_1" * identifier) , (binary_expression "param_2 + param_1[1]" identifier + (subscript_expression "param_1[1]" identifier [ number_literal ])) )))) ;) (expression_statement "*param_3 = uVar1;" (assignment_expression "*param_3 = uVar1" (pointer_expression "*param_3" * identifier) = identifier) ;) (return_statement "return 0;" return number_literal ;) })))
(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)) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * IDENT) , (binary_expression IDENT + (subscript_expression IDENT [ LIT ])) )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (return_statement return LIT ;) })))
(function_definition "undefined4 FUN_00047908(undefined4 *param_1,int param_2,undefined4 *param_3)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = sqlite3_column_value(*param_1,param_2 + param_1[1]);\n  *param_3 = uVar1;\n  return 0;\n}" (type_identifier "undefined4") (function_declarator "FUN_00047908(undefined4 *param_1,int param_2,undefined4 *param_3)" (identifier "FUN_00047908") (parameter_list "(undefined4 *param_1,int param_2,undefined4 *param_3)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (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"))) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  \n  uVar1 = sqlite3_column_value(*param_1,param_2 + param_1[1]);\n  *param_3 = uVar1;\n  return 0;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (expression_statement "uVar1 = sqlite3_column_value(*param_1,param_2 + param_1[1]);" (assignment_expression "uVar1 = sqlite3_column_value(*param_1,param_2 + param_1[1])" (identifier "uVar1") (= "=") (call_expression "sqlite3_column_value(*param_1,param_2 + param_1[1])" (identifier "sqlite3_column_value") (argument_list "(*param_1,param_2 + param_1[1])" (( "(") (pointer_expression "*param_1" (* "*") (identifier "param_1")) (, ",") (binary_expression "param_2 + param_1[1]" (identifier "param_2") (+ "+") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]"))) () ")")))) (; ";")) (expression_statement "*param_3 = uVar1;" (assignment_expression "*param_3 = uVar1" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (= "=") (identifier "uVar1")) (; ";")) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))

int function_1(void *pCtx,int var_2,type_1 **ppVal)

{
  type_1 *psVar1;
  type_2 *p;
  
                    /* WARNING: Load size is inaccurate */
  psVar1 = var_1(*pCtx,var_2 + *(int *)((int)pCtx + 4));
  *ppVal = psVar1;
  return 0;
}


(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier)) (binary_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (return_statement (number_literal)))))

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

{
  undefined4 uVar1;
  
  uVar1 = sqlite3_column_value(*param_1,param_2 + param_1[1]);
  *param_3 = uVar1;
  return 0;
}

