//
// SpawnTriggerGameObject::addRemap from 0x3ed5f0 to 0x3ed626 (54 bytes)
//
// 1 xrefs:
// > SetupSpawnPopup::addRemap @ 0x4bbf38
//
// 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::addRemap(SpawnTriggerGameObject *a1, int a2, int a3)
{
ChanceObject *i; // r3
int v4; // [sp+0h] [bp-Ch] BYREF
int v5[2]; // [sp+4h] [bp-8h] BYREF
v5[1] = a3;
v5[0] = a2;
v4 = a3;
if ( a2 != a3 )
{
for ( i = a1->m_remapObjects.m_start; i != a1->m_remapObjects.m_finish; ++i )
{
if ( i->m_groupID == a2 && i->m_chance == a3 )
return;
}
std::vector::emplace_back(&a1->m_remapObjects.m_start, v5, &v4);
}
}