
SHELL_VAR * find_variable_no_invisible(char *name)

{
  undefined *puVar1;
  SHELL_VAR *pSVar2;
  int flags;
  
  puVar1 = PTR_expanding_redir_00144f24;
  *(undefined4 *)(PTR_data_start_00144568 + 0x7cf0) = 0;
  flags = 2;
  if ((*(int *)puVar1 == 0) &&
     (flags = 3,
     *(int *)PTR_assigning_in_environment_00144f30 == 0 &&
     *(int *)PTR_executing_builtin_00144c04 == 0)) {
    flags = 2;
  }
  pSVar2 = find_variable_internal(name,flags);
  if ((pSVar2 != (SHELL_VAR *)0x0) && ((pSVar2->attributes & 0x800U) != 0)) {
    pSVar2 = find_variable_nameref(pSVar2);
    return pSVar2;
  }
  return pSVar2;
}



void find_variable_no_invisible(undefined4 param_1)

{
  undefined *puVar1;
  int iVar2;
  undefined4 uVar3;
  
  puVar1 = PTR_expanding_redir_00144f24;
  *(undefined4 *)(PTR_data_start_00144568 + 0x7cf0) = 0;
  uVar3 = 2;
  if ((*(int *)puVar1 == 0) &&
     (uVar3 = 3,
     *(int *)PTR_assigning_in_environment_00144f30 == 0 &&
     *(int *)PTR_executing_builtin_00144c04 == 0)) {
    uVar3 = 2;
  }
  iVar2 = FUN_000555b0(param_1,uVar3);
  if ((iVar2 != 0) && ((*(uint *)(iVar2 + 0x14) & 0x800) != 0)) {
    find_variable_nameref(iVar2);
    return;
  }
  return;
}


lui gp,0xf
addiu gp,gp,0x6230
addu gp,gp,t9
lw v0,-0x761c(gp)
addiu sp,sp,-0x20
lw v1,-0x7fd8(gp)
sw gp,0x10(sp)
sw ra,0x1c(sp)
sw zero,0x7cf0(v1)
lw v0,0x0(v0)
bne v0,zero,0x00056364
_li a1,0x2
lw v0,-0x7610(gp)
li v1,0x2
lw a1,0x0(v0)
lw v0,-0x793c(gp)
lw v0,0x0(v0)
or a1,a1,v0
li v0,0x3
movz v0,v1,a1
or a1,v0,zero
lw t9,-0x7970(gp)
addiu t9,t9,0x55b0
bal 0x000555b0
_nop
beq v0,zero,0x0005638c
_lw gp,0x10(sp)
lw v1,0x14(v0)
andi v1,v1,0x800
bne v1,zero,0x00056398
_lw ra,0x1c(sp)
lw ra,0x1c(sp)
jr ra
_addiu sp,sp,0x20
addiu sp,sp,0x20
lw t9,-0x7608(gp)
b 0x00055760
_or a0,v0,zero
(translation_unit "void find_variable_no_invisible(undefined4 param_1)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  \n  puVar1 = PTR_expanding_redir_00144f24;\n  *(undefined4 *)(PTR_data_start_00144568 + 0x7cf0) = 0;\n  uVar3 = 2;\n  if ((*(int *)puVar1 == 0) &&\n     (uVar3 = 3,\n     *(int *)PTR_assigning_in_environment_00144f30 == 0 &&\n     *(int *)PTR_executing_builtin_00144c04 == 0)) {\n    uVar3 = 2;\n  }\n  iVar2 = FUN_000555b0(param_1,uVar3);\n  if ((iVar2 != 0) && ((*(uint *)(iVar2 + 0x14) & 0x800) != 0)) {\n    find_variable_nameref(iVar2);\n    return;\n  }\n  return;\n}\n\n" (function_definition "void find_variable_no_invisible(undefined4 param_1)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  \n  puVar1 = PTR_expanding_redir_00144f24;\n  *(undefined4 *)(PTR_data_start_00144568 + 0x7cf0) = 0;\n  uVar3 = 2;\n  if ((*(int *)puVar1 == 0) &&\n     (uVar3 = 3,\n     *(int *)PTR_assigning_in_environment_00144f30 == 0 &&\n     *(int *)PTR_executing_builtin_00144c04 == 0)) {\n    uVar3 = 2;\n  }\n  iVar2 = FUN_000555b0(param_1,uVar3);\n  if ((iVar2 != 0) && ((*(uint *)(iVar2 + 0x14) & 0x800) != 0)) {\n    find_variable_nameref(iVar2);\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "find_variable_no_invisible(undefined4 param_1)" identifier (parameter_list "(undefined4 param_1)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  \n  puVar1 = PTR_expanding_redir_00144f24;\n  *(undefined4 *)(PTR_data_start_00144568 + 0x7cf0) = 0;\n  uVar3 = 2;\n  if ((*(int *)puVar1 == 0) &&\n     (uVar3 = 3,\n     *(int *)PTR_assigning_in_environment_00144f30 == 0 &&\n     *(int *)PTR_executing_builtin_00144c04 == 0)) {\n    uVar3 = 2;\n  }\n  iVar2 = FUN_000555b0(param_1,uVar3);\n  if ((iVar2 != 0) && ((*(uint *)(iVar2 + 0x14) & 0x800) != 0)) {\n    find_variable_nameref(iVar2);\n    return;\n  }\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (expression_statement "puVar1 = PTR_expanding_redir_00144f24;" (assignment_expression "puVar1 = PTR_expanding_redir_00144f24" identifier = identifier) ;) (expression_statement "*(undefined4 *)(PTR_data_start_00144568 + 0x7cf0) = 0;" (assignment_expression "*(undefined4 *)(PTR_data_start_00144568 + 0x7cf0) = 0" (pointer_expression "*(undefined4 *)(PTR_data_start_00144568 + 0x7cf0)" * (cast_expression "(undefined4 *)(PTR_data_start_00144568 + 0x7cf0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_data_start_00144568 + 0x7cf0)" ( (binary_expression "PTR_data_start_00144568 + 0x7cf0" identifier + number_literal) )))) = number_literal) ;) (expression_statement "uVar3 = 2;" (assignment_expression "uVar3 = 2" identifier = number_literal) ;) (if_statement "if ((*(int *)puVar1 == 0) &&\n     (uVar3 = 3,\n     *(int *)PTR_assigning_in_environment_00144f30 == 0 &&\n     *(int *)PTR_executing_builtin_00144c04 == 0)) {\n    uVar3 = 2;\n  }" if (parenthesized_expression "((*(int *)puVar1 == 0) &&\n     (uVar3 = 3,\n     *(int *)PTR_assigning_in_environment_00144f30 == 0 &&\n     *(int *)PTR_executing_builtin_00144c04 == 0))" ( (binary_expression "(*(int *)puVar1 == 0) &&\n     (uVar3 = 3,\n     *(int *)PTR_assigning_in_environment_00144f30 == 0 &&\n     *(int *)PTR_executing_builtin_00144c04 == 0)" (parenthesized_expression "(*(int *)puVar1 == 0)" ( (binary_expression "*(int *)puVar1 == 0" (pointer_expression "*(int *)puVar1" * (cast_expression "(int *)puVar1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) == number_literal) )) && (parenthesized_expression "(uVar3 = 3,\n     *(int *)PTR_assigning_in_environment_00144f30 == 0 &&\n     *(int *)PTR_executing_builtin_00144c04 == 0)" ( (comma_expression "uVar3 = 3,\n     *(int *)PTR_assigning_in_environment_00144f30 == 0 &&\n     *(int *)PTR_executing_builtin_00144c04 == 0" (assignment_expression "uVar3 = 3" identifier = number_literal) , (binary_expression "*(int *)PTR_assigning_in_environment_00144f30 == 0 &&\n     *(int *)PTR_executing_builtin_00144c04 == 0" (binary_expression "*(int *)PTR_assigning_in_environment_00144f30 == 0" (pointer_expression "*(int *)PTR_assigning_in_environment_00144f30" * (cast_expression "(int *)PTR_assigning_in_environment_00144f30" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) == number_literal) && (binary_expression "*(int *)PTR_executing_builtin_00144c04 == 0" (pointer_expression "*(int *)PTR_executing_builtin_00144c04" * (cast_expression "(int *)PTR_executing_builtin_00144c04" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) == number_literal))) ))) )) (compound_statement "{\n    uVar3 = 2;\n  }" { (expression_statement "uVar3 = 2;" (assignment_expression "uVar3 = 2" identifier = number_literal) ;) })) (expression_statement "iVar2 = FUN_000555b0(param_1,uVar3);" (assignment_expression "iVar2 = FUN_000555b0(param_1,uVar3)" identifier = (call_expression "FUN_000555b0(param_1,uVar3)" identifier (argument_list "(param_1,uVar3)" ( identifier , identifier )))) ;) (if_statement "if ((iVar2 != 0) && ((*(uint *)(iVar2 + 0x14) & 0x800) != 0)) {\n    find_variable_nameref(iVar2);\n    return;\n  }" if (parenthesized_expression "((iVar2 != 0) && ((*(uint *)(iVar2 + 0x14) & 0x800) != 0))" ( (binary_expression "(iVar2 != 0) && ((*(uint *)(iVar2 + 0x14) & 0x800) != 0)" (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) && (parenthesized_expression "((*(uint *)(iVar2 + 0x14) & 0x800) != 0)" ( (binary_expression "(*(uint *)(iVar2 + 0x14) & 0x800) != 0" (parenthesized_expression "(*(uint *)(iVar2 + 0x14) & 0x800)" ( (binary_expression "*(uint *)(iVar2 + 0x14) & 0x800" (pointer_expression "*(uint *)(iVar2 + 0x14)" * (cast_expression "(uint *)(iVar2 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x14)" ( (binary_expression "iVar2 + 0x14" identifier + number_literal) )))) & number_literal) )) != number_literal) ))) )) (compound_statement "{\n    find_variable_nameref(iVar2);\n    return;\n  }" { (expression_statement "find_variable_nameref(iVar2);" (call_expression "find_variable_nameref(iVar2)" identifier (argument_list "(iVar2)" ( identifier ))) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit "SHELL_VAR * find_variable_no_invisible(char *name)\n\n{\n  undefined *puVar1;\n  SHELL_VAR *pSVar2;\n  int flags;\n  \n  puVar1 = PTR_expanding_redir_00144f24;\n  *(undefined4 *)(PTR_data_start_00144568 + 0x7cf0) = 0;\n  flags = 2;\n  if ((*(int *)puVar1 == 0) &&\n     (flags = 3,\n     *(int *)PTR_assigning_in_environment_00144f30 == 0 &&\n     *(int *)PTR_executing_builtin_00144c04 == 0)) {\n    flags = 2;\n  }\n  pSVar2 = find_variable_internal(name,flags);\n  if ((pSVar2 != (SHELL_VAR *)0x0) && ((pSVar2->attributes & 0x800U) != 0)) {\n    pSVar2 = find_variable_nameref(pSVar2);\n    return pSVar2;\n  }\n  return pSVar2;\n}\n\n" (function_definition "SHELL_VAR * find_variable_no_invisible(char *name)\n\n{\n  undefined *puVar1;\n  SHELL_VAR *pSVar2;\n  int flags;\n  \n  puVar1 = PTR_expanding_redir_00144f24;\n  *(undefined4 *)(PTR_data_start_00144568 + 0x7cf0) = 0;\n  flags = 2;\n  if ((*(int *)puVar1 == 0) &&\n     (flags = 3,\n     *(int *)PTR_assigning_in_environment_00144f30 == 0 &&\n     *(int *)PTR_executing_builtin_00144c04 == 0)) {\n    flags = 2;\n  }\n  pSVar2 = find_variable_internal(name,flags);\n  if ((pSVar2 != (SHELL_VAR *)0x0) && ((pSVar2->attributes & 0x800U) != 0)) {\n    pSVar2 = find_variable_nameref(pSVar2);\n    return pSVar2;\n  }\n  return pSVar2;\n}" type_identifier (pointer_declarator "* find_variable_no_invisible(char *name)" * (function_declarator "find_variable_no_invisible(char *name)" identifier (parameter_list "(char *name)" ( (parameter_declaration "char *name" primitive_type (pointer_declarator "*name" * identifier)) )))) (compound_statement "{\n  undefined *puVar1;\n  SHELL_VAR *pSVar2;\n  int flags;\n  \n  puVar1 = PTR_expanding_redir_00144f24;\n  *(undefined4 *)(PTR_data_start_00144568 + 0x7cf0) = 0;\n  flags = 2;\n  if ((*(int *)puVar1 == 0) &&\n     (flags = 3,\n     *(int *)PTR_assigning_in_environment_00144f30 == 0 &&\n     *(int *)PTR_executing_builtin_00144c04 == 0)) {\n    flags = 2;\n  }\n  pSVar2 = find_variable_internal(name,flags);\n  if ((pSVar2 != (SHELL_VAR *)0x0) && ((pSVar2->attributes & 0x800U) != 0)) {\n    pSVar2 = find_variable_nameref(pSVar2);\n    return pSVar2;\n  }\n  return pSVar2;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "SHELL_VAR *pSVar2;" type_identifier (pointer_declarator "*pSVar2" * identifier) ;) (declaration "int flags;" primitive_type identifier ;) (expression_statement "puVar1 = PTR_expanding_redir_00144f24;" (assignment_expression "puVar1 = PTR_expanding_redir_00144f24" identifier = identifier) ;) (expression_statement "*(undefined4 *)(PTR_data_start_00144568 + 0x7cf0) = 0;" (assignment_expression "*(undefined4 *)(PTR_data_start_00144568 + 0x7cf0) = 0" (pointer_expression "*(undefined4 *)(PTR_data_start_00144568 + 0x7cf0)" * (cast_expression "(undefined4 *)(PTR_data_start_00144568 + 0x7cf0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_data_start_00144568 + 0x7cf0)" ( (binary_expression "PTR_data_start_00144568 + 0x7cf0" identifier + number_literal) )))) = number_literal) ;) (expression_statement "flags = 2;" (assignment_expression "flags = 2" identifier = number_literal) ;) (if_statement "if ((*(int *)puVar1 == 0) &&\n     (flags = 3,\n     *(int *)PTR_assigning_in_environment_00144f30 == 0 &&\n     *(int *)PTR_executing_builtin_00144c04 == 0)) {\n    flags = 2;\n  }" if (parenthesized_expression "((*(int *)puVar1 == 0) &&\n     (flags = 3,\n     *(int *)PTR_assigning_in_environment_00144f30 == 0 &&\n     *(int *)PTR_executing_builtin_00144c04 == 0))" ( (binary_expression "(*(int *)puVar1 == 0) &&\n     (flags = 3,\n     *(int *)PTR_assigning_in_environment_00144f30 == 0 &&\n     *(int *)PTR_executing_builtin_00144c04 == 0)" (parenthesized_expression "(*(int *)puVar1 == 0)" ( (binary_expression "*(int *)puVar1 == 0" (pointer_expression "*(int *)puVar1" * (cast_expression "(int *)puVar1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) == number_literal) )) && (parenthesized_expression "(flags = 3,\n     *(int *)PTR_assigning_in_environment_00144f30 == 0 &&\n     *(int *)PTR_executing_builtin_00144c04 == 0)" ( (comma_expression "flags = 3,\n     *(int *)PTR_assigning_in_environment_00144f30 == 0 &&\n     *(int *)PTR_executing_builtin_00144c04 == 0" (assignment_expression "flags = 3" identifier = number_literal) , (binary_expression "*(int *)PTR_assigning_in_environment_00144f30 == 0 &&\n     *(int *)PTR_executing_builtin_00144c04 == 0" (binary_expression "*(int *)PTR_assigning_in_environment_00144f30 == 0" (pointer_expression "*(int *)PTR_assigning_in_environment_00144f30" * (cast_expression "(int *)PTR_assigning_in_environment_00144f30" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) == number_literal) && (binary_expression "*(int *)PTR_executing_builtin_00144c04 == 0" (pointer_expression "*(int *)PTR_executing_builtin_00144c04" * (cast_expression "(int *)PTR_executing_builtin_00144c04" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) == number_literal))) ))) )) (compound_statement "{\n    flags = 2;\n  }" { (expression_statement "flags = 2;" (assignment_expression "flags = 2" identifier = number_literal) ;) })) (expression_statement "pSVar2 = find_variable_internal(name,flags);" (assignment_expression "pSVar2 = find_variable_internal(name,flags)" identifier = (call_expression "find_variable_internal(name,flags)" identifier (argument_list "(name,flags)" ( identifier , identifier )))) ;) (if_statement "if ((pSVar2 != (SHELL_VAR *)0x0) && ((pSVar2->attributes & 0x800U) != 0)) {\n    pSVar2 = find_variable_nameref(pSVar2);\n    return pSVar2;\n  }" if (parenthesized_expression "((pSVar2 != (SHELL_VAR *)0x0) && ((pSVar2->attributes & 0x800U) != 0))" ( (binary_expression "(pSVar2 != (SHELL_VAR *)0x0) && ((pSVar2->attributes & 0x800U) != 0)" (parenthesized_expression "(pSVar2 != (SHELL_VAR *)0x0)" ( (binary_expression "pSVar2 != (SHELL_VAR *)0x0" identifier != (cast_expression "(SHELL_VAR *)0x0" ( (type_descriptor "SHELL_VAR *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "((pSVar2->attributes & 0x800U) != 0)" ( (binary_expression "(pSVar2->attributes & 0x800U) != 0" (parenthesized_expression "(pSVar2->attributes & 0x800U)" ( (binary_expression "pSVar2->attributes & 0x800U" (field_expression "pSVar2->attributes" identifier -> field_identifier) & number_literal) )) != number_literal) ))) )) (compound_statement "{\n    pSVar2 = find_variable_nameref(pSVar2);\n    return pSVar2;\n  }" { (expression_statement "pSVar2 = find_variable_nameref(pSVar2);" (assignment_expression "pSVar2 = find_variable_nameref(pSVar2)" identifier = (call_expression "find_variable_nameref(pSVar2)" identifier (argument_list "(pSVar2)" ( identifier )))) ;) (return_statement "return pSVar2;" return identifier ;) })) (return_statement "return pSVar2;" return identifier ;) })))
(translation_unit "void find_variable_no_invisible(undefined4 param_1)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  \n  puVar1 = PTR_expanding_redir_00144f24;\n  *(undefined4 *)(PTR_data_start_00144568 + 0x7cf0) = 0;\n  uVar3 = 2;\n  if ((*(int *)puVar1 == 0) &&\n     (uVar3 = 3,\n     *(int *)PTR_assigning_in_environment_00144f30 == 0 &&\n     *(int *)PTR_executing_builtin_00144c04 == 0)) {\n    uVar3 = 2;\n  }\n  iVar2 = FUN_000555b0(param_1,uVar3);\n  if ((iVar2 != 0) && ((*(uint *)(iVar2 + 0x14) & 0x800) != 0)) {\n    find_variable_nameref(iVar2);\n    return;\n  }\n  return;\n}\n\n" (function_definition "void find_variable_no_invisible(undefined4 param_1)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  \n  puVar1 = PTR_expanding_redir_00144f24;\n  *(undefined4 *)(PTR_data_start_00144568 + 0x7cf0) = 0;\n  uVar3 = 2;\n  if ((*(int *)puVar1 == 0) &&\n     (uVar3 = 3,\n     *(int *)PTR_assigning_in_environment_00144f30 == 0 &&\n     *(int *)PTR_executing_builtin_00144c04 == 0)) {\n    uVar3 = 2;\n  }\n  iVar2 = FUN_000555b0(param_1,uVar3);\n  if ((iVar2 != 0) && ((*(uint *)(iVar2 + 0x14) & 0x800) != 0)) {\n    find_variable_nameref(iVar2);\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "find_variable_no_invisible(undefined4 param_1)" identifier (parameter_list "(undefined4 param_1)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  \n  puVar1 = PTR_expanding_redir_00144f24;\n  *(undefined4 *)(PTR_data_start_00144568 + 0x7cf0) = 0;\n  uVar3 = 2;\n  if ((*(int *)puVar1 == 0) &&\n     (uVar3 = 3,\n     *(int *)PTR_assigning_in_environment_00144f30 == 0 &&\n     *(int *)PTR_executing_builtin_00144c04 == 0)) {\n    uVar3 = 2;\n  }\n  iVar2 = FUN_000555b0(param_1,uVar3);\n  if ((iVar2 != 0) && ((*(uint *)(iVar2 + 0x14) & 0x800) != 0)) {\n    find_variable_nameref(iVar2);\n    return;\n  }\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (expression_statement "puVar1 = PTR_expanding_redir_00144f24;" (assignment_expression "puVar1 = PTR_expanding_redir_00144f24" identifier = identifier) ;) (expression_statement "*(undefined4 *)(PTR_data_start_00144568 + 0x7cf0) = 0;" (assignment_expression "*(undefined4 *)(PTR_data_start_00144568 + 0x7cf0) = 0" (pointer_expression "*(undefined4 *)(PTR_data_start_00144568 + 0x7cf0)" * (cast_expression "(undefined4 *)(PTR_data_start_00144568 + 0x7cf0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_data_start_00144568 + 0x7cf0)" ( (binary_expression "PTR_data_start_00144568 + 0x7cf0" identifier + number_literal) )))) = number_literal) ;) (expression_statement "uVar3 = 2;" (assignment_expression "uVar3 = 2" identifier = number_literal) ;) (if_statement "if ((*(int *)puVar1 == 0) &&\n     (uVar3 = 3,\n     *(int *)PTR_assigning_in_environment_00144f30 == 0 &&\n     *(int *)PTR_executing_builtin_00144c04 == 0)) {\n    uVar3 = 2;\n  }" if (parenthesized_expression "((*(int *)puVar1 == 0) &&\n     (uVar3 = 3,\n     *(int *)PTR_assigning_in_environment_00144f30 == 0 &&\n     *(int *)PTR_executing_builtin_00144c04 == 0))" ( (binary_expression "(*(int *)puVar1 == 0) &&\n     (uVar3 = 3,\n     *(int *)PTR_assigning_in_environment_00144f30 == 0 &&\n     *(int *)PTR_executing_builtin_00144c04 == 0)" (parenthesized_expression "(*(int *)puVar1 == 0)" ( (binary_expression "*(int *)puVar1 == 0" (pointer_expression "*(int *)puVar1" * (cast_expression "(int *)puVar1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) == number_literal) )) && (parenthesized_expression "(uVar3 = 3,\n     *(int *)PTR_assigning_in_environment_00144f30 == 0 &&\n     *(int *)PTR_executing_builtin_00144c04 == 0)" ( (comma_expression "uVar3 = 3,\n     *(int *)PTR_assigning_in_environment_00144f30 == 0 &&\n     *(int *)PTR_executing_builtin_00144c04 == 0" (assignment_expression "uVar3 = 3" identifier = number_literal) , (binary_expression "*(int *)PTR_assigning_in_environment_00144f30 == 0 &&\n     *(int *)PTR_executing_builtin_00144c04 == 0" (binary_expression "*(int *)PTR_assigning_in_environment_00144f30 == 0" (pointer_expression "*(int *)PTR_assigning_in_environment_00144f30" * (cast_expression "(int *)PTR_assigning_in_environment_00144f30" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) == number_literal) && (binary_expression "*(int *)PTR_executing_builtin_00144c04 == 0" (pointer_expression "*(int *)PTR_executing_builtin_00144c04" * (cast_expression "(int *)PTR_executing_builtin_00144c04" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) == number_literal))) ))) )) (compound_statement "{\n    uVar3 = 2;\n  }" { (expression_statement "uVar3 = 2;" (assignment_expression "uVar3 = 2" identifier = number_literal) ;) })) (expression_statement "iVar2 = FUN_000555b0(param_1,uVar3);" (assignment_expression "iVar2 = FUN_000555b0(param_1,uVar3)" identifier = (call_expression "FUN_000555b0(param_1,uVar3)" identifier (argument_list "(param_1,uVar3)" ( identifier , identifier )))) ;) (if_statement "if ((iVar2 != 0) && ((*(uint *)(iVar2 + 0x14) & 0x800) != 0)) {\n    find_variable_nameref(iVar2);\n    return;\n  }" if (parenthesized_expression "((iVar2 != 0) && ((*(uint *)(iVar2 + 0x14) & 0x800) != 0))" ( (binary_expression "(iVar2 != 0) && ((*(uint *)(iVar2 + 0x14) & 0x800) != 0)" (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) && (parenthesized_expression "((*(uint *)(iVar2 + 0x14) & 0x800) != 0)" ( (binary_expression "(*(uint *)(iVar2 + 0x14) & 0x800) != 0" (parenthesized_expression "(*(uint *)(iVar2 + 0x14) & 0x800)" ( (binary_expression "*(uint *)(iVar2 + 0x14) & 0x800" (pointer_expression "*(uint *)(iVar2 + 0x14)" * (cast_expression "(uint *)(iVar2 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x14)" ( (binary_expression "iVar2 + 0x14" identifier + number_literal) )))) & number_literal) )) != number_literal) ))) )) (compound_statement "{\n    find_variable_nameref(iVar2);\n    return;\n  }" { (expression_statement "find_variable_nameref(iVar2);" (call_expression "find_variable_nameref(iVar2)" identifier (argument_list "(iVar2)" ( identifier ))) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) == LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = LIT) , (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) == LIT) && (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) == LIT))) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) && (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) )) != LIT) ))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (return_statement return ;) })) (return_statement return ;) })))
(function_definition "void find_variable_no_invisible(undefined4 param_1)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  \n  puVar1 = PTR_expanding_redir_00144f24;\n  *(undefined4 *)(PTR_data_start_00144568 + 0x7cf0) = 0;\n  uVar3 = 2;\n  if ((*(int *)puVar1 == 0) &&\n     (uVar3 = 3,\n     *(int *)PTR_assigning_in_environment_00144f30 == 0 &&\n     *(int *)PTR_executing_builtin_00144c04 == 0)) {\n    uVar3 = 2;\n  }\n  iVar2 = FUN_000555b0(param_1,uVar3);\n  if ((iVar2 != 0) && ((*(uint *)(iVar2 + 0x14) & 0x800) != 0)) {\n    find_variable_nameref(iVar2);\n    return;\n  }\n  return;\n}" (primitive_type "void") (function_declarator "find_variable_no_invisible(undefined4 param_1)" (identifier "find_variable_no_invisible") (parameter_list "(undefined4 param_1)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) () ")"))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  \n  puVar1 = PTR_expanding_redir_00144f24;\n  *(undefined4 *)(PTR_data_start_00144568 + 0x7cf0) = 0;\n  uVar3 = 2;\n  if ((*(int *)puVar1 == 0) &&\n     (uVar3 = 3,\n     *(int *)PTR_assigning_in_environment_00144f30 == 0 &&\n     *(int *)PTR_executing_builtin_00144c04 == 0)) {\n    uVar3 = 2;\n  }\n  iVar2 = FUN_000555b0(param_1,uVar3);\n  if ((iVar2 != 0) && ((*(uint *)(iVar2 + 0x14) & 0x800) != 0)) {\n    find_variable_nameref(iVar2);\n    return;\n  }\n  return;\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "undefined4 uVar3;" (type_identifier "undefined4") (identifier "uVar3") (; ";")) (expression_statement "puVar1 = PTR_expanding_redir_00144f24;" (assignment_expression "puVar1 = PTR_expanding_redir_00144f24" (identifier "puVar1") (= "=") (identifier "PTR_expanding_redir_00144f24")) (; ";")) (expression_statement "*(undefined4 *)(PTR_data_start_00144568 + 0x7cf0) = 0;" (assignment_expression "*(undefined4 *)(PTR_data_start_00144568 + 0x7cf0) = 0" (pointer_expression "*(undefined4 *)(PTR_data_start_00144568 + 0x7cf0)" (* "*") (cast_expression "(undefined4 *)(PTR_data_start_00144568 + 0x7cf0)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_data_start_00144568 + 0x7cf0)" (( "(") (binary_expression "PTR_data_start_00144568 + 0x7cf0" (identifier "PTR_data_start_00144568") (+ "+") (number_literal "0x7cf0")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar3 = 2;" (assignment_expression "uVar3 = 2" (identifier "uVar3") (= "=") (number_literal "2")) (; ";")) (if_statement "if ((*(int *)puVar1 == 0) &&\n     (uVar3 = 3,\n     *(int *)PTR_assigning_in_environment_00144f30 == 0 &&\n     *(int *)PTR_executing_builtin_00144c04 == 0)) {\n    uVar3 = 2;\n  }" (if "if") (parenthesized_expression "((*(int *)puVar1 == 0) &&\n     (uVar3 = 3,\n     *(int *)PTR_assigning_in_environment_00144f30 == 0 &&\n     *(int *)PTR_executing_builtin_00144c04 == 0))" (( "(") (binary_expression "(*(int *)puVar1 == 0) &&\n     (uVar3 = 3,\n     *(int *)PTR_assigning_in_environment_00144f30 == 0 &&\n     *(int *)PTR_executing_builtin_00144c04 == 0)" (parenthesized_expression "(*(int *)puVar1 == 0)" (( "(") (binary_expression "*(int *)puVar1 == 0" (pointer_expression "*(int *)puVar1" (* "*") (cast_expression "(int *)puVar1" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar1"))) (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(uVar3 = 3,\n     *(int *)PTR_assigning_in_environment_00144f30 == 0 &&\n     *(int *)PTR_executing_builtin_00144c04 == 0)" (( "(") (comma_expression "uVar3 = 3,\n     *(int *)PTR_assigning_in_environment_00144f30 == 0 &&\n     *(int *)PTR_executing_builtin_00144c04 == 0" (assignment_expression "uVar3 = 3" (identifier "uVar3") (= "=") (number_literal "3")) (, ",") (binary_expression "*(int *)PTR_assigning_in_environment_00144f30 == 0 &&\n     *(int *)PTR_executing_builtin_00144c04 == 0" (binary_expression "*(int *)PTR_assigning_in_environment_00144f30 == 0" (pointer_expression "*(int *)PTR_assigning_in_environment_00144f30" (* "*") (cast_expression "(int *)PTR_assigning_in_environment_00144f30" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_assigning_in_environment_00144f30"))) (== "==") (number_literal "0")) (&& "&&") (binary_expression "*(int *)PTR_executing_builtin_00144c04 == 0" (pointer_expression "*(int *)PTR_executing_builtin_00144c04" (* "*") (cast_expression "(int *)PTR_executing_builtin_00144c04" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_executing_builtin_00144c04"))) (== "==") (number_literal "0")))) () ")"))) () ")")) (compound_statement "{\n    uVar3 = 2;\n  }" ({ "{") (expression_statement "uVar3 = 2;" (assignment_expression "uVar3 = 2" (identifier "uVar3") (= "=") (number_literal "2")) (; ";")) (} "}"))) (expression_statement "iVar2 = FUN_000555b0(param_1,uVar3);" (assignment_expression "iVar2 = FUN_000555b0(param_1,uVar3)" (identifier "iVar2") (= "=") (call_expression "FUN_000555b0(param_1,uVar3)" (identifier "FUN_000555b0") (argument_list "(param_1,uVar3)" (( "(") (identifier "param_1") (, ",") (identifier "uVar3") () ")")))) (; ";")) (if_statement "if ((iVar2 != 0) && ((*(uint *)(iVar2 + 0x14) & 0x800) != 0)) {\n    find_variable_nameref(iVar2);\n    return;\n  }" (if "if") (parenthesized_expression "((iVar2 != 0) && ((*(uint *)(iVar2 + 0x14) & 0x800) != 0))" (( "(") (binary_expression "(iVar2 != 0) && ((*(uint *)(iVar2 + 0x14) & 0x800) != 0)" (parenthesized_expression "(iVar2 != 0)" (( "(") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "((*(uint *)(iVar2 + 0x14) & 0x800) != 0)" (( "(") (binary_expression "(*(uint *)(iVar2 + 0x14) & 0x800) != 0" (parenthesized_expression "(*(uint *)(iVar2 + 0x14) & 0x800)" (( "(") (binary_expression "*(uint *)(iVar2 + 0x14) & 0x800" (pointer_expression "*(uint *)(iVar2 + 0x14)" (* "*") (cast_expression "(uint *)(iVar2 + 0x14)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x14)" (( "(") (binary_expression "iVar2 + 0x14" (identifier "iVar2") (+ "+") (number_literal "0x14")) () ")")))) (& "&") (number_literal "0x800")) () ")")) (!= "!=") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n    find_variable_nameref(iVar2);\n    return;\n  }" ({ "{") (expression_statement "find_variable_nameref(iVar2);" (call_expression "find_variable_nameref(iVar2)" (identifier "find_variable_nameref") (argument_list "(iVar2)" (( "(") (identifier "iVar2") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

type_1 * function_1(char *name)

{
  type_2 *puVar1;
  type_1 *var_3;
  int flags;
  
  puVar1 = PTR_expanding_redir_00144f24;
  *(type_3 *)(var_1 + 0x7cf0) = 0;
  flags = 2;
  if ((*(int *)puVar1 == 0) &&
     (flags = 3,
     *(int *)PTR_assigning_in_environment_00144f30 == 0 &&
     *(int *)PTR_executing_builtin_00144c04 == 0)) {
    flags = 2;
  }
  var_3 = var_2(name,flags);
  if ((var_3 != (type_1 *)0x0) && ((var_3->attributes & 0x800U) != 0)) {
    var_3 = var_4(var_3);
    return var_3;
  }
  return var_3;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))) right: (number_literal))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (number_literal)) right: (binary_expression left: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))) right: (number_literal)) right: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))) right: (number_literal))))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) right: (number_literal))))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (return_statement))) (return_statement))))

void MASKED(undefined4 param_1)

{
  undefined *puVar1;
  int iVar2;
  undefined4 uVar3;
  
  puVar1 = PTR_expanding_redir_00144f24;
  *(undefined4 *)(PTR_data_start_00144568 + 0x7cf0) = 0;
  uVar3 = 2;
  if ((*(int *)puVar1 == 0) &&
     (uVar3 = 3,
     *(int *)PTR_assigning_in_environment_00144f30 == 0 &&
     *(int *)PTR_executing_builtin_00144c04 == 0)) {
    uVar3 = 2;
  }
  iVar2 = FUN_000555b0(param_1,uVar3);
  if ((iVar2 != 0) && ((*(uint *)(iVar2 + 0x14) & 0x800) != 0)) {
    find_variable_nameref(iVar2);
    return;
  }
  return;
}

