//
// LevelBrowserLayer::onDeleteAll from 0x100497804 to 0x10049789c (152 bytes)
//
// 1 xrefs:
// > LevelBrowserLayer::init @ 0x1004960c8
//
// 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:57 +0000
//
__int64 __fastcall LevelBrowserLayer::onDeleteAll(__int64 a1)
{
void *v2; // x19
void *__p[2]; // [xsp+8h] [xbp-28h] BYREF
char v5; // [xsp+1Fh] [xbp-11h]
sub_100009900(
__p,
"Delete all saved online levels?\n"
"Search and folder filters apply.\n"
"Favorite levels will not be deleted.\n"
"Stats and progress will be saved.");
v2 = FLAlertLayer::create_1(
a1 + 552,
(__int64)"Delete All",
(__int64)__p,
(__int64)"Cancel",
(__int64)"Delete",
360.0);
if ( v5 < 0 )
operator delete(__p[0]);
(*(void (__fastcall **)(void *, __int64))(*(_QWORD *)v2 + 72LL))(v2, 1);
return (*(__int64 (__fastcall **)(void *))(*(_QWORD *)v2 + 1312LL))(v2);
}