
int importable_function_name(char *string,size_t len)

{
  int iVar1;
  
  iVar1 = (*(code *)PTR_mbschr_00144904)(string,0x2f);
  if ((((iVar1 == 0) && (*string != 10)) &&
      ((*(uint *)(PTR_sh_syntaxtab_00144988 + (uint)(byte)*string * 4) & 0x2000) == 0)) &&
     ((*(uint *)(PTR_sh_syntaxtab_00144988 + (uint)(byte)string[len - 1] * 4) & 0x2000) == 0)) {
    if (*(int *)PTR_posixly_correct_0014458c != 0) {
      iVar1 = legal_identifier(string);
      return iVar1;
    }
    return 1;
  }
  return 0;
}



undefined4 importable_function_name(byte *param_1,int param_2)

{
  int iVar1;
  undefined4 uVar2;
  
  iVar1 = (*(code *)PTR_mbschr_00144904)(param_1,0x2f);
  if ((((iVar1 == 0) && (*param_1 != 10)) &&
      ((*(uint *)(PTR_sh_syntaxtab_00144988 + (uint)*param_1 * 4) & 0x2000) == 0)) &&
     ((*(uint *)(PTR_sh_syntaxtab_00144988 + (uint)param_1[param_2 + -1] * 4) & 0x2000) == 0)) {
    if (*(int *)PTR_posixly_correct_0014458c != 0) {
      uVar2 = legal_identifier(param_1);
      return uVar2;
    }
    return 1;
  }
  return 0;
}


lui gp,0x11
addiu gp,gp,-0x479c
addu gp,gp,t9
addiu sp,sp,-0x28
lw t9,-0x7c3c(gp)
sw s1,0x20(sp)
or s1,a1,zero
li a1,0x2f
sw gp,0x10(sp)
sw s0,0x1c(sp)
sw ra,0x24(sp)
jalr t9
_or s0,a0,zero
beq v0,zero,0x00040d30
_lw gp,0x10(sp)
or v0,zero,zero
lw ra,0x24(sp)
lw s1,0x20(sp)
lw s0,0x1c(sp)
jr ra
_addiu sp,sp,0x28
lb v0,0x0(s0)
li v1,0xa
beq v0,v1,0x00040d18
_lw v1,-0x7bb8(gp)
andi v0,v0,0xff
sll v0,v0,0x2
addu v0,v1,v0
lw v0,0x0(v0)
andi v0,v0,0x2000
bne v0,zero,0x00040d18
_addu s1,s0,s1
lbu a0,-0x1(s1)
sll a0,a0,0x2
addu v1,v1,a0
lw v1,0x0(v1)
andi v1,v1,0x2000
bne v1,zero,0x00040d20
_lw ra,0x24(sp)
lw v0,-0x7fb4(gp)
lw v0,0x0(v0)
bne v0,zero,0x00040d98
_li v0,0x1
lw s1,0x20(sp)
lw s0,0x1c(sp)
jr ra
_addiu sp,sp,0x28
or a0,s0,zero
lw s1,0x20(sp)
lw s0,0x1c(sp)
lw t9,-0x7b60(gp)
b 0x00040964
_addiu sp,sp,0x28
(translation_unit "undefined4 importable_function_name(byte *param_1,int param_2)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = (*(code *)PTR_mbschr_00144904)(param_1,0x2f);\n  if ((((iVar1 == 0) && (*param_1 != 10)) &&\n      ((*(uint *)(PTR_sh_syntaxtab_00144988 + (uint)*param_1 * 4) & 0x2000) == 0)) &&\n     ((*(uint *)(PTR_sh_syntaxtab_00144988 + (uint)param_1[param_2 + -1] * 4) & 0x2000) == 0)) {\n    if (*(int *)PTR_posixly_correct_0014458c != 0) {\n      uVar2 = legal_identifier(param_1);\n      return uVar2;\n    }\n    return 1;\n  }\n  return 0;\n}\n\n" (function_definition "undefined4 importable_function_name(byte *param_1,int param_2)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = (*(code *)PTR_mbschr_00144904)(param_1,0x2f);\n  if ((((iVar1 == 0) && (*param_1 != 10)) &&\n      ((*(uint *)(PTR_sh_syntaxtab_00144988 + (uint)*param_1 * 4) & 0x2000) == 0)) &&\n     ((*(uint *)(PTR_sh_syntaxtab_00144988 + (uint)param_1[param_2 + -1] * 4) & 0x2000) == 0)) {\n    if (*(int *)PTR_posixly_correct_0014458c != 0) {\n      uVar2 = legal_identifier(param_1);\n      return uVar2;\n    }\n    return 1;\n  }\n  return 0;\n}" type_identifier (function_declarator "importable_function_name(byte *param_1,int param_2)" identifier (parameter_list "(byte *param_1,int param_2)" ( (parameter_declaration "byte *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = (*(code *)PTR_mbschr_00144904)(param_1,0x2f);\n  if ((((iVar1 == 0) && (*param_1 != 10)) &&\n      ((*(uint *)(PTR_sh_syntaxtab_00144988 + (uint)*param_1 * 4) & 0x2000) == 0)) &&\n     ((*(uint *)(PTR_sh_syntaxtab_00144988 + (uint)param_1[param_2 + -1] * 4) & 0x2000) == 0)) {\n    if (*(int *)PTR_posixly_correct_0014458c != 0) {\n      uVar2 = legal_identifier(param_1);\n      return uVar2;\n    }\n    return 1;\n  }\n  return 0;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (expression_statement "iVar1 = (*(code *)PTR_mbschr_00144904)(param_1,0x2f);" (assignment_expression "iVar1 = (*(code *)PTR_mbschr_00144904)(param_1,0x2f)" identifier = (call_expression "(*(code *)PTR_mbschr_00144904)(param_1,0x2f)" (parenthesized_expression "(*(code *)PTR_mbschr_00144904)" ( (pointer_expression "*(code *)PTR_mbschr_00144904" * (cast_expression "(code *)PTR_mbschr_00144904" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,0x2f)" ( identifier , number_literal )))) ;) (if_statement "if ((((iVar1 == 0) && (*param_1 != 10)) &&\n      ((*(uint *)(PTR_sh_syntaxtab_00144988 + (uint)*param_1 * 4) & 0x2000) == 0)) &&\n     ((*(uint *)(PTR_sh_syntaxtab_00144988 + (uint)param_1[param_2 + -1] * 4) & 0x2000) == 0)) {\n    if (*(int *)PTR_posixly_correct_0014458c != 0) {\n      uVar2 = legal_identifier(param_1);\n      return uVar2;\n    }\n    return 1;\n  }" if (parenthesized_expression "((((iVar1 == 0) && (*param_1 != 10)) &&\n      ((*(uint *)(PTR_sh_syntaxtab_00144988 + (uint)*param_1 * 4) & 0x2000) == 0)) &&\n     ((*(uint *)(PTR_sh_syntaxtab_00144988 + (uint)param_1[param_2 + -1] * 4) & 0x2000) == 0))" ( (binary_expression "(((iVar1 == 0) && (*param_1 != 10)) &&\n      ((*(uint *)(PTR_sh_syntaxtab_00144988 + (uint)*param_1 * 4) & 0x2000) == 0)) &&\n     ((*(uint *)(PTR_sh_syntaxtab_00144988 + (uint)param_1[param_2 + -1] * 4) & 0x2000) == 0)" (parenthesized_expression "(((iVar1 == 0) && (*param_1 != 10)) &&\n      ((*(uint *)(PTR_sh_syntaxtab_00144988 + (uint)*param_1 * 4) & 0x2000) == 0))" ( (binary_expression "((iVar1 == 0) && (*param_1 != 10)) &&\n      ((*(uint *)(PTR_sh_syntaxtab_00144988 + (uint)*param_1 * 4) & 0x2000) == 0)" (parenthesized_expression "((iVar1 == 0) && (*param_1 != 10))" ( (binary_expression "(iVar1 == 0) && (*param_1 != 10)" (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) && (parenthesized_expression "(*param_1 != 10)" ( (binary_expression "*param_1 != 10" (pointer_expression "*param_1" * identifier) != number_literal) ))) )) && (parenthesized_expression "((*(uint *)(PTR_sh_syntaxtab_00144988 + (uint)*param_1 * 4) & 0x2000) == 0)" ( (binary_expression "(*(uint *)(PTR_sh_syntaxtab_00144988 + (uint)*param_1 * 4) & 0x2000) == 0" (parenthesized_expression "(*(uint *)(PTR_sh_syntaxtab_00144988 + (uint)*param_1 * 4) & 0x2000)" ( (binary_expression "*(uint *)(PTR_sh_syntaxtab_00144988 + (uint)*param_1 * 4) & 0x2000" (pointer_expression "*(uint *)(PTR_sh_syntaxtab_00144988 + (uint)*param_1 * 4)" * (cast_expression "(uint *)(PTR_sh_syntaxtab_00144988 + (uint)*param_1 * 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_sh_syntaxtab_00144988 + (uint)*param_1 * 4)" ( (binary_expression "PTR_sh_syntaxtab_00144988 + (uint)*param_1 * 4" identifier + (binary_expression "(uint)*param_1 * 4" (binary_expression "(uint)*param_1" (parenthesized_expression "(uint)" ( identifier )) * identifier) * number_literal)) )))) & number_literal) )) == number_literal) ))) )) && (parenthesized_expression "((*(uint *)(PTR_sh_syntaxtab_00144988 + (uint)param_1[param_2 + -1] * 4) & 0x2000) == 0)" ( (binary_expression "(*(uint *)(PTR_sh_syntaxtab_00144988 + (uint)param_1[param_2 + -1] * 4) & 0x2000) == 0" (parenthesized_expression "(*(uint *)(PTR_sh_syntaxtab_00144988 + (uint)param_1[param_2 + -1] * 4) & 0x2000)" ( (binary_expression "*(uint *)(PTR_sh_syntaxtab_00144988 + (uint)param_1[param_2 + -1] * 4) & 0x2000" (pointer_expression "*(uint *)(PTR_sh_syntaxtab_00144988 + (uint)param_1[param_2 + -1] * 4)" * (cast_expression "(uint *)(PTR_sh_syntaxtab_00144988 + (uint)param_1[param_2 + -1] * 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_sh_syntaxtab_00144988 + (uint)param_1[param_2 + -1] * 4)" ( (binary_expression "PTR_sh_syntaxtab_00144988 + (uint)param_1[param_2 + -1] * 4" identifier + (binary_expression "(uint)param_1[param_2 + -1] * 4" (cast_expression "(uint)param_1[param_2 + -1]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "param_1[param_2 + -1]" identifier [ (binary_expression "param_2 + -1" identifier + number_literal) ])) * number_literal)) )))) & number_literal) )) == number_literal) ))) )) (compound_statement "{\n    if (*(int *)PTR_posixly_correct_0014458c != 0) {\n      uVar2 = legal_identifier(param_1);\n      return uVar2;\n    }\n    return 1;\n  }" { (if_statement "if (*(int *)PTR_posixly_correct_0014458c != 0) {\n      uVar2 = legal_identifier(param_1);\n      return uVar2;\n    }" if (parenthesized_expression "(*(int *)PTR_posixly_correct_0014458c != 0)" ( (binary_expression "*(int *)PTR_posixly_correct_0014458c != 0" (pointer_expression "*(int *)PTR_posixly_correct_0014458c" * (cast_expression "(int *)PTR_posixly_correct_0014458c" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) != number_literal) )) (compound_statement "{\n      uVar2 = legal_identifier(param_1);\n      return uVar2;\n    }" { (expression_statement "uVar2 = legal_identifier(param_1);" (assignment_expression "uVar2 = legal_identifier(param_1)" identifier = (call_expression "legal_identifier(param_1)" identifier (argument_list "(param_1)" ( identifier )))) ;) (return_statement "return uVar2;" return identifier ;) })) (return_statement "return 1;" return number_literal ;) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "int importable_function_name(char *string,size_t len)\n\n{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR_mbschr_00144904)(string,0x2f);\n  if ((((iVar1 == 0) && (*string != 10)) &&\n      ((*(uint *)(PTR_sh_syntaxtab_00144988 + (uint)(byte)*string * 4) & 0x2000) == 0)) &&\n     ((*(uint *)(PTR_sh_syntaxtab_00144988 + (uint)(byte)string[len - 1] * 4) & 0x2000) == 0)) {\n    if (*(int *)PTR_posixly_correct_0014458c != 0) {\n      iVar1 = legal_identifier(string);\n      return iVar1;\n    }\n    return 1;\n  }\n  return 0;\n}\n\n" (function_definition "int importable_function_name(char *string,size_t len)\n\n{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR_mbschr_00144904)(string,0x2f);\n  if ((((iVar1 == 0) && (*string != 10)) &&\n      ((*(uint *)(PTR_sh_syntaxtab_00144988 + (uint)(byte)*string * 4) & 0x2000) == 0)) &&\n     ((*(uint *)(PTR_sh_syntaxtab_00144988 + (uint)(byte)string[len - 1] * 4) & 0x2000) == 0)) {\n    if (*(int *)PTR_posixly_correct_0014458c != 0) {\n      iVar1 = legal_identifier(string);\n      return iVar1;\n    }\n    return 1;\n  }\n  return 0;\n}" primitive_type (function_declarator "importable_function_name(char *string,size_t len)" identifier (parameter_list "(char *string,size_t len)" ( (parameter_declaration "char *string" primitive_type (pointer_declarator "*string" * identifier)) , (parameter_declaration "size_t len" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR_mbschr_00144904)(string,0x2f);\n  if ((((iVar1 == 0) && (*string != 10)) &&\n      ((*(uint *)(PTR_sh_syntaxtab_00144988 + (uint)(byte)*string * 4) & 0x2000) == 0)) &&\n     ((*(uint *)(PTR_sh_syntaxtab_00144988 + (uint)(byte)string[len - 1] * 4) & 0x2000) == 0)) {\n    if (*(int *)PTR_posixly_correct_0014458c != 0) {\n      iVar1 = legal_identifier(string);\n      return iVar1;\n    }\n    return 1;\n  }\n  return 0;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = (*(code *)PTR_mbschr_00144904)(string,0x2f);" (assignment_expression "iVar1 = (*(code *)PTR_mbschr_00144904)(string,0x2f)" identifier = (call_expression "(*(code *)PTR_mbschr_00144904)(string,0x2f)" (parenthesized_expression "(*(code *)PTR_mbschr_00144904)" ( (pointer_expression "*(code *)PTR_mbschr_00144904" * (cast_expression "(code *)PTR_mbschr_00144904" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(string,0x2f)" ( identifier , number_literal )))) ;) (if_statement "if ((((iVar1 == 0) && (*string != 10)) &&\n      ((*(uint *)(PTR_sh_syntaxtab_00144988 + (uint)(byte)*string * 4) & 0x2000) == 0)) &&\n     ((*(uint *)(PTR_sh_syntaxtab_00144988 + (uint)(byte)string[len - 1] * 4) & 0x2000) == 0)) {\n    if (*(int *)PTR_posixly_correct_0014458c != 0) {\n      iVar1 = legal_identifier(string);\n      return iVar1;\n    }\n    return 1;\n  }" if (parenthesized_expression "((((iVar1 == 0) && (*string != 10)) &&\n      ((*(uint *)(PTR_sh_syntaxtab_00144988 + (uint)(byte)*string * 4) & 0x2000) == 0)) &&\n     ((*(uint *)(PTR_sh_syntaxtab_00144988 + (uint)(byte)string[len - 1] * 4) & 0x2000) == 0))" ( (binary_expression "(((iVar1 == 0) && (*string != 10)) &&\n      ((*(uint *)(PTR_sh_syntaxtab_00144988 + (uint)(byte)*string * 4) & 0x2000) == 0)) &&\n     ((*(uint *)(PTR_sh_syntaxtab_00144988 + (uint)(byte)string[len - 1] * 4) & 0x2000) == 0)" (parenthesized_expression "(((iVar1 == 0) && (*string != 10)) &&\n      ((*(uint *)(PTR_sh_syntaxtab_00144988 + (uint)(byte)*string * 4) & 0x2000) == 0))" ( (binary_expression "((iVar1 == 0) && (*string != 10)) &&\n      ((*(uint *)(PTR_sh_syntaxtab_00144988 + (uint)(byte)*string * 4) & 0x2000) == 0)" (parenthesized_expression "((iVar1 == 0) && (*string != 10))" ( (binary_expression "(iVar1 == 0) && (*string != 10)" (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) && (parenthesized_expression "(*string != 10)" ( (binary_expression "*string != 10" (pointer_expression "*string" * identifier) != number_literal) ))) )) && (parenthesized_expression "((*(uint *)(PTR_sh_syntaxtab_00144988 + (uint)(byte)*string * 4) & 0x2000) == 0)" ( (binary_expression "(*(uint *)(PTR_sh_syntaxtab_00144988 + (uint)(byte)*string * 4) & 0x2000) == 0" (parenthesized_expression "(*(uint *)(PTR_sh_syntaxtab_00144988 + (uint)(byte)*string * 4) & 0x2000)" ( (binary_expression "*(uint *)(PTR_sh_syntaxtab_00144988 + (uint)(byte)*string * 4) & 0x2000" (pointer_expression "*(uint *)(PTR_sh_syntaxtab_00144988 + (uint)(byte)*string * 4)" * (cast_expression "(uint *)(PTR_sh_syntaxtab_00144988 + (uint)(byte)*string * 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_sh_syntaxtab_00144988 + (uint)(byte)*string * 4)" ( (binary_expression "PTR_sh_syntaxtab_00144988 + (uint)(byte)*string * 4" identifier + (binary_expression "(uint)(byte)*string * 4" (binary_expression "(uint)(byte)*string" (call_expression "(uint)(byte)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(byte)" ( identifier ))) * identifier) * number_literal)) )))) & number_literal) )) == number_literal) ))) )) && (parenthesized_expression "((*(uint *)(PTR_sh_syntaxtab_00144988 + (uint)(byte)string[len - 1] * 4) & 0x2000) == 0)" ( (binary_expression "(*(uint *)(PTR_sh_syntaxtab_00144988 + (uint)(byte)string[len - 1] * 4) & 0x2000) == 0" (parenthesized_expression "(*(uint *)(PTR_sh_syntaxtab_00144988 + (uint)(byte)string[len - 1] * 4) & 0x2000)" ( (binary_expression "*(uint *)(PTR_sh_syntaxtab_00144988 + (uint)(byte)string[len - 1] * 4) & 0x2000" (pointer_expression "*(uint *)(PTR_sh_syntaxtab_00144988 + (uint)(byte)string[len - 1] * 4)" * (cast_expression "(uint *)(PTR_sh_syntaxtab_00144988 + (uint)(byte)string[len - 1] * 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_sh_syntaxtab_00144988 + (uint)(byte)string[len - 1] * 4)" ( (binary_expression "PTR_sh_syntaxtab_00144988 + (uint)(byte)string[len - 1] * 4" identifier + (binary_expression "(uint)(byte)string[len - 1] * 4" (cast_expression "(uint)(byte)string[len - 1]" ( (type_descriptor "uint" type_identifier) ) (cast_expression "(byte)string[len - 1]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "string[len - 1]" identifier [ (binary_expression "len - 1" identifier - number_literal) ]))) * number_literal)) )))) & number_literal) )) == number_literal) ))) )) (compound_statement "{\n    if (*(int *)PTR_posixly_correct_0014458c != 0) {\n      iVar1 = legal_identifier(string);\n      return iVar1;\n    }\n    return 1;\n  }" { (if_statement "if (*(int *)PTR_posixly_correct_0014458c != 0) {\n      iVar1 = legal_identifier(string);\n      return iVar1;\n    }" if (parenthesized_expression "(*(int *)PTR_posixly_correct_0014458c != 0)" ( (binary_expression "*(int *)PTR_posixly_correct_0014458c != 0" (pointer_expression "*(int *)PTR_posixly_correct_0014458c" * (cast_expression "(int *)PTR_posixly_correct_0014458c" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) != number_literal) )) (compound_statement "{\n      iVar1 = legal_identifier(string);\n      return iVar1;\n    }" { (expression_statement "iVar1 = legal_identifier(string);" (assignment_expression "iVar1 = legal_identifier(string)" identifier = (call_expression "legal_identifier(string)" identifier (argument_list "(string)" ( identifier )))) ;) (return_statement "return iVar1;" return identifier ;) })) (return_statement "return 1;" return number_literal ;) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "undefined4 importable_function_name(byte *param_1,int param_2)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = (*(code *)PTR_mbschr_00144904)(param_1,0x2f);\n  if ((((iVar1 == 0) && (*param_1 != 10)) &&\n      ((*(uint *)(PTR_sh_syntaxtab_00144988 + (uint)*param_1 * 4) & 0x2000) == 0)) &&\n     ((*(uint *)(PTR_sh_syntaxtab_00144988 + (uint)param_1[param_2 + -1] * 4) & 0x2000) == 0)) {\n    if (*(int *)PTR_posixly_correct_0014458c != 0) {\n      uVar2 = legal_identifier(param_1);\n      return uVar2;\n    }\n    return 1;\n  }\n  return 0;\n}\n\n" (function_definition "undefined4 importable_function_name(byte *param_1,int param_2)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = (*(code *)PTR_mbschr_00144904)(param_1,0x2f);\n  if ((((iVar1 == 0) && (*param_1 != 10)) &&\n      ((*(uint *)(PTR_sh_syntaxtab_00144988 + (uint)*param_1 * 4) & 0x2000) == 0)) &&\n     ((*(uint *)(PTR_sh_syntaxtab_00144988 + (uint)param_1[param_2 + -1] * 4) & 0x2000) == 0)) {\n    if (*(int *)PTR_posixly_correct_0014458c != 0) {\n      uVar2 = legal_identifier(param_1);\n      return uVar2;\n    }\n    return 1;\n  }\n  return 0;\n}" type_identifier (function_declarator "importable_function_name(byte *param_1,int param_2)" identifier (parameter_list "(byte *param_1,int param_2)" ( (parameter_declaration "byte *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = (*(code *)PTR_mbschr_00144904)(param_1,0x2f);\n  if ((((iVar1 == 0) && (*param_1 != 10)) &&\n      ((*(uint *)(PTR_sh_syntaxtab_00144988 + (uint)*param_1 * 4) & 0x2000) == 0)) &&\n     ((*(uint *)(PTR_sh_syntaxtab_00144988 + (uint)param_1[param_2 + -1] * 4) & 0x2000) == 0)) {\n    if (*(int *)PTR_posixly_correct_0014458c != 0) {\n      uVar2 = legal_identifier(param_1);\n      return uVar2;\n    }\n    return 1;\n  }\n  return 0;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (expression_statement "iVar1 = (*(code *)PTR_mbschr_00144904)(param_1,0x2f);" (assignment_expression "iVar1 = (*(code *)PTR_mbschr_00144904)(param_1,0x2f)" identifier = (call_expression "(*(code *)PTR_mbschr_00144904)(param_1,0x2f)" (parenthesized_expression "(*(code *)PTR_mbschr_00144904)" ( (pointer_expression "*(code *)PTR_mbschr_00144904" * (cast_expression "(code *)PTR_mbschr_00144904" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,0x2f)" ( identifier , number_literal )))) ;) (if_statement "if ((((iVar1 == 0) && (*param_1 != 10)) &&\n      ((*(uint *)(PTR_sh_syntaxtab_00144988 + (uint)*param_1 * 4) & 0x2000) == 0)) &&\n     ((*(uint *)(PTR_sh_syntaxtab_00144988 + (uint)param_1[param_2 + -1] * 4) & 0x2000) == 0)) {\n    if (*(int *)PTR_posixly_correct_0014458c != 0) {\n      uVar2 = legal_identifier(param_1);\n      return uVar2;\n    }\n    return 1;\n  }" if (parenthesized_expression "((((iVar1 == 0) && (*param_1 != 10)) &&\n      ((*(uint *)(PTR_sh_syntaxtab_00144988 + (uint)*param_1 * 4) & 0x2000) == 0)) &&\n     ((*(uint *)(PTR_sh_syntaxtab_00144988 + (uint)param_1[param_2 + -1] * 4) & 0x2000) == 0))" ( (binary_expression "(((iVar1 == 0) && (*param_1 != 10)) &&\n      ((*(uint *)(PTR_sh_syntaxtab_00144988 + (uint)*param_1 * 4) & 0x2000) == 0)) &&\n     ((*(uint *)(PTR_sh_syntaxtab_00144988 + (uint)param_1[param_2 + -1] * 4) & 0x2000) == 0)" (parenthesized_expression "(((iVar1 == 0) && (*param_1 != 10)) &&\n      ((*(uint *)(PTR_sh_syntaxtab_00144988 + (uint)*param_1 * 4) & 0x2000) == 0))" ( (binary_expression "((iVar1 == 0) && (*param_1 != 10)) &&\n      ((*(uint *)(PTR_sh_syntaxtab_00144988 + (uint)*param_1 * 4) & 0x2000) == 0)" (parenthesized_expression "((iVar1 == 0) && (*param_1 != 10))" ( (binary_expression "(iVar1 == 0) && (*param_1 != 10)" (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) && (parenthesized_expression "(*param_1 != 10)" ( (binary_expression "*param_1 != 10" (pointer_expression "*param_1" * identifier) != number_literal) ))) )) && (parenthesized_expression "((*(uint *)(PTR_sh_syntaxtab_00144988 + (uint)*param_1 * 4) & 0x2000) == 0)" ( (binary_expression "(*(uint *)(PTR_sh_syntaxtab_00144988 + (uint)*param_1 * 4) & 0x2000) == 0" (parenthesized_expression "(*(uint *)(PTR_sh_syntaxtab_00144988 + (uint)*param_1 * 4) & 0x2000)" ( (binary_expression "*(uint *)(PTR_sh_syntaxtab_00144988 + (uint)*param_1 * 4) & 0x2000" (pointer_expression "*(uint *)(PTR_sh_syntaxtab_00144988 + (uint)*param_1 * 4)" * (cast_expression "(uint *)(PTR_sh_syntaxtab_00144988 + (uint)*param_1 * 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_sh_syntaxtab_00144988 + (uint)*param_1 * 4)" ( (binary_expression "PTR_sh_syntaxtab_00144988 + (uint)*param_1 * 4" identifier + (binary_expression "(uint)*param_1 * 4" (binary_expression "(uint)*param_1" (parenthesized_expression "(uint)" ( identifier )) * identifier) * number_literal)) )))) & number_literal) )) == number_literal) ))) )) && (parenthesized_expression "((*(uint *)(PTR_sh_syntaxtab_00144988 + (uint)param_1[param_2 + -1] * 4) & 0x2000) == 0)" ( (binary_expression "(*(uint *)(PTR_sh_syntaxtab_00144988 + (uint)param_1[param_2 + -1] * 4) & 0x2000) == 0" (parenthesized_expression "(*(uint *)(PTR_sh_syntaxtab_00144988 + (uint)param_1[param_2 + -1] * 4) & 0x2000)" ( (binary_expression "*(uint *)(PTR_sh_syntaxtab_00144988 + (uint)param_1[param_2 + -1] * 4) & 0x2000" (pointer_expression "*(uint *)(PTR_sh_syntaxtab_00144988 + (uint)param_1[param_2 + -1] * 4)" * (cast_expression "(uint *)(PTR_sh_syntaxtab_00144988 + (uint)param_1[param_2 + -1] * 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_sh_syntaxtab_00144988 + (uint)param_1[param_2 + -1] * 4)" ( (binary_expression "PTR_sh_syntaxtab_00144988 + (uint)param_1[param_2 + -1] * 4" identifier + (binary_expression "(uint)param_1[param_2 + -1] * 4" (cast_expression "(uint)param_1[param_2 + -1]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "param_1[param_2 + -1]" identifier [ (binary_expression "param_2 + -1" identifier + number_literal) ])) * number_literal)) )))) & number_literal) )) == number_literal) ))) )) (compound_statement "{\n    if (*(int *)PTR_posixly_correct_0014458c != 0) {\n      uVar2 = legal_identifier(param_1);\n      return uVar2;\n    }\n    return 1;\n  }" { (if_statement "if (*(int *)PTR_posixly_correct_0014458c != 0) {\n      uVar2 = legal_identifier(param_1);\n      return uVar2;\n    }" if (parenthesized_expression "(*(int *)PTR_posixly_correct_0014458c != 0)" ( (binary_expression "*(int *)PTR_posixly_correct_0014458c != 0" (pointer_expression "*(int *)PTR_posixly_correct_0014458c" * (cast_expression "(int *)PTR_posixly_correct_0014458c" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) != number_literal) )) (compound_statement "{\n      uVar2 = legal_identifier(param_1);\n      return uVar2;\n    }" { (expression_statement "uVar2 = legal_identifier(param_1);" (assignment_expression "uVar2 = legal_identifier(param_1)" identifier = (call_expression "legal_identifier(param_1)" identifier (argument_list "(param_1)" ( identifier )))) ;) (return_statement "return uVar2;" return identifier ;) })) (return_statement "return 1;" return number_literal ;) })) (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 IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) && (parenthesized_expression ( (binary_expression (pointer_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 + (binary_expression (binary_expression (parenthesized_expression ( IDENT )) * IDENT) * LIT)) )))) & LIT) )) == LIT) ))) )) && (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ (binary_expression IDENT + LIT) ])) * LIT)) )))) & LIT) )) == LIT) ))) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (return_statement return IDENT ;) })) (return_statement return LIT ;) })) (return_statement return LIT ;) })))
(function_definition "undefined4 importable_function_name(byte *param_1,int param_2)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = (*(code *)PTR_mbschr_00144904)(param_1,0x2f);\n  if ((((iVar1 == 0) && (*param_1 != 10)) &&\n      ((*(uint *)(PTR_sh_syntaxtab_00144988 + (uint)*param_1 * 4) & 0x2000) == 0)) &&\n     ((*(uint *)(PTR_sh_syntaxtab_00144988 + (uint)param_1[param_2 + -1] * 4) & 0x2000) == 0)) {\n    if (*(int *)PTR_posixly_correct_0014458c != 0) {\n      uVar2 = legal_identifier(param_1);\n      return uVar2;\n    }\n    return 1;\n  }\n  return 0;\n}" (type_identifier "undefined4") (function_declarator "importable_function_name(byte *param_1,int param_2)" (identifier "importable_function_name") (parameter_list "(byte *param_1,int param_2)" (( "(") (parameter_declaration "byte *param_1" (type_identifier "byte") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = (*(code *)PTR_mbschr_00144904)(param_1,0x2f);\n  if ((((iVar1 == 0) && (*param_1 != 10)) &&\n      ((*(uint *)(PTR_sh_syntaxtab_00144988 + (uint)*param_1 * 4) & 0x2000) == 0)) &&\n     ((*(uint *)(PTR_sh_syntaxtab_00144988 + (uint)param_1[param_2 + -1] * 4) & 0x2000) == 0)) {\n    if (*(int *)PTR_posixly_correct_0014458c != 0) {\n      uVar2 = legal_identifier(param_1);\n      return uVar2;\n    }\n    return 1;\n  }\n  return 0;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (expression_statement "iVar1 = (*(code *)PTR_mbschr_00144904)(param_1,0x2f);" (assignment_expression "iVar1 = (*(code *)PTR_mbschr_00144904)(param_1,0x2f)" (identifier "iVar1") (= "=") (call_expression "(*(code *)PTR_mbschr_00144904)(param_1,0x2f)" (parenthesized_expression "(*(code *)PTR_mbschr_00144904)" (( "(") (pointer_expression "*(code *)PTR_mbschr_00144904" (* "*") (cast_expression "(code *)PTR_mbschr_00144904" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_mbschr_00144904"))) () ")")) (argument_list "(param_1,0x2f)" (( "(") (identifier "param_1") (, ",") (number_literal "0x2f") () ")")))) (; ";")) (if_statement "if ((((iVar1 == 0) && (*param_1 != 10)) &&\n      ((*(uint *)(PTR_sh_syntaxtab_00144988 + (uint)*param_1 * 4) & 0x2000) == 0)) &&\n     ((*(uint *)(PTR_sh_syntaxtab_00144988 + (uint)param_1[param_2 + -1] * 4) & 0x2000) == 0)) {\n    if (*(int *)PTR_posixly_correct_0014458c != 0) {\n      uVar2 = legal_identifier(param_1);\n      return uVar2;\n    }\n    return 1;\n  }" (if "if") (parenthesized_expression "((((iVar1 == 0) && (*param_1 != 10)) &&\n      ((*(uint *)(PTR_sh_syntaxtab_00144988 + (uint)*param_1 * 4) & 0x2000) == 0)) &&\n     ((*(uint *)(PTR_sh_syntaxtab_00144988 + (uint)param_1[param_2 + -1] * 4) & 0x2000) == 0))" (( "(") (binary_expression "(((iVar1 == 0) && (*param_1 != 10)) &&\n      ((*(uint *)(PTR_sh_syntaxtab_00144988 + (uint)*param_1 * 4) & 0x2000) == 0)) &&\n     ((*(uint *)(PTR_sh_syntaxtab_00144988 + (uint)param_1[param_2 + -1] * 4) & 0x2000) == 0)" (parenthesized_expression "(((iVar1 == 0) && (*param_1 != 10)) &&\n      ((*(uint *)(PTR_sh_syntaxtab_00144988 + (uint)*param_1 * 4) & 0x2000) == 0))" (( "(") (binary_expression "((iVar1 == 0) && (*param_1 != 10)) &&\n      ((*(uint *)(PTR_sh_syntaxtab_00144988 + (uint)*param_1 * 4) & 0x2000) == 0)" (parenthesized_expression "((iVar1 == 0) && (*param_1 != 10))" (( "(") (binary_expression "(iVar1 == 0) && (*param_1 != 10)" (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(*param_1 != 10)" (( "(") (binary_expression "*param_1 != 10" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (!= "!=") (number_literal "10")) () ")"))) () ")")) (&& "&&") (parenthesized_expression "((*(uint *)(PTR_sh_syntaxtab_00144988 + (uint)*param_1 * 4) & 0x2000) == 0)" (( "(") (binary_expression "(*(uint *)(PTR_sh_syntaxtab_00144988 + (uint)*param_1 * 4) & 0x2000) == 0" (parenthesized_expression "(*(uint *)(PTR_sh_syntaxtab_00144988 + (uint)*param_1 * 4) & 0x2000)" (( "(") (binary_expression "*(uint *)(PTR_sh_syntaxtab_00144988 + (uint)*param_1 * 4) & 0x2000" (pointer_expression "*(uint *)(PTR_sh_syntaxtab_00144988 + (uint)*param_1 * 4)" (* "*") (cast_expression "(uint *)(PTR_sh_syntaxtab_00144988 + (uint)*param_1 * 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_sh_syntaxtab_00144988 + (uint)*param_1 * 4)" (( "(") (binary_expression "PTR_sh_syntaxtab_00144988 + (uint)*param_1 * 4" (identifier "PTR_sh_syntaxtab_00144988") (+ "+") (binary_expression "(uint)*param_1 * 4" (binary_expression "(uint)*param_1" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (identifier "param_1")) (* "*") (number_literal "4"))) () ")")))) (& "&") (number_literal "0x2000")) () ")")) (== "==") (number_literal "0")) () ")"))) () ")")) (&& "&&") (parenthesized_expression "((*(uint *)(PTR_sh_syntaxtab_00144988 + (uint)param_1[param_2 + -1] * 4) & 0x2000) == 0)" (( "(") (binary_expression "(*(uint *)(PTR_sh_syntaxtab_00144988 + (uint)param_1[param_2 + -1] * 4) & 0x2000) == 0" (parenthesized_expression "(*(uint *)(PTR_sh_syntaxtab_00144988 + (uint)param_1[param_2 + -1] * 4) & 0x2000)" (( "(") (binary_expression "*(uint *)(PTR_sh_syntaxtab_00144988 + (uint)param_1[param_2 + -1] * 4) & 0x2000" (pointer_expression "*(uint *)(PTR_sh_syntaxtab_00144988 + (uint)param_1[param_2 + -1] * 4)" (* "*") (cast_expression "(uint *)(PTR_sh_syntaxtab_00144988 + (uint)param_1[param_2 + -1] * 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_sh_syntaxtab_00144988 + (uint)param_1[param_2 + -1] * 4)" (( "(") (binary_expression "PTR_sh_syntaxtab_00144988 + (uint)param_1[param_2 + -1] * 4" (identifier "PTR_sh_syntaxtab_00144988") (+ "+") (binary_expression "(uint)param_1[param_2 + -1] * 4" (cast_expression "(uint)param_1[param_2 + -1]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "param_1[param_2 + -1]" (identifier "param_1") ([ "[") (binary_expression "param_2 + -1" (identifier "param_2") (+ "+") (number_literal "-1")) (] "]"))) (* "*") (number_literal "4"))) () ")")))) (& "&") (number_literal "0x2000")) () ")")) (== "==") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n    if (*(int *)PTR_posixly_correct_0014458c != 0) {\n      uVar2 = legal_identifier(param_1);\n      return uVar2;\n    }\n    return 1;\n  }" ({ "{") (if_statement "if (*(int *)PTR_posixly_correct_0014458c != 0) {\n      uVar2 = legal_identifier(param_1);\n      return uVar2;\n    }" (if "if") (parenthesized_expression "(*(int *)PTR_posixly_correct_0014458c != 0)" (( "(") (binary_expression "*(int *)PTR_posixly_correct_0014458c != 0" (pointer_expression "*(int *)PTR_posixly_correct_0014458c" (* "*") (cast_expression "(int *)PTR_posixly_correct_0014458c" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_posixly_correct_0014458c"))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      uVar2 = legal_identifier(param_1);\n      return uVar2;\n    }" ({ "{") (expression_statement "uVar2 = legal_identifier(param_1);" (assignment_expression "uVar2 = legal_identifier(param_1)" (identifier "uVar2") (= "=") (call_expression "legal_identifier(param_1)" (identifier "legal_identifier") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")")))) (; ";")) (return_statement "return uVar2;" (return "return") (identifier "uVar2") (; ";")) (} "}"))) (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))

int function_1(char *var_3,size_t var_4)

{
  int var_1;
  
  var_1 = (*(type_1 *)PTR_mbschr_00144904)(var_3,0x2f);
  if ((((var_1 == 0) && (*var_3 != 10)) &&
      ((*(type_2 *)(var_2 + (type_2)(type_3)*var_3 * 4) & 0x2000) == 0)) &&
     ((*(type_2 *)(var_2 + (type_2)(type_3)var_3[var_4 - 1] * 4) & 0x2000) == 0)) {
    if (*(int *)PTR_posixly_correct_0014458c != 0) {
      var_1 = var_5(var_3);
      return var_1;
    }
    return 1;
  }
  return 0;
}


(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) 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)) (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) (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (pointer_expression argument: (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: (binary_expression left: (binary_expression left: (parenthesized_expression (identifier)) right: (identifier)) right: (number_literal)))))) right: (number_literal))) 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: (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (subscript_expression argument: (identifier) index: (binary_expression left: (identifier) right: (number_literal)))) right: (number_literal)))))) right: (number_literal))) right: (number_literal))))) consequence: (compound_statement (if_statement condition: (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))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier))))) (return_statement (identifier)))) (return_statement (number_literal)))) (return_statement (number_literal)))))

undefined4 MASKED(byte *param_1,int param_2)

{
  int iVar1;
  undefined4 uVar2;
  
  iVar1 = (*(code *)PTR_mbschr_00144904)(param_1,0x2f);
  if ((((iVar1 == 0) && (*param_1 != 10)) &&
      ((*(uint *)(PTR_sh_syntaxtab_00144988 + (uint)*param_1 * 4) & 0x2000) == 0)) &&
     ((*(uint *)(PTR_sh_syntaxtab_00144988 + (uint)param_1[param_2 + -1] * 4) & 0x2000) == 0)) {
    if (*(int *)PTR_posixly_correct_0014458c != 0) {
      uVar2 = legal_identifier(param_1);
      return uVar2;
    }
    return 1;
  }
  return 0;
}

