// // SequenceTriggerGameObject::addCount from 0x10038ae7c to 0x10038aec8 (76 bytes) // // 1 xrefs: // > SetupSequenceTriggerPopup::onAddChance @ 0x1001d317c // // 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 __fastcall SequenceTriggerGameObject::addCount(SequenceTriggerGameObject *a1, int a2, int a3) { std::__vector_base::pointer end; // x9 std::__vector_base::pointer begin; // x8 ChanceObject *v6; // x8 int v7; // w9 if ( (a2 & 0x80000000) == 0 ) { end = a1->m_chanceObjects.__end_; begin = a1->m_chanceObjects.__begin_; if ( end != begin && end - begin - 1 >= (unsigned __int64)(unsigned int)a2 ) { v6 = &begin[a2]; v7 = v6->m_chance + a3; if ( v7 <= 1 ) v7 = 1; v6->m_chance = v7; a1->m_sequenceTotalCount = -1; } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source