//
// ChanceTriggerGameObject::editChanceObject from 0x3eb484 to 0x3eb4a8 (36 bytes)
//
// 1 xrefs:
// > EditorUI::replaceGroupID @ 0x37e50c
//
// 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 ChanceTriggerGameObject::editChanceObject(ChanceTriggerGameObject *a1, int a2, int a3)
{
ChanceObject *m_start; // r3
ChanceObject *m_finish; // r4
m_start = a1->m_chanceObjects.m_start;
m_finish = a1->m_chanceObjects.m_finish;
while ( 1 )
{
++m_start;
if ( m_finish == &m_start[-1] )
break;
if ( m_start[-1].m_groupID == a2 )
m_start[-1].m_groupID = a3;
}
}