
void countStep(sqlite3_context *context,int argc,sqlite3_value **argv)

{
  int *piVar1;
  uint uVar2;
  uint uVar3;
  Mem *nByte;
  
  nByte = context->pMem;
  if ((nByte->flags & 0x2000) == 0) {
    piVar1 = (int *)createAggContext((sqlite3_context *)&context->pFunc,(int)nByte,
                                     (sqlite3_context *)&DAT_00000008);
  }
  else {
    piVar1 = (int *)nByte->z;
  }
  if (((argc == 0) ||
      (PTR_s_o_page_from_root____pageno_INTEG_0019095c[((*argv)->flags & 0x1f) + 0x6a8c] != '\x05'))
     && (piVar1 != (int *)0x0)) {
    uVar2 = piVar1[1];
    uVar3 = uVar2 + 1;
    piVar1[1] = uVar3;
    *piVar1 = (uint)(uVar3 < uVar2) + *piVar1;
  }
  return;
}



void FUN_0007cbd0(int param_1,int param_2,int *param_3)

{
  int *piVar1;
  uint uVar2;
  uint uVar3;
  int iVar4;
  
  iVar4 = *(int *)(param_1 + 8);
  if ((*(ushort *)(iVar4 + 8) & 0x2000) == 0) {
    piVar1 = (int *)FUN_0007be98(param_1 + 4,iVar4,8);
  }
  else {
    piVar1 = *(int **)(iVar4 + 0x10);
  }
  if (((param_2 == 0) ||
      (PTR_s_o_page_from_root____pageno_INTEG_0019095c[(*(ushort *)(*param_3 + 8) & 0x1f) + 0x6a8c]
       != '\x05')) && (piVar1 != (int *)0x0)) {
    uVar2 = piVar1[1];
    uVar3 = uVar2 + 1;
    piVar1[1] = uVar3;
    *piVar1 = (uint)(uVar3 < uVar2) + *piVar1;
  }
  return;
}


lui gp,0x12
addiu gp,gp,-0x42b0
addu gp,gp,t9
addiu sp,sp,-0x28
sw s1,0x20(sp)
sw s0,0x1c(sp)
or s0,a1,zero
sw gp,0x10(sp)
sw ra,0x24(sp)
lw a1,0x8(a0)
lhu v0,0x8(a1)
andi v0,v0,0x2000
beq v0,zero,0x0007cc70
_or s1,a2,zero
lw v0,0x10(a1)
beq s0,zero,0x0007cc38
_li a1,0x5
lw v1,0x0(s1)
lw a0,-0x7fc4(gp)
lhu v1,0x8(v1)
addiu a0,a0,0x6a8c
andi v1,v1,0x1f
addu v1,v1,a0
lbu v1,0x0(v1)
beq v1,a1,0x0007cc60
_lw ra,0x24(sp)
beq v0,zero,0x0007cc60
_lw ra,0x24(sp)
lw v1,0x4(v0)
lw a1,0x0(v0)
addiu a0,v1,0x1
sltu v1,a0,v1
sw a0,0x4(v0)
addu v1,v1,a1
sw v1,0x0(v0)
lw ra,0x24(sp)
lw s1,0x20(sp)
lw s0,0x1c(sp)
jr ra
_addiu sp,sp,0x28
lw t9,-0x7d60(gp)
li a2,0x8
addiu t9,t9,-0x4168
bal 0x0007be98
_addiu a0,a0,0x4
b 0x0007cc0c
_lw gp,0x10(sp)
(translation_unit "void FUN_0007cbd0(int param_1,int param_2,int *param_3)\n\n{\n  int *piVar1;\n  uint uVar2;\n  uint uVar3;\n  int iVar4;\n  \n  iVar4 = *(int *)(param_1 + 8);\n  if ((*(ushort *)(iVar4 + 8) & 0x2000) == 0) {\n    piVar1 = (int *)FUN_0007be98(param_1 + 4,iVar4,8);\n  }\n  else {\n    piVar1 = *(int **)(iVar4 + 0x10);\n  }\n  if (((param_2 == 0) ||\n      (PTR_s_o_page_from_root____pageno_INTEG_0019095c[(*(ushort *)(*param_3 + 8) & 0x1f) + 0x6a8c]\n       != '\x05')) && (piVar1 != (int *)0x0)) {\n    uVar2 = piVar1[1];\n    uVar3 = uVar2 + 1;\n    piVar1[1] = uVar3;\n    *piVar1 = (uint)(uVar3 < uVar2) + *piVar1;\n  }\n  return;\n}\n\n" (function_definition "void FUN_0007cbd0(int param_1,int param_2,int *param_3)\n\n{\n  int *piVar1;\n  uint uVar2;\n  uint uVar3;\n  int iVar4;\n  \n  iVar4 = *(int *)(param_1 + 8);\n  if ((*(ushort *)(iVar4 + 8) & 0x2000) == 0) {\n    piVar1 = (int *)FUN_0007be98(param_1 + 4,iVar4,8);\n  }\n  else {\n    piVar1 = *(int **)(iVar4 + 0x10);\n  }\n  if (((param_2 == 0) ||\n      (PTR_s_o_page_from_root____pageno_INTEG_0019095c[(*(ushort *)(*param_3 + 8) & 0x1f) + 0x6a8c]\n       != '\x05')) && (piVar1 != (int *)0x0)) {\n    uVar2 = piVar1[1];\n    uVar3 = uVar2 + 1;\n    piVar1[1] = uVar3;\n    *piVar1 = (uint)(uVar3 < uVar2) + *piVar1;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0007cbd0(int param_1,int param_2,int *param_3)" identifier (parameter_list "(int param_1,int param_2,int *param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  int *piVar1;\n  uint uVar2;\n  uint uVar3;\n  int iVar4;\n  \n  iVar4 = *(int *)(param_1 + 8);\n  if ((*(ushort *)(iVar4 + 8) & 0x2000) == 0) {\n    piVar1 = (int *)FUN_0007be98(param_1 + 4,iVar4,8);\n  }\n  else {\n    piVar1 = *(int **)(iVar4 + 0x10);\n  }\n  if (((param_2 == 0) ||\n      (PTR_s_o_page_from_root____pageno_INTEG_0019095c[(*(ushort *)(*param_3 + 8) & 0x1f) + 0x6a8c]\n       != '\x05')) && (piVar1 != (int *)0x0)) {\n    uVar2 = piVar1[1];\n    uVar3 = uVar2 + 1;\n    piVar1[1] = uVar3;\n    *piVar1 = (uint)(uVar3 < uVar2) + *piVar1;\n  }\n  return;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (expression_statement "iVar4 = *(int *)(param_1 + 8);" (assignment_expression "iVar4 = *(int *)(param_1 + 8)" identifier = (pointer_expression "*(int *)(param_1 + 8)" * (cast_expression "(int *)(param_1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) ;) (if_statement "if ((*(ushort *)(iVar4 + 8) & 0x2000) == 0) {\n    piVar1 = (int *)FUN_0007be98(param_1 + 4,iVar4,8);\n  }\n  else {\n    piVar1 = *(int **)(iVar4 + 0x10);\n  }" if (parenthesized_expression "((*(ushort *)(iVar4 + 8) & 0x2000) == 0)" ( (binary_expression "(*(ushort *)(iVar4 + 8) & 0x2000) == 0" (parenthesized_expression "(*(ushort *)(iVar4 + 8) & 0x2000)" ( (binary_expression "*(ushort *)(iVar4 + 8) & 0x2000" (pointer_expression "*(ushort *)(iVar4 + 8)" * (cast_expression "(ushort *)(iVar4 + 8)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 8)" ( (binary_expression "iVar4 + 8" identifier + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n    piVar1 = (int *)FUN_0007be98(param_1 + 4,iVar4,8);\n  }" { (expression_statement "piVar1 = (int *)FUN_0007be98(param_1 + 4,iVar4,8);" (assignment_expression "piVar1 = (int *)FUN_0007be98(param_1 + 4,iVar4,8)" identifier = (cast_expression "(int *)FUN_0007be98(param_1 + 4,iVar4,8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0007be98(param_1 + 4,iVar4,8)" identifier (argument_list "(param_1 + 4,iVar4,8)" ( (binary_expression "param_1 + 4" identifier + number_literal) , identifier , number_literal ))))) ;) }) (else_clause "else {\n    piVar1 = *(int **)(iVar4 + 0x10);\n  }" else (compound_statement "{\n    piVar1 = *(int **)(iVar4 + 0x10);\n  }" { (expression_statement "piVar1 = *(int **)(iVar4 + 0x10);" (assignment_expression "piVar1 = *(int **)(iVar4 + 0x10)" identifier = (pointer_expression "*(int **)(iVar4 + 0x10)" * (cast_expression "(int **)(iVar4 + 0x10)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar4 + 0x10)" ( (binary_expression "iVar4 + 0x10" identifier + number_literal) ))))) ;) }))) (if_statement "if (((param_2 == 0) ||\n      (PTR_s_o_page_from_root____pageno_INTEG_0019095c[(*(ushort *)(*param_3 + 8) & 0x1f) + 0x6a8c]\n       != '\x05')) && (piVar1 != (int *)0x0)) {\n    uVar2 = piVar1[1];\n    uVar3 = uVar2 + 1;\n    piVar1[1] = uVar3;\n    *piVar1 = (uint)(uVar3 < uVar2) + *piVar1;\n  }" if (parenthesized_expression "(((param_2 == 0) ||\n      (PTR_s_o_page_from_root____pageno_INTEG_0019095c[(*(ushort *)(*param_3 + 8) & 0x1f) + 0x6a8c]\n       != '\x05')) && (piVar1 != (int *)0x0))" ( (binary_expression "((param_2 == 0) ||\n      (PTR_s_o_page_from_root____pageno_INTEG_0019095c[(*(ushort *)(*param_3 + 8) & 0x1f) + 0x6a8c]\n       != '\x05')) && (piVar1 != (int *)0x0)" (parenthesized_expression "((param_2 == 0) ||\n      (PTR_s_o_page_from_root____pageno_INTEG_0019095c[(*(ushort *)(*param_3 + 8) & 0x1f) + 0x6a8c]\n       != '\x05'))" ( (binary_expression "(param_2 == 0) ||\n      (PTR_s_o_page_from_root____pageno_INTEG_0019095c[(*(ushort *)(*param_3 + 8) & 0x1f) + 0x6a8c]\n       != '\x05')" (parenthesized_expression "(param_2 == 0)" ( (binary_expression "param_2 == 0" identifier == number_literal) )) || (parenthesized_expression "(PTR_s_o_page_from_root____pageno_INTEG_0019095c[(*(ushort *)(*param_3 + 8) & 0x1f) + 0x6a8c]\n       != '\x05')" ( (binary_expression "PTR_s_o_page_from_root____pageno_INTEG_0019095c[(*(ushort *)(*param_3 + 8) & 0x1f) + 0x6a8c]\n       != '\x05'" (subscript_expression "PTR_s_o_page_from_root____pageno_INTEG_0019095c[(*(ushort *)(*param_3 + 8) & 0x1f) + 0x6a8c]" identifier [ (binary_expression "(*(ushort *)(*param_3 + 8) & 0x1f) + 0x6a8c" (parenthesized_expression "(*(ushort *)(*param_3 + 8) & 0x1f)" ( (binary_expression "*(ushort *)(*param_3 + 8) & 0x1f" (pointer_expression "*(ushort *)(*param_3 + 8)" * (cast_expression "(ushort *)(*param_3 + 8)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_3 + 8)" ( (binary_expression "*param_3 + 8" (pointer_expression "*param_3" * identifier) + number_literal) )))) & number_literal) )) + number_literal) ]) != (char_literal "'\x05'" ' escape_sequence ')) ))) )) && (parenthesized_expression "(piVar1 != (int *)0x0)" ( (binary_expression "piVar1 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ))) )) (compound_statement "{\n    uVar2 = piVar1[1];\n    uVar3 = uVar2 + 1;\n    piVar1[1] = uVar3;\n    *piVar1 = (uint)(uVar3 < uVar2) + *piVar1;\n  }" { (expression_statement "uVar2 = piVar1[1];" (assignment_expression "uVar2 = piVar1[1]" identifier = (subscript_expression "piVar1[1]" identifier [ number_literal ])) ;) (expression_statement "uVar3 = uVar2 + 1;" (assignment_expression "uVar3 = uVar2 + 1" identifier = (binary_expression "uVar2 + 1" identifier + number_literal)) ;) (expression_statement "piVar1[1] = uVar3;" (assignment_expression "piVar1[1] = uVar3" (subscript_expression "piVar1[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*piVar1 = (uint)(uVar3 < uVar2) + *piVar1;" (assignment_expression "*piVar1 = (uint)(uVar3 < uVar2) + *piVar1" (pointer_expression "*piVar1" * identifier) = (binary_expression "(uint)(uVar3 < uVar2) + *piVar1" (call_expression "(uint)(uVar3 < uVar2)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar3 < uVar2)" ( (binary_expression "uVar3 < uVar2" identifier < identifier) ))) + (pointer_expression "*piVar1" * identifier))) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void countStep(sqlite3_context *context,int argc,sqlite3_value **argv)\n\n{\n  int *piVar1;\n  uint uVar2;\n  uint uVar3;\n  Mem *nByte;\n  \n  nByte = context->pMem;\n  if ((nByte->flags & 0x2000) == 0) {\n    piVar1 = (int *)createAggContext((sqlite3_context *)&context->pFunc,(int)nByte,\n                                     (sqlite3_context *)&DAT_00000008);\n  }\n  else {\n    piVar1 = (int *)nByte->z;\n  }\n  if (((argc == 0) ||\n      (PTR_s_o_page_from_root____pageno_INTEG_0019095c[((*argv)->flags & 0x1f) + 0x6a8c] != '\x05'))\n     && (piVar1 != (int *)0x0)) {\n    uVar2 = piVar1[1];\n    uVar3 = uVar2 + 1;\n    piVar1[1] = uVar3;\n    *piVar1 = (uint)(uVar3 < uVar2) + *piVar1;\n  }\n  return;\n}\n\n" (function_definition "void countStep(sqlite3_context *context,int argc,sqlite3_value **argv)\n\n{\n  int *piVar1;\n  uint uVar2;\n  uint uVar3;\n  Mem *nByte;\n  \n  nByte = context->pMem;\n  if ((nByte->flags & 0x2000) == 0) {\n    piVar1 = (int *)createAggContext((sqlite3_context *)&context->pFunc,(int)nByte,\n                                     (sqlite3_context *)&DAT_00000008);\n  }\n  else {\n    piVar1 = (int *)nByte->z;\n  }\n  if (((argc == 0) ||\n      (PTR_s_o_page_from_root____pageno_INTEG_0019095c[((*argv)->flags & 0x1f) + 0x6a8c] != '\x05'))\n     && (piVar1 != (int *)0x0)) {\n    uVar2 = piVar1[1];\n    uVar3 = uVar2 + 1;\n    piVar1[1] = uVar3;\n    *piVar1 = (uint)(uVar3 < uVar2) + *piVar1;\n  }\n  return;\n}" primitive_type (function_declarator "countStep(sqlite3_context *context,int argc,sqlite3_value **argv)" identifier (parameter_list "(sqlite3_context *context,int argc,sqlite3_value **argv)" ( (parameter_declaration "sqlite3_context *context" type_identifier (pointer_declarator "*context" * identifier)) , (parameter_declaration "int argc" primitive_type identifier) , (parameter_declaration "sqlite3_value **argv" type_identifier (pointer_declarator "**argv" * (pointer_declarator "*argv" * identifier))) ))) (compound_statement "{\n  int *piVar1;\n  uint uVar2;\n  uint uVar3;\n  Mem *nByte;\n  \n  nByte = context->pMem;\n  if ((nByte->flags & 0x2000) == 0) {\n    piVar1 = (int *)createAggContext((sqlite3_context *)&context->pFunc,(int)nByte,\n                                     (sqlite3_context *)&DAT_00000008);\n  }\n  else {\n    piVar1 = (int *)nByte->z;\n  }\n  if (((argc == 0) ||\n      (PTR_s_o_page_from_root____pageno_INTEG_0019095c[((*argv)->flags & 0x1f) + 0x6a8c] != '\x05'))\n     && (piVar1 != (int *)0x0)) {\n    uVar2 = piVar1[1];\n    uVar3 = uVar2 + 1;\n    piVar1[1] = uVar3;\n    *piVar1 = (uint)(uVar3 < uVar2) + *piVar1;\n  }\n  return;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "Mem *nByte;" type_identifier (pointer_declarator "*nByte" * identifier) ;) (expression_statement "nByte = context->pMem;" (assignment_expression "nByte = context->pMem" identifier = (field_expression "context->pMem" identifier -> field_identifier)) ;) (if_statement "if ((nByte->flags & 0x2000) == 0) {\n    piVar1 = (int *)createAggContext((sqlite3_context *)&context->pFunc,(int)nByte,\n                                     (sqlite3_context *)&DAT_00000008);\n  }\n  else {\n    piVar1 = (int *)nByte->z;\n  }" if (parenthesized_expression "((nByte->flags & 0x2000) == 0)" ( (binary_expression "(nByte->flags & 0x2000) == 0" (parenthesized_expression "(nByte->flags & 0x2000)" ( (binary_expression "nByte->flags & 0x2000" (field_expression "nByte->flags" identifier -> field_identifier) & number_literal) )) == number_literal) )) (compound_statement "{\n    piVar1 = (int *)createAggContext((sqlite3_context *)&context->pFunc,(int)nByte,\n                                     (sqlite3_context *)&DAT_00000008);\n  }" { (expression_statement "piVar1 = (int *)createAggContext((sqlite3_context *)&context->pFunc,(int)nByte,\n                                     (sqlite3_context *)&DAT_00000008);" (assignment_expression "piVar1 = (int *)createAggContext((sqlite3_context *)&context->pFunc,(int)nByte,\n                                     (sqlite3_context *)&DAT_00000008)" identifier = (cast_expression "(int *)createAggContext((sqlite3_context *)&context->pFunc,(int)nByte,\n                                     (sqlite3_context *)&DAT_00000008)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "createAggContext((sqlite3_context *)&context->pFunc,(int)nByte,\n                                     (sqlite3_context *)&DAT_00000008)" identifier (argument_list "((sqlite3_context *)&context->pFunc,(int)nByte,\n                                     (sqlite3_context *)&DAT_00000008)" ( (cast_expression "(sqlite3_context *)&context->pFunc" ( (type_descriptor "sqlite3_context *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&context->pFunc" & (field_expression "context->pFunc" identifier -> field_identifier))) , (cast_expression "(int)nByte" ( (type_descriptor "int" primitive_type) ) identifier) , (cast_expression "(sqlite3_context *)&DAT_00000008" ( (type_descriptor "sqlite3_context *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&DAT_00000008" & identifier)) ))))) ;) }) (else_clause "else {\n    piVar1 = (int *)nByte->z;\n  }" else (compound_statement "{\n    piVar1 = (int *)nByte->z;\n  }" { (expression_statement "piVar1 = (int *)nByte->z;" (assignment_expression "piVar1 = (int *)nByte->z" identifier = (cast_expression "(int *)nByte->z" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (field_expression "nByte->z" identifier -> field_identifier))) ;) }))) (if_statement "if (((argc == 0) ||\n      (PTR_s_o_page_from_root____pageno_INTEG_0019095c[((*argv)->flags & 0x1f) + 0x6a8c] != '\x05'))\n     && (piVar1 != (int *)0x0)) {\n    uVar2 = piVar1[1];\n    uVar3 = uVar2 + 1;\n    piVar1[1] = uVar3;\n    *piVar1 = (uint)(uVar3 < uVar2) + *piVar1;\n  }" if (parenthesized_expression "(((argc == 0) ||\n      (PTR_s_o_page_from_root____pageno_INTEG_0019095c[((*argv)->flags & 0x1f) + 0x6a8c] != '\x05'))\n     && (piVar1 != (int *)0x0))" ( (binary_expression "((argc == 0) ||\n      (PTR_s_o_page_from_root____pageno_INTEG_0019095c[((*argv)->flags & 0x1f) + 0x6a8c] != '\x05'))\n     && (piVar1 != (int *)0x0)" (parenthesized_expression "((argc == 0) ||\n      (PTR_s_o_page_from_root____pageno_INTEG_0019095c[((*argv)->flags & 0x1f) + 0x6a8c] != '\x05'))" ( (binary_expression "(argc == 0) ||\n      (PTR_s_o_page_from_root____pageno_INTEG_0019095c[((*argv)->flags & 0x1f) + 0x6a8c] != '\x05')" (parenthesized_expression "(argc == 0)" ( (binary_expression "argc == 0" identifier == number_literal) )) || (parenthesized_expression "(PTR_s_o_page_from_root____pageno_INTEG_0019095c[((*argv)->flags & 0x1f) + 0x6a8c] != '\x05')" ( (binary_expression "PTR_s_o_page_from_root____pageno_INTEG_0019095c[((*argv)->flags & 0x1f) + 0x6a8c] != '\x05'" (subscript_expression "PTR_s_o_page_from_root____pageno_INTEG_0019095c[((*argv)->flags & 0x1f) + 0x6a8c]" identifier [ (binary_expression "((*argv)->flags & 0x1f) + 0x6a8c" (parenthesized_expression "((*argv)->flags & 0x1f)" ( (binary_expression "(*argv)->flags & 0x1f" (field_expression "(*argv)->flags" (parenthesized_expression "(*argv)" ( (pointer_expression "*argv" * identifier) )) -> field_identifier) & number_literal) )) + number_literal) ]) != (char_literal "'\x05'" ' escape_sequence ')) ))) )) && (parenthesized_expression "(piVar1 != (int *)0x0)" ( (binary_expression "piVar1 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ))) )) (compound_statement "{\n    uVar2 = piVar1[1];\n    uVar3 = uVar2 + 1;\n    piVar1[1] = uVar3;\n    *piVar1 = (uint)(uVar3 < uVar2) + *piVar1;\n  }" { (expression_statement "uVar2 = piVar1[1];" (assignment_expression "uVar2 = piVar1[1]" identifier = (subscript_expression "piVar1[1]" identifier [ number_literal ])) ;) (expression_statement "uVar3 = uVar2 + 1;" (assignment_expression "uVar3 = uVar2 + 1" identifier = (binary_expression "uVar2 + 1" identifier + number_literal)) ;) (expression_statement "piVar1[1] = uVar3;" (assignment_expression "piVar1[1] = uVar3" (subscript_expression "piVar1[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*piVar1 = (uint)(uVar3 < uVar2) + *piVar1;" (assignment_expression "*piVar1 = (uint)(uVar3 < uVar2) + *piVar1" (pointer_expression "*piVar1" * identifier) = (binary_expression "(uint)(uVar3 < uVar2) + *piVar1" (call_expression "(uint)(uVar3 < uVar2)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar3 < uVar2)" ( (binary_expression "uVar3 < uVar2" identifier < identifier) ))) + (pointer_expression "*piVar1" * identifier))) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0007cbd0(int param_1,int param_2,int *param_3)\n\n{\n  int *piVar1;\n  uint uVar2;\n  uint uVar3;\n  int iVar4;\n  \n  iVar4 = *(int *)(param_1 + 8);\n  if ((*(ushort *)(iVar4 + 8) & 0x2000) == 0) {\n    piVar1 = (int *)FUN_0007be98(param_1 + 4,iVar4,8);\n  }\n  else {\n    piVar1 = *(int **)(iVar4 + 0x10);\n  }\n  if (((param_2 == 0) ||\n      (PTR_s_o_page_from_root____pageno_INTEG_0019095c[(*(ushort *)(*param_3 + 8) & 0x1f) + 0x6a8c]\n       != '\x05')) && (piVar1 != (int *)0x0)) {\n    uVar2 = piVar1[1];\n    uVar3 = uVar2 + 1;\n    piVar1[1] = uVar3;\n    *piVar1 = (uint)(uVar3 < uVar2) + *piVar1;\n  }\n  return;\n}\n\n" (function_definition "void FUN_0007cbd0(int param_1,int param_2,int *param_3)\n\n{\n  int *piVar1;\n  uint uVar2;\n  uint uVar3;\n  int iVar4;\n  \n  iVar4 = *(int *)(param_1 + 8);\n  if ((*(ushort *)(iVar4 + 8) & 0x2000) == 0) {\n    piVar1 = (int *)FUN_0007be98(param_1 + 4,iVar4,8);\n  }\n  else {\n    piVar1 = *(int **)(iVar4 + 0x10);\n  }\n  if (((param_2 == 0) ||\n      (PTR_s_o_page_from_root____pageno_INTEG_0019095c[(*(ushort *)(*param_3 + 8) & 0x1f) + 0x6a8c]\n       != '\x05')) && (piVar1 != (int *)0x0)) {\n    uVar2 = piVar1[1];\n    uVar3 = uVar2 + 1;\n    piVar1[1] = uVar3;\n    *piVar1 = (uint)(uVar3 < uVar2) + *piVar1;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0007cbd0(int param_1,int param_2,int *param_3)" identifier (parameter_list "(int param_1,int param_2,int *param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  int *piVar1;\n  uint uVar2;\n  uint uVar3;\n  int iVar4;\n  \n  iVar4 = *(int *)(param_1 + 8);\n  if ((*(ushort *)(iVar4 + 8) & 0x2000) == 0) {\n    piVar1 = (int *)FUN_0007be98(param_1 + 4,iVar4,8);\n  }\n  else {\n    piVar1 = *(int **)(iVar4 + 0x10);\n  }\n  if (((param_2 == 0) ||\n      (PTR_s_o_page_from_root____pageno_INTEG_0019095c[(*(ushort *)(*param_3 + 8) & 0x1f) + 0x6a8c]\n       != '\x05')) && (piVar1 != (int *)0x0)) {\n    uVar2 = piVar1[1];\n    uVar3 = uVar2 + 1;\n    piVar1[1] = uVar3;\n    *piVar1 = (uint)(uVar3 < uVar2) + *piVar1;\n  }\n  return;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (expression_statement "iVar4 = *(int *)(param_1 + 8);" (assignment_expression "iVar4 = *(int *)(param_1 + 8)" identifier = (pointer_expression "*(int *)(param_1 + 8)" * (cast_expression "(int *)(param_1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) ;) (if_statement "if ((*(ushort *)(iVar4 + 8) & 0x2000) == 0) {\n    piVar1 = (int *)FUN_0007be98(param_1 + 4,iVar4,8);\n  }\n  else {\n    piVar1 = *(int **)(iVar4 + 0x10);\n  }" if (parenthesized_expression "((*(ushort *)(iVar4 + 8) & 0x2000) == 0)" ( (binary_expression "(*(ushort *)(iVar4 + 8) & 0x2000) == 0" (parenthesized_expression "(*(ushort *)(iVar4 + 8) & 0x2000)" ( (binary_expression "*(ushort *)(iVar4 + 8) & 0x2000" (pointer_expression "*(ushort *)(iVar4 + 8)" * (cast_expression "(ushort *)(iVar4 + 8)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 8)" ( (binary_expression "iVar4 + 8" identifier + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n    piVar1 = (int *)FUN_0007be98(param_1 + 4,iVar4,8);\n  }" { (expression_statement "piVar1 = (int *)FUN_0007be98(param_1 + 4,iVar4,8);" (assignment_expression "piVar1 = (int *)FUN_0007be98(param_1 + 4,iVar4,8)" identifier = (cast_expression "(int *)FUN_0007be98(param_1 + 4,iVar4,8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0007be98(param_1 + 4,iVar4,8)" identifier (argument_list "(param_1 + 4,iVar4,8)" ( (binary_expression "param_1 + 4" identifier + number_literal) , identifier , number_literal ))))) ;) }) (else_clause "else {\n    piVar1 = *(int **)(iVar4 + 0x10);\n  }" else (compound_statement "{\n    piVar1 = *(int **)(iVar4 + 0x10);\n  }" { (expression_statement "piVar1 = *(int **)(iVar4 + 0x10);" (assignment_expression "piVar1 = *(int **)(iVar4 + 0x10)" identifier = (pointer_expression "*(int **)(iVar4 + 0x10)" * (cast_expression "(int **)(iVar4 + 0x10)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar4 + 0x10)" ( (binary_expression "iVar4 + 0x10" identifier + number_literal) ))))) ;) }))) (if_statement "if (((param_2 == 0) ||\n      (PTR_s_o_page_from_root____pageno_INTEG_0019095c[(*(ushort *)(*param_3 + 8) & 0x1f) + 0x6a8c]\n       != '\x05')) && (piVar1 != (int *)0x0)) {\n    uVar2 = piVar1[1];\n    uVar3 = uVar2 + 1;\n    piVar1[1] = uVar3;\n    *piVar1 = (uint)(uVar3 < uVar2) + *piVar1;\n  }" if (parenthesized_expression "(((param_2 == 0) ||\n      (PTR_s_o_page_from_root____pageno_INTEG_0019095c[(*(ushort *)(*param_3 + 8) & 0x1f) + 0x6a8c]\n       != '\x05')) && (piVar1 != (int *)0x0))" ( (binary_expression "((param_2 == 0) ||\n      (PTR_s_o_page_from_root____pageno_INTEG_0019095c[(*(ushort *)(*param_3 + 8) & 0x1f) + 0x6a8c]\n       != '\x05')) && (piVar1 != (int *)0x0)" (parenthesized_expression "((param_2 == 0) ||\n      (PTR_s_o_page_from_root____pageno_INTEG_0019095c[(*(ushort *)(*param_3 + 8) & 0x1f) + 0x6a8c]\n       != '\x05'))" ( (binary_expression "(param_2 == 0) ||\n      (PTR_s_o_page_from_root____pageno_INTEG_0019095c[(*(ushort *)(*param_3 + 8) & 0x1f) + 0x6a8c]\n       != '\x05')" (parenthesized_expression "(param_2 == 0)" ( (binary_expression "param_2 == 0" identifier == number_literal) )) || (parenthesized_expression "(PTR_s_o_page_from_root____pageno_INTEG_0019095c[(*(ushort *)(*param_3 + 8) & 0x1f) + 0x6a8c]\n       != '\x05')" ( (binary_expression "PTR_s_o_page_from_root____pageno_INTEG_0019095c[(*(ushort *)(*param_3 + 8) & 0x1f) + 0x6a8c]\n       != '\x05'" (subscript_expression "PTR_s_o_page_from_root____pageno_INTEG_0019095c[(*(ushort *)(*param_3 + 8) & 0x1f) + 0x6a8c]" identifier [ (binary_expression "(*(ushort *)(*param_3 + 8) & 0x1f) + 0x6a8c" (parenthesized_expression "(*(ushort *)(*param_3 + 8) & 0x1f)" ( (binary_expression "*(ushort *)(*param_3 + 8) & 0x1f" (pointer_expression "*(ushort *)(*param_3 + 8)" * (cast_expression "(ushort *)(*param_3 + 8)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_3 + 8)" ( (binary_expression "*param_3 + 8" (pointer_expression "*param_3" * identifier) + number_literal) )))) & number_literal) )) + number_literal) ]) != (char_literal "'\x05'" ' escape_sequence ')) ))) )) && (parenthesized_expression "(piVar1 != (int *)0x0)" ( (binary_expression "piVar1 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ))) )) (compound_statement "{\n    uVar2 = piVar1[1];\n    uVar3 = uVar2 + 1;\n    piVar1[1] = uVar3;\n    *piVar1 = (uint)(uVar3 < uVar2) + *piVar1;\n  }" { (expression_statement "uVar2 = piVar1[1];" (assignment_expression "uVar2 = piVar1[1]" identifier = (subscript_expression "piVar1[1]" identifier [ number_literal ])) ;) (expression_statement "uVar3 = uVar2 + 1;" (assignment_expression "uVar3 = uVar2 + 1" identifier = (binary_expression "uVar2 + 1" identifier + number_literal)) ;) (expression_statement "piVar1[1] = uVar3;" (assignment_expression "piVar1[1] = uVar3" (subscript_expression "piVar1[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*piVar1 = (uint)(uVar3 < uVar2) + *piVar1;" (assignment_expression "*piVar1 = (uint)(uVar3 < uVar2) + *piVar1" (pointer_expression "*piVar1" * identifier) = (binary_expression "(uint)(uVar3 < uVar2) + *piVar1" (call_expression "(uint)(uVar3 < uVar2)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar3 < uVar2)" ( (binary_expression "uVar3 < uVar2" identifier < identifier) ))) + (pointer_expression "*piVar1" * identifier))) ;) })) (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 (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (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 { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , IDENT , LIT ))))) ;) }) (else_clause else (compound_statement { (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 (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) || (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) & LIT) )) + LIT) ]) != (char_literal ' escape_sequence ')) ))) )) && (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT < IDENT) ))) + (pointer_expression * IDENT))) ;) })) (return_statement return ;) })))
(function_definition "void FUN_0007cbd0(int param_1,int param_2,int *param_3)\n\n{\n  int *piVar1;\n  uint uVar2;\n  uint uVar3;\n  int iVar4;\n  \n  iVar4 = *(int *)(param_1 + 8);\n  if ((*(ushort *)(iVar4 + 8) & 0x2000) == 0) {\n    piVar1 = (int *)FUN_0007be98(param_1 + 4,iVar4,8);\n  }\n  else {\n    piVar1 = *(int **)(iVar4 + 0x10);\n  }\n  if (((param_2 == 0) ||\n      (PTR_s_o_page_from_root____pageno_INTEG_0019095c[(*(ushort *)(*param_3 + 8) & 0x1f) + 0x6a8c]\n       != '\x05')) && (piVar1 != (int *)0x0)) {\n    uVar2 = piVar1[1];\n    uVar3 = uVar2 + 1;\n    piVar1[1] = uVar3;\n    *piVar1 = (uint)(uVar3 < uVar2) + *piVar1;\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0007cbd0(int param_1,int param_2,int *param_3)" (identifier "FUN_0007cbd0") (parameter_list "(int param_1,int param_2,int *param_3)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "int *param_3" (primitive_type "int") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) () ")"))) (compound_statement "{\n  int *piVar1;\n  uint uVar2;\n  uint uVar3;\n  int iVar4;\n  \n  iVar4 = *(int *)(param_1 + 8);\n  if ((*(ushort *)(iVar4 + 8) & 0x2000) == 0) {\n    piVar1 = (int *)FUN_0007be98(param_1 + 4,iVar4,8);\n  }\n  else {\n    piVar1 = *(int **)(iVar4 + 0x10);\n  }\n  if (((param_2 == 0) ||\n      (PTR_s_o_page_from_root____pageno_INTEG_0019095c[(*(ushort *)(*param_3 + 8) & 0x1f) + 0x6a8c]\n       != '\x05')) && (piVar1 != (int *)0x0)) {\n    uVar2 = piVar1[1];\n    uVar3 = uVar2 + 1;\n    piVar1[1] = uVar3;\n    *piVar1 = (uint)(uVar3 < uVar2) + *piVar1;\n  }\n  return;\n}" ({ "{") (declaration "int *piVar1;" (primitive_type "int") (pointer_declarator "*piVar1" (* "*") (identifier "piVar1")) (; ";")) (declaration "uint uVar2;" (type_identifier "uint") (identifier "uVar2") (; ";")) (declaration "uint uVar3;" (type_identifier "uint") (identifier "uVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (expression_statement "iVar4 = *(int *)(param_1 + 8);" (assignment_expression "iVar4 = *(int *)(param_1 + 8)" (identifier "iVar4") (= "=") (pointer_expression "*(int *)(param_1 + 8)" (* "*") (cast_expression "(int *)(param_1 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (if_statement "if ((*(ushort *)(iVar4 + 8) & 0x2000) == 0) {\n    piVar1 = (int *)FUN_0007be98(param_1 + 4,iVar4,8);\n  }\n  else {\n    piVar1 = *(int **)(iVar4 + 0x10);\n  }" (if "if") (parenthesized_expression "((*(ushort *)(iVar4 + 8) & 0x2000) == 0)" (( "(") (binary_expression "(*(ushort *)(iVar4 + 8) & 0x2000) == 0" (parenthesized_expression "(*(ushort *)(iVar4 + 8) & 0x2000)" (( "(") (binary_expression "*(ushort *)(iVar4 + 8) & 0x2000" (pointer_expression "*(ushort *)(iVar4 + 8)" (* "*") (cast_expression "(ushort *)(iVar4 + 8)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 8)" (( "(") (binary_expression "iVar4 + 8" (identifier "iVar4") (+ "+") (number_literal "8")) () ")")))) (& "&") (number_literal "0x2000")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    piVar1 = (int *)FUN_0007be98(param_1 + 4,iVar4,8);\n  }" ({ "{") (expression_statement "piVar1 = (int *)FUN_0007be98(param_1 + 4,iVar4,8);" (assignment_expression "piVar1 = (int *)FUN_0007be98(param_1 + 4,iVar4,8)" (identifier "piVar1") (= "=") (cast_expression "(int *)FUN_0007be98(param_1 + 4,iVar4,8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_0007be98(param_1 + 4,iVar4,8)" (identifier "FUN_0007be98") (argument_list "(param_1 + 4,iVar4,8)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) (, ",") (identifier "iVar4") (, ",") (number_literal "8") () ")"))))) (; ";")) (} "}")) (else_clause "else {\n    piVar1 = *(int **)(iVar4 + 0x10);\n  }" (else "else") (compound_statement "{\n    piVar1 = *(int **)(iVar4 + 0x10);\n  }" ({ "{") (expression_statement "piVar1 = *(int **)(iVar4 + 0x10);" (assignment_expression "piVar1 = *(int **)(iVar4 + 0x10)" (identifier "piVar1") (= "=") (pointer_expression "*(int **)(iVar4 + 0x10)" (* "*") (cast_expression "(int **)(iVar4 + 0x10)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar4 + 0x10)" (( "(") (binary_expression "iVar4 + 0x10" (identifier "iVar4") (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (} "}")))) (if_statement "if (((param_2 == 0) ||\n      (PTR_s_o_page_from_root____pageno_INTEG_0019095c[(*(ushort *)(*param_3 + 8) & 0x1f) + 0x6a8c]\n       != '\x05')) && (piVar1 != (int *)0x0)) {\n    uVar2 = piVar1[1];\n    uVar3 = uVar2 + 1;\n    piVar1[1] = uVar3;\n    *piVar1 = (uint)(uVar3 < uVar2) + *piVar1;\n  }" (if "if") (parenthesized_expression "(((param_2 == 0) ||\n      (PTR_s_o_page_from_root____pageno_INTEG_0019095c[(*(ushort *)(*param_3 + 8) & 0x1f) + 0x6a8c]\n       != '\x05')) && (piVar1 != (int *)0x0))" (( "(") (binary_expression "((param_2 == 0) ||\n      (PTR_s_o_page_from_root____pageno_INTEG_0019095c[(*(ushort *)(*param_3 + 8) & 0x1f) + 0x6a8c]\n       != '\x05')) && (piVar1 != (int *)0x0)" (parenthesized_expression "((param_2 == 0) ||\n      (PTR_s_o_page_from_root____pageno_INTEG_0019095c[(*(ushort *)(*param_3 + 8) & 0x1f) + 0x6a8c]\n       != '\x05'))" (( "(") (binary_expression "(param_2 == 0) ||\n      (PTR_s_o_page_from_root____pageno_INTEG_0019095c[(*(ushort *)(*param_3 + 8) & 0x1f) + 0x6a8c]\n       != '\x05')" (parenthesized_expression "(param_2 == 0)" (( "(") (binary_expression "param_2 == 0" (identifier "param_2") (== "==") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(PTR_s_o_page_from_root____pageno_INTEG_0019095c[(*(ushort *)(*param_3 + 8) & 0x1f) + 0x6a8c]\n       != '\x05')" (( "(") (binary_expression "PTR_s_o_page_from_root____pageno_INTEG_0019095c[(*(ushort *)(*param_3 + 8) & 0x1f) + 0x6a8c]\n       != '\x05'" (subscript_expression "PTR_s_o_page_from_root____pageno_INTEG_0019095c[(*(ushort *)(*param_3 + 8) & 0x1f) + 0x6a8c]" (identifier "PTR_s_o_page_from_root____pageno_INTEG_0019095c") ([ "[") (binary_expression "(*(ushort *)(*param_3 + 8) & 0x1f) + 0x6a8c" (parenthesized_expression "(*(ushort *)(*param_3 + 8) & 0x1f)" (( "(") (binary_expression "*(ushort *)(*param_3 + 8) & 0x1f" (pointer_expression "*(ushort *)(*param_3 + 8)" (* "*") (cast_expression "(ushort *)(*param_3 + 8)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_3 + 8)" (( "(") (binary_expression "*param_3 + 8" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (+ "+") (number_literal "8")) () ")")))) (& "&") (number_literal "0x1f")) () ")")) (+ "+") (number_literal "0x6a8c")) (] "]")) (!= "!=") (char_literal "'\x05'" (' "'") (escape_sequence "\x05") (' "'"))) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(piVar1 != (int *)0x0)" (( "(") (binary_expression "piVar1 != (int *)0x0" (identifier "piVar1") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")"))) () ")")) (compound_statement "{\n    uVar2 = piVar1[1];\n    uVar3 = uVar2 + 1;\n    piVar1[1] = uVar3;\n    *piVar1 = (uint)(uVar3 < uVar2) + *piVar1;\n  }" ({ "{") (expression_statement "uVar2 = piVar1[1];" (assignment_expression "uVar2 = piVar1[1]" (identifier "uVar2") (= "=") (subscript_expression "piVar1[1]" (identifier "piVar1") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "uVar3 = uVar2 + 1;" (assignment_expression "uVar3 = uVar2 + 1" (identifier "uVar3") (= "=") (binary_expression "uVar2 + 1" (identifier "uVar2") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "piVar1[1] = uVar3;" (assignment_expression "piVar1[1] = uVar3" (subscript_expression "piVar1[1]" (identifier "piVar1") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "uVar3")) (; ";")) (expression_statement "*piVar1 = (uint)(uVar3 < uVar2) + *piVar1;" (assignment_expression "*piVar1 = (uint)(uVar3 < uVar2) + *piVar1" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (= "=") (binary_expression "(uint)(uVar3 < uVar2) + *piVar1" (call_expression "(uint)(uVar3 < uVar2)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(uVar3 < uVar2)" (( "(") (binary_expression "uVar3 < uVar2" (identifier "uVar3") (< "<") (identifier "uVar2")) () ")"))) (+ "+") (pointer_expression "*piVar1" (* "*") (identifier "piVar1")))) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (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))))))) (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 (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 (binary_expression left: (identifier) right: (number_literal)) (identifier) (number_literal))))))) alternative: (else_clause (compound_statement (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: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (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: (pointer_expression argument: (identifier)) right: (number_literal))))) right: (number_literal))) right: (number_literal))) right: (char_literal (escape_sequence)))))) right: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (binary_expression left: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (identifier) right: (identifier)))) right: (pointer_expression argument: (identifier))))))) (return_statement))))

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

{
  int *piVar1;
  uint uVar2;
  uint uVar3;
  int iVar4;
  
  iVar4 = *(int *)(param_1 + 8);
  if ((*(ushort *)(iVar4 + 8) & 0x2000) == 0) {
    piVar1 = (int *)FUN_0007be98(param_1 + 4,iVar4,8);
  }
  else {
    piVar1 = *(int **)(iVar4 + 0x10);
  }
  if (((param_2 == 0) ||
      (PTR_s_o_page_from_root____pageno_INTEG_0019095c[(*(ushort *)(*param_3 + 8) & 0x1f) + 0x6a8c]
       != '\x05')) && (piVar1 != (int *)0x0)) {
    uVar2 = piVar1[1];
    uVar3 = uVar2 + 1;
    piVar1[1] = uVar3;
    *piVar1 = (uint)(uVar3 < uVar2) + *piVar1;
  }
  return;
}

