//
// MenuLayer::showGCQuestion from 0x10037cc10 to 0x10037ccf9 (233 bytes)
//
// 2 xrefs:
// > MenuLayer::onGameCenter @ 0x10037cc02
// > MenuLayer::FLAlert_Clicked @ 0x10037d244
//
// 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:07 +0000
//
__int64 __fastcall MenuLayer::showGCQuestion(__int64 a1)
{
_QWORD *v1; // rbx
_QWORD v3[2]; // [rsp+0h] [rbp-20h] BYREF
void *__p; // [rsp+10h] [rbp-10h]
__p = operator new(0x68u);
v3[0] = 105;
v3[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 + 408, "Game Center", v3, "NO", "YES", 300.0);
if ( (v3[0] & 1) != 0 )
operator delete(__p);
(*(void (__fastcall **)(_QWORD *, __int64))(*v1 + 72LL))(v1, 1);
v1[71] = *(_QWORD *)(AppDelegate::get(v1, 1) + 72);
return (*(__int64 (__fastcall **)(_QWORD *))(*v1 + 1312LL))(v1);
}