// // sub_100225E48 from 0x100225e48 to 0x100225efc (180 bytes) // // 1 xrefs: // > SupportLayer::customSetup @ 0x100224af0 // // 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:01:10 +0000 // __int64 __fastcall sub_100225E48(__int64 a1) { __int64 v1; // x0 __int64 v2; // x0 __int64 v3; // x19 __int64 v4; // x0 __int64 result; // x0 __int64 v6; // x19 void *__p[2]; // [xsp+8h] [xbp-28h] BYREF char v8; // [xsp+1Fh] [xbp-11h] v1 = GameManager::sharedState(a1); v2 = sub_1003B5110(v1); v3 = GameManager::sharedState(v2); v4 = GameManager::sharedState(v3); *(_BYTE *)(v3 + 925) = *(_BYTE *)(v4 + 925) ^ 1; result = GameManager::sharedState(v4); if ( (*(_BYTE *)(result + 934) & 1) == 0 ) { *(_BYTE *)(GameManager::sharedState(result) + 934) = 1; sub_100009900(__p, "Low detail mode disables a lot of visual effects to increase performance."); v6 = FLAlertLayer::create_1(0, "Low Detail Mode", __p, "OK", 0, 300.0); if ( v8 < 0 ) operator delete(__p[0]); return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v6 + 1312LL))(v6); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source