{
    "Function": "executeBridgeCall",
    "File": "contracts/tests/arbitrum/OutboxMock.sol",
    "Parent Contracts": [
        "contracts/arbitrum/IOutbox.sol"
    ],
    "High-Level Calls": [
        "IBridge"
    ],
    "Internal Calls": [
        "revert(string)",
        "mload(uint256)",
        "revert(uint256,uint256)"
    ],
    "Library Calls": [],
    "Low-Level Calls": [],
    "Code": "function executeBridgeCall(\n        address _destAddr,\n        uint256 _amount,\n        bytes memory _data\n    ) internal {\n        (bool success, bytes memory returndata) = bridge.executeCall(_destAddr, _amount, _data);\n        if (!success) {\n            if (returndata.length > 0) {\n                // solhint-disable-next-line no-inline-assembly\n                assembly {\n                    let returndata_size := mload(returndata)\n                    revert(add(32, returndata), returndata_size)\n                }\n            } else {\n                revert(\"BRIDGE_CALL_FAILED\");\n            }\n        }\n    }"
}