// // GJEffectManager::timeForItem from 0x49bf64 to 0x49bf98 (52 bytes) // // 2 xrefs: // > GJBaseGameLayer::getItemValue @ 0x476108 // > GJBaseGameLayer::updateTimerLabels @ 0x48e022 // // 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 // double GJEffectManager::timeForItem(GJEffectManager *a1, int a2) { int v2; // r3 int v3; // r0 int v5; // [sp+4h] [bp-8h] BYREF v5 = a2; if ( a2 > 9998 ) v2 = 9999; else v2 = a2 & ~(a2 >> 31); v5 = v2; v3 = std::_Hashtable,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>::find( &a1->m_timerItemMap._M_h._M_buckets, &v5); if ( v3 ) return *(double *)(v3 + 24); else return 0.0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source