// // EditorUI::toggleEnableRotate from 0x7c8a0c to 0x7c8ab4 (168 bytes) // // 5 xrefs: // > EditorUI::init @ 0x7d1018 // > EditorUI::handleEditorAction @ 0xbd7fe4 // > @ 0xf1e58 // > EditorUI::init @ 0x7cf570 // > @ 0x1547520 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 12:54:09 +0000 // __int64 __fastcall EditorUI::toggleEnableRotate(EditorUI *this, cocos2d::CCObject *a2) { GameManager *v3; // x0 GameManager *GameVariable; // x0 int v5; // w21 GameManager *v6; // x0 EditorSFXManager *v7; // x0 EditorSFXManager *v8; // x0 ButtonSprite *v9; // x0 v3 = (GameManager *)GameManager::sharedState(this); GameVariable = (GameManager *)GameManager::getGameVariable(v3, "0007"); v5 = (unsigned __int8)GameVariable; v6 = (GameManager *)GameManager::sharedState(GameVariable); v7 = (EditorSFXManager *)GameManager::setGameVariable(v6, "0007", v5 ^ 1u); v8 = (EditorSFXManager *)EditorSFXManager::sharedState(v7); EditorSFXManager::playAction(v8, 193, 189); v9 = (ButtonSprite *)(*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 123) + 1072LL))(*((_QWORD *)this + 123)); if ( v5 ) { ButtonSprite::updateBGImage(v9, "GJ_button_01.png"); return EditorUI::deactivateRotationControl(this); } else { ButtonSprite::updateBGImage(v9, "GJ_button_02.png"); return EditorUI::toggleSpecialEditButtons((cocos2d::CCArray **)this, 1u); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source