// // GJEffectManager::addCountToItem from 0x1002ea210 to 0x1002ea273 (99 bytes) // // 2 xrefs: // > GJBaseGameLayer::collectedObject @ 0x10014bb36 // > GJBaseGameLayer::addPickupTrigger @ 0x10014c10e // // 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 GJEffectManager::addCountToItem(GJEffectManager *a1, int a2, int a3) { __m128 v3; // xmm0 int v5; // eax int v6; // ecx _QWORD *v7; // rax int *v8; // [rsp+0h] [rbp-20h] BYREF int v9; // [rsp+8h] [rbp-18h] BYREF v5 = 0; if ( a2 > 0 ) v5 = a2; v6 = 9999; if ( v5 < 9999 ) v6 = v5; v9 = v6; v8 = &v9; v7 = sub_100055BA0((float *)&a1->m_itemCountMap, &v9, v3, (__int64)&unk_100819506, &v8); GJEffectManager::updateCountForItem(a1, v9, *((_DWORD *)v7 + 5) + a3); }
GD Web Decomp Icon

GD Web Decomp

Raw Source