// // GJEffectManager::addCountToItem from 0x1000151e8 to 0x10001525c (116 bytes) // // 2 xrefs: // > GJBaseGameLayer::collectedObject @ 0x1001fb6c4 // > GJBaseGameLayer::addPickupTrigger @ 0x1001fb968 // // 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) { int v5; // w8 __int64 v6; // x0 int v7; // [xsp+0h] [xbp-20h] BYREF char v8; // [xsp+7h] [xbp-19h] BYREF int *v9; // [xsp+8h] [xbp-18h] BYREF v5 = a2 & ~(a2 >> 31); if ( v5 >= 9999 ) v5 = 9999; v7 = v5; v9 = &v7; v6 = sub_10001D150(&a1->m_itemCountMap, &v7, &unk_10063553F, &v9, &v8); GJEffectManager::updateCountForItem(a1, v7, *(_DWORD *)(v6 + 20) + a3); }
GD Web Decomp Icon

GD Web Decomp

Raw Source