// // EditorUI::toggleEnableRotate from 0x6b58b4 to 0x6b5948 (148 bytes) // // 5 xrefs: // > EditorUI::init @ 0x6bdd28 // > EditorUI::keyDown @ 0x6c5e64 // > @ 0xb95f8 // > EditorUI::init @ 0x6bc588 // > @ 0x122e6b0 // // 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::toggleEnableRotate(EditorUI *a1, cocos2d::CCObject *a2) { GameManager *v3; // x0 _BOOL4 GameVariable; // w21 GameManager *v5; // x0 ButtonSprite *v6; // x0 v3 = GameManager::sharedState(); GameVariable = GameManager::getGameVariable(v3, "0007"); v5 = GameManager::sharedState(); GameManager::setGameVariable(v5, "0007", !GameVariable); v6 = (ButtonSprite *)a1->m_rotateBtn->getNormalImage(a1->m_rotateBtn); if ( GameVariable ) { ButtonSprite::updateBGImage(v6, "GJ_button_01.png"); EditorUI::deactivateRotationControl(a1); } else { ButtonSprite::updateBGImage(v6, "GJ_button_02.png"); EditorUI::toggleSpecialEditButtons(a1); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source