//
// AdvancedFollowTriggerObject::getAdvancedFollowID from 0x870fc8 to 0x871004 (60 bytes)
//
// 3 xrefs:
// > saveAdvFollowSetup @ 0x9f1670
// > GJBaseGameLayer::prepareSavePositionObjects @ 0x9f2ac4
// > ??> @ 0x60850
//
// 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:55:46 +0000
//
__int64 __fastcall AdvancedFollowTriggerObject::getAdvancedFollowID(AdvancedFollowTriggerObject *this)
{
unsigned int v1; // w1
v1 = *((_DWORD *)this + 367);
if ( *((_BYTE *)this + 1684) )
{
return (unsigned int)-1;
}
else if ( *((_BYTE *)this + 1685) )
{
return (unsigned int)-2;
}
else if ( *((_BYTE *)this + 1686) )
{
return (unsigned int)-3;
}
return v1;
}