//
// MenuLayer::showGCQuestion from 0x3f9b04 to 0x3f9b86 (130 bytes)
//
// 1 xrefs:
// > MenuLayer::onGameCenter @ 0x3f9bb8
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:47:19 +0000
//
int __fastcall MenuLayer::showGCQuestion(MenuLayer *this)
{
int *v2; // r4
AppDelegate *v3; // r0
int v5[3]; // [sp+8h] [bp-10h] BYREF
memset(v5, 0, sizeof(v5));
std::string::__init(
v5,
"Do you want to enable\nGame Center? You can change this anytime in the options menu.",
0x63u);
v2 = FLAlertLayer::create(
(int)this + 316,
(cocos2d::CCLabelBMFont *)"Game Center",
(int)v5,
(ButtonSprite *)"NO",
(ButtonSprite *)"YES",
300.0);
std::string::~string((int)v5);
v3 = (AppDelegate *)(*(int (__fastcall **)(int *, int))(*v2 + 36))(v2, 1);
v2[113] = *(_DWORD *)(AppDelegate::get(v3) + 12);
return (*(int (__fastcall **)(int *))(*v2 + 656))(v2);
}