//
// AdvancedFollowTriggerObject::getAdvancedFollowID from 0x100182d00 to 0x100182d35 (53 bytes)
//
// 2 xrefs:
// > GJBaseGameLayer::prepareSavePositionObjects @ 0x1000f580b
// > sub_100109BF0 @ 0x100109d38
//
// 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:34 +0000
//
__int64 __fastcall AdvancedFollowTriggerObject::getAdvancedFollowID(__int64 a1)
{
__int64 result; // rax
result = 0xFFFFFFFFLL;
if ( !*(_BYTE *)(a1 + 1684) )
{
result = 4294967294LL;
if ( !*(_BYTE *)(a1 + 1685) )
{
result = 4294967293LL;
if ( !*(_BYTE *)(a1 + 1686) )
return *(unsigned int *)(a1 + 1468);
}
}
return result;
}