
void agent_cancel_query(agent_pending_query *conn)

{
  uxsel_del(conn->fd);
  (*(code *)PTR_close_000b2d44)(conn->fd);
  del234(*(tree234 **)(PTR_DAT_000b2398 + 0x36a0),conn);
  (*(code *)PTR_safefree_000b23d0)(conn);
  return;
}



void agent_cancel_query(undefined4 *param_1)

{
  uxsel_del(*param_1);
  (*(code *)PTR_close_000b2d44)(*param_1);
  del234(*(undefined4 *)(PTR_DAT_000b2398 + 0x36a0),param_1);
  (*(code *)PTR_safefree_000b23d0)(param_1);
  return;
}


lui gp,0x4
addiu gp,gp,-0x4e28
addu gp,gp,t9
addiu sp,sp,-0x20
lw t9,-0x7728(gp)
sw s0,0x18(sp)
or s0,a0,zero
sw ra,0x1c(sp)
sw gp,0x10(sp)
bal 0x00086398
_lw a0,0x0(a0)
lw gp,0x10(sp)
lw t9,-0x762c(gp)
jalr t9
_lw a0,0x0(s0)
or a1,s0,zero
lw gp,0x10(sp)
lw v0,-0x7fd8(gp)
lw t9,-0x7eb8(gp)
bal 0x0007ef10
_lw a0,0x36a0(v0)
or a0,s0,zero
lw gp,0x10(sp)
lw ra,0x1c(sp)
lw s0,0x18(sp)
lw t9,-0x7fa0(gp)
jr t9
_addiu sp,sp,0x20
(translation_unit "void agent_cancel_query(undefined4 *param_1)\n\n{\n  uxsel_del(*param_1);\n  (*(code *)PTR_close_000b2d44)(*param_1);\n  del234(*(undefined4 *)(PTR_DAT_000b2398 + 0x36a0),param_1);\n  (*(code *)PTR_safefree_000b23d0)(param_1);\n  return;\n}\n\n" (function_definition "void agent_cancel_query(undefined4 *param_1)\n\n{\n  uxsel_del(*param_1);\n  (*(code *)PTR_close_000b2d44)(*param_1);\n  del234(*(undefined4 *)(PTR_DAT_000b2398 + 0x36a0),param_1);\n  (*(code *)PTR_safefree_000b23d0)(param_1);\n  return;\n}" primitive_type (function_declarator "agent_cancel_query(undefined4 *param_1)" identifier (parameter_list "(undefined4 *param_1)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  uxsel_del(*param_1);\n  (*(code *)PTR_close_000b2d44)(*param_1);\n  del234(*(undefined4 *)(PTR_DAT_000b2398 + 0x36a0),param_1);\n  (*(code *)PTR_safefree_000b23d0)(param_1);\n  return;\n}" { (expression_statement "uxsel_del(*param_1);" (call_expression "uxsel_del(*param_1)" identifier (argument_list "(*param_1)" ( (pointer_expression "*param_1" * identifier) ))) ;) (expression_statement "(*(code *)PTR_close_000b2d44)(*param_1);" (call_expression "(*(code *)PTR_close_000b2d44)(*param_1)" (parenthesized_expression "(*(code *)PTR_close_000b2d44)" ( (pointer_expression "*(code *)PTR_close_000b2d44" * (cast_expression "(code *)PTR_close_000b2d44" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*param_1)" ( (pointer_expression "*param_1" * identifier) ))) ;) (expression_statement "del234(*(undefined4 *)(PTR_DAT_000b2398 + 0x36a0),param_1);" (call_expression "del234(*(undefined4 *)(PTR_DAT_000b2398 + 0x36a0),param_1)" identifier (argument_list "(*(undefined4 *)(PTR_DAT_000b2398 + 0x36a0),param_1)" ( (pointer_expression "*(undefined4 *)(PTR_DAT_000b2398 + 0x36a0)" * (cast_expression "(undefined4 *)(PTR_DAT_000b2398 + 0x36a0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_000b2398 + 0x36a0)" ( (binary_expression "PTR_DAT_000b2398 + 0x36a0" identifier + number_literal) )))) , identifier ))) ;) (expression_statement "(*(code *)PTR_safefree_000b23d0)(param_1);" (call_expression "(*(code *)PTR_safefree_000b23d0)(param_1)" (parenthesized_expression "(*(code *)PTR_safefree_000b23d0)" ( (pointer_expression "*(code *)PTR_safefree_000b23d0" * (cast_expression "(code *)PTR_safefree_000b23d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void agent_cancel_query(agent_pending_query *conn)\n\n{\n  uxsel_del(conn->fd);\n  (*(code *)PTR_close_000b2d44)(conn->fd);\n  del234(*(tree234 **)(PTR_DAT_000b2398 + 0x36a0),conn);\n  (*(code *)PTR_safefree_000b23d0)(conn);\n  return;\n}\n\n" (function_definition "void agent_cancel_query(agent_pending_query *conn)\n\n{\n  uxsel_del(conn->fd);\n  (*(code *)PTR_close_000b2d44)(conn->fd);\n  del234(*(tree234 **)(PTR_DAT_000b2398 + 0x36a0),conn);\n  (*(code *)PTR_safefree_000b23d0)(conn);\n  return;\n}" primitive_type (function_declarator "agent_cancel_query(agent_pending_query *conn)" identifier (parameter_list "(agent_pending_query *conn)" ( (parameter_declaration "agent_pending_query *conn" type_identifier (pointer_declarator "*conn" * identifier)) ))) (compound_statement "{\n  uxsel_del(conn->fd);\n  (*(code *)PTR_close_000b2d44)(conn->fd);\n  del234(*(tree234 **)(PTR_DAT_000b2398 + 0x36a0),conn);\n  (*(code *)PTR_safefree_000b23d0)(conn);\n  return;\n}" { (expression_statement "uxsel_del(conn->fd);" (call_expression "uxsel_del(conn->fd)" identifier (argument_list "(conn->fd)" ( (field_expression "conn->fd" identifier -> field_identifier) ))) ;) (expression_statement "(*(code *)PTR_close_000b2d44)(conn->fd);" (call_expression "(*(code *)PTR_close_000b2d44)(conn->fd)" (parenthesized_expression "(*(code *)PTR_close_000b2d44)" ( (pointer_expression "*(code *)PTR_close_000b2d44" * (cast_expression "(code *)PTR_close_000b2d44" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(conn->fd)" ( (field_expression "conn->fd" identifier -> field_identifier) ))) ;) (expression_statement "del234(*(tree234 **)(PTR_DAT_000b2398 + 0x36a0),conn);" (call_expression "del234(*(tree234 **)(PTR_DAT_000b2398 + 0x36a0),conn)" identifier (argument_list "(*(tree234 **)(PTR_DAT_000b2398 + 0x36a0),conn)" ( (pointer_expression "*(tree234 **)(PTR_DAT_000b2398 + 0x36a0)" * (cast_expression "(tree234 **)(PTR_DAT_000b2398 + 0x36a0)" ( (type_descriptor "tree234 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_DAT_000b2398 + 0x36a0)" ( (binary_expression "PTR_DAT_000b2398 + 0x36a0" identifier + number_literal) )))) , identifier ))) ;) (expression_statement "(*(code *)PTR_safefree_000b23d0)(conn);" (call_expression "(*(code *)PTR_safefree_000b23d0)(conn)" (parenthesized_expression "(*(code *)PTR_safefree_000b23d0)" ( (pointer_expression "*(code *)PTR_safefree_000b23d0" * (cast_expression "(code *)PTR_safefree_000b23d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(conn)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void agent_cancel_query(undefined4 *param_1)\n\n{\n  uxsel_del(*param_1);\n  (*(code *)PTR_close_000b2d44)(*param_1);\n  del234(*(undefined4 *)(PTR_DAT_000b2398 + 0x36a0),param_1);\n  (*(code *)PTR_safefree_000b23d0)(param_1);\n  return;\n}\n\n" (function_definition "void agent_cancel_query(undefined4 *param_1)\n\n{\n  uxsel_del(*param_1);\n  (*(code *)PTR_close_000b2d44)(*param_1);\n  del234(*(undefined4 *)(PTR_DAT_000b2398 + 0x36a0),param_1);\n  (*(code *)PTR_safefree_000b23d0)(param_1);\n  return;\n}" primitive_type (function_declarator "agent_cancel_query(undefined4 *param_1)" identifier (parameter_list "(undefined4 *param_1)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  uxsel_del(*param_1);\n  (*(code *)PTR_close_000b2d44)(*param_1);\n  del234(*(undefined4 *)(PTR_DAT_000b2398 + 0x36a0),param_1);\n  (*(code *)PTR_safefree_000b23d0)(param_1);\n  return;\n}" { (expression_statement "uxsel_del(*param_1);" (call_expression "uxsel_del(*param_1)" identifier (argument_list "(*param_1)" ( (pointer_expression "*param_1" * identifier) ))) ;) (expression_statement "(*(code *)PTR_close_000b2d44)(*param_1);" (call_expression "(*(code *)PTR_close_000b2d44)(*param_1)" (parenthesized_expression "(*(code *)PTR_close_000b2d44)" ( (pointer_expression "*(code *)PTR_close_000b2d44" * (cast_expression "(code *)PTR_close_000b2d44" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*param_1)" ( (pointer_expression "*param_1" * identifier) ))) ;) (expression_statement "del234(*(undefined4 *)(PTR_DAT_000b2398 + 0x36a0),param_1);" (call_expression "del234(*(undefined4 *)(PTR_DAT_000b2398 + 0x36a0),param_1)" identifier (argument_list "(*(undefined4 *)(PTR_DAT_000b2398 + 0x36a0),param_1)" ( (pointer_expression "*(undefined4 *)(PTR_DAT_000b2398 + 0x36a0)" * (cast_expression "(undefined4 *)(PTR_DAT_000b2398 + 0x36a0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_000b2398 + 0x36a0)" ( (binary_expression "PTR_DAT_000b2398 + 0x36a0" identifier + number_literal) )))) , identifier ))) ;) (expression_statement "(*(code *)PTR_safefree_000b23d0)(param_1);" (call_expression "(*(code *)PTR_safefree_000b23d0)(param_1)" (parenthesized_expression "(*(code *)PTR_safefree_000b23d0)" ( (pointer_expression "*(code *)PTR_safefree_000b23d0" * (cast_expression "(code *)PTR_safefree_000b23d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * IDENT) ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression * IDENT) ))) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) (return_statement return ;) })))
(function_definition "void agent_cancel_query(undefined4 *param_1)\n\n{\n  uxsel_del(*param_1);\n  (*(code *)PTR_close_000b2d44)(*param_1);\n  del234(*(undefined4 *)(PTR_DAT_000b2398 + 0x36a0),param_1);\n  (*(code *)PTR_safefree_000b23d0)(param_1);\n  return;\n}" (primitive_type "void") (function_declarator "agent_cancel_query(undefined4 *param_1)" (identifier "agent_cancel_query") (parameter_list "(undefined4 *param_1)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  uxsel_del(*param_1);\n  (*(code *)PTR_close_000b2d44)(*param_1);\n  del234(*(undefined4 *)(PTR_DAT_000b2398 + 0x36a0),param_1);\n  (*(code *)PTR_safefree_000b23d0)(param_1);\n  return;\n}" ({ "{") (expression_statement "uxsel_del(*param_1);" (call_expression "uxsel_del(*param_1)" (identifier "uxsel_del") (argument_list "(*param_1)" (( "(") (pointer_expression "*param_1" (* "*") (identifier "param_1")) () ")"))) (; ";")) (expression_statement "(*(code *)PTR_close_000b2d44)(*param_1);" (call_expression "(*(code *)PTR_close_000b2d44)(*param_1)" (parenthesized_expression "(*(code *)PTR_close_000b2d44)" (( "(") (pointer_expression "*(code *)PTR_close_000b2d44" (* "*") (cast_expression "(code *)PTR_close_000b2d44" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_close_000b2d44"))) () ")")) (argument_list "(*param_1)" (( "(") (pointer_expression "*param_1" (* "*") (identifier "param_1")) () ")"))) (; ";")) (expression_statement "del234(*(undefined4 *)(PTR_DAT_000b2398 + 0x36a0),param_1);" (call_expression "del234(*(undefined4 *)(PTR_DAT_000b2398 + 0x36a0),param_1)" (identifier "del234") (argument_list "(*(undefined4 *)(PTR_DAT_000b2398 + 0x36a0),param_1)" (( "(") (pointer_expression "*(undefined4 *)(PTR_DAT_000b2398 + 0x36a0)" (* "*") (cast_expression "(undefined4 *)(PTR_DAT_000b2398 + 0x36a0)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_000b2398 + 0x36a0)" (( "(") (binary_expression "PTR_DAT_000b2398 + 0x36a0" (identifier "PTR_DAT_000b2398") (+ "+") (number_literal "0x36a0")) () ")")))) (, ",") (identifier "param_1") () ")"))) (; ";")) (expression_statement "(*(code *)PTR_safefree_000b23d0)(param_1);" (call_expression "(*(code *)PTR_safefree_000b23d0)(param_1)" (parenthesized_expression "(*(code *)PTR_safefree_000b23d0)" (( "(") (pointer_expression "*(code *)PTR_safefree_000b23d0" (* "*") (cast_expression "(code *)PTR_safefree_000b23d0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_safefree_000b23d0"))) () ")")) (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))) (; ";")) (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: (pointer_declarator declarator: (identifier))))) body: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (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 (pointer_expression argument: (identifier))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (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))))) (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 (identifier)))) (return_statement))))

void MASKED(undefined4 *param_1)

{
  uxsel_del(*param_1);
  (*(code *)PTR_close_000b2d44)(*param_1);
  del234(*(undefined4 *)(PTR_DAT_000b2398 + 0x36a0),param_1);
  (*(code *)PTR_safefree_000b23d0)(param_1);
  return;
}

