#pragma once #include struct NativeFunction { virtual ~NativeFunction() = 0; void* pad8; BSFixedString functionName; BSFixedString typeName; uint8_t pad20[0x50 - 0x20]; void* functionAddress; }; static_assert(offsetof(NativeFunction, functionName) == 0x10); static_assert(offsetof(NativeFunction, typeName) == 0x18); static_assert(offsetof(NativeFunction, functionAddress) == 0x50);