; ; GameLevelManager::encodeDataTo from 0x14014af00 to 0x14014b19a (666 bytes) ; ; 2 xrefs: ; > GameManager::encodeDataTo @ 0x1401893fd ; > @ 0x1406ca770 ; ; This function is hookable on this platform! ; ; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA ; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings ; mov [rsp+arg_8], rbx ; +0x0, 0x14014af00 mov [rsp+arg_10], rbp ; +0x5, 0x14014af05 mov [rsp+arg_18], rsi ; +0xa, 0x14014af0a push rdi ; +0xf, 0x14014af0f sub rsp, 20h ; +0x10, 0x14014af10 mov rdi, rdx ; +0x14, 0x14014af14 mov rsi, rcx ; +0x17, 0x14014af17 mov r8, [rcx+150h] ; +0x1a, 0x14014af1a lea rdx, aGlm01; "GLM_01" ; +0x21, 0x14014af21 mov rcx, rdi ; +0x28, 0x14014af28 call cs:?setDictForKey@DS_Dictionary@@QEAAXPEBDPEAVCCDictionary@cocos2d@@@Z; DS_Dictionary::setDictForKey(char const *,cocos2d::CCDictionary *) ; +0x2b, 0x14014af2b mov rcx, rsi ; +0x31, 0x14014af31 call GameLevelManager__limitSavedLevels ; +0x34, 0x14014af34 mov rcx, rsi ; +0x39, 0x14014af39 call GameLevelManager__purgeUnusedLevels ; +0x3c, 0x14014af3c mov rcx, rsi ; +0x41, 0x14014af41 call GameLevelManager__updateLevelOrders ; +0x44, 0x14014af44 mov rcx, rsi ; +0x49, 0x14014af49 call GameLevelManager__updateLevelOrders ; +0x4c, 0x14014af4c mov r8, [rsi+160h] ; +0x51, 0x14014af51 lea rdx, aGlm03; "GLM_03" ; +0x58, 0x14014af58 mov rcx, rdi ; +0x5f, 0x14014af5f call cs:?setDictForKey@DS_Dictionary@@QEAAXPEBDPEAVCCDictionary@cocos2d@@@Z; DS_Dictionary::setDictForKey(char const *,cocos2d::CCDictionary *) ; +0x62, 0x14014af62 mov rcx, rsi ; +0x68, 0x14014af68 call GameLevelManager__cleanupDailyLevels ; +0x6b, 0x14014af6b mov r8, [rsi+1B8h] ; +0x70, 0x14014af70 lea rdx, aGlm10; "GLM_10" ; +0x77, 0x14014af77 mov rcx, rdi ; +0x7e, 0x14014af7e call cs:?setDictForKey@DS_Dictionary@@QEAAXPEBDPEAVCCDictionary@cocos2d@@@Z; DS_Dictionary::setDictForKey(char const *,cocos2d::CCDictionary *) ; +0x81, 0x14014af81 mov r8d, [rsi+1C8h] ; +0x87, 0x14014af87 lea rdx, aGlm11; "GLM_11" ; +0x8e, 0x14014af8e mov rcx, rdi ; +0x95, 0x14014af95 call cs:?setIntegerForKey@DS_Dictionary@@QEAAXPEBDH@Z; DS_Dictionary::setIntegerForKey(char const *,int) ; +0x98, 0x14014af98 mov r8d, [rsi+1D4h] ; +0x9e, 0x14014af9e lea rdx, aGlm17; "GLM_17" ; +0xa5, 0x14014afa5 mov rcx, rdi ; +0xac, 0x14014afac call cs:?setIntegerForKey@DS_Dictionary@@QEAAXPEBDH@Z; DS_Dictionary::setIntegerForKey(char const *,int) ; +0xaf, 0x14014afaf mov r8d, [rsi+1E0h] ; +0xb5, 0x14014afb5 lea rdx, aGlm23; "GLM_23" ; +0xbc, 0x14014afbc mov rcx, rdi ; +0xc3, 0x14014afc3 call cs:?setIntegerForKey@DS_Dictionary@@QEAAXPEBDH@Z; DS_Dictionary::setIntegerForKey(char const *,int) ; +0xc6, 0x14014afc6 mov r8, [rsi+1E8h] ; +0xcc, 0x14014afcc lea rdx, aGlm16; "GLM_16" ; +0xd3, 0x14014afd3 mov rcx, rdi ; +0xda, 0x14014afda call cs:?setDictForKey@DS_Dictionary@@QEAAXPEBDPEAVCCDictionary@cocos2d@@@Z; DS_Dictionary::setDictForKey(char const *,cocos2d::CCDictionary *) ; +0xdd, 0x14014afdd call cs:?create@CCArray@cocos2d@@SAPEAV12@XZ; cocos2d::CCArray::create(void) ; +0xe3, 0x14014afe3 mov rbp, rax ; +0xe9, 0x14014afe9 mov rdx, [rsi+178h] ; +0xec, 0x14014afec test rdx, rdx ; +0xf3, 0x14014aff3 jz short loc_14014B031 ; +0xf6, 0x14014aff6 mov rdx, [rdx+38h] ; +0xf8, 0x14014aff8 test rdx, rdx ; +0xfc, 0x14014affc jz short loc_14014B031 ; +0xff, 0x14014afff mov rbx, [rdx+120h] ; +0x101, 0x14014b001 nop dword ptr [rax+rax+00000000h] ; +0x108, 0x14014b008 mov rdx, [rdx+108h] ; +0x110, 0x14014b010 mov rcx, rbp ; +0x117, 0x14014b017 call cs:?addObject@CCArray@cocos2d@@QEAAXPEAVCCObject@2@@Z; cocos2d::CCArray::addObject(cocos2d::CCObject *) ; +0x11a, 0x14014b01a mov rdx, rbx ; +0x120, 0x14014b020 test rbx, rbx ; +0x123, 0x14014b023 jz short loc_14014B031 ; +0x126, 0x14014b026 mov rbx, [rbx+120h] ; +0x128, 0x14014b028 jmp short loc_14014B010 ; +0x12f, 0x14014b02f mov r8, rbp ; +0x131, 0x14014b031 lea rdx, aGlm22; "GLM_22" ; +0x134, 0x14014b034 mov rcx, rdi ; +0x13b, 0x14014b03b call cs:?setArrayForKey@DS_Dictionary@@QEAAXPEBDPEAVCCArray@cocos2d@@@Z; DS_Dictionary::setArrayForKey(char const *,cocos2d::CCArray *) ; +0x13e, 0x14014b03e lea r8, [rsi+1F0h] ; +0x144, 0x14014b044 lea rdx, aGlm09; "GLM_09" ; +0x14b, 0x14014b04b mov rcx, rdi ; +0x152, 0x14014b052 call cs:?setBoolMapForKey@DS_Dictionary@@QEAAXPEBDAEAV?$map@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@_NU?$less@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@2@V?$allocator@U?$pair@$$CBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@_N@std@@@2@@std@@@Z; DS_Dictionary::setBoolMapForKey(char const *,std::map &) ; +0x155, 0x14014b055 mov rax, cs:qword_1406C2ED8 ; +0x15b, 0x14014b05b test rax, rax ; +0x162, 0x14014b062 jnz short loc_14014B096 ; +0x165, 0x14014b065 mov ecx, 668h; Size ; +0x167, 0x14014b067 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x16c, 0x14014b06c mov [rsp+28h+arg_0], rax ; +0x171, 0x14014b071 mov rcx, rax ; +0x176, 0x14014b076 call sub_14017AB00 ; +0x179, 0x14014b079 nop ; +0x17e, 0x14014b07e mov cs:qword_1406C2ED8, rax ; +0x17f, 0x14014b07f mov rdx, [rax] ; +0x186, 0x14014b086 mov rcx, rax ; +0x189, 0x14014b089 call qword ptr [rdx+48h] ; +0x18c, 0x14014b08c mov rax, cs:qword_1406C2ED8 ; +0x18f, 0x14014b08f cmp byte ptr [rax+162h], 0 ; +0x196, 0x14014b096 jnz short loc_14014B0CD ; +0x19d, 0x14014b09d mov r8, [rsi+180h] ; +0x19f, 0x14014b09f lea rdx, aGlm07; "GLM_07" ; +0x1a6, 0x14014b0a6 mov rcx, rdi ; +0x1ad, 0x14014b0ad call cs:?setDictForKey@DS_Dictionary@@QEAAXPEBDPEAVCCDictionary@cocos2d@@@Z; DS_Dictionary::setDictForKey(char const *,cocos2d::CCDictionary *) ; +0x1b0, 0x14014b0b0 mov r8, [rsi+1A0h] ; +0x1b6, 0x14014b0b6 lea rdx, aGlm14; "GLM_14" ; +0x1bd, 0x14014b0bd mov rcx, rdi ; +0x1c4, 0x14014b0c4 call cs:?setDictForKey@DS_Dictionary@@QEAAXPEBDPEAVCCDictionary@cocos2d@@@Z; DS_Dictionary::setDictForKey(char const *,cocos2d::CCDictionary *) ; +0x1c7, 0x14014b0c7 mov r8, [rsi+188h] ; +0x1cd, 0x14014b0cd lea rdx, aGlm12; "GLM_12" ; +0x1d4, 0x14014b0d4 mov rcx, rdi ; +0x1db, 0x14014b0db call cs:?setDictForKey@DS_Dictionary@@QEAAXPEBDPEAVCCDictionary@cocos2d@@@Z; DS_Dictionary::setDictForKey(char const *,cocos2d::CCDictionary *) ; +0x1de, 0x14014b0de mov r8, [rsi+190h] ; +0x1e4, 0x14014b0e4 lea rdx, aGlm13; "GLM_13" ; +0x1eb, 0x14014b0eb mov rcx, rdi ; +0x1f2, 0x14014b0f2 call cs:?setDictForKey@DS_Dictionary@@QEAAXPEBDPEAVCCDictionary@cocos2d@@@Z; DS_Dictionary::setDictForKey(char const *,cocos2d::CCDictionary *) ; +0x1f5, 0x14014b0f5 mov r8, [rsi+198h] ; +0x1fb, 0x14014b0fb lea rdx, aGlm15; "GLM_15" ; +0x202, 0x14014b102 mov rcx, rdi ; +0x209, 0x14014b109 call cs:?setDictForKey@DS_Dictionary@@QEAAXPEBDPEAVCCDictionary@cocos2d@@@Z; DS_Dictionary::setDictForKey(char const *,cocos2d::CCDictionary *) ; +0x20c, 0x14014b10c mov r8, [rsi+170h] ; +0x212, 0x14014b112 lea rdx, aGlm06; "GLM_06" ; +0x219, 0x14014b119 mov rcx, rdi ; +0x220, 0x14014b120 call cs:?setDictForKey@DS_Dictionary@@QEAAXPEBDPEAVCCDictionary@cocos2d@@@Z; DS_Dictionary::setDictForKey(char const *,cocos2d::CCDictionary *) ; +0x223, 0x14014b123 mov r8, [rsi+158h] ; +0x229, 0x14014b129 lea rdx, aGlm08; "GLM_08" ; +0x230, 0x14014b130 mov rcx, rdi ; +0x237, 0x14014b137 call cs:?setDictForKey@DS_Dictionary@@QEAAXPEBDPEAVCCDictionary@cocos2d@@@Z; DS_Dictionary::setDictForKey(char const *,cocos2d::CCDictionary *) ; +0x23a, 0x14014b13a mov r8, [rsi+1A8h] ; +0x240, 0x14014b140 lea rdx, aGlm18; "GLM_18" ; +0x247, 0x14014b147 mov rcx, rdi ; +0x24e, 0x14014b14e call cs:?setDictForKey@DS_Dictionary@@QEAAXPEBDPEAVCCDictionary@cocos2d@@@Z; DS_Dictionary::setDictForKey(char const *,cocos2d::CCDictionary *) ; +0x251, 0x14014b151 mov r8, [rsi+1B0h] ; +0x257, 0x14014b157 lea rdx, aGlm19; "GLM_19" ; +0x25e, 0x14014b15e mov rcx, rdi ; +0x265, 0x14014b165 call cs:?setDictForKey@DS_Dictionary@@QEAAXPEBDPEAVCCDictionary@cocos2d@@@Z; DS_Dictionary::setDictForKey(char const *,cocos2d::CCDictionary *) ; +0x268, 0x14014b168 mov r8, [rsi+3B8h] ; +0x26e, 0x14014b16e lea rdx, aGlm20; "GLM_20" ; +0x275, 0x14014b175 mov rcx, rdi ; +0x27c, 0x14014b17c mov rbx, [rsp+28h+arg_8] ; +0x27f, 0x14014b17f mov rbp, [rsp+28h+arg_10] ; +0x284, 0x14014b184 mov rsi, [rsp+28h+arg_18] ; +0x289, 0x14014b189 add rsp, 20h ; +0x28e, 0x14014b18e pop rdi ; +0x292, 0x14014b192 jmp cs:?setArrayForKey@DS_Dictionary@@QEAAXPEBDPEAVCCArray@cocos2d@@@Z; DS_Dictionary::setArrayForKey(char const *,cocos2d::CCArray *) ; +0x293, 0x14014b193