// // EditorUI::toggleFreeMove from 0x1003c72f8 to 0x1003c7360 (104 bytes) // // 3 xrefs: // > EditorUI::init @ 0x1003c6dc8 // > EditorUI::keyDown @ 0x1003fa078 // > EditorUI::init @ 0x1003c5550 // // 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 EditorUI::toggleFreeMove(EditorUI *a1, cocos2d::CCObject *a2) { ButtonSprite *v3; // x0 const char *v4; // x1 GameManager *v5; // x0 a1->m_freeMoveEnabled ^= 1u; v3 = (ButtonSprite *)((__int64 (__fastcall *)(CCMenuItemSpriteExtra *, cocos2d::CCObject *))a1->m_freeMoveBtn->getNormalImage)( a1->m_freeMoveBtn, a2); if ( a1->m_freeMoveEnabled ) v4 = "GJ_button_02.png"; else v4 = "GJ_button_01.png"; ButtonSprite::updateBGImage(v3, v4); v5 = GameManager::sharedState(); GameManager::setGameVariable(v5, "0004", a1->m_freeMoveEnabled); }
GD Web Decomp Icon

GD Web Decomp

Raw Source