// // EditorUI::deactivateRotationControl from 0x10000b8e0 to 0x10000b97b (155 bytes) // // 0 xrefs: // // 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::deactivateRotationControl(EditorUI *a1) { GJRotationControl *m_rotationControl; // r14 cocos2d::CCSprite *m_controlSprite; // rbx cocos2d::CCSpriteFrameCache *v3; // rax cocos2d::CCSpriteFrame *v4; // rax GJRotationControlDelegate *m_delegate; // rdi a1->m_rotationTouchID = -1; if ( ((unsigned __int8 (__fastcall *)(GJRotationControl *))a1->m_rotationControl->isVisible)(a1->m_rotationControl) ) { ((void (__fastcall *)(GJRotationControl *, _QWORD))a1->m_rotationControl->setVisible)(a1->m_rotationControl, 0); m_rotationControl = a1->m_rotationControl; if ( m_rotationControl->m_touchID != -1 ) { m_rotationControl->m_touchID = -1; m_controlSprite = m_rotationControl->m_controlSprite; v3 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(); v4 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v3, "GJ_rotationControlBtn01_001.png"); ((void (__fastcall *)(cocos2d::CCSprite *, cocos2d::CCSpriteFrame *))m_controlSprite->setDisplayFrame)( m_controlSprite, v4); m_delegate = m_rotationControl->m_delegate; if ( m_delegate ) ((void (__fastcall *)(GJRotationControlDelegate *))m_delegate->angleChangeEnded)(m_delegate); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source