//
// CCSpritePlus::removeFollower from 0x6c89d4 to 0x6c8a14 (64 bytes)
//
// 2 xrefs:
// > CCSpritePlus::stopFollow @ 0x6c8a38
// > ??> @ 0xcfe50
//
// This function is hookable on this platform (idp: arm, 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 12:51:22 +0000
//
__int64 __fastcall CCSpritePlus::removeFollower(__int64 this, cocos2d::CCNode *a2)
{
__int64 v2; // x19
if ( *(_QWORD *)(this + 600) )
{
v2 = this;
cocos2d::CCArray::removeObject(*(cocos2d::CCArray **)(this + 600), a2, 1);
this = cocos2d::CCArray::count(*(cocos2d::CCArray **)(v2 + 600));
if ( !(_DWORD)this )
*(_BYTE *)(v2 + 616) = 0;
}
return this;
}