//
// LevelBrowserLayer::onDeleteAll from 0x4a5010 to 0x4a5088 (120 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:49:53 +0000
//
int __fastcall LevelBrowserLayer::onDeleteAll(LevelBrowserLayer *this, cocos2d::CCObject *a2)
{
int *v3; // r5
int v5[3]; // [sp+8h] [bp-10h] BYREF
memset(v5, 0, sizeof(v5));
std::string::__init(
v5,
"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.",
0x9Fu);
v3 = FLAlertLayer::create(
(int)this + 444,
(cocos2d::CCLabelBMFont *)"Delete All",
(int)v5,
(ButtonSprite *)"Cancel",
(ButtonSprite *)"Delete",
360.0);
std::string::~string((int)v5);
(*(void (__fastcall **)(int *, int))(*v3 + 36))(v3, 1);
return (*(int (__fastcall **)(int *))(*v3 + 656))(v3);
}