// // LevelBrowserLayer::updateBackgroundColor from 0x1403eb1e0 to 0x1403eb24d (109 bytes) // // 3 xrefs: // > LevelBrowserLayer::init @ 0x1403e23d9 // > LevelBrowserLayer::onSafeMode @ 0x1403eb1c6 // > @ 0x1409251a8 // // This function is hookable on this platform (idp: pc, 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:31:45 +0000 // __int64 __fastcall LevelBrowserLayer::updateBackgroundColor(__int64 a1) { __int64 v1; // rdx __int64 v2; // rcx int v3; // ecx int v4; // ecx __int64 result; // rax _BYTE v6[3]; // [rsp+30h] [rbp+8h] BYREF v1 = *(_QWORD *)(a1 + 800); if ( v1 ) { v2 = *(_QWORD *)(a1 + 664); *(_WORD *)v6 = 26112; v6[2] = -1; if ( v2 ) { v3 = *(_DWORD *)(v2 + 320) - 32; if ( v3 ) { v4 = v3 - 1; if ( v4 ) { if ( v4 == 1 ) { *(_WORD *)v6 = 6243; v6[2] = 126; } } else { memset(v6, 51, sizeof(v6)); } } } return (**(__int64 (__fastcall ***)(__int64, _BYTE *))(v1 + 320))(v1 + 320, v6); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source