local vtable = {}
local __thiscall = function(func, this)
return function(...) return func(this, ...) end
end
local interface_ptr = ffi.typeof("void***")
vtable.bind = function(module, interface, index, typedef)
local addr = ffi.cast("void***", memory.create_interface(module, interface)) or error(interface .. "...