// // SequenceTriggerGameObject::addCount from 0x1001a6ee0 to 0x1001a6f2c (76 bytes) // // 1 xrefs: // > SetupSequenceTriggerPopup::onAddChance @ 0x1004d97dc // // This function is hookable on this platform (idp: pc, 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:26:01 +0000 // void __fastcall SequenceTriggerGameObject::addCount(__int64 a1, int a2, int a3) { __int64 v3; // rax __int64 v4; // r8 __int64 v5; // rcx int v6; // edx int v7; // esi if ( a2 >= 0 ) { v3 = *(_QWORD *)(a1 + 1840); v4 = *(_QWORD *)(a1 + 1848) - v3; if ( v4 ) { if ( (v4 >> 4) - 1 >= (unsigned __int64)(unsigned int)a2 ) { v5 = 16LL * (unsigned int)a2; v6 = *(_DWORD *)(v3 + v5 + 8) + a3; v7 = 1; if ( v6 >= 2 ) v7 = v6; *(_DWORD *)(v3 + v5 + 8) = v7; *(_DWORD *)(a1 + 1960) = -1; } } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source