// // LevelBrowserLayer::updateBackgroundColor from 0x4a4c24 to 0x4a4ca8 (132 bytes) // // 2 xrefs: // > LevelBrowserLayer::init @ 0x4a6e0a // > LevelBrowserLayer::onSafeMode @ 0x4a8cc8 // // 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:49:53 +0000 // int __fastcall LevelBrowserLayer::updateBackgroundColor(int this) { int v1; // r5 int v2; // r3 char v3; // r3 char v4; // [sp+4h] [bp-10h] BYREF char v5; // [sp+5h] [bp-Fh] char v6; // [sp+6h] [bp-Eh] int v7; // [sp+8h] [bp-Ch] BYREF v1 = this; if ( *(_DWORD *)(this + 584) ) { v4 = 0; v5 = 102; v6 = -1; v2 = *(_DWORD *)(this + 500); if ( !v2 || !GameLevelManager::vaultTimedType(*(_DWORD *)(v2 + 264), &v7) ) return (*(int (__fastcall **)(_DWORD, char *))(**(_DWORD **)(v1 + 584) + 480))(*(_DWORD *)(v1 + 584), &v4); if ( v7 == 2 ) { v4 = 99; v5 = 24; v3 = 126; } else { if ( v7 != 1 ) return (*(int (__fastcall **)(_DWORD, char *))(**(_DWORD **)(v1 + 584) + 480))(*(_DWORD *)(v1 + 584), &v4); v3 = 51; v4 = 51; v5 = 51; } v6 = v3; return (*(int (__fastcall **)(_DWORD, char *))(**(_DWORD **)(v1 + 584) + 480))(*(_DWORD *)(v1 + 584), &v4); } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source