//
// CCSpritePlus::removeFollower from 0x14004c490 to 0x14004c4da (74 bytes)
//
// 2 xrefs:
// > GameObject::playShineEffect @ 0x1402977d0
// > ??> @ 0x140910040
//
// This function is hookable on this platform (idp: pc, 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 11:25:33 +0000
//
void __fastcall CCSpritePlus::removeFollower(struct cocos2d::CCObject *a1)
{
__int64 v1; // rbx
v1 = *((_QWORD *)a1 + 76);
if ( v1 && *(_QWORD *)(v1 + 600) )
{
cocos2d::CCArray::removeObject(*(cocos2d::CCArray **)(v1 + 600), a1, 1);
if ( !cocos2d::CCArray::count(*(cocos2d::CCArray **)(v1 + 600)) )
*(_BYTE *)(v1 + 616) = 0;
}
}