// // GameLevelManager::updateSavedLevelList from 0x10055b430 to 0x10055b530 (256 bytes) // // 2 xrefs: // > LevelListCell::onClick @ 0x1002432ae // > GameLevelManager::onGetLevelListsCompleted @ 0x10052f7a8 // // 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:32:07 +0000 // void __fastcall GameLevelManager::updateSavedLevelList(__int64 a1, __int64 a2) { __int64 v2; // rax __int64 SavedLevelList; // rax std::string *v4; // rbx __int128 v5; // [rsp+0h] [rbp-30h] BYREF void *__p; // [rsp+10h] [rbp-20h] v2 = GameLevelManager::sharedState(); SavedLevelList = GameLevelManager::getSavedLevelList(v2, *(unsigned int *)(a2 + 344)); if ( SavedLevelList ) { v4 = (std::string *)SavedLevelList; *(_OWORD *)(SavedLevelList + 348) = *(_OWORD *)(a2 + 348); *(_DWORD *)(SavedLevelList + 364) = *(_DWORD *)(a2 + 364); *(_BYTE *)(SavedLevelList + 397) = *(_BYTE *)(a2 + 397); std::string::operator=((std::string *)(SavedLevelList + 408), (const std::string *)(a2 + 408)); std::string::operator=(v4 + 18, (const std::string *)(a2 + 432)); std::string::operator=(v4 + 21, (const std::string *)(a2 + 504)); v4[22].__r_.__value_.__r.__words[0] = *(_QWORD *)(a2 + 528); if ( (*(_BYTE *)(a2 + 480) & 1) != 0 ) { sub_10001AD30(&v5, *(const void **)(a2 + 496), *(_QWORD *)(a2 + 488)); } else { __p = *(void **)(a2 + 496); v5 = *(_OWORD *)(a2 + 480); } GJLevelList::parseListLevels(v4, &v5); if ( (v5 & 1) != 0 ) operator delete(__p); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source