//
// AccountHelpLayer::verifyUnlink from 0x10009d250 to 0x10009d340 (240 bytes)
//
// 2 xrefs:
// > AccountHelpLayer::FLAlert_Clicked @ 0x10009d442
// > sub_10009D450 @ 0x10009d4c9
//
// 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:20:12 +0000
//
__int64 __fastcall AccountHelpLayer::verifyUnlink(__int64 a1)
{
__int64 *v1; // rbx
_QWORD v3[2]; // [rsp+0h] [rbp-20h] BYREF
void *__p; // [rsp+10h] [rbp-10h]
__p = operator new(0x70u);
v3[0] = 113;
v3[1] = 110;
strcpy(
(char *)__p,
"This will delete ALL save data.\nDo you want to continue?\n(You cannot undo this action)");
v1 = (__int64 *)FLAlertLayer::create_1(a1 + 616, "Warning", v3, "Cancel", "DELETE", 300.0);
if ( (v3[0] & 1) != 0 )
operator delete(__p);
(*(void (__fastcall **)(__int64 *, __int64))(*v1 + 72))(v1, 4);
ButtonSprite::updateBGImage(v1[77], (__int64)"GJ_button_06.png");
return (*(__int64 (__fastcall **)(__int64 *))(*v1 + 1312))(v1);
}