// // GameLevelManager::deleteLevelList from 0x10053f690 to 0x10053f79c (268 bytes) // // 4 xrefs: // > LevelListLayer::onFavorite @ 0x1003491c5 // > LevelListLayer::FLAlert_Clicked @ 0x10034b5a7 // > LevelListLayer::onDelete @ 0x10034b64a // > LevelBrowserLayer::FLAlert_Clicked @ 0x1004883b9 // // This function is hookable on this platform (idp: pc, 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 12:31:56 +0000 // void __fastcall GameLevelManager::deleteLevelList(__int64 a1, __int64 a2, double a3) { __int64 v3; // rax __int64 v4; // rbx __int64 v5; // rax const char *CString; // r15 size_t v7; // rax size_t v8; // r14 char *v9; // r12 size_t v10; // r13 _QWORD __dst[2]; // [rsp+0h] [rbp-40h] BYREF void *__p; // [rsp+10h] [rbp-30h] if ( *(_DWORD *)(a2 + 544) == 2 ) { v3 = LocalLevelManager::sharedState(a3); sub_1007FF140(*(_QWORD *)(v3 + 368), a2, 1); return; } v4 = *(_QWORD *)(a1 + 784); v5 = sub_10088E820("%i", __dst[0]); CString = (const char *)cocos2d::CCString::getCString(v5); v7 = strlen(CString); if ( v7 >= 0xFFFFFFFFFFFFFFF8LL ) sub_100003630(); v8 = v7; if ( v7 >= 0x17 ) { v10 = 26; if ( (v7 | 7) != 0x17 ) v10 = (v7 | 7) + 1; v9 = (char *)operator new(v10); __p = v9; __dst[0] = v10 + 1; __dst[1] = v8; goto LABEL_10; } LOBYTE(__dst[0]) = 2 * v7; v9 = (char *)__dst + 1; if ( v7 ) LABEL_10: memmove(v9, CString, v8); v9[v8] = 0; cocos2d::CCDictionary::removeObjectForKey(v4, (char *)__dst); if ( (__dst[0] & 1) != 0 ) operator delete(__p); }
GD Web Decomp Icon

GD Web Decomp

Raw Source