// // EditorUI::toggleEnableRotate from 0x1003c73d4 to 0x1003c7464 (144 bytes) // // 3 xrefs: // > EditorUI::init @ 0x1003c6dd8 // > EditorUI::keyDown @ 0x1003f9eac // > EditorUI::init @ 0x1003c55c8 // // 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::toggleEnableRotate(EditorUI *a1, cocos2d::CCObject *a2) { GameManager *v3; // x0 bool v4; // w21 GameManager *v5; // x0 ButtonSprite *v6; // x0 v3 = GameManager::sharedState(); v4 = !GameManager::getGameVariable(v3, "0007"); v5 = GameManager::sharedState(); GameManager::setGameVariable(v5, "0007", v4); v6 = (ButtonSprite *)((__int64 (__fastcall *)(CCMenuItemSpriteExtra *))a1->m_rotateBtn->getNormalImage)(a1->m_rotateBtn); if ( v4 ) { ButtonSprite::updateBGImage(v6, "GJ_button_02.png"); EditorUI::toggleSpecialEditButtons(a1); } else { ButtonSprite::updateBGImage(v6, "GJ_button_01.png"); EditorUI::deactivateRotationControl(a1); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source