
JsonNode * jsonLookupAppend(JsonParse *pParse,char *zPath,int *pApnd,char **pzErr)

{
  int iVar1;
  JsonNode *pJVar2;
  
  *pApnd = 1;
  if (*zPath == '\0') {
    jsonParseAddNode(pParse,0,0,(char *)0x0);
    if (pParse->oom == '\0') {
      return pParse->aNode + (pParse->nNode - 1);
    }
  }
  else {
    if (*zPath == '.') {
      jsonParseAddNode(pParse,7,0,(char *)0x0);
    }
    else {
      iVar1 = (*(code *)PTR_strncmp_00190cf4)
                        (zPath,PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x4d94,3);
      if (iVar1 != 0) {
        return (JsonNode *)0x0;
      }
      jsonParseAddNode(pParse,6,0,(char *)0x0);
    }
    if (pParse->oom == '\0') {
      pJVar2 = jsonLookupStep(pParse,pParse->nNode - 1,zPath,pApnd,pzErr);
      return pJVar2;
    }
  }
  return (JsonNode *)0x0;
}



int FUN_000b1580(int *param_1,char *param_2,undefined4 *param_3,undefined4 param_4)

{
  int iVar1;
  
  *param_3 = 1;
  if (*param_2 == '\0') {
    FUN_000b0b3c(param_1,0,0,0);
    if (*(char *)(param_1 + 5) == '\0') {
      return param_1[2] + *param_1 * 0xc + -0xc;
    }
  }
  else {
    if (*param_2 == '.') {
      FUN_000b0b3c(param_1,7,0,0);
    }
    else {
      iVar1 = (*(code *)PTR_strncmp_00190cf4)
                        (param_2,PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x4d94,3);
      if (iVar1 != 0) {
        return 0;
      }
      FUN_000b0b3c(param_1,6,0,0);
    }
    if (*(char *)(param_1 + 5) == '\0') {
      iVar1 = FUN_000b16f0(param_1,*param_1 + -1,param_2,param_3,param_4);
      return iVar1;
    }
  }
  return 0;
}


lui gp,0xe
addiu gp,gp,0x73a0
addu gp,gp,t9
addiu sp,sp,-0x38
li v0,0x1
sw gp,0x18(sp)
sw s0,0x24(sp)
sw ra,0x34(sp)
sw s3,0x30(sp)
sw s2,0x2c(sp)
sw s1,0x28(sp)
sw v0,0x0(a2)
lb v0,0x0(a1)
beq v0,zero,0x000b1658
_or s0,a0,zero
li v1,0x2e
or s2,a2,zero
or s1,a1,zero
beq v0,v1,0x000b16d0
_or s3,a3,zero
or a0,a1,zero
lw a1,-0x7fc4(gp)
lw t9,-0x7c2c(gp)
li a2,0x3
jalr t9
_addiu a1,a1,-0x4d94
bne v0,zero,0x000b167c
_lw gp,0x18(sp)
lw t9,-0x7cf4(gp)
or a3,zero,zero
or a2,zero,zero
li a1,0x6
addiu t9,t9,0xb3c
bal 0x000b0b3c
_or a0,s0,zero
lw gp,0x18(sp)
lbu v0,0x14(s0)
bne v0,zero,0x000b167c
_or a3,s2,zero
lw a1,0x0(s0)
lw t9,-0x7cf4(gp)
or a2,s1,zero
sw s3,0x10(sp)
or a0,s0,zero
addiu t9,t9,0x16f0
bal 0x000b16f0
_addiu a1,a1,-0x1
lw ra,0x34(sp)
lw s3,0x30(sp)
lw s2,0x2c(sp)
lw s1,0x28(sp)
lw s0,0x24(sp)
jr ra
_addiu sp,sp,0x38
lw t9,-0x7cf4(gp)
or a3,zero,zero
or a2,zero,zero
addiu t9,t9,0xb3c
bal 0x000b0b3c
_or a1,zero,zero
lbu v0,0x14(s0)
beq v0,zero,0x000b169c
_lw ra,0x34(sp)
lw ra,0x34(sp)
or v0,zero,zero
lw s3,0x30(sp)
lw s2,0x2c(sp)
lw s1,0x28(sp)
lw s0,0x24(sp)
jr ra
_addiu sp,sp,0x38
lw a0,0x0(s0)
lw v0,0x8(s0)
sll v1,a0,0x1
lw s3,0x30(sp)
lw s2,0x2c(sp)
addu v1,v1,a0
lw s1,0x28(sp)
lw s0,0x24(sp)
addiu sp,sp,0x38
sll v1,v1,0x2
addiu v1,v1,-0xc
jr ra
_addu v0,v0,v1
lw t9,-0x7cf4(gp)
or a3,zero,zero
or a2,zero,zero
addiu t9,t9,0xb3c
bal 0x000b0b3c
_li a1,0x7
b 0x000b1610
_lw gp,0x18(sp)
(translation_unit "int FUN_000b1580(int *param_1,char *param_2,undefined4 *param_3,undefined4 param_4)\n\n{\n  int iVar1;\n  \n  *param_3 = 1;\n  if (*param_2 == '\0') {\n    FUN_000b0b3c(param_1,0,0,0);\n    if (*(char *)(param_1 + 5) == '\0') {\n      return param_1[2] + *param_1 * 0xc + -0xc;\n    }\n  }\n  else {\n    if (*param_2 == '.') {\n      FUN_000b0b3c(param_1,7,0,0);\n    }\n    else {\n      iVar1 = (*(code *)PTR_strncmp_00190cf4)\n                        (param_2,PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x4d94,3);\n      if (iVar1 != 0) {\n        return 0;\n      }\n      FUN_000b0b3c(param_1,6,0,0);\n    }\n    if (*(char *)(param_1 + 5) == '\0') {\n      iVar1 = FUN_000b16f0(param_1,*param_1 + -1,param_2,param_3,param_4);\n      return iVar1;\n    }\n  }\n  return 0;\n}\n\n" (function_definition "int FUN_000b1580(int *param_1,char *param_2,undefined4 *param_3,undefined4 param_4)\n\n{\n  int iVar1;\n  \n  *param_3 = 1;\n  if (*param_2 == '\0') {\n    FUN_000b0b3c(param_1,0,0,0);\n    if (*(char *)(param_1 + 5) == '\0') {\n      return param_1[2] + *param_1 * 0xc + -0xc;\n    }\n  }\n  else {\n    if (*param_2 == '.') {\n      FUN_000b0b3c(param_1,7,0,0);\n    }\n    else {\n      iVar1 = (*(code *)PTR_strncmp_00190cf4)\n                        (param_2,PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x4d94,3);\n      if (iVar1 != 0) {\n        return 0;\n      }\n      FUN_000b0b3c(param_1,6,0,0);\n    }\n    if (*(char *)(param_1 + 5) == '\0') {\n      iVar1 = FUN_000b16f0(param_1,*param_1 + -1,param_2,param_3,param_4);\n      return iVar1;\n    }\n  }\n  return 0;\n}" primitive_type (function_declarator "FUN_000b1580(int *param_1,char *param_2,undefined4 *param_3,undefined4 param_4)" identifier (parameter_list "(int *param_1,char *param_2,undefined4 *param_3,undefined4 param_4)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "char *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "undefined4 *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "undefined4 param_4" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  *param_3 = 1;\n  if (*param_2 == '\0') {\n    FUN_000b0b3c(param_1,0,0,0);\n    if (*(char *)(param_1 + 5) == '\0') {\n      return param_1[2] + *param_1 * 0xc + -0xc;\n    }\n  }\n  else {\n    if (*param_2 == '.') {\n      FUN_000b0b3c(param_1,7,0,0);\n    }\n    else {\n      iVar1 = (*(code *)PTR_strncmp_00190cf4)\n                        (param_2,PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x4d94,3);\n      if (iVar1 != 0) {\n        return 0;\n      }\n      FUN_000b0b3c(param_1,6,0,0);\n    }\n    if (*(char *)(param_1 + 5) == '\0') {\n      iVar1 = FUN_000b16f0(param_1,*param_1 + -1,param_2,param_3,param_4);\n      return iVar1;\n    }\n  }\n  return 0;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "*param_3 = 1;" (assignment_expression "*param_3 = 1" (pointer_expression "*param_3" * identifier) = number_literal) ;) (if_statement "if (*param_2 == '\0') {\n    FUN_000b0b3c(param_1,0,0,0);\n    if (*(char *)(param_1 + 5) == '\0') {\n      return param_1[2] + *param_1 * 0xc + -0xc;\n    }\n  }\n  else {\n    if (*param_2 == '.') {\n      FUN_000b0b3c(param_1,7,0,0);\n    }\n    else {\n      iVar1 = (*(code *)PTR_strncmp_00190cf4)\n                        (param_2,PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x4d94,3);\n      if (iVar1 != 0) {\n        return 0;\n      }\n      FUN_000b0b3c(param_1,6,0,0);\n    }\n    if (*(char *)(param_1 + 5) == '\0') {\n      iVar1 = FUN_000b16f0(param_1,*param_1 + -1,param_2,param_3,param_4);\n      return iVar1;\n    }\n  }" if (parenthesized_expression "(*param_2 == '\0')" ( (binary_expression "*param_2 == '\0'" (pointer_expression "*param_2" * identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    FUN_000b0b3c(param_1,0,0,0);\n    if (*(char *)(param_1 + 5) == '\0') {\n      return param_1[2] + *param_1 * 0xc + -0xc;\n    }\n  }" { (expression_statement "FUN_000b0b3c(param_1,0,0,0);" (call_expression "FUN_000b0b3c(param_1,0,0,0)" identifier (argument_list "(param_1,0,0,0)" ( identifier , number_literal , number_literal , number_literal ))) ;) (if_statement "if (*(char *)(param_1 + 5) == '\0') {\n      return param_1[2] + *param_1 * 0xc + -0xc;\n    }" if (parenthesized_expression "(*(char *)(param_1 + 5) == '\0')" ( (binary_expression "*(char *)(param_1 + 5) == '\0'" (pointer_expression "*(char *)(param_1 + 5)" * (cast_expression "(char *)(param_1 + 5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 5)" ( (binary_expression "param_1 + 5" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      return param_1[2] + *param_1 * 0xc + -0xc;\n    }" { (return_statement "return param_1[2] + *param_1 * 0xc + -0xc;" return (binary_expression "param_1[2] + *param_1 * 0xc + -0xc" (binary_expression "param_1[2] + *param_1 * 0xc" (subscript_expression "param_1[2]" identifier [ number_literal ]) + (binary_expression "*param_1 * 0xc" (pointer_expression "*param_1" * identifier) * number_literal)) + number_literal) ;) })) }) (else_clause "else {\n    if (*param_2 == '.') {\n      FUN_000b0b3c(param_1,7,0,0);\n    }\n    else {\n      iVar1 = (*(code *)PTR_strncmp_00190cf4)\n                        (param_2,PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x4d94,3);\n      if (iVar1 != 0) {\n        return 0;\n      }\n      FUN_000b0b3c(param_1,6,0,0);\n    }\n    if (*(char *)(param_1 + 5) == '\0') {\n      iVar1 = FUN_000b16f0(param_1,*param_1 + -1,param_2,param_3,param_4);\n      return iVar1;\n    }\n  }" else (compound_statement "{\n    if (*param_2 == '.') {\n      FUN_000b0b3c(param_1,7,0,0);\n    }\n    else {\n      iVar1 = (*(code *)PTR_strncmp_00190cf4)\n                        (param_2,PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x4d94,3);\n      if (iVar1 != 0) {\n        return 0;\n      }\n      FUN_000b0b3c(param_1,6,0,0);\n    }\n    if (*(char *)(param_1 + 5) == '\0') {\n      iVar1 = FUN_000b16f0(param_1,*param_1 + -1,param_2,param_3,param_4);\n      return iVar1;\n    }\n  }" { (if_statement "if (*param_2 == '.') {\n      FUN_000b0b3c(param_1,7,0,0);\n    }\n    else {\n      iVar1 = (*(code *)PTR_strncmp_00190cf4)\n                        (param_2,PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x4d94,3);\n      if (iVar1 != 0) {\n        return 0;\n      }\n      FUN_000b0b3c(param_1,6,0,0);\n    }" if (parenthesized_expression "(*param_2 == '.')" ( (binary_expression "*param_2 == '.'" (pointer_expression "*param_2" * identifier) == (char_literal "'.'" ' character ')) )) (compound_statement "{\n      FUN_000b0b3c(param_1,7,0,0);\n    }" { (expression_statement "FUN_000b0b3c(param_1,7,0,0);" (call_expression "FUN_000b0b3c(param_1,7,0,0)" identifier (argument_list "(param_1,7,0,0)" ( identifier , number_literal , number_literal , number_literal ))) ;) }) (else_clause "else {\n      iVar1 = (*(code *)PTR_strncmp_00190cf4)\n                        (param_2,PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x4d94,3);\n      if (iVar1 != 0) {\n        return 0;\n      }\n      FUN_000b0b3c(param_1,6,0,0);\n    }" else (compound_statement "{\n      iVar1 = (*(code *)PTR_strncmp_00190cf4)\n                        (param_2,PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x4d94,3);\n      if (iVar1 != 0) {\n        return 0;\n      }\n      FUN_000b0b3c(param_1,6,0,0);\n    }" { (expression_statement "iVar1 = (*(code *)PTR_strncmp_00190cf4)\n                        (param_2,PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x4d94,3);" (assignment_expression "iVar1 = (*(code *)PTR_strncmp_00190cf4)\n                        (param_2,PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x4d94,3)" identifier = (call_expression "(*(code *)PTR_strncmp_00190cf4)\n                        (param_2,PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x4d94,3)" (parenthesized_expression "(*(code *)PTR_strncmp_00190cf4)" ( (pointer_expression "*(code *)PTR_strncmp_00190cf4" * (cast_expression "(code *)PTR_strncmp_00190cf4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_2,PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x4d94,3)" ( identifier , (binary_expression "PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x4d94" identifier + number_literal) , number_literal )))) ;) (if_statement "if (iVar1 != 0) {\n        return 0;\n      }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n        return 0;\n      }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "FUN_000b0b3c(param_1,6,0,0);" (call_expression "FUN_000b0b3c(param_1,6,0,0)" identifier (argument_list "(param_1,6,0,0)" ( identifier , number_literal , number_literal , number_literal ))) ;) }))) (if_statement "if (*(char *)(param_1 + 5) == '\0') {\n      iVar1 = FUN_000b16f0(param_1,*param_1 + -1,param_2,param_3,param_4);\n      return iVar1;\n    }" if (parenthesized_expression "(*(char *)(param_1 + 5) == '\0')" ( (binary_expression "*(char *)(param_1 + 5) == '\0'" (pointer_expression "*(char *)(param_1 + 5)" * (cast_expression "(char *)(param_1 + 5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 5)" ( (binary_expression "param_1 + 5" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      iVar1 = FUN_000b16f0(param_1,*param_1 + -1,param_2,param_3,param_4);\n      return iVar1;\n    }" { (expression_statement "iVar1 = FUN_000b16f0(param_1,*param_1 + -1,param_2,param_3,param_4);" (assignment_expression "iVar1 = FUN_000b16f0(param_1,*param_1 + -1,param_2,param_3,param_4)" identifier = (call_expression "FUN_000b16f0(param_1,*param_1 + -1,param_2,param_3,param_4)" identifier (argument_list "(param_1,*param_1 + -1,param_2,param_3,param_4)" ( identifier , (binary_expression "*param_1 + -1" (pointer_expression "*param_1" * identifier) + number_literal) , identifier , identifier , identifier )))) ;) (return_statement "return iVar1;" return identifier ;) })) }))) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "JsonNode * jsonLookupAppend(JsonParse *pParse,char *zPath,int *pApnd,char **pzErr)\n\n{\n  int iVar1;\n  JsonNode *pJVar2;\n  \n  *pApnd = 1;\n  if (*zPath == '\0') {\n    jsonParseAddNode(pParse,0,0,(char *)0x0);\n    if (pParse->oom == '\0') {\n      return pParse->aNode + (pParse->nNode - 1);\n    }\n  }\n  else {\n    if (*zPath == '.') {\n      jsonParseAddNode(pParse,7,0,(char *)0x0);\n    }\n    else {\n      iVar1 = (*(code *)PTR_strncmp_00190cf4)\n                        (zPath,PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x4d94,3);\n      if (iVar1 != 0) {\n        return (JsonNode *)0x0;\n      }\n      jsonParseAddNode(pParse,6,0,(char *)0x0);\n    }\n    if (pParse->oom == '\0') {\n      pJVar2 = jsonLookupStep(pParse,pParse->nNode - 1,zPath,pApnd,pzErr);\n      return pJVar2;\n    }\n  }\n  return (JsonNode *)0x0;\n}\n\n" (function_definition "JsonNode * jsonLookupAppend(JsonParse *pParse,char *zPath,int *pApnd,char **pzErr)\n\n{\n  int iVar1;\n  JsonNode *pJVar2;\n  \n  *pApnd = 1;\n  if (*zPath == '\0') {\n    jsonParseAddNode(pParse,0,0,(char *)0x0);\n    if (pParse->oom == '\0') {\n      return pParse->aNode + (pParse->nNode - 1);\n    }\n  }\n  else {\n    if (*zPath == '.') {\n      jsonParseAddNode(pParse,7,0,(char *)0x0);\n    }\n    else {\n      iVar1 = (*(code *)PTR_strncmp_00190cf4)\n                        (zPath,PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x4d94,3);\n      if (iVar1 != 0) {\n        return (JsonNode *)0x0;\n      }\n      jsonParseAddNode(pParse,6,0,(char *)0x0);\n    }\n    if (pParse->oom == '\0') {\n      pJVar2 = jsonLookupStep(pParse,pParse->nNode - 1,zPath,pApnd,pzErr);\n      return pJVar2;\n    }\n  }\n  return (JsonNode *)0x0;\n}" type_identifier (pointer_declarator "* jsonLookupAppend(JsonParse *pParse,char *zPath,int *pApnd,char **pzErr)" * (function_declarator "jsonLookupAppend(JsonParse *pParse,char *zPath,int *pApnd,char **pzErr)" identifier (parameter_list "(JsonParse *pParse,char *zPath,int *pApnd,char **pzErr)" ( (parameter_declaration "JsonParse *pParse" type_identifier (pointer_declarator "*pParse" * identifier)) , (parameter_declaration "char *zPath" primitive_type (pointer_declarator "*zPath" * identifier)) , (parameter_declaration "int *pApnd" primitive_type (pointer_declarator "*pApnd" * identifier)) , (parameter_declaration "char **pzErr" primitive_type (pointer_declarator "**pzErr" * (pointer_declarator "*pzErr" * identifier))) )))) (compound_statement "{\n  int iVar1;\n  JsonNode *pJVar2;\n  \n  *pApnd = 1;\n  if (*zPath == '\0') {\n    jsonParseAddNode(pParse,0,0,(char *)0x0);\n    if (pParse->oom == '\0') {\n      return pParse->aNode + (pParse->nNode - 1);\n    }\n  }\n  else {\n    if (*zPath == '.') {\n      jsonParseAddNode(pParse,7,0,(char *)0x0);\n    }\n    else {\n      iVar1 = (*(code *)PTR_strncmp_00190cf4)\n                        (zPath,PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x4d94,3);\n      if (iVar1 != 0) {\n        return (JsonNode *)0x0;\n      }\n      jsonParseAddNode(pParse,6,0,(char *)0x0);\n    }\n    if (pParse->oom == '\0') {\n      pJVar2 = jsonLookupStep(pParse,pParse->nNode - 1,zPath,pApnd,pzErr);\n      return pJVar2;\n    }\n  }\n  return (JsonNode *)0x0;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "JsonNode *pJVar2;" type_identifier (pointer_declarator "*pJVar2" * identifier) ;) (expression_statement "*pApnd = 1;" (assignment_expression "*pApnd = 1" (pointer_expression "*pApnd" * identifier) = number_literal) ;) (if_statement "if (*zPath == '\0') {\n    jsonParseAddNode(pParse,0,0,(char *)0x0);\n    if (pParse->oom == '\0') {\n      return pParse->aNode + (pParse->nNode - 1);\n    }\n  }\n  else {\n    if (*zPath == '.') {\n      jsonParseAddNode(pParse,7,0,(char *)0x0);\n    }\n    else {\n      iVar1 = (*(code *)PTR_strncmp_00190cf4)\n                        (zPath,PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x4d94,3);\n      if (iVar1 != 0) {\n        return (JsonNode *)0x0;\n      }\n      jsonParseAddNode(pParse,6,0,(char *)0x0);\n    }\n    if (pParse->oom == '\0') {\n      pJVar2 = jsonLookupStep(pParse,pParse->nNode - 1,zPath,pApnd,pzErr);\n      return pJVar2;\n    }\n  }" if (parenthesized_expression "(*zPath == '\0')" ( (binary_expression "*zPath == '\0'" (pointer_expression "*zPath" * identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    jsonParseAddNode(pParse,0,0,(char *)0x0);\n    if (pParse->oom == '\0') {\n      return pParse->aNode + (pParse->nNode - 1);\n    }\n  }" { (expression_statement "jsonParseAddNode(pParse,0,0,(char *)0x0);" (call_expression "jsonParseAddNode(pParse,0,0,(char *)0x0)" identifier (argument_list "(pParse,0,0,(char *)0x0)" ( identifier , number_literal , number_literal , (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) ))) ;) (if_statement "if (pParse->oom == '\0') {\n      return pParse->aNode + (pParse->nNode - 1);\n    }" if (parenthesized_expression "(pParse->oom == '\0')" ( (binary_expression "pParse->oom == '\0'" (field_expression "pParse->oom" identifier -> field_identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      return pParse->aNode + (pParse->nNode - 1);\n    }" { (return_statement "return pParse->aNode + (pParse->nNode - 1);" return (binary_expression "pParse->aNode + (pParse->nNode - 1)" (field_expression "pParse->aNode" identifier -> field_identifier) + (parenthesized_expression "(pParse->nNode - 1)" ( (binary_expression "pParse->nNode - 1" (field_expression "pParse->nNode" identifier -> field_identifier) - number_literal) ))) ;) })) }) (else_clause "else {\n    if (*zPath == '.') {\n      jsonParseAddNode(pParse,7,0,(char *)0x0);\n    }\n    else {\n      iVar1 = (*(code *)PTR_strncmp_00190cf4)\n                        (zPath,PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x4d94,3);\n      if (iVar1 != 0) {\n        return (JsonNode *)0x0;\n      }\n      jsonParseAddNode(pParse,6,0,(char *)0x0);\n    }\n    if (pParse->oom == '\0') {\n      pJVar2 = jsonLookupStep(pParse,pParse->nNode - 1,zPath,pApnd,pzErr);\n      return pJVar2;\n    }\n  }" else (compound_statement "{\n    if (*zPath == '.') {\n      jsonParseAddNode(pParse,7,0,(char *)0x0);\n    }\n    else {\n      iVar1 = (*(code *)PTR_strncmp_00190cf4)\n                        (zPath,PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x4d94,3);\n      if (iVar1 != 0) {\n        return (JsonNode *)0x0;\n      }\n      jsonParseAddNode(pParse,6,0,(char *)0x0);\n    }\n    if (pParse->oom == '\0') {\n      pJVar2 = jsonLookupStep(pParse,pParse->nNode - 1,zPath,pApnd,pzErr);\n      return pJVar2;\n    }\n  }" { (if_statement "if (*zPath == '.') {\n      jsonParseAddNode(pParse,7,0,(char *)0x0);\n    }\n    else {\n      iVar1 = (*(code *)PTR_strncmp_00190cf4)\n                        (zPath,PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x4d94,3);\n      if (iVar1 != 0) {\n        return (JsonNode *)0x0;\n      }\n      jsonParseAddNode(pParse,6,0,(char *)0x0);\n    }" if (parenthesized_expression "(*zPath == '.')" ( (binary_expression "*zPath == '.'" (pointer_expression "*zPath" * identifier) == (char_literal "'.'" ' character ')) )) (compound_statement "{\n      jsonParseAddNode(pParse,7,0,(char *)0x0);\n    }" { (expression_statement "jsonParseAddNode(pParse,7,0,(char *)0x0);" (call_expression "jsonParseAddNode(pParse,7,0,(char *)0x0)" identifier (argument_list "(pParse,7,0,(char *)0x0)" ( identifier , number_literal , number_literal , (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) ))) ;) }) (else_clause "else {\n      iVar1 = (*(code *)PTR_strncmp_00190cf4)\n                        (zPath,PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x4d94,3);\n      if (iVar1 != 0) {\n        return (JsonNode *)0x0;\n      }\n      jsonParseAddNode(pParse,6,0,(char *)0x0);\n    }" else (compound_statement "{\n      iVar1 = (*(code *)PTR_strncmp_00190cf4)\n                        (zPath,PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x4d94,3);\n      if (iVar1 != 0) {\n        return (JsonNode *)0x0;\n      }\n      jsonParseAddNode(pParse,6,0,(char *)0x0);\n    }" { (expression_statement "iVar1 = (*(code *)PTR_strncmp_00190cf4)\n                        (zPath,PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x4d94,3);" (assignment_expression "iVar1 = (*(code *)PTR_strncmp_00190cf4)\n                        (zPath,PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x4d94,3)" identifier = (call_expression "(*(code *)PTR_strncmp_00190cf4)\n                        (zPath,PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x4d94,3)" (parenthesized_expression "(*(code *)PTR_strncmp_00190cf4)" ( (pointer_expression "*(code *)PTR_strncmp_00190cf4" * (cast_expression "(code *)PTR_strncmp_00190cf4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(zPath,PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x4d94,3)" ( identifier , (binary_expression "PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x4d94" identifier + number_literal) , number_literal )))) ;) (if_statement "if (iVar1 != 0) {\n        return (JsonNode *)0x0;\n      }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n        return (JsonNode *)0x0;\n      }" { (return_statement "return (JsonNode *)0x0;" return (cast_expression "(JsonNode *)0x0" ( (type_descriptor "JsonNode *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) (expression_statement "jsonParseAddNode(pParse,6,0,(char *)0x0);" (call_expression "jsonParseAddNode(pParse,6,0,(char *)0x0)" identifier (argument_list "(pParse,6,0,(char *)0x0)" ( identifier , number_literal , number_literal , (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) ))) ;) }))) (if_statement "if (pParse->oom == '\0') {\n      pJVar2 = jsonLookupStep(pParse,pParse->nNode - 1,zPath,pApnd,pzErr);\n      return pJVar2;\n    }" if (parenthesized_expression "(pParse->oom == '\0')" ( (binary_expression "pParse->oom == '\0'" (field_expression "pParse->oom" identifier -> field_identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      pJVar2 = jsonLookupStep(pParse,pParse->nNode - 1,zPath,pApnd,pzErr);\n      return pJVar2;\n    }" { (expression_statement "pJVar2 = jsonLookupStep(pParse,pParse->nNode - 1,zPath,pApnd,pzErr);" (assignment_expression "pJVar2 = jsonLookupStep(pParse,pParse->nNode - 1,zPath,pApnd,pzErr)" identifier = (call_expression "jsonLookupStep(pParse,pParse->nNode - 1,zPath,pApnd,pzErr)" identifier (argument_list "(pParse,pParse->nNode - 1,zPath,pApnd,pzErr)" ( identifier , (binary_expression "pParse->nNode - 1" (field_expression "pParse->nNode" identifier -> field_identifier) - number_literal) , identifier , identifier , identifier )))) ;) (return_statement "return pJVar2;" return identifier ;) })) }))) (return_statement "return (JsonNode *)0x0;" return (cast_expression "(JsonNode *)0x0" ( (type_descriptor "JsonNode *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ;) })))
(translation_unit "int FUN_000b1580(int *param_1,char *param_2,undefined4 *param_3,undefined4 param_4)\n\n{\n  int iVar1;\n  \n  *param_3 = 1;\n  if (*param_2 == '\0') {\n    FUN_000b0b3c(param_1,0,0,0);\n    if (*(char *)(param_1 + 5) == '\0') {\n      return param_1[2] + *param_1 * 0xc + -0xc;\n    }\n  }\n  else {\n    if (*param_2 == '.') {\n      FUN_000b0b3c(param_1,7,0,0);\n    }\n    else {\n      iVar1 = (*(code *)PTR_strncmp_00190cf4)\n                        (param_2,PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x4d94,3);\n      if (iVar1 != 0) {\n        return 0;\n      }\n      FUN_000b0b3c(param_1,6,0,0);\n    }\n    if (*(char *)(param_1 + 5) == '\0') {\n      iVar1 = FUN_000b16f0(param_1,*param_1 + -1,param_2,param_3,param_4);\n      return iVar1;\n    }\n  }\n  return 0;\n}\n\n" (function_definition "int FUN_000b1580(int *param_1,char *param_2,undefined4 *param_3,undefined4 param_4)\n\n{\n  int iVar1;\n  \n  *param_3 = 1;\n  if (*param_2 == '\0') {\n    FUN_000b0b3c(param_1,0,0,0);\n    if (*(char *)(param_1 + 5) == '\0') {\n      return param_1[2] + *param_1 * 0xc + -0xc;\n    }\n  }\n  else {\n    if (*param_2 == '.') {\n      FUN_000b0b3c(param_1,7,0,0);\n    }\n    else {\n      iVar1 = (*(code *)PTR_strncmp_00190cf4)\n                        (param_2,PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x4d94,3);\n      if (iVar1 != 0) {\n        return 0;\n      }\n      FUN_000b0b3c(param_1,6,0,0);\n    }\n    if (*(char *)(param_1 + 5) == '\0') {\n      iVar1 = FUN_000b16f0(param_1,*param_1 + -1,param_2,param_3,param_4);\n      return iVar1;\n    }\n  }\n  return 0;\n}" primitive_type (function_declarator "FUN_000b1580(int *param_1,char *param_2,undefined4 *param_3,undefined4 param_4)" identifier (parameter_list "(int *param_1,char *param_2,undefined4 *param_3,undefined4 param_4)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "char *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "undefined4 *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "undefined4 param_4" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  *param_3 = 1;\n  if (*param_2 == '\0') {\n    FUN_000b0b3c(param_1,0,0,0);\n    if (*(char *)(param_1 + 5) == '\0') {\n      return param_1[2] + *param_1 * 0xc + -0xc;\n    }\n  }\n  else {\n    if (*param_2 == '.') {\n      FUN_000b0b3c(param_1,7,0,0);\n    }\n    else {\n      iVar1 = (*(code *)PTR_strncmp_00190cf4)\n                        (param_2,PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x4d94,3);\n      if (iVar1 != 0) {\n        return 0;\n      }\n      FUN_000b0b3c(param_1,6,0,0);\n    }\n    if (*(char *)(param_1 + 5) == '\0') {\n      iVar1 = FUN_000b16f0(param_1,*param_1 + -1,param_2,param_3,param_4);\n      return iVar1;\n    }\n  }\n  return 0;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "*param_3 = 1;" (assignment_expression "*param_3 = 1" (pointer_expression "*param_3" * identifier) = number_literal) ;) (if_statement "if (*param_2 == '\0') {\n    FUN_000b0b3c(param_1,0,0,0);\n    if (*(char *)(param_1 + 5) == '\0') {\n      return param_1[2] + *param_1 * 0xc + -0xc;\n    }\n  }\n  else {\n    if (*param_2 == '.') {\n      FUN_000b0b3c(param_1,7,0,0);\n    }\n    else {\n      iVar1 = (*(code *)PTR_strncmp_00190cf4)\n                        (param_2,PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x4d94,3);\n      if (iVar1 != 0) {\n        return 0;\n      }\n      FUN_000b0b3c(param_1,6,0,0);\n    }\n    if (*(char *)(param_1 + 5) == '\0') {\n      iVar1 = FUN_000b16f0(param_1,*param_1 + -1,param_2,param_3,param_4);\n      return iVar1;\n    }\n  }" if (parenthesized_expression "(*param_2 == '\0')" ( (binary_expression "*param_2 == '\0'" (pointer_expression "*param_2" * identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    FUN_000b0b3c(param_1,0,0,0);\n    if (*(char *)(param_1 + 5) == '\0') {\n      return param_1[2] + *param_1 * 0xc + -0xc;\n    }\n  }" { (expression_statement "FUN_000b0b3c(param_1,0,0,0);" (call_expression "FUN_000b0b3c(param_1,0,0,0)" identifier (argument_list "(param_1,0,0,0)" ( identifier , number_literal , number_literal , number_literal ))) ;) (if_statement "if (*(char *)(param_1 + 5) == '\0') {\n      return param_1[2] + *param_1 * 0xc + -0xc;\n    }" if (parenthesized_expression "(*(char *)(param_1 + 5) == '\0')" ( (binary_expression "*(char *)(param_1 + 5) == '\0'" (pointer_expression "*(char *)(param_1 + 5)" * (cast_expression "(char *)(param_1 + 5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 5)" ( (binary_expression "param_1 + 5" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      return param_1[2] + *param_1 * 0xc + -0xc;\n    }" { (return_statement "return param_1[2] + *param_1 * 0xc + -0xc;" return (binary_expression "param_1[2] + *param_1 * 0xc + -0xc" (binary_expression "param_1[2] + *param_1 * 0xc" (subscript_expression "param_1[2]" identifier [ number_literal ]) + (binary_expression "*param_1 * 0xc" (pointer_expression "*param_1" * identifier) * number_literal)) + number_literal) ;) })) }) (else_clause "else {\n    if (*param_2 == '.') {\n      FUN_000b0b3c(param_1,7,0,0);\n    }\n    else {\n      iVar1 = (*(code *)PTR_strncmp_00190cf4)\n                        (param_2,PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x4d94,3);\n      if (iVar1 != 0) {\n        return 0;\n      }\n      FUN_000b0b3c(param_1,6,0,0);\n    }\n    if (*(char *)(param_1 + 5) == '\0') {\n      iVar1 = FUN_000b16f0(param_1,*param_1 + -1,param_2,param_3,param_4);\n      return iVar1;\n    }\n  }" else (compound_statement "{\n    if (*param_2 == '.') {\n      FUN_000b0b3c(param_1,7,0,0);\n    }\n    else {\n      iVar1 = (*(code *)PTR_strncmp_00190cf4)\n                        (param_2,PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x4d94,3);\n      if (iVar1 != 0) {\n        return 0;\n      }\n      FUN_000b0b3c(param_1,6,0,0);\n    }\n    if (*(char *)(param_1 + 5) == '\0') {\n      iVar1 = FUN_000b16f0(param_1,*param_1 + -1,param_2,param_3,param_4);\n      return iVar1;\n    }\n  }" { (if_statement "if (*param_2 == '.') {\n      FUN_000b0b3c(param_1,7,0,0);\n    }\n    else {\n      iVar1 = (*(code *)PTR_strncmp_00190cf4)\n                        (param_2,PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x4d94,3);\n      if (iVar1 != 0) {\n        return 0;\n      }\n      FUN_000b0b3c(param_1,6,0,0);\n    }" if (parenthesized_expression "(*param_2 == '.')" ( (binary_expression "*param_2 == '.'" (pointer_expression "*param_2" * identifier) == (char_literal "'.'" ' character ')) )) (compound_statement "{\n      FUN_000b0b3c(param_1,7,0,0);\n    }" { (expression_statement "FUN_000b0b3c(param_1,7,0,0);" (call_expression "FUN_000b0b3c(param_1,7,0,0)" identifier (argument_list "(param_1,7,0,0)" ( identifier , number_literal , number_literal , number_literal ))) ;) }) (else_clause "else {\n      iVar1 = (*(code *)PTR_strncmp_00190cf4)\n                        (param_2,PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x4d94,3);\n      if (iVar1 != 0) {\n        return 0;\n      }\n      FUN_000b0b3c(param_1,6,0,0);\n    }" else (compound_statement "{\n      iVar1 = (*(code *)PTR_strncmp_00190cf4)\n                        (param_2,PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x4d94,3);\n      if (iVar1 != 0) {\n        return 0;\n      }\n      FUN_000b0b3c(param_1,6,0,0);\n    }" { (expression_statement "iVar1 = (*(code *)PTR_strncmp_00190cf4)\n                        (param_2,PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x4d94,3);" (assignment_expression "iVar1 = (*(code *)PTR_strncmp_00190cf4)\n                        (param_2,PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x4d94,3)" identifier = (call_expression "(*(code *)PTR_strncmp_00190cf4)\n                        (param_2,PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x4d94,3)" (parenthesized_expression "(*(code *)PTR_strncmp_00190cf4)" ( (pointer_expression "*(code *)PTR_strncmp_00190cf4" * (cast_expression "(code *)PTR_strncmp_00190cf4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_2,PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x4d94,3)" ( identifier , (binary_expression "PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x4d94" identifier + number_literal) , number_literal )))) ;) (if_statement "if (iVar1 != 0) {\n        return 0;\n      }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n        return 0;\n      }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "FUN_000b0b3c(param_1,6,0,0);" (call_expression "FUN_000b0b3c(param_1,6,0,0)" identifier (argument_list "(param_1,6,0,0)" ( identifier , number_literal , number_literal , number_literal ))) ;) }))) (if_statement "if (*(char *)(param_1 + 5) == '\0') {\n      iVar1 = FUN_000b16f0(param_1,*param_1 + -1,param_2,param_3,param_4);\n      return iVar1;\n    }" if (parenthesized_expression "(*(char *)(param_1 + 5) == '\0')" ( (binary_expression "*(char *)(param_1 + 5) == '\0'" (pointer_expression "*(char *)(param_1 + 5)" * (cast_expression "(char *)(param_1 + 5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 5)" ( (binary_expression "param_1 + 5" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      iVar1 = FUN_000b16f0(param_1,*param_1 + -1,param_2,param_3,param_4);\n      return iVar1;\n    }" { (expression_statement "iVar1 = FUN_000b16f0(param_1,*param_1 + -1,param_2,param_3,param_4);" (assignment_expression "iVar1 = FUN_000b16f0(param_1,*param_1 + -1,param_2,param_3,param_4)" identifier = (call_expression "FUN_000b16f0(param_1,*param_1 + -1,param_2,param_3,param_4)" identifier (argument_list "(param_1,*param_1 + -1,param_2,param_3,param_4)" ( identifier , (binary_expression "*param_1 + -1" (pointer_expression "*param_1" * identifier) + number_literal) , identifier , identifier , identifier )))) ;) (return_statement "return iVar1;" return identifier ;) })) }))) (return_statement "return 0;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT , LIT , LIT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == (char_literal ' escape_sequence ')) )) (compound_statement { (return_statement return (binary_expression (binary_expression (subscript_expression IDENT [ LIT ]) + (binary_expression (pointer_expression * IDENT) * LIT)) + LIT) ;) })) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == (char_literal ' character ')) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT , LIT , LIT ))) ;) }) (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 , (binary_expression IDENT + LIT) , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT , LIT , LIT ))) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (binary_expression (pointer_expression * IDENT) + LIT) , IDENT , IDENT , IDENT )))) ;) (return_statement return IDENT ;) })) }))) (return_statement return LIT ;) })))
(function_definition "int FUN_000b1580(int *param_1,char *param_2,undefined4 *param_3,undefined4 param_4)\n\n{\n  int iVar1;\n  \n  *param_3 = 1;\n  if (*param_2 == '\0') {\n    FUN_000b0b3c(param_1,0,0,0);\n    if (*(char *)(param_1 + 5) == '\0') {\n      return param_1[2] + *param_1 * 0xc + -0xc;\n    }\n  }\n  else {\n    if (*param_2 == '.') {\n      FUN_000b0b3c(param_1,7,0,0);\n    }\n    else {\n      iVar1 = (*(code *)PTR_strncmp_00190cf4)\n                        (param_2,PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x4d94,3);\n      if (iVar1 != 0) {\n        return 0;\n      }\n      FUN_000b0b3c(param_1,6,0,0);\n    }\n    if (*(char *)(param_1 + 5) == '\0') {\n      iVar1 = FUN_000b16f0(param_1,*param_1 + -1,param_2,param_3,param_4);\n      return iVar1;\n    }\n  }\n  return 0;\n}" (primitive_type "int") (function_declarator "FUN_000b1580(int *param_1,char *param_2,undefined4 *param_3,undefined4 param_4)" (identifier "FUN_000b1580") (parameter_list "(int *param_1,char *param_2,undefined4 *param_3,undefined4 param_4)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "char *param_2" (primitive_type "char") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "undefined4 *param_3" (type_identifier "undefined4") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) (, ",") (parameter_declaration "undefined4 param_4" (type_identifier "undefined4") (identifier "param_4")) () ")"))) (compound_statement "{\n  int iVar1;\n  \n  *param_3 = 1;\n  if (*param_2 == '\0') {\n    FUN_000b0b3c(param_1,0,0,0);\n    if (*(char *)(param_1 + 5) == '\0') {\n      return param_1[2] + *param_1 * 0xc + -0xc;\n    }\n  }\n  else {\n    if (*param_2 == '.') {\n      FUN_000b0b3c(param_1,7,0,0);\n    }\n    else {\n      iVar1 = (*(code *)PTR_strncmp_00190cf4)\n                        (param_2,PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x4d94,3);\n      if (iVar1 != 0) {\n        return 0;\n      }\n      FUN_000b0b3c(param_1,6,0,0);\n    }\n    if (*(char *)(param_1 + 5) == '\0') {\n      iVar1 = FUN_000b16f0(param_1,*param_1 + -1,param_2,param_3,param_4);\n      return iVar1;\n    }\n  }\n  return 0;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (expression_statement "*param_3 = 1;" (assignment_expression "*param_3 = 1" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (= "=") (number_literal "1")) (; ";")) (if_statement "if (*param_2 == '\0') {\n    FUN_000b0b3c(param_1,0,0,0);\n    if (*(char *)(param_1 + 5) == '\0') {\n      return param_1[2] + *param_1 * 0xc + -0xc;\n    }\n  }\n  else {\n    if (*param_2 == '.') {\n      FUN_000b0b3c(param_1,7,0,0);\n    }\n    else {\n      iVar1 = (*(code *)PTR_strncmp_00190cf4)\n                        (param_2,PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x4d94,3);\n      if (iVar1 != 0) {\n        return 0;\n      }\n      FUN_000b0b3c(param_1,6,0,0);\n    }\n    if (*(char *)(param_1 + 5) == '\0') {\n      iVar1 = FUN_000b16f0(param_1,*param_1 + -1,param_2,param_3,param_4);\n      return iVar1;\n    }\n  }" (if "if") (parenthesized_expression "(*param_2 == '\0')" (( "(") (binary_expression "*param_2 == '\0'" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    FUN_000b0b3c(param_1,0,0,0);\n    if (*(char *)(param_1 + 5) == '\0') {\n      return param_1[2] + *param_1 * 0xc + -0xc;\n    }\n  }" ({ "{") (expression_statement "FUN_000b0b3c(param_1,0,0,0);" (call_expression "FUN_000b0b3c(param_1,0,0,0)" (identifier "FUN_000b0b3c") (argument_list "(param_1,0,0,0)" (( "(") (identifier "param_1") (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (number_literal "0") () ")"))) (; ";")) (if_statement "if (*(char *)(param_1 + 5) == '\0') {\n      return param_1[2] + *param_1 * 0xc + -0xc;\n    }" (if "if") (parenthesized_expression "(*(char *)(param_1 + 5) == '\0')" (( "(") (binary_expression "*(char *)(param_1 + 5) == '\0'" (pointer_expression "*(char *)(param_1 + 5)" (* "*") (cast_expression "(char *)(param_1 + 5)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 5)" (( "(") (binary_expression "param_1 + 5" (identifier "param_1") (+ "+") (number_literal "5")) () ")")))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n      return param_1[2] + *param_1 * 0xc + -0xc;\n    }" ({ "{") (return_statement "return param_1[2] + *param_1 * 0xc + -0xc;" (return "return") (binary_expression "param_1[2] + *param_1 * 0xc + -0xc" (binary_expression "param_1[2] + *param_1 * 0xc" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (+ "+") (binary_expression "*param_1 * 0xc" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (* "*") (number_literal "0xc"))) (+ "+") (number_literal "-0xc")) (; ";")) (} "}"))) (} "}")) (else_clause "else {\n    if (*param_2 == '.') {\n      FUN_000b0b3c(param_1,7,0,0);\n    }\n    else {\n      iVar1 = (*(code *)PTR_strncmp_00190cf4)\n                        (param_2,PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x4d94,3);\n      if (iVar1 != 0) {\n        return 0;\n      }\n      FUN_000b0b3c(param_1,6,0,0);\n    }\n    if (*(char *)(param_1 + 5) == '\0') {\n      iVar1 = FUN_000b16f0(param_1,*param_1 + -1,param_2,param_3,param_4);\n      return iVar1;\n    }\n  }" (else "else") (compound_statement "{\n    if (*param_2 == '.') {\n      FUN_000b0b3c(param_1,7,0,0);\n    }\n    else {\n      iVar1 = (*(code *)PTR_strncmp_00190cf4)\n                        (param_2,PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x4d94,3);\n      if (iVar1 != 0) {\n        return 0;\n      }\n      FUN_000b0b3c(param_1,6,0,0);\n    }\n    if (*(char *)(param_1 + 5) == '\0') {\n      iVar1 = FUN_000b16f0(param_1,*param_1 + -1,param_2,param_3,param_4);\n      return iVar1;\n    }\n  }" ({ "{") (if_statement "if (*param_2 == '.') {\n      FUN_000b0b3c(param_1,7,0,0);\n    }\n    else {\n      iVar1 = (*(code *)PTR_strncmp_00190cf4)\n                        (param_2,PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x4d94,3);\n      if (iVar1 != 0) {\n        return 0;\n      }\n      FUN_000b0b3c(param_1,6,0,0);\n    }" (if "if") (parenthesized_expression "(*param_2 == '.')" (( "(") (binary_expression "*param_2 == '.'" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (== "==") (char_literal "'.'" (' "'") (character ".") (' "'"))) () ")")) (compound_statement "{\n      FUN_000b0b3c(param_1,7,0,0);\n    }" ({ "{") (expression_statement "FUN_000b0b3c(param_1,7,0,0);" (call_expression "FUN_000b0b3c(param_1,7,0,0)" (identifier "FUN_000b0b3c") (argument_list "(param_1,7,0,0)" (( "(") (identifier "param_1") (, ",") (number_literal "7") (, ",") (number_literal "0") (, ",") (number_literal "0") () ")"))) (; ";")) (} "}")) (else_clause "else {\n      iVar1 = (*(code *)PTR_strncmp_00190cf4)\n                        (param_2,PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x4d94,3);\n      if (iVar1 != 0) {\n        return 0;\n      }\n      FUN_000b0b3c(param_1,6,0,0);\n    }" (else "else") (compound_statement "{\n      iVar1 = (*(code *)PTR_strncmp_00190cf4)\n                        (param_2,PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x4d94,3);\n      if (iVar1 != 0) {\n        return 0;\n      }\n      FUN_000b0b3c(param_1,6,0,0);\n    }" ({ "{") (expression_statement "iVar1 = (*(code *)PTR_strncmp_00190cf4)\n                        (param_2,PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x4d94,3);" (assignment_expression "iVar1 = (*(code *)PTR_strncmp_00190cf4)\n                        (param_2,PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x4d94,3)" (identifier "iVar1") (= "=") (call_expression "(*(code *)PTR_strncmp_00190cf4)\n                        (param_2,PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x4d94,3)" (parenthesized_expression "(*(code *)PTR_strncmp_00190cf4)" (( "(") (pointer_expression "*(code *)PTR_strncmp_00190cf4" (* "*") (cast_expression "(code *)PTR_strncmp_00190cf4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strncmp_00190cf4"))) () ")")) (argument_list "(param_2,PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x4d94,3)" (( "(") (identifier "param_2") (, ",") (binary_expression "PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x4d94" (identifier "PTR_s_o_page_from_root____pageno_INTEG_0019095c") (+ "+") (number_literal "-0x4d94")) (, ",") (number_literal "3") () ")")))) (; ";")) (if_statement "if (iVar1 != 0) {\n        return 0;\n      }" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        return 0;\n      }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (expression_statement "FUN_000b0b3c(param_1,6,0,0);" (call_expression "FUN_000b0b3c(param_1,6,0,0)" (identifier "FUN_000b0b3c") (argument_list "(param_1,6,0,0)" (( "(") (identifier "param_1") (, ",") (number_literal "6") (, ",") (number_literal "0") (, ",") (number_literal "0") () ")"))) (; ";")) (} "}")))) (if_statement "if (*(char *)(param_1 + 5) == '\0') {\n      iVar1 = FUN_000b16f0(param_1,*param_1 + -1,param_2,param_3,param_4);\n      return iVar1;\n    }" (if "if") (parenthesized_expression "(*(char *)(param_1 + 5) == '\0')" (( "(") (binary_expression "*(char *)(param_1 + 5) == '\0'" (pointer_expression "*(char *)(param_1 + 5)" (* "*") (cast_expression "(char *)(param_1 + 5)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 5)" (( "(") (binary_expression "param_1 + 5" (identifier "param_1") (+ "+") (number_literal "5")) () ")")))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n      iVar1 = FUN_000b16f0(param_1,*param_1 + -1,param_2,param_3,param_4);\n      return iVar1;\n    }" ({ "{") (expression_statement "iVar1 = FUN_000b16f0(param_1,*param_1 + -1,param_2,param_3,param_4);" (assignment_expression "iVar1 = FUN_000b16f0(param_1,*param_1 + -1,param_2,param_3,param_4)" (identifier "iVar1") (= "=") (call_expression "FUN_000b16f0(param_1,*param_1 + -1,param_2,param_3,param_4)" (identifier "FUN_000b16f0") (argument_list "(param_1,*param_1 + -1,param_2,param_3,param_4)" (( "(") (identifier "param_1") (, ",") (binary_expression "*param_1 + -1" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "-1")) (, ",") (identifier "param_2") (, ",") (identifier "param_3") (, ",") (identifier "param_4") () ")")))) (; ";")) (return_statement "return iVar1;" (return "return") (identifier "iVar1") (; ";")) (} "}"))) (} "}")))) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) 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 (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal) (number_literal) (number_literal)))) (if_statement condition: (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)))) consequence: (compound_statement (return_statement (binary_expression left: (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) right: (number_literal)))))) alternative: (else_clause (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (char_literal (character)))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal) (number_literal) (number_literal))))) 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) (binary_expression left: (identifier) right: (number_literal)) (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement (number_literal)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal) (number_literal) (number_literal))))))) (if_statement condition: (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)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal)) (identifier) (identifier) (identifier))))) (return_statement (identifier))))))) (return_statement (number_literal)))))

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

{
  int iVar1;
  
  *param_3 = 1;
  if (*param_2 == '\0') {
    FUN_000b0b3c(param_1,0,0,0);
    if (*(char *)(param_1 + 5) == '\0') {
      return param_1[2] + *param_1 * 0xc + -0xc;
    }
  }
  else {
    if (*param_2 == '.') {
      FUN_000b0b3c(param_1,7,0,0);
    }
    else {
      iVar1 = (*(code *)PTR_strncmp_00190cf4)
                        (param_2,PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x4d94,3);
      if (iVar1 != 0) {
        return 0;
      }
      FUN_000b0b3c(param_1,6,0,0);
    }
    if (*(char *)(param_1 + 5) == '\0') {
      iVar1 = FUN_000b16f0(param_1,*param_1 + -1,param_2,param_3,param_4);
      return iVar1;
    }
  }
  return 0;
}

