// // GameLevelManager::updateSavedLevelList from 0x81c7e0 to 0x81c998 (440 bytes) // // 3 xrefs: // > LevelListCell::onClick @ 0x73624c // > GameLevelManager::onGetLevelListsCompleted @ 0x848da8 // > @ 0x83c08 // // 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 12:54:59 +0000 // __int64 __fastcall GameLevelManager::updateSavedLevelList(GameLevelManager *this, GJLevelList *a2) { GameLevelManager *v3; // x0 __int64 SavedLevelList; // x0 __int64 v5; // x20 __int64 *v6; // x0 __int64 *v7; // x0 __int64 *v8; // x0 char v9; // w0 __int64 v10; // x0 __int64 v11; // x1 __int64 v13; // [xsp+30h] [xbp+30h] BYREF __int64 v14; // [xsp+38h] [xbp+38h] void *v15; // [xsp+40h] [xbp+40h] v3 = (GameLevelManager *)GameLevelManager::sharedState(_stack_chk_guard); SavedLevelList = GameLevelManager::getSavedLevelList(v3, (const char *)*((unsigned int *)a2 + 86)); v5 = SavedLevelList; if ( SavedLevelList ) { v6 = (__int64 *)(SavedLevelList + 408); *(_DWORD *)(v5 + 348) = *((_DWORD *)a2 + 87); *(_DWORD *)(v5 + 352) = *((_DWORD *)a2 + 88); *(_DWORD *)(v5 + 356) = *((_DWORD *)a2 + 89); *(_DWORD *)(v5 + 360) = *((_DWORD *)a2 + 90); *(_DWORD *)(v5 + 364) = *((_DWORD *)a2 + 91); *(_BYTE *)(v5 + 397) = *((_BYTE *)a2 + 397); if ( v6 != (__int64 *)((char *)a2 + 408) ) { if ( (*((_BYTE *)a2 + 408) & 1) != 0 ) std::string::assign(v6, *((const void **)a2 + 53), *((_QWORD *)a2 + 52)); else std::string::assign(v6, (char *)a2 + 409, *((_BYTE *)a2 + 408) >> 1); } v7 = (__int64 *)(v5 + 432); if ( (GJLevelList *)(v5 + 432) != (GJLevelList *)((char *)a2 + 432) ) { if ( (*((_BYTE *)a2 + 432) & 1) != 0 ) std::string::assign(v7, *((const void **)a2 + 56), *((_QWORD *)a2 + 55)); else std::string::assign(v7, (char *)a2 + 433, *((_BYTE *)a2 + 432) >> 1); } v8 = (__int64 *)(v5 + 504); if ( (GJLevelList *)(v5 + 504) != (GJLevelList *)((char *)a2 + 504) ) { if ( (*((_BYTE *)a2 + 504) & 1) != 0 ) std::string::assign(v8, *((const void **)a2 + 65), *((_QWORD *)a2 + 64)); else std::string::assign(v8, (char *)a2 + 505, *((_BYTE *)a2 + 504) >> 1); } *(_DWORD *)(v5 + 528) = *((_DWORD *)a2 + 132); v13 = 0; *(_DWORD *)(v5 + 532) = *((_DWORD *)a2 + 133); v14 = 0; v9 = *((_BYTE *)a2 + 480); v15 = nullptr; if ( (v9 & 1) != 0 ) { std::string::__init(&v13, *((void **)a2 + 62), *((_QWORD *)a2 + 61)); } else { v10 = *((_QWORD *)a2 + 60); v11 = *((_QWORD *)a2 + 61); v15 = *((void **)a2 + 62); v13 = v10; v14 = v11; } GJLevelList::parseListLevels((_QWORD *)v5, (__int64)&v13); if ( (v13 & 1) != 0 ) operator delete(v15); } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source