#pragma once #include class ResourcePack; class ResourcePackRepository; struct ResourcePackStack { static void** vtable_sym; static void (*ResourcePackStack_add)(ResourcePackStack*, ResourcePack*, ResourcePackRepository const&, bool); void** vtable; char filler[0x30]; ResourcePackStack() { vtable = vtable_sym + 2; memset(filler, 0, sizeof(filler)); } void add(ResourcePack* resPack, ResourcePackRepository const& repo, bool b) { ResourcePackStack_add(this, resPack, repo, b); } };