//
// SpawnTriggerGameObject::getRemapWithSource from 0x1001d31c0 to 0x1001d31f4 (52 bytes)
//
// 1 xrefs:
// > LevelEditorLayer::addTriggersWithTargetGroupID @ 0x1000ee09b
//
// 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
//
ChanceObject *__fastcall SpawnTriggerGameObject::getRemapWithSource(SpawnTriggerGameObject *a1, int a2)
{
ChanceObject *result; // rax
ChanceObject *end; // rcx
result = a1->m_remapObjects.__begin_;
end = a1->m_remapObjects.__end_;
if ( result == end )
return nullptr;
while ( result->m_groupID != a2 )
{
if ( ++result == end )
return nullptr;
}
return result;
}