//
// CCSpritePlus::stopFollow from 0x100476b30 to 0x100476b80 (80 bytes)
//
// 1 xrefs:
// > GameObject::playShineEffect @ 0x10068f175
//
// 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::stopFollow(__int64 a1)
{
__int64 v1; // rbx
__int64 v3; // rdi
__int64 result; // rax
v1 = *(_QWORD *)(a1 + 608);
if ( v1 )
{
v3 = *(_QWORD *)(v1 + 600);
if ( v3 )
{
sub_1007FF140(v3, a1, 1);
result = sub_1007FEF90(*(_QWORD *)(v1 + 600));
if ( !(_DWORD)result )
*(_BYTE *)(v1 + 616) = 0;
}
}
return result;
}