// // UILayer::toggleMenuVisibility from 0x30d6f8 to 0x30d732 (58 bytes) // // 7 xrefs: // > UILayer::editorPlaytest @ 0x30d75e // > PlayLayer::showEndLayer @ 0x30eb0e // > PlayLayer::showRetryLayer @ 0x30eb60 // > PlayLayer::pauseGame @ 0x31452c // > PlayLayer::resumeAndRestart @ 0x3145ee // > PlayLayer::resume @ 0x314730 // > PlayLayer::resetLevel @ 0x31f84e // // 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 UILayer::toggleMenuVisibility(UILayer *a1, bool a2) { _BOOL4 v3; // r5 cocos2d::CCNode *v4; // r0 int v5; // r1 bool m_inPlatformer; // r1 v3 = a2; UILayer::resetUINodeState(a1); v4 = a1->m_pauseBtn->getNormalImage(a1->m_pauseBtn); if ( v3 ) v5 = 75; else v5 = 0; ((void (__fastcall *)(cocos2d::CCNode *, int))v4->__vftable[1].~CCNode_0)(v4, v5); m_inPlatformer = a1->m_inPlatformer; if ( m_inPlatformer ) m_inPlatformer = v3; UILayer::updateUINodeVisibility(a1, m_inPlatformer); }
GD Web Decomp Icon

GD Web Decomp

Raw Source