
void sqlite3PcacheMove(PgHdr *p,Pgno newPgno)

{
  (**(code **)(PTR_DAT_000f52bc + 0x4128))(p->pCache->pCache,p->pPage,p->pgno,newPgno);
  p->pgno = newPgno;
  if ((p->flags & 10) != 10) {
    return;
  }
  pcacheManageDirtyList(p,'\x03');
  return;
}



void FUN_00021354(undefined4 *param_1,undefined4 param_2)

{
  (**(code **)(PTR_DAT_000f52bc + 0x4128))
            (*(undefined4 *)(param_1[3] + 0x2c),*param_1,param_1[6],param_2);
  param_1[6] = param_2;
  if ((*(ushort *)(param_1 + 7) & 10) != 10) {
    return;
  }
  FUN_0002102c(param_1,3);
  return;
}


lui gp,0xe
addiu gp,gp,-0x40b4
addu gp,gp,t9
lw v1,-0x7fe4(gp)
addiu sp,sp,-0x28
lw v0,0xc(a0)
or a3,a1,zero
lw a2,0x18(a0)
sw s1,0x20(sp)
or s1,a1,zero
sw s0,0x1c(sp)
or s0,a0,zero
sw gp,0x10(sp)
sw ra,0x24(sp)
lw t9,0x4128(v1)
lw a1,0x0(a0)
jalr t9
_lw a0,0x2c(v0)
li v1,0xa
lhu v0,0x1c(s0)
lw gp,0x10(sp)
andi v0,v0,0xa
beq v0,v1,0x000213c8
_sw s1,0x18(s0)
lw ra,0x24(sp)
lw s1,0x20(sp)
lw s0,0x1c(sp)
jr ra
_addiu sp,sp,0x28
lw t9,-0x7fd8(gp)
or a0,s0,zero
lw ra,0x24(sp)
li a1,0x3
lw s1,0x20(sp)
lw s0,0x1c(sp)
addiu t9,t9,0x102c
b 0x0002102c
_addiu sp,sp,0x28
(translation_unit "void FUN_00021354(undefined4 *param_1,undefined4 param_2)\n\n{\n  (**(code **)(PTR_DAT_000f52bc + 0x4128))\n            (*(undefined4 *)(param_1[3] + 0x2c),*param_1,param_1[6],param_2);\n  param_1[6] = param_2;\n  if ((*(ushort *)(param_1 + 7) & 10) != 10) {\n    return;\n  }\n  FUN_0002102c(param_1,3);\n  return;\n}\n\n" (function_definition "void FUN_00021354(undefined4 *param_1,undefined4 param_2)\n\n{\n  (**(code **)(PTR_DAT_000f52bc + 0x4128))\n            (*(undefined4 *)(param_1[3] + 0x2c),*param_1,param_1[6],param_2);\n  param_1[6] = param_2;\n  if ((*(ushort *)(param_1 + 7) & 10) != 10) {\n    return;\n  }\n  FUN_0002102c(param_1,3);\n  return;\n}" primitive_type (function_declarator "FUN_00021354(undefined4 *param_1,undefined4 param_2)" identifier (parameter_list "(undefined4 *param_1,undefined4 param_2)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  (**(code **)(PTR_DAT_000f52bc + 0x4128))\n            (*(undefined4 *)(param_1[3] + 0x2c),*param_1,param_1[6],param_2);\n  param_1[6] = param_2;\n  if ((*(ushort *)(param_1 + 7) & 10) != 10) {\n    return;\n  }\n  FUN_0002102c(param_1,3);\n  return;\n}" { (expression_statement "(**(code **)(PTR_DAT_000f52bc + 0x4128))\n            (*(undefined4 *)(param_1[3] + 0x2c),*param_1,param_1[6],param_2);" (call_expression "(**(code **)(PTR_DAT_000f52bc + 0x4128))\n            (*(undefined4 *)(param_1[3] + 0x2c),*param_1,param_1[6],param_2)" (parenthesized_expression "(**(code **)(PTR_DAT_000f52bc + 0x4128))" ( (pointer_expression "**(code **)(PTR_DAT_000f52bc + 0x4128)" * (pointer_expression "*(code **)(PTR_DAT_000f52bc + 0x4128)" * (cast_expression "(code **)(PTR_DAT_000f52bc + 0x4128)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_DAT_000f52bc + 0x4128)" ( (binary_expression "PTR_DAT_000f52bc + 0x4128" identifier + number_literal) ))))) )) (argument_list "(*(undefined4 *)(param_1[3] + 0x2c),*param_1,param_1[6],param_2)" ( (pointer_expression "*(undefined4 *)(param_1[3] + 0x2c)" * (cast_expression "(undefined4 *)(param_1[3] + 0x2c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1[3] + 0x2c)" ( (binary_expression "param_1[3] + 0x2c" (subscript_expression "param_1[3]" identifier [ number_literal ]) + number_literal) )))) , (pointer_expression "*param_1" * identifier) , (subscript_expression "param_1[6]" identifier [ number_literal ]) , identifier ))) ;) (expression_statement "param_1[6] = param_2;" (assignment_expression "param_1[6] = param_2" (subscript_expression "param_1[6]" identifier [ number_literal ]) = identifier) ;) (if_statement "if ((*(ushort *)(param_1 + 7) & 10) != 10) {\n    return;\n  }" if (parenthesized_expression "((*(ushort *)(param_1 + 7) & 10) != 10)" ( (binary_expression "(*(ushort *)(param_1 + 7) & 10) != 10" (parenthesized_expression "(*(ushort *)(param_1 + 7) & 10)" ( (binary_expression "*(ushort *)(param_1 + 7) & 10" (pointer_expression "*(ushort *)(param_1 + 7)" * (cast_expression "(ushort *)(param_1 + 7)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 7)" ( (binary_expression "param_1 + 7" identifier + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "FUN_0002102c(param_1,3);" (call_expression "FUN_0002102c(param_1,3)" identifier (argument_list "(param_1,3)" ( identifier , number_literal ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void sqlite3PcacheMove(PgHdr *p,Pgno newPgno)\n\n{\n  (**(code **)(PTR_DAT_000f52bc + 0x4128))(p->pCache->pCache,p->pPage,p->pgno,newPgno);\n  p->pgno = newPgno;\n  if ((p->flags & 10) != 10) {\n    return;\n  }\n  pcacheManageDirtyList(p,'\x03');\n  return;\n}\n\n" (function_definition "void sqlite3PcacheMove(PgHdr *p,Pgno newPgno)\n\n{\n  (**(code **)(PTR_DAT_000f52bc + 0x4128))(p->pCache->pCache,p->pPage,p->pgno,newPgno);\n  p->pgno = newPgno;\n  if ((p->flags & 10) != 10) {\n    return;\n  }\n  pcacheManageDirtyList(p,'\x03');\n  return;\n}" primitive_type (function_declarator "sqlite3PcacheMove(PgHdr *p,Pgno newPgno)" identifier (parameter_list "(PgHdr *p,Pgno newPgno)" ( (parameter_declaration "PgHdr *p" type_identifier (pointer_declarator "*p" * identifier)) , (parameter_declaration "Pgno newPgno" type_identifier identifier) ))) (compound_statement "{\n  (**(code **)(PTR_DAT_000f52bc + 0x4128))(p->pCache->pCache,p->pPage,p->pgno,newPgno);\n  p->pgno = newPgno;\n  if ((p->flags & 10) != 10) {\n    return;\n  }\n  pcacheManageDirtyList(p,'\x03');\n  return;\n}" { (expression_statement "(**(code **)(PTR_DAT_000f52bc + 0x4128))(p->pCache->pCache,p->pPage,p->pgno,newPgno);" (call_expression "(**(code **)(PTR_DAT_000f52bc + 0x4128))(p->pCache->pCache,p->pPage,p->pgno,newPgno)" (parenthesized_expression "(**(code **)(PTR_DAT_000f52bc + 0x4128))" ( (pointer_expression "**(code **)(PTR_DAT_000f52bc + 0x4128)" * (pointer_expression "*(code **)(PTR_DAT_000f52bc + 0x4128)" * (cast_expression "(code **)(PTR_DAT_000f52bc + 0x4128)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_DAT_000f52bc + 0x4128)" ( (binary_expression "PTR_DAT_000f52bc + 0x4128" identifier + number_literal) ))))) )) (argument_list "(p->pCache->pCache,p->pPage,p->pgno,newPgno)" ( (field_expression "p->pCache->pCache" (field_expression "p->pCache" identifier -> field_identifier) -> field_identifier) , (field_expression "p->pPage" identifier -> field_identifier) , (field_expression "p->pgno" identifier -> field_identifier) , identifier ))) ;) (expression_statement "p->pgno = newPgno;" (assignment_expression "p->pgno = newPgno" (field_expression "p->pgno" identifier -> field_identifier) = identifier) ;) (if_statement "if ((p->flags & 10) != 10) {\n    return;\n  }" if (parenthesized_expression "((p->flags & 10) != 10)" ( (binary_expression "(p->flags & 10) != 10" (parenthesized_expression "(p->flags & 10)" ( (binary_expression "p->flags & 10" (field_expression "p->flags" identifier -> field_identifier) & number_literal) )) != number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "pcacheManageDirtyList(p,'\x03');" (call_expression "pcacheManageDirtyList(p,'\x03')" identifier (argument_list "(p,'\x03')" ( identifier , (char_literal "'\x03'" ' escape_sequence ') ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00021354(undefined4 *param_1,undefined4 param_2)\n\n{\n  (**(code **)(PTR_DAT_000f52bc + 0x4128))\n            (*(undefined4 *)(param_1[3] + 0x2c),*param_1,param_1[6],param_2);\n  param_1[6] = param_2;\n  if ((*(ushort *)(param_1 + 7) & 10) != 10) {\n    return;\n  }\n  FUN_0002102c(param_1,3);\n  return;\n}\n\n" (function_definition "void FUN_00021354(undefined4 *param_1,undefined4 param_2)\n\n{\n  (**(code **)(PTR_DAT_000f52bc + 0x4128))\n            (*(undefined4 *)(param_1[3] + 0x2c),*param_1,param_1[6],param_2);\n  param_1[6] = param_2;\n  if ((*(ushort *)(param_1 + 7) & 10) != 10) {\n    return;\n  }\n  FUN_0002102c(param_1,3);\n  return;\n}" primitive_type (function_declarator "FUN_00021354(undefined4 *param_1,undefined4 param_2)" identifier (parameter_list "(undefined4 *param_1,undefined4 param_2)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  (**(code **)(PTR_DAT_000f52bc + 0x4128))\n            (*(undefined4 *)(param_1[3] + 0x2c),*param_1,param_1[6],param_2);\n  param_1[6] = param_2;\n  if ((*(ushort *)(param_1 + 7) & 10) != 10) {\n    return;\n  }\n  FUN_0002102c(param_1,3);\n  return;\n}" { (expression_statement "(**(code **)(PTR_DAT_000f52bc + 0x4128))\n            (*(undefined4 *)(param_1[3] + 0x2c),*param_1,param_1[6],param_2);" (call_expression "(**(code **)(PTR_DAT_000f52bc + 0x4128))\n            (*(undefined4 *)(param_1[3] + 0x2c),*param_1,param_1[6],param_2)" (parenthesized_expression "(**(code **)(PTR_DAT_000f52bc + 0x4128))" ( (pointer_expression "**(code **)(PTR_DAT_000f52bc + 0x4128)" * (pointer_expression "*(code **)(PTR_DAT_000f52bc + 0x4128)" * (cast_expression "(code **)(PTR_DAT_000f52bc + 0x4128)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_DAT_000f52bc + 0x4128)" ( (binary_expression "PTR_DAT_000f52bc + 0x4128" identifier + number_literal) ))))) )) (argument_list "(*(undefined4 *)(param_1[3] + 0x2c),*param_1,param_1[6],param_2)" ( (pointer_expression "*(undefined4 *)(param_1[3] + 0x2c)" * (cast_expression "(undefined4 *)(param_1[3] + 0x2c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1[3] + 0x2c)" ( (binary_expression "param_1[3] + 0x2c" (subscript_expression "param_1[3]" identifier [ number_literal ]) + number_literal) )))) , (pointer_expression "*param_1" * identifier) , (subscript_expression "param_1[6]" identifier [ number_literal ]) , identifier ))) ;) (expression_statement "param_1[6] = param_2;" (assignment_expression "param_1[6] = param_2" (subscript_expression "param_1[6]" identifier [ number_literal ]) = identifier) ;) (if_statement "if ((*(ushort *)(param_1 + 7) & 10) != 10) {\n    return;\n  }" if (parenthesized_expression "((*(ushort *)(param_1 + 7) & 10) != 10)" ( (binary_expression "(*(ushort *)(param_1 + 7) & 10) != 10" (parenthesized_expression "(*(ushort *)(param_1 + 7) & 10)" ( (binary_expression "*(ushort *)(param_1 + 7) & 10" (pointer_expression "*(ushort *)(param_1 + 7)" * (cast_expression "(ushort *)(param_1 + 7)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 7)" ( (binary_expression "param_1 + 7" identifier + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "FUN_0002102c(param_1,3);" (call_expression "FUN_0002102c(param_1,3)" identifier (argument_list "(param_1,3)" ( identifier , number_literal ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) + LIT) )))) , (pointer_expression * IDENT) , (subscript_expression IDENT [ LIT ]) , IDENT ))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = 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 IDENT + LIT) )))) & LIT) )) != LIT) )) (compound_statement { (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT ))) ;) (return_statement return ;) })))
(function_definition "void FUN_00021354(undefined4 *param_1,undefined4 param_2)\n\n{\n  (**(code **)(PTR_DAT_000f52bc + 0x4128))\n            (*(undefined4 *)(param_1[3] + 0x2c),*param_1,param_1[6],param_2);\n  param_1[6] = param_2;\n  if ((*(ushort *)(param_1 + 7) & 10) != 10) {\n    return;\n  }\n  FUN_0002102c(param_1,3);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00021354(undefined4 *param_1,undefined4 param_2)" (identifier "FUN_00021354") (parameter_list "(undefined4 *param_1,undefined4 param_2)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) () ")"))) (compound_statement "{\n  (**(code **)(PTR_DAT_000f52bc + 0x4128))\n            (*(undefined4 *)(param_1[3] + 0x2c),*param_1,param_1[6],param_2);\n  param_1[6] = param_2;\n  if ((*(ushort *)(param_1 + 7) & 10) != 10) {\n    return;\n  }\n  FUN_0002102c(param_1,3);\n  return;\n}" ({ "{") (expression_statement "(**(code **)(PTR_DAT_000f52bc + 0x4128))\n            (*(undefined4 *)(param_1[3] + 0x2c),*param_1,param_1[6],param_2);" (call_expression "(**(code **)(PTR_DAT_000f52bc + 0x4128))\n            (*(undefined4 *)(param_1[3] + 0x2c),*param_1,param_1[6],param_2)" (parenthesized_expression "(**(code **)(PTR_DAT_000f52bc + 0x4128))" (( "(") (pointer_expression "**(code **)(PTR_DAT_000f52bc + 0x4128)" (* "*") (pointer_expression "*(code **)(PTR_DAT_000f52bc + 0x4128)" (* "*") (cast_expression "(code **)(PTR_DAT_000f52bc + 0x4128)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(PTR_DAT_000f52bc + 0x4128)" (( "(") (binary_expression "PTR_DAT_000f52bc + 0x4128" (identifier "PTR_DAT_000f52bc") (+ "+") (number_literal "0x4128")) () ")"))))) () ")")) (argument_list "(*(undefined4 *)(param_1[3] + 0x2c),*param_1,param_1[6],param_2)" (( "(") (pointer_expression "*(undefined4 *)(param_1[3] + 0x2c)" (* "*") (cast_expression "(undefined4 *)(param_1[3] + 0x2c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1[3] + 0x2c)" (( "(") (binary_expression "param_1[3] + 0x2c" (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")) (+ "+") (number_literal "0x2c")) () ")")))) (, ",") (pointer_expression "*param_1" (* "*") (identifier "param_1")) (, ",") (subscript_expression "param_1[6]" (identifier "param_1") ([ "[") (number_literal "6") (] "]")) (, ",") (identifier "param_2") () ")"))) (; ";")) (expression_statement "param_1[6] = param_2;" (assignment_expression "param_1[6] = param_2" (subscript_expression "param_1[6]" (identifier "param_1") ([ "[") (number_literal "6") (] "]")) (= "=") (identifier "param_2")) (; ";")) (if_statement "if ((*(ushort *)(param_1 + 7) & 10) != 10) {\n    return;\n  }" (if "if") (parenthesized_expression "((*(ushort *)(param_1 + 7) & 10) != 10)" (( "(") (binary_expression "(*(ushort *)(param_1 + 7) & 10) != 10" (parenthesized_expression "(*(ushort *)(param_1 + 7) & 10)" (( "(") (binary_expression "*(ushort *)(param_1 + 7) & 10" (pointer_expression "*(ushort *)(param_1 + 7)" (* "*") (cast_expression "(ushort *)(param_1 + 7)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 7)" (( "(") (binary_expression "param_1 + 7" (identifier "param_1") (+ "+") (number_literal "7")) () ")")))) (& "&") (number_literal "10")) () ")")) (!= "!=") (number_literal "10")) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "FUN_0002102c(param_1,3);" (call_expression "FUN_0002102c(param_1,3)" (identifier "FUN_0002102c") (argument_list "(param_1,3)" (( "(") (identifier "param_1") (, ",") (number_literal "3") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))))) (pointer_expression argument: (identifier)) (subscript_expression argument: (identifier) index: (number_literal)) (identifier)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_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))) right: (number_literal))) consequence: (compound_statement (return_statement))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal)))) (return_statement))))

void MASKED(undefined4 *param_1,undefined4 param_2)

{
  (**(code **)(PTR_DAT_000f52bc + 0x4128))
            (*(undefined4 *)(param_1[3] + 0x2c),*param_1,param_1[6],param_2);
  param_1[6] = param_2;
  if ((*(ushort *)(param_1 + 7) & 10) != 10) {
    return;
  }
  FUN_0002102c(param_1,3);
  return;
}

