// // SequenceTriggerGameObject::addCount from 0x87c050 to 0x87c0a0 (80 bytes) // // 2 xrefs: // > SetupSequenceTriggerPopup::onAddChance @ 0xb82410 // > @ 0xaa3c8 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // 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 12:55:52 +0000 // __int64 __fastcall SequenceTriggerGameObject::addCount(__int64 this, int a2, int a3) { __int64 v3; // x4 __int64 v4; // x5 __int64 v5; // x1 int v6; // w2 if ( (a2 & 0x80000000) == 0 ) { v3 = *(_QWORD *)(this + 1840); v4 = *(_QWORD *)(this + 1848); if ( a2 <= (unsigned __int64)(((v4 - v3) >> 4) - 1) && v3 != v4 ) { v5 = v3 + 16LL * a2; v6 = *(_DWORD *)(v5 + 8) + a3; if ( v6 <= 0 ) v6 = 1; *(_DWORD *)(v5 + 8) = v6; *(_DWORD *)(this + 1960) = -1; } } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source