//
// SpawnTriggerGameObject::getRemapWithSource from 0x3ebb74 to 0x3ebb92 (30 bytes)
//
// 1 xrefs:
// > LevelEditorLayer::addTriggersWithTargetGroupID @ 0x37278a
//
// 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 *SpawnTriggerGameObject::getRemapWithSource(SpawnTriggerGameObject *a1, int a2)
{
ChanceObject *m_finish; // r2
ChanceObject *i; // r3
ChanceObject *result; // r0
int m_groupID; // t1
m_finish = a1->m_remapObjects.m_finish;
for ( i = a1->m_remapObjects.m_start; ; ++i )
{
result = i;
if ( i == m_finish )
break;
m_groupID = i->m_groupID;
if ( m_groupID == a2 )
return result;
}
return nullptr;
}