// // GJGameLevel::createFromFullSaveString from 0x4cc59c to 0x4cc5fc (96 bytes) // // 2 xrefs: // > LocalLevelManager::importLevelsFromPaths @ 0x542d68 // > LocalLevelManager::tryRecoverAutoSaves @ 0x5438d8 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:50:39 +0000 // int __fastcall GJGameLevel::createFromFullSaveString(unsigned __int8 *a1) { int v2; // r0 int result; // r0 DS_Dictionary *v4; // r5 int *v5; // r4 v2 = *a1; if ( (v2 & 1) != 0 ) result = *((_DWORD *)a1 + 1); else result = v2 >> 1; if ( result ) { v4 = (DS_Dictionary *)operator new(0xD8u); DS_Dictionary::DS_Dictionary(v4); if ( DS_Dictionary::loadRootSubDictFromString(v4, a1) && DS_Dictionary::getIntegerForKey(v4, "kCEK") == 4 ) { v5 = GJGameLevel::create((GJGameLevel *)&byte_4); GJGameLevel::dataLoaded((GJGameLevel *)v5, v4); } else { v5 = nullptr; } DS_Dictionary::~DS_Dictionary(v4); operator delete(v4); return (int)v5; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source