// // GJGameLevel::createFromFullSaveString from 0x14026a560 to 0x14026a64e (238 bytes) // // 5 xrefs: // > AutoBackupPopup::onRestore @ 0x1400cbaaf // > LocalLevelManager::tryRecoverAutoSaves @ 0x14046d39f // > LocalLevelManager::importLevelsFromFile @ 0x14046ee6e // > LocalLevelManager::filesPicked @ 0x14046f36f // > @ 0x14091c9f4 // // 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 11:28:51 +0000 // // Hidden C++ exception states: #wind=2 cocos2d::CCObject *__fastcall GJGameLevel::createFromFullSaveString(__int64 a1) { DS_Dictionary *v3; // rdi cocos2d::CCObject *v4; // rsi int v5; // eax __int64 v6; // rax cocos2d::CCObject *v7; // rbx DS_Dictionary *v8; // [rsp+30h] [rbp+8h] void *v9; // [rsp+30h] [rbp+8h] if ( !*(_QWORD *)(a1 + 16) ) return nullptr; v8 = (DS_Dictionary *)operator new(0xF0u); v3 = DS_Dictionary::DS_Dictionary(v8); v4 = nullptr; if ( (unsigned __int8)DS_Dictionary::loadRootSubDictFromString(v3, a1) ) { DS_Dictionary::getIntegerForKey(v3, "kCEK"); if ( v5 == 4 ) { v9 = operator new(0x840u); v6 = GJGameLevel::GJGameLevel((__int64)v9); v7 = (cocos2d::CCObject *)v6; if ( v6 ) { if ( (*(unsigned __int8 (__fastcall **)(__int64))(*(_QWORD *)v6 + 72LL))(v6) ) { cocos2d::CCObject::autorelease(v7); } else { (*(void (__fastcall **)(cocos2d::CCObject *, __int64))(*(_QWORD *)v7 + 8LL))(v7, 1); v7 = nullptr; } } v4 = v7; GJGameLevel::dataLoaded((__int64)v7, v3); } } if ( v3 ) { DS_Dictionary::~DS_Dictionary(v3); j_j_free(v3); } return v4; }
GD Web Decomp Icon

GD Web Decomp

Raw Source