// // MenuLayer::showGCQuestion from 0x100391cd0 to 0x100391db9 (233 bytes) // // 2 xrefs: // > MenuLayer::onGameCenter @ 0x100391cc2 // > MenuLayer::FLAlert_Clicked @ 0x100392304 // // 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 MenuLayer::showGCQuestion(MenuLayer *a1) { _QWORD *v1; // rbx _QWORD v2[2]; // [rsp+0h] [rbp-20h] BYREF void *__p; // [rsp+10h] [rbp-10h] __p = operator new(0x68u); v2[0] = 105; v2[1] = 99; strcpy( (char *)__p, "Do you want to enable\nGame Center? You can change this anytime in the options menu."); v1 = (_QWORD *)FLAlertLayer::create_1(&a1->FLAlertLayerProtocol, "Game Center", v2, "NO", "YES", 300.0); if ( (v2[0] & 1) != 0 ) operator delete(__p); (*(void (__fastcall **)(_QWORD *, __int64))(*v1 + 72LL))(v1, 1); v1[70] = AppDelegate::get()->m_runningScene; (*(void (__fastcall **)(_QWORD *))(*v1 + 1288LL))(v1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source