// // SupportLayer::onLowDetail from 0x100383f90 to 0x100384081 (241 bytes) // // 1 xrefs: // > SupportLayer::customSetup @ 0x100382684 // // 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 12:29:09 +0000 // __int64 SupportLayer::onLowDetail() { __int64 v0; // rax __int64 v1; // rbx __int64 result; // rax __int64 v3; // rbx _QWORD v4[2]; // [rsp+0h] [rbp-20h] BYREF void *__p; // [rsp+10h] [rbp-10h] v0 = GameManager::sharedState(); GameManager::unloadBackground(v0); v1 = GameManager::sharedState(); *(_BYTE *)(v1 + 925) = *(_BYTE *)(GameManager::sharedState() + 925) ^ 1; result = GameManager::sharedState(); if ( !*(_BYTE *)(result + 934) ) { *(_BYTE *)(GameManager::sharedState() + 934) = 1; __p = operator new(0x50u); v4[0] = 81; v4[1] = 73; strcpy((char *)__p, "Low detail mode disables a lot of visual effects to increase performance."); v3 = FLAlertLayer::create_1(0, "Low Detail Mode", v4, "OK", 0, 300.0); if ( (v4[0] & 1) != 0 ) operator delete(__p); return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v3 + 1312LL))(v3); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source