
void _Unwind_SetGR(int param_1,int param_2,undefined4 param_3)

{
  if (param_2 < 0xbd) {
    if ((*(int *)(param_1 + 0x30c) << 1 < 0) && (*(char *)(param_1 + param_2 + 0x318) != '\0')) {
      *(undefined4 *)(param_1 + param_2 * 4) = param_3;
      return;
    }
    if (PTR_DAT_004c256c[param_2 + -0x169c] == '\x04') {
      **(undefined4 **)(param_1 + param_2 * 4) = param_3;
      return;
    }
  }
  (*(code *)PTR_abort_004c5d24)();
  return;
}



void FUN_003eb8a4(int param_1,int param_2,undefined4 param_3)

{
  if (param_2 < 0xbd) {
    if ((*(int *)(param_1 + 0x30c) << 1 < 0) && (*(char *)(param_1 + param_2 + 0x318) != '\0')) {
      *(undefined4 *)(param_1 + param_2 * 4) = param_3;
      return;
    }
    if (PTR_DAT_004c256c[param_2 + -0x169c] == '\x04') {
      **(undefined4 **)(param_1 + param_2 * 4) = param_3;
      return;
    }
  }
  (*(code *)PTR_abort_004c5d24)();
  return;
}


lui gp,0xe
addiu gp,gp,-0x2664
addu gp,gp,t9
addiu sp,sp,-0x20
slti v0,a1,0xbd
sw gp,0x10(sp)
sw ra,0x1c(sp)
beq v0,zero,0x003eb928
_lw v1,-0x6cd4(gp)
lw v0,0x30c(a0)
addiu v1,v1,-0x169c
ext v0,v0,0x1e,0x1
addu v1,a1,v1
bne v0,zero,0x003eb904
_lbu v1,0x0(v1)
sll a1,a1,0x2
li a3,0x4
addu a1,a0,a1
bne v1,a3,0x003eb928
_lw v0,0x0(a1)
lw ra,0x1c(sp)
sw a2,0x0(v0)
jr ra
_addiu sp,sp,0x20
addu v0,a0,a1
lb v0,0x318(v0)
beq v0,zero,0x003eb8e0
_lw ra,0x1c(sp)
sll v0,a1,0x2
addu a1,a0,v0
sw a2,0x0(a1)
jr ra
_addiu sp,sp,0x20
lw t9,-0x351c(gp)
jalr t9
_nop
(translation_unit "void FUN_003eb8a4(int param_1,int param_2,undefined4 param_3)\n\n{\n  if (param_2 < 0xbd) {\n    if ((*(int *)(param_1 + 0x30c) << 1 < 0) && (*(char *)(param_1 + param_2 + 0x318) != '\0')) {\n      *(undefined4 *)(param_1 + param_2 * 4) = param_3;\n      return;\n    }\n    if (PTR_DAT_004c256c[param_2 + -0x169c] == '\x04') {\n      **(undefined4 **)(param_1 + param_2 * 4) = param_3;\n      return;\n    }\n  }\n  (*(code *)PTR_abort_004c5d24)();\n  return;\n}\n\n" (function_definition "void FUN_003eb8a4(int param_1,int param_2,undefined4 param_3)\n\n{\n  if (param_2 < 0xbd) {\n    if ((*(int *)(param_1 + 0x30c) << 1 < 0) && (*(char *)(param_1 + param_2 + 0x318) != '\0')) {\n      *(undefined4 *)(param_1 + param_2 * 4) = param_3;\n      return;\n    }\n    if (PTR_DAT_004c256c[param_2 + -0x169c] == '\x04') {\n      **(undefined4 **)(param_1 + param_2 * 4) = param_3;\n      return;\n    }\n  }\n  (*(code *)PTR_abort_004c5d24)();\n  return;\n}" primitive_type (function_declarator "FUN_003eb8a4(int param_1,int param_2,undefined4 param_3)" identifier (parameter_list "(int param_1,int param_2,undefined4 param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) ))) (compound_statement "{\n  if (param_2 < 0xbd) {\n    if ((*(int *)(param_1 + 0x30c) << 1 < 0) && (*(char *)(param_1 + param_2 + 0x318) != '\0')) {\n      *(undefined4 *)(param_1 + param_2 * 4) = param_3;\n      return;\n    }\n    if (PTR_DAT_004c256c[param_2 + -0x169c] == '\x04') {\n      **(undefined4 **)(param_1 + param_2 * 4) = param_3;\n      return;\n    }\n  }\n  (*(code *)PTR_abort_004c5d24)();\n  return;\n}" { (if_statement "if (param_2 < 0xbd) {\n    if ((*(int *)(param_1 + 0x30c) << 1 < 0) && (*(char *)(param_1 + param_2 + 0x318) != '\0')) {\n      *(undefined4 *)(param_1 + param_2 * 4) = param_3;\n      return;\n    }\n    if (PTR_DAT_004c256c[param_2 + -0x169c] == '\x04') {\n      **(undefined4 **)(param_1 + param_2 * 4) = param_3;\n      return;\n    }\n  }" if (parenthesized_expression "(param_2 < 0xbd)" ( (binary_expression "param_2 < 0xbd" identifier < number_literal) )) (compound_statement "{\n    if ((*(int *)(param_1 + 0x30c) << 1 < 0) && (*(char *)(param_1 + param_2 + 0x318) != '\0')) {\n      *(undefined4 *)(param_1 + param_2 * 4) = param_3;\n      return;\n    }\n    if (PTR_DAT_004c256c[param_2 + -0x169c] == '\x04') {\n      **(undefined4 **)(param_1 + param_2 * 4) = param_3;\n      return;\n    }\n  }" { (if_statement "if ((*(int *)(param_1 + 0x30c) << 1 < 0) && (*(char *)(param_1 + param_2 + 0x318) != '\0')) {\n      *(undefined4 *)(param_1 + param_2 * 4) = param_3;\n      return;\n    }" if (parenthesized_expression "((*(int *)(param_1 + 0x30c) << 1 < 0) && (*(char *)(param_1 + param_2 + 0x318) != '\0'))" ( (binary_expression "(*(int *)(param_1 + 0x30c) << 1 < 0) && (*(char *)(param_1 + param_2 + 0x318) != '\0')" (parenthesized_expression "(*(int *)(param_1 + 0x30c) << 1 < 0)" ( (binary_expression "*(int *)(param_1 + 0x30c) << 1 < 0" (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) < 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      *(undefined4 *)(param_1 + param_2 * 4) = param_3;\n      return;\n    }" { (expression_statement "*(undefined4 *)(param_1 + param_2 * 4) = param_3;" (assignment_expression "*(undefined4 *)(param_1 + param_2 * 4) = param_3" (pointer_expression "*(undefined4 *)(param_1 + param_2 * 4)" * (cast_expression "(undefined4 *)(param_1 + param_2 * 4)" ( (type_descriptor "undefined4 *" type_identifier (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)) )))) = identifier) ;) (return_statement "return;" return ;) })) (if_statement "if (PTR_DAT_004c256c[param_2 + -0x169c] == '\x04') {\n      **(undefined4 **)(param_1 + param_2 * 4) = param_3;\n      return;\n    }" if (parenthesized_expression "(PTR_DAT_004c256c[param_2 + -0x169c] == '\x04')" ( (binary_expression "PTR_DAT_004c256c[param_2 + -0x169c] == '\x04'" (subscript_expression "PTR_DAT_004c256c[param_2 + -0x169c]" identifier [ (binary_expression "param_2 + -0x169c" identifier + number_literal) ]) == (char_literal "'\x04'" ' escape_sequence ')) )) (compound_statement "{\n      **(undefined4 **)(param_1 + param_2 * 4) = param_3;\n      return;\n    }" { (expression_statement "**(undefined4 **)(param_1 + param_2 * 4) = param_3;" (assignment_expression "**(undefined4 **)(param_1 + param_2 * 4) = param_3" (pointer_expression "**(undefined4 **)(param_1 + param_2 * 4)" * (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)) ))))) = identifier) ;) (return_statement "return;" return ;) })) })) (expression_statement "(*(code *)PTR_abort_004c5d24)();" (call_expression "(*(code *)PTR_abort_004c5d24)()" (parenthesized_expression "(*(code *)PTR_abort_004c5d24)" ( (pointer_expression "*(code *)PTR_abort_004c5d24" * (cast_expression "(code *)PTR_abort_004c5d24" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void _Unwind_SetGR(int param_1,int param_2,undefined4 param_3)\n\n{\n  if (param_2 < 0xbd) {\n    if ((*(int *)(param_1 + 0x30c) << 1 < 0) && (*(char *)(param_1 + param_2 + 0x318) != '\0')) {\n      *(undefined4 *)(param_1 + param_2 * 4) = param_3;\n      return;\n    }\n    if (PTR_DAT_004c256c[param_2 + -0x169c] == '\x04') {\n      **(undefined4 **)(param_1 + param_2 * 4) = param_3;\n      return;\n    }\n  }\n  (*(code *)PTR_abort_004c5d24)();\n  return;\n}\n\n" (function_definition "void _Unwind_SetGR(int param_1,int param_2,undefined4 param_3)\n\n{\n  if (param_2 < 0xbd) {\n    if ((*(int *)(param_1 + 0x30c) << 1 < 0) && (*(char *)(param_1 + param_2 + 0x318) != '\0')) {\n      *(undefined4 *)(param_1 + param_2 * 4) = param_3;\n      return;\n    }\n    if (PTR_DAT_004c256c[param_2 + -0x169c] == '\x04') {\n      **(undefined4 **)(param_1 + param_2 * 4) = param_3;\n      return;\n    }\n  }\n  (*(code *)PTR_abort_004c5d24)();\n  return;\n}" primitive_type (function_declarator "_Unwind_SetGR(int param_1,int param_2,undefined4 param_3)" identifier (parameter_list "(int param_1,int param_2,undefined4 param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) ))) (compound_statement "{\n  if (param_2 < 0xbd) {\n    if ((*(int *)(param_1 + 0x30c) << 1 < 0) && (*(char *)(param_1 + param_2 + 0x318) != '\0')) {\n      *(undefined4 *)(param_1 + param_2 * 4) = param_3;\n      return;\n    }\n    if (PTR_DAT_004c256c[param_2 + -0x169c] == '\x04') {\n      **(undefined4 **)(param_1 + param_2 * 4) = param_3;\n      return;\n    }\n  }\n  (*(code *)PTR_abort_004c5d24)();\n  return;\n}" { (if_statement "if (param_2 < 0xbd) {\n    if ((*(int *)(param_1 + 0x30c) << 1 < 0) && (*(char *)(param_1 + param_2 + 0x318) != '\0')) {\n      *(undefined4 *)(param_1 + param_2 * 4) = param_3;\n      return;\n    }\n    if (PTR_DAT_004c256c[param_2 + -0x169c] == '\x04') {\n      **(undefined4 **)(param_1 + param_2 * 4) = param_3;\n      return;\n    }\n  }" if (parenthesized_expression "(param_2 < 0xbd)" ( (binary_expression "param_2 < 0xbd" identifier < number_literal) )) (compound_statement "{\n    if ((*(int *)(param_1 + 0x30c) << 1 < 0) && (*(char *)(param_1 + param_2 + 0x318) != '\0')) {\n      *(undefined4 *)(param_1 + param_2 * 4) = param_3;\n      return;\n    }\n    if (PTR_DAT_004c256c[param_2 + -0x169c] == '\x04') {\n      **(undefined4 **)(param_1 + param_2 * 4) = param_3;\n      return;\n    }\n  }" { (if_statement "if ((*(int *)(param_1 + 0x30c) << 1 < 0) && (*(char *)(param_1 + param_2 + 0x318) != '\0')) {\n      *(undefined4 *)(param_1 + param_2 * 4) = param_3;\n      return;\n    }" if (parenthesized_expression "((*(int *)(param_1 + 0x30c) << 1 < 0) && (*(char *)(param_1 + param_2 + 0x318) != '\0'))" ( (binary_expression "(*(int *)(param_1 + 0x30c) << 1 < 0) && (*(char *)(param_1 + param_2 + 0x318) != '\0')" (parenthesized_expression "(*(int *)(param_1 + 0x30c) << 1 < 0)" ( (binary_expression "*(int *)(param_1 + 0x30c) << 1 < 0" (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) < 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      *(undefined4 *)(param_1 + param_2 * 4) = param_3;\n      return;\n    }" { (expression_statement "*(undefined4 *)(param_1 + param_2 * 4) = param_3;" (assignment_expression "*(undefined4 *)(param_1 + param_2 * 4) = param_3" (pointer_expression "*(undefined4 *)(param_1 + param_2 * 4)" * (cast_expression "(undefined4 *)(param_1 + param_2 * 4)" ( (type_descriptor "undefined4 *" type_identifier (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)) )))) = identifier) ;) (return_statement "return;" return ;) })) (if_statement "if (PTR_DAT_004c256c[param_2 + -0x169c] == '\x04') {\n      **(undefined4 **)(param_1 + param_2 * 4) = param_3;\n      return;\n    }" if (parenthesized_expression "(PTR_DAT_004c256c[param_2 + -0x169c] == '\x04')" ( (binary_expression "PTR_DAT_004c256c[param_2 + -0x169c] == '\x04'" (subscript_expression "PTR_DAT_004c256c[param_2 + -0x169c]" identifier [ (binary_expression "param_2 + -0x169c" identifier + number_literal) ]) == (char_literal "'\x04'" ' escape_sequence ')) )) (compound_statement "{\n      **(undefined4 **)(param_1 + param_2 * 4) = param_3;\n      return;\n    }" { (expression_statement "**(undefined4 **)(param_1 + param_2 * 4) = param_3;" (assignment_expression "**(undefined4 **)(param_1 + param_2 * 4) = param_3" (pointer_expression "**(undefined4 **)(param_1 + param_2 * 4)" * (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)) ))))) = identifier) ;) (return_statement "return;" return ;) })) })) (expression_statement "(*(code *)PTR_abort_004c5d24)();" (call_expression "(*(code *)PTR_abort_004c5d24)()" (parenthesized_expression "(*(code *)PTR_abort_004c5d24)" ( (pointer_expression "*(code *)PTR_abort_004c5d24" * (cast_expression "(code *)PTR_abort_004c5d24" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_003eb8a4(int param_1,int param_2,undefined4 param_3)\n\n{\n  if (param_2 < 0xbd) {\n    if ((*(int *)(param_1 + 0x30c) << 1 < 0) && (*(char *)(param_1 + param_2 + 0x318) != '\0')) {\n      *(undefined4 *)(param_1 + param_2 * 4) = param_3;\n      return;\n    }\n    if (PTR_DAT_004c256c[param_2 + -0x169c] == '\x04') {\n      **(undefined4 **)(param_1 + param_2 * 4) = param_3;\n      return;\n    }\n  }\n  (*(code *)PTR_abort_004c5d24)();\n  return;\n}\n\n" (function_definition "void FUN_003eb8a4(int param_1,int param_2,undefined4 param_3)\n\n{\n  if (param_2 < 0xbd) {\n    if ((*(int *)(param_1 + 0x30c) << 1 < 0) && (*(char *)(param_1 + param_2 + 0x318) != '\0')) {\n      *(undefined4 *)(param_1 + param_2 * 4) = param_3;\n      return;\n    }\n    if (PTR_DAT_004c256c[param_2 + -0x169c] == '\x04') {\n      **(undefined4 **)(param_1 + param_2 * 4) = param_3;\n      return;\n    }\n  }\n  (*(code *)PTR_abort_004c5d24)();\n  return;\n}" primitive_type (function_declarator "FUN_003eb8a4(int param_1,int param_2,undefined4 param_3)" identifier (parameter_list "(int param_1,int param_2,undefined4 param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) ))) (compound_statement "{\n  if (param_2 < 0xbd) {\n    if ((*(int *)(param_1 + 0x30c) << 1 < 0) && (*(char *)(param_1 + param_2 + 0x318) != '\0')) {\n      *(undefined4 *)(param_1 + param_2 * 4) = param_3;\n      return;\n    }\n    if (PTR_DAT_004c256c[param_2 + -0x169c] == '\x04') {\n      **(undefined4 **)(param_1 + param_2 * 4) = param_3;\n      return;\n    }\n  }\n  (*(code *)PTR_abort_004c5d24)();\n  return;\n}" { (if_statement "if (param_2 < 0xbd) {\n    if ((*(int *)(param_1 + 0x30c) << 1 < 0) && (*(char *)(param_1 + param_2 + 0x318) != '\0')) {\n      *(undefined4 *)(param_1 + param_2 * 4) = param_3;\n      return;\n    }\n    if (PTR_DAT_004c256c[param_2 + -0x169c] == '\x04') {\n      **(undefined4 **)(param_1 + param_2 * 4) = param_3;\n      return;\n    }\n  }" if (parenthesized_expression "(param_2 < 0xbd)" ( (binary_expression "param_2 < 0xbd" identifier < number_literal) )) (compound_statement "{\n    if ((*(int *)(param_1 + 0x30c) << 1 < 0) && (*(char *)(param_1 + param_2 + 0x318) != '\0')) {\n      *(undefined4 *)(param_1 + param_2 * 4) = param_3;\n      return;\n    }\n    if (PTR_DAT_004c256c[param_2 + -0x169c] == '\x04') {\n      **(undefined4 **)(param_1 + param_2 * 4) = param_3;\n      return;\n    }\n  }" { (if_statement "if ((*(int *)(param_1 + 0x30c) << 1 < 0) && (*(char *)(param_1 + param_2 + 0x318) != '\0')) {\n      *(undefined4 *)(param_1 + param_2 * 4) = param_3;\n      return;\n    }" if (parenthesized_expression "((*(int *)(param_1 + 0x30c) << 1 < 0) && (*(char *)(param_1 + param_2 + 0x318) != '\0'))" ( (binary_expression "(*(int *)(param_1 + 0x30c) << 1 < 0) && (*(char *)(param_1 + param_2 + 0x318) != '\0')" (parenthesized_expression "(*(int *)(param_1 + 0x30c) << 1 < 0)" ( (binary_expression "*(int *)(param_1 + 0x30c) << 1 < 0" (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) < 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      *(undefined4 *)(param_1 + param_2 * 4) = param_3;\n      return;\n    }" { (expression_statement "*(undefined4 *)(param_1 + param_2 * 4) = param_3;" (assignment_expression "*(undefined4 *)(param_1 + param_2 * 4) = param_3" (pointer_expression "*(undefined4 *)(param_1 + param_2 * 4)" * (cast_expression "(undefined4 *)(param_1 + param_2 * 4)" ( (type_descriptor "undefined4 *" type_identifier (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)) )))) = identifier) ;) (return_statement "return;" return ;) })) (if_statement "if (PTR_DAT_004c256c[param_2 + -0x169c] == '\x04') {\n      **(undefined4 **)(param_1 + param_2 * 4) = param_3;\n      return;\n    }" if (parenthesized_expression "(PTR_DAT_004c256c[param_2 + -0x169c] == '\x04')" ( (binary_expression "PTR_DAT_004c256c[param_2 + -0x169c] == '\x04'" (subscript_expression "PTR_DAT_004c256c[param_2 + -0x169c]" identifier [ (binary_expression "param_2 + -0x169c" identifier + number_literal) ]) == (char_literal "'\x04'" ' escape_sequence ')) )) (compound_statement "{\n      **(undefined4 **)(param_1 + param_2 * 4) = param_3;\n      return;\n    }" { (expression_statement "**(undefined4 **)(param_1 + param_2 * 4) = param_3;" (assignment_expression "**(undefined4 **)(param_1 + param_2 * 4) = param_3" (pointer_expression "**(undefined4 **)(param_1 + param_2 * 4)" * (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)) ))))) = identifier) ;) (return_statement "return;" return ;) })) })) (expression_statement "(*(code *)PTR_abort_004c5d24)();" (call_expression "(*(code *)PTR_abort_004c5d24)()" (parenthesized_expression "(*(code *)PTR_abort_004c5d24)" ( (pointer_expression "*(code *)PTR_abort_004c5d24" * (cast_expression "(code *)PTR_abort_004c5d24" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) << 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 (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))) = IDENT) ;) (return_statement return ;) })) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ (binary_expression IDENT + LIT) ]) == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) ))))) = IDENT) ;) (return_statement return ;) })) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) (return_statement return ;) })))
(function_definition "void FUN_003eb8a4(int param_1,int param_2,undefined4 param_3)\n\n{\n  if (param_2 < 0xbd) {\n    if ((*(int *)(param_1 + 0x30c) << 1 < 0) && (*(char *)(param_1 + param_2 + 0x318) != '\0')) {\n      *(undefined4 *)(param_1 + param_2 * 4) = param_3;\n      return;\n    }\n    if (PTR_DAT_004c256c[param_2 + -0x169c] == '\x04') {\n      **(undefined4 **)(param_1 + param_2 * 4) = param_3;\n      return;\n    }\n  }\n  (*(code *)PTR_abort_004c5d24)();\n  return;\n}" (primitive_type "void") (function_declarator "FUN_003eb8a4(int param_1,int param_2,undefined4 param_3)" (identifier "FUN_003eb8a4") (parameter_list "(int param_1,int param_2,undefined4 param_3)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) () ")"))) (compound_statement "{\n  if (param_2 < 0xbd) {\n    if ((*(int *)(param_1 + 0x30c) << 1 < 0) && (*(char *)(param_1 + param_2 + 0x318) != '\0')) {\n      *(undefined4 *)(param_1 + param_2 * 4) = param_3;\n      return;\n    }\n    if (PTR_DAT_004c256c[param_2 + -0x169c] == '\x04') {\n      **(undefined4 **)(param_1 + param_2 * 4) = param_3;\n      return;\n    }\n  }\n  (*(code *)PTR_abort_004c5d24)();\n  return;\n}" ({ "{") (if_statement "if (param_2 < 0xbd) {\n    if ((*(int *)(param_1 + 0x30c) << 1 < 0) && (*(char *)(param_1 + param_2 + 0x318) != '\0')) {\n      *(undefined4 *)(param_1 + param_2 * 4) = param_3;\n      return;\n    }\n    if (PTR_DAT_004c256c[param_2 + -0x169c] == '\x04') {\n      **(undefined4 **)(param_1 + param_2 * 4) = param_3;\n      return;\n    }\n  }" (if "if") (parenthesized_expression "(param_2 < 0xbd)" (( "(") (binary_expression "param_2 < 0xbd" (identifier "param_2") (< "<") (number_literal "0xbd")) () ")")) (compound_statement "{\n    if ((*(int *)(param_1 + 0x30c) << 1 < 0) && (*(char *)(param_1 + param_2 + 0x318) != '\0')) {\n      *(undefined4 *)(param_1 + param_2 * 4) = param_3;\n      return;\n    }\n    if (PTR_DAT_004c256c[param_2 + -0x169c] == '\x04') {\n      **(undefined4 **)(param_1 + param_2 * 4) = param_3;\n      return;\n    }\n  }" ({ "{") (if_statement "if ((*(int *)(param_1 + 0x30c) << 1 < 0) && (*(char *)(param_1 + param_2 + 0x318) != '\0')) {\n      *(undefined4 *)(param_1 + param_2 * 4) = param_3;\n      return;\n    }" (if "if") (parenthesized_expression "((*(int *)(param_1 + 0x30c) << 1 < 0) && (*(char *)(param_1 + param_2 + 0x318) != '\0'))" (( "(") (binary_expression "(*(int *)(param_1 + 0x30c) << 1 < 0) && (*(char *)(param_1 + param_2 + 0x318) != '\0')" (parenthesized_expression "(*(int *)(param_1 + 0x30c) << 1 < 0)" (( "(") (binary_expression "*(int *)(param_1 + 0x30c) << 1 < 0" (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")) (< "<") (number_literal "0")) () ")")) (&& "&&") (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      *(undefined4 *)(param_1 + param_2 * 4) = param_3;\n      return;\n    }" ({ "{") (expression_statement "*(undefined4 *)(param_1 + param_2 * 4) = param_3;" (assignment_expression "*(undefined4 *)(param_1 + param_2 * 4) = param_3" (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 "*" (* "*"))) () ")") (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"))) () ")")))) (= "=") (identifier "param_3")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (if_statement "if (PTR_DAT_004c256c[param_2 + -0x169c] == '\x04') {\n      **(undefined4 **)(param_1 + param_2 * 4) = param_3;\n      return;\n    }" (if "if") (parenthesized_expression "(PTR_DAT_004c256c[param_2 + -0x169c] == '\x04')" (( "(") (binary_expression "PTR_DAT_004c256c[param_2 + -0x169c] == '\x04'" (subscript_expression "PTR_DAT_004c256c[param_2 + -0x169c]" (identifier "PTR_DAT_004c256c") ([ "[") (binary_expression "param_2 + -0x169c" (identifier "param_2") (+ "+") (number_literal "-0x169c")) (] "]")) (== "==") (char_literal "'\x04'" (' "'") (escape_sequence "\x04") (' "'"))) () ")")) (compound_statement "{\n      **(undefined4 **)(param_1 + param_2 * 4) = param_3;\n      return;\n    }" ({ "{") (expression_statement "**(undefined4 **)(param_1 + param_2 * 4) = param_3;" (assignment_expression "**(undefined4 **)(param_1 + param_2 * 4) = param_3" (pointer_expression "**(undefined4 **)(param_1 + param_2 * 4)" (* "*") (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"))) () ")"))))) (= "=") (identifier "param_3")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (} "}"))) (expression_statement "(*(code *)PTR_abort_004c5d24)();" (call_expression "(*(code *)PTR_abort_004c5d24)()" (parenthesized_expression "(*(code *)PTR_abort_004c5d24)" (( "(") (pointer_expression "*(code *)PTR_abort_004c5d24" (* "*") (cast_expression "(code *)PTR_abort_004c5d24" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_abort_004c5d24"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (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: (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: (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: (identifier) right: (number_literal)))))) right: (identifier))) (return_statement))) (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: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (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))))))) right: (identifier))) (return_statement))))) (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))))

void MASKED(int param_1,int param_2,undefined4 param_3)

{
  if (param_2 < 0xbd) {
    if ((*(int *)(param_1 + 0x30c) << 1 < 0) && (*(char *)(param_1 + param_2 + 0x318) != '\0')) {
      *(undefined4 *)(param_1 + param_2 * 4) = param_3;
      return;
    }
    if (PTR_DAT_004c256c[param_2 + -0x169c] == '\x04') {
      **(undefined4 **)(param_1 + param_2 * 4) = param_3;
      return;
    }
  }
  (*(code *)PTR_abort_004c5d24)();
  return;
}

