// // SequenceTriggerGameObject::addCount from 0x1001c65e0 to 0x1001c662c (76 bytes) // // 1 xrefs: // > SetupSequenceTriggerPopup::onAddChance @ 0x1004de7ec // // 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 begin; // rax __int64 v4; // r8 __int64 v5; // rcx int v6; // edx int v7; // esi if ( a2 >= 0 ) { begin = a1->m_chanceObjects.__begin_; v4 = (char *)a1->m_chanceObjects.__end_ - (char *)begin; if ( v4 ) { if ( (v4 >> 4) - 1 >= (unsigned __int64)(unsigned int)a2 ) { v5 = (unsigned int)a2; v6 = begin[v5].m_chance + a3; v7 = 1; if ( v6 >= 2 ) v7 = v6; begin[v5].m_chance = v7; a1->m_sequenceTotalCount = -1; } } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source