//
// CCSpritePlus::stopFollow from 0x1004821d0 to 0x100482220 (80 bytes)
//
// 1 xrefs:
// > GameObject::playShineEffect @ 0x1005bda05
//
// 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 CCSpritePlus::stopFollow(CCSpritePlus *a1)
{
CCSpritePlus *m_followingSprite; // rbx
cocos2d::CCArray *m_followers; // rdi
m_followingSprite = a1->m_followingSprite;
if ( m_followingSprite )
{
m_followers = m_followingSprite->m_followers;
if ( m_followers )
{
sub_100720220(m_followers, a1, 1);
if ( !(unsigned int)sub_100720070(m_followingSprite->m_followers) )
m_followingSprite->m_hasFollower = 0;
}
}
}