// // SupportLayer::onLowDetail from 0x100192b70 to 0x100192c24 (180 bytes) // // 1 xrefs: // > SupportLayer::customSetup @ 0x10019189c // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // void __fastcall SupportLayer::onLowDetail(SupportLayer *a1, cocos2d::CCObject *a2) { GameManager *v2; // x0 GameManager *v3; // x19 __int64 v4; // x19 void *__p[2]; // [xsp+8h] [xbp-28h] BYREF char v6; // [xsp+1Fh] [xbp-11h] v2 = GameManager::sharedState(); GameManager::unloadBackground(v2); v3 = GameManager::sharedState(); v3->m_performanceMode = !GameManager::sharedState()->m_performanceMode; if ( !GameManager::sharedState()->m_showedLowDetailDialog ) { GameManager::sharedState()->m_showedLowDetailDialog = 1; sub_100009900(__p, "Low detail mode disables a lot of visual effects to increase performance."); v4 = FLAlertLayer::create_1(0, "Low Detail Mode", __p, "OK", 0, 300.0); if ( v6 < 0 ) operator delete(__p[0]); (*(void (__fastcall **)(__int64))(*(_QWORD *)v4 + 1288LL))(v4); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source