{"type": "func", "start": 4295695952, "end": 4295696684, "name": "GJLevelList::dataLoaded", "pseudocode": "// \n// GJLevelList::dataLoaded from 0x1000b1e50 to 0x1000b212c (732 bytes)\n// \n// 1 xrefs:\n// > GJLevelList::createWithCoder @ 0x1000b1e3c\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 __fastcall GJLevelList::dataLoaded(GJLevelList *a1, DS_Dictionary *a2)\n{\n  void **p_m_listName; // x21\n  void **p_m_listDesc; // x21\n  cocos2d::CCDictionary *DictForKey; // x0\n  std::string __p; // [xsp+0h] [xbp-50h] BYREF\n  __int128 v8; // [xsp+18h] [xbp-38h] BYREF\n  char *v9; // [xsp+28h] [xbp-28h]\n\n  a1->m_listID = DS_Dictionary::getIntegerForKey(a2, \"k1\");\n  a1->m_folder = DS_Dictionary::getIntegerForKey(a2, \"k84\");\n  DS_Dictionary::getStringForKey(&v8, a2, \"k2\");\n  p_m_listName = (void **)&a1->m_listName;\n  if ( a1->m_listName.m_data.m_short.shortStorage.__elems_[22] < 0 )\n    operator delete(*p_m_listName);\n  *(_OWORD *)p_m_listName = v8;\n  a1->m_listName.m_data.m_long.longStorage = v9;\n  DS_Dictionary::getStringForKey(&v8, a2, \"k3\");\n  p_m_listDesc = (void **)&a1->m_listDesc;\n  if ( a1->m_listDesc.m_data.m_short.shortStorage.__elems_[22] < 0 )\n    operator delete(*p_m_listDesc);\n  *(_OWORD *)p_m_listDesc = v8;\n  a1->m_listDesc.m_data.m_long.longStorage = v9;\n  DS_Dictionary::getStringForKey(&v8, a2, \"k5\");\n  if ( a1->m_creatorName.m_data.m_short.shortStorage.__elems_[22] < 0 )\n    operator delete((void *)a1->m_creatorName.m_data.m_long.capacitym1);\n  *(_OWORD *)&a1->m_creatorName.m_data.m_short.sizex2 = v8;\n  a1->m_creatorName.m_data.m_long.longStorage = v9;\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  sub_1000B0F38((__int64)a1, DictForKey);\n  DS_Dictionary::getStringForKey(&__p, a2, \"k96\");\n  GJLevelList::parseListLevels((__int64)a1, &__p);\n  if ( SHIBYTE(__p.__r_.__value_.__r.__words[2]) < 0 )\n    operator delete(__p.__r_.__value_.__l.__data_);\n}", "assembly": "; \n; GJLevelList::dataLoaded from 0x1000b1e50 to 0x1000b212c (732 bytes)\n; \n; 1 xrefs:\n; > GJLevelList::createWithCoder @ 0x1000b1e3c\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\nSUB             SP, SP, #0x60                                          ; +0x0, 0x1000b1e50\nSTP             X22, X21, [SP,#0x50+var_20]                            ; +0x4, 0x1000b1e54\nSTP             X20, X19, [SP,#0x50+var_10]                            ; +0x8, 0x1000b1e58\nSTP             X29, X30, [SP,#0x50+var_s0]                            ; +0xc, 0x1000b1e5c\nADD             X29, SP, #0x50                                         ; +0x10, 0x1000b1e60\nMOV             X20, X1                                                ; +0x14, 0x1000b1e64\nMOV             X19, X0                                                ; +0x18, 0x1000b1e68\nADRL            X1, aK1; \"k1\"                                          ; +0x1c, 0x1000b1e6c\nMOV             X0, X20                                                ; +0x24, 0x1000b1e74\nBL              DS_Dictionary__getIntegerForKey                        ; +0x28, 0x1000b1e78\nSTR             W0, [X19,#0x158]                                       ; +0x2c, 0x1000b1e7c\nADRL            X1, aK84; \"k84\"                                        ; +0x30, 0x1000b1e80\nMOV             X0, X20                                                ; +0x38, 0x1000b1e88\nBL              DS_Dictionary__getIntegerForKey                        ; +0x3c, 0x1000b1e8c\nSTR             W0, [X19,#0x170]                                       ; +0x40, 0x1000b1e90\nADRL            X1, aK2; \"k2\"                                          ; +0x44, 0x1000b1e94\nADD             X8, SP, #0x50+var_38                                   ; +0x4c, 0x1000b1e9c\nMOV             X0, X20                                                ; +0x50, 0x1000b1ea0\nBL              DS_Dictionary__getStringForKey                         ; +0x54, 0x1000b1ea4\nADD             X21, X19, #0x1A8                                       ; +0x58, 0x1000b1ea8\nLDRSB           W8, [X19,#0x1BF]                                       ; +0x5c, 0x1000b1eac\nTBZ             W8, #0x1F, loc_1000B1EBC                               ; +0x60, 0x1000b1eb0\nLDR             X0, [X21]; __p                                         ; +0x64, 0x1000b1eb4\nBL              __ZdlPv; operator delete(void *)                       ; +0x68, 0x1000b1eb8\nLDUR            Q0, [SP,#0x50+var_38]                                  ; +0x6c, 0x1000b1ebc\nSTR             Q0, [X21]                                              ; +0x70, 0x1000b1ec0\nLDR             X8, [SP,#0x50+var_28]                                  ; +0x74, 0x1000b1ec4\nSTR             X8, [X21,#0x10]                                        ; +0x78, 0x1000b1ec8\nADRL            X1, aK3; \"k3\"                                          ; +0x7c, 0x1000b1ecc\nADD             X8, SP, #0x50+var_38                                   ; +0x84, 0x1000b1ed4\nMOV             X0, X20                                                ; +0x88, 0x1000b1ed8\nBL              DS_Dictionary__getStringForKey                         ; +0x8c, 0x1000b1edc\nADD             X21, X19, #0x1F0                                       ; +0x90, 0x1000b1ee0\nLDRSB           W8, [X19,#0x207]                                       ; +0x94, 0x1000b1ee4\nTBZ             W8, #0x1F, loc_1000B1EF4                               ; +0x98, 0x1000b1ee8\nLDR             X0, [X21]; __p                                         ; +0x9c, 0x1000b1eec\nBL              __ZdlPv; operator delete(void *)                       ; +0xa0, 0x1000b1ef0\nLDUR            Q0, [SP,#0x50+var_38]                                  ; +0xa4, 0x1000b1ef4\nSTR             Q0, [X21]                                              ; +0xa8, 0x1000b1ef8\nLDR             X8, [SP,#0x50+var_28]                                  ; +0xac, 0x1000b1efc\nSTR             X8, [X21,#0x10]                                        ; +0xb0, 0x1000b1f00\nADRL            X1, aK5; \"k5\"                                          ; +0xb4, 0x1000b1f04\nADD             X8, SP, #0x50+var_38                                   ; +0xbc, 0x1000b1f0c\nMOV             X0, X20                                                ; +0xc0, 0x1000b1f10\nBL              DS_Dictionary__getStringForKey                         ; +0xc4, 0x1000b1f14\nLDRSB           W8, [X19,#0x1A7]                                       ; +0xc8, 0x1000b1f18\nTBZ             W8, #0x1F, loc_1000B1F28                               ; +0xcc, 0x1000b1f1c\nLDR             X0, [X19,#0x190]; __p                                  ; +0xd0, 0x1000b1f20\nBL              __ZdlPv; operator delete(void *)                       ; +0xd4, 0x1000b1f24\nLDUR            Q0, [SP,#0x50+var_38]                                  ; +0xd8, 0x1000b1f28\nSTR             Q0, [X19,#0x190]                                       ; +0xdc, 0x1000b1f2c\nLDR             X8, [SP,#0x50+var_28]                                  ; +0xe0, 0x1000b1f30\nSTR             X8, [X19,#0x1A0]                                       ; +0xe4, 0x1000b1f34\nADRL            X1, aK60; \"k60\"                                        ; +0xe8, 0x1000b1f38\nMOV             X0, X20                                                ; +0xf0, 0x1000b1f40\nBL              DS_Dictionary__getIntegerForKey                        ; +0xf4, 0x1000b1f44\nSTR             W0, [X19,#0x16C]                                       ; +0xf8, 0x1000b1f48\nADRL            X1, aK7; \"k7\"                                          ; +0xfc, 0x1000b1f4c\nMOV             X0, X20                                                ; +0x104, 0x1000b1f54\nBL              DS_Dictionary__getIntegerForKey                        ; +0x108, 0x1000b1f58\nSTR             W0, [X19,#0x168]                                       ; +0x10c, 0x1000b1f5c\nADRL            X1, aK11; \"k11\"                                        ; +0x110, 0x1000b1f60\nMOV             X0, X20                                                ; +0x118, 0x1000b1f68\nBL              DS_Dictionary__getIntegerForKey                        ; +0x11c, 0x1000b1f6c\nSTR             W0, [X19,#0x160]                                       ; +0x120, 0x1000b1f70\nADRL            X1, aK15; \"k15\"                                        ; +0x124, 0x1000b1f74\nMOV             X0, X20                                                ; +0x12c, 0x1000b1f7c\nBL              DS_Dictionary__getBoolForKey                           ; +0x130, 0x1000b1f80\nSTRB            W0, [X19,#0x18B]                                       ; +0x134, 0x1000b1f84\nADRL            X1, aK22; \"k22\"                                        ; +0x138, 0x1000b1f88\nMOV             X0, X20                                                ; +0x140, 0x1000b1f90\nBL              DS_Dictionary__getIntegerForKey                        ; +0x144, 0x1000b1f94\nSTR             W0, [X19,#0x164]                                       ; +0x148, 0x1000b1f98\nADRL            X1, aK21; \"k21\"                                        ; +0x14c, 0x1000b1f9c\nMOV             X0, X20                                                ; +0x154, 0x1000b1fa4\nBL              DS_Dictionary__getIntegerForKey                        ; +0x158, 0x1000b1fa8\nSTR             W0, [X19,#0x218]                                       ; +0x15c, 0x1000b1fac\nADRL            X1, aK16; \"k16\"                                        ; +0x160, 0x1000b1fb0\nMOV             X0, X20                                                ; +0x168, 0x1000b1fb8\nBL              DS_Dictionary__getIntegerForKey                        ; +0x16c, 0x1000b1fbc\nSTR             W0, [X19,#0x15C]                                       ; +0x170, 0x1000b1fc0\nADRL            X1, aK79; \"k79\"                                        ; +0x174, 0x1000b1fc4\nMOV             X0, X20                                                ; +0x17c, 0x1000b1fcc\nBL              DS_Dictionary__getBoolForKey                           ; +0x180, 0x1000b1fd0\nSTRB            W0, [X19,#0x189]                                       ; +0x184, 0x1000b1fd4\nADRL            X1, aK94; \"k94\"                                        ; +0x188, 0x1000b1fd8\nMOV             X0, X20                                                ; +0x190, 0x1000b1fe0\nBL              DS_Dictionary__getBoolForKey                           ; +0x194, 0x1000b1fe4\nSTRB            W0, [X19,#0x18A]                                       ; +0x198, 0x1000b1fe8\nADRL            X1, aK46; \"k46\"                                        ; +0x19c, 0x1000b1fec\nMOV             X0, X20                                                ; +0x1a4, 0x1000b1ff4\nBL              DS_Dictionary__getIntegerForKey                        ; +0x1a8, 0x1000b1ff8\nSTR             W0, [X19,#0x174]                                       ; +0x1ac, 0x1000b1ffc\nADRL            X1, aK47; \"k47\"                                        ; +0x1b0, 0x1000b2000\nMOV             X0, X20                                                ; +0x1b8, 0x1000b2008\nBL              DS_Dictionary__getBoolForKey                           ; +0x1bc, 0x1000b200c\nSTRB            W0, [X19,#0x18F]                                       ; +0x1c0, 0x1000b2010\nADRL            X1, aK83; \"k83\"                                        ; +0x1c4, 0x1000b2014\nMOV             X0, X20                                                ; +0x1cc, 0x1000b201c\nBL              DS_Dictionary__getIntegerForKey                        ; +0x1d0, 0x1000b2020\nSTR             W0, [X19,#0x178]                                       ; +0x1d4, 0x1000b2024\nADRL            X1, aK82; \"k82\"                                        ; +0x1d8, 0x1000b2028\nMOV             X0, X20                                                ; +0x1e0, 0x1000b2030\nBL              DS_Dictionary__getBoolForKey                           ; +0x1e4, 0x1000b2034\nSTRB            W0, [X19,#0x18C]                                       ; +0x1e8, 0x1000b2038\nADRL            X1, aK27; \"k27\"                                        ; +0x1ec, 0x1000b203c\nMOV             X0, X20                                                ; +0x1f4, 0x1000b2044\nBL              DS_Dictionary__getBoolForKey                           ; +0x1f8, 0x1000b2048\nSTRB            W0, [X19,#0x18D]                                       ; +0x1fc, 0x1000b204c\nADRL            X1, aK98; \"k98\"                                        ; +0x200, 0x1000b2050\nMOV             X0, X20                                                ; +0x208, 0x1000b2058\nBL              DS_Dictionary__getIntegerForKey                        ; +0x20c, 0x1000b205c\nSTR             W0, [X19,#0x208]                                       ; +0x210, 0x1000b2060\nADRL            X1, aK99; \"k99\"                                        ; +0x214, 0x1000b2064\nMOV             X0, X20                                                ; +0x21c, 0x1000b206c\nBL              DS_Dictionary__getIntegerForKey                        ; +0x220, 0x1000b2070\nSTR             W0, [X19,#0x20C]                                       ; +0x224, 0x1000b2074\nADRL            X1, aK42; \"k42\"                                        ; +0x228, 0x1000b2078\nMOV             X0, X20                                                ; +0x230, 0x1000b2080\nBL              DS_Dictionary__getIntegerForKey                        ; +0x234, 0x1000b2084\nSTR             W0, [X19,#0x17C]                                       ; +0x238, 0x1000b2088\nADRL            X1, aK100; \"k100\"                                      ; +0x23c, 0x1000b208c\nMOV             X0, X20                                                ; +0x244, 0x1000b2094\nBL              DS_Dictionary__getBoolForKey                           ; +0x248, 0x1000b2098\nSTRB            W0, [X19,#0x18E]                                       ; +0x24c, 0x1000b209c\nADRL            X1, aK113; \"k113\"                                      ; +0x250, 0x1000b20a0\nMOV             X0, X20                                                ; +0x258, 0x1000b20a8\nBL              DS_Dictionary__getIntegerForKey                        ; +0x25c, 0x1000b20ac\nSTR             W0, [X19,#0x180]                                       ; +0x260, 0x1000b20b0\nADRL            X1, aK114; \"k114\"                                      ; +0x264, 0x1000b20b4\nMOV             X0, X20                                                ; +0x26c, 0x1000b20bc\nBL              DS_Dictionary__getIntegerForKey                        ; +0x270, 0x1000b20c0\nSTR             W0, [X19,#0x184]                                       ; +0x274, 0x1000b20c4\nADRL            X1, aK97; \"k97\"                                        ; +0x278, 0x1000b20c8\nMOV             X0, X20                                                ; +0x280, 0x1000b20d0\nMOV             W2, #0                                                 ; +0x284, 0x1000b20d4\nBL              DS_Dictionary__getDictForKey                           ; +0x288, 0x1000b20d8\nMOV             X1, X0                                                 ; +0x28c, 0x1000b20dc\nMOV             X0, X19                                                ; +0x290, 0x1000b20e0\nBL              sub_1000B0F38                                          ; +0x294, 0x1000b20e4\nADRL            X1, aK96; \"k96\"                                        ; +0x298, 0x1000b20e8\nMOV             X8, SP                                                 ; +0x2a0, 0x1000b20f0\nMOV             X0, X20                                                ; +0x2a4, 0x1000b20f4\nBL              DS_Dictionary__getStringForKey                         ; +0x2a8, 0x1000b20f8\nMOV             X1, SP                                                 ; +0x2ac, 0x1000b20fc\nMOV             X0, X19                                                ; +0x2b0, 0x1000b2100\nBL              GJLevelList__parseListLevels                           ; +0x2b4, 0x1000b2104\nLDRSB           W8, [SP,#0x50+var_39]                                  ; +0x2b8, 0x1000b2108\nTBZ             W8, #0x1F, loc_1000B2118                               ; +0x2bc, 0x1000b210c\nLDR             X0, [SP,#0x50+__p]; __p                                ; +0x2c0, 0x1000b2110\nBL              __ZdlPv; operator delete(void *)                       ; +0x2c4, 0x1000b2114\nLDP             X29, X30, [SP,#0x50+var_s0]                            ; +0x2c8, 0x1000b2118\nLDP             X20, X19, [SP,#0x50+var_10]                            ; +0x2cc, 0x1000b211c\nLDP             X22, X21, [SP,#0x50+var_20]                            ; +0x2d0, 0x1000b2120\nADD             SP, SP, #0x60 ; '`'                                    ; +0x2d4, 0x1000b2124\nRET                                                                    ; +0x2d8, 0x1000b2128", "xrefs": ["GJLevelList::createWithCoder @ 0x1000b1e3c"], "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"}