//
// GJRotationControl::finishTouch from 0x10004e490 to 0x10004e4f2 (98 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 GJRotationControl::finishTouch(GJRotationControl *a1)
{
cocos2d::CCSprite *m_controlSprite; // rbx
cocos2d::CCSpriteFrameCache *v2; // rax
cocos2d::CCSpriteFrame *v3; // rax
GJRotationControlDelegate *m_delegate; // rdi
if ( a1->m_touchID != -1 )
{
a1->m_touchID = -1;
m_controlSprite = a1->m_controlSprite;
v2 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache();
v3 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v2, "GJ_rotationControlBtn01_001.png");
((void (__fastcall *)(cocos2d::CCSprite *, cocos2d::CCSpriteFrame *))m_controlSprite->setDisplayFrame)(
m_controlSprite,
v3);
m_delegate = a1->m_delegate;
if ( m_delegate )
((void (__fastcall *)(GJRotationControlDelegate *))m_delegate->angleChangeEnded)(m_delegate);
}
}