// // LevelBrowserLayer::onRemoveAllFavorites from 0x1004976d8 to 0x1004977cc (244 bytes) // // 1 xrefs: // > LevelBrowserLayer::init @ 0x1004960d0 // // 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 // void __fastcall LevelBrowserLayer::onRemoveAllFavorites(__int64 a1) { __int64 v2; // x8 const std::string::value_type *v3; // x1 void *v4; // x19 std::string __p; // [xsp+0h] [xbp-40h] BYREF std::string v6; // [xsp+18h] [xbp-28h] BYREF memset(&v6, 0, sizeof(v6)); v2 = *(_QWORD *)(a1 + 664); v3 = "Remove all levels from favorites?\n" "Search and folder filters apply.\n" "Levels will not be deleted."; if ( v2 && *(_DWORD *)(v2 + 316) == 103 ) v3 = "Remove all lists from favorites?\nSearch and folder filters apply."; std::string::assign(&v6, v3); if ( SHIBYTE(v6.__r_.__value_.__r.__words[2]) < 0 ) sub_1000097D0(&__p, v6.__r_.__value_.__l.__data_, v6.__r_.__value_.__l.__size_); else __p = v6; v4 = FLAlertLayer::create_1( a1 + 552, (__int64)"Remove Favorites", (__int64)&__p, (__int64)"Cancel", (__int64)"Remove", 360.0); if ( SHIBYTE(__p.__r_.__value_.__r.__words[2]) < 0 ) operator delete(__p.__r_.__value_.__l.__data_); (*(void (__fastcall **)(void *, __int64))(*(_QWORD *)v4 + 72LL))(v4, 2); (*(void (__fastcall **)(void *))(*(_QWORD *)v4 + 1312LL))(v4); if ( SHIBYTE(v6.__r_.__value_.__r.__words[2]) < 0 ) operator delete(v6.__r_.__value_.__l.__data_); }
GD Web Decomp Icon

GD Web Decomp

Raw Source