// // EditorUI::toggleEnableRotate from 0x39d034 to 0x39d08a (86 bytes) // // 2 xrefs: // > EditorUI::init @ 0x3a28d6 // > EditorUI::keyDown @ 0x3a73e2 // // 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; // r0 _BOOL4 GameVariable; // r5 GameManager *v5; // r0 ButtonSprite *v6; // r0 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