r2.get_opcodes = function(off, n, cb) {
    r2.cmd('pdj @' + off + '!' + n + '|', function(json) {
        cb(JSON.parse(json));
    });
};