//
// cocos2d::CCApplication::~CCApplication from 0x180075170 to 0x1800751cc (92 bytes)
//
// 4 xrefs:
// > sub_180075320 @ 0x18007537e
// > sub_180075320 @ 0x18007533c
// > ??> @ 0x18014cf68
// > ??> @ 0x1801be704
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:21:58 +0000
//
void __fastcall cocos2d::CCApplication::~CCApplication(void **this)
{
*this = &cocos2d::CCApplication::`vftable';
cocos2d::CCApplication::sm_pSharedApplication = nullptr;
j_j_free_0(*(this + 13));
j_j_free_0(*(this + 14));
sub_180005C70((__int64)(this + 9));
sub_180005C70((__int64)(this + 5));
*this = &cocos2d::CCApplicationProtocol::`vftable';
}