//
// CCSpritePlus::addFollower from 0x100476a40 to 0x100476a90 (80 bytes)
//
// 8 xrefs:
// > AnimatedGameObject::setupChildSprites @ 0x100196eea
// > AnimatedGameObject::setupChildSprites @ 0x1001970ad
// > AnimatedGameObject::setupChildSprites @ 0x10019724a
// > AnimatedGameObject::setupChildSprites @ 0x10019731c
// > AnimatedGameObject::setupChildSprites @ 0x1001973e7
// > AnimatedGameObject::setupChildSprites @ 0x1001975ca
// > GJRobotSprite::init @ 0x1006adaf4
// > CurrencyRewardLayer::createObjectsFull @ 0x10088b625
//
// 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 12:30:35 +0000
//
__int64 __fastcall CCSpritePlus::addFollower(__int64 a1, __int64 a2)
{
__int64 v3; // rdi
__int64 v5; // rax
*(_BYTE *)(a1 + 616) = 1;
v3 = *(_QWORD *)(a1 + 600);
if ( !v3 )
{
v5 = sub_1007FE900(0);
*(_QWORD *)(a1 + 600) = v5;
cocos2d::CCObject::retain(v5);
v3 = *(_QWORD *)(a1 + 600);
}
return sub_1007FEBF0(v3, a2);
}