{"type": "func", "start": 4028972, "end": 4029486, "name": "GJLevelList::dataLoaded", "pseudocode": "// \n// GJLevelList::dataLoaded from 0x3d7a2c to 0x3d7c2e (514 bytes)\n// \n// 1 xrefs:\n// > GJLevelList::createWithCoder @ 0x3d7cac\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid GJLevelList::dataLoaded(GJLevelList *a1, DS_Dictionary *a2)\n{\n  cocos2d::CCDictionary *DictForKey; // r0\n  cocos2d::CCDictionary *v5; // r8\n  cocos2d::CCDictionary *m_levelsDict; // r0\n  _DWORD v7[2]; // [sp+0h] [bp-8h] BYREF\n\n  v7[0] = a1;\n  v7[1] = a2;\n  a1->m_listID = DS_Dictionary::getIntegerForKey(a2, \"k1\");\n  a1->m_folder = DS_Dictionary::getIntegerForKey(a2, \"k84\");\n  DS_Dictionary::getStringForKey((DS_Dictionary *)v7, (const char *)a2);\n  sub_774794(&a1->m_listName, v7);\n  sub_774008(v7);\n  DS_Dictionary::getStringForKey((DS_Dictionary *)v7, (const char *)a2);\n  sub_774794(&a1->m_listDesc, v7);\n  sub_774008(v7);\n  DS_Dictionary::getStringForKey((DS_Dictionary *)v7, (const char *)a2);\n  sub_774794(&a1->m_creatorName, v7);\n  sub_774008(v7);\n  a1->m_accountID = DS_Dictionary::getIntegerForKey(a2, \"k60\");\n  a1->m_difficulty = DS_Dictionary::getIntegerForKey(a2, \"k7\");\n  a1->m_downloads = DS_Dictionary::getIntegerForKey(a2, \"k11\");\n  a1->m_uploaded = DS_Dictionary::getBoolForKey(a2, \"k15\");\n  a1->m_likes = DS_Dictionary::getIntegerForKey(a2, \"k22\");\n  a1->m_listType = DS_Dictionary::getIntegerForKey(a2, \"k21\");\n  a1->m_listVersion = DS_Dictionary::getIntegerForKey(a2, \"k16\");\n  a1->m_unlisted = DS_Dictionary::getBoolForKey(a2, \"k79\");\n  a1->m_friendsOnly = DS_Dictionary::getBoolForKey(a2, \"k94\");\n  a1->m_listRevision = DS_Dictionary::getIntegerForKey(a2, \"k46\");\n  a1->m_modified = DS_Dictionary::getBoolForKey(a2, \"k47\");\n  a1->m_listOrder = DS_Dictionary::getIntegerForKey(a2, \"k83\");\n  a1->m_favorite = DS_Dictionary::getBoolForKey(a2, \"k82\");\n  a1->m_featured = DS_Dictionary::getBoolForKey(a2, \"k27\");\n  a1->m_uploadDate = DS_Dictionary::getIntegerForKey(a2, \"k98\");\n  a1->m_updateDate = DS_Dictionary::getIntegerForKey(a2, \"k99\");\n  a1->m_original = DS_Dictionary::getIntegerForKey(a2, \"k42\");\n  a1->m_onlineLevelsLoaded = DS_Dictionary::getBoolForKey(a2, \"k100\");\n  a1->m_diamonds = DS_Dictionary::getIntegerForKey(a2, \"k113\");\n  a1->m_levelsToClaim = DS_Dictionary::getIntegerForKey(a2, \"k114\");\n  DictForKey = DS_Dictionary::getDictForKey(a2, \"k97\", 0);\n  v5 = DictForKey;\n  if ( a1->m_levelsDict != DictForKey )\n  {\n    if ( DictForKey )\n      cocos2d::CCObject::retain(DictForKey);\n    m_levelsDict = a1->m_levelsDict;\n    if ( m_levelsDict )\n      cocos2d::CCObject::release(m_levelsDict);\n    a1->m_levelsDict = v5;\n  }\n  DS_Dictionary::getStringForKey((DS_Dictionary *)v7, (const char *)a2);\n  GJLevelList::parseListLevels((int)a1, v7);\n  sub_774008(v7);\n}", "assembly": "; \n; GJLevelList::dataLoaded from 0x3d7a2c to 0x3d7c2e (514 bytes)\n; \n; 1 xrefs:\n; > GJLevelList::createWithCoder @ 0x3d7cac\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nPUSH.W          {R0,R1,R4-R8,LR}                                       ; +0x0, 0x3d7a2c\nMOV             R4, R0                                                 ; +0x4, 0x3d7a30\nLDR             R7, =(__stack_chk_guard_ptr - 0x3D7A3E)                ; +0x6, 0x3d7a32\nMOV             R5, R1                                                 ; +0x8, 0x3d7a34\nMOV             R0, R1; this                                           ; +0xa, 0x3d7a36\nLDR             R1, =(aK1 - 0x3D7A44); \"k1\"                            ; +0xc, 0x3d7a38\nADD             R7, PC; __stack_chk_guard_ptr                          ; +0xe, 0x3d7a3a\nLDR             R7, [R7]; __stack_chk_guard                            ; +0x10, 0x3d7a3c\nMOV             R6, SP                                                 ; +0x12, 0x3d7a3e\nADD             R1, PC; \"k1\"                                           ; +0x14, 0x3d7a40\nLDR             R3, [R7]                                               ; +0x16, 0x3d7a42\nSTR             R3, [SP,#8+var_4]                                      ; +0x18, 0x3d7a44\nBL              _ZN13DS_Dictionary16getIntegerForKeyEPKc; DS_Dictionary::getIntegerForKey(char const*) ; +0x1a, 0x3d7a46\nLDR             R1, =(aK84 - 0x3D7A50); \"k84\"                          ; +0x1e, 0x3d7a4a\nADD             R1, PC; \"k84\"                                          ; +0x20, 0x3d7a4c\nSTR.W           R0, [R4,#0x114]                                        ; +0x22, 0x3d7a4e\nMOV             R0, R5; this                                           ; +0x26, 0x3d7a52\nBL              _ZN13DS_Dictionary16getIntegerForKeyEPKc; DS_Dictionary::getIntegerForKey(char const*) ; +0x28, 0x3d7a54\nLDR             R2, =(aK2 - 0x3D7A60); \"k2\"                            ; +0x2c, 0x3d7a58\nMOV             R1, R5; char *                                         ; +0x2e, 0x3d7a5a\nADD             R2, PC; \"k2\"                                           ; +0x30, 0x3d7a5c\nSTR.W           R0, [R4,#0x12C]                                        ; +0x32, 0x3d7a5e\nMOV             R0, SP; this                                           ; +0x36, 0x3d7a62\nBL              _ZN13DS_Dictionary15getStringForKeyEPKc; DS_Dictionary::getStringForKey(char const*) ; +0x38, 0x3d7a64\nADD.W           R0, R4, #0x150                                         ; +0x3c, 0x3d7a68\nMOV             R1, SP                                                 ; +0x40, 0x3d7a6c\nBL              sub_774794                                             ; +0x42, 0x3d7a6e\nMOV             R0, SP                                                 ; +0x46, 0x3d7a72\nBL              sub_774008                                             ; +0x48, 0x3d7a74\nLDR             R2, =(aK3 - 0x3D7A82); \"k3\"                            ; +0x4c, 0x3d7a78\nMOV             R0, SP; this                                           ; +0x4e, 0x3d7a7a\nMOV             R1, R5; char *                                         ; +0x50, 0x3d7a7c\nADD             R2, PC; \"k3\"                                           ; +0x52, 0x3d7a7e\nBL              _ZN13DS_Dictionary15getStringForKeyEPKc; DS_Dictionary::getStringForKey(char const*) ; +0x54, 0x3d7a80\nADD.W           R0, R4, #0x15C                                         ; +0x58, 0x3d7a84\nMOV             R1, SP                                                 ; +0x5c, 0x3d7a88\nBL              sub_774794                                             ; +0x5e, 0x3d7a8a\nMOV             R0, SP                                                 ; +0x62, 0x3d7a8e\nBL              sub_774008                                             ; +0x64, 0x3d7a90\nLDR             R2, =(aK5 - 0x3D7A9E); \"k5\"                            ; +0x68, 0x3d7a94\nMOV             R0, SP; this                                           ; +0x6a, 0x3d7a96\nMOV             R1, R5; char *                                         ; +0x6c, 0x3d7a98\nADD             R2, PC; \"k5\"                                           ; +0x6e, 0x3d7a9a\nBL              _ZN13DS_Dictionary15getStringForKeyEPKc; DS_Dictionary::getStringForKey(char const*) ; +0x70, 0x3d7a9c\nADD.W           R0, R4, #0x14C                                         ; +0x74, 0x3d7aa0\nMOV             R1, SP                                                 ; +0x78, 0x3d7aa4\nBL              sub_774794                                             ; +0x7a, 0x3d7aa6\nMOV             R0, SP                                                 ; +0x7e, 0x3d7aaa\nBL              sub_774008                                             ; +0x80, 0x3d7aac\nLDR             R1, =(aK60 - 0x3D7AB8); \"k60\"                          ; +0x84, 0x3d7ab0\nMOV             R0, R5; this                                           ; +0x86, 0x3d7ab2\nADD             R1, PC; \"k60\"                                          ; +0x88, 0x3d7ab4\nBL              _ZN13DS_Dictionary16getIntegerForKeyEPKc; DS_Dictionary::getIntegerForKey(char const*) ; +0x8a, 0x3d7ab6\nLDR             R1, =(aK7 - 0x3D7AC0); \"k7\"                            ; +0x8e, 0x3d7aba\nADD             R1, PC; \"k7\"                                           ; +0x90, 0x3d7abc\nSTR.W           R0, [R4,#0x128]                                        ; +0x92, 0x3d7abe\nMOV             R0, R5; this                                           ; +0x96, 0x3d7ac2\nBL              _ZN13DS_Dictionary16getIntegerForKeyEPKc; DS_Dictionary::getIntegerForKey(char const*) ; +0x98, 0x3d7ac4\nLDR             R1, =(aK11 - 0x3D7ACE); \"k11\"                          ; +0x9c, 0x3d7ac8\nADD             R1, PC; \"k11\"                                          ; +0x9e, 0x3d7aca\nSTR.W           R0, [R4,#0x124]                                        ; +0xa0, 0x3d7acc\nMOV             R0, R5; this                                           ; +0xa4, 0x3d7ad0\nBL              _ZN13DS_Dictionary16getIntegerForKeyEPKc; DS_Dictionary::getIntegerForKey(char const*) ; +0xa6, 0x3d7ad2\nLDR             R1, =(aK15 - 0x3D7ADC); \"k15\"                          ; +0xaa, 0x3d7ad6\nADD             R1, PC; \"k15\"                                          ; +0xac, 0x3d7ad8\nSTR.W           R0, [R4,#0x11C]                                        ; +0xae, 0x3d7ada\nMOV             R0, R5; this                                           ; +0xb2, 0x3d7ade\nBL              _ZN13DS_Dictionary13getBoolForKeyEPKc; DS_Dictionary::getBoolForKey(char const*) ; +0xb4, 0x3d7ae0\nLDR             R1, =(aK22 - 0x3D7AEA); \"k22\"                          ; +0xb8, 0x3d7ae4\nADD             R1, PC; \"k22\"                                          ; +0xba, 0x3d7ae6\nSTRB.W          R0, [R4,#0x147]                                        ; +0xbc, 0x3d7ae8\nMOV             R0, R5; this                                           ; +0xc0, 0x3d7aec\nBL              _ZN13DS_Dictionary16getIntegerForKeyEPKc; DS_Dictionary::getIntegerForKey(char const*) ; +0xc2, 0x3d7aee\nLDR             R1, =(aK21 - 0x3D7AF8); \"k21\"                          ; +0xc6, 0x3d7af2\nADD             R1, PC; \"k21\"                                          ; +0xc8, 0x3d7af4\nSTR.W           R0, [R4,#0x120]                                        ; +0xca, 0x3d7af6\nMOV             R0, R5; this                                           ; +0xce, 0x3d7afa\nBL              _ZN13DS_Dictionary16getIntegerForKeyEPKc; DS_Dictionary::getIntegerForKey(char const*) ; +0xd0, 0x3d7afc\nLDR             R1, =(aK16 - 0x3D7B06); \"k16\"                          ; +0xd4, 0x3d7b00\nADD             R1, PC; \"k16\"                                          ; +0xd6, 0x3d7b02\nSTR.W           R0, [R4,#0x16C]                                        ; +0xd8, 0x3d7b04\nMOV             R0, R5; this                                           ; +0xdc, 0x3d7b08\nBL              _ZN13DS_Dictionary16getIntegerForKeyEPKc; DS_Dictionary::getIntegerForKey(char const*) ; +0xde, 0x3d7b0a\nLDR             R1, =(aK79 - 0x3D7B14); \"k79\"                          ; +0xe2, 0x3d7b0e\nADD             R1, PC; \"k79\"                                          ; +0xe4, 0x3d7b10\nSTR.W           R0, [R4,#0x118]                                        ; +0xe6, 0x3d7b12\nMOV             R0, R5; this                                           ; +0xea, 0x3d7b16\nBL              _ZN13DS_Dictionary13getBoolForKeyEPKc; DS_Dictionary::getBoolForKey(char const*) ; +0xec, 0x3d7b18\nLDR             R1, =(aK94 - 0x3D7B22); \"k94\"                          ; +0xf0, 0x3d7b1c\nADD             R1, PC; \"k94\"                                          ; +0xf2, 0x3d7b1e\nSTRB.W          R0, [R4,#0x145]                                        ; +0xf4, 0x3d7b20\nMOV             R0, R5; this                                           ; +0xf8, 0x3d7b24\nBL              _ZN13DS_Dictionary13getBoolForKeyEPKc; DS_Dictionary::getBoolForKey(char const*) ; +0xfa, 0x3d7b26\nLDR             R1, =(aK46 - 0x3D7B30); \"k46\"                          ; +0xfe, 0x3d7b2a\nADD             R1, PC; \"k46\"                                          ; +0x100, 0x3d7b2c\nSTRB.W          R0, [R4,#0x146]                                        ; +0x102, 0x3d7b2e\nMOV             R0, R5; this                                           ; +0x106, 0x3d7b32\nBL              _ZN13DS_Dictionary16getIntegerForKeyEPKc; DS_Dictionary::getIntegerForKey(char const*) ; +0x108, 0x3d7b34\nLDR             R1, =(aK47 - 0x3D7B3E); \"k47\"                          ; +0x10c, 0x3d7b38\nADD             R1, PC; \"k47\"                                          ; +0x10e, 0x3d7b3a\nSTR.W           R0, [R4,#0x130]                                        ; +0x110, 0x3d7b3c\nMOV             R0, R5; this                                           ; +0x114, 0x3d7b40\nBL              _ZN13DS_Dictionary13getBoolForKeyEPKc; DS_Dictionary::getBoolForKey(char const*) ; +0x116, 0x3d7b42\nLDR             R1, =(aK83 - 0x3D7B4C); \"k83\"                          ; +0x11a, 0x3d7b46\nADD             R1, PC; \"k83\"                                          ; +0x11c, 0x3d7b48\nSTRB.W          R0, [R4,#0x14B]                                        ; +0x11e, 0x3d7b4a\nMOV             R0, R5; this                                           ; +0x122, 0x3d7b4e\nBL              _ZN13DS_Dictionary16getIntegerForKeyEPKc; DS_Dictionary::getIntegerForKey(char const*) ; +0x124, 0x3d7b50\nLDR             R1, =(aK82 - 0x3D7B5A); \"k82\"                          ; +0x128, 0x3d7b54\nADD             R1, PC; \"k82\"                                          ; +0x12a, 0x3d7b56\nSTR.W           R0, [R4,#0x134]                                        ; +0x12c, 0x3d7b58\nMOV             R0, R5; this                                           ; +0x130, 0x3d7b5c\nBL              _ZN13DS_Dictionary13getBoolForKeyEPKc; DS_Dictionary::getBoolForKey(char const*) ; +0x132, 0x3d7b5e\nLDR             R1, =(aK27 - 0x3D7B68); \"k27\"                          ; +0x136, 0x3d7b62\nADD             R1, PC; \"k27\"                                          ; +0x138, 0x3d7b64\nSTRB.W          R0, [R4,#0x148]                                        ; +0x13a, 0x3d7b66\nMOV             R0, R5; this                                           ; +0x13e, 0x3d7b6a\nBL              _ZN13DS_Dictionary13getBoolForKeyEPKc; DS_Dictionary::getBoolForKey(char const*) ; +0x140, 0x3d7b6c\nLDR             R1, =(aK98 - 0x3D7B76); \"k98\"                          ; +0x144, 0x3d7b70\nADD             R1, PC; \"k98\"                                          ; +0x146, 0x3d7b72\nSTRB.W          R0, [R4,#0x149]                                        ; +0x148, 0x3d7b74\nMOV             R0, R5; this                                           ; +0x14c, 0x3d7b78\nBL              _ZN13DS_Dictionary16getIntegerForKeyEPKc; DS_Dictionary::getIntegerForKey(char const*) ; +0x14e, 0x3d7b7a\nLDR             R1, =(aK99 - 0x3D7B84); \"k99\"                          ; +0x152, 0x3d7b7e\nADD             R1, PC; \"k99\"                                          ; +0x154, 0x3d7b80\nSTR.W           R0, [R4,#0x160]                                        ; +0x156, 0x3d7b82\nMOV             R0, R5; this                                           ; +0x15a, 0x3d7b86\nBL              _ZN13DS_Dictionary16getIntegerForKeyEPKc; DS_Dictionary::getIntegerForKey(char const*) ; +0x15c, 0x3d7b88\nLDR             R1, =(aK42 - 0x3D7B92); \"k42\"                          ; +0x160, 0x3d7b8c\nADD             R1, PC; \"k42\"                                          ; +0x162, 0x3d7b8e\nSTR.W           R0, [R4,#0x164]                                        ; +0x164, 0x3d7b90\nMOV             R0, R5; this                                           ; +0x168, 0x3d7b94\nBL              _ZN13DS_Dictionary16getIntegerForKeyEPKc; DS_Dictionary::getIntegerForKey(char const*) ; +0x16a, 0x3d7b96\nLDR             R1, =(aK100 - 0x3D7BA0); \"k100\"                        ; +0x16e, 0x3d7b9a\nADD             R1, PC; \"k100\"                                         ; +0x170, 0x3d7b9c\nSTR.W           R0, [R4,#0x138]                                        ; +0x172, 0x3d7b9e\nMOV             R0, R5; this                                           ; +0x176, 0x3d7ba2\nBL              _ZN13DS_Dictionary13getBoolForKeyEPKc; DS_Dictionary::getBoolForKey(char const*) ; +0x178, 0x3d7ba4\nLDR             R1, =(aK113 - 0x3D7BAE); \"k113\"                        ; +0x17c, 0x3d7ba8\nADD             R1, PC; \"k113\"                                         ; +0x17e, 0x3d7baa\nSTRB.W          R0, [R4,#0x14A]                                        ; +0x180, 0x3d7bac\nMOV             R0, R5; this                                           ; +0x184, 0x3d7bb0\nBL              _ZN13DS_Dictionary16getIntegerForKeyEPKc; DS_Dictionary::getIntegerForKey(char const*) ; +0x186, 0x3d7bb2\nLDR             R1, =(aK114 - 0x3D7BBC); \"k114\"                        ; +0x18a, 0x3d7bb6\nADD             R1, PC; \"k114\"                                         ; +0x18c, 0x3d7bb8\nSTR.W           R0, [R4,#0x13C]                                        ; +0x18e, 0x3d7bba\nMOV             R0, R5; this                                           ; +0x192, 0x3d7bbe\nBL              _ZN13DS_Dictionary16getIntegerForKeyEPKc; DS_Dictionary::getIntegerForKey(char const*) ; +0x194, 0x3d7bc0\nLDR             R1, =(aK97 - 0x3D7BCC); \"k97\"                          ; +0x198, 0x3d7bc4\nMOVS            R2, #0; bool                                           ; +0x19a, 0x3d7bc6\nADD             R1, PC; \"k97\"                                          ; +0x19c, 0x3d7bc8\nSTR.W           R0, [R4,#0x140]                                        ; +0x19e, 0x3d7bca\nMOV             R0, R5; this                                           ; +0x1a2, 0x3d7bce\nBL              _ZN13DS_Dictionary13getDictForKeyEPKcb; DS_Dictionary::getDictForKey(char const*,bool) ; +0x1a4, 0x3d7bd0\nLDR.W           R3, [R4,#0x168]                                        ; +0x1a8, 0x3d7bd4\nCMP             R3, R0                                                 ; +0x1ac, 0x3d7bd8\nMOV             R8, R0                                                 ; +0x1ae, 0x3d7bda\nBEQ             loc_3D7BF2                                             ; +0x1b0, 0x3d7bdc\nCBZ             R0, loc_3D7BE4                                         ; +0x1b2, 0x3d7bde\nBL              _ZN7cocos2d8CCObject6retainEv; cocos2d::CCObject::retain(void) ; +0x1b4, 0x3d7be0\nLDR.W           R0, [R4,#0x168]; this                                  ; +0x1b8, 0x3d7be4\nCBZ             R0, loc_3D7BEE                                         ; +0x1bc, 0x3d7be8\nBL              _ZN7cocos2d8CCObject7releaseEv; cocos2d::CCObject::release(void) ; +0x1be, 0x3d7bea\nSTR.W           R8, [R4,#0x168]                                        ; +0x1c2, 0x3d7bee\nLDR             R2, =(aK96 - 0x3D7BFC); \"k96\"                          ; +0x1c6, 0x3d7bf2\nMOV             R0, R6; this                                           ; +0x1c8, 0x3d7bf4\nMOV             R1, R5; char *                                         ; +0x1ca, 0x3d7bf6\nADD             R2, PC; \"k96\"                                          ; +0x1cc, 0x3d7bf8\nBL              _ZN13DS_Dictionary15getStringForKeyEPKc; DS_Dictionary::getStringForKey(char const*) ; +0x1ce, 0x3d7bfa\nMOV             R0, R4                                                 ; +0x1d2, 0x3d7bfe\nMOV             R1, R6                                                 ; +0x1d4, 0x3d7c00\nBL              _ZN11GJLevelList15parseListLevelsESs; GJLevelList::parseListLevels(std::string) ; +0x1d6, 0x3d7c02\nMOV             R0, R6                                                 ; +0x1da, 0x3d7c06\nBL              sub_774008                                             ; +0x1dc, 0x3d7c08\nLDR             R2, [SP,#8+var_4]                                      ; +0x1e0, 0x3d7c0c\nLDR             R3, [R7]                                               ; +0x1e2, 0x3d7c0e\nCMP             R2, R3                                                 ; +0x1e4, 0x3d7c10\nBEQ             loc_3D7C28                                             ; +0x1e6, 0x3d7c12\nBLX             __stack_chk_fail                                       ; +0x1e8, 0x3d7c14\nB               loc_3D7C1A                                             ; +0x1ec, 0x3d7c18\nMOV             R0, R6                                                 ; +0x1ee, 0x3d7c1a\nBL              sub_774008                                             ; +0x1f0, 0x3d7c1c\nBL              __cxa_end_cleanup                                      ; +0x1f4, 0x3d7c20\nB               loc_3D7C1A                                             ; +0x1f8, 0x3d7c24\nB               loc_3D7C1A                                             ; +0x1fa, 0x3d7c26\nADD             SP, SP, #8                                             ; +0x1fc, 0x3d7c28\nPOP.W           {R4-R8,PC}                                             ; +0x1fe, 0x3d7c2a", "xrefs": ["GJLevelList::createWithCoder @ 0x3d7cac"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}