// // AppDelegate::applicationDidEnterBackground from 0x10073ba60 to 0x10073bb1d (189 bytes) // // 1 xrefs: // > @ 0x100b9ad88 // // 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 12:36:27 +0000 // void __fastcall AppDelegate::applicationDidEnterBackground(_BYTE *a1) { __int64 v1; // rax __int64 v2; // rax __int64 v3; // rax __int64 v4; // rax __int64 v5; // rax v1 = *(_QWORD *)(cocos2d::CCDirector::sharedDirector() + 272); if ( v1 && *(_DWORD *)(v1 + 28) == 5 && *(_QWORD *)(GameManager::sharedState() + 544) && !*(_BYTE *)(*(_QWORD *)(GameManager::sharedState() + 544) + 14637LL) && !*(_BYTE *)(cocos2d::CCApplication::sharedApplication() + 65) ) { v2 = GameManager::sharedState(); PlayLayer::pauseGame(*(_BYTE **)(v2 + 544), 1); } v3 = FMODAudioEngine::sharedEngine(); FMODAudioEngine::stop(v3); (*(void (__fastcall **)(_BYTE *, _QWORD))(*(_QWORD *)a1 + 64LL))(a1, 0); v4 = cocos2d::CCDirector::sharedDirector(); (*(void (__fastcall **)(__int64))(*(_QWORD *)v4 + 104LL))(v4); v5 = cocos2d::CCDirector::sharedDirector(); cocos2d::CCDirector::pause(v5); if ( a1[80] == 1 ) { PlatformToolbox::onNativePause(); GameManager::sharedState(); GameManager::applicationDidEnterBackground(); } }