
char * sqlite3_uri_parameter(char *zFilename,char *zParam)

{
  char cVar1;
  uint uVar2;
  int iVar3;
  char *pcVar4;
  
  if ((zFilename == (char *)0x0) || (zParam == (char *)0x0)) {
    return (char *)0x0;
  }
  for (; (zFilename[-1] != '\0' ||
         (((zFilename[-2] != '\0' || (zFilename[-3] != '\0')) || (zFilename[-4] != '\0'))));
      zFilename = zFilename + -1) {
  }
  do {
    uVar2 = (*(code *)PTR_strlen_000f5488)(zFilename);
    pcVar4 = zFilename + (uVar2 & 0x3fffffff) + 1;
    cVar1 = *pcVar4;
    while( true ) {
      if (cVar1 == '\0') {
        return (char *)0x0;
      }
      iVar3 = (*(code *)PTR_strcmp_000f55b8)(pcVar4,zParam);
      uVar2 = (*(code *)PTR_strlen_000f5488)(pcVar4);
      zFilename = pcVar4 + (uVar2 & 0x3fffffff) + 1;
      if (iVar3 == 0) {
        return zFilename;
      }
      if (zFilename != (char *)0x0) break;
      pcVar4 = (char *)0x1;
      cVar1 = cRam00000001;
    }
  } while( true );
}



char * sqlite3_uri_parameter(char *param_1,int param_2)

{
  char cVar1;
  uint uVar2;
  int iVar3;
  
  if ((param_1 == (char *)0x0) || (param_2 == 0)) {
    return (char *)0x0;
  }
  for (; (param_1[-1] != '\0' ||
         (((param_1[-2] != '\0' || (param_1[-3] != '\0')) || (param_1[-4] != '\0'))));
      param_1 = param_1 + -1) {
  }
  do {
    uVar2 = (*(code *)PTR_strlen_000f5488)(param_1);
    param_1 = param_1 + (uVar2 & 0x3fffffff) + 1;
    cVar1 = *param_1;
    while( true ) {
      if (cVar1 == '\0') {
        return (char *)0x0;
      }
      iVar3 = (*(code *)PTR_strcmp_000f55b8)(param_1,param_2);
      uVar2 = (*(code *)PTR_strlen_000f5488)(param_1);
      param_1 = param_1 + (uVar2 & 0x3fffffff) + 1;
      if (iVar3 == 0) {
        return param_1;
      }
      if (param_1 != (char *)0x0) break;
      param_1 = (char *)0x1;
      cVar1 = cRam00000001;
    }
  } while( true );
}


lui gp,0xc
addiu gp,gp,-0xec8
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,0x0003e250
_sw s0,0x18(sp)
or s0,a0,zero
beq a1,zero,0x0003e250
_or s1,a1,zero
lb v0,-0x1(s0)
bne v0,zero,0x0003e1cc
_nop
lb v0,-0x2(s0)
bne v0,zero,0x0003e1cc
_nop
lb v0,-0x3(s0)
bne v0,zero,0x0003e1cc
_nop
lb v0,-0x4(s0)
beq v0,zero,0x0003e1d4
_lw t9,-0x7e18(gp)
b 0x0003e19c
_addiu s0,s0,-0x1
or a0,s0,zero
jalr t9
_nop
ext v0,v0,0x0,0x1e
addiu v0,v0,0x1
addu s0,s0,v0
lb v0,0x0(s0)
beq v0,zero,0x0003e250
_lw gp,0x10(sp)
lw t9,-0x7ce8(gp)
or a0,s0,zero
jalr t9
_or a1,s1,zero
or a0,s0,zero
lw gp,0x10(sp)
lw t9,-0x7e18(gp)
jalr t9
_or s2,v0,zero
lw gp,0x10(sp)
ext v0,v0,0x0,0x1e
addiu v0,v0,0x1
lw t9,-0x7e18(gp)
beq s2,zero,0x0003e254
_addu s0,s0,v0
bne s0,zero,0x0003e1d8
_or a0,s0,zero
li v0,0x1
addu s0,s0,v0
lb v0,0x0(s0)
bne v0,zero,0x0003e1f8
_nop
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_parameter(char *param_1,int param_2)\n\n{\n  char cVar1;\n  uint uVar2;\n  int iVar3;\n  \n  if ((param_1 == (char *)0x0) || (param_2 == 0)) {\n    return (char *)0x0;\n  }\n  for (; (param_1[-1] != '\0' ||\n         (((param_1[-2] != '\0' || (param_1[-3] != '\0')) || (param_1[-4] != '\0'))));\n      param_1 = param_1 + -1) {\n  }\n  do {\n    uVar2 = (*(code *)PTR_strlen_000f5488)(param_1);\n    param_1 = param_1 + (uVar2 & 0x3fffffff) + 1;\n    cVar1 = *param_1;\n    while( true ) {\n      if (cVar1 == '\0') {\n        return (char *)0x0;\n      }\n      iVar3 = (*(code *)PTR_strcmp_000f55b8)(param_1,param_2);\n      uVar2 = (*(code *)PTR_strlen_000f5488)(param_1);\n      param_1 = param_1 + (uVar2 & 0x3fffffff) + 1;\n      if (iVar3 == 0) {\n        return param_1;\n      }\n      if (param_1 != (char *)0x0) break;\n      param_1 = (char *)0x1;\n      cVar1 = cRam00000001;\n    }\n  } while( true );\n}\n\n" (function_definition "char * sqlite3_uri_parameter(char *param_1,int param_2)\n\n{\n  char cVar1;\n  uint uVar2;\n  int iVar3;\n  \n  if ((param_1 == (char *)0x0) || (param_2 == 0)) {\n    return (char *)0x0;\n  }\n  for (; (param_1[-1] != '\0' ||\n         (((param_1[-2] != '\0' || (param_1[-3] != '\0')) || (param_1[-4] != '\0'))));\n      param_1 = param_1 + -1) {\n  }\n  do {\n    uVar2 = (*(code *)PTR_strlen_000f5488)(param_1);\n    param_1 = param_1 + (uVar2 & 0x3fffffff) + 1;\n    cVar1 = *param_1;\n    while( true ) {\n      if (cVar1 == '\0') {\n        return (char *)0x0;\n      }\n      iVar3 = (*(code *)PTR_strcmp_000f55b8)(param_1,param_2);\n      uVar2 = (*(code *)PTR_strlen_000f5488)(param_1);\n      param_1 = param_1 + (uVar2 & 0x3fffffff) + 1;\n      if (iVar3 == 0) {\n        return param_1;\n      }\n      if (param_1 != (char *)0x0) break;\n      param_1 = (char *)0x1;\n      cVar1 = cRam00000001;\n    }\n  } while( true );\n}" primitive_type (pointer_declarator "* sqlite3_uri_parameter(char *param_1,int param_2)" * (function_declarator "sqlite3_uri_parameter(char *param_1,int param_2)" identifier (parameter_list "(char *param_1,int param_2)" ( (parameter_declaration "char *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) )))) (compound_statement "{\n  char cVar1;\n  uint uVar2;\n  int iVar3;\n  \n  if ((param_1 == (char *)0x0) || (param_2 == 0)) {\n    return (char *)0x0;\n  }\n  for (; (param_1[-1] != '\0' ||\n         (((param_1[-2] != '\0' || (param_1[-3] != '\0')) || (param_1[-4] != '\0'))));\n      param_1 = param_1 + -1) {\n  }\n  do {\n    uVar2 = (*(code *)PTR_strlen_000f5488)(param_1);\n    param_1 = param_1 + (uVar2 & 0x3fffffff) + 1;\n    cVar1 = *param_1;\n    while( true ) {\n      if (cVar1 == '\0') {\n        return (char *)0x0;\n      }\n      iVar3 = (*(code *)PTR_strcmp_000f55b8)(param_1,param_2);\n      uVar2 = (*(code *)PTR_strlen_000f5488)(param_1);\n      param_1 = param_1 + (uVar2 & 0x3fffffff) + 1;\n      if (iVar3 == 0) {\n        return param_1;\n      }\n      if (param_1 != (char *)0x0) break;\n      param_1 = (char *)0x1;\n      cVar1 = cRam00000001;\n    }\n  } while( true );\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (if_statement "if ((param_1 == (char *)0x0) || (param_2 == 0)) {\n    return (char *)0x0;\n  }" if (parenthesized_expression "((param_1 == (char *)0x0) || (param_2 == 0))" ( (binary_expression "(param_1 == (char *)0x0) || (param_2 == 0)" (parenthesized_expression "(param_1 == (char *)0x0)" ( (binary_expression "param_1 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(param_2 == 0)" ( (binary_expression "param_2 == 0" identifier == number_literal) ))) )) (compound_statement "{\n    return (char *)0x0;\n  }" { (return_statement "return (char *)0x0;" return (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) (for_statement "for (; (param_1[-1] != '\0' ||\n         (((param_1[-2] != '\0' || (param_1[-3] != '\0')) || (param_1[-4] != '\0'))));\n      param_1 = param_1 + -1) {\n  }" for ( ; (parenthesized_expression "(param_1[-1] != '\0' ||\n         (((param_1[-2] != '\0' || (param_1[-3] != '\0')) || (param_1[-4] != '\0'))))" ( (binary_expression "param_1[-1] != '\0' ||\n         (((param_1[-2] != '\0' || (param_1[-3] != '\0')) || (param_1[-4] != '\0')))" (binary_expression "param_1[-1] != '\0'" (subscript_expression "param_1[-1]" identifier [ number_literal ]) != (char_literal "'\0'" ' escape_sequence ')) || (parenthesized_expression "(((param_1[-2] != '\0' || (param_1[-3] != '\0')) || (param_1[-4] != '\0')))" ( (parenthesized_expression "((param_1[-2] != '\0' || (param_1[-3] != '\0')) || (param_1[-4] != '\0'))" ( (binary_expression "(param_1[-2] != '\0' || (param_1[-3] != '\0')) || (param_1[-4] != '\0')" (parenthesized_expression "(param_1[-2] != '\0' || (param_1[-3] != '\0'))" ( (binary_expression "param_1[-2] != '\0' || (param_1[-3] != '\0')" (binary_expression "param_1[-2] != '\0'" (subscript_expression "param_1[-2]" identifier [ number_literal ]) != (char_literal "'\0'" ' escape_sequence ')) || (parenthesized_expression "(param_1[-3] != '\0')" ( (binary_expression "param_1[-3] != '\0'" (subscript_expression "param_1[-3]" identifier [ number_literal ]) != (char_literal "'\0'" ' escape_sequence ')) ))) )) || (parenthesized_expression "(param_1[-4] != '\0')" ( (binary_expression "param_1[-4] != '\0'" (subscript_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  }" { })) (do_statement "do {\n    uVar2 = (*(code *)PTR_strlen_000f5488)(param_1);\n    param_1 = param_1 + (uVar2 & 0x3fffffff) + 1;\n    cVar1 = *param_1;\n    while( true ) {\n      if (cVar1 == '\0') {\n        return (char *)0x0;\n      }\n      iVar3 = (*(code *)PTR_strcmp_000f55b8)(param_1,param_2);\n      uVar2 = (*(code *)PTR_strlen_000f5488)(param_1);\n      param_1 = param_1 + (uVar2 & 0x3fffffff) + 1;\n      if (iVar3 == 0) {\n        return param_1;\n      }\n      if (param_1 != (char *)0x0) break;\n      param_1 = (char *)0x1;\n      cVar1 = cRam00000001;\n    }\n  } while( true );" do (compound_statement "{\n    uVar2 = (*(code *)PTR_strlen_000f5488)(param_1);\n    param_1 = param_1 + (uVar2 & 0x3fffffff) + 1;\n    cVar1 = *param_1;\n    while( true ) {\n      if (cVar1 == '\0') {\n        return (char *)0x0;\n      }\n      iVar3 = (*(code *)PTR_strcmp_000f55b8)(param_1,param_2);\n      uVar2 = (*(code *)PTR_strlen_000f5488)(param_1);\n      param_1 = param_1 + (uVar2 & 0x3fffffff) + 1;\n      if (iVar3 == 0) {\n        return param_1;\n      }\n      if (param_1 != (char *)0x0) break;\n      param_1 = (char *)0x1;\n      cVar1 = cRam00000001;\n    }\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 "param_1 = param_1 + (uVar2 & 0x3fffffff) + 1;" (assignment_expression "param_1 = param_1 + (uVar2 & 0x3fffffff) + 1" identifier = (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)) ;) (expression_statement "cVar1 = *param_1;" (assignment_expression "cVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (while_statement "while( true ) {\n      if (cVar1 == '\0') {\n        return (char *)0x0;\n      }\n      iVar3 = (*(code *)PTR_strcmp_000f55b8)(param_1,param_2);\n      uVar2 = (*(code *)PTR_strlen_000f5488)(param_1);\n      param_1 = param_1 + (uVar2 & 0x3fffffff) + 1;\n      if (iVar3 == 0) {\n        return param_1;\n      }\n      if (param_1 != (char *)0x0) break;\n      param_1 = (char *)0x1;\n      cVar1 = cRam00000001;\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      if (cVar1 == '\0') {\n        return (char *)0x0;\n      }\n      iVar3 = (*(code *)PTR_strcmp_000f55b8)(param_1,param_2);\n      uVar2 = (*(code *)PTR_strlen_000f5488)(param_1);\n      param_1 = param_1 + (uVar2 & 0x3fffffff) + 1;\n      if (iVar3 == 0) {\n        return param_1;\n      }\n      if (param_1 != (char *)0x0) break;\n      param_1 = (char *)0x1;\n      cVar1 = cRam00000001;\n    }" { (if_statement "if (cVar1 == '\0') {\n        return (char *)0x0;\n      }" if (parenthesized_expression "(cVar1 == '\0')" ( (binary_expression "cVar1 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        return (char *)0x0;\n      }" { (return_statement "return (char *)0x0;" return (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) (expression_statement "iVar3 = (*(code *)PTR_strcmp_000f55b8)(param_1,param_2);" (assignment_expression "iVar3 = (*(code *)PTR_strcmp_000f55b8)(param_1,param_2)" identifier = (call_expression "(*(code *)PTR_strcmp_000f55b8)(param_1,param_2)" (parenthesized_expression "(*(code *)PTR_strcmp_000f55b8)" ( (pointer_expression "*(code *)PTR_strcmp_000f55b8" * (cast_expression "(code *)PTR_strcmp_000f55b8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,param_2)" ( identifier , identifier )))) ;) (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 "param_1 = param_1 + (uVar2 & 0x3fffffff) + 1;" (assignment_expression "param_1 = param_1 + (uVar2 & 0x3fffffff) + 1" identifier = (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 (iVar3 == 0) {\n        return param_1;\n      }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n        return param_1;\n      }" { (return_statement "return param_1;" return identifier ;) })) (if_statement "if (param_1 != (char *)0x0) break;" if (parenthesized_expression "(param_1 != (char *)0x0)" ( (binary_expression "param_1 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (break_statement "break;" break ;)) (expression_statement "param_1 = (char *)0x1;" (assignment_expression "param_1 = (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) ;) })) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit "char * sqlite3_uri_parameter(char *zFilename,char *zParam)\n\n{\n  char cVar1;\n  uint uVar2;\n  int iVar3;\n  char *pcVar4;\n  \n  if ((zFilename == (char *)0x0) || (zParam == (char *)0x0)) {\n    return (char *)0x0;\n  }\n  for (; (zFilename[-1] != '\0' ||\n         (((zFilename[-2] != '\0' || (zFilename[-3] != '\0')) || (zFilename[-4] != '\0'))));\n      zFilename = zFilename + -1) {\n  }\n  do {\n    uVar2 = (*(code *)PTR_strlen_000f5488)(zFilename);\n    pcVar4 = zFilename + (uVar2 & 0x3fffffff) + 1;\n    cVar1 = *pcVar4;\n    while( true ) {\n      if (cVar1 == '\0') {\n        return (char *)0x0;\n      }\n      iVar3 = (*(code *)PTR_strcmp_000f55b8)(pcVar4,zParam);\n      uVar2 = (*(code *)PTR_strlen_000f5488)(pcVar4);\n      zFilename = pcVar4 + (uVar2 & 0x3fffffff) + 1;\n      if (iVar3 == 0) {\n        return zFilename;\n      }\n      if (zFilename != (char *)0x0) break;\n      pcVar4 = (char *)0x1;\n      cVar1 = cRam00000001;\n    }\n  } while( true );\n}\n\n" (function_definition "char * sqlite3_uri_parameter(char *zFilename,char *zParam)\n\n{\n  char cVar1;\n  uint uVar2;\n  int iVar3;\n  char *pcVar4;\n  \n  if ((zFilename == (char *)0x0) || (zParam == (char *)0x0)) {\n    return (char *)0x0;\n  }\n  for (; (zFilename[-1] != '\0' ||\n         (((zFilename[-2] != '\0' || (zFilename[-3] != '\0')) || (zFilename[-4] != '\0'))));\n      zFilename = zFilename + -1) {\n  }\n  do {\n    uVar2 = (*(code *)PTR_strlen_000f5488)(zFilename);\n    pcVar4 = zFilename + (uVar2 & 0x3fffffff) + 1;\n    cVar1 = *pcVar4;\n    while( true ) {\n      if (cVar1 == '\0') {\n        return (char *)0x0;\n      }\n      iVar3 = (*(code *)PTR_strcmp_000f55b8)(pcVar4,zParam);\n      uVar2 = (*(code *)PTR_strlen_000f5488)(pcVar4);\n      zFilename = pcVar4 + (uVar2 & 0x3fffffff) + 1;\n      if (iVar3 == 0) {\n        return zFilename;\n      }\n      if (zFilename != (char *)0x0) break;\n      pcVar4 = (char *)0x1;\n      cVar1 = cRam00000001;\n    }\n  } while( true );\n}" primitive_type (pointer_declarator "* sqlite3_uri_parameter(char *zFilename,char *zParam)" * (function_declarator "sqlite3_uri_parameter(char *zFilename,char *zParam)" identifier (parameter_list "(char *zFilename,char *zParam)" ( (parameter_declaration "char *zFilename" primitive_type (pointer_declarator "*zFilename" * identifier)) , (parameter_declaration "char *zParam" primitive_type (pointer_declarator "*zParam" * identifier)) )))) (compound_statement "{\n  char cVar1;\n  uint uVar2;\n  int iVar3;\n  char *pcVar4;\n  \n  if ((zFilename == (char *)0x0) || (zParam == (char *)0x0)) {\n    return (char *)0x0;\n  }\n  for (; (zFilename[-1] != '\0' ||\n         (((zFilename[-2] != '\0' || (zFilename[-3] != '\0')) || (zFilename[-4] != '\0'))));\n      zFilename = zFilename + -1) {\n  }\n  do {\n    uVar2 = (*(code *)PTR_strlen_000f5488)(zFilename);\n    pcVar4 = zFilename + (uVar2 & 0x3fffffff) + 1;\n    cVar1 = *pcVar4;\n    while( true ) {\n      if (cVar1 == '\0') {\n        return (char *)0x0;\n      }\n      iVar3 = (*(code *)PTR_strcmp_000f55b8)(pcVar4,zParam);\n      uVar2 = (*(code *)PTR_strlen_000f5488)(pcVar4);\n      zFilename = pcVar4 + (uVar2 & 0x3fffffff) + 1;\n      if (iVar3 == 0) {\n        return zFilename;\n      }\n      if (zFilename != (char *)0x0) break;\n      pcVar4 = (char *)0x1;\n      cVar1 = cRam00000001;\n    }\n  } while( true );\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (if_statement "if ((zFilename == (char *)0x0) || (zParam == (char *)0x0)) {\n    return (char *)0x0;\n  }" if (parenthesized_expression "((zFilename == (char *)0x0) || (zParam == (char *)0x0))" ( (binary_expression "(zFilename == (char *)0x0) || (zParam == (char *)0x0)" (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 "(zParam == (char *)0x0)" ( (binary_expression "zParam == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ))) )) (compound_statement "{\n    return (char *)0x0;\n  }" { (return_statement "return (char *)0x0;" return (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) (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  }" { })) (do_statement "do {\n    uVar2 = (*(code *)PTR_strlen_000f5488)(zFilename);\n    pcVar4 = zFilename + (uVar2 & 0x3fffffff) + 1;\n    cVar1 = *pcVar4;\n    while( true ) {\n      if (cVar1 == '\0') {\n        return (char *)0x0;\n      }\n      iVar3 = (*(code *)PTR_strcmp_000f55b8)(pcVar4,zParam);\n      uVar2 = (*(code *)PTR_strlen_000f5488)(pcVar4);\n      zFilename = pcVar4 + (uVar2 & 0x3fffffff) + 1;\n      if (iVar3 == 0) {\n        return zFilename;\n      }\n      if (zFilename != (char *)0x0) break;\n      pcVar4 = (char *)0x1;\n      cVar1 = cRam00000001;\n    }\n  } while( true );" do (compound_statement "{\n    uVar2 = (*(code *)PTR_strlen_000f5488)(zFilename);\n    pcVar4 = zFilename + (uVar2 & 0x3fffffff) + 1;\n    cVar1 = *pcVar4;\n    while( true ) {\n      if (cVar1 == '\0') {\n        return (char *)0x0;\n      }\n      iVar3 = (*(code *)PTR_strcmp_000f55b8)(pcVar4,zParam);\n      uVar2 = (*(code *)PTR_strlen_000f5488)(pcVar4);\n      zFilename = pcVar4 + (uVar2 & 0x3fffffff) + 1;\n      if (iVar3 == 0) {\n        return zFilename;\n      }\n      if (zFilename != (char *)0x0) break;\n      pcVar4 = (char *)0x1;\n      cVar1 = cRam00000001;\n    }\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 "pcVar4 = zFilename + (uVar2 & 0x3fffffff) + 1;" (assignment_expression "pcVar4 = 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)) ;) (expression_statement "cVar1 = *pcVar4;" (assignment_expression "cVar1 = *pcVar4" identifier = (pointer_expression "*pcVar4" * identifier)) ;) (while_statement "while( true ) {\n      if (cVar1 == '\0') {\n        return (char *)0x0;\n      }\n      iVar3 = (*(code *)PTR_strcmp_000f55b8)(pcVar4,zParam);\n      uVar2 = (*(code *)PTR_strlen_000f5488)(pcVar4);\n      zFilename = pcVar4 + (uVar2 & 0x3fffffff) + 1;\n      if (iVar3 == 0) {\n        return zFilename;\n      }\n      if (zFilename != (char *)0x0) break;\n      pcVar4 = (char *)0x1;\n      cVar1 = cRam00000001;\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      if (cVar1 == '\0') {\n        return (char *)0x0;\n      }\n      iVar3 = (*(code *)PTR_strcmp_000f55b8)(pcVar4,zParam);\n      uVar2 = (*(code *)PTR_strlen_000f5488)(pcVar4);\n      zFilename = pcVar4 + (uVar2 & 0x3fffffff) + 1;\n      if (iVar3 == 0) {\n        return zFilename;\n      }\n      if (zFilename != (char *)0x0) break;\n      pcVar4 = (char *)0x1;\n      cVar1 = cRam00000001;\n    }" { (if_statement "if (cVar1 == '\0') {\n        return (char *)0x0;\n      }" if (parenthesized_expression "(cVar1 == '\0')" ( (binary_expression "cVar1 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        return (char *)0x0;\n      }" { (return_statement "return (char *)0x0;" return (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) (expression_statement "iVar3 = (*(code *)PTR_strcmp_000f55b8)(pcVar4,zParam);" (assignment_expression "iVar3 = (*(code *)PTR_strcmp_000f55b8)(pcVar4,zParam)" identifier = (call_expression "(*(code *)PTR_strcmp_000f55b8)(pcVar4,zParam)" (parenthesized_expression "(*(code *)PTR_strcmp_000f55b8)" ( (pointer_expression "*(code *)PTR_strcmp_000f55b8" * (cast_expression "(code *)PTR_strcmp_000f55b8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar4,zParam)" ( identifier , identifier )))) ;) (expression_statement "uVar2 = (*(code *)PTR_strlen_000f5488)(pcVar4);" (assignment_expression "uVar2 = (*(code *)PTR_strlen_000f5488)(pcVar4)" identifier = (call_expression "(*(code *)PTR_strlen_000f5488)(pcVar4)" (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 "(pcVar4)" ( identifier )))) ;) (expression_statement "zFilename = pcVar4 + (uVar2 & 0x3fffffff) + 1;" (assignment_expression "zFilename = pcVar4 + (uVar2 & 0x3fffffff) + 1" identifier = (binary_expression "pcVar4 + (uVar2 & 0x3fffffff) + 1" (binary_expression "pcVar4 + (uVar2 & 0x3fffffff)" identifier + (parenthesized_expression "(uVar2 & 0x3fffffff)" ( (binary_expression "uVar2 & 0x3fffffff" identifier & number_literal) ))) + number_literal)) ;) (if_statement "if (iVar3 == 0) {\n        return zFilename;\n      }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n        return zFilename;\n      }" { (return_statement "return zFilename;" return identifier ;) })) (if_statement "if (zFilename != (char *)0x0) break;" if (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)) )) (break_statement "break;" break ;)) (expression_statement "pcVar4 = (char *)0x1;" (assignment_expression "pcVar4 = (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) ;) })) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit "char * sqlite3_uri_parameter(char *param_1,int param_2)\n\n{\n  char cVar1;\n  uint uVar2;\n  int iVar3;\n  \n  if ((param_1 == (char *)0x0) || (param_2 == 0)) {\n    return (char *)0x0;\n  }\n  for (; (param_1[-1] != '\0' ||\n         (((param_1[-2] != '\0' || (param_1[-3] != '\0')) || (param_1[-4] != '\0'))));\n      param_1 = param_1 + -1) {\n  }\n  do {\n    uVar2 = (*(code *)PTR_strlen_000f5488)(param_1);\n    param_1 = param_1 + (uVar2 & 0x3fffffff) + 1;\n    cVar1 = *param_1;\n    while( true ) {\n      if (cVar1 == '\0') {\n        return (char *)0x0;\n      }\n      iVar3 = (*(code *)PTR_strcmp_000f55b8)(param_1,param_2);\n      uVar2 = (*(code *)PTR_strlen_000f5488)(param_1);\n      param_1 = param_1 + (uVar2 & 0x3fffffff) + 1;\n      if (iVar3 == 0) {\n        return param_1;\n      }\n      if (param_1 != (char *)0x0) break;\n      param_1 = (char *)0x1;\n      cVar1 = cRam00000001;\n    }\n  } while( true );\n}\n\n" (function_definition "char * sqlite3_uri_parameter(char *param_1,int param_2)\n\n{\n  char cVar1;\n  uint uVar2;\n  int iVar3;\n  \n  if ((param_1 == (char *)0x0) || (param_2 == 0)) {\n    return (char *)0x0;\n  }\n  for (; (param_1[-1] != '\0' ||\n         (((param_1[-2] != '\0' || (param_1[-3] != '\0')) || (param_1[-4] != '\0'))));\n      param_1 = param_1 + -1) {\n  }\n  do {\n    uVar2 = (*(code *)PTR_strlen_000f5488)(param_1);\n    param_1 = param_1 + (uVar2 & 0x3fffffff) + 1;\n    cVar1 = *param_1;\n    while( true ) {\n      if (cVar1 == '\0') {\n        return (char *)0x0;\n      }\n      iVar3 = (*(code *)PTR_strcmp_000f55b8)(param_1,param_2);\n      uVar2 = (*(code *)PTR_strlen_000f5488)(param_1);\n      param_1 = param_1 + (uVar2 & 0x3fffffff) + 1;\n      if (iVar3 == 0) {\n        return param_1;\n      }\n      if (param_1 != (char *)0x0) break;\n      param_1 = (char *)0x1;\n      cVar1 = cRam00000001;\n    }\n  } while( true );\n}" primitive_type (pointer_declarator "* sqlite3_uri_parameter(char *param_1,int param_2)" * (function_declarator "sqlite3_uri_parameter(char *param_1,int param_2)" identifier (parameter_list "(char *param_1,int param_2)" ( (parameter_declaration "char *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) )))) (compound_statement "{\n  char cVar1;\n  uint uVar2;\n  int iVar3;\n  \n  if ((param_1 == (char *)0x0) || (param_2 == 0)) {\n    return (char *)0x0;\n  }\n  for (; (param_1[-1] != '\0' ||\n         (((param_1[-2] != '\0' || (param_1[-3] != '\0')) || (param_1[-4] != '\0'))));\n      param_1 = param_1 + -1) {\n  }\n  do {\n    uVar2 = (*(code *)PTR_strlen_000f5488)(param_1);\n    param_1 = param_1 + (uVar2 & 0x3fffffff) + 1;\n    cVar1 = *param_1;\n    while( true ) {\n      if (cVar1 == '\0') {\n        return (char *)0x0;\n      }\n      iVar3 = (*(code *)PTR_strcmp_000f55b8)(param_1,param_2);\n      uVar2 = (*(code *)PTR_strlen_000f5488)(param_1);\n      param_1 = param_1 + (uVar2 & 0x3fffffff) + 1;\n      if (iVar3 == 0) {\n        return param_1;\n      }\n      if (param_1 != (char *)0x0) break;\n      param_1 = (char *)0x1;\n      cVar1 = cRam00000001;\n    }\n  } while( true );\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (if_statement "if ((param_1 == (char *)0x0) || (param_2 == 0)) {\n    return (char *)0x0;\n  }" if (parenthesized_expression "((param_1 == (char *)0x0) || (param_2 == 0))" ( (binary_expression "(param_1 == (char *)0x0) || (param_2 == 0)" (parenthesized_expression "(param_1 == (char *)0x0)" ( (binary_expression "param_1 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(param_2 == 0)" ( (binary_expression "param_2 == 0" identifier == number_literal) ))) )) (compound_statement "{\n    return (char *)0x0;\n  }" { (return_statement "return (char *)0x0;" return (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) (for_statement "for (; (param_1[-1] != '\0' ||\n         (((param_1[-2] != '\0' || (param_1[-3] != '\0')) || (param_1[-4] != '\0'))));\n      param_1 = param_1 + -1) {\n  }" for ( ; (parenthesized_expression "(param_1[-1] != '\0' ||\n         (((param_1[-2] != '\0' || (param_1[-3] != '\0')) || (param_1[-4] != '\0'))))" ( (binary_expression "param_1[-1] != '\0' ||\n         (((param_1[-2] != '\0' || (param_1[-3] != '\0')) || (param_1[-4] != '\0')))" (binary_expression "param_1[-1] != '\0'" (subscript_expression "param_1[-1]" identifier [ number_literal ]) != (char_literal "'\0'" ' escape_sequence ')) || (parenthesized_expression "(((param_1[-2] != '\0' || (param_1[-3] != '\0')) || (param_1[-4] != '\0')))" ( (parenthesized_expression "((param_1[-2] != '\0' || (param_1[-3] != '\0')) || (param_1[-4] != '\0'))" ( (binary_expression "(param_1[-2] != '\0' || (param_1[-3] != '\0')) || (param_1[-4] != '\0')" (parenthesized_expression "(param_1[-2] != '\0' || (param_1[-3] != '\0'))" ( (binary_expression "param_1[-2] != '\0' || (param_1[-3] != '\0')" (binary_expression "param_1[-2] != '\0'" (subscript_expression "param_1[-2]" identifier [ number_literal ]) != (char_literal "'\0'" ' escape_sequence ')) || (parenthesized_expression "(param_1[-3] != '\0')" ( (binary_expression "param_1[-3] != '\0'" (subscript_expression "param_1[-3]" identifier [ number_literal ]) != (char_literal "'\0'" ' escape_sequence ')) ))) )) || (parenthesized_expression "(param_1[-4] != '\0')" ( (binary_expression "param_1[-4] != '\0'" (subscript_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  }" { })) (do_statement "do {\n    uVar2 = (*(code *)PTR_strlen_000f5488)(param_1);\n    param_1 = param_1 + (uVar2 & 0x3fffffff) + 1;\n    cVar1 = *param_1;\n    while( true ) {\n      if (cVar1 == '\0') {\n        return (char *)0x0;\n      }\n      iVar3 = (*(code *)PTR_strcmp_000f55b8)(param_1,param_2);\n      uVar2 = (*(code *)PTR_strlen_000f5488)(param_1);\n      param_1 = param_1 + (uVar2 & 0x3fffffff) + 1;\n      if (iVar3 == 0) {\n        return param_1;\n      }\n      if (param_1 != (char *)0x0) break;\n      param_1 = (char *)0x1;\n      cVar1 = cRam00000001;\n    }\n  } while( true );" do (compound_statement "{\n    uVar2 = (*(code *)PTR_strlen_000f5488)(param_1);\n    param_1 = param_1 + (uVar2 & 0x3fffffff) + 1;\n    cVar1 = *param_1;\n    while( true ) {\n      if (cVar1 == '\0') {\n        return (char *)0x0;\n      }\n      iVar3 = (*(code *)PTR_strcmp_000f55b8)(param_1,param_2);\n      uVar2 = (*(code *)PTR_strlen_000f5488)(param_1);\n      param_1 = param_1 + (uVar2 & 0x3fffffff) + 1;\n      if (iVar3 == 0) {\n        return param_1;\n      }\n      if (param_1 != (char *)0x0) break;\n      param_1 = (char *)0x1;\n      cVar1 = cRam00000001;\n    }\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 "param_1 = param_1 + (uVar2 & 0x3fffffff) + 1;" (assignment_expression "param_1 = param_1 + (uVar2 & 0x3fffffff) + 1" identifier = (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)) ;) (expression_statement "cVar1 = *param_1;" (assignment_expression "cVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (while_statement "while( true ) {\n      if (cVar1 == '\0') {\n        return (char *)0x0;\n      }\n      iVar3 = (*(code *)PTR_strcmp_000f55b8)(param_1,param_2);\n      uVar2 = (*(code *)PTR_strlen_000f5488)(param_1);\n      param_1 = param_1 + (uVar2 & 0x3fffffff) + 1;\n      if (iVar3 == 0) {\n        return param_1;\n      }\n      if (param_1 != (char *)0x0) break;\n      param_1 = (char *)0x1;\n      cVar1 = cRam00000001;\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      if (cVar1 == '\0') {\n        return (char *)0x0;\n      }\n      iVar3 = (*(code *)PTR_strcmp_000f55b8)(param_1,param_2);\n      uVar2 = (*(code *)PTR_strlen_000f5488)(param_1);\n      param_1 = param_1 + (uVar2 & 0x3fffffff) + 1;\n      if (iVar3 == 0) {\n        return param_1;\n      }\n      if (param_1 != (char *)0x0) break;\n      param_1 = (char *)0x1;\n      cVar1 = cRam00000001;\n    }" { (if_statement "if (cVar1 == '\0') {\n        return (char *)0x0;\n      }" if (parenthesized_expression "(cVar1 == '\0')" ( (binary_expression "cVar1 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        return (char *)0x0;\n      }" { (return_statement "return (char *)0x0;" return (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) (expression_statement "iVar3 = (*(code *)PTR_strcmp_000f55b8)(param_1,param_2);" (assignment_expression "iVar3 = (*(code *)PTR_strcmp_000f55b8)(param_1,param_2)" identifier = (call_expression "(*(code *)PTR_strcmp_000f55b8)(param_1,param_2)" (parenthesized_expression "(*(code *)PTR_strcmp_000f55b8)" ( (pointer_expression "*(code *)PTR_strcmp_000f55b8" * (cast_expression "(code *)PTR_strcmp_000f55b8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,param_2)" ( identifier , identifier )))) ;) (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 "param_1 = param_1 + (uVar2 & 0x3fffffff) + 1;" (assignment_expression "param_1 = param_1 + (uVar2 & 0x3fffffff) + 1" identifier = (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 (iVar3 == 0) {\n        return param_1;\n      }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n        return param_1;\n      }" { (return_statement "return param_1;" return identifier ;) })) (if_statement "if (param_1 != (char *)0x0) break;" if (parenthesized_expression "(param_1 != (char *)0x0)" ( (binary_expression "param_1 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (break_statement "break;" break ;)) (expression_statement "param_1 = (char *)0x1;" (assignment_expression "param_1 = (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) ;) })) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) )))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) || (parenthesized_expression ( (binary_expression IDENT == LIT) ))) )) (compound_statement { (return_statement return (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT) ;) })) (for_statement for ( ; (parenthesized_expression ( (binary_expression (binary_expression (subscript_expression IDENT [ LIT ]) != (char_literal ' escape_sequence ')) || (parenthesized_expression ( (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (binary_expression (subscript_expression IDENT [ LIT ]) != (char_literal ' escape_sequence ')) || (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != (char_literal ' escape_sequence ')) ))) )) || (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != (char_literal ' escape_sequence ')) ))) )) ))) )) ; (assignment_expression IDENT = (binary_expression IDENT + LIT)) ) (compound_statement { })) (do_statement do (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)) ;) (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) )) (compound_statement { (return_statement return (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT) ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT )))) ;) (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 == LIT) )) (compound_statement { (return_statement return IDENT ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) })) }) while (parenthesized_expression ( BOOL )) ;) })))
(function_definition "char * sqlite3_uri_parameter(char *param_1,int param_2)\n\n{\n  char cVar1;\n  uint uVar2;\n  int iVar3;\n  \n  if ((param_1 == (char *)0x0) || (param_2 == 0)) {\n    return (char *)0x0;\n  }\n  for (; (param_1[-1] != '\0' ||\n         (((param_1[-2] != '\0' || (param_1[-3] != '\0')) || (param_1[-4] != '\0'))));\n      param_1 = param_1 + -1) {\n  }\n  do {\n    uVar2 = (*(code *)PTR_strlen_000f5488)(param_1);\n    param_1 = param_1 + (uVar2 & 0x3fffffff) + 1;\n    cVar1 = *param_1;\n    while( true ) {\n      if (cVar1 == '\0') {\n        return (char *)0x0;\n      }\n      iVar3 = (*(code *)PTR_strcmp_000f55b8)(param_1,param_2);\n      uVar2 = (*(code *)PTR_strlen_000f5488)(param_1);\n      param_1 = param_1 + (uVar2 & 0x3fffffff) + 1;\n      if (iVar3 == 0) {\n        return param_1;\n      }\n      if (param_1 != (char *)0x0) break;\n      param_1 = (char *)0x1;\n      cVar1 = cRam00000001;\n    }\n  } while( true );\n}" (primitive_type "char") (pointer_declarator "* sqlite3_uri_parameter(char *param_1,int param_2)" (* "*") (function_declarator "sqlite3_uri_parameter(char *param_1,int param_2)" (identifier "sqlite3_uri_parameter") (parameter_list "(char *param_1,int param_2)" (( "(") (parameter_declaration "char *param_1" (primitive_type "char") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")")))) (compound_statement "{\n  char cVar1;\n  uint uVar2;\n  int iVar3;\n  \n  if ((param_1 == (char *)0x0) || (param_2 == 0)) {\n    return (char *)0x0;\n  }\n  for (; (param_1[-1] != '\0' ||\n         (((param_1[-2] != '\0' || (param_1[-3] != '\0')) || (param_1[-4] != '\0'))));\n      param_1 = param_1 + -1) {\n  }\n  do {\n    uVar2 = (*(code *)PTR_strlen_000f5488)(param_1);\n    param_1 = param_1 + (uVar2 & 0x3fffffff) + 1;\n    cVar1 = *param_1;\n    while( true ) {\n      if (cVar1 == '\0') {\n        return (char *)0x0;\n      }\n      iVar3 = (*(code *)PTR_strcmp_000f55b8)(param_1,param_2);\n      uVar2 = (*(code *)PTR_strlen_000f5488)(param_1);\n      param_1 = param_1 + (uVar2 & 0x3fffffff) + 1;\n      if (iVar3 == 0) {\n        return param_1;\n      }\n      if (param_1 != (char *)0x0) break;\n      param_1 = (char *)0x1;\n      cVar1 = cRam00000001;\n    }\n  } while( true );\n}" ({ "{") (declaration "char cVar1;" (primitive_type "char") (identifier "cVar1") (; ";")) (declaration "uint uVar2;" (type_identifier "uint") (identifier "uVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (if_statement "if ((param_1 == (char *)0x0) || (param_2 == 0)) {\n    return (char *)0x0;\n  }" (if "if") (parenthesized_expression "((param_1 == (char *)0x0) || (param_2 == 0))" (( "(") (binary_expression "(param_1 == (char *)0x0) || (param_2 == 0)" (parenthesized_expression "(param_1 == (char *)0x0)" (( "(") (binary_expression "param_1 == (char *)0x0" (identifier "param_1") (== "==") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (|| "||") (parenthesized_expression "(param_2 == 0)" (( "(") (binary_expression "param_2 == 0" (identifier "param_2") (== "==") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n    return (char *)0x0;\n  }" ({ "{") (return_statement "return (char *)0x0;" (return "return") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")) (; ";")) (} "}"))) (for_statement "for (; (param_1[-1] != '\0' ||\n         (((param_1[-2] != '\0' || (param_1[-3] != '\0')) || (param_1[-4] != '\0'))));\n      param_1 = param_1 + -1) {\n  }" (for "for") (( "(") (; ";") (parenthesized_expression "(param_1[-1] != '\0' ||\n         (((param_1[-2] != '\0' || (param_1[-3] != '\0')) || (param_1[-4] != '\0'))))" (( "(") (binary_expression "param_1[-1] != '\0' ||\n         (((param_1[-2] != '\0' || (param_1[-3] != '\0')) || (param_1[-4] != '\0')))" (binary_expression "param_1[-1] != '\0'" (subscript_expression "param_1[-1]" (identifier "param_1") ([ "[") (number_literal "-1") (] "]")) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) (|| "||") (parenthesized_expression "(((param_1[-2] != '\0' || (param_1[-3] != '\0')) || (param_1[-4] != '\0')))" (( "(") (parenthesized_expression "((param_1[-2] != '\0' || (param_1[-3] != '\0')) || (param_1[-4] != '\0'))" (( "(") (binary_expression "(param_1[-2] != '\0' || (param_1[-3] != '\0')) || (param_1[-4] != '\0')" (parenthesized_expression "(param_1[-2] != '\0' || (param_1[-3] != '\0'))" (( "(") (binary_expression "param_1[-2] != '\0' || (param_1[-3] != '\0')" (binary_expression "param_1[-2] != '\0'" (subscript_expression "param_1[-2]" (identifier "param_1") ([ "[") (number_literal "-2") (] "]")) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) (|| "||") (parenthesized_expression "(param_1[-3] != '\0')" (( "(") (binary_expression "param_1[-3] != '\0'" (subscript_expression "param_1[-3]" (identifier "param_1") ([ "[") (number_literal "-3") (] "]")) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")"))) () ")")) (|| "||") (parenthesized_expression "(param_1[-4] != '\0')" (( "(") (binary_expression "param_1[-4] != '\0'" (subscript_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  }" ({ "{") (} "}"))) (do_statement "do {\n    uVar2 = (*(code *)PTR_strlen_000f5488)(param_1);\n    param_1 = param_1 + (uVar2 & 0x3fffffff) + 1;\n    cVar1 = *param_1;\n    while( true ) {\n      if (cVar1 == '\0') {\n        return (char *)0x0;\n      }\n      iVar3 = (*(code *)PTR_strcmp_000f55b8)(param_1,param_2);\n      uVar2 = (*(code *)PTR_strlen_000f5488)(param_1);\n      param_1 = param_1 + (uVar2 & 0x3fffffff) + 1;\n      if (iVar3 == 0) {\n        return param_1;\n      }\n      if (param_1 != (char *)0x0) break;\n      param_1 = (char *)0x1;\n      cVar1 = cRam00000001;\n    }\n  } while( true );" (do "do") (compound_statement "{\n    uVar2 = (*(code *)PTR_strlen_000f5488)(param_1);\n    param_1 = param_1 + (uVar2 & 0x3fffffff) + 1;\n    cVar1 = *param_1;\n    while( true ) {\n      if (cVar1 == '\0') {\n        return (char *)0x0;\n      }\n      iVar3 = (*(code *)PTR_strcmp_000f55b8)(param_1,param_2);\n      uVar2 = (*(code *)PTR_strlen_000f5488)(param_1);\n      param_1 = param_1 + (uVar2 & 0x3fffffff) + 1;\n      if (iVar3 == 0) {\n        return param_1;\n      }\n      if (param_1 != (char *)0x0) break;\n      param_1 = (char *)0x1;\n      cVar1 = cRam00000001;\n    }\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 "param_1 = param_1 + (uVar2 & 0x3fffffff) + 1;" (assignment_expression "param_1 = param_1 + (uVar2 & 0x3fffffff) + 1" (identifier "param_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"))) (; ";")) (expression_statement "cVar1 = *param_1;" (assignment_expression "cVar1 = *param_1" (identifier "cVar1") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (while_statement "while( true ) {\n      if (cVar1 == '\0') {\n        return (char *)0x0;\n      }\n      iVar3 = (*(code *)PTR_strcmp_000f55b8)(param_1,param_2);\n      uVar2 = (*(code *)PTR_strlen_000f5488)(param_1);\n      param_1 = param_1 + (uVar2 & 0x3fffffff) + 1;\n      if (iVar3 == 0) {\n        return param_1;\n      }\n      if (param_1 != (char *)0x0) break;\n      param_1 = (char *)0x1;\n      cVar1 = cRam00000001;\n    }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n      if (cVar1 == '\0') {\n        return (char *)0x0;\n      }\n      iVar3 = (*(code *)PTR_strcmp_000f55b8)(param_1,param_2);\n      uVar2 = (*(code *)PTR_strlen_000f5488)(param_1);\n      param_1 = param_1 + (uVar2 & 0x3fffffff) + 1;\n      if (iVar3 == 0) {\n        return param_1;\n      }\n      if (param_1 != (char *)0x0) break;\n      param_1 = (char *)0x1;\n      cVar1 = cRam00000001;\n    }" ({ "{") (if_statement "if (cVar1 == '\0') {\n        return (char *)0x0;\n      }" (if "if") (parenthesized_expression "(cVar1 == '\0')" (( "(") (binary_expression "cVar1 == '\0'" (identifier "cVar1") (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n        return (char *)0x0;\n      }" ({ "{") (return_statement "return (char *)0x0;" (return "return") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")) (; ";")) (} "}"))) (expression_statement "iVar3 = (*(code *)PTR_strcmp_000f55b8)(param_1,param_2);" (assignment_expression "iVar3 = (*(code *)PTR_strcmp_000f55b8)(param_1,param_2)" (identifier "iVar3") (= "=") (call_expression "(*(code *)PTR_strcmp_000f55b8)(param_1,param_2)" (parenthesized_expression "(*(code *)PTR_strcmp_000f55b8)" (( "(") (pointer_expression "*(code *)PTR_strcmp_000f55b8" (* "*") (cast_expression "(code *)PTR_strcmp_000f55b8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strcmp_000f55b8"))) () ")")) (argument_list "(param_1,param_2)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") () ")")))) (; ";")) (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 "param_1 = param_1 + (uVar2 & 0x3fffffff) + 1;" (assignment_expression "param_1 = param_1 + (uVar2 & 0x3fffffff) + 1" (identifier "param_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 (iVar3 == 0) {\n        return param_1;\n      }" (if "if") (parenthesized_expression "(iVar3 == 0)" (( "(") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        return param_1;\n      }" ({ "{") (return_statement "return param_1;" (return "return") (identifier "param_1") (; ";")) (} "}"))) (if_statement "if (param_1 != (char *)0x0) break;" (if "if") (parenthesized_expression "(param_1 != (char *)0x0)" (( "(") (binary_expression "param_1 != (char *)0x0" (identifier "param_1") (!= "!=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "param_1 = (char *)0x1;" (assignment_expression "param_1 = (char *)0x1" (identifier "param_1") (= "=") (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")) (; ";")) (} "}"))) (} "}")) (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (; ";")) (} "}")))

char * function_1(char *var_1,char *var_2)

{
  char var_4;
  type_1 var_3;
  int var_6;
  char *var_5;
  
  if ((var_1 == (char *)0x0) || (var_2 == (char *)0x0)) {
    return (char *)0x0;
  }
  for (; (var_1[-1] != '\0' ||
         (((var_1[-2] != '\0' || (var_1[-3] != '\0')) || (var_1[-4] != '\0'))));
      var_1 = var_1 + -1) {
  }
  do {
    var_3 = (*(type_2 *)PTR_strlen_000f5488)(var_1);
    var_5 = var_1 + (var_3 & 0x3fffffff) + 1;
    var_4 = *var_5;
    while( true ) {
      if (var_4 == '\0') {
        return (char *)0x0;
      }
      var_6 = (*(type_2 *)PTR_strcmp_000f55b8)(var_5,var_2);
      var_3 = (*(type_2 *)PTR_strlen_000f5488)(var_5);
      var_1 = var_5 + (var_3 & 0x3fffffff) + 1;
      if (var_6 == 0) {
        return var_1;
      }
      if (var_1 != (char *)0x0) break;
      var_5 = (char *)0x1;
      var_4 = cRam00000001;
    }
  } while( true );
}


(translation_unit (function_definition type: (primitive_type) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator 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: (identifier)) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) right: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) consequence: (compound_statement (return_statement (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal))))) (for_statement condition: (parenthesized_expression (binary_expression left: (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (char_literal (escape_sequence))) right: (parenthesized_expression (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (char_literal (escape_sequence))) right: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (char_literal (escape_sequence)))))) right: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (char_literal (escape_sequence))))))))) update: (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))) body: (compound_statement)) (do_statement 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)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (while_statement condition: (parenthesized_expression (true)) body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (escape_sequence)))) consequence: (compound_statement (return_statement (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal))))) (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) (identifier))))) (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: (number_literal))) consequence: (compound_statement (return_statement (identifier)))) (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: (break_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)))))) condition: (parenthesized_expression (true))))))

char * MASKED(char *param_1,int param_2)

{
  char cVar1;
  uint uVar2;
  int iVar3;
  
  if ((param_1 == (char *)0x0) || (param_2 == 0)) {
    return (char *)0x0;
  }
  for (; (param_1[-1] != '\0' ||
         (((param_1[-2] != '\0' || (param_1[-3] != '\0')) || (param_1[-4] != '\0'))));
      param_1 = param_1 + -1) {
  }
  do {
    uVar2 = (*(code *)PTR_strlen_000f5488)(param_1);
    param_1 = param_1 + (uVar2 & 0x3fffffff) + 1;
    cVar1 = *param_1;
    while( true ) {
      if (cVar1 == '\0') {
        return (char *)0x0;
      }
      iVar3 = (*(code *)PTR_strcmp_000f55b8)(param_1,param_2);
      uVar2 = (*(code *)PTR_strlen_000f5488)(param_1);
      param_1 = param_1 + (uVar2 & 0x3fffffff) + 1;
      if (iVar3 == 0) {
        return param_1;
      }
      if (param_1 != (char *)0x0) break;
      param_1 = (char *)0x1;
      cVar1 = cRam00000001;
    }
  } while( true );
}

