
void lang_add_attribute(statement_enum attribute)

{
  undefined4 *puVar1;
  int iVar2;
  
  iVar2 = *(int *)PTR_stat_ptr_001dbbf8;
  puVar1 = (undefined4 *)stat_alloc(8);
  puVar1[1] = attribute;
  *puVar1 = 0;
  **(undefined4 **)(iVar2 + 4) = puVar1;
  *(undefined4 **)(iVar2 + 4) = puVar1;
  return;
}



void lang_add_attribute(undefined4 param_1)

{
  undefined4 *puVar1;
  int iVar2;
  
  iVar2 = *(int *)PTR_stat_ptr_001dbbf8;
  puVar1 = (undefined4 *)stat_alloc(8);
  puVar1[1] = param_1;
  *puVar1 = 0;
  **(undefined4 **)(iVar2 + 4) = puVar1;
  *(undefined4 **)(iVar2 + 4) = puVar1;
  return;
}


lui gp,0x1b
addiu gp,gp,0x5e08
addu gp,gp,t9
lw v0,-0x7cd8(gp)
addiu sp,sp,-0x28
lw t9,-0x7d30(gp)
sw s1,0x20(sp)
or s1,a0,zero
sw s0,0x1c(sp)
li a0,0x8
sw ra,0x24(sp)
sw gp,0x10(sp)
bal 0x0002663c
_lw s0,0x0(v0)
lw ra,0x24(sp)
sw s1,0x4(v0)
sw zero,0x0(v0)
lw v1,0x4(s0)
lw s1,0x20(sp)
sw v0,0x0(v1)
sw v0,0x4(s0)
lw s0,0x1c(sp)
jr ra
_addiu sp,sp,0x28
(translation_unit "void lang_add_attribute(undefined4 param_1)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  \n  iVar2 = *(int *)PTR_stat_ptr_001dbbf8;\n  puVar1 = (undefined4 *)stat_alloc(8);\n  puVar1[1] = param_1;\n  *puVar1 = 0;\n  **(undefined4 **)(iVar2 + 4) = puVar1;\n  *(undefined4 **)(iVar2 + 4) = puVar1;\n  return;\n}\n\n" (function_definition "void lang_add_attribute(undefined4 param_1)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  \n  iVar2 = *(int *)PTR_stat_ptr_001dbbf8;\n  puVar1 = (undefined4 *)stat_alloc(8);\n  puVar1[1] = param_1;\n  *puVar1 = 0;\n  **(undefined4 **)(iVar2 + 4) = puVar1;\n  *(undefined4 **)(iVar2 + 4) = puVar1;\n  return;\n}" primitive_type (function_declarator "lang_add_attribute(undefined4 param_1)" identifier (parameter_list "(undefined4 param_1)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) ))) (compound_statement "{\n  undefined4 *puVar1;\n  int iVar2;\n  \n  iVar2 = *(int *)PTR_stat_ptr_001dbbf8;\n  puVar1 = (undefined4 *)stat_alloc(8);\n  puVar1[1] = param_1;\n  *puVar1 = 0;\n  **(undefined4 **)(iVar2 + 4) = puVar1;\n  *(undefined4 **)(iVar2 + 4) = puVar1;\n  return;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (expression_statement "iVar2 = *(int *)PTR_stat_ptr_001dbbf8;" (assignment_expression "iVar2 = *(int *)PTR_stat_ptr_001dbbf8" identifier = (pointer_expression "*(int *)PTR_stat_ptr_001dbbf8" * (cast_expression "(int *)PTR_stat_ptr_001dbbf8" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "puVar1 = (undefined4 *)stat_alloc(8);" (assignment_expression "puVar1 = (undefined4 *)stat_alloc(8)" identifier = (cast_expression "(undefined4 *)stat_alloc(8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "stat_alloc(8)" identifier (argument_list "(8)" ( number_literal ))))) ;) (expression_statement "puVar1[1] = param_1;" (assignment_expression "puVar1[1] = param_1" (subscript_expression "puVar1[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*puVar1 = 0;" (assignment_expression "*puVar1 = 0" (pointer_expression "*puVar1" * identifier) = number_literal) ;) (expression_statement "**(undefined4 **)(iVar2 + 4) = puVar1;" (assignment_expression "**(undefined4 **)(iVar2 + 4) = puVar1" (pointer_expression "**(undefined4 **)(iVar2 + 4)" * (pointer_expression "*(undefined4 **)(iVar2 + 4)" * (cast_expression "(undefined4 **)(iVar2 + 4)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar2 + 4)" ( (binary_expression "iVar2 + 4" identifier + number_literal) ))))) = identifier) ;) (expression_statement "*(undefined4 **)(iVar2 + 4) = puVar1;" (assignment_expression "*(undefined4 **)(iVar2 + 4) = puVar1" (pointer_expression "*(undefined4 **)(iVar2 + 4)" * (cast_expression "(undefined4 **)(iVar2 + 4)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar2 + 4)" ( (binary_expression "iVar2 + 4" identifier + number_literal) )))) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "void lang_add_attribute(statement_enum attribute)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  \n  iVar2 = *(int *)PTR_stat_ptr_001dbbf8;\n  puVar1 = (undefined4 *)stat_alloc(8);\n  puVar1[1] = attribute;\n  *puVar1 = 0;\n  **(undefined4 **)(iVar2 + 4) = puVar1;\n  *(undefined4 **)(iVar2 + 4) = puVar1;\n  return;\n}\n\n" (function_definition "void lang_add_attribute(statement_enum attribute)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  \n  iVar2 = *(int *)PTR_stat_ptr_001dbbf8;\n  puVar1 = (undefined4 *)stat_alloc(8);\n  puVar1[1] = attribute;\n  *puVar1 = 0;\n  **(undefined4 **)(iVar2 + 4) = puVar1;\n  *(undefined4 **)(iVar2 + 4) = puVar1;\n  return;\n}" primitive_type (function_declarator "lang_add_attribute(statement_enum attribute)" identifier (parameter_list "(statement_enum attribute)" ( (parameter_declaration "statement_enum attribute" type_identifier identifier) ))) (compound_statement "{\n  undefined4 *puVar1;\n  int iVar2;\n  \n  iVar2 = *(int *)PTR_stat_ptr_001dbbf8;\n  puVar1 = (undefined4 *)stat_alloc(8);\n  puVar1[1] = attribute;\n  *puVar1 = 0;\n  **(undefined4 **)(iVar2 + 4) = puVar1;\n  *(undefined4 **)(iVar2 + 4) = puVar1;\n  return;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (expression_statement "iVar2 = *(int *)PTR_stat_ptr_001dbbf8;" (assignment_expression "iVar2 = *(int *)PTR_stat_ptr_001dbbf8" identifier = (pointer_expression "*(int *)PTR_stat_ptr_001dbbf8" * (cast_expression "(int *)PTR_stat_ptr_001dbbf8" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "puVar1 = (undefined4 *)stat_alloc(8);" (assignment_expression "puVar1 = (undefined4 *)stat_alloc(8)" identifier = (cast_expression "(undefined4 *)stat_alloc(8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "stat_alloc(8)" identifier (argument_list "(8)" ( number_literal ))))) ;) (expression_statement "puVar1[1] = attribute;" (assignment_expression "puVar1[1] = attribute" (subscript_expression "puVar1[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*puVar1 = 0;" (assignment_expression "*puVar1 = 0" (pointer_expression "*puVar1" * identifier) = number_literal) ;) (expression_statement "**(undefined4 **)(iVar2 + 4) = puVar1;" (assignment_expression "**(undefined4 **)(iVar2 + 4) = puVar1" (pointer_expression "**(undefined4 **)(iVar2 + 4)" * (pointer_expression "*(undefined4 **)(iVar2 + 4)" * (cast_expression "(undefined4 **)(iVar2 + 4)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar2 + 4)" ( (binary_expression "iVar2 + 4" identifier + number_literal) ))))) = identifier) ;) (expression_statement "*(undefined4 **)(iVar2 + 4) = puVar1;" (assignment_expression "*(undefined4 **)(iVar2 + 4) = puVar1" (pointer_expression "*(undefined4 **)(iVar2 + 4)" * (cast_expression "(undefined4 **)(iVar2 + 4)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar2 + 4)" ( (binary_expression "iVar2 + 4" identifier + number_literal) )))) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "void lang_add_attribute(undefined4 param_1)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  \n  iVar2 = *(int *)PTR_stat_ptr_001dbbf8;\n  puVar1 = (undefined4 *)stat_alloc(8);\n  puVar1[1] = param_1;\n  *puVar1 = 0;\n  **(undefined4 **)(iVar2 + 4) = puVar1;\n  *(undefined4 **)(iVar2 + 4) = puVar1;\n  return;\n}\n\n" (function_definition "void lang_add_attribute(undefined4 param_1)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  \n  iVar2 = *(int *)PTR_stat_ptr_001dbbf8;\n  puVar1 = (undefined4 *)stat_alloc(8);\n  puVar1[1] = param_1;\n  *puVar1 = 0;\n  **(undefined4 **)(iVar2 + 4) = puVar1;\n  *(undefined4 **)(iVar2 + 4) = puVar1;\n  return;\n}" primitive_type (function_declarator "lang_add_attribute(undefined4 param_1)" identifier (parameter_list "(undefined4 param_1)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) ))) (compound_statement "{\n  undefined4 *puVar1;\n  int iVar2;\n  \n  iVar2 = *(int *)PTR_stat_ptr_001dbbf8;\n  puVar1 = (undefined4 *)stat_alloc(8);\n  puVar1[1] = param_1;\n  *puVar1 = 0;\n  **(undefined4 **)(iVar2 + 4) = puVar1;\n  *(undefined4 **)(iVar2 + 4) = puVar1;\n  return;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (expression_statement "iVar2 = *(int *)PTR_stat_ptr_001dbbf8;" (assignment_expression "iVar2 = *(int *)PTR_stat_ptr_001dbbf8" identifier = (pointer_expression "*(int *)PTR_stat_ptr_001dbbf8" * (cast_expression "(int *)PTR_stat_ptr_001dbbf8" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "puVar1 = (undefined4 *)stat_alloc(8);" (assignment_expression "puVar1 = (undefined4 *)stat_alloc(8)" identifier = (cast_expression "(undefined4 *)stat_alloc(8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "stat_alloc(8)" identifier (argument_list "(8)" ( number_literal ))))) ;) (expression_statement "puVar1[1] = param_1;" (assignment_expression "puVar1[1] = param_1" (subscript_expression "puVar1[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*puVar1 = 0;" (assignment_expression "*puVar1 = 0" (pointer_expression "*puVar1" * identifier) = number_literal) ;) (expression_statement "**(undefined4 **)(iVar2 + 4) = puVar1;" (assignment_expression "**(undefined4 **)(iVar2 + 4) = puVar1" (pointer_expression "**(undefined4 **)(iVar2 + 4)" * (pointer_expression "*(undefined4 **)(iVar2 + 4)" * (cast_expression "(undefined4 **)(iVar2 + 4)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar2 + 4)" ( (binary_expression "iVar2 + 4" identifier + number_literal) ))))) = identifier) ;) (expression_statement "*(undefined4 **)(iVar2 + 4) = puVar1;" (assignment_expression "*(undefined4 **)(iVar2 + 4) = puVar1" (pointer_expression "*(undefined4 **)(iVar2 + 4)" * (cast_expression "(undefined4 **)(iVar2 + 4)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar2 + 4)" ( (binary_expression "iVar2 + 4" identifier + number_literal) )))) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT ))))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (return_statement return ;) })))
(function_definition "void lang_add_attribute(undefined4 param_1)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  \n  iVar2 = *(int *)PTR_stat_ptr_001dbbf8;\n  puVar1 = (undefined4 *)stat_alloc(8);\n  puVar1[1] = param_1;\n  *puVar1 = 0;\n  **(undefined4 **)(iVar2 + 4) = puVar1;\n  *(undefined4 **)(iVar2 + 4) = puVar1;\n  return;\n}" (primitive_type "void") (function_declarator "lang_add_attribute(undefined4 param_1)" (identifier "lang_add_attribute") (parameter_list "(undefined4 param_1)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) () ")"))) (compound_statement "{\n  undefined4 *puVar1;\n  int iVar2;\n  \n  iVar2 = *(int *)PTR_stat_ptr_001dbbf8;\n  puVar1 = (undefined4 *)stat_alloc(8);\n  puVar1[1] = param_1;\n  *puVar1 = 0;\n  **(undefined4 **)(iVar2 + 4) = puVar1;\n  *(undefined4 **)(iVar2 + 4) = puVar1;\n  return;\n}" ({ "{") (declaration "undefined4 *puVar1;" (type_identifier "undefined4") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (expression_statement "iVar2 = *(int *)PTR_stat_ptr_001dbbf8;" (assignment_expression "iVar2 = *(int *)PTR_stat_ptr_001dbbf8" (identifier "iVar2") (= "=") (pointer_expression "*(int *)PTR_stat_ptr_001dbbf8" (* "*") (cast_expression "(int *)PTR_stat_ptr_001dbbf8" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_stat_ptr_001dbbf8")))) (; ";")) (expression_statement "puVar1 = (undefined4 *)stat_alloc(8);" (assignment_expression "puVar1 = (undefined4 *)stat_alloc(8)" (identifier "puVar1") (= "=") (cast_expression "(undefined4 *)stat_alloc(8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "stat_alloc(8)" (identifier "stat_alloc") (argument_list "(8)" (( "(") (number_literal "8") () ")"))))) (; ";")) (expression_statement "puVar1[1] = param_1;" (assignment_expression "puVar1[1] = param_1" (subscript_expression "puVar1[1]" (identifier "puVar1") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "param_1")) (; ";")) (expression_statement "*puVar1 = 0;" (assignment_expression "*puVar1 = 0" (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (= "=") (number_literal "0")) (; ";")) (expression_statement "**(undefined4 **)(iVar2 + 4) = puVar1;" (assignment_expression "**(undefined4 **)(iVar2 + 4) = puVar1" (pointer_expression "**(undefined4 **)(iVar2 + 4)" (* "*") (pointer_expression "*(undefined4 **)(iVar2 + 4)" (* "*") (cast_expression "(undefined4 **)(iVar2 + 4)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar2 + 4)" (( "(") (binary_expression "iVar2 + 4" (identifier "iVar2") (+ "+") (number_literal "4")) () ")"))))) (= "=") (identifier "puVar1")) (; ";")) (expression_statement "*(undefined4 **)(iVar2 + 4) = puVar1;" (assignment_expression "*(undefined4 **)(iVar2 + 4) = puVar1" (pointer_expression "*(undefined4 **)(iVar2 + 4)" (* "*") (cast_expression "(undefined4 **)(iVar2 + 4)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar2 + 4)" (( "(") (binary_expression "iVar2 + 4" (identifier "iVar2") (+ "+") (number_literal "4")) () ")")))) (= "=") (identifier "puVar1")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (number_literal)))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) (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: (number_literal)))))) right: (identifier))) (expression_statement (assignment_expression left: (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))))) right: (identifier))) (return_statement))))

void MASKED(undefined4 param_1)

{
  undefined4 *puVar1;
  int iVar2;
  
  iVar2 = *(int *)PTR_stat_ptr_001dbbf8;
  puVar1 = (undefined4 *)stat_alloc(8);
  puVar1[1] = param_1;
  *puVar1 = 0;
  **(undefined4 **)(iVar2 + 4) = puVar1;
  *(undefined4 **)(iVar2 + 4) = puVar1;
  return;
}

