// // GameLevelManager::getSavedLevel from 0x7ffafc to 0x7ffc14 (280 bytes) // // 15 xrefs: // > LevelCell::loadCustomLevelCell @ 0x7458c8 // > CommentCell::loadFromComment @ 0x74b708 // > CommentCell::loadFromComment @ 0x74bf7c // > CommentCell::loadFromComment @ 0x74c11c // > GameLevelManager::getSavedLevel @ 0x7ffec0 // > GameLevelManager::onLikeItemCompleted @ 0x810108 // > GameLevelManager::onGetLevelSaveDataCompleted @ 0x811920 // > GameLevelManager::clearDeathDataInstances @ 0x813668 // > GameLevelManager::levelControlInstances @ 0x813934 // > GameLevelManager::onUploadDeathDataCompleted @ 0x834ab0 // > GameLevelManager::replayPlatformerSaveJournal @ 0x845420 // > GJLevelList::getListLevelsArray @ 0x850b48 // > GameLevelManager::onGetDeathDataCompleted @ 0x858c64 // > GameStatsManager::getTotalCollectedCurrency @ 0x8ce574 // > @ 0x89b78 // // 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:43 +0000 // __int64 __fastcall GameLevelManager::getSavedLevel(GameLevelManager *this, const char *a2) { __int64 v2; // x23 const char *LevelKey; // x24 size_t v4; // x0 size_t v5; // x19 unsigned __int64 v6; // x0 char *v7; // x3 __int64 v8; // x19 __int64 v10; // [xsp+40h] [xbp+40h] BYREF size_t v11; // [xsp+48h] [xbp+48h] void *v12; // [xsp+50h] [xbp+50h] v2 = *((_QWORD *)this + 95); v10 = 0; LevelKey = (const char *)GameLevelManager::getLevelKey(this, a2); v11 = 0; v12 = nullptr; v4 = strlen(LevelKey); v5 = v4; if ( v4 > 0xFFFFFFFFFFFFFFEFLL ) sub_62C79C(); if ( v4 > 0x16 ) { v6 = (v4 + 16) & 0xFFFFFFFFFFFFFFF0LL; v10 = v6 | 1; v7 = (char *)operator new(v6); v12 = v7; v11 = v5; LABEL_4: v7 = (char *)memcpy(v7, LevelKey, v5); goto LABEL_5; } LOBYTE(v10) = 2 * v4; v7 = (char *)&v10 + 1; if ( v4 ) goto LABEL_4; LABEL_5: v7[v5] = 0; v8 = cocos2d::CCDictionary::objectForKey(v2, &v10); if ( (v10 & 1) != 0 ) operator delete(v12); return v8; }
GD Web Decomp Icon

GD Web Decomp

Raw Source