
PgHdr * sqlite3PcacheFetchFinish(PCache *pCache,Pgno pgno,sqlite3_pcache_page *pPage)

{
  PgHdr *pPVar1;
  
  pPVar1 = (PgHdr *)pPage->pExtra;
  if (pPVar1->pPage != (sqlite3_pcache_page *)0x0) {
    pCache->nRefSum = pCache->nRefSum + 1;
    pPVar1->nRef = pPVar1->nRef + 1;
    return pPVar1;
  }
  pPVar1 = pcacheFetchFinishWithInit(pCache,pgno,pPage);
  return pPVar1;
}



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

{
  int *piVar1;
  
  piVar1 = *(int **)(param_3 + 4);
  if (*piVar1 != 0) {
    *(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1;
    *(short *)((int)piVar1 + 0x1e) = *(short *)((int)piVar1 + 0x1e) + 1;
    return piVar1;
  }
  piVar1 = (int *)FUN_00025864();
  return piVar1;
}


lui gp,0x14
addiu gp,gp,-0x1378
addu gp,gp,t9
lw v1,0x4(a2)
lw v0,0x0(v1)
beq v0,zero,0x00025964
_or a3,a0,zero
lw a0,0xc(a0)
or v0,v1,zero
addiu a0,a0,0x1
sw a0,0xc(a3)
lhu a0,0x1e(v1)
addiu a0,a0,0x1
jr ra
_sh a0,0x1e(v1)
lw t9,-0x7f44(gp)
addiu t9,t9,0x5864
b 0x00025864
_nop
(translation_unit "int * FUN_00025928(int param_1,undefined4 param_2,int param_3)\n\n{\n  int *piVar1;\n  \n  piVar1 = *(int **)(param_3 + 4);\n  if (*piVar1 != 0) {\n    *(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1;\n    *(short *)((int)piVar1 + 0x1e) = *(short *)((int)piVar1 + 0x1e) + 1;\n    return piVar1;\n  }\n  piVar1 = (int *)FUN_00025864();\n  return piVar1;\n}\n\n" (function_definition "int * FUN_00025928(int param_1,undefined4 param_2,int param_3)\n\n{\n  int *piVar1;\n  \n  piVar1 = *(int **)(param_3 + 4);\n  if (*piVar1 != 0) {\n    *(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1;\n    *(short *)((int)piVar1 + 0x1e) = *(short *)((int)piVar1 + 0x1e) + 1;\n    return piVar1;\n  }\n  piVar1 = (int *)FUN_00025864();\n  return piVar1;\n}" primitive_type (pointer_declarator "* FUN_00025928(int param_1,undefined4 param_2,int param_3)" * (function_declarator "FUN_00025928(int param_1,undefined4 param_2,int param_3)" identifier (parameter_list "(int param_1,undefined4 param_2,int param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "int param_3" primitive_type identifier) )))) (compound_statement "{\n  int *piVar1;\n  \n  piVar1 = *(int **)(param_3 + 4);\n  if (*piVar1 != 0) {\n    *(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1;\n    *(short *)((int)piVar1 + 0x1e) = *(short *)((int)piVar1 + 0x1e) + 1;\n    return piVar1;\n  }\n  piVar1 = (int *)FUN_00025864();\n  return piVar1;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (expression_statement "piVar1 = *(int **)(param_3 + 4);" (assignment_expression "piVar1 = *(int **)(param_3 + 4)" identifier = (pointer_expression "*(int **)(param_3 + 4)" * (cast_expression "(int **)(param_3 + 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_3 + 4)" ( (binary_expression "param_3 + 4" identifier + number_literal) ))))) ;) (if_statement "if (*piVar1 != 0) {\n    *(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1;\n    *(short *)((int)piVar1 + 0x1e) = *(short *)((int)piVar1 + 0x1e) + 1;\n    return piVar1;\n  }" if (parenthesized_expression "(*piVar1 != 0)" ( (binary_expression "*piVar1 != 0" (pointer_expression "*piVar1" * identifier) != number_literal) )) (compound_statement "{\n    *(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1;\n    *(short *)((int)piVar1 + 0x1e) = *(short *)((int)piVar1 + 0x1e) + 1;\n    return piVar1;\n  }" { (expression_statement "*(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1;" (assignment_expression "*(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1" (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" identifier + number_literal) )))) = (binary_expression "*(int *)(param_1 + 0xc) + 1" (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" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "*(short *)((int)piVar1 + 0x1e) = *(short *)((int)piVar1 + 0x1e) + 1;" (assignment_expression "*(short *)((int)piVar1 + 0x1e) = *(short *)((int)piVar1 + 0x1e) + 1" (pointer_expression "*(short *)((int)piVar1 + 0x1e)" * (cast_expression "(short *)((int)piVar1 + 0x1e)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar1 + 0x1e)" ( (binary_expression "(int)piVar1 + 0x1e" (cast_expression "(int)piVar1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = (binary_expression "*(short *)((int)piVar1 + 0x1e) + 1" (pointer_expression "*(short *)((int)piVar1 + 0x1e)" * (cast_expression "(short *)((int)piVar1 + 0x1e)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar1 + 0x1e)" ( (binary_expression "(int)piVar1 + 0x1e" (cast_expression "(int)piVar1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) + number_literal)) ;) (return_statement "return piVar1;" return identifier ;) })) (expression_statement "piVar1 = (int *)FUN_00025864();" (assignment_expression "piVar1 = (int *)FUN_00025864()" identifier = (cast_expression "(int *)FUN_00025864()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00025864()" identifier (argument_list "()" ( ))))) ;) (return_statement "return piVar1;" return identifier ;) })))
(translation_unit "PgHdr * sqlite3PcacheFetchFinish(PCache *pCache,Pgno pgno,sqlite3_pcache_page *pPage)\n\n{\n  PgHdr *pPVar1;\n  \n  pPVar1 = (PgHdr *)pPage->pExtra;\n  if (pPVar1->pPage != (sqlite3_pcache_page *)0x0) {\n    pCache->nRefSum = pCache->nRefSum + 1;\n    pPVar1->nRef = pPVar1->nRef + 1;\n    return pPVar1;\n  }\n  pPVar1 = pcacheFetchFinishWithInit(pCache,pgno,pPage);\n  return pPVar1;\n}\n\n" (function_definition "PgHdr * sqlite3PcacheFetchFinish(PCache *pCache,Pgno pgno,sqlite3_pcache_page *pPage)\n\n{\n  PgHdr *pPVar1;\n  \n  pPVar1 = (PgHdr *)pPage->pExtra;\n  if (pPVar1->pPage != (sqlite3_pcache_page *)0x0) {\n    pCache->nRefSum = pCache->nRefSum + 1;\n    pPVar1->nRef = pPVar1->nRef + 1;\n    return pPVar1;\n  }\n  pPVar1 = pcacheFetchFinishWithInit(pCache,pgno,pPage);\n  return pPVar1;\n}" type_identifier (pointer_declarator "* sqlite3PcacheFetchFinish(PCache *pCache,Pgno pgno,sqlite3_pcache_page *pPage)" * (function_declarator "sqlite3PcacheFetchFinish(PCache *pCache,Pgno pgno,sqlite3_pcache_page *pPage)" identifier (parameter_list "(PCache *pCache,Pgno pgno,sqlite3_pcache_page *pPage)" ( (parameter_declaration "PCache *pCache" type_identifier (pointer_declarator "*pCache" * identifier)) , (parameter_declaration "Pgno pgno" type_identifier identifier) , (parameter_declaration "sqlite3_pcache_page *pPage" type_identifier (pointer_declarator "*pPage" * identifier)) )))) (compound_statement "{\n  PgHdr *pPVar1;\n  \n  pPVar1 = (PgHdr *)pPage->pExtra;\n  if (pPVar1->pPage != (sqlite3_pcache_page *)0x0) {\n    pCache->nRefSum = pCache->nRefSum + 1;\n    pPVar1->nRef = pPVar1->nRef + 1;\n    return pPVar1;\n  }\n  pPVar1 = pcacheFetchFinishWithInit(pCache,pgno,pPage);\n  return pPVar1;\n}" { (declaration "PgHdr *pPVar1;" type_identifier (pointer_declarator "*pPVar1" * identifier) ;) (expression_statement "pPVar1 = (PgHdr *)pPage->pExtra;" (assignment_expression "pPVar1 = (PgHdr *)pPage->pExtra" identifier = (cast_expression "(PgHdr *)pPage->pExtra" ( (type_descriptor "PgHdr *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "pPage->pExtra" identifier -> field_identifier))) ;) (if_statement "if (pPVar1->pPage != (sqlite3_pcache_page *)0x0) {\n    pCache->nRefSum = pCache->nRefSum + 1;\n    pPVar1->nRef = pPVar1->nRef + 1;\n    return pPVar1;\n  }" if (parenthesized_expression "(pPVar1->pPage != (sqlite3_pcache_page *)0x0)" ( (binary_expression "pPVar1->pPage != (sqlite3_pcache_page *)0x0" (field_expression "pPVar1->pPage" identifier -> field_identifier) != (cast_expression "(sqlite3_pcache_page *)0x0" ( (type_descriptor "sqlite3_pcache_page *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    pCache->nRefSum = pCache->nRefSum + 1;\n    pPVar1->nRef = pPVar1->nRef + 1;\n    return pPVar1;\n  }" { (expression_statement "pCache->nRefSum = pCache->nRefSum + 1;" (assignment_expression "pCache->nRefSum = pCache->nRefSum + 1" (field_expression "pCache->nRefSum" identifier -> field_identifier) = (binary_expression "pCache->nRefSum + 1" (field_expression "pCache->nRefSum" identifier -> field_identifier) + number_literal)) ;) (expression_statement "pPVar1->nRef = pPVar1->nRef + 1;" (assignment_expression "pPVar1->nRef = pPVar1->nRef + 1" (field_expression "pPVar1->nRef" identifier -> field_identifier) = (binary_expression "pPVar1->nRef + 1" (field_expression "pPVar1->nRef" identifier -> field_identifier) + number_literal)) ;) (return_statement "return pPVar1;" return identifier ;) })) (expression_statement "pPVar1 = pcacheFetchFinishWithInit(pCache,pgno,pPage);" (assignment_expression "pPVar1 = pcacheFetchFinishWithInit(pCache,pgno,pPage)" identifier = (call_expression "pcacheFetchFinishWithInit(pCache,pgno,pPage)" identifier (argument_list "(pCache,pgno,pPage)" ( identifier , identifier , identifier )))) ;) (return_statement "return pPVar1;" return identifier ;) })))
(translation_unit "int * FUN_00025928(int param_1,undefined4 param_2,int param_3)\n\n{\n  int *piVar1;\n  \n  piVar1 = *(int **)(param_3 + 4);\n  if (*piVar1 != 0) {\n    *(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1;\n    *(short *)((int)piVar1 + 0x1e) = *(short *)((int)piVar1 + 0x1e) + 1;\n    return piVar1;\n  }\n  piVar1 = (int *)FUN_00025864();\n  return piVar1;\n}\n\n" (function_definition "int * FUN_00025928(int param_1,undefined4 param_2,int param_3)\n\n{\n  int *piVar1;\n  \n  piVar1 = *(int **)(param_3 + 4);\n  if (*piVar1 != 0) {\n    *(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1;\n    *(short *)((int)piVar1 + 0x1e) = *(short *)((int)piVar1 + 0x1e) + 1;\n    return piVar1;\n  }\n  piVar1 = (int *)FUN_00025864();\n  return piVar1;\n}" primitive_type (pointer_declarator "* FUN_00025928(int param_1,undefined4 param_2,int param_3)" * (function_declarator "FUN_00025928(int param_1,undefined4 param_2,int param_3)" identifier (parameter_list "(int param_1,undefined4 param_2,int param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "int param_3" primitive_type identifier) )))) (compound_statement "{\n  int *piVar1;\n  \n  piVar1 = *(int **)(param_3 + 4);\n  if (*piVar1 != 0) {\n    *(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1;\n    *(short *)((int)piVar1 + 0x1e) = *(short *)((int)piVar1 + 0x1e) + 1;\n    return piVar1;\n  }\n  piVar1 = (int *)FUN_00025864();\n  return piVar1;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (expression_statement "piVar1 = *(int **)(param_3 + 4);" (assignment_expression "piVar1 = *(int **)(param_3 + 4)" identifier = (pointer_expression "*(int **)(param_3 + 4)" * (cast_expression "(int **)(param_3 + 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_3 + 4)" ( (binary_expression "param_3 + 4" identifier + number_literal) ))))) ;) (if_statement "if (*piVar1 != 0) {\n    *(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1;\n    *(short *)((int)piVar1 + 0x1e) = *(short *)((int)piVar1 + 0x1e) + 1;\n    return piVar1;\n  }" if (parenthesized_expression "(*piVar1 != 0)" ( (binary_expression "*piVar1 != 0" (pointer_expression "*piVar1" * identifier) != number_literal) )) (compound_statement "{\n    *(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1;\n    *(short *)((int)piVar1 + 0x1e) = *(short *)((int)piVar1 + 0x1e) + 1;\n    return piVar1;\n  }" { (expression_statement "*(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1;" (assignment_expression "*(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1" (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" identifier + number_literal) )))) = (binary_expression "*(int *)(param_1 + 0xc) + 1" (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" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "*(short *)((int)piVar1 + 0x1e) = *(short *)((int)piVar1 + 0x1e) + 1;" (assignment_expression "*(short *)((int)piVar1 + 0x1e) = *(short *)((int)piVar1 + 0x1e) + 1" (pointer_expression "*(short *)((int)piVar1 + 0x1e)" * (cast_expression "(short *)((int)piVar1 + 0x1e)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar1 + 0x1e)" ( (binary_expression "(int)piVar1 + 0x1e" (cast_expression "(int)piVar1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = (binary_expression "*(short *)((int)piVar1 + 0x1e) + 1" (pointer_expression "*(short *)((int)piVar1 + 0x1e)" * (cast_expression "(short *)((int)piVar1 + 0x1e)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar1 + 0x1e)" ( (binary_expression "(int)piVar1 + 0x1e" (cast_expression "(int)piVar1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) + number_literal)) ;) (return_statement "return piVar1;" return identifier ;) })) (expression_statement "piVar1 = (int *)FUN_00025864();" (assignment_expression "piVar1 = (int *)FUN_00025864()" identifier = (cast_expression "(int *)FUN_00025864()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00025864()" identifier (argument_list "()" ( ))))) ;) (return_statement "return piVar1;" return identifier ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) )))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_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 (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier short) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) + LIT)) ;) (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( ))))) ;) (return_statement return IDENT ;) })))
(function_definition "int * FUN_00025928(int param_1,undefined4 param_2,int param_3)\n\n{\n  int *piVar1;\n  \n  piVar1 = *(int **)(param_3 + 4);\n  if (*piVar1 != 0) {\n    *(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1;\n    *(short *)((int)piVar1 + 0x1e) = *(short *)((int)piVar1 + 0x1e) + 1;\n    return piVar1;\n  }\n  piVar1 = (int *)FUN_00025864();\n  return piVar1;\n}" (primitive_type "int") (pointer_declarator "* FUN_00025928(int param_1,undefined4 param_2,int param_3)" (* "*") (function_declarator "FUN_00025928(int param_1,undefined4 param_2,int param_3)" (identifier "FUN_00025928") (parameter_list "(int param_1,undefined4 param_2,int param_3)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) () ")")))) (compound_statement "{\n  int *piVar1;\n  \n  piVar1 = *(int **)(param_3 + 4);\n  if (*piVar1 != 0) {\n    *(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1;\n    *(short *)((int)piVar1 + 0x1e) = *(short *)((int)piVar1 + 0x1e) + 1;\n    return piVar1;\n  }\n  piVar1 = (int *)FUN_00025864();\n  return piVar1;\n}" ({ "{") (declaration "int *piVar1;" (primitive_type "int") (pointer_declarator "*piVar1" (* "*") (identifier "piVar1")) (; ";")) (expression_statement "piVar1 = *(int **)(param_3 + 4);" (assignment_expression "piVar1 = *(int **)(param_3 + 4)" (identifier "piVar1") (= "=") (pointer_expression "*(int **)(param_3 + 4)" (* "*") (cast_expression "(int **)(param_3 + 4)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_3 + 4)" (( "(") (binary_expression "param_3 + 4" (identifier "param_3") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (if_statement "if (*piVar1 != 0) {\n    *(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1;\n    *(short *)((int)piVar1 + 0x1e) = *(short *)((int)piVar1 + 0x1e) + 1;\n    return piVar1;\n  }" (if "if") (parenthesized_expression "(*piVar1 != 0)" (( "(") (binary_expression "*piVar1 != 0" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    *(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1;\n    *(short *)((int)piVar1 + 0x1e) = *(short *)((int)piVar1 + 0x1e) + 1;\n    return piVar1;\n  }" ({ "{") (expression_statement "*(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1;" (assignment_expression "*(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1" (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" (identifier "param_1") (+ "+") (number_literal "0xc")) () ")")))) (= "=") (binary_expression "*(int *)(param_1 + 0xc) + 1" (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" (identifier "param_1") (+ "+") (number_literal "0xc")) () ")")))) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*(short *)((int)piVar1 + 0x1e) = *(short *)((int)piVar1 + 0x1e) + 1;" (assignment_expression "*(short *)((int)piVar1 + 0x1e) = *(short *)((int)piVar1 + 0x1e) + 1" (pointer_expression "*(short *)((int)piVar1 + 0x1e)" (* "*") (cast_expression "(short *)((int)piVar1 + 0x1e)" (( "(") (type_descriptor "short *" (sized_type_specifier "short" (short "short")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)piVar1 + 0x1e)" (( "(") (binary_expression "(int)piVar1 + 0x1e" (cast_expression "(int)piVar1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar1")) (+ "+") (number_literal "0x1e")) () ")")))) (= "=") (binary_expression "*(short *)((int)piVar1 + 0x1e) + 1" (pointer_expression "*(short *)((int)piVar1 + 0x1e)" (* "*") (cast_expression "(short *)((int)piVar1 + 0x1e)" (( "(") (type_descriptor "short *" (sized_type_specifier "short" (short "short")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)piVar1 + 0x1e)" (( "(") (binary_expression "(int)piVar1 + 0x1e" (cast_expression "(int)piVar1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar1")) (+ "+") (number_literal "0x1e")) () ")")))) (+ "+") (number_literal "1"))) (; ";")) (return_statement "return piVar1;" (return "return") (identifier "piVar1") (; ";")) (} "}"))) (expression_statement "piVar1 = (int *)FUN_00025864();" (assignment_expression "piVar1 = (int *)FUN_00025864()" (identifier "piVar1") (= "=") (cast_expression "(int *)FUN_00025864()" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_00025864()" (identifier "FUN_00025864") (argument_list "()" (( "(") () ")"))))) (; ";")) (return_statement "return piVar1;" (return "return") (identifier "piVar1") (; ";")) (} "}")))
(translation_unit (function_definition type: (primitive_type) declarator: (pointer_declarator 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: (primitive_type) declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) 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: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))) right: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))) right: (number_literal)))) (return_statement (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list))))) (return_statement (identifier)))))

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

{
  int *piVar1;
  
  piVar1 = *(int **)(param_3 + 4);
  if (*piVar1 != 0) {
    *(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1;
    *(short *)((int)piVar1 + 0x1e) = *(short *)((int)piVar1 + 0x1e) + 1;
    return piVar1;
  }
  piVar1 = (int *)FUN_00025864();
  return piVar1;
}

