// // UILayer::toggleMenuVisibility from 0x1404ce150 to 0x1404ce22c (220 bytes) // // 12 xrefs: // > EditorUI::onPlaytest @ 0x140112182 // > EditorUI::onPlaytest @ 0x1401122b9 // > LevelEditorLayer::init @ 0x1402d1ecf // > LevelEditorLayer::onPlaytest @ 0x1402dfd4b // > LevelEditorLayer::onStopPlaytest @ 0x1402e068e // > PlayLayer::showEndLayer @ 0x1403ac76c // > PlayLayer::showRetryLayer @ 0x1403ac967 // > PlayLayer::resetLevel @ 0x1403b9119 // > PlayLayer::pauseGame @ 0x1403ba2b1 // > PlayLayer::resumeAndRestart @ 0x1403ba53d // > PlayLayer::resume @ 0x1403ba8ae // > @ 0x1406dd4d8 // // 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 // // Hidden C++ exception states: #wind=1 void UILayer::toggleMenuVisibility(UILayer *a1, bool a2) { GameManager *v4; // rcx cocos2d::CCNode *v5; // rax DS_Dictionary *v6; // rdx unsigned int i; // ebx struct cocos2d::CCObject *v8; // rax void *v9; // [rsp+40h] [rbp+18h] UILayer::resetUINodeState(a1); v4 = (GameManager *)qword_1406C2ED8; if ( !qword_1406C2ED8 ) { v9 = operator new(0x668u); qword_1406C2ED8 = sub_14017AB00((__int64)v9); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8); v4 = (GameManager *)qword_1406C2ED8; } if ( GameManager::getGameVariable(v4, "0024") ) { v5 = a1->m_pauseBtn->getNormalImage(a1->m_pauseBtn); LOBYTE(v6) = a2 ? 0x4B : 0; v5[1].encodeWithCoder(v5 + 1, v6); for ( i = 0; i < cocos2d::CCArray::count(a1->m_uiNodes); ++i ) { v8 = cocos2d::CCArray::objectAtIndex(a1->m_uiNodes, i); ((void (__fastcall *)(struct cocos2d::CCObject *, _QWORD))v8->__vftable[4].update)(v8, 0); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source