//
// AdvancedFollowTriggerObject::getAdvancedFollowID from 0x1001a2e90 to 0x1001a2ec5 (53 bytes)
//
// 2 xrefs:
// > GJBaseGameLayer::prepareSavePositionObjects @ 0x1001195bb
// > sub_10012C210 @ 0x10012c358
//
// 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 __fastcall AdvancedFollowTriggerObject::getAdvancedFollowID(AdvancedFollowTriggerObject *a1)
{
int result; // eax
result = -1;
if ( !a1->m_targetPlayer1 )
{
result = -2;
if ( !a1->m_targetPlayer2 )
{
result = -3;
if ( !a1->m_followCPP )
return a1->m_centerGroupID;
}
}
return result;
}