//
// GJSongBrowser::onDeleteAll from 0x1005ff3b0 to 0x1005ff45d (173 bytes)
//
// 1 xrefs:
// > GJSongBrowser::customSetup @ 0x1005ff18d
//
// 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 GJSongBrowser::onDeleteAll(GJSongBrowser *a1, cocos2d::CCObject *a2)
{
char *v2; // rbx
_QWORD v3[2]; // [rsp+0h] [rbp-20h] BYREF
void *__p; // [rsp+10h] [rbp-10h]
__p = operator new(0x28u);
v3[0] = 41;
v3[1] = 36;
strcpy((char *)__p, "Delete all downloaded custom songs?\n");
v2 = FLAlertLayer::create_1(
(int)a1 + 608,
(int)"Delete All",
(__int64)v3,
(int)"Cancel",
(int)"Delete",
COERCE_DOUBLE(1135869952));
if ( (v3[0] & 1) != 0 )
operator delete(__p);
(*(void (__fastcall **)(char *, __int64))(*(_QWORD *)v2 + 72LL))(v2, 1);
(*(void (__fastcall **)(char *))(*(_QWORD *)v2 + 1288LL))(v2);
}