// // LevelBrowserLayer::onDeleteAll from 0x10048d6f0 to 0x10048d7a0 (176 bytes) // // 1 xrefs: // > LevelBrowserLayer::init @ 0x10048c6d2 // // 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 LevelBrowserLayer::onDeleteAll(LevelBrowserLayer *a1, cocos2d::CCObject *a2) { __int64 v2; // rbx _QWORD v3[2]; // [rsp+8h] [rbp-28h] BYREF void *__p; // [rsp+18h] [rbp-18h] __p = operator new(0xA0u); v3[0] = 161; v3[1] = 159; strcpy( (char *)__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->FLAlertLayerProtocol, "Delete All", v3, "Cancel", "Delete", 360.0); if ( (v3[0] & 1) != 0 ) operator delete(__p); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v2 + 72LL))(v2, 1); (*(void (__fastcall **)(__int64))(*(_QWORD *)v2 + 1288LL))(v2); }
GD Web Decomp Icon

GD Web Decomp

Raw Source