// // SequenceTriggerGameObject::addCount from 0x4e8f98 to 0x4e8fce (54 bytes) // // 1 xrefs: // > SetupSequenceTriggerPopup::onAddChance @ 0x6bc356 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 11:51:07 +0000 // _DWORD *__fastcall SequenceTriggerGameObject::addCount(_DWORD *this, unsigned int a2, int a3) { int v3; // r5 int v4; // r3 int v5; // r3 int v6; // r2 if ( (a2 & 0x80000000) == 0 ) { v3 = *(this + 413); v4 = *(this + 412); if ( a2 <= ((v3 - v4) >> 4) - 1 && v4 != v3 ) { v5 = v4 + 16 * a2; v6 = a3 + *(_DWORD *)(v5 + 8); if ( v6 < 1 ) v6 = 1; *(_DWORD *)(v5 + 8) = v6; *(this + 429) = -1; } } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source