// // SequenceTriggerGameObject::addCount from 0x3eb704 to 0x3eb73a (54 bytes) // // 1 xrefs: // > SetupSequenceTriggerPopup::onAddChance @ 0x580f0a // // 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 SequenceTriggerGameObject::addCount(SequenceTriggerGameObject *a1, int a2, int a3) { ChanceObject *m_finish; // r5 ChanceObject *m_start; // r3 ChanceObject *v5; // r3 int v6; // r2 if ( a2 >= 0 ) { m_finish = a1->m_chanceObjects.m_finish; m_start = a1->m_chanceObjects.m_start; if ( a2 <= (unsigned int)(m_finish - m_start - 1) && m_start != m_finish ) { v5 = &m_start[a2]; v6 = a3 + v5->m_chance; if ( v6 < 1 ) v6 = 1; v5->m_chance = v6; a1->m_sequenceTotalCount = -1; } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source