// // GameLevelManager::evictDeathDataCache from 0x84f688 to 0x84f880 (504 bytes) // // 4 xrefs: // > GameLevelManager::deleteLevel @ 0x84f8c0 // > GameLevelManager::forceDeathDataRefetch @ 0x84fab8 // > DeathStatsPopup::showResult @ 0xca84b0 // > @ 0x58ac8 // // 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:55:25 +0000 // __int64 __fastcall GameLevelManager::evictDeathDataCache(GameLevelManager *this, int a2) { unsigned __int64 v3; // x4 unsigned __int64 v4; // x7 __int64 v5; // x5 unsigned __int64 v6; // x6 __int64 v7; // x9 void **v8; // x0 _QWORD *v9; // x2 unsigned __int64 v10; // x3 unsigned __int64 v11; // x0 __int64 *v12; // x0 __int64 *v13; // x19 __int64 *v14; // x1 void *v15; // x0 unsigned __int64 v17; // x6 _QWORD *i; // x1 unsigned __int64 v19; // x0 unsigned __int64 v20; // x0 __int64 v21; // x0 unsigned __int64 v22; // x3 __int64 v23; // x3 __int64 v24; // x3 unsigned __int64 v25; // x8 int v26; // [xsp+3Ch] [xbp+3Ch] BYREF void *v27; // [xsp+40h] [xbp+40h] BYREF v26 = a2; v3 = *((_QWORD *)this + 51); if ( v3 ) { v4 = v3 - 1; v5 = (v3 - 1) & v3; v6 = v5 ? a2 % v3 : v4 & a2; v7 = *((_QWORD *)this + 50); v8 = *(void ***)(v7 + 8 * v6); if ( v8 ) { v9 = *v8; if ( *v8 ) { while ( 1 ) { v10 = v9[1]; v11 = v4 & v10; if ( v5 ) v11 = v10 % v3; if ( v6 != v11 ) goto LABEL_12; if ( a2 == *((_DWORD *)v9 + 4) ) break; v9 = (_QWORD *)*v9; if ( !v9 ) goto LABEL_12; } v17 = v10 & v4; if ( v5 ) v17 = v10 % v3; for ( i = *(_QWORD **)(v7 + 8 * v17); (_QWORD *)*i != v9; i = (_QWORD *)*i ) ; if ( i != (_QWORD *)((char *)this + 416) ) { v19 = i[1]; v20 = v5 ? v19 % v3 : v4 & v19; if ( v17 == v20 ) goto LABEL_30; } v21 = *v9; if ( *v9 ) { v22 = *(_QWORD *)(v21 + 8); if ( v5 ) { v25 = v22 / v3; if ( v17 == v22 % v3 ) { LABEL_33: v23 = v22 - v25 * v3; LABEL_34: if ( v17 != v23 ) { LABEL_35: *(_QWORD *)(*((_QWORD *)this + 50) + 8 * v23) = i; v24 = *v9; goto LABEL_36; } LABEL_38: v24 = v21; goto LABEL_36; } *(_QWORD *)(v7 + 8 * v17) = 0; LABEL_30: v21 = *v9; v24 = *v9; if ( !*v9 ) { LABEL_36: *i = v24; *v9 = 0; --*((_QWORD *)this + 53); operator delete(v9); goto LABEL_12; } v22 = *(_QWORD *)(v21 + 8); if ( !v5 ) { v23 = v4 & v22; if ( v17 != v23 ) goto LABEL_35; goto LABEL_38; } v25 = v22 / v3; goto LABEL_33; } v23 = v4 & v22; if ( v17 == v23 ) goto LABEL_34; } *(_QWORD *)(v7 + 8 * v17) = 0; goto LABEL_30; } } } LABEL_12: v12 = (__int64 *)((char *)this + 320); v13 = (__int64 *)((char *)this + 360); std::__hash_table,std::__unordered_map_hasher,std::hash,true>,std::__unordered_map_equal,std::equal_to,true>,std::allocator>>::__erase_unique( v12, &v26); v14 = std::__hash_table,std::__unordered_map_hasher,std::hash,true>,std::__unordered_map_equal,std::equal_to,true>,std::allocator>>::find( v13, &v26); if ( v14 ) { std::__hash_table,std::__unordered_map_hasher,std::hash,true>,std::__unordered_map_equal,std::equal_to,true>,std::allocator>>::remove( v13, v14, (__int64)&v27); v15 = v27; v27 = nullptr; if ( v15 ) operator delete(v15); } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source