
undefined4 * _Unwind_GetGR(int param_1,int param_2)

{
  undefined4 *puVar1;
  
  if (0xbc < param_2) {
LAB_003707f4:
    (*(code *)PTR_abort_00436908)();
    return *(undefined4 **)(param_1 + 0x2f4);
  }
  puVar1 = *(undefined4 **)(param_1 + param_2 * 4);
  if ((-1 < *(int *)(param_1 + 0x30c) << 1) || (*(char *)(param_1 + param_2 + 0x318) == '\0')) {
    param_1 = 4;
    if (PTR__environ_00433318[param_2 + -0xcbc] != '\x04') goto LAB_003707f4;
    puVar1 = (undefined4 *)*puVar1;
  }
  return puVar1;
}



undefined4 * FUN_00370774(int param_1,int param_2)

{
  undefined4 *puVar1;
  
  if (0xbc < param_2) {
LAB_003707f4:
    (*(code *)PTR_abort_00436908)();
    return *(undefined4 **)(param_1 + 0x2f4);
  }
  puVar1 = *(undefined4 **)(param_1 + param_2 * 4);
  if ((-1 < *(int *)(param_1 + 0x30c) << 1) || (*(char *)(param_1 + param_2 + 0x318) == '\0')) {
    param_1 = 4;
    if (PTR__environ_00433318[param_2 + -0xcbc] != '\x04') goto LAB_003707f4;
    puVar1 = (undefined4 *)*puVar1;
  }
  return puVar1;
}


lui gp,0xd
addiu gp,gp,-0x65a4
addu gp,gp,t9
addiu sp,sp,-0x20
slti v0,a1,0xbd
sw gp,0x10(sp)
sw ra,0x1c(sp)
beq v0,zero,0x003707f0
_lw v1,-0x6eb8(gp)
sll v0,a1,0x2
lw a2,0x30c(a0)
addu v0,a0,v0
addiu v1,v1,-0xcbc
ext a2,a2,0x1e,0x1
addu v1,a1,v1
lw v0,0x0(v0)
bne a2,zero,0x003707d8
_lbu v1,0x0(v1)
li a0,0x4
bne v1,a0,0x003707f4
_lw t9,-0x38c8(gp)
lw v0,0x0(v0)
lw ra,0x1c(sp)
jr ra
_addiu sp,sp,0x20
addu a1,a0,a1
lb a0,0x318(a1)
bne a0,zero,0x003707cc
_li a0,0x4
beq v1,a0,0x003707c8
_nop
lw t9,-0x38c8(gp)
jalr t9
_nop
(translation_unit "undefined4 * FUN_00370774(int param_1,int param_2)\n\n{\n  undefined4 *puVar1;\n  \n  if (0xbc < param_2) {\nLAB_003707f4:\n    (*(code *)PTR_abort_00436908)();\n    return *(undefined4 **)(param_1 + 0x2f4);\n  }\n  puVar1 = *(undefined4 **)(param_1 + param_2 * 4);\n  if ((-1 < *(int *)(param_1 + 0x30c) << 1) || (*(char *)(param_1 + param_2 + 0x318) == '\0')) {\n    param_1 = 4;\n    if (PTR__environ_00433318[param_2 + -0xcbc] != '\x04') goto LAB_003707f4;\n    puVar1 = (undefined4 *)*puVar1;\n  }\n  return puVar1;\n}\n\n" (function_definition "undefined4 * FUN_00370774(int param_1,int param_2)\n\n{\n  undefined4 *puVar1;\n  \n  if (0xbc < param_2) {\nLAB_003707f4:\n    (*(code *)PTR_abort_00436908)();\n    return *(undefined4 **)(param_1 + 0x2f4);\n  }\n  puVar1 = *(undefined4 **)(param_1 + param_2 * 4);\n  if ((-1 < *(int *)(param_1 + 0x30c) << 1) || (*(char *)(param_1 + param_2 + 0x318) == '\0')) {\n    param_1 = 4;\n    if (PTR__environ_00433318[param_2 + -0xcbc] != '\x04') goto LAB_003707f4;\n    puVar1 = (undefined4 *)*puVar1;\n  }\n  return puVar1;\n}" type_identifier (pointer_declarator "* FUN_00370774(int param_1,int param_2)" * (function_declarator "FUN_00370774(int param_1,int param_2)" identifier (parameter_list "(int param_1,int param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) )))) (compound_statement "{\n  undefined4 *puVar1;\n  \n  if (0xbc < param_2) {\nLAB_003707f4:\n    (*(code *)PTR_abort_00436908)();\n    return *(undefined4 **)(param_1 + 0x2f4);\n  }\n  puVar1 = *(undefined4 **)(param_1 + param_2 * 4);\n  if ((-1 < *(int *)(param_1 + 0x30c) << 1) || (*(char *)(param_1 + param_2 + 0x318) == '\0')) {\n    param_1 = 4;\n    if (PTR__environ_00433318[param_2 + -0xcbc] != '\x04') goto LAB_003707f4;\n    puVar1 = (undefined4 *)*puVar1;\n  }\n  return puVar1;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (if_statement "if (0xbc < param_2) {\nLAB_003707f4:\n    (*(code *)PTR_abort_00436908)();\n    return *(undefined4 **)(param_1 + 0x2f4);\n  }" if (parenthesized_expression "(0xbc < param_2)" ( (binary_expression "0xbc < param_2" number_literal < identifier) )) (compound_statement "{\nLAB_003707f4:\n    (*(code *)PTR_abort_00436908)();\n    return *(undefined4 **)(param_1 + 0x2f4);\n  }" { (labeled_statement "LAB_003707f4:\n    (*(code *)PTR_abort_00436908)();" statement_identifier : (expression_statement "(*(code *)PTR_abort_00436908)();" (call_expression "(*(code *)PTR_abort_00436908)()" (parenthesized_expression "(*(code *)PTR_abort_00436908)" ( (pointer_expression "*(code *)PTR_abort_00436908" * (cast_expression "(code *)PTR_abort_00436908" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;)) (return_statement "return *(undefined4 **)(param_1 + 0x2f4);" return (pointer_expression "*(undefined4 **)(param_1 + 0x2f4)" * (cast_expression "(undefined4 **)(param_1 + 0x2f4)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x2f4)" ( (binary_expression "param_1 + 0x2f4" identifier + number_literal) )))) ;) })) (expression_statement "puVar1 = *(undefined4 **)(param_1 + param_2 * 4);" (assignment_expression "puVar1 = *(undefined4 **)(param_1 + param_2 * 4)" identifier = (pointer_expression "*(undefined4 **)(param_1 + param_2 * 4)" * (cast_expression "(undefined4 **)(param_1 + param_2 * 4)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + param_2 * 4)" ( (binary_expression "param_1 + param_2 * 4" identifier + (binary_expression "param_2 * 4" identifier * number_literal)) ))))) ;) (if_statement "if ((-1 < *(int *)(param_1 + 0x30c) << 1) || (*(char *)(param_1 + param_2 + 0x318) == '\0')) {\n    param_1 = 4;\n    if (PTR__environ_00433318[param_2 + -0xcbc] != '\x04') goto LAB_003707f4;\n    puVar1 = (undefined4 *)*puVar1;\n  }" if (parenthesized_expression "((-1 < *(int *)(param_1 + 0x30c) << 1) || (*(char *)(param_1 + param_2 + 0x318) == '\0'))" ( (binary_expression "(-1 < *(int *)(param_1 + 0x30c) << 1) || (*(char *)(param_1 + param_2 + 0x318) == '\0')" (parenthesized_expression "(-1 < *(int *)(param_1 + 0x30c) << 1)" ( (binary_expression "-1 < *(int *)(param_1 + 0x30c) << 1" number_literal < (binary_expression "*(int *)(param_1 + 0x30c) << 1" (pointer_expression "*(int *)(param_1 + 0x30c)" * (cast_expression "(int *)(param_1 + 0x30c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x30c)" ( (binary_expression "param_1 + 0x30c" identifier + number_literal) )))) << number_literal)) )) || (parenthesized_expression "(*(char *)(param_1 + param_2 + 0x318) == '\0')" ( (binary_expression "*(char *)(param_1 + param_2 + 0x318) == '\0'" (pointer_expression "*(char *)(param_1 + param_2 + 0x318)" * (cast_expression "(char *)(param_1 + param_2 + 0x318)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + param_2 + 0x318)" ( (binary_expression "param_1 + param_2 + 0x318" (binary_expression "param_1 + param_2" identifier + identifier) + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n    param_1 = 4;\n    if (PTR__environ_00433318[param_2 + -0xcbc] != '\x04') goto LAB_003707f4;\n    puVar1 = (undefined4 *)*puVar1;\n  }" { (expression_statement "param_1 = 4;" (assignment_expression "param_1 = 4" identifier = number_literal) ;) (if_statement "if (PTR__environ_00433318[param_2 + -0xcbc] != '\x04') goto LAB_003707f4;" if (parenthesized_expression "(PTR__environ_00433318[param_2 + -0xcbc] != '\x04')" ( (binary_expression "PTR__environ_00433318[param_2 + -0xcbc] != '\x04'" (subscript_expression "PTR__environ_00433318[param_2 + -0xcbc]" identifier [ (binary_expression "param_2 + -0xcbc" identifier + number_literal) ]) != (char_literal "'\x04'" ' escape_sequence ')) )) (goto_statement "goto LAB_003707f4;" goto statement_identifier ;)) (expression_statement "puVar1 = (undefined4 *)*puVar1;" (assignment_expression "puVar1 = (undefined4 *)*puVar1" identifier = (cast_expression "(undefined4 *)*puVar1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar1" * identifier))) ;) })) (return_statement "return puVar1;" return identifier ;) })))
(translation_unit "undefined4 * _Unwind_GetGR(int param_1,int param_2)\n\n{\n  undefined4 *puVar1;\n  \n  if (0xbc < param_2) {\nLAB_003707f4:\n    (*(code *)PTR_abort_00436908)();\n    return *(undefined4 **)(param_1 + 0x2f4);\n  }\n  puVar1 = *(undefined4 **)(param_1 + param_2 * 4);\n  if ((-1 < *(int *)(param_1 + 0x30c) << 1) || (*(char *)(param_1 + param_2 + 0x318) == '\0')) {\n    param_1 = 4;\n    if (PTR__environ_00433318[param_2 + -0xcbc] != '\x04') goto LAB_003707f4;\n    puVar1 = (undefined4 *)*puVar1;\n  }\n  return puVar1;\n}\n\n" (function_definition "undefined4 * _Unwind_GetGR(int param_1,int param_2)\n\n{\n  undefined4 *puVar1;\n  \n  if (0xbc < param_2) {\nLAB_003707f4:\n    (*(code *)PTR_abort_00436908)();\n    return *(undefined4 **)(param_1 + 0x2f4);\n  }\n  puVar1 = *(undefined4 **)(param_1 + param_2 * 4);\n  if ((-1 < *(int *)(param_1 + 0x30c) << 1) || (*(char *)(param_1 + param_2 + 0x318) == '\0')) {\n    param_1 = 4;\n    if (PTR__environ_00433318[param_2 + -0xcbc] != '\x04') goto LAB_003707f4;\n    puVar1 = (undefined4 *)*puVar1;\n  }\n  return puVar1;\n}" type_identifier (pointer_declarator "* _Unwind_GetGR(int param_1,int param_2)" * (function_declarator "_Unwind_GetGR(int param_1,int param_2)" identifier (parameter_list "(int param_1,int param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) )))) (compound_statement "{\n  undefined4 *puVar1;\n  \n  if (0xbc < param_2) {\nLAB_003707f4:\n    (*(code *)PTR_abort_00436908)();\n    return *(undefined4 **)(param_1 + 0x2f4);\n  }\n  puVar1 = *(undefined4 **)(param_1 + param_2 * 4);\n  if ((-1 < *(int *)(param_1 + 0x30c) << 1) || (*(char *)(param_1 + param_2 + 0x318) == '\0')) {\n    param_1 = 4;\n    if (PTR__environ_00433318[param_2 + -0xcbc] != '\x04') goto LAB_003707f4;\n    puVar1 = (undefined4 *)*puVar1;\n  }\n  return puVar1;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (if_statement "if (0xbc < param_2) {\nLAB_003707f4:\n    (*(code *)PTR_abort_00436908)();\n    return *(undefined4 **)(param_1 + 0x2f4);\n  }" if (parenthesized_expression "(0xbc < param_2)" ( (binary_expression "0xbc < param_2" number_literal < identifier) )) (compound_statement "{\nLAB_003707f4:\n    (*(code *)PTR_abort_00436908)();\n    return *(undefined4 **)(param_1 + 0x2f4);\n  }" { (labeled_statement "LAB_003707f4:\n    (*(code *)PTR_abort_00436908)();" statement_identifier : (expression_statement "(*(code *)PTR_abort_00436908)();" (call_expression "(*(code *)PTR_abort_00436908)()" (parenthesized_expression "(*(code *)PTR_abort_00436908)" ( (pointer_expression "*(code *)PTR_abort_00436908" * (cast_expression "(code *)PTR_abort_00436908" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;)) (return_statement "return *(undefined4 **)(param_1 + 0x2f4);" return (pointer_expression "*(undefined4 **)(param_1 + 0x2f4)" * (cast_expression "(undefined4 **)(param_1 + 0x2f4)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x2f4)" ( (binary_expression "param_1 + 0x2f4" identifier + number_literal) )))) ;) })) (expression_statement "puVar1 = *(undefined4 **)(param_1 + param_2 * 4);" (assignment_expression "puVar1 = *(undefined4 **)(param_1 + param_2 * 4)" identifier = (pointer_expression "*(undefined4 **)(param_1 + param_2 * 4)" * (cast_expression "(undefined4 **)(param_1 + param_2 * 4)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + param_2 * 4)" ( (binary_expression "param_1 + param_2 * 4" identifier + (binary_expression "param_2 * 4" identifier * number_literal)) ))))) ;) (if_statement "if ((-1 < *(int *)(param_1 + 0x30c) << 1) || (*(char *)(param_1 + param_2 + 0x318) == '\0')) {\n    param_1 = 4;\n    if (PTR__environ_00433318[param_2 + -0xcbc] != '\x04') goto LAB_003707f4;\n    puVar1 = (undefined4 *)*puVar1;\n  }" if (parenthesized_expression "((-1 < *(int *)(param_1 + 0x30c) << 1) || (*(char *)(param_1 + param_2 + 0x318) == '\0'))" ( (binary_expression "(-1 < *(int *)(param_1 + 0x30c) << 1) || (*(char *)(param_1 + param_2 + 0x318) == '\0')" (parenthesized_expression "(-1 < *(int *)(param_1 + 0x30c) << 1)" ( (binary_expression "-1 < *(int *)(param_1 + 0x30c) << 1" number_literal < (binary_expression "*(int *)(param_1 + 0x30c) << 1" (pointer_expression "*(int *)(param_1 + 0x30c)" * (cast_expression "(int *)(param_1 + 0x30c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x30c)" ( (binary_expression "param_1 + 0x30c" identifier + number_literal) )))) << number_literal)) )) || (parenthesized_expression "(*(char *)(param_1 + param_2 + 0x318) == '\0')" ( (binary_expression "*(char *)(param_1 + param_2 + 0x318) == '\0'" (pointer_expression "*(char *)(param_1 + param_2 + 0x318)" * (cast_expression "(char *)(param_1 + param_2 + 0x318)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + param_2 + 0x318)" ( (binary_expression "param_1 + param_2 + 0x318" (binary_expression "param_1 + param_2" identifier + identifier) + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n    param_1 = 4;\n    if (PTR__environ_00433318[param_2 + -0xcbc] != '\x04') goto LAB_003707f4;\n    puVar1 = (undefined4 *)*puVar1;\n  }" { (expression_statement "param_1 = 4;" (assignment_expression "param_1 = 4" identifier = number_literal) ;) (if_statement "if (PTR__environ_00433318[param_2 + -0xcbc] != '\x04') goto LAB_003707f4;" if (parenthesized_expression "(PTR__environ_00433318[param_2 + -0xcbc] != '\x04')" ( (binary_expression "PTR__environ_00433318[param_2 + -0xcbc] != '\x04'" (subscript_expression "PTR__environ_00433318[param_2 + -0xcbc]" identifier [ (binary_expression "param_2 + -0xcbc" identifier + number_literal) ]) != (char_literal "'\x04'" ' escape_sequence ')) )) (goto_statement "goto LAB_003707f4;" goto statement_identifier ;)) (expression_statement "puVar1 = (undefined4 *)*puVar1;" (assignment_expression "puVar1 = (undefined4 *)*puVar1" identifier = (cast_expression "(undefined4 *)*puVar1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar1" * identifier))) ;) })) (return_statement "return puVar1;" return identifier ;) })))
(translation_unit "undefined4 * FUN_00370774(int param_1,int param_2)\n\n{\n  undefined4 *puVar1;\n  \n  if (0xbc < param_2) {\nLAB_003707f4:\n    (*(code *)PTR_abort_00436908)();\n    return *(undefined4 **)(param_1 + 0x2f4);\n  }\n  puVar1 = *(undefined4 **)(param_1 + param_2 * 4);\n  if ((-1 < *(int *)(param_1 + 0x30c) << 1) || (*(char *)(param_1 + param_2 + 0x318) == '\0')) {\n    param_1 = 4;\n    if (PTR__environ_00433318[param_2 + -0xcbc] != '\x04') goto LAB_003707f4;\n    puVar1 = (undefined4 *)*puVar1;\n  }\n  return puVar1;\n}\n\n" (function_definition "undefined4 * FUN_00370774(int param_1,int param_2)\n\n{\n  undefined4 *puVar1;\n  \n  if (0xbc < param_2) {\nLAB_003707f4:\n    (*(code *)PTR_abort_00436908)();\n    return *(undefined4 **)(param_1 + 0x2f4);\n  }\n  puVar1 = *(undefined4 **)(param_1 + param_2 * 4);\n  if ((-1 < *(int *)(param_1 + 0x30c) << 1) || (*(char *)(param_1 + param_2 + 0x318) == '\0')) {\n    param_1 = 4;\n    if (PTR__environ_00433318[param_2 + -0xcbc] != '\x04') goto LAB_003707f4;\n    puVar1 = (undefined4 *)*puVar1;\n  }\n  return puVar1;\n}" type_identifier (pointer_declarator "* FUN_00370774(int param_1,int param_2)" * (function_declarator "FUN_00370774(int param_1,int param_2)" identifier (parameter_list "(int param_1,int param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) )))) (compound_statement "{\n  undefined4 *puVar1;\n  \n  if (0xbc < param_2) {\nLAB_003707f4:\n    (*(code *)PTR_abort_00436908)();\n    return *(undefined4 **)(param_1 + 0x2f4);\n  }\n  puVar1 = *(undefined4 **)(param_1 + param_2 * 4);\n  if ((-1 < *(int *)(param_1 + 0x30c) << 1) || (*(char *)(param_1 + param_2 + 0x318) == '\0')) {\n    param_1 = 4;\n    if (PTR__environ_00433318[param_2 + -0xcbc] != '\x04') goto LAB_003707f4;\n    puVar1 = (undefined4 *)*puVar1;\n  }\n  return puVar1;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (if_statement "if (0xbc < param_2) {\nLAB_003707f4:\n    (*(code *)PTR_abort_00436908)();\n    return *(undefined4 **)(param_1 + 0x2f4);\n  }" if (parenthesized_expression "(0xbc < param_2)" ( (binary_expression "0xbc < param_2" number_literal < identifier) )) (compound_statement "{\nLAB_003707f4:\n    (*(code *)PTR_abort_00436908)();\n    return *(undefined4 **)(param_1 + 0x2f4);\n  }" { (labeled_statement "LAB_003707f4:\n    (*(code *)PTR_abort_00436908)();" statement_identifier : (expression_statement "(*(code *)PTR_abort_00436908)();" (call_expression "(*(code *)PTR_abort_00436908)()" (parenthesized_expression "(*(code *)PTR_abort_00436908)" ( (pointer_expression "*(code *)PTR_abort_00436908" * (cast_expression "(code *)PTR_abort_00436908" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;)) (return_statement "return *(undefined4 **)(param_1 + 0x2f4);" return (pointer_expression "*(undefined4 **)(param_1 + 0x2f4)" * (cast_expression "(undefined4 **)(param_1 + 0x2f4)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x2f4)" ( (binary_expression "param_1 + 0x2f4" identifier + number_literal) )))) ;) })) (expression_statement "puVar1 = *(undefined4 **)(param_1 + param_2 * 4);" (assignment_expression "puVar1 = *(undefined4 **)(param_1 + param_2 * 4)" identifier = (pointer_expression "*(undefined4 **)(param_1 + param_2 * 4)" * (cast_expression "(undefined4 **)(param_1 + param_2 * 4)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + param_2 * 4)" ( (binary_expression "param_1 + param_2 * 4" identifier + (binary_expression "param_2 * 4" identifier * number_literal)) ))))) ;) (if_statement "if ((-1 < *(int *)(param_1 + 0x30c) << 1) || (*(char *)(param_1 + param_2 + 0x318) == '\0')) {\n    param_1 = 4;\n    if (PTR__environ_00433318[param_2 + -0xcbc] != '\x04') goto LAB_003707f4;\n    puVar1 = (undefined4 *)*puVar1;\n  }" if (parenthesized_expression "((-1 < *(int *)(param_1 + 0x30c) << 1) || (*(char *)(param_1 + param_2 + 0x318) == '\0'))" ( (binary_expression "(-1 < *(int *)(param_1 + 0x30c) << 1) || (*(char *)(param_1 + param_2 + 0x318) == '\0')" (parenthesized_expression "(-1 < *(int *)(param_1 + 0x30c) << 1)" ( (binary_expression "-1 < *(int *)(param_1 + 0x30c) << 1" number_literal < (binary_expression "*(int *)(param_1 + 0x30c) << 1" (pointer_expression "*(int *)(param_1 + 0x30c)" * (cast_expression "(int *)(param_1 + 0x30c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x30c)" ( (binary_expression "param_1 + 0x30c" identifier + number_literal) )))) << number_literal)) )) || (parenthesized_expression "(*(char *)(param_1 + param_2 + 0x318) == '\0')" ( (binary_expression "*(char *)(param_1 + param_2 + 0x318) == '\0'" (pointer_expression "*(char *)(param_1 + param_2 + 0x318)" * (cast_expression "(char *)(param_1 + param_2 + 0x318)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + param_2 + 0x318)" ( (binary_expression "param_1 + param_2 + 0x318" (binary_expression "param_1 + param_2" identifier + identifier) + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n    param_1 = 4;\n    if (PTR__environ_00433318[param_2 + -0xcbc] != '\x04') goto LAB_003707f4;\n    puVar1 = (undefined4 *)*puVar1;\n  }" { (expression_statement "param_1 = 4;" (assignment_expression "param_1 = 4" identifier = number_literal) ;) (if_statement "if (PTR__environ_00433318[param_2 + -0xcbc] != '\x04') goto LAB_003707f4;" if (parenthesized_expression "(PTR__environ_00433318[param_2 + -0xcbc] != '\x04')" ( (binary_expression "PTR__environ_00433318[param_2 + -0xcbc] != '\x04'" (subscript_expression "PTR__environ_00433318[param_2 + -0xcbc]" identifier [ (binary_expression "param_2 + -0xcbc" identifier + number_literal) ]) != (char_literal "'\x04'" ' escape_sequence ')) )) (goto_statement "goto LAB_003707f4;" goto statement_identifier ;)) (expression_statement "puVar1 = (undefined4 *)*puVar1;" (assignment_expression "puVar1 = (undefined4 *)*puVar1" identifier = (cast_expression "(undefined4 *)*puVar1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar1" * identifier))) ;) })) (return_statement "return puVar1;" return identifier ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) )))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;)) (return_statement return (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression LIT < (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) << LIT)) )) || (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + IDENT) + LIT) )))) == (char_literal ' escape_sequence ')) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ (binary_expression IDENT + LIT) ]) != (char_literal ' escape_sequence ')) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) })) (return_statement return IDENT ;) })))
(function_definition "undefined4 * FUN_00370774(int param_1,int param_2)\n\n{\n  undefined4 *puVar1;\n  \n  if (0xbc < param_2) {\nLAB_003707f4:\n    (*(code *)PTR_abort_00436908)();\n    return *(undefined4 **)(param_1 + 0x2f4);\n  }\n  puVar1 = *(undefined4 **)(param_1 + param_2 * 4);\n  if ((-1 < *(int *)(param_1 + 0x30c) << 1) || (*(char *)(param_1 + param_2 + 0x318) == '\0')) {\n    param_1 = 4;\n    if (PTR__environ_00433318[param_2 + -0xcbc] != '\x04') goto LAB_003707f4;\n    puVar1 = (undefined4 *)*puVar1;\n  }\n  return puVar1;\n}" (type_identifier "undefined4") (pointer_declarator "* FUN_00370774(int param_1,int param_2)" (* "*") (function_declarator "FUN_00370774(int param_1,int param_2)" (identifier "FUN_00370774") (parameter_list "(int param_1,int param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")")))) (compound_statement "{\n  undefined4 *puVar1;\n  \n  if (0xbc < param_2) {\nLAB_003707f4:\n    (*(code *)PTR_abort_00436908)();\n    return *(undefined4 **)(param_1 + 0x2f4);\n  }\n  puVar1 = *(undefined4 **)(param_1 + param_2 * 4);\n  if ((-1 < *(int *)(param_1 + 0x30c) << 1) || (*(char *)(param_1 + param_2 + 0x318) == '\0')) {\n    param_1 = 4;\n    if (PTR__environ_00433318[param_2 + -0xcbc] != '\x04') goto LAB_003707f4;\n    puVar1 = (undefined4 *)*puVar1;\n  }\n  return puVar1;\n}" ({ "{") (declaration "undefined4 *puVar1;" (type_identifier "undefined4") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (if_statement "if (0xbc < param_2) {\nLAB_003707f4:\n    (*(code *)PTR_abort_00436908)();\n    return *(undefined4 **)(param_1 + 0x2f4);\n  }" (if "if") (parenthesized_expression "(0xbc < param_2)" (( "(") (binary_expression "0xbc < param_2" (number_literal "0xbc") (< "<") (identifier "param_2")) () ")")) (compound_statement "{\nLAB_003707f4:\n    (*(code *)PTR_abort_00436908)();\n    return *(undefined4 **)(param_1 + 0x2f4);\n  }" ({ "{") (labeled_statement "LAB_003707f4:\n    (*(code *)PTR_abort_00436908)();" (statement_identifier "LAB_003707f4") (: ":") (expression_statement "(*(code *)PTR_abort_00436908)();" (call_expression "(*(code *)PTR_abort_00436908)()" (parenthesized_expression "(*(code *)PTR_abort_00436908)" (( "(") (pointer_expression "*(code *)PTR_abort_00436908" (* "*") (cast_expression "(code *)PTR_abort_00436908" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_abort_00436908"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";"))) (return_statement "return *(undefined4 **)(param_1 + 0x2f4);" (return "return") (pointer_expression "*(undefined4 **)(param_1 + 0x2f4)" (* "*") (cast_expression "(undefined4 **)(param_1 + 0x2f4)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x2f4)" (( "(") (binary_expression "param_1 + 0x2f4" (identifier "param_1") (+ "+") (number_literal "0x2f4")) () ")")))) (; ";")) (} "}"))) (expression_statement "puVar1 = *(undefined4 **)(param_1 + param_2 * 4);" (assignment_expression "puVar1 = *(undefined4 **)(param_1 + param_2 * 4)" (identifier "puVar1") (= "=") (pointer_expression "*(undefined4 **)(param_1 + param_2 * 4)" (* "*") (cast_expression "(undefined4 **)(param_1 + param_2 * 4)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + param_2 * 4)" (( "(") (binary_expression "param_1 + param_2 * 4" (identifier "param_1") (+ "+") (binary_expression "param_2 * 4" (identifier "param_2") (* "*") (number_literal "4"))) () ")"))))) (; ";")) (if_statement "if ((-1 < *(int *)(param_1 + 0x30c) << 1) || (*(char *)(param_1 + param_2 + 0x318) == '\0')) {\n    param_1 = 4;\n    if (PTR__environ_00433318[param_2 + -0xcbc] != '\x04') goto LAB_003707f4;\n    puVar1 = (undefined4 *)*puVar1;\n  }" (if "if") (parenthesized_expression "((-1 < *(int *)(param_1 + 0x30c) << 1) || (*(char *)(param_1 + param_2 + 0x318) == '\0'))" (( "(") (binary_expression "(-1 < *(int *)(param_1 + 0x30c) << 1) || (*(char *)(param_1 + param_2 + 0x318) == '\0')" (parenthesized_expression "(-1 < *(int *)(param_1 + 0x30c) << 1)" (( "(") (binary_expression "-1 < *(int *)(param_1 + 0x30c) << 1" (number_literal "-1") (< "<") (binary_expression "*(int *)(param_1 + 0x30c) << 1" (pointer_expression "*(int *)(param_1 + 0x30c)" (* "*") (cast_expression "(int *)(param_1 + 0x30c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x30c)" (( "(") (binary_expression "param_1 + 0x30c" (identifier "param_1") (+ "+") (number_literal "0x30c")) () ")")))) (<< "<<") (number_literal "1"))) () ")")) (|| "||") (parenthesized_expression "(*(char *)(param_1 + param_2 + 0x318) == '\0')" (( "(") (binary_expression "*(char *)(param_1 + param_2 + 0x318) == '\0'" (pointer_expression "*(char *)(param_1 + param_2 + 0x318)" (* "*") (cast_expression "(char *)(param_1 + param_2 + 0x318)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + param_2 + 0x318)" (( "(") (binary_expression "param_1 + param_2 + 0x318" (binary_expression "param_1 + param_2" (identifier "param_1") (+ "+") (identifier "param_2")) (+ "+") (number_literal "0x318")) () ")")))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")"))) () ")")) (compound_statement "{\n    param_1 = 4;\n    if (PTR__environ_00433318[param_2 + -0xcbc] != '\x04') goto LAB_003707f4;\n    puVar1 = (undefined4 *)*puVar1;\n  }" ({ "{") (expression_statement "param_1 = 4;" (assignment_expression "param_1 = 4" (identifier "param_1") (= "=") (number_literal "4")) (; ";")) (if_statement "if (PTR__environ_00433318[param_2 + -0xcbc] != '\x04') goto LAB_003707f4;" (if "if") (parenthesized_expression "(PTR__environ_00433318[param_2 + -0xcbc] != '\x04')" (( "(") (binary_expression "PTR__environ_00433318[param_2 + -0xcbc] != '\x04'" (subscript_expression "PTR__environ_00433318[param_2 + -0xcbc]" (identifier "PTR__environ_00433318") ([ "[") (binary_expression "param_2 + -0xcbc" (identifier "param_2") (+ "+") (number_literal "-0xcbc")) (] "]")) (!= "!=") (char_literal "'\x04'" (' "'") (escape_sequence "\x04") (' "'"))) () ")")) (goto_statement "goto LAB_003707f4;" (goto "goto") (statement_identifier "LAB_003707f4") (; ";"))) (expression_statement "puVar1 = (undefined4 *)*puVar1;" (assignment_expression "puVar1 = (undefined4 *)*puVar1" (identifier "puVar1") (= "=") (cast_expression "(undefined4 *)*puVar1" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar1" (* "*") (identifier "puVar1")))) (; ";")) (} "}"))) (return_statement "return puVar1;" (return "return") (identifier "puVar1") (; ";")) (} "}")))
(translation_unit (function_definition type: (type_identifier) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier))))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (compound_statement (labeled_statement label: (statement_identifier) (expression_statement (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)))) (return_statement (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (number_literal) right: (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: (number_literal)))) right: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (number_literal))))) right: (char_literal (escape_sequence)))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (binary_expression left: (identifier) right: (number_literal))) right: (char_literal (escape_sequence)))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))))) (return_statement (identifier)))))

undefined4 * MASKED(int param_1,int param_2)

{
  undefined4 *puVar1;
  
  if (0xbc < param_2) {
LAB_003707f4:
    (*(code *)PTR_abort_00436908)();
    return *(undefined4 **)(param_1 + 0x2f4);
  }
  puVar1 = *(undefined4 **)(param_1 + param_2 * 4);
  if ((-1 < *(int *)(param_1 + 0x30c) << 1) || (*(char *)(param_1 + param_2 + 0x318) == '\0')) {
    param_1 = 4;
    if (PTR__environ_00433318[param_2 + -0xcbc] != '\x04') goto LAB_003707f4;
    puVar1 = (undefined4 *)*puVar1;
  }
  return puVar1;
}

