//
// AppDelegate::pauseGame from 0x10073b9b0 to 0x10073ba13 (99 bytes)
//
// 0 xrefs:
//
// 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 AppDelegate::pauseGame()
{
__int64 v0; // rax
__int64 v1; // rax
v0 = *(_QWORD *)(cocos2d::CCDirector::sharedDirector() + 272);
if ( v0
&& *(_DWORD *)(v0 + 28) == 5
&& *(_QWORD *)(GameManager::sharedState() + 544)
&& !*(_BYTE *)(*(_QWORD *)(GameManager::sharedState() + 544) + 14637LL)
&& !*(_BYTE *)(cocos2d::CCApplication::sharedApplication() + 65) )
{
v1 = GameManager::sharedState();
PlayLayer::pauseGame(*(_BYTE **)(v1 + 544), 1);
}
}