//
// CCCircleWave::followObject from 0x1001fa7c8 to 0x1001fa858 (144 bytes)
//
// 10 xrefs:
// > GJBaseGameLayer::playExitDualEffect @ 0x100285c28
// > GJBaseGameLayer::checkRepellPlayer @ 0x10029b970
// > PlayerObject::spawnCircle @ 0x1002c4414
// > PlayerObject::spawnPortalCircle @ 0x1002c451c
// > PlayerObject::spawnScaleCircle @ 0x1002c466c
// > PlayerObject::spawnDualCircle @ 0x1002c4760
// > PlayerObject::ringJump @ 0x1002c54d4
// > PlayerObject::playBumpEffect @ 0x1002c99c4
// > GameObject::playShineEffect @ 0x1002f9cc8
// > RingObject::spawnCircle @ 0x10042896c
//
// 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 11:00:42 +0000
//
__int64 __fastcall CCCircleWave::followObject(_QWORD *a1, __int64 a2, char a3)
{
_DWORD *v6; // x0
__int64 v7; // x1
v6 = (_DWORD *)a1[40];
if ( v6 )
cocos2d::CCObject::release(v6);
a1[40] = a2;
cocos2d::CCObject::retain(a2);
cocos2d::CCNode::unschedule(a1, sub_1001FA77C, 0);
if ( (a3 & 1) == 0 )
cocos2d::CCNode::schedule_1(a1, sub_1001FA77C, 0);
v7 = (*(__int64 (__fastcall **)(_QWORD))(*(_QWORD *)a1[40] + 192LL))(a1[40]);
return (*(__int64 (__fastcall **)(_QWORD *, __int64))(*a1 + 184LL))(a1, v7);
}