// // LevelBrowserLayer::updateBackgroundColor from 0x100496dac to 0x100496e48 (156 bytes) // // 2 xrefs: // > LevelBrowserLayer::init @ 0x100495218 // > LevelBrowserLayer::onSafeMode @ 0x100498050 // // 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 11:05:56 +0000 // __int64 __fastcall LevelBrowserLayer::updateBackgroundColor(__int64 result) { __int64 v1; // x19 __int64 v2; // x8 __int16 v3; // w8 unsigned int v4; // [xsp+8h] [xbp-18h] BYREF __int16 v5; // [xsp+Ch] [xbp-14h] BYREF char v6; // [xsp+Eh] [xbp-12h] if ( *(_QWORD *)(result + 800) ) { v1 = result; v6 = -1; v5 = 26112; v2 = *(_QWORD *)(result + 664); if ( !v2 || !GameLevelManager::vaultTimedType(*(_DWORD *)(v2 + 316), &v4) ) return (*(__int64 (__fastcall **)(_QWORD, __int16 *))(**(_QWORD **)(v1 + 800) + 960LL))( *(_QWORD *)(v1 + 800), &v5); if ( v4 == 1 ) { v6 = 51; v3 = 13107; } else { if ( v4 != 2 ) return (*(__int64 (__fastcall **)(_QWORD, __int16 *))(**(_QWORD **)(v1 + 800) + 960LL))( *(_QWORD *)(v1 + 800), &v5); v6 = 126; v3 = 6243; } v5 = v3; return (*(__int64 (__fastcall **)(_QWORD, __int16 *))(**(_QWORD **)(v1 + 800) + 960LL))(*(_QWORD *)(v1 + 800), &v5); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source