// // EditorUI::toggleFreeMove from 0x685fdc to 0x686064 (136 bytes) // // 5 xrefs: // > EditorUI::init @ 0x6bdd10 // > EditorUI::keyDown @ 0x6c5e74 // > @ 0x9c438 // > EditorUI::init @ 0x6bc510 // > @ 0x122d568 // // 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 EditorUI::toggleFreeMove(EditorUI *a1, cocos2d::CCObject *a2) { bool m_freeMoveEnabled; // w1 CCMenuItemSpriteExtra *m_freeMoveBtn; // x0 CCMenuItemSpriteExtra_vtbl *v5; // x2 ButtonSprite *v6; // x0 GameManager *v7; // x0 m_freeMoveEnabled = a1->m_freeMoveEnabled; m_freeMoveBtn = a1->m_freeMoveBtn; v5 = m_freeMoveBtn->cocos2d::CCMenuItemSprite::cocos2d::CCMenuItem::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable; a1->m_freeMoveEnabled = !m_freeMoveEnabled; v6 = (ButtonSprite *)v5->getNormalImage(m_freeMoveBtn); if ( a1->m_freeMoveEnabled ) ButtonSprite::updateBGImage(v6, "GJ_button_02.png"); else ButtonSprite::updateBGImage(v6, "GJ_button_01.png"); v7 = GameManager::sharedState(); GameManager::setGameVariable(v7, "0004", a1->m_freeMoveEnabled); }
GD Web Decomp Icon

GD Web Decomp

Raw Source