
char * sqlite3_uri_key(char *zFilename,int N)

{
  char cVar1;
  uint uVar2;
  char *pcVar3;
  int iVar4;
  
  if ((zFilename != (char *)0x0) && (-1 < N)) {
    for (; (zFilename[-1] != '\0' ||
           (((zFilename[-2] != '\0' || (zFilename[-3] != '\0')) || (zFilename[-4] != '\0'))));
        zFilename = zFilename + -1) {
    }
    uVar2 = (*(code *)PTR_strlen_000f5488)(zFilename);
    pcVar3 = zFilename + (uVar2 & 0x3fffffff) + 1;
    if (*pcVar3 != '\0') {
      iVar4 = N + -1;
      if (N == 0) {
        return pcVar3;
      }
      while( true ) {
        uVar2 = (*(code *)PTR_strlen_000f5488)(pcVar3);
        pcVar3 = pcVar3 + (uVar2 & 0x3fffffff) + 1;
        if (pcVar3 == (char *)0x0) {
          pcVar3 = (char *)0x1;
          cVar1 = cRam00000001;
        }
        else {
          uVar2 = (*(code *)PTR_strlen_000f5488)(pcVar3);
          pcVar3 = pcVar3 + (uVar2 & 0x3fffffff) + 1;
          cVar1 = *pcVar3;
        }
        if (cVar1 == '\0') break;
        iVar4 = iVar4 + -1;
        if (iVar4 == -1) {
          return pcVar3;
        }
      }
    }
  }
  return (char *)0x0;
}



char * sqlite3_uri_key(int param_1,int param_2)

{
  char cVar1;
  uint uVar2;
  char *pcVar3;
  int iVar4;
  
  if ((param_1 != 0) && (-1 < param_2)) {
    for (; (*(char *)(param_1 + -1) != '\0' ||
           (((*(char *)(param_1 + -2) != '\0' || (*(char *)(param_1 + -3) != '\0')) ||
            (*(char *)(param_1 + -4) != '\0')))); param_1 = param_1 + -1) {
    }
    uVar2 = (*(code *)PTR_strlen_000f5488)(param_1);
    pcVar3 = (char *)(param_1 + (uVar2 & 0x3fffffff) + 1);
    if (*pcVar3 != '\0') {
      iVar4 = param_2 + -1;
      if (param_2 == 0) {
        return pcVar3;
      }
      while( true ) {
        uVar2 = (*(code *)PTR_strlen_000f5488)(pcVar3);
        pcVar3 = pcVar3 + (uVar2 & 0x3fffffff) + 1;
        if (pcVar3 == (char *)0x0) {
          pcVar3 = (char *)0x1;
          cVar1 = cRam00000001;
        }
        else {
          uVar2 = (*(code *)PTR_strlen_000f5488)(pcVar3);
          pcVar3 = pcVar3 + (uVar2 & 0x3fffffff) + 1;
          cVar1 = *pcVar3;
        }
        if (cVar1 == '\0') break;
        iVar4 = iVar4 + -1;
        if (iVar4 == -1) {
          return pcVar3;
        }
      }
    }
  }
  return (char *)0x0;
}


lui gp,0xc
addiu gp,gp,-0x10ec
addu gp,gp,t9
addiu sp,sp,-0x28
sw gp,0x10(sp)
sw ra,0x24(sp)
sw s2,0x20(sp)
sw s1,0x1c(sp)
beq a0,zero,0x0003e48c
_sw s0,0x18(sp)
or s0,a0,zero
bltz a1,0x0003e48c
_or s2,a1,zero
lb v0,-0x1(s0)
bne v0,zero,0x0003e3f0
_nop
lb v0,-0x2(s0)
bne v0,zero,0x0003e3f0
_nop
lb v0,-0x3(s0)
bne v0,zero,0x0003e3f0
_nop
lb v0,-0x4(s0)
beq v0,zero,0x0003e3f8
_lw t9,-0x7e18(gp)
b 0x0003e3c0
_addiu s0,s0,-0x1
jalr t9
_or a0,s0,zero
ext v0,v0,0x0,0x1e
addiu v0,v0,0x1
addu s0,s0,v0
lb v0,0x0(s0)
beq v0,zero,0x0003e48c
_lw gp,0x10(sp)
beq s2,zero,0x0003e490
_addiu s1,s2,-0x1
b 0x0003e450
_li s2,-0x1
jalr t9
_addiu s1,s1,-0x1
ext v0,v0,0x0,0x1e
addiu v0,v0,0x1
addu s0,s0,v0
lb v0,0x0(s0)
beq v0,zero,0x0003e48c
_lw gp,0x10(sp)
beq s1,s2,0x0003e494
_lw ra,0x24(sp)
lw t9,-0x7e18(gp)
jalr t9
_or a0,s0,zero
ext v0,v0,0x0,0x1e
lw gp,0x10(sp)
addiu v0,v0,0x1
addu s0,s0,v0
lw t9,-0x7e18(gp)
bne s0,zero,0x0003e428
_or a0,s0,zero
li v0,0x1
addu s0,s0,v0
lb v0,0x0(s0)
bne v0,zero,0x0003e448
_addiu s1,s1,-0x1
or s0,zero,zero
lw ra,0x24(sp)
or v0,s0,zero
lw s2,0x20(sp)
lw s1,0x1c(sp)
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x28
(translation_unit "char * sqlite3_uri_key(int param_1,int param_2)\n\n{\n  char cVar1;\n  uint uVar2;\n  char *pcVar3;\n  int iVar4;\n  \n  if ((param_1 != 0) && (-1 < param_2)) {\n    for (; (*(char *)(param_1 + -1) != '\0' ||\n           (((*(char *)(param_1 + -2) != '\0' || (*(char *)(param_1 + -3) != '\0')) ||\n            (*(char *)(param_1 + -4) != '\0')))); param_1 = param_1 + -1) {\n    }\n    uVar2 = (*(code *)PTR_strlen_000f5488)(param_1);\n    pcVar3 = (char *)(param_1 + (uVar2 & 0x3fffffff) + 1);\n    if (*pcVar3 != '\0') {\n      iVar4 = param_2 + -1;\n      if (param_2 == 0) {\n        return pcVar3;\n      }\n      while( true ) {\n        uVar2 = (*(code *)PTR_strlen_000f5488)(pcVar3);\n        pcVar3 = pcVar3 + (uVar2 & 0x3fffffff) + 1;\n        if (pcVar3 == (char *)0x0) {\n          pcVar3 = (char *)0x1;\n          cVar1 = cRam00000001;\n        }\n        else {\n          uVar2 = (*(code *)PTR_strlen_000f5488)(pcVar3);\n          pcVar3 = pcVar3 + (uVar2 & 0x3fffffff) + 1;\n          cVar1 = *pcVar3;\n        }\n        if (cVar1 == '\0') break;\n        iVar4 = iVar4 + -1;\n        if (iVar4 == -1) {\n          return pcVar3;\n        }\n      }\n    }\n  }\n  return (char *)0x0;\n}\n\n" (function_definition "char * sqlite3_uri_key(int param_1,int param_2)\n\n{\n  char cVar1;\n  uint uVar2;\n  char *pcVar3;\n  int iVar4;\n  \n  if ((param_1 != 0) && (-1 < param_2)) {\n    for (; (*(char *)(param_1 + -1) != '\0' ||\n           (((*(char *)(param_1 + -2) != '\0' || (*(char *)(param_1 + -3) != '\0')) ||\n            (*(char *)(param_1 + -4) != '\0')))); param_1 = param_1 + -1) {\n    }\n    uVar2 = (*(code *)PTR_strlen_000f5488)(param_1);\n    pcVar3 = (char *)(param_1 + (uVar2 & 0x3fffffff) + 1);\n    if (*pcVar3 != '\0') {\n      iVar4 = param_2 + -1;\n      if (param_2 == 0) {\n        return pcVar3;\n      }\n      while( true ) {\n        uVar2 = (*(code *)PTR_strlen_000f5488)(pcVar3);\n        pcVar3 = pcVar3 + (uVar2 & 0x3fffffff) + 1;\n        if (pcVar3 == (char *)0x0) {\n          pcVar3 = (char *)0x1;\n          cVar1 = cRam00000001;\n        }\n        else {\n          uVar2 = (*(code *)PTR_strlen_000f5488)(pcVar3);\n          pcVar3 = pcVar3 + (uVar2 & 0x3fffffff) + 1;\n          cVar1 = *pcVar3;\n        }\n        if (cVar1 == '\0') break;\n        iVar4 = iVar4 + -1;\n        if (iVar4 == -1) {\n          return pcVar3;\n        }\n      }\n    }\n  }\n  return (char *)0x0;\n}" primitive_type (pointer_declarator "* sqlite3_uri_key(int param_1,int param_2)" * (function_declarator "sqlite3_uri_key(int param_1,int param_2)" identifier (parameter_list "(int param_1,int param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) )))) (compound_statement "{\n  char cVar1;\n  uint uVar2;\n  char *pcVar3;\n  int iVar4;\n  \n  if ((param_1 != 0) && (-1 < param_2)) {\n    for (; (*(char *)(param_1 + -1) != '\0' ||\n           (((*(char *)(param_1 + -2) != '\0' || (*(char *)(param_1 + -3) != '\0')) ||\n            (*(char *)(param_1 + -4) != '\0')))); param_1 = param_1 + -1) {\n    }\n    uVar2 = (*(code *)PTR_strlen_000f5488)(param_1);\n    pcVar3 = (char *)(param_1 + (uVar2 & 0x3fffffff) + 1);\n    if (*pcVar3 != '\0') {\n      iVar4 = param_2 + -1;\n      if (param_2 == 0) {\n        return pcVar3;\n      }\n      while( true ) {\n        uVar2 = (*(code *)PTR_strlen_000f5488)(pcVar3);\n        pcVar3 = pcVar3 + (uVar2 & 0x3fffffff) + 1;\n        if (pcVar3 == (char *)0x0) {\n          pcVar3 = (char *)0x1;\n          cVar1 = cRam00000001;\n        }\n        else {\n          uVar2 = (*(code *)PTR_strlen_000f5488)(pcVar3);\n          pcVar3 = pcVar3 + (uVar2 & 0x3fffffff) + 1;\n          cVar1 = *pcVar3;\n        }\n        if (cVar1 == '\0') break;\n        iVar4 = iVar4 + -1;\n        if (iVar4 == -1) {\n          return pcVar3;\n        }\n      }\n    }\n  }\n  return (char *)0x0;\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (if_statement "if ((param_1 != 0) && (-1 < param_2)) {\n    for (; (*(char *)(param_1 + -1) != '\0' ||\n           (((*(char *)(param_1 + -2) != '\0' || (*(char *)(param_1 + -3) != '\0')) ||\n            (*(char *)(param_1 + -4) != '\0')))); param_1 = param_1 + -1) {\n    }\n    uVar2 = (*(code *)PTR_strlen_000f5488)(param_1);\n    pcVar3 = (char *)(param_1 + (uVar2 & 0x3fffffff) + 1);\n    if (*pcVar3 != '\0') {\n      iVar4 = param_2 + -1;\n      if (param_2 == 0) {\n        return pcVar3;\n      }\n      while( true ) {\n        uVar2 = (*(code *)PTR_strlen_000f5488)(pcVar3);\n        pcVar3 = pcVar3 + (uVar2 & 0x3fffffff) + 1;\n        if (pcVar3 == (char *)0x0) {\n          pcVar3 = (char *)0x1;\n          cVar1 = cRam00000001;\n        }\n        else {\n          uVar2 = (*(code *)PTR_strlen_000f5488)(pcVar3);\n          pcVar3 = pcVar3 + (uVar2 & 0x3fffffff) + 1;\n          cVar1 = *pcVar3;\n        }\n        if (cVar1 == '\0') break;\n        iVar4 = iVar4 + -1;\n        if (iVar4 == -1) {\n          return pcVar3;\n        }\n      }\n    }\n  }" if (parenthesized_expression "((param_1 != 0) && (-1 < param_2))" ( (binary_expression "(param_1 != 0) && (-1 < param_2)" (parenthesized_expression "(param_1 != 0)" ( (binary_expression "param_1 != 0" identifier != number_literal) )) && (parenthesized_expression "(-1 < param_2)" ( (binary_expression "-1 < param_2" number_literal < identifier) ))) )) (compound_statement "{\n    for (; (*(char *)(param_1 + -1) != '\0' ||\n           (((*(char *)(param_1 + -2) != '\0' || (*(char *)(param_1 + -3) != '\0')) ||\n            (*(char *)(param_1 + -4) != '\0')))); param_1 = param_1 + -1) {\n    }\n    uVar2 = (*(code *)PTR_strlen_000f5488)(param_1);\n    pcVar3 = (char *)(param_1 + (uVar2 & 0x3fffffff) + 1);\n    if (*pcVar3 != '\0') {\n      iVar4 = param_2 + -1;\n      if (param_2 == 0) {\n        return pcVar3;\n      }\n      while( true ) {\n        uVar2 = (*(code *)PTR_strlen_000f5488)(pcVar3);\n        pcVar3 = pcVar3 + (uVar2 & 0x3fffffff) + 1;\n        if (pcVar3 == (char *)0x0) {\n          pcVar3 = (char *)0x1;\n          cVar1 = cRam00000001;\n        }\n        else {\n          uVar2 = (*(code *)PTR_strlen_000f5488)(pcVar3);\n          pcVar3 = pcVar3 + (uVar2 & 0x3fffffff) + 1;\n          cVar1 = *pcVar3;\n        }\n        if (cVar1 == '\0') break;\n        iVar4 = iVar4 + -1;\n        if (iVar4 == -1) {\n          return pcVar3;\n        }\n      }\n    }\n  }" { (for_statement "for (; (*(char *)(param_1 + -1) != '\0' ||\n           (((*(char *)(param_1 + -2) != '\0' || (*(char *)(param_1 + -3) != '\0')) ||\n            (*(char *)(param_1 + -4) != '\0')))); param_1 = param_1 + -1) {\n    }" for ( ; (parenthesized_expression "(*(char *)(param_1 + -1) != '\0' ||\n           (((*(char *)(param_1 + -2) != '\0' || (*(char *)(param_1 + -3) != '\0')) ||\n            (*(char *)(param_1 + -4) != '\0'))))" ( (binary_expression "*(char *)(param_1 + -1) != '\0' ||\n           (((*(char *)(param_1 + -2) != '\0' || (*(char *)(param_1 + -3) != '\0')) ||\n            (*(char *)(param_1 + -4) != '\0')))" (binary_expression "*(char *)(param_1 + -1) != '\0'" (pointer_expression "*(char *)(param_1 + -1)" * (cast_expression "(char *)(param_1 + -1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + -1)" ( (binary_expression "param_1 + -1" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) || (parenthesized_expression "(((*(char *)(param_1 + -2) != '\0' || (*(char *)(param_1 + -3) != '\0')) ||\n            (*(char *)(param_1 + -4) != '\0')))" ( (parenthesized_expression "((*(char *)(param_1 + -2) != '\0' || (*(char *)(param_1 + -3) != '\0')) ||\n            (*(char *)(param_1 + -4) != '\0'))" ( (binary_expression "(*(char *)(param_1 + -2) != '\0' || (*(char *)(param_1 + -3) != '\0')) ||\n            (*(char *)(param_1 + -4) != '\0')" (parenthesized_expression "(*(char *)(param_1 + -2) != '\0' || (*(char *)(param_1 + -3) != '\0'))" ( (binary_expression "*(char *)(param_1 + -2) != '\0' || (*(char *)(param_1 + -3) != '\0')" (binary_expression "*(char *)(param_1 + -2) != '\0'" (pointer_expression "*(char *)(param_1 + -2)" * (cast_expression "(char *)(param_1 + -2)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + -2)" ( (binary_expression "param_1 + -2" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) || (parenthesized_expression "(*(char *)(param_1 + -3) != '\0')" ( (binary_expression "*(char *)(param_1 + -3) != '\0'" (pointer_expression "*(char *)(param_1 + -3)" * (cast_expression "(char *)(param_1 + -3)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + -3)" ( (binary_expression "param_1 + -3" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) ))) )) || (parenthesized_expression "(*(char *)(param_1 + -4) != '\0')" ( (binary_expression "*(char *)(param_1 + -4) != '\0'" (pointer_expression "*(char *)(param_1 + -4)" * (cast_expression "(char *)(param_1 + -4)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + -4)" ( (binary_expression "param_1 + -4" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) ))) )) ))) )) ; (assignment_expression "param_1 = param_1 + -1" identifier = (binary_expression "param_1 + -1" identifier + number_literal)) ) (compound_statement "{\n    }" { })) (expression_statement "uVar2 = (*(code *)PTR_strlen_000f5488)(param_1);" (assignment_expression "uVar2 = (*(code *)PTR_strlen_000f5488)(param_1)" identifier = (call_expression "(*(code *)PTR_strlen_000f5488)(param_1)" (parenthesized_expression "(*(code *)PTR_strlen_000f5488)" ( (pointer_expression "*(code *)PTR_strlen_000f5488" * (cast_expression "(code *)PTR_strlen_000f5488" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1)" ( identifier )))) ;) (expression_statement "pcVar3 = (char *)(param_1 + (uVar2 & 0x3fffffff) + 1);" (assignment_expression "pcVar3 = (char *)(param_1 + (uVar2 & 0x3fffffff) + 1)" identifier = (cast_expression "(char *)(param_1 + (uVar2 & 0x3fffffff) + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + (uVar2 & 0x3fffffff) + 1)" ( (binary_expression "param_1 + (uVar2 & 0x3fffffff) + 1" (binary_expression "param_1 + (uVar2 & 0x3fffffff)" identifier + (parenthesized_expression "(uVar2 & 0x3fffffff)" ( (binary_expression "uVar2 & 0x3fffffff" identifier & number_literal) ))) + number_literal) )))) ;) (if_statement "if (*pcVar3 != '\0') {\n      iVar4 = param_2 + -1;\n      if (param_2 == 0) {\n        return pcVar3;\n      }\n      while( true ) {\n        uVar2 = (*(code *)PTR_strlen_000f5488)(pcVar3);\n        pcVar3 = pcVar3 + (uVar2 & 0x3fffffff) + 1;\n        if (pcVar3 == (char *)0x0) {\n          pcVar3 = (char *)0x1;\n          cVar1 = cRam00000001;\n        }\n        else {\n          uVar2 = (*(code *)PTR_strlen_000f5488)(pcVar3);\n          pcVar3 = pcVar3 + (uVar2 & 0x3fffffff) + 1;\n          cVar1 = *pcVar3;\n        }\n        if (cVar1 == '\0') break;\n        iVar4 = iVar4 + -1;\n        if (iVar4 == -1) {\n          return pcVar3;\n        }\n      }\n    }" if (parenthesized_expression "(*pcVar3 != '\0')" ( (binary_expression "*pcVar3 != '\0'" (pointer_expression "*pcVar3" * identifier) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      iVar4 = param_2 + -1;\n      if (param_2 == 0) {\n        return pcVar3;\n      }\n      while( true ) {\n        uVar2 = (*(code *)PTR_strlen_000f5488)(pcVar3);\n        pcVar3 = pcVar3 + (uVar2 & 0x3fffffff) + 1;\n        if (pcVar3 == (char *)0x0) {\n          pcVar3 = (char *)0x1;\n          cVar1 = cRam00000001;\n        }\n        else {\n          uVar2 = (*(code *)PTR_strlen_000f5488)(pcVar3);\n          pcVar3 = pcVar3 + (uVar2 & 0x3fffffff) + 1;\n          cVar1 = *pcVar3;\n        }\n        if (cVar1 == '\0') break;\n        iVar4 = iVar4 + -1;\n        if (iVar4 == -1) {\n          return pcVar3;\n        }\n      }\n    }" { (expression_statement "iVar4 = param_2 + -1;" (assignment_expression "iVar4 = param_2 + -1" identifier = (binary_expression "param_2 + -1" identifier + number_literal)) ;) (if_statement "if (param_2 == 0) {\n        return pcVar3;\n      }" if (parenthesized_expression "(param_2 == 0)" ( (binary_expression "param_2 == 0" identifier == number_literal) )) (compound_statement "{\n        return pcVar3;\n      }" { (return_statement "return pcVar3;" return identifier ;) })) (while_statement "while( true ) {\n        uVar2 = (*(code *)PTR_strlen_000f5488)(pcVar3);\n        pcVar3 = pcVar3 + (uVar2 & 0x3fffffff) + 1;\n        if (pcVar3 == (char *)0x0) {\n          pcVar3 = (char *)0x1;\n          cVar1 = cRam00000001;\n        }\n        else {\n          uVar2 = (*(code *)PTR_strlen_000f5488)(pcVar3);\n          pcVar3 = pcVar3 + (uVar2 & 0x3fffffff) + 1;\n          cVar1 = *pcVar3;\n        }\n        if (cVar1 == '\0') break;\n        iVar4 = iVar4 + -1;\n        if (iVar4 == -1) {\n          return pcVar3;\n        }\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        uVar2 = (*(code *)PTR_strlen_000f5488)(pcVar3);\n        pcVar3 = pcVar3 + (uVar2 & 0x3fffffff) + 1;\n        if (pcVar3 == (char *)0x0) {\n          pcVar3 = (char *)0x1;\n          cVar1 = cRam00000001;\n        }\n        else {\n          uVar2 = (*(code *)PTR_strlen_000f5488)(pcVar3);\n          pcVar3 = pcVar3 + (uVar2 & 0x3fffffff) + 1;\n          cVar1 = *pcVar3;\n        }\n        if (cVar1 == '\0') break;\n        iVar4 = iVar4 + -1;\n        if (iVar4 == -1) {\n          return pcVar3;\n        }\n      }" { (expression_statement "uVar2 = (*(code *)PTR_strlen_000f5488)(pcVar3);" (assignment_expression "uVar2 = (*(code *)PTR_strlen_000f5488)(pcVar3)" identifier = (call_expression "(*(code *)PTR_strlen_000f5488)(pcVar3)" (parenthesized_expression "(*(code *)PTR_strlen_000f5488)" ( (pointer_expression "*(code *)PTR_strlen_000f5488" * (cast_expression "(code *)PTR_strlen_000f5488" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar3)" ( identifier )))) ;) (expression_statement "pcVar3 = pcVar3 + (uVar2 & 0x3fffffff) + 1;" (assignment_expression "pcVar3 = pcVar3 + (uVar2 & 0x3fffffff) + 1" identifier = (binary_expression "pcVar3 + (uVar2 & 0x3fffffff) + 1" (binary_expression "pcVar3 + (uVar2 & 0x3fffffff)" identifier + (parenthesized_expression "(uVar2 & 0x3fffffff)" ( (binary_expression "uVar2 & 0x3fffffff" identifier & number_literal) ))) + number_literal)) ;) (if_statement "if (pcVar3 == (char *)0x0) {\n          pcVar3 = (char *)0x1;\n          cVar1 = cRam00000001;\n        }\n        else {\n          uVar2 = (*(code *)PTR_strlen_000f5488)(pcVar3);\n          pcVar3 = pcVar3 + (uVar2 & 0x3fffffff) + 1;\n          cVar1 = *pcVar3;\n        }" if (parenthesized_expression "(pcVar3 == (char *)0x0)" ( (binary_expression "pcVar3 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          pcVar3 = (char *)0x1;\n          cVar1 = cRam00000001;\n        }" { (expression_statement "pcVar3 = (char *)0x1;" (assignment_expression "pcVar3 = (char *)0x1" identifier = (cast_expression "(char *)0x1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "cVar1 = cRam00000001;" (assignment_expression "cVar1 = cRam00000001" identifier = identifier) ;) }) (else_clause "else {\n          uVar2 = (*(code *)PTR_strlen_000f5488)(pcVar3);\n          pcVar3 = pcVar3 + (uVar2 & 0x3fffffff) + 1;\n          cVar1 = *pcVar3;\n        }" else (compound_statement "{\n          uVar2 = (*(code *)PTR_strlen_000f5488)(pcVar3);\n          pcVar3 = pcVar3 + (uVar2 & 0x3fffffff) + 1;\n          cVar1 = *pcVar3;\n        }" { (expression_statement "uVar2 = (*(code *)PTR_strlen_000f5488)(pcVar3);" (assignment_expression "uVar2 = (*(code *)PTR_strlen_000f5488)(pcVar3)" identifier = (call_expression "(*(code *)PTR_strlen_000f5488)(pcVar3)" (parenthesized_expression "(*(code *)PTR_strlen_000f5488)" ( (pointer_expression "*(code *)PTR_strlen_000f5488" * (cast_expression "(code *)PTR_strlen_000f5488" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar3)" ( identifier )))) ;) (expression_statement "pcVar3 = pcVar3 + (uVar2 & 0x3fffffff) + 1;" (assignment_expression "pcVar3 = pcVar3 + (uVar2 & 0x3fffffff) + 1" identifier = (binary_expression "pcVar3 + (uVar2 & 0x3fffffff) + 1" (binary_expression "pcVar3 + (uVar2 & 0x3fffffff)" identifier + (parenthesized_expression "(uVar2 & 0x3fffffff)" ( (binary_expression "uVar2 & 0x3fffffff" identifier & number_literal) ))) + number_literal)) ;) (expression_statement "cVar1 = *pcVar3;" (assignment_expression "cVar1 = *pcVar3" identifier = (pointer_expression "*pcVar3" * identifier)) ;) }))) (if_statement "if (cVar1 == '\0') break;" if (parenthesized_expression "(cVar1 == '\0')" ( (binary_expression "cVar1 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (break_statement "break;" break ;)) (expression_statement "iVar4 = iVar4 + -1;" (assignment_expression "iVar4 = iVar4 + -1" identifier = (binary_expression "iVar4 + -1" identifier + number_literal)) ;) (if_statement "if (iVar4 == -1) {\n          return pcVar3;\n        }" if (parenthesized_expression "(iVar4 == -1)" ( (binary_expression "iVar4 == -1" identifier == number_literal) )) (compound_statement "{\n          return pcVar3;\n        }" { (return_statement "return pcVar3;" return identifier ;) })) })) })) })) (return_statement "return (char *)0x0;" return (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) ;) })))
(translation_unit "char * sqlite3_uri_key(char *zFilename,int N)\n\n{\n  char cVar1;\n  uint uVar2;\n  char *pcVar3;\n  int iVar4;\n  \n  if ((zFilename != (char *)0x0) && (-1 < N)) {\n    for (; (zFilename[-1] != '\0' ||\n           (((zFilename[-2] != '\0' || (zFilename[-3] != '\0')) || (zFilename[-4] != '\0'))));\n        zFilename = zFilename + -1) {\n    }\n    uVar2 = (*(code *)PTR_strlen_000f5488)(zFilename);\n    pcVar3 = zFilename + (uVar2 & 0x3fffffff) + 1;\n    if (*pcVar3 != '\0') {\n      iVar4 = N + -1;\n      if (N == 0) {\n        return pcVar3;\n      }\n      while( true ) {\n        uVar2 = (*(code *)PTR_strlen_000f5488)(pcVar3);\n        pcVar3 = pcVar3 + (uVar2 & 0x3fffffff) + 1;\n        if (pcVar3 == (char *)0x0) {\n          pcVar3 = (char *)0x1;\n          cVar1 = cRam00000001;\n        }\n        else {\n          uVar2 = (*(code *)PTR_strlen_000f5488)(pcVar3);\n          pcVar3 = pcVar3 + (uVar2 & 0x3fffffff) + 1;\n          cVar1 = *pcVar3;\n        }\n        if (cVar1 == '\0') break;\n        iVar4 = iVar4 + -1;\n        if (iVar4 == -1) {\n          return pcVar3;\n        }\n      }\n    }\n  }\n  return (char *)0x0;\n}\n\n" (function_definition "char * sqlite3_uri_key(char *zFilename,int N)\n\n{\n  char cVar1;\n  uint uVar2;\n  char *pcVar3;\n  int iVar4;\n  \n  if ((zFilename != (char *)0x0) && (-1 < N)) {\n    for (; (zFilename[-1] != '\0' ||\n           (((zFilename[-2] != '\0' || (zFilename[-3] != '\0')) || (zFilename[-4] != '\0'))));\n        zFilename = zFilename + -1) {\n    }\n    uVar2 = (*(code *)PTR_strlen_000f5488)(zFilename);\n    pcVar3 = zFilename + (uVar2 & 0x3fffffff) + 1;\n    if (*pcVar3 != '\0') {\n      iVar4 = N + -1;\n      if (N == 0) {\n        return pcVar3;\n      }\n      while( true ) {\n        uVar2 = (*(code *)PTR_strlen_000f5488)(pcVar3);\n        pcVar3 = pcVar3 + (uVar2 & 0x3fffffff) + 1;\n        if (pcVar3 == (char *)0x0) {\n          pcVar3 = (char *)0x1;\n          cVar1 = cRam00000001;\n        }\n        else {\n          uVar2 = (*(code *)PTR_strlen_000f5488)(pcVar3);\n          pcVar3 = pcVar3 + (uVar2 & 0x3fffffff) + 1;\n          cVar1 = *pcVar3;\n        }\n        if (cVar1 == '\0') break;\n        iVar4 = iVar4 + -1;\n        if (iVar4 == -1) {\n          return pcVar3;\n        }\n      }\n    }\n  }\n  return (char *)0x0;\n}" primitive_type (pointer_declarator "* sqlite3_uri_key(char *zFilename,int N)" * (function_declarator "sqlite3_uri_key(char *zFilename,int N)" identifier (parameter_list "(char *zFilename,int N)" ( (parameter_declaration "char *zFilename" primitive_type (pointer_declarator "*zFilename" * identifier)) , (parameter_declaration "int N" primitive_type identifier) )))) (compound_statement "{\n  char cVar1;\n  uint uVar2;\n  char *pcVar3;\n  int iVar4;\n  \n  if ((zFilename != (char *)0x0) && (-1 < N)) {\n    for (; (zFilename[-1] != '\0' ||\n           (((zFilename[-2] != '\0' || (zFilename[-3] != '\0')) || (zFilename[-4] != '\0'))));\n        zFilename = zFilename + -1) {\n    }\n    uVar2 = (*(code *)PTR_strlen_000f5488)(zFilename);\n    pcVar3 = zFilename + (uVar2 & 0x3fffffff) + 1;\n    if (*pcVar3 != '\0') {\n      iVar4 = N + -1;\n      if (N == 0) {\n        return pcVar3;\n      }\n      while( true ) {\n        uVar2 = (*(code *)PTR_strlen_000f5488)(pcVar3);\n        pcVar3 = pcVar3 + (uVar2 & 0x3fffffff) + 1;\n        if (pcVar3 == (char *)0x0) {\n          pcVar3 = (char *)0x1;\n          cVar1 = cRam00000001;\n        }\n        else {\n          uVar2 = (*(code *)PTR_strlen_000f5488)(pcVar3);\n          pcVar3 = pcVar3 + (uVar2 & 0x3fffffff) + 1;\n          cVar1 = *pcVar3;\n        }\n        if (cVar1 == '\0') break;\n        iVar4 = iVar4 + -1;\n        if (iVar4 == -1) {\n          return pcVar3;\n        }\n      }\n    }\n  }\n  return (char *)0x0;\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (if_statement "if ((zFilename != (char *)0x0) && (-1 < N)) {\n    for (; (zFilename[-1] != '\0' ||\n           (((zFilename[-2] != '\0' || (zFilename[-3] != '\0')) || (zFilename[-4] != '\0'))));\n        zFilename = zFilename + -1) {\n    }\n    uVar2 = (*(code *)PTR_strlen_000f5488)(zFilename);\n    pcVar3 = zFilename + (uVar2 & 0x3fffffff) + 1;\n    if (*pcVar3 != '\0') {\n      iVar4 = N + -1;\n      if (N == 0) {\n        return pcVar3;\n      }\n      while( true ) {\n        uVar2 = (*(code *)PTR_strlen_000f5488)(pcVar3);\n        pcVar3 = pcVar3 + (uVar2 & 0x3fffffff) + 1;\n        if (pcVar3 == (char *)0x0) {\n          pcVar3 = (char *)0x1;\n          cVar1 = cRam00000001;\n        }\n        else {\n          uVar2 = (*(code *)PTR_strlen_000f5488)(pcVar3);\n          pcVar3 = pcVar3 + (uVar2 & 0x3fffffff) + 1;\n          cVar1 = *pcVar3;\n        }\n        if (cVar1 == '\0') break;\n        iVar4 = iVar4 + -1;\n        if (iVar4 == -1) {\n          return pcVar3;\n        }\n      }\n    }\n  }" if (parenthesized_expression "((zFilename != (char *)0x0) && (-1 < N))" ( (binary_expression "(zFilename != (char *)0x0) && (-1 < N)" (parenthesized_expression "(zFilename != (char *)0x0)" ( (binary_expression "zFilename != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(-1 < N)" ( (binary_expression "-1 < N" number_literal < identifier) ))) )) (compound_statement "{\n    for (; (zFilename[-1] != '\0' ||\n           (((zFilename[-2] != '\0' || (zFilename[-3] != '\0')) || (zFilename[-4] != '\0'))));\n        zFilename = zFilename + -1) {\n    }\n    uVar2 = (*(code *)PTR_strlen_000f5488)(zFilename);\n    pcVar3 = zFilename + (uVar2 & 0x3fffffff) + 1;\n    if (*pcVar3 != '\0') {\n      iVar4 = N + -1;\n      if (N == 0) {\n        return pcVar3;\n      }\n      while( true ) {\n        uVar2 = (*(code *)PTR_strlen_000f5488)(pcVar3);\n        pcVar3 = pcVar3 + (uVar2 & 0x3fffffff) + 1;\n        if (pcVar3 == (char *)0x0) {\n          pcVar3 = (char *)0x1;\n          cVar1 = cRam00000001;\n        }\n        else {\n          uVar2 = (*(code *)PTR_strlen_000f5488)(pcVar3);\n          pcVar3 = pcVar3 + (uVar2 & 0x3fffffff) + 1;\n          cVar1 = *pcVar3;\n        }\n        if (cVar1 == '\0') break;\n        iVar4 = iVar4 + -1;\n        if (iVar4 == -1) {\n          return pcVar3;\n        }\n      }\n    }\n  }" { (for_statement "for (; (zFilename[-1] != '\0' ||\n           (((zFilename[-2] != '\0' || (zFilename[-3] != '\0')) || (zFilename[-4] != '\0'))));\n        zFilename = zFilename + -1) {\n    }" for ( ; (parenthesized_expression "(zFilename[-1] != '\0' ||\n           (((zFilename[-2] != '\0' || (zFilename[-3] != '\0')) || (zFilename[-4] != '\0'))))" ( (binary_expression "zFilename[-1] != '\0' ||\n           (((zFilename[-2] != '\0' || (zFilename[-3] != '\0')) || (zFilename[-4] != '\0')))" (binary_expression "zFilename[-1] != '\0'" (subscript_expression "zFilename[-1]" identifier [ number_literal ]) != (char_literal "'\0'" ' escape_sequence ')) || (parenthesized_expression "(((zFilename[-2] != '\0' || (zFilename[-3] != '\0')) || (zFilename[-4] != '\0')))" ( (parenthesized_expression "((zFilename[-2] != '\0' || (zFilename[-3] != '\0')) || (zFilename[-4] != '\0'))" ( (binary_expression "(zFilename[-2] != '\0' || (zFilename[-3] != '\0')) || (zFilename[-4] != '\0')" (parenthesized_expression "(zFilename[-2] != '\0' || (zFilename[-3] != '\0'))" ( (binary_expression "zFilename[-2] != '\0' || (zFilename[-3] != '\0')" (binary_expression "zFilename[-2] != '\0'" (subscript_expression "zFilename[-2]" identifier [ number_literal ]) != (char_literal "'\0'" ' escape_sequence ')) || (parenthesized_expression "(zFilename[-3] != '\0')" ( (binary_expression "zFilename[-3] != '\0'" (subscript_expression "zFilename[-3]" identifier [ number_literal ]) != (char_literal "'\0'" ' escape_sequence ')) ))) )) || (parenthesized_expression "(zFilename[-4] != '\0')" ( (binary_expression "zFilename[-4] != '\0'" (subscript_expression "zFilename[-4]" identifier [ number_literal ]) != (char_literal "'\0'" ' escape_sequence ')) ))) )) ))) )) ; (assignment_expression "zFilename = zFilename + -1" identifier = (binary_expression "zFilename + -1" identifier + number_literal)) ) (compound_statement "{\n    }" { })) (expression_statement "uVar2 = (*(code *)PTR_strlen_000f5488)(zFilename);" (assignment_expression "uVar2 = (*(code *)PTR_strlen_000f5488)(zFilename)" identifier = (call_expression "(*(code *)PTR_strlen_000f5488)(zFilename)" (parenthesized_expression "(*(code *)PTR_strlen_000f5488)" ( (pointer_expression "*(code *)PTR_strlen_000f5488" * (cast_expression "(code *)PTR_strlen_000f5488" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(zFilename)" ( identifier )))) ;) (expression_statement "pcVar3 = zFilename + (uVar2 & 0x3fffffff) + 1;" (assignment_expression "pcVar3 = zFilename + (uVar2 & 0x3fffffff) + 1" identifier = (binary_expression "zFilename + (uVar2 & 0x3fffffff) + 1" (binary_expression "zFilename + (uVar2 & 0x3fffffff)" identifier + (parenthesized_expression "(uVar2 & 0x3fffffff)" ( (binary_expression "uVar2 & 0x3fffffff" identifier & number_literal) ))) + number_literal)) ;) (if_statement "if (*pcVar3 != '\0') {\n      iVar4 = N + -1;\n      if (N == 0) {\n        return pcVar3;\n      }\n      while( true ) {\n        uVar2 = (*(code *)PTR_strlen_000f5488)(pcVar3);\n        pcVar3 = pcVar3 + (uVar2 & 0x3fffffff) + 1;\n        if (pcVar3 == (char *)0x0) {\n          pcVar3 = (char *)0x1;\n          cVar1 = cRam00000001;\n        }\n        else {\n          uVar2 = (*(code *)PTR_strlen_000f5488)(pcVar3);\n          pcVar3 = pcVar3 + (uVar2 & 0x3fffffff) + 1;\n          cVar1 = *pcVar3;\n        }\n        if (cVar1 == '\0') break;\n        iVar4 = iVar4 + -1;\n        if (iVar4 == -1) {\n          return pcVar3;\n        }\n      }\n    }" if (parenthesized_expression "(*pcVar3 != '\0')" ( (binary_expression "*pcVar3 != '\0'" (pointer_expression "*pcVar3" * identifier) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      iVar4 = N + -1;\n      if (N == 0) {\n        return pcVar3;\n      }\n      while( true ) {\n        uVar2 = (*(code *)PTR_strlen_000f5488)(pcVar3);\n        pcVar3 = pcVar3 + (uVar2 & 0x3fffffff) + 1;\n        if (pcVar3 == (char *)0x0) {\n          pcVar3 = (char *)0x1;\n          cVar1 = cRam00000001;\n        }\n        else {\n          uVar2 = (*(code *)PTR_strlen_000f5488)(pcVar3);\n          pcVar3 = pcVar3 + (uVar2 & 0x3fffffff) + 1;\n          cVar1 = *pcVar3;\n        }\n        if (cVar1 == '\0') break;\n        iVar4 = iVar4 + -1;\n        if (iVar4 == -1) {\n          return pcVar3;\n        }\n      }\n    }" { (expression_statement "iVar4 = N + -1;" (assignment_expression "iVar4 = N + -1" identifier = (binary_expression "N + -1" identifier + number_literal)) ;) (if_statement "if (N == 0) {\n        return pcVar3;\n      }" if (parenthesized_expression "(N == 0)" ( (binary_expression "N == 0" identifier == number_literal) )) (compound_statement "{\n        return pcVar3;\n      }" { (return_statement "return pcVar3;" return identifier ;) })) (while_statement "while( true ) {\n        uVar2 = (*(code *)PTR_strlen_000f5488)(pcVar3);\n        pcVar3 = pcVar3 + (uVar2 & 0x3fffffff) + 1;\n        if (pcVar3 == (char *)0x0) {\n          pcVar3 = (char *)0x1;\n          cVar1 = cRam00000001;\n        }\n        else {\n          uVar2 = (*(code *)PTR_strlen_000f5488)(pcVar3);\n          pcVar3 = pcVar3 + (uVar2 & 0x3fffffff) + 1;\n          cVar1 = *pcVar3;\n        }\n        if (cVar1 == '\0') break;\n        iVar4 = iVar4 + -1;\n        if (iVar4 == -1) {\n          return pcVar3;\n        }\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        uVar2 = (*(code *)PTR_strlen_000f5488)(pcVar3);\n        pcVar3 = pcVar3 + (uVar2 & 0x3fffffff) + 1;\n        if (pcVar3 == (char *)0x0) {\n          pcVar3 = (char *)0x1;\n          cVar1 = cRam00000001;\n        }\n        else {\n          uVar2 = (*(code *)PTR_strlen_000f5488)(pcVar3);\n          pcVar3 = pcVar3 + (uVar2 & 0x3fffffff) + 1;\n          cVar1 = *pcVar3;\n        }\n        if (cVar1 == '\0') break;\n        iVar4 = iVar4 + -1;\n        if (iVar4 == -1) {\n          return pcVar3;\n        }\n      }" { (expression_statement "uVar2 = (*(code *)PTR_strlen_000f5488)(pcVar3);" (assignment_expression "uVar2 = (*(code *)PTR_strlen_000f5488)(pcVar3)" identifier = (call_expression "(*(code *)PTR_strlen_000f5488)(pcVar3)" (parenthesized_expression "(*(code *)PTR_strlen_000f5488)" ( (pointer_expression "*(code *)PTR_strlen_000f5488" * (cast_expression "(code *)PTR_strlen_000f5488" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar3)" ( identifier )))) ;) (expression_statement "pcVar3 = pcVar3 + (uVar2 & 0x3fffffff) + 1;" (assignment_expression "pcVar3 = pcVar3 + (uVar2 & 0x3fffffff) + 1" identifier = (binary_expression "pcVar3 + (uVar2 & 0x3fffffff) + 1" (binary_expression "pcVar3 + (uVar2 & 0x3fffffff)" identifier + (parenthesized_expression "(uVar2 & 0x3fffffff)" ( (binary_expression "uVar2 & 0x3fffffff" identifier & number_literal) ))) + number_literal)) ;) (if_statement "if (pcVar3 == (char *)0x0) {\n          pcVar3 = (char *)0x1;\n          cVar1 = cRam00000001;\n        }\n        else {\n          uVar2 = (*(code *)PTR_strlen_000f5488)(pcVar3);\n          pcVar3 = pcVar3 + (uVar2 & 0x3fffffff) + 1;\n          cVar1 = *pcVar3;\n        }" if (parenthesized_expression "(pcVar3 == (char *)0x0)" ( (binary_expression "pcVar3 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          pcVar3 = (char *)0x1;\n          cVar1 = cRam00000001;\n        }" { (expression_statement "pcVar3 = (char *)0x1;" (assignment_expression "pcVar3 = (char *)0x1" identifier = (cast_expression "(char *)0x1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "cVar1 = cRam00000001;" (assignment_expression "cVar1 = cRam00000001" identifier = identifier) ;) }) (else_clause "else {\n          uVar2 = (*(code *)PTR_strlen_000f5488)(pcVar3);\n          pcVar3 = pcVar3 + (uVar2 & 0x3fffffff) + 1;\n          cVar1 = *pcVar3;\n        }" else (compound_statement "{\n          uVar2 = (*(code *)PTR_strlen_000f5488)(pcVar3);\n          pcVar3 = pcVar3 + (uVar2 & 0x3fffffff) + 1;\n          cVar1 = *pcVar3;\n        }" { (expression_statement "uVar2 = (*(code *)PTR_strlen_000f5488)(pcVar3);" (assignment_expression "uVar2 = (*(code *)PTR_strlen_000f5488)(pcVar3)" identifier = (call_expression "(*(code *)PTR_strlen_000f5488)(pcVar3)" (parenthesized_expression "(*(code *)PTR_strlen_000f5488)" ( (pointer_expression "*(code *)PTR_strlen_000f5488" * (cast_expression "(code *)PTR_strlen_000f5488" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar3)" ( identifier )))) ;) (expression_statement "pcVar3 = pcVar3 + (uVar2 & 0x3fffffff) + 1;" (assignment_expression "pcVar3 = pcVar3 + (uVar2 & 0x3fffffff) + 1" identifier = (binary_expression "pcVar3 + (uVar2 & 0x3fffffff) + 1" (binary_expression "pcVar3 + (uVar2 & 0x3fffffff)" identifier + (parenthesized_expression "(uVar2 & 0x3fffffff)" ( (binary_expression "uVar2 & 0x3fffffff" identifier & number_literal) ))) + number_literal)) ;) (expression_statement "cVar1 = *pcVar3;" (assignment_expression "cVar1 = *pcVar3" identifier = (pointer_expression "*pcVar3" * identifier)) ;) }))) (if_statement "if (cVar1 == '\0') break;" if (parenthesized_expression "(cVar1 == '\0')" ( (binary_expression "cVar1 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (break_statement "break;" break ;)) (expression_statement "iVar4 = iVar4 + -1;" (assignment_expression "iVar4 = iVar4 + -1" identifier = (binary_expression "iVar4 + -1" identifier + number_literal)) ;) (if_statement "if (iVar4 == -1) {\n          return pcVar3;\n        }" if (parenthesized_expression "(iVar4 == -1)" ( (binary_expression "iVar4 == -1" identifier == number_literal) )) (compound_statement "{\n          return pcVar3;\n        }" { (return_statement "return pcVar3;" return identifier ;) })) })) })) })) (return_statement "return (char *)0x0;" return (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) ;) })))
(translation_unit "char * sqlite3_uri_key(int param_1,int param_2)\n\n{\n  char cVar1;\n  uint uVar2;\n  char *pcVar3;\n  int iVar4;\n  \n  if ((param_1 != 0) && (-1 < param_2)) {\n    for (; (*(char *)(param_1 + -1) != '\0' ||\n           (((*(char *)(param_1 + -2) != '\0' || (*(char *)(param_1 + -3) != '\0')) ||\n            (*(char *)(param_1 + -4) != '\0')))); param_1 = param_1 + -1) {\n    }\n    uVar2 = (*(code *)PTR_strlen_000f5488)(param_1);\n    pcVar3 = (char *)(param_1 + (uVar2 & 0x3fffffff) + 1);\n    if (*pcVar3 != '\0') {\n      iVar4 = param_2 + -1;\n      if (param_2 == 0) {\n        return pcVar3;\n      }\n      while( true ) {\n        uVar2 = (*(code *)PTR_strlen_000f5488)(pcVar3);\n        pcVar3 = pcVar3 + (uVar2 & 0x3fffffff) + 1;\n        if (pcVar3 == (char *)0x0) {\n          pcVar3 = (char *)0x1;\n          cVar1 = cRam00000001;\n        }\n        else {\n          uVar2 = (*(code *)PTR_strlen_000f5488)(pcVar3);\n          pcVar3 = pcVar3 + (uVar2 & 0x3fffffff) + 1;\n          cVar1 = *pcVar3;\n        }\n        if (cVar1 == '\0') break;\n        iVar4 = iVar4 + -1;\n        if (iVar4 == -1) {\n          return pcVar3;\n        }\n      }\n    }\n  }\n  return (char *)0x0;\n}\n\n" (function_definition "char * sqlite3_uri_key(int param_1,int param_2)\n\n{\n  char cVar1;\n  uint uVar2;\n  char *pcVar3;\n  int iVar4;\n  \n  if ((param_1 != 0) && (-1 < param_2)) {\n    for (; (*(char *)(param_1 + -1) != '\0' ||\n           (((*(char *)(param_1 + -2) != '\0' || (*(char *)(param_1 + -3) != '\0')) ||\n            (*(char *)(param_1 + -4) != '\0')))); param_1 = param_1 + -1) {\n    }\n    uVar2 = (*(code *)PTR_strlen_000f5488)(param_1);\n    pcVar3 = (char *)(param_1 + (uVar2 & 0x3fffffff) + 1);\n    if (*pcVar3 != '\0') {\n      iVar4 = param_2 + -1;\n      if (param_2 == 0) {\n        return pcVar3;\n      }\n      while( true ) {\n        uVar2 = (*(code *)PTR_strlen_000f5488)(pcVar3);\n        pcVar3 = pcVar3 + (uVar2 & 0x3fffffff) + 1;\n        if (pcVar3 == (char *)0x0) {\n          pcVar3 = (char *)0x1;\n          cVar1 = cRam00000001;\n        }\n        else {\n          uVar2 = (*(code *)PTR_strlen_000f5488)(pcVar3);\n          pcVar3 = pcVar3 + (uVar2 & 0x3fffffff) + 1;\n          cVar1 = *pcVar3;\n        }\n        if (cVar1 == '\0') break;\n        iVar4 = iVar4 + -1;\n        if (iVar4 == -1) {\n          return pcVar3;\n        }\n      }\n    }\n  }\n  return (char *)0x0;\n}" primitive_type (pointer_declarator "* sqlite3_uri_key(int param_1,int param_2)" * (function_declarator "sqlite3_uri_key(int param_1,int param_2)" identifier (parameter_list "(int param_1,int param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) )))) (compound_statement "{\n  char cVar1;\n  uint uVar2;\n  char *pcVar3;\n  int iVar4;\n  \n  if ((param_1 != 0) && (-1 < param_2)) {\n    for (; (*(char *)(param_1 + -1) != '\0' ||\n           (((*(char *)(param_1 + -2) != '\0' || (*(char *)(param_1 + -3) != '\0')) ||\n            (*(char *)(param_1 + -4) != '\0')))); param_1 = param_1 + -1) {\n    }\n    uVar2 = (*(code *)PTR_strlen_000f5488)(param_1);\n    pcVar3 = (char *)(param_1 + (uVar2 & 0x3fffffff) + 1);\n    if (*pcVar3 != '\0') {\n      iVar4 = param_2 + -1;\n      if (param_2 == 0) {\n        return pcVar3;\n      }\n      while( true ) {\n        uVar2 = (*(code *)PTR_strlen_000f5488)(pcVar3);\n        pcVar3 = pcVar3 + (uVar2 & 0x3fffffff) + 1;\n        if (pcVar3 == (char *)0x0) {\n          pcVar3 = (char *)0x1;\n          cVar1 = cRam00000001;\n        }\n        else {\n          uVar2 = (*(code *)PTR_strlen_000f5488)(pcVar3);\n          pcVar3 = pcVar3 + (uVar2 & 0x3fffffff) + 1;\n          cVar1 = *pcVar3;\n        }\n        if (cVar1 == '\0') break;\n        iVar4 = iVar4 + -1;\n        if (iVar4 == -1) {\n          return pcVar3;\n        }\n      }\n    }\n  }\n  return (char *)0x0;\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (if_statement "if ((param_1 != 0) && (-1 < param_2)) {\n    for (; (*(char *)(param_1 + -1) != '\0' ||\n           (((*(char *)(param_1 + -2) != '\0' || (*(char *)(param_1 + -3) != '\0')) ||\n            (*(char *)(param_1 + -4) != '\0')))); param_1 = param_1 + -1) {\n    }\n    uVar2 = (*(code *)PTR_strlen_000f5488)(param_1);\n    pcVar3 = (char *)(param_1 + (uVar2 & 0x3fffffff) + 1);\n    if (*pcVar3 != '\0') {\n      iVar4 = param_2 + -1;\n      if (param_2 == 0) {\n        return pcVar3;\n      }\n      while( true ) {\n        uVar2 = (*(code *)PTR_strlen_000f5488)(pcVar3);\n        pcVar3 = pcVar3 + (uVar2 & 0x3fffffff) + 1;\n        if (pcVar3 == (char *)0x0) {\n          pcVar3 = (char *)0x1;\n          cVar1 = cRam00000001;\n        }\n        else {\n          uVar2 = (*(code *)PTR_strlen_000f5488)(pcVar3);\n          pcVar3 = pcVar3 + (uVar2 & 0x3fffffff) + 1;\n          cVar1 = *pcVar3;\n        }\n        if (cVar1 == '\0') break;\n        iVar4 = iVar4 + -1;\n        if (iVar4 == -1) {\n          return pcVar3;\n        }\n      }\n    }\n  }" if (parenthesized_expression "((param_1 != 0) && (-1 < param_2))" ( (binary_expression "(param_1 != 0) && (-1 < param_2)" (parenthesized_expression "(param_1 != 0)" ( (binary_expression "param_1 != 0" identifier != number_literal) )) && (parenthesized_expression "(-1 < param_2)" ( (binary_expression "-1 < param_2" number_literal < identifier) ))) )) (compound_statement "{\n    for (; (*(char *)(param_1 + -1) != '\0' ||\n           (((*(char *)(param_1 + -2) != '\0' || (*(char *)(param_1 + -3) != '\0')) ||\n            (*(char *)(param_1 + -4) != '\0')))); param_1 = param_1 + -1) {\n    }\n    uVar2 = (*(code *)PTR_strlen_000f5488)(param_1);\n    pcVar3 = (char *)(param_1 + (uVar2 & 0x3fffffff) + 1);\n    if (*pcVar3 != '\0') {\n      iVar4 = param_2 + -1;\n      if (param_2 == 0) {\n        return pcVar3;\n      }\n      while( true ) {\n        uVar2 = (*(code *)PTR_strlen_000f5488)(pcVar3);\n        pcVar3 = pcVar3 + (uVar2 & 0x3fffffff) + 1;\n        if (pcVar3 == (char *)0x0) {\n          pcVar3 = (char *)0x1;\n          cVar1 = cRam00000001;\n        }\n        else {\n          uVar2 = (*(code *)PTR_strlen_000f5488)(pcVar3);\n          pcVar3 = pcVar3 + (uVar2 & 0x3fffffff) + 1;\n          cVar1 = *pcVar3;\n        }\n        if (cVar1 == '\0') break;\n        iVar4 = iVar4 + -1;\n        if (iVar4 == -1) {\n          return pcVar3;\n        }\n      }\n    }\n  }" { (for_statement "for (; (*(char *)(param_1 + -1) != '\0' ||\n           (((*(char *)(param_1 + -2) != '\0' || (*(char *)(param_1 + -3) != '\0')) ||\n            (*(char *)(param_1 + -4) != '\0')))); param_1 = param_1 + -1) {\n    }" for ( ; (parenthesized_expression "(*(char *)(param_1 + -1) != '\0' ||\n           (((*(char *)(param_1 + -2) != '\0' || (*(char *)(param_1 + -3) != '\0')) ||\n            (*(char *)(param_1 + -4) != '\0'))))" ( (binary_expression "*(char *)(param_1 + -1) != '\0' ||\n           (((*(char *)(param_1 + -2) != '\0' || (*(char *)(param_1 + -3) != '\0')) ||\n            (*(char *)(param_1 + -4) != '\0')))" (binary_expression "*(char *)(param_1 + -1) != '\0'" (pointer_expression "*(char *)(param_1 + -1)" * (cast_expression "(char *)(param_1 + -1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + -1)" ( (binary_expression "param_1 + -1" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) || (parenthesized_expression "(((*(char *)(param_1 + -2) != '\0' || (*(char *)(param_1 + -3) != '\0')) ||\n            (*(char *)(param_1 + -4) != '\0')))" ( (parenthesized_expression "((*(char *)(param_1 + -2) != '\0' || (*(char *)(param_1 + -3) != '\0')) ||\n            (*(char *)(param_1 + -4) != '\0'))" ( (binary_expression "(*(char *)(param_1 + -2) != '\0' || (*(char *)(param_1 + -3) != '\0')) ||\n            (*(char *)(param_1 + -4) != '\0')" (parenthesized_expression "(*(char *)(param_1 + -2) != '\0' || (*(char *)(param_1 + -3) != '\0'))" ( (binary_expression "*(char *)(param_1 + -2) != '\0' || (*(char *)(param_1 + -3) != '\0')" (binary_expression "*(char *)(param_1 + -2) != '\0'" (pointer_expression "*(char *)(param_1 + -2)" * (cast_expression "(char *)(param_1 + -2)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + -2)" ( (binary_expression "param_1 + -2" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) || (parenthesized_expression "(*(char *)(param_1 + -3) != '\0')" ( (binary_expression "*(char *)(param_1 + -3) != '\0'" (pointer_expression "*(char *)(param_1 + -3)" * (cast_expression "(char *)(param_1 + -3)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + -3)" ( (binary_expression "param_1 + -3" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) ))) )) || (parenthesized_expression "(*(char *)(param_1 + -4) != '\0')" ( (binary_expression "*(char *)(param_1 + -4) != '\0'" (pointer_expression "*(char *)(param_1 + -4)" * (cast_expression "(char *)(param_1 + -4)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + -4)" ( (binary_expression "param_1 + -4" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) ))) )) ))) )) ; (assignment_expression "param_1 = param_1 + -1" identifier = (binary_expression "param_1 + -1" identifier + number_literal)) ) (compound_statement "{\n    }" { })) (expression_statement "uVar2 = (*(code *)PTR_strlen_000f5488)(param_1);" (assignment_expression "uVar2 = (*(code *)PTR_strlen_000f5488)(param_1)" identifier = (call_expression "(*(code *)PTR_strlen_000f5488)(param_1)" (parenthesized_expression "(*(code *)PTR_strlen_000f5488)" ( (pointer_expression "*(code *)PTR_strlen_000f5488" * (cast_expression "(code *)PTR_strlen_000f5488" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1)" ( identifier )))) ;) (expression_statement "pcVar3 = (char *)(param_1 + (uVar2 & 0x3fffffff) + 1);" (assignment_expression "pcVar3 = (char *)(param_1 + (uVar2 & 0x3fffffff) + 1)" identifier = (cast_expression "(char *)(param_1 + (uVar2 & 0x3fffffff) + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + (uVar2 & 0x3fffffff) + 1)" ( (binary_expression "param_1 + (uVar2 & 0x3fffffff) + 1" (binary_expression "param_1 + (uVar2 & 0x3fffffff)" identifier + (parenthesized_expression "(uVar2 & 0x3fffffff)" ( (binary_expression "uVar2 & 0x3fffffff" identifier & number_literal) ))) + number_literal) )))) ;) (if_statement "if (*pcVar3 != '\0') {\n      iVar4 = param_2 + -1;\n      if (param_2 == 0) {\n        return pcVar3;\n      }\n      while( true ) {\n        uVar2 = (*(code *)PTR_strlen_000f5488)(pcVar3);\n        pcVar3 = pcVar3 + (uVar2 & 0x3fffffff) + 1;\n        if (pcVar3 == (char *)0x0) {\n          pcVar3 = (char *)0x1;\n          cVar1 = cRam00000001;\n        }\n        else {\n          uVar2 = (*(code *)PTR_strlen_000f5488)(pcVar3);\n          pcVar3 = pcVar3 + (uVar2 & 0x3fffffff) + 1;\n          cVar1 = *pcVar3;\n        }\n        if (cVar1 == '\0') break;\n        iVar4 = iVar4 + -1;\n        if (iVar4 == -1) {\n          return pcVar3;\n        }\n      }\n    }" if (parenthesized_expression "(*pcVar3 != '\0')" ( (binary_expression "*pcVar3 != '\0'" (pointer_expression "*pcVar3" * identifier) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      iVar4 = param_2 + -1;\n      if (param_2 == 0) {\n        return pcVar3;\n      }\n      while( true ) {\n        uVar2 = (*(code *)PTR_strlen_000f5488)(pcVar3);\n        pcVar3 = pcVar3 + (uVar2 & 0x3fffffff) + 1;\n        if (pcVar3 == (char *)0x0) {\n          pcVar3 = (char *)0x1;\n          cVar1 = cRam00000001;\n        }\n        else {\n          uVar2 = (*(code *)PTR_strlen_000f5488)(pcVar3);\n          pcVar3 = pcVar3 + (uVar2 & 0x3fffffff) + 1;\n          cVar1 = *pcVar3;\n        }\n        if (cVar1 == '\0') break;\n        iVar4 = iVar4 + -1;\n        if (iVar4 == -1) {\n          return pcVar3;\n        }\n      }\n    }" { (expression_statement "iVar4 = param_2 + -1;" (assignment_expression "iVar4 = param_2 + -1" identifier = (binary_expression "param_2 + -1" identifier + number_literal)) ;) (if_statement "if (param_2 == 0) {\n        return pcVar3;\n      }" if (parenthesized_expression "(param_2 == 0)" ( (binary_expression "param_2 == 0" identifier == number_literal) )) (compound_statement "{\n        return pcVar3;\n      }" { (return_statement "return pcVar3;" return identifier ;) })) (while_statement "while( true ) {\n        uVar2 = (*(code *)PTR_strlen_000f5488)(pcVar3);\n        pcVar3 = pcVar3 + (uVar2 & 0x3fffffff) + 1;\n        if (pcVar3 == (char *)0x0) {\n          pcVar3 = (char *)0x1;\n          cVar1 = cRam00000001;\n        }\n        else {\n          uVar2 = (*(code *)PTR_strlen_000f5488)(pcVar3);\n          pcVar3 = pcVar3 + (uVar2 & 0x3fffffff) + 1;\n          cVar1 = *pcVar3;\n        }\n        if (cVar1 == '\0') break;\n        iVar4 = iVar4 + -1;\n        if (iVar4 == -1) {\n          return pcVar3;\n        }\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        uVar2 = (*(code *)PTR_strlen_000f5488)(pcVar3);\n        pcVar3 = pcVar3 + (uVar2 & 0x3fffffff) + 1;\n        if (pcVar3 == (char *)0x0) {\n          pcVar3 = (char *)0x1;\n          cVar1 = cRam00000001;\n        }\n        else {\n          uVar2 = (*(code *)PTR_strlen_000f5488)(pcVar3);\n          pcVar3 = pcVar3 + (uVar2 & 0x3fffffff) + 1;\n          cVar1 = *pcVar3;\n        }\n        if (cVar1 == '\0') break;\n        iVar4 = iVar4 + -1;\n        if (iVar4 == -1) {\n          return pcVar3;\n        }\n      }" { (expression_statement "uVar2 = (*(code *)PTR_strlen_000f5488)(pcVar3);" (assignment_expression "uVar2 = (*(code *)PTR_strlen_000f5488)(pcVar3)" identifier = (call_expression "(*(code *)PTR_strlen_000f5488)(pcVar3)" (parenthesized_expression "(*(code *)PTR_strlen_000f5488)" ( (pointer_expression "*(code *)PTR_strlen_000f5488" * (cast_expression "(code *)PTR_strlen_000f5488" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar3)" ( identifier )))) ;) (expression_statement "pcVar3 = pcVar3 + (uVar2 & 0x3fffffff) + 1;" (assignment_expression "pcVar3 = pcVar3 + (uVar2 & 0x3fffffff) + 1" identifier = (binary_expression "pcVar3 + (uVar2 & 0x3fffffff) + 1" (binary_expression "pcVar3 + (uVar2 & 0x3fffffff)" identifier + (parenthesized_expression "(uVar2 & 0x3fffffff)" ( (binary_expression "uVar2 & 0x3fffffff" identifier & number_literal) ))) + number_literal)) ;) (if_statement "if (pcVar3 == (char *)0x0) {\n          pcVar3 = (char *)0x1;\n          cVar1 = cRam00000001;\n        }\n        else {\n          uVar2 = (*(code *)PTR_strlen_000f5488)(pcVar3);\n          pcVar3 = pcVar3 + (uVar2 & 0x3fffffff) + 1;\n          cVar1 = *pcVar3;\n        }" if (parenthesized_expression "(pcVar3 == (char *)0x0)" ( (binary_expression "pcVar3 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          pcVar3 = (char *)0x1;\n          cVar1 = cRam00000001;\n        }" { (expression_statement "pcVar3 = (char *)0x1;" (assignment_expression "pcVar3 = (char *)0x1" identifier = (cast_expression "(char *)0x1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "cVar1 = cRam00000001;" (assignment_expression "cVar1 = cRam00000001" identifier = identifier) ;) }) (else_clause "else {\n          uVar2 = (*(code *)PTR_strlen_000f5488)(pcVar3);\n          pcVar3 = pcVar3 + (uVar2 & 0x3fffffff) + 1;\n          cVar1 = *pcVar3;\n        }" else (compound_statement "{\n          uVar2 = (*(code *)PTR_strlen_000f5488)(pcVar3);\n          pcVar3 = pcVar3 + (uVar2 & 0x3fffffff) + 1;\n          cVar1 = *pcVar3;\n        }" { (expression_statement "uVar2 = (*(code *)PTR_strlen_000f5488)(pcVar3);" (assignment_expression "uVar2 = (*(code *)PTR_strlen_000f5488)(pcVar3)" identifier = (call_expression "(*(code *)PTR_strlen_000f5488)(pcVar3)" (parenthesized_expression "(*(code *)PTR_strlen_000f5488)" ( (pointer_expression "*(code *)PTR_strlen_000f5488" * (cast_expression "(code *)PTR_strlen_000f5488" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar3)" ( identifier )))) ;) (expression_statement "pcVar3 = pcVar3 + (uVar2 & 0x3fffffff) + 1;" (assignment_expression "pcVar3 = pcVar3 + (uVar2 & 0x3fffffff) + 1" identifier = (binary_expression "pcVar3 + (uVar2 & 0x3fffffff) + 1" (binary_expression "pcVar3 + (uVar2 & 0x3fffffff)" identifier + (parenthesized_expression "(uVar2 & 0x3fffffff)" ( (binary_expression "uVar2 & 0x3fffffff" identifier & number_literal) ))) + number_literal)) ;) (expression_statement "cVar1 = *pcVar3;" (assignment_expression "cVar1 = *pcVar3" identifier = (pointer_expression "*pcVar3" * identifier)) ;) }))) (if_statement "if (cVar1 == '\0') break;" if (parenthesized_expression "(cVar1 == '\0')" ( (binary_expression "cVar1 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (break_statement "break;" break ;)) (expression_statement "iVar4 = iVar4 + -1;" (assignment_expression "iVar4 = iVar4 + -1" identifier = (binary_expression "iVar4 + -1" identifier + number_literal)) ;) (if_statement "if (iVar4 == -1) {\n          return pcVar3;\n        }" if (parenthesized_expression "(iVar4 == -1)" ( (binary_expression "iVar4 == -1" identifier == number_literal) )) (compound_statement "{\n          return pcVar3;\n        }" { (return_statement "return pcVar3;" return identifier ;) })) })) })) })) (return_statement "return (char *)0x0;" return (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) )))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) && (parenthesized_expression ( (binary_expression LIT < IDENT) ))) )) (compound_statement { (for_statement for ( ; (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != (char_literal ' escape_sequence ')) || (parenthesized_expression ( (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != (char_literal ' escape_sequence ')) || (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != (char_literal ' escape_sequence ')) ))) )) || (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != (char_literal ' escape_sequence ')) ))) )) ))) )) ; (assignment_expression IDENT = (binary_expression IDENT + LIT)) ) (compound_statement { })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + (parenthesized_expression ( (binary_expression IDENT & LIT) ))) + LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return IDENT ;) })) (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + (parenthesized_expression ( (binary_expression IDENT & LIT) ))) + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + (parenthesized_expression ( (binary_expression IDENT & LIT) ))) + LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return IDENT ;) })) })) })) })) (return_statement return (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT) ;) })))
(function_definition "char * sqlite3_uri_key(int param_1,int param_2)\n\n{\n  char cVar1;\n  uint uVar2;\n  char *pcVar3;\n  int iVar4;\n  \n  if ((param_1 != 0) && (-1 < param_2)) {\n    for (; (*(char *)(param_1 + -1) != '\0' ||\n           (((*(char *)(param_1 + -2) != '\0' || (*(char *)(param_1 + -3) != '\0')) ||\n            (*(char *)(param_1 + -4) != '\0')))); param_1 = param_1 + -1) {\n    }\n    uVar2 = (*(code *)PTR_strlen_000f5488)(param_1);\n    pcVar3 = (char *)(param_1 + (uVar2 & 0x3fffffff) + 1);\n    if (*pcVar3 != '\0') {\n      iVar4 = param_2 + -1;\n      if (param_2 == 0) {\n        return pcVar3;\n      }\n      while( true ) {\n        uVar2 = (*(code *)PTR_strlen_000f5488)(pcVar3);\n        pcVar3 = pcVar3 + (uVar2 & 0x3fffffff) + 1;\n        if (pcVar3 == (char *)0x0) {\n          pcVar3 = (char *)0x1;\n          cVar1 = cRam00000001;\n        }\n        else {\n          uVar2 = (*(code *)PTR_strlen_000f5488)(pcVar3);\n          pcVar3 = pcVar3 + (uVar2 & 0x3fffffff) + 1;\n          cVar1 = *pcVar3;\n        }\n        if (cVar1 == '\0') break;\n        iVar4 = iVar4 + -1;\n        if (iVar4 == -1) {\n          return pcVar3;\n        }\n      }\n    }\n  }\n  return (char *)0x0;\n}" (primitive_type "char") (pointer_declarator "* sqlite3_uri_key(int param_1,int param_2)" (* "*") (function_declarator "sqlite3_uri_key(int param_1,int param_2)" (identifier "sqlite3_uri_key") (parameter_list "(int param_1,int param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")")))) (compound_statement "{\n  char cVar1;\n  uint uVar2;\n  char *pcVar3;\n  int iVar4;\n  \n  if ((param_1 != 0) && (-1 < param_2)) {\n    for (; (*(char *)(param_1 + -1) != '\0' ||\n           (((*(char *)(param_1 + -2) != '\0' || (*(char *)(param_1 + -3) != '\0')) ||\n            (*(char *)(param_1 + -4) != '\0')))); param_1 = param_1 + -1) {\n    }\n    uVar2 = (*(code *)PTR_strlen_000f5488)(param_1);\n    pcVar3 = (char *)(param_1 + (uVar2 & 0x3fffffff) + 1);\n    if (*pcVar3 != '\0') {\n      iVar4 = param_2 + -1;\n      if (param_2 == 0) {\n        return pcVar3;\n      }\n      while( true ) {\n        uVar2 = (*(code *)PTR_strlen_000f5488)(pcVar3);\n        pcVar3 = pcVar3 + (uVar2 & 0x3fffffff) + 1;\n        if (pcVar3 == (char *)0x0) {\n          pcVar3 = (char *)0x1;\n          cVar1 = cRam00000001;\n        }\n        else {\n          uVar2 = (*(code *)PTR_strlen_000f5488)(pcVar3);\n          pcVar3 = pcVar3 + (uVar2 & 0x3fffffff) + 1;\n          cVar1 = *pcVar3;\n        }\n        if (cVar1 == '\0') break;\n        iVar4 = iVar4 + -1;\n        if (iVar4 == -1) {\n          return pcVar3;\n        }\n      }\n    }\n  }\n  return (char *)0x0;\n}" ({ "{") (declaration "char cVar1;" (primitive_type "char") (identifier "cVar1") (; ";")) (declaration "uint uVar2;" (type_identifier "uint") (identifier "uVar2") (; ";")) (declaration "char *pcVar3;" (primitive_type "char") (pointer_declarator "*pcVar3" (* "*") (identifier "pcVar3")) (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (if_statement "if ((param_1 != 0) && (-1 < param_2)) {\n    for (; (*(char *)(param_1 + -1) != '\0' ||\n           (((*(char *)(param_1 + -2) != '\0' || (*(char *)(param_1 + -3) != '\0')) ||\n            (*(char *)(param_1 + -4) != '\0')))); param_1 = param_1 + -1) {\n    }\n    uVar2 = (*(code *)PTR_strlen_000f5488)(param_1);\n    pcVar3 = (char *)(param_1 + (uVar2 & 0x3fffffff) + 1);\n    if (*pcVar3 != '\0') {\n      iVar4 = param_2 + -1;\n      if (param_2 == 0) {\n        return pcVar3;\n      }\n      while( true ) {\n        uVar2 = (*(code *)PTR_strlen_000f5488)(pcVar3);\n        pcVar3 = pcVar3 + (uVar2 & 0x3fffffff) + 1;\n        if (pcVar3 == (char *)0x0) {\n          pcVar3 = (char *)0x1;\n          cVar1 = cRam00000001;\n        }\n        else {\n          uVar2 = (*(code *)PTR_strlen_000f5488)(pcVar3);\n          pcVar3 = pcVar3 + (uVar2 & 0x3fffffff) + 1;\n          cVar1 = *pcVar3;\n        }\n        if (cVar1 == '\0') break;\n        iVar4 = iVar4 + -1;\n        if (iVar4 == -1) {\n          return pcVar3;\n        }\n      }\n    }\n  }" (if "if") (parenthesized_expression "((param_1 != 0) && (-1 < param_2))" (( "(") (binary_expression "(param_1 != 0) && (-1 < param_2)" (parenthesized_expression "(param_1 != 0)" (( "(") (binary_expression "param_1 != 0" (identifier "param_1") (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(-1 < param_2)" (( "(") (binary_expression "-1 < param_2" (number_literal "-1") (< "<") (identifier "param_2")) () ")"))) () ")")) (compound_statement "{\n    for (; (*(char *)(param_1 + -1) != '\0' ||\n           (((*(char *)(param_1 + -2) != '\0' || (*(char *)(param_1 + -3) != '\0')) ||\n            (*(char *)(param_1 + -4) != '\0')))); param_1 = param_1 + -1) {\n    }\n    uVar2 = (*(code *)PTR_strlen_000f5488)(param_1);\n    pcVar3 = (char *)(param_1 + (uVar2 & 0x3fffffff) + 1);\n    if (*pcVar3 != '\0') {\n      iVar4 = param_2 + -1;\n      if (param_2 == 0) {\n        return pcVar3;\n      }\n      while( true ) {\n        uVar2 = (*(code *)PTR_strlen_000f5488)(pcVar3);\n        pcVar3 = pcVar3 + (uVar2 & 0x3fffffff) + 1;\n        if (pcVar3 == (char *)0x0) {\n          pcVar3 = (char *)0x1;\n          cVar1 = cRam00000001;\n        }\n        else {\n          uVar2 = (*(code *)PTR_strlen_000f5488)(pcVar3);\n          pcVar3 = pcVar3 + (uVar2 & 0x3fffffff) + 1;\n          cVar1 = *pcVar3;\n        }\n        if (cVar1 == '\0') break;\n        iVar4 = iVar4 + -1;\n        if (iVar4 == -1) {\n          return pcVar3;\n        }\n      }\n    }\n  }" ({ "{") (for_statement "for (; (*(char *)(param_1 + -1) != '\0' ||\n           (((*(char *)(param_1 + -2) != '\0' || (*(char *)(param_1 + -3) != '\0')) ||\n            (*(char *)(param_1 + -4) != '\0')))); param_1 = param_1 + -1) {\n    }" (for "for") (( "(") (; ";") (parenthesized_expression "(*(char *)(param_1 + -1) != '\0' ||\n           (((*(char *)(param_1 + -2) != '\0' || (*(char *)(param_1 + -3) != '\0')) ||\n            (*(char *)(param_1 + -4) != '\0'))))" (( "(") (binary_expression "*(char *)(param_1 + -1) != '\0' ||\n           (((*(char *)(param_1 + -2) != '\0' || (*(char *)(param_1 + -3) != '\0')) ||\n            (*(char *)(param_1 + -4) != '\0')))" (binary_expression "*(char *)(param_1 + -1) != '\0'" (pointer_expression "*(char *)(param_1 + -1)" (* "*") (cast_expression "(char *)(param_1 + -1)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + -1)" (( "(") (binary_expression "param_1 + -1" (identifier "param_1") (+ "+") (number_literal "-1")) () ")")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) (|| "||") (parenthesized_expression "(((*(char *)(param_1 + -2) != '\0' || (*(char *)(param_1 + -3) != '\0')) ||\n            (*(char *)(param_1 + -4) != '\0')))" (( "(") (parenthesized_expression "((*(char *)(param_1 + -2) != '\0' || (*(char *)(param_1 + -3) != '\0')) ||\n            (*(char *)(param_1 + -4) != '\0'))" (( "(") (binary_expression "(*(char *)(param_1 + -2) != '\0' || (*(char *)(param_1 + -3) != '\0')) ||\n            (*(char *)(param_1 + -4) != '\0')" (parenthesized_expression "(*(char *)(param_1 + -2) != '\0' || (*(char *)(param_1 + -3) != '\0'))" (( "(") (binary_expression "*(char *)(param_1 + -2) != '\0' || (*(char *)(param_1 + -3) != '\0')" (binary_expression "*(char *)(param_1 + -2) != '\0'" (pointer_expression "*(char *)(param_1 + -2)" (* "*") (cast_expression "(char *)(param_1 + -2)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + -2)" (( "(") (binary_expression "param_1 + -2" (identifier "param_1") (+ "+") (number_literal "-2")) () ")")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) (|| "||") (parenthesized_expression "(*(char *)(param_1 + -3) != '\0')" (( "(") (binary_expression "*(char *)(param_1 + -3) != '\0'" (pointer_expression "*(char *)(param_1 + -3)" (* "*") (cast_expression "(char *)(param_1 + -3)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + -3)" (( "(") (binary_expression "param_1 + -3" (identifier "param_1") (+ "+") (number_literal "-3")) () ")")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")"))) () ")")) (|| "||") (parenthesized_expression "(*(char *)(param_1 + -4) != '\0')" (( "(") (binary_expression "*(char *)(param_1 + -4) != '\0'" (pointer_expression "*(char *)(param_1 + -4)" (* "*") (cast_expression "(char *)(param_1 + -4)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + -4)" (( "(") (binary_expression "param_1 + -4" (identifier "param_1") (+ "+") (number_literal "-4")) () ")")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")"))) () ")")) () ")"))) () ")")) (; ";") (assignment_expression "param_1 = param_1 + -1" (identifier "param_1") (= "=") (binary_expression "param_1 + -1" (identifier "param_1") (+ "+") (number_literal "-1"))) () ")") (compound_statement "{\n    }" ({ "{") (} "}"))) (expression_statement "uVar2 = (*(code *)PTR_strlen_000f5488)(param_1);" (assignment_expression "uVar2 = (*(code *)PTR_strlen_000f5488)(param_1)" (identifier "uVar2") (= "=") (call_expression "(*(code *)PTR_strlen_000f5488)(param_1)" (parenthesized_expression "(*(code *)PTR_strlen_000f5488)" (( "(") (pointer_expression "*(code *)PTR_strlen_000f5488" (* "*") (cast_expression "(code *)PTR_strlen_000f5488" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strlen_000f5488"))) () ")")) (argument_list "(param_1)" (( "(") (identifier "param_1") () ")")))) (; ";")) (expression_statement "pcVar3 = (char *)(param_1 + (uVar2 & 0x3fffffff) + 1);" (assignment_expression "pcVar3 = (char *)(param_1 + (uVar2 & 0x3fffffff) + 1)" (identifier "pcVar3") (= "=") (cast_expression "(char *)(param_1 + (uVar2 & 0x3fffffff) + 1)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + (uVar2 & 0x3fffffff) + 1)" (( "(") (binary_expression "param_1 + (uVar2 & 0x3fffffff) + 1" (binary_expression "param_1 + (uVar2 & 0x3fffffff)" (identifier "param_1") (+ "+") (parenthesized_expression "(uVar2 & 0x3fffffff)" (( "(") (binary_expression "uVar2 & 0x3fffffff" (identifier "uVar2") (& "&") (number_literal "0x3fffffff")) () ")"))) (+ "+") (number_literal "1")) () ")")))) (; ";")) (if_statement "if (*pcVar3 != '\0') {\n      iVar4 = param_2 + -1;\n      if (param_2 == 0) {\n        return pcVar3;\n      }\n      while( true ) {\n        uVar2 = (*(code *)PTR_strlen_000f5488)(pcVar3);\n        pcVar3 = pcVar3 + (uVar2 & 0x3fffffff) + 1;\n        if (pcVar3 == (char *)0x0) {\n          pcVar3 = (char *)0x1;\n          cVar1 = cRam00000001;\n        }\n        else {\n          uVar2 = (*(code *)PTR_strlen_000f5488)(pcVar3);\n          pcVar3 = pcVar3 + (uVar2 & 0x3fffffff) + 1;\n          cVar1 = *pcVar3;\n        }\n        if (cVar1 == '\0') break;\n        iVar4 = iVar4 + -1;\n        if (iVar4 == -1) {\n          return pcVar3;\n        }\n      }\n    }" (if "if") (parenthesized_expression "(*pcVar3 != '\0')" (( "(") (binary_expression "*pcVar3 != '\0'" (pointer_expression "*pcVar3" (* "*") (identifier "pcVar3")) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n      iVar4 = param_2 + -1;\n      if (param_2 == 0) {\n        return pcVar3;\n      }\n      while( true ) {\n        uVar2 = (*(code *)PTR_strlen_000f5488)(pcVar3);\n        pcVar3 = pcVar3 + (uVar2 & 0x3fffffff) + 1;\n        if (pcVar3 == (char *)0x0) {\n          pcVar3 = (char *)0x1;\n          cVar1 = cRam00000001;\n        }\n        else {\n          uVar2 = (*(code *)PTR_strlen_000f5488)(pcVar3);\n          pcVar3 = pcVar3 + (uVar2 & 0x3fffffff) + 1;\n          cVar1 = *pcVar3;\n        }\n        if (cVar1 == '\0') break;\n        iVar4 = iVar4 + -1;\n        if (iVar4 == -1) {\n          return pcVar3;\n        }\n      }\n    }" ({ "{") (expression_statement "iVar4 = param_2 + -1;" (assignment_expression "iVar4 = param_2 + -1" (identifier "iVar4") (= "=") (binary_expression "param_2 + -1" (identifier "param_2") (+ "+") (number_literal "-1"))) (; ";")) (if_statement "if (param_2 == 0) {\n        return pcVar3;\n      }" (if "if") (parenthesized_expression "(param_2 == 0)" (( "(") (binary_expression "param_2 == 0" (identifier "param_2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        return pcVar3;\n      }" ({ "{") (return_statement "return pcVar3;" (return "return") (identifier "pcVar3") (; ";")) (} "}"))) (while_statement "while( true ) {\n        uVar2 = (*(code *)PTR_strlen_000f5488)(pcVar3);\n        pcVar3 = pcVar3 + (uVar2 & 0x3fffffff) + 1;\n        if (pcVar3 == (char *)0x0) {\n          pcVar3 = (char *)0x1;\n          cVar1 = cRam00000001;\n        }\n        else {\n          uVar2 = (*(code *)PTR_strlen_000f5488)(pcVar3);\n          pcVar3 = pcVar3 + (uVar2 & 0x3fffffff) + 1;\n          cVar1 = *pcVar3;\n        }\n        if (cVar1 == '\0') break;\n        iVar4 = iVar4 + -1;\n        if (iVar4 == -1) {\n          return pcVar3;\n        }\n      }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n        uVar2 = (*(code *)PTR_strlen_000f5488)(pcVar3);\n        pcVar3 = pcVar3 + (uVar2 & 0x3fffffff) + 1;\n        if (pcVar3 == (char *)0x0) {\n          pcVar3 = (char *)0x1;\n          cVar1 = cRam00000001;\n        }\n        else {\n          uVar2 = (*(code *)PTR_strlen_000f5488)(pcVar3);\n          pcVar3 = pcVar3 + (uVar2 & 0x3fffffff) + 1;\n          cVar1 = *pcVar3;\n        }\n        if (cVar1 == '\0') break;\n        iVar4 = iVar4 + -1;\n        if (iVar4 == -1) {\n          return pcVar3;\n        }\n      }" ({ "{") (expression_statement "uVar2 = (*(code *)PTR_strlen_000f5488)(pcVar3);" (assignment_expression "uVar2 = (*(code *)PTR_strlen_000f5488)(pcVar3)" (identifier "uVar2") (= "=") (call_expression "(*(code *)PTR_strlen_000f5488)(pcVar3)" (parenthesized_expression "(*(code *)PTR_strlen_000f5488)" (( "(") (pointer_expression "*(code *)PTR_strlen_000f5488" (* "*") (cast_expression "(code *)PTR_strlen_000f5488" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strlen_000f5488"))) () ")")) (argument_list "(pcVar3)" (( "(") (identifier "pcVar3") () ")")))) (; ";")) (expression_statement "pcVar3 = pcVar3 + (uVar2 & 0x3fffffff) + 1;" (assignment_expression "pcVar3 = pcVar3 + (uVar2 & 0x3fffffff) + 1" (identifier "pcVar3") (= "=") (binary_expression "pcVar3 + (uVar2 & 0x3fffffff) + 1" (binary_expression "pcVar3 + (uVar2 & 0x3fffffff)" (identifier "pcVar3") (+ "+") (parenthesized_expression "(uVar2 & 0x3fffffff)" (( "(") (binary_expression "uVar2 & 0x3fffffff" (identifier "uVar2") (& "&") (number_literal "0x3fffffff")) () ")"))) (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (pcVar3 == (char *)0x0) {\n          pcVar3 = (char *)0x1;\n          cVar1 = cRam00000001;\n        }\n        else {\n          uVar2 = (*(code *)PTR_strlen_000f5488)(pcVar3);\n          pcVar3 = pcVar3 + (uVar2 & 0x3fffffff) + 1;\n          cVar1 = *pcVar3;\n        }" (if "if") (parenthesized_expression "(pcVar3 == (char *)0x0)" (( "(") (binary_expression "pcVar3 == (char *)0x0" (identifier "pcVar3") (== "==") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n          pcVar3 = (char *)0x1;\n          cVar1 = cRam00000001;\n        }" ({ "{") (expression_statement "pcVar3 = (char *)0x1;" (assignment_expression "pcVar3 = (char *)0x1" (identifier "pcVar3") (= "=") (cast_expression "(char *)0x1" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x1"))) (; ";")) (expression_statement "cVar1 = cRam00000001;" (assignment_expression "cVar1 = cRam00000001" (identifier "cVar1") (= "=") (identifier "cRam00000001")) (; ";")) (} "}")) (else_clause "else {\n          uVar2 = (*(code *)PTR_strlen_000f5488)(pcVar3);\n          pcVar3 = pcVar3 + (uVar2 & 0x3fffffff) + 1;\n          cVar1 = *pcVar3;\n        }" (else "else") (compound_statement "{\n          uVar2 = (*(code *)PTR_strlen_000f5488)(pcVar3);\n          pcVar3 = pcVar3 + (uVar2 & 0x3fffffff) + 1;\n          cVar1 = *pcVar3;\n        }" ({ "{") (expression_statement "uVar2 = (*(code *)PTR_strlen_000f5488)(pcVar3);" (assignment_expression "uVar2 = (*(code *)PTR_strlen_000f5488)(pcVar3)" (identifier "uVar2") (= "=") (call_expression "(*(code *)PTR_strlen_000f5488)(pcVar3)" (parenthesized_expression "(*(code *)PTR_strlen_000f5488)" (( "(") (pointer_expression "*(code *)PTR_strlen_000f5488" (* "*") (cast_expression "(code *)PTR_strlen_000f5488" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strlen_000f5488"))) () ")")) (argument_list "(pcVar3)" (( "(") (identifier "pcVar3") () ")")))) (; ";")) (expression_statement "pcVar3 = pcVar3 + (uVar2 & 0x3fffffff) + 1;" (assignment_expression "pcVar3 = pcVar3 + (uVar2 & 0x3fffffff) + 1" (identifier "pcVar3") (= "=") (binary_expression "pcVar3 + (uVar2 & 0x3fffffff) + 1" (binary_expression "pcVar3 + (uVar2 & 0x3fffffff)" (identifier "pcVar3") (+ "+") (parenthesized_expression "(uVar2 & 0x3fffffff)" (( "(") (binary_expression "uVar2 & 0x3fffffff" (identifier "uVar2") (& "&") (number_literal "0x3fffffff")) () ")"))) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "cVar1 = *pcVar3;" (assignment_expression "cVar1 = *pcVar3" (identifier "cVar1") (= "=") (pointer_expression "*pcVar3" (* "*") (identifier "pcVar3"))) (; ";")) (} "}")))) (if_statement "if (cVar1 == '\0') break;" (if "if") (parenthesized_expression "(cVar1 == '\0')" (( "(") (binary_expression "cVar1 == '\0'" (identifier "cVar1") (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "iVar4 = iVar4 + -1;" (assignment_expression "iVar4 = iVar4 + -1" (identifier "iVar4") (= "=") (binary_expression "iVar4 + -1" (identifier "iVar4") (+ "+") (number_literal "-1"))) (; ";")) (if_statement "if (iVar4 == -1) {\n          return pcVar3;\n        }" (if "if") (parenthesized_expression "(iVar4 == -1)" (( "(") (binary_expression "iVar4 == -1" (identifier "iVar4") (== "==") (number_literal "-1")) () ")")) (compound_statement "{\n          return pcVar3;\n        }" ({ "{") (return_statement "return pcVar3;" (return "return") (identifier "pcVar3") (; ";")) (} "}"))) (} "}"))) (} "}"))) (} "}"))) (return_statement "return (char *)0x0;" (return "return") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")) (; ";")) (} "}")))
(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: (primitive_type) declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))))) consequence: (compound_statement (for_statement condition: (parenthesized_expression (binary_expression left: (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: (char_literal (escape_sequence))) right: (parenthesized_expression (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (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: (char_literal (escape_sequence))) right: (parenthesized_expression (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: (char_literal (escape_sequence)))))) right: (parenthesized_expression (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: (char_literal (escape_sequence))))))))) update: (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))) body: (compound_statement)) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))) right: (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement (identifier)))) (while_statement condition: (parenthesized_expression (true)) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))) right: (number_literal)))) (if_statement condition: (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: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (identifier)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (escape_sequence)))) consequence: (break_statement)) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement (identifier)))))))))) (return_statement (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal))))))

char * MASKED(int param_1,int param_2)

{
  char cVar1;
  uint uVar2;
  char *pcVar3;
  int iVar4;
  
  if ((param_1 != 0) && (-1 < param_2)) {
    for (; (*(char *)(param_1 + -1) != '\0' ||
           (((*(char *)(param_1 + -2) != '\0' || (*(char *)(param_1 + -3) != '\0')) ||
            (*(char *)(param_1 + -4) != '\0')))); param_1 = param_1 + -1) {
    }
    uVar2 = (*(code *)PTR_strlen_000f5488)(param_1);
    pcVar3 = (char *)(param_1 + (uVar2 & 0x3fffffff) + 1);
    if (*pcVar3 != '\0') {
      iVar4 = param_2 + -1;
      if (param_2 == 0) {
        return pcVar3;
      }
      while( true ) {
        uVar2 = (*(code *)PTR_strlen_000f5488)(pcVar3);
        pcVar3 = pcVar3 + (uVar2 & 0x3fffffff) + 1;
        if (pcVar3 == (char *)0x0) {
          pcVar3 = (char *)0x1;
          cVar1 = cRam00000001;
        }
        else {
          uVar2 = (*(code *)PTR_strlen_000f5488)(pcVar3);
          pcVar3 = pcVar3 + (uVar2 & 0x3fffffff) + 1;
          cVar1 = *pcVar3;
        }
        if (cVar1 == '\0') break;
        iVar4 = iVar4 + -1;
        if (iVar4 == -1) {
          return pcVar3;
        }
      }
    }
  }
  return (char *)0x0;
}

