// // GameLevelManager::encodeDataTo from 0x10054f4b0 to 0x10054f747 (663 bytes) // // 1 xrefs: // > GameManager::encodeDataTo @ 0x100375704 // // 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:02 +0000 // void __fastcall GameLevelManager::encodeDataTo(__int64 a1, __int64 a2) { __int64 v3; // r15 __int64 v4; // rax __int64 v5; // r12 __int64 v6; // rsi DS_Dictionary::setDictForKey(a2, "GLM_01", *(_QWORD *)(a1 + 744)); GameLevelManager::limitSavedLevels(a1); GameLevelManager::purgeUnusedLevels(a1); GameLevelManager::updateLevelOrders(a1); GameLevelManager::updateLevelOrders(a1); DS_Dictionary::setDictForKey(a2, "GLM_03", *(_QWORD *)(a1 + 760)); GameLevelManager::cleanupDailyLevels(a1); DS_Dictionary::setDictForKey(a2, "GLM_10", *(_QWORD *)(a1 + 848)); DS_Dictionary::setIntegerForKey_1(a2, (__int64)"GLM_11", *(unsigned int *)(a1 + 864)); DS_Dictionary::setIntegerForKey_1(a2, (__int64)"GLM_17", *(unsigned int *)(a1 + 876)); DS_Dictionary::setIntegerForKey_1(a2, (__int64)"GLM_23", *(unsigned int *)(a1 + 888)); DS_Dictionary::setIntegerForKey_1(a2, (__int64)"GLM_24", *(unsigned int *)(a1 + 916)); DS_Dictionary::setIntegerForKey_1(a2, (__int64)"GLM_25", *(unsigned int *)(a1 + 920)); DS_Dictionary::setIntegerForKey_1(a2, (__int64)"GLM_26", *(unsigned int *)(a1 + 924)); DS_Dictionary::setIntegerForKey_1(a2, (__int64)"GLM_27", *(unsigned int *)(a1 + 928)); DS_Dictionary::setIntegerForKey_1(a2, (__int64)"GLM_28", *(unsigned __int8 *)(a1 + 932)); DS_Dictionary::setDictForKey(a2, "GLM_16", *(_QWORD *)(a1 + 936)); v3 = sub_1007FE900(a2); v4 = *(_QWORD *)(a1 + 784); if ( v4 ) { v5 = *(_QWORD *)(v4 + 56); while ( v5 ) { v6 = *(_QWORD *)(v5 + 264); v5 = *(_QWORD *)(v5 + 288); sub_1007FEBF0(v3, v6); } } DS_Dictionary::setArrayForKey(a2, "GLM_22", v3); DS_Dictionary::setBoolMapForKey(a2, "GLM_09", (_QWORD *)(a1 + 944)); if ( !*(_BYTE *)(GameManager::sharedState() + 346) ) { DS_Dictionary::setDictForKey(a2, "GLM_07", *(_QWORD *)(a1 + 792)); DS_Dictionary::setDictForKey(a2, "GLM_14", *(_QWORD *)(a1 + 824)); } DS_Dictionary::setDictForKey(a2, "GLM_12", *(_QWORD *)(a1 + 800)); DS_Dictionary::setDictForKey(a2, "GLM_13", *(_QWORD *)(a1 + 808)); DS_Dictionary::setDictForKey(a2, "GLM_15", *(_QWORD *)(a1 + 816)); DS_Dictionary::setDictForKey(a2, "GLM_06", *(_QWORD *)(a1 + 776)); DS_Dictionary::setDictForKey(a2, "GLM_08", *(_QWORD *)(a1 + 752)); DS_Dictionary::setDictForKey(a2, "GLM_18", *(_QWORD *)(a1 + 832)); DS_Dictionary::setDictForKey(a2, "GLM_19", *(_QWORD *)(a1 + 840)); DS_Dictionary::setArrayForKey(a2, "GLM_20", *(_QWORD *)(a1 + 1520)); }
GD Web Decomp Icon

GD Web Decomp

Raw Source