//
// cocos2d::CCApplication::shutdownApplication from 0x180073e30 to 0x180073e4b (27 bytes)
//
// 1 xrefs:
// > ??> @ 0x1801438a8
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __fastcall cocos2d::CCApplication::shutdownApplication(cocos2d::CCApplication *this)
{
if ( !*((_BYTE *)this + 121) )
{
*((_BYTE *)this + 121) = 1;
((void (__fastcall *)(struct cocos2d::CCApplication *, _QWORD))cocos2d::CCApplication::sm_pSharedApplication->trySaveGame)(
cocos2d::CCApplication::sm_pSharedApplication,
0);
}
}