// // LevelBrowserLayer::onDeleteAll from 0x1402ce5d0 to 0x1402ce762 (402 bytes) // // 2 xrefs: // > LevelBrowserLayer::init @ 0x1402ca089 // > @ 0x1406d2dc8 // // 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 // // Hidden C++ exception states: #wind=1 void LevelBrowserLayer::onDeleteAll(LevelBrowserLayer *a1, cocos2d::CCObject *a2) { int v2; // ebx __int64 v3; // rax FLAlertLayer *v4; // rbx __int128 v5; // [rsp+50h] [rbp-48h] BYREF __int64 v6; // [rsp+60h] [rbp-38h] __int64 v7; // [rsp+68h] [rbp-30h] _BYTE v8[40]; // [rsp+70h] [rbp-28h] BYREF v2 = (_DWORD)a1 + 552; if ( !a1 ) v2 = 0; v5 = 0; *(_QWORD *)&v5 = sub_14003AA10(0xA0u); v6 = 159; v7 = 159; strcpy( (char *)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."); v3 = sub_14003BDB0((__int64)v8, (__int64)&v5); v4 = FLAlertLayer::create( v2, (int)"Delete All", v3, (__int64)"Cancel", (__int64)"Delete", 1135869952, 0, 0, 1065353216); sub_14003A830((__int64)&v5); v4->setTag(v4, 1); v4->show(v4); }
GD Web Decomp Icon

GD Web Decomp

Raw Source