// // GJEffectManager::timeForItem from 0x5c4dec to 0x5c4e20 (52 bytes) // // 2 xrefs: // > GJBaseGameLayer::getItemValue @ 0x5957d0 // > GJBaseGameLayer::updateTimerLabels @ 0x5bd5a2 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 11:53:52 +0000 // __int64 __fastcall GJEffectManager::timeForItem(GJEffectManager *this, int a2, unsigned int a3) { int v3; // r3 _DWORD *v4; // r0 unsigned int v6[2]; // [sp+4h] [bp-8h] BYREF v6[0] = a2; v6[1] = a3; if ( a2 > 9998 ) v3 = 9999; else v3 = a2 & ~(a2 >> 31); v6[0] = v3; v4 = std::__hash_table,std::__unordered_map_hasher,std::hash,true>,std::__unordered_map_equal,std::equal_to,true>,std::allocator>>::find( (_DWORD *)this + 141, v6); if ( v4 ) return *((_QWORD *)v4 + 3); else return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source