// // UILayer::keyBackClicked from 0x1004c9570 to 0x1004c95c6 (86 bytes) // // 1 xrefs: // > @ 0x100950c40 // // 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 UILayer::keyBackClicked(UILayer *a1) { if ( ((unsigned __int8 (__fastcall *)(CCMenuItemSpriteExtra *))a1->m_pauseBtn->isEnabled)(a1->m_pauseBtn) && (!GameManager::sharedState()->m_playLayer || (int)GameManager::sharedState()->m_playLayer->m_gameState.m_pauseCounter <= 2) ) { UILayer::doPause(a1); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source