//
// AdvancedFollowTriggerObject::getAdvancedFollowID from 0x3e6c8c to 0x3e6cb8 (44 bytes)
//
// 2 xrefs:
// > saveAdvFollowSetup @ 0x494a9c
// > GJBaseGameLayer::prepareSavePositionObjects @ 0x494ecc
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
int AdvancedFollowTriggerObject::getAdvancedFollowID(AdvancedFollowTriggerObject *a1)
{
int m_centerGroupID; // r3
m_centerGroupID = a1->m_centerGroupID;
if ( a1->m_targetPlayer1 )
return -1;
if ( a1->m_targetPlayer2 )
return -2;
if ( a1->m_followCPP )
return -3;
return m_centerGroupID;
}