// // GJEffectManager::updateTimer from 0x49f1b8 to 0x49f278 (192 bytes) // // 3 xrefs: // > GJBaseGameLayer::activateItemEditTrigger @ 0x48e84a // > GJBaseGameLayer::activatePersistentItemTrigger @ 0x48e98e // > GJBaseGameLayer::activatePersistentItemTrigger @ 0x48e9e4 // // 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::updateTimer(GJEffectManager *a1, int a2, double a3) { double v4; // d8 int v5; // r1 int v6; // r0 int v7; // [sp+34h] [bp-14h] BYREF std::vector v8; // [sp+38h] [bp-10h] BYREF v4 = a3; v7 = a2; if ( a2 > 9998 ) v5 = 9999; else v5 = a2 & ~(a2 >> 31); v7 = v5; if ( a3 <= 9999999.0 ) { if ( a3 < -9999999.0 ) v4 = -9999999.0; } else { v4 = 9999999.0; } v6 = 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, &v7); if ( v6 ) { *(double *)(v6 + 24) = v4; } else { memset(&v8, 0, sizeof(v8)); GJEffectManager::startTimer(a1, v7, v4, 0.0, 0, 0, 1, 1.0, 0, 0, &v8, 0, 0); std::_Vector_base::~_Vector_base((void **)&v8.m_start); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source