struct resource_vtbl { resource *(__thiscall *delete)(resource *__hidden this, uint flags); }; struct __cppobj resource { resource_vtbl *__vftable; };