//
// CCSpritePlus::followSprite from 0x100482180 to 0x1004821ce (78 bytes)
//
// 1 xrefs:
// > GameObject::playShineEffect @ 0x1005bd9c6
//
// 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::followSprite(CCSpritePlus *a1)
{
CCSpritePlus *v1; // rsi
cocos2d::CCArray *m_followers; // rdi
cocos2d::CCObject *v4; // rax
a1->m_followingSprite = v1;
v1->m_hasFollower = 1;
m_followers = v1->m_followers;
if ( !m_followers )
{
v4 = (cocos2d::CCObject *)sub_10071F9E0(0, v1);
v1->m_followers = (cocos2d::CCArray *)v4;
cocos2d::CCObject::retain(v4);
m_followers = v1->m_followers;
}
sub_10071FCD0(m_followers, a1);
}