// // GJEffectManager::addCountToItem from 0x1002d4cc0 to 0x1002d4d23 (99 bytes) // // 2 xrefs: // > GJBaseGameLayer::collectedObject @ 0x100129e56 // > GJBaseGameLayer::addPickupTrigger @ 0x100129f7e // // 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:28:14 +0000 // __int64 __fastcall GJEffectManager::addCountToItem(__int64 a1, int a2, int a3, __m128 a4) { int v5; // eax unsigned int v6; // ecx _QWORD *v7; // rax unsigned int *v9; // [rsp+0h] [rbp-20h] BYREF unsigned int v10; // [rsp+8h] [rbp-18h] BYREF v5 = 0; if ( a2 > 0 ) v5 = a2; v6 = 9999; if ( v5 < 9999 ) v6 = v5; v10 = v6; v9 = &v10; v7 = sub_10001C2C0((float *)(a1 + 712), (int *)&v10, a4, (__int64)&unk_100A07A2E, &v9); return GJEffectManager::updateCountForItem(a1, v10, (unsigned int)(*((_DWORD *)v7 + 5) + a3)); }
GD Web Decomp Icon

GD Web Decomp

Raw Source