//
// GameManager::showParentalRestrictedAlert from 0x717090 to 0x717188 (248 bytes)
//
// 9 xrefs:
// > CommentCell::onGoToLevel @ 0x735e1c
// > LevelListCell::onClick @ 0x736288
// > EditLevelLayer::onShare @ 0x7ee700
// > LevelListLayer::onShare @ 0xbadfa0
// > AccountReviewPopup::jumpTo @ 0xc407e8
// > ThreadOpenHelper::check @ 0xc7ee0c
// > EditorSoundConfigInfoLayer::onUpload @ 0xccce00
// > EditorSoundsLayer::onBrowse @ 0xcd5e18
// > ??> @ 0xc6e38
//
// 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 12:52:16 +0000
//
__int64 __fastcall GameManager::showParentalRestrictedAlert(GameManager *this)
{
__int64 v1; // x0
_QWORD v3[2]; // [xsp+20h] [xbp+20h] BYREF
void *v4; // [xsp+30h] [xbp+30h]
v3[0] = 65;
v4 = (void *)operator new(0x40u);
v3[1] = 54;
strcpy((char *)v4, "This feature is disabled by Parental Controls.");
v1 = FLAlertLayer::create(0, (cocos2d::CCLabelBMFont *)"Restricted", (char *)v3, (ButtonSprite *)"OK", nullptr);
(*(void (__fastcall **)(__int64))(*(_QWORD *)v1 + 1312LL))(v1);
if ( (v3[0] & 1) != 0 )
operator delete(v4);
return _stack_chk_guard;
}