{
    "Function": "_hide",
    "File": "contracts/RubiconMarket.sol",
    "Parent Contracts": [
        "contracts/RubiconMarket.sol",
        "contracts/RubiconMarket.sol",
        "contracts/RubiconMarket.sol",
        "contracts/RubiconMarket.sol",
        "contracts/RubiconMarket.sol",
        "contracts/RubiconMarket.sol",
        "contracts/RubiconMarket.sol",
        "contracts/RubiconMarket.sol"
    ],
    "High-Level Calls": [],
    "Internal Calls": [
        "isOfferSorted",
        "require(bool)"
    ],
    "Library Calls": [],
    "Low-Level Calls": [],
    "Code": "function _hide(\n        uint256 id //id of maker offer to remove from unsorted list\n    ) internal returns (bool) {\n        uint256 uid = _head; //id of an offer in unsorted offers list\n        uint256 pre = uid; //id of previous offer in unsorted offers list\n\n        require(!isOfferSorted(id)); //make sure offer id is not in sorted offers list\n\n        if (_head == id) {\n            //check if offer is first offer in unsorted offers list\n            _head = _near[id]; //set head to new first unsorted offer\n            _near[id] = 0; //delete order from unsorted order list\n            return true;\n        }\n        while (uid > 0 && uid != id) {\n            //find offer in unsorted order list\n            pre = uid;\n            uid = _near[uid];\n        }\n        if (uid != id) {\n            //did not find offer id in unsorted offers list\n            return false;\n        }\n        _near[pre] = _near[id]; //set previous unsorted offer to point to offer after offer id\n        _near[id] = 0; //delete order from unsorted order list\n        return true;\n    }"
}