//
// GJAccountManager::showAccountNeededAlert from 0x100447d90 to 0x100447e14 (132 bytes)
//
// 9 xrefs:
// > EditLevelLayer::onShare @ 0x10011059c
// > CommentCell::onLike @ 0x100138720
// > sub_10022D964 @ 0x10022d9cc
// > ProfilePage::onFriend @ 0x10022dabc
// > sub_10022DE90 @ 0x10022def0
// > sub_1002E225C @ 0x1002e22f8
// > sub_1003EFD70 @ 0x1003efdf8
// > sub_1004D1FE0 @ 0x1004d206c
// > sub_1004D65A0 @ 0x1004d6628
//
// 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 11:05:15 +0000
//
void __fastcall GJAccountManager::showAccountNeededAlert(__int64 a1, const char *a2)
{
void *v2; // x0
char *CString; // x0
void *v4; // x0
void *__p[2]; // [xsp+8h] [xbp-28h] BYREF
char v6; // [xsp+1Fh] [xbp-11h]
v2 = sub_1003065B0("You need an account to %s.\nYou can create one for free in the main menu.", a2);
CString = (char *)cocos2d::CCString::getCString((__int64)v2);
sub_100009900(__p, CString);
v4 = FLAlertLayer::create_1(0, (__int64)"Account Needed", (__int64)__p, (__int64)"Close", 0, 380.0);
(*(void (__fastcall **)(void *))(*(_QWORD *)v4 + 1312LL))(v4);
if ( v6 < 0 )
operator delete(__p[0]);
}