// // GJEffectManager::addCountToItem from 0x4a3578 to 0x4a35ae (54 bytes) // // 2 xrefs: // > GJBaseGameLayer::collectedObject @ 0x48e5a8 // > GJBaseGameLayer::addPickupTrigger @ 0x48e650 // // 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 GJEffectManager::addCountToItem(GJEffectManager *a1, int a2, int a3) { int v3; // r3 _DWORD *v6; // r0 int v7[2]; // [sp+4h] [bp-8h] BYREF v7[0] = a2; v7[1] = a3; if ( a2 > 9998 ) v3 = 9999; else v3 = a2 & ~(a2 >> 31); v7[0] = v3; v6 = std::__detail::_Map_base,std::allocator>,std::__detail::_Select1st,std::equal_to,std::hash,std::__detail::_Mod_range_hashing,std::__detail::_Default_ranged_hash,std::__detail::_Prime_rehash_policy,std::__detail::_Hashtable_traits,true>::operator[]( &a1->m_itemCountMap._M_h._M_buckets, (unsigned int *)v7); GJEffectManager::updateCountForItem(a1, v7[0], *v6 + a3); }
GD Web Decomp Icon

GD Web Decomp

Raw Source