
void btreeParseCellPtrNoPayload(MemPage *pPage,u8 *pCell,CellInfo *pInfo)

{
  undefined3 extraout_var;
  u8 uVar1;
  
  uVar1 = sqlite3GetVarint(pCell + 4,(u64 *)pInfo);
  pInfo->nPayload = 0;
  pInfo->nLocal = 0;
  pInfo->nSize = (short)CONCAT31(extraout_var,uVar1) + 4;
  pInfo->pPayload = (u8 *)0x0;
  return;
}



void FUN_0001ee7c(undefined4 param_1,int param_2,int param_3)

{
  short sVar1;
  
  sVar1 = FUN_0001dea8(param_2 + 4,param_3);
  *(undefined4 *)(param_3 + 0xc) = 0;
  *(undefined2 *)(param_3 + 0x10) = 0;
  *(short *)(param_3 + 0x12) = sVar1 + 4;
  *(undefined4 *)(param_3 + 8) = 0;
  return;
}


lui gp,0x14
addiu gp,gp,0x5734
addu gp,gp,t9
lw t9,-0x7f44(gp)
addiu sp,sp,-0x20
addiu a0,a1,0x4
or a1,a2,zero
addiu t9,t9,-0x2158
sw ra,0x1c(sp)
sw gp,0x10(sp)
bal 0x0001dea8
_or t4,a2,zero
addiu v0,v0,0x4
sw zero,0xc(t4)
sh zero,0x10(t4)
sh v0,0x12(t4)
sw zero,0x8(t4)
lw ra,0x1c(sp)
jr ra
_addiu sp,sp,0x20
(translation_unit "void FUN_0001ee7c(undefined4 param_1,int param_2,int param_3)\n\n{\n  short sVar1;\n  \n  sVar1 = FUN_0001dea8(param_2 + 4,param_3);\n  *(undefined4 *)(param_3 + 0xc) = 0;\n  *(undefined2 *)(param_3 + 0x10) = 0;\n  *(short *)(param_3 + 0x12) = sVar1 + 4;\n  *(undefined4 *)(param_3 + 8) = 0;\n  return;\n}\n\n" (function_definition "void FUN_0001ee7c(undefined4 param_1,int param_2,int param_3)\n\n{\n  short sVar1;\n  \n  sVar1 = FUN_0001dea8(param_2 + 4,param_3);\n  *(undefined4 *)(param_3 + 0xc) = 0;\n  *(undefined2 *)(param_3 + 0x10) = 0;\n  *(short *)(param_3 + 0x12) = sVar1 + 4;\n  *(undefined4 *)(param_3 + 8) = 0;\n  return;\n}" primitive_type (function_declarator "FUN_0001ee7c(undefined4 param_1,int param_2,int param_3)" identifier (parameter_list "(undefined4 param_1,int param_2,int param_3)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  short sVar1;\n  \n  sVar1 = FUN_0001dea8(param_2 + 4,param_3);\n  *(undefined4 *)(param_3 + 0xc) = 0;\n  *(undefined2 *)(param_3 + 0x10) = 0;\n  *(short *)(param_3 + 0x12) = sVar1 + 4;\n  *(undefined4 *)(param_3 + 8) = 0;\n  return;\n}" { (declaration "short sVar1;" (sized_type_specifier "short" short) identifier ;) (expression_statement "sVar1 = FUN_0001dea8(param_2 + 4,param_3);" (assignment_expression "sVar1 = FUN_0001dea8(param_2 + 4,param_3)" identifier = (call_expression "FUN_0001dea8(param_2 + 4,param_3)" identifier (argument_list "(param_2 + 4,param_3)" ( (binary_expression "param_2 + 4" identifier + number_literal) , identifier )))) ;) (expression_statement "*(undefined4 *)(param_3 + 0xc) = 0;" (assignment_expression "*(undefined4 *)(param_3 + 0xc) = 0" (pointer_expression "*(undefined4 *)(param_3 + 0xc)" * (cast_expression "(undefined4 *)(param_3 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0xc)" ( (binary_expression "param_3 + 0xc" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined2 *)(param_3 + 0x10) = 0;" (assignment_expression "*(undefined2 *)(param_3 + 0x10) = 0" (pointer_expression "*(undefined2 *)(param_3 + 0x10)" * (cast_expression "(undefined2 *)(param_3 + 0x10)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x10)" ( (binary_expression "param_3 + 0x10" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(short *)(param_3 + 0x12) = sVar1 + 4;" (assignment_expression "*(short *)(param_3 + 0x12) = sVar1 + 4" (pointer_expression "*(short *)(param_3 + 0x12)" * (cast_expression "(short *)(param_3 + 0x12)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x12)" ( (binary_expression "param_3 + 0x12" identifier + number_literal) )))) = (binary_expression "sVar1 + 4" identifier + number_literal)) ;) (expression_statement "*(undefined4 *)(param_3 + 8) = 0;" (assignment_expression "*(undefined4 *)(param_3 + 8) = 0" (pointer_expression "*(undefined4 *)(param_3 + 8)" * (cast_expression "(undefined4 *)(param_3 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 8)" ( (binary_expression "param_3 + 8" identifier + number_literal) )))) = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit "void btreeParseCellPtrNoPayload(MemPage *pPage,u8 *pCell,CellInfo *pInfo)\n\n{\n  undefined3 extraout_var;\n  u8 uVar1;\n  \n  uVar1 = sqlite3GetVarint(pCell + 4,(u64 *)pInfo);\n  pInfo->nPayload = 0;\n  pInfo->nLocal = 0;\n  pInfo->nSize = (short)CONCAT31(extraout_var,uVar1) + 4;\n  pInfo->pPayload = (u8 *)0x0;\n  return;\n}\n\n" (function_definition "void btreeParseCellPtrNoPayload(MemPage *pPage,u8 *pCell,CellInfo *pInfo)\n\n{\n  undefined3 extraout_var;\n  u8 uVar1;\n  \n  uVar1 = sqlite3GetVarint(pCell + 4,(u64 *)pInfo);\n  pInfo->nPayload = 0;\n  pInfo->nLocal = 0;\n  pInfo->nSize = (short)CONCAT31(extraout_var,uVar1) + 4;\n  pInfo->pPayload = (u8 *)0x0;\n  return;\n}" primitive_type (function_declarator "btreeParseCellPtrNoPayload(MemPage *pPage,u8 *pCell,CellInfo *pInfo)" identifier (parameter_list "(MemPage *pPage,u8 *pCell,CellInfo *pInfo)" ( (parameter_declaration "MemPage *pPage" type_identifier (pointer_declarator "*pPage" * identifier)) , (parameter_declaration "u8 *pCell" type_identifier (pointer_declarator "*pCell" * identifier)) , (parameter_declaration "CellInfo *pInfo" type_identifier (pointer_declarator "*pInfo" * identifier)) ))) (compound_statement "{\n  undefined3 extraout_var;\n  u8 uVar1;\n  \n  uVar1 = sqlite3GetVarint(pCell + 4,(u64 *)pInfo);\n  pInfo->nPayload = 0;\n  pInfo->nLocal = 0;\n  pInfo->nSize = (short)CONCAT31(extraout_var,uVar1) + 4;\n  pInfo->pPayload = (u8 *)0x0;\n  return;\n}" { (declaration "undefined3 extraout_var;" type_identifier identifier ;) (declaration "u8 uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = sqlite3GetVarint(pCell + 4,(u64 *)pInfo);" (assignment_expression "uVar1 = sqlite3GetVarint(pCell + 4,(u64 *)pInfo)" identifier = (call_expression "sqlite3GetVarint(pCell + 4,(u64 *)pInfo)" identifier (argument_list "(pCell + 4,(u64 *)pInfo)" ( (binary_expression "pCell + 4" identifier + number_literal) , (cast_expression "(u64 *)pInfo" ( (type_descriptor "u64 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) )))) ;) (expression_statement "pInfo->nPayload = 0;" (assignment_expression "pInfo->nPayload = 0" (field_expression "pInfo->nPayload" identifier -> field_identifier) = number_literal) ;) (expression_statement "pInfo->nLocal = 0;" (assignment_expression "pInfo->nLocal = 0" (field_expression "pInfo->nLocal" identifier -> field_identifier) = number_literal) ;) (expression_statement "pInfo->nSize = (short)CONCAT31(extraout_var,uVar1) + 4;" (assignment_expression "pInfo->nSize = (short)CONCAT31(extraout_var,uVar1) + 4" (field_expression "pInfo->nSize" identifier -> field_identifier) = (binary_expression "(short)CONCAT31(extraout_var,uVar1) + 4" (cast_expression "(short)CONCAT31(extraout_var,uVar1)" ( (type_descriptor "short" (sized_type_specifier "short" short)) ) (call_expression "CONCAT31(extraout_var,uVar1)" identifier (argument_list "(extraout_var,uVar1)" ( identifier , identifier )))) + number_literal)) ;) (expression_statement "pInfo->pPayload = (u8 *)0x0;" (assignment_expression "pInfo->pPayload = (u8 *)0x0" (field_expression "pInfo->pPayload" identifier -> field_identifier) = (cast_expression "(u8 *)0x0" ( (type_descriptor "u8 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0001ee7c(undefined4 param_1,int param_2,int param_3)\n\n{\n  short sVar1;\n  \n  sVar1 = FUN_0001dea8(param_2 + 4,param_3);\n  *(undefined4 *)(param_3 + 0xc) = 0;\n  *(undefined2 *)(param_3 + 0x10) = 0;\n  *(short *)(param_3 + 0x12) = sVar1 + 4;\n  *(undefined4 *)(param_3 + 8) = 0;\n  return;\n}\n\n" (function_definition "void FUN_0001ee7c(undefined4 param_1,int param_2,int param_3)\n\n{\n  short sVar1;\n  \n  sVar1 = FUN_0001dea8(param_2 + 4,param_3);\n  *(undefined4 *)(param_3 + 0xc) = 0;\n  *(undefined2 *)(param_3 + 0x10) = 0;\n  *(short *)(param_3 + 0x12) = sVar1 + 4;\n  *(undefined4 *)(param_3 + 8) = 0;\n  return;\n}" primitive_type (function_declarator "FUN_0001ee7c(undefined4 param_1,int param_2,int param_3)" identifier (parameter_list "(undefined4 param_1,int param_2,int param_3)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  short sVar1;\n  \n  sVar1 = FUN_0001dea8(param_2 + 4,param_3);\n  *(undefined4 *)(param_3 + 0xc) = 0;\n  *(undefined2 *)(param_3 + 0x10) = 0;\n  *(short *)(param_3 + 0x12) = sVar1 + 4;\n  *(undefined4 *)(param_3 + 8) = 0;\n  return;\n}" { (declaration "short sVar1;" (sized_type_specifier "short" short) identifier ;) (expression_statement "sVar1 = FUN_0001dea8(param_2 + 4,param_3);" (assignment_expression "sVar1 = FUN_0001dea8(param_2 + 4,param_3)" identifier = (call_expression "FUN_0001dea8(param_2 + 4,param_3)" identifier (argument_list "(param_2 + 4,param_3)" ( (binary_expression "param_2 + 4" identifier + number_literal) , identifier )))) ;) (expression_statement "*(undefined4 *)(param_3 + 0xc) = 0;" (assignment_expression "*(undefined4 *)(param_3 + 0xc) = 0" (pointer_expression "*(undefined4 *)(param_3 + 0xc)" * (cast_expression "(undefined4 *)(param_3 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0xc)" ( (binary_expression "param_3 + 0xc" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined2 *)(param_3 + 0x10) = 0;" (assignment_expression "*(undefined2 *)(param_3 + 0x10) = 0" (pointer_expression "*(undefined2 *)(param_3 + 0x10)" * (cast_expression "(undefined2 *)(param_3 + 0x10)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x10)" ( (binary_expression "param_3 + 0x10" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(short *)(param_3 + 0x12) = sVar1 + 4;" (assignment_expression "*(short *)(param_3 + 0x12) = sVar1 + 4" (pointer_expression "*(short *)(param_3 + 0x12)" * (cast_expression "(short *)(param_3 + 0x12)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x12)" ( (binary_expression "param_3 + 0x12" identifier + number_literal) )))) = (binary_expression "sVar1 + 4" identifier + number_literal)) ;) (expression_statement "*(undefined4 *)(param_3 + 8) = 0;" (assignment_expression "*(undefined4 *)(param_3 + 8) = 0" (pointer_expression "*(undefined4 *)(param_3 + 8)" * (cast_expression "(undefined4 *)(param_3 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 8)" ( (binary_expression "param_3 + 8" identifier + number_literal) )))) = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration (sized_type_specifier short) IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , IDENT )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier short) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (return_statement return ;) })))
(function_definition "void FUN_0001ee7c(undefined4 param_1,int param_2,int param_3)\n\n{\n  short sVar1;\n  \n  sVar1 = FUN_0001dea8(param_2 + 4,param_3);\n  *(undefined4 *)(param_3 + 0xc) = 0;\n  *(undefined2 *)(param_3 + 0x10) = 0;\n  *(short *)(param_3 + 0x12) = sVar1 + 4;\n  *(undefined4 *)(param_3 + 8) = 0;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0001ee7c(undefined4 param_1,int param_2,int param_3)" (identifier "FUN_0001ee7c") (parameter_list "(undefined4 param_1,int param_2,int param_3)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) () ")"))) (compound_statement "{\n  short sVar1;\n  \n  sVar1 = FUN_0001dea8(param_2 + 4,param_3);\n  *(undefined4 *)(param_3 + 0xc) = 0;\n  *(undefined2 *)(param_3 + 0x10) = 0;\n  *(short *)(param_3 + 0x12) = sVar1 + 4;\n  *(undefined4 *)(param_3 + 8) = 0;\n  return;\n}" ({ "{") (declaration "short sVar1;" (sized_type_specifier "short" (short "short")) (identifier "sVar1") (; ";")) (expression_statement "sVar1 = FUN_0001dea8(param_2 + 4,param_3);" (assignment_expression "sVar1 = FUN_0001dea8(param_2 + 4,param_3)" (identifier "sVar1") (= "=") (call_expression "FUN_0001dea8(param_2 + 4,param_3)" (identifier "FUN_0001dea8") (argument_list "(param_2 + 4,param_3)" (( "(") (binary_expression "param_2 + 4" (identifier "param_2") (+ "+") (number_literal "4")) (, ",") (identifier "param_3") () ")")))) (; ";")) (expression_statement "*(undefined4 *)(param_3 + 0xc) = 0;" (assignment_expression "*(undefined4 *)(param_3 + 0xc) = 0" (pointer_expression "*(undefined4 *)(param_3 + 0xc)" (* "*") (cast_expression "(undefined4 *)(param_3 + 0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0xc)" (( "(") (binary_expression "param_3 + 0xc" (identifier "param_3") (+ "+") (number_literal "0xc")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined2 *)(param_3 + 0x10) = 0;" (assignment_expression "*(undefined2 *)(param_3 + 0x10) = 0" (pointer_expression "*(undefined2 *)(param_3 + 0x10)" (* "*") (cast_expression "(undefined2 *)(param_3 + 0x10)" (( "(") (type_descriptor "undefined2 *" (type_identifier "undefined2") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x10)" (( "(") (binary_expression "param_3 + 0x10" (identifier "param_3") (+ "+") (number_literal "0x10")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(short *)(param_3 + 0x12) = sVar1 + 4;" (assignment_expression "*(short *)(param_3 + 0x12) = sVar1 + 4" (pointer_expression "*(short *)(param_3 + 0x12)" (* "*") (cast_expression "(short *)(param_3 + 0x12)" (( "(") (type_descriptor "short *" (sized_type_specifier "short" (short "short")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x12)" (( "(") (binary_expression "param_3 + 0x12" (identifier "param_3") (+ "+") (number_literal "0x12")) () ")")))) (= "=") (binary_expression "sVar1 + 4" (identifier "sVar1") (+ "+") (number_literal "4"))) (; ";")) (expression_statement "*(undefined4 *)(param_3 + 8) = 0;" (assignment_expression "*(undefined4 *)(param_3 + 8) = 0" (pointer_expression "*(undefined4 *)(param_3 + 8)" (* "*") (cast_expression "(undefined4 *)(param_3 + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 8)" (( "(") (binary_expression "param_3 + 8" (identifier "param_3") (+ "+") (number_literal "8")) () ")")))) (= "=") (number_literal "0")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

void function_1(type_1 *pPage,type_2 *var_2,type_3 *pInfo)

{
  type_4 extraout_var;
  type_2 uVar1;
  
  uVar1 = var_1(var_2 + 4,(type_5 *)pInfo);
  pInfo->nPayload = 0;
  pInfo->nLocal = 0;
  pInfo->nSize = (short)var_3(extraout_var,uVar1) + 4;
  pInfo->pPayload = (type_2 *)0x0;
  return;
}


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

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

{
  short sVar1;
  
  sVar1 = FUN_0001dea8(param_2 + 4,param_3);
  *(undefined4 *)(param_3 + 0xc) = 0;
  *(undefined2 *)(param_3 + 0x10) = 0;
  *(short *)(param_3 + 0x12) = sVar1 + 4;
  *(undefined4 *)(param_3 + 8) = 0;
  return;
}

