// // GJEffectManager::countForItem from 0x1000151a8 to 0x1000151e8 (64 bytes) // // 7 xrefs: // > GJBaseGameLayer::testInstantCountTrigger @ 0x1001fb614 // > GJBaseGameLayer::collectedObject @ 0x1001fb6d4 // > GJBaseGameLayer::addPickupTrigger @ 0x1001fb8e0 // > GJBaseGameLayer::addPickupTrigger @ 0x1001fb8fc // > GJBaseGameLayer::addPickupTrigger @ 0x1001fb944 // > GJBaseGameLayer::getItemValue @ 0x1001fba60 // > GJBaseGameLayer::refreshCounterLabels @ 0x1001fc838 // // 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 // int __fastcall GJEffectManager::countForItem(GJEffectManager *a1, int a2) { int v2; // w8 __int64 v3; // x0 int v5; // [xsp+Ch] [xbp-4h] BYREF v2 = a2 & ~(a2 >> 31); if ( v2 >= 9999 ) v2 = 9999; v5 = v2; v3 = sub_100018814(&a1->m_itemCountMap, &v5); if ( v3 ) LODWORD(v3) = *(_DWORD *)(v3 + 20); return v3; }
GD Web Decomp Icon

GD Web Decomp

Raw Source