// // GJEffectManager::updateTimer from 0xa0b9c0 to 0xa0bb24 (356 bytes) // // 4 xrefs: // > GJBaseGameLayer::activateItemEditTrigger @ 0x9ecd10 // > GJBaseGameLayer::activatePersistentItemTrigger @ 0x9eced4 // > GJBaseGameLayer::activatePersistentItemTrigger @ 0x9ed034 // > @ 0x59da0 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // 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 12:59:23 +0000 // __int64 __fastcall GJEffectManager::updateTimer(GJEffectManager *this, int a2, double a3) { int v4; // w0 unsigned __int64 v5; // d1 __int64 *v6; // x0 double v7; // d0 double v10; // [xsp+30h] [xbp+20h] int v11; // [xsp+4Ch] [xbp+3Ch] BYREF void *v12; // [xsp+50h] [xbp+40h] BYREF char *v13; // [xsp+58h] [xbp+48h] __int64 v14; // [xsp+60h] [xbp+50h] v11 = a2; v4 = 9999; if ( a2 <= 9998 ) { if ( a2 < 0 ) v4 = 0; else v4 = a2; } v5 = 0x416312CFE0000000LL; v11 = v4; if ( a3 > 9999999.0 || (v5 = 0xC16312CFE0000000LL, a3 < -9999999.0) ) { v10 = *(double *)&v5; v6 = std::__hash_table,std::__unordered_map_hasher,std::hash,true>,std::__unordered_map_equal,std::equal_to,true>,std::allocator>>::find( (_QWORD *)this + 115, &v11); v7 = v10; if ( v6 ) goto LABEL_8; } else { v6 = std::__hash_table,std::__unordered_map_hasher,std::hash,true>,std::__unordered_map_equal,std::equal_to,true>,std::allocator>>::find( (_QWORD *)this + 115, &v11); v7 = a3; if ( v6 ) { LABEL_8: *((double *)v6 + 4) = v7; return _stack_chk_guard; } } v12 = nullptr; v13 = nullptr; v14 = 0; GJEffectManager::startTimer((__int64)this, v11, 0, 0, 1u, 0, 0, (__int64)&v12, v7, 0.0, 1.0, 0, 0); if ( v12 ) { if ( v12 != v13 ) v13 += 4 * ~((unsigned __int64)(v13 - 4 - (_BYTE *)v12) >> 2); operator delete(v12); } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source