
void exclude_add_pattern_buffer(exclude *ex,char *buf)

{
  pattern_buffer *ppVar1;
  pattern_buffer *ppVar2;
  
  ppVar1 = (pattern_buffer *)xmalloc(8);
  ppVar2 = ex->patbuf;
  ex->patbuf = ppVar1;
  ppVar1->base = buf;
  ppVar1->next = ppVar2;
  return;
}



void exclude_add_pattern_buffer(int param_1,undefined4 param_2)

{
  undefined4 *puVar1;
  undefined4 uVar2;
  
  puVar1 = (undefined4 *)xmalloc(8);
  uVar2 = *(undefined4 *)(param_1 + 4);
  *(undefined4 **)(param_1 + 4) = puVar1;
  puVar1[1] = param_2;
  *puVar1 = uVar2;
  return;
}


lui gp,0x4
addiu gp,gp,0x4a34
addu gp,gp,t9
addiu sp,sp,-0x28
lw t9,-0x7eac(gp)
sw s0,0x1c(sp)
or s0,a0,zero
li a0,0x8
sw s1,0x20(sp)
sw ra,0x24(sp)
sw gp,0x10(sp)
bal 0x0001f420
_or s1,a1,zero
lw v1,0x4(s0)
lw ra,0x24(sp)
sw v0,0x4(s0)
sw s1,0x4(v0)
sw v1,0x0(v0)
lw s1,0x20(sp)
lw s0,0x1c(sp)
jr ra
_addiu sp,sp,0x28
(translation_unit "void exclude_add_pattern_buffer(int param_1,undefined4 param_2)\n\n{\n  undefined4 *puVar1;\n  undefined4 uVar2;\n  \n  puVar1 = (undefined4 *)xmalloc(8);\n  uVar2 = *(undefined4 *)(param_1 + 4);\n  *(undefined4 **)(param_1 + 4) = puVar1;\n  puVar1[1] = param_2;\n  *puVar1 = uVar2;\n  return;\n}\n\n" (function_definition "void exclude_add_pattern_buffer(int param_1,undefined4 param_2)\n\n{\n  undefined4 *puVar1;\n  undefined4 uVar2;\n  \n  puVar1 = (undefined4 *)xmalloc(8);\n  uVar2 = *(undefined4 *)(param_1 + 4);\n  *(undefined4 **)(param_1 + 4) = puVar1;\n  puVar1[1] = param_2;\n  *puVar1 = uVar2;\n  return;\n}" primitive_type (function_declarator "exclude_add_pattern_buffer(int param_1,undefined4 param_2)" identifier (parameter_list "(int param_1,undefined4 param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  undefined4 *puVar1;\n  undefined4 uVar2;\n  \n  puVar1 = (undefined4 *)xmalloc(8);\n  uVar2 = *(undefined4 *)(param_1 + 4);\n  *(undefined4 **)(param_1 + 4) = puVar1;\n  puVar1[1] = param_2;\n  *puVar1 = uVar2;\n  return;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (expression_statement "puVar1 = (undefined4 *)xmalloc(8);" (assignment_expression "puVar1 = (undefined4 *)xmalloc(8)" identifier = (cast_expression "(undefined4 *)xmalloc(8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(8)" identifier (argument_list "(8)" ( number_literal ))))) ;) (expression_statement "uVar2 = *(undefined4 *)(param_1 + 4);" (assignment_expression "uVar2 = *(undefined4 *)(param_1 + 4)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 4)" * (cast_expression "(undefined4 *)(param_1 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 **)(param_1 + 4) = puVar1;" (assignment_expression "*(undefined4 **)(param_1 + 4) = puVar1" (pointer_expression "*(undefined4 **)(param_1 + 4)" * (cast_expression "(undefined4 **)(param_1 + 4)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) = identifier) ;) (expression_statement "puVar1[1] = param_2;" (assignment_expression "puVar1[1] = param_2" (subscript_expression "puVar1[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*puVar1 = uVar2;" (assignment_expression "*puVar1 = uVar2" (pointer_expression "*puVar1" * identifier) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "void exclude_add_pattern_buffer(exclude *ex,char *buf)\n\n{\n  pattern_buffer *ppVar1;\n  pattern_buffer *ppVar2;\n  \n  ppVar1 = (pattern_buffer *)xmalloc(8);\n  ppVar2 = ex->patbuf;\n  ex->patbuf = ppVar1;\n  ppVar1->base = buf;\n  ppVar1->next = ppVar2;\n  return;\n}\n\n" (function_definition "void exclude_add_pattern_buffer(exclude *ex,char *buf)\n\n{\n  pattern_buffer *ppVar1;\n  pattern_buffer *ppVar2;\n  \n  ppVar1 = (pattern_buffer *)xmalloc(8);\n  ppVar2 = ex->patbuf;\n  ex->patbuf = ppVar1;\n  ppVar1->base = buf;\n  ppVar1->next = ppVar2;\n  return;\n}" primitive_type (function_declarator "exclude_add_pattern_buffer(exclude *ex,char *buf)" identifier (parameter_list "(exclude *ex,char *buf)" ( (parameter_declaration "exclude *ex" type_identifier (pointer_declarator "*ex" * identifier)) , (parameter_declaration "char *buf" primitive_type (pointer_declarator "*buf" * identifier)) ))) (compound_statement "{\n  pattern_buffer *ppVar1;\n  pattern_buffer *ppVar2;\n  \n  ppVar1 = (pattern_buffer *)xmalloc(8);\n  ppVar2 = ex->patbuf;\n  ex->patbuf = ppVar1;\n  ppVar1->base = buf;\n  ppVar1->next = ppVar2;\n  return;\n}" { (declaration "pattern_buffer *ppVar1;" type_identifier (pointer_declarator "*ppVar1" * identifier) ;) (declaration "pattern_buffer *ppVar2;" type_identifier (pointer_declarator "*ppVar2" * identifier) ;) (expression_statement "ppVar1 = (pattern_buffer *)xmalloc(8);" (assignment_expression "ppVar1 = (pattern_buffer *)xmalloc(8)" identifier = (cast_expression "(pattern_buffer *)xmalloc(8)" ( (type_descriptor "pattern_buffer *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(8)" identifier (argument_list "(8)" ( number_literal ))))) ;) (expression_statement "ppVar2 = ex->patbuf;" (assignment_expression "ppVar2 = ex->patbuf" identifier = (field_expression "ex->patbuf" identifier -> field_identifier)) ;) (expression_statement "ex->patbuf = ppVar1;" (assignment_expression "ex->patbuf = ppVar1" (field_expression "ex->patbuf" identifier -> field_identifier) = identifier) ;) (expression_statement "ppVar1->base = buf;" (assignment_expression "ppVar1->base = buf" (field_expression "ppVar1->base" identifier -> field_identifier) = identifier) ;) (expression_statement "ppVar1->next = ppVar2;" (assignment_expression "ppVar1->next = ppVar2" (field_expression "ppVar1->next" identifier -> field_identifier) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "void exclude_add_pattern_buffer(int param_1,undefined4 param_2)\n\n{\n  undefined4 *puVar1;\n  undefined4 uVar2;\n  \n  puVar1 = (undefined4 *)xmalloc(8);\n  uVar2 = *(undefined4 *)(param_1 + 4);\n  *(undefined4 **)(param_1 + 4) = puVar1;\n  puVar1[1] = param_2;\n  *puVar1 = uVar2;\n  return;\n}\n\n" (function_definition "void exclude_add_pattern_buffer(int param_1,undefined4 param_2)\n\n{\n  undefined4 *puVar1;\n  undefined4 uVar2;\n  \n  puVar1 = (undefined4 *)xmalloc(8);\n  uVar2 = *(undefined4 *)(param_1 + 4);\n  *(undefined4 **)(param_1 + 4) = puVar1;\n  puVar1[1] = param_2;\n  *puVar1 = uVar2;\n  return;\n}" primitive_type (function_declarator "exclude_add_pattern_buffer(int param_1,undefined4 param_2)" identifier (parameter_list "(int param_1,undefined4 param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  undefined4 *puVar1;\n  undefined4 uVar2;\n  \n  puVar1 = (undefined4 *)xmalloc(8);\n  uVar2 = *(undefined4 *)(param_1 + 4);\n  *(undefined4 **)(param_1 + 4) = puVar1;\n  puVar1[1] = param_2;\n  *puVar1 = uVar2;\n  return;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (expression_statement "puVar1 = (undefined4 *)xmalloc(8);" (assignment_expression "puVar1 = (undefined4 *)xmalloc(8)" identifier = (cast_expression "(undefined4 *)xmalloc(8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(8)" identifier (argument_list "(8)" ( number_literal ))))) ;) (expression_statement "uVar2 = *(undefined4 *)(param_1 + 4);" (assignment_expression "uVar2 = *(undefined4 *)(param_1 + 4)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 4)" * (cast_expression "(undefined4 *)(param_1 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 **)(param_1 + 4) = puVar1;" (assignment_expression "*(undefined4 **)(param_1 + 4) = puVar1" (pointer_expression "*(undefined4 **)(param_1 + 4)" * (cast_expression "(undefined4 **)(param_1 + 4)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) = identifier) ;) (expression_statement "puVar1[1] = param_2;" (assignment_expression "puVar1[1] = param_2" (subscript_expression "puVar1[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*puVar1 = uVar2;" (assignment_expression "*puVar1 = uVar2" (pointer_expression "*puVar1" * identifier) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_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 (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (return_statement return ;) })))
(function_definition "void exclude_add_pattern_buffer(int param_1,undefined4 param_2)\n\n{\n  undefined4 *puVar1;\n  undefined4 uVar2;\n  \n  puVar1 = (undefined4 *)xmalloc(8);\n  uVar2 = *(undefined4 *)(param_1 + 4);\n  *(undefined4 **)(param_1 + 4) = puVar1;\n  puVar1[1] = param_2;\n  *puVar1 = uVar2;\n  return;\n}" (primitive_type "void") (function_declarator "exclude_add_pattern_buffer(int param_1,undefined4 param_2)" (identifier "exclude_add_pattern_buffer") (parameter_list "(int param_1,undefined4 param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) () ")"))) (compound_statement "{\n  undefined4 *puVar1;\n  undefined4 uVar2;\n  \n  puVar1 = (undefined4 *)xmalloc(8);\n  uVar2 = *(undefined4 *)(param_1 + 4);\n  *(undefined4 **)(param_1 + 4) = puVar1;\n  puVar1[1] = param_2;\n  *puVar1 = uVar2;\n  return;\n}" ({ "{") (declaration "undefined4 *puVar1;" (type_identifier "undefined4") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (expression_statement "puVar1 = (undefined4 *)xmalloc(8);" (assignment_expression "puVar1 = (undefined4 *)xmalloc(8)" (identifier "puVar1") (= "=") (cast_expression "(undefined4 *)xmalloc(8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "xmalloc(8)" (identifier "xmalloc") (argument_list "(8)" (( "(") (number_literal "8") () ")"))))) (; ";")) (expression_statement "uVar2 = *(undefined4 *)(param_1 + 4);" (assignment_expression "uVar2 = *(undefined4 *)(param_1 + 4)" (identifier "uVar2") (= "=") (pointer_expression "*(undefined4 *)(param_1 + 4)" (* "*") (cast_expression "(undefined4 *)(param_1 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (expression_statement "*(undefined4 **)(param_1 + 4) = puVar1;" (assignment_expression "*(undefined4 **)(param_1 + 4) = puVar1" (pointer_expression "*(undefined4 **)(param_1 + 4)" (* "*") (cast_expression "(undefined4 **)(param_1 + 4)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")")))) (= "=") (identifier "puVar1")) (; ";")) (expression_statement "puVar1[1] = param_2;" (assignment_expression "puVar1[1] = param_2" (subscript_expression "puVar1[1]" (identifier "puVar1") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "param_2")) (; ";")) (expression_statement "*puVar1 = uVar2;" (assignment_expression "*puVar1 = uVar2" (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (= "=") (identifier "uVar2")) (; ";")) (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: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (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: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (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))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (return_statement))))

void MASKED(int param_1,undefined4 param_2)

{
  undefined4 *puVar1;
  undefined4 uVar2;
  
  puVar1 = (undefined4 *)xmalloc(8);
  uVar2 = *(undefined4 *)(param_1 + 4);
  *(undefined4 **)(param_1 + 4) = puVar1;
  puVar1[1] = param_2;
  *puVar1 = uVar2;
  return;
}

