// // UILayer::toggleMenuVisibility from 0x10004a050 to 0x10004a0a8 (88 bytes) // // 7 xrefs: // > UILayer::editorPlaytest @ 0x100049c10 // > PlayLayer::showEndLayer @ 0x10011ae08 // > PlayLayer::showRetryLayer @ 0x10011bf50 // > PlayLayer::resetLevel @ 0x100121cf8 // > PlayLayer::pauseGame @ 0x1001228cc // > PlayLayer::resumeAndRestart @ 0x1001229d4 // > PlayLayer::resume @ 0x100122b50 // // 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::toggleMenuVisibility(UILayer *a1, bool a2) { _BOOL4 v2; // w19 __int64 v4; // x0 __int64 v5; // x1 v2 = a2; UILayer::resetUINodeState(a1); v4 = ((__int64 (__fastcall *)(CCMenuItemSpriteExtra *))a1->m_pauseBtn->getNormalImage)(a1->m_pauseBtn); if ( v2 ) v5 = 75; else v5 = 0; (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v4 + 896LL))(v4, v5); UILayer::updateUINodeVisibility(a1, a1->m_inPlatformer && v2); }
GD Web Decomp Icon

GD Web Decomp

Raw Source