//
// SpawnTriggerGameObject::removeRemap from 0x3ecd80 to 0x3ecdb8 (56 bytes)
//
// 1 xrefs:
// > SetupSpawnPopup::onDeleteRemap @ 0x4bc00a
//
// 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
//
void SpawnTriggerGameObject::removeRemap(SpawnTriggerGameObject *a1, int a2, int a3)
{
ChanceObject *m_finish; // r3
ChanceObject *m_start; // r1
int v6; // r4
int v7; // r3
m_finish = a1->m_remapObjects.m_finish;
m_start = a1->m_remapObjects.m_start;
if ( m_start != m_finish )
{
v6 = 0;
v7 = m_finish - m_start;
while ( v6 != v7 )
{
if ( m_start->m_groupID == a2 && m_start->m_chance == a3 )
{
std::vector::erase((int)&a1->m_remapObjects, (int)m_start);
return;
}
++v6;
++m_start;
}
}
}