//
// CCCircleWave::followObject from 0x100157be0 to 0x100157c66 (134 bytes)
//
// 10 xrefs:
// > GJBaseGameLayer::playExitDualEffect @ 0x1001076e3
// > GJBaseGameLayer::checkRepellPlayer @ 0x1001317fb
// > RingObject::spawnCircle @ 0x100194904
// > PlayerObject::spawnCircle @ 0x100400689
// > PlayerObject::spawnPortalCircle @ 0x10040084e
// > PlayerObject::spawnScaleCircle @ 0x1004009ad
// > PlayerObject::spawnDualCircle @ 0x100400ab8
// > PlayerObject::ringJump @ 0x100401d03
// > PlayerObject::playBumpEffect @ 0x100407b71
// > GameObject::playShineEffect @ 0x10068f2db
//
// 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:25:04 +0000
//
__int64 __fastcall CCCircleWave::followObject(_QWORD *a1, __int64 a2, char a3)
{
__int64 v5; // rdi
__int64 v6; // rax
v5 = a1[40];
if ( v5 )
cocos2d::CCObject::release(v5);
a1[40] = a2;
cocos2d::CCObject::retain(a2);
cocos2d::CCNode::unschedule(a1, CCCircleWave::updatePosition, 0);
if ( !a3 )
cocos2d::CCNode::schedule_2(a1, CCCircleWave::updatePosition, 0);
v6 = (*(__int64 (__fastcall **)(_QWORD))(*(_QWORD *)a1[40] + 192LL))(a1[40]);
return (*(__int64 (__fastcall **)(_QWORD *, __int64))(*a1 + 184LL))(a1, v6);
}