//
// AccountHelpLayer::verifyUnlink from 0x1000cedf0 to 0x1000ceee0 (240 bytes)
//
// 2 xrefs:
// > AccountHelpLayer::FLAlert_Clicked @ 0x1000cefe2
// > sub_1000CEFF0 @ 0x1000cf069
//
// 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 __fastcall AccountHelpLayer::verifyUnlink(AccountHelpLayer *a1)
{
ButtonSprite **v1; // rbx
_QWORD v2[2]; // [rsp+0h] [rbp-20h] BYREF
void *__p; // [rsp+10h] [rbp-10h]
__p = operator new(0x70u);
v2[0] = 113;
v2[1] = 110;
strcpy(
(char *)__p,
"This will delete ALL save data.\nDo you want to continue?\n(You cannot undo this action)");
v1 = (ButtonSprite **)FLAlertLayer::create_1(&a1->FLAlertLayerProtocol, "Warning", v2, "Cancel", "DELETE", 300.0);
if ( (v2[0] & 1) != 0 )
operator delete(__p);
(*(void (__fastcall **)(ButtonSprite **, __int64))&(*v1)->m_fVertexZ)(v1, 4);
ButtonSprite::updateBGImage(v1[75], "GJ_button_06.png");
(*(void (__fastcall **)(ButtonSprite **))&(*v1)[1].m_fTextureTop)(v1);
}