//
// AccountHelpLayer::onUnlink from 0x466538 to 0x4665d8 (160 bytes)
//
// 0 xrefs:
//
// 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 AccountHelpLayer::onUnlink(AccountHelpLayer *a1, cocos2d::CCObject *a2)
{
cocos2d::CCString *v3; // r0
char *CString; // r7
FLAlertLayer *v5; // r5
char *v6; // [sp+10h] [bp-Ch] BYREF
GJAccountManager::sharedState();
sub_775C20(&v6);
v3 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat(
(cocos2d::CCString *)"Are you sure you want to unlink from the account %s?\n"
"Unlinking will delete all data from this device.",
v6);
CString = (char *)cocos2d::CCString::getCString(v3);
sub_774008(&v6);
sub_776584((int)&v6, CString);
v5 = FLAlertLayer::create(
(int)&a1->FLAlertLayerProtocol,
(int)"Unlink Account",
(int)&v6,
(int)"Cancel",
(int)"Unlink",
300.0);
sub_774008(&v6);
ButtonSprite::updateBGImage(v5->m_button2, "GJ_button_05.png");
v5->setTag(v5, 3);
v5->show(v5);
}