{"type": "func", "start": 4300799376, "end": 4300800174, "name": "GJLevelList::dataLoaded", "pseudocode": "// \n// GJLevelList::dataLoaded from 0x10058fd90 to 0x1005900ae (798 bytes)\n// \n// 1 xrefs:\n// > GJLevelList::createWithCoder @ 0x10058fd78\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 12:32:26 +0000\n// \n\nvoid __fastcall GJLevelList::dataLoaded(__int64 a1, _QWORD *a2, double a3)\n{\n  double v4; // xmm0_8\n  double v5; // xmm0_8\n  double v6; // xmm0_8\n  __int64 DictForKey; // rax\n  _DWORD *v8; // rdi\n  __int64 v9; // r15\n  std::string v10; // [rsp+8h] [rbp-48h] BYREF\n  __int128 v11; // [rsp+20h] [rbp-30h] BYREF\n  __int64 v12; // [rsp+30h] [rbp-20h]\n\n  *(_DWORD *)(a1 + 344) = DS_Dictionary::getIntegerForKey((__int64)a2, \"k1\");\n  *(_DWORD *)(a1 + 368) = DS_Dictionary::getIntegerForKey((__int64)a2, \"k84\");\n  DS_Dictionary::getStringForKey(&v11, (__int64)a2, \"k2\", a3);\n  if ( (*(_BYTE *)(a1 + 432) & 1) != 0 )\n    operator delete(*(void **)(a1 + 448));\n  *(_QWORD *)(a1 + 448) = v12;\n  v4 = *(double *)&v11;\n  *(_OWORD *)(a1 + 432) = v11;\n  DS_Dictionary::getStringForKey(&v11, (__int64)a2, \"k3\", v4);\n  if ( (*(_BYTE *)(a1 + 504) & 1) != 0 )\n    operator delete(*(void **)(a1 + 520));\n  *(_QWORD *)(a1 + 520) = v12;\n  v5 = *(double *)&v11;\n  *(_OWORD *)(a1 + 504) = v11;\n  DS_Dictionary::getStringForKey(&v11, (__int64)a2, \"k5\", v5);\n  if ( (*(_BYTE *)(a1 + 408) & 1) != 0 )\n    operator delete(*(void **)(a1 + 424));\n  *(_QWORD *)(a1 + 424) = v12;\n  v6 = *(double *)&v11;\n  *(_OWORD *)(a1 + 408) = v11;\n  *(_DWORD *)(a1 + 364) = DS_Dictionary::getIntegerForKey((__int64)a2, \"k60\");\n  *(_DWORD *)(a1 + 360) = DS_Dictionary::getIntegerForKey((__int64)a2, \"k7\");\n  *(_DWORD *)(a1 + 352) = DS_Dictionary::getIntegerForKey((__int64)a2, \"k11\");\n  *(_BYTE *)(a1 + 395) = DS_Dictionary::getBoolForKey((__int64)a2, \"k15\");\n  *(_DWORD *)(a1 + 356) = DS_Dictionary::getIntegerForKey((__int64)a2, \"k22\");\n  *(_DWORD *)(a1 + 544) = DS_Dictionary::getIntegerForKey((__int64)a2, \"k21\");\n  *(_DWORD *)(a1 + 348) = DS_Dictionary::getIntegerForKey((__int64)a2, \"k16\");\n  *(_BYTE *)(a1 + 393) = DS_Dictionary::getBoolForKey((__int64)a2, \"k79\");\n  *(_BYTE *)(a1 + 394) = DS_Dictionary::getBoolForKey((__int64)a2, \"k94\");\n  *(_DWORD *)(a1 + 372) = DS_Dictionary::getIntegerForKey((__int64)a2, \"k46\");\n  *(_BYTE *)(a1 + 399) = DS_Dictionary::getBoolForKey((__int64)a2, \"k47\");\n  *(_DWORD *)(a1 + 376) = DS_Dictionary::getIntegerForKey((__int64)a2, \"k83\");\n  *(_BYTE *)(a1 + 396) = DS_Dictionary::getBoolForKey((__int64)a2, \"k82\");\n  *(_BYTE *)(a1 + 397) = DS_Dictionary::getBoolForKey((__int64)a2, \"k27\");\n  *(_DWORD *)(a1 + 528) = DS_Dictionary::getIntegerForKey((__int64)a2, \"k98\");\n  *(_DWORD *)(a1 + 532) = DS_Dictionary::getIntegerForKey((__int64)a2, \"k99\");\n  *(_DWORD *)(a1 + 380) = DS_Dictionary::getIntegerForKey((__int64)a2, \"k42\");\n  *(_BYTE *)(a1 + 398) = DS_Dictionary::getBoolForKey((__int64)a2, \"k100\");\n  *(_DWORD *)(a1 + 384) = DS_Dictionary::getIntegerForKey((__int64)a2, \"k113\");\n  *(_DWORD *)(a1 + 388) = DS_Dictionary::getIntegerForKey((__int64)a2, \"k114\");\n  DictForKey = DS_Dictionary::getDictForKey(a2, \"k97\", 0);\n  v8 = *(_DWORD **)(a1 + 536);\n  if ( v8 != (_DWORD *)DictForKey )\n  {\n    v9 = DictForKey;\n    if ( DictForKey )\n    {\n      cocos2d::CCObject::retain(DictForKey);\n      v8 = *(_DWORD **)(a1 + 536);\n    }\n    if ( v8 )\n      cocos2d::CCObject::release(v8);\n    *(_QWORD *)(a1 + 536) = v9;\n  }\n  DS_Dictionary::getStringForKey(&v10, (__int64)a2, \"k96\", v6);\n  GJLevelList::parseListLevels((std::string *)a1, &v10);\n  if ( (*(_BYTE *)&v10.__r_.__value_.__s.0 & 1) != 0 )\n    operator delete(v10.__r_.__value_.__l.__data_);\n}", "assembly": "; \n; GJLevelList::dataLoaded from 0x10058fd90 to 0x1005900ae (798 bytes)\n; \n; 1 xrefs:\n; > GJLevelList::createWithCoder @ 0x10058fd78\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 12:32:26 +0000\n; \npush    rbp                                                            ; +0x0, 0x10058fd90\nmov     rbp, rsp                                                       ; +0x1, 0x10058fd91\npush    r15                                                            ; +0x4, 0x10058fd94\npush    r14                                                            ; +0x6, 0x10058fd96\npush    rbx                                                            ; +0x8, 0x10058fd98\nsub     rsp, 38h                                                       ; +0x9, 0x10058fd99\nmov     r14, rsi                                                       ; +0xd, 0x10058fd9d\nmov     rbx, rdi                                                       ; +0x10, 0x10058fda0\nlea     rsi, aK1; \"k1\"                                                 ; +0x13, 0x10058fda3\nmov     rdi, r14                                                       ; +0x1a, 0x10058fdaa\ncall    DS_Dictionary__getIntegerForKey                                ; +0x1d, 0x10058fdad\nmov     [rbx+158h], eax                                                ; +0x22, 0x10058fdb2\nlea     rsi, aK84; \"k84\"                                               ; +0x28, 0x10058fdb8\nmov     rdi, r14                                                       ; +0x2f, 0x10058fdbf\ncall    DS_Dictionary__getIntegerForKey                                ; +0x32, 0x10058fdc2\nmov     [rbx+170h], eax                                                ; +0x37, 0x10058fdc7\nlea     rdx, aK2; \"k2\"                                                 ; +0x3d, 0x10058fdcd\nlea     rdi, [rbp+var_30]                                              ; +0x44, 0x10058fdd4\nmov     rsi, r14                                                       ; +0x48, 0x10058fdd8\ncall    DS_Dictionary__getStringForKey                                 ; +0x4b, 0x10058fddb\nlea     r15, [rbx+1B0h]                                                ; +0x50, 0x10058fde0\ntest    byte ptr [rbx+1B0h], 1                                         ; +0x57, 0x10058fde7\njz      short loc_10058FDFC                                            ; +0x5e, 0x10058fdee\nmov     rdi, [rbx+1C0h]; __p                                           ; +0x60, 0x10058fdf0\ncall    __ZdlPv; operator delete(void *)                               ; +0x67, 0x10058fdf7\nmov     rax, [rbp+var_20]                                              ; +0x6c, 0x10058fdfc\nmov     [r15+10h], rax                                                 ; +0x70, 0x10058fe00\nmovups  xmm0, [rbp+var_30]                                             ; +0x74, 0x10058fe04\nmovups  xmmword ptr [r15], xmm0                                        ; +0x78, 0x10058fe08\nlea     rdx, aK3; \"k3\"                                                 ; +0x7c, 0x10058fe0c\nlea     rdi, [rbp+var_30]                                              ; +0x83, 0x10058fe13\nmov     rsi, r14                                                       ; +0x87, 0x10058fe17\ncall    DS_Dictionary__getStringForKey                                 ; +0x8a, 0x10058fe1a\nlea     r15, [rbx+1F8h]                                                ; +0x8f, 0x10058fe1f\ntest    byte ptr [rbx+1F8h], 1                                         ; +0x96, 0x10058fe26\njz      short loc_10058FE3B                                            ; +0x9d, 0x10058fe2d\nmov     rdi, [rbx+208h]; __p                                           ; +0x9f, 0x10058fe2f\ncall    __ZdlPv; operator delete(void *)                               ; +0xa6, 0x10058fe36\nmov     rax, [rbp+var_20]                                              ; +0xab, 0x10058fe3b\nmov     [r15+10h], rax                                                 ; +0xaf, 0x10058fe3f\nmovups  xmm0, [rbp+var_30]                                             ; +0xb3, 0x10058fe43\nmovups  xmmword ptr [r15], xmm0                                        ; +0xb7, 0x10058fe47\nlea     rdx, aK5; \"k5\"                                                 ; +0xbb, 0x10058fe4b\nlea     rdi, [rbp+var_30]                                              ; +0xc2, 0x10058fe52\nmov     rsi, r14                                                       ; +0xc6, 0x10058fe56\ncall    DS_Dictionary__getStringForKey                                 ; +0xc9, 0x10058fe59\nlea     r15, [rbx+198h]                                                ; +0xce, 0x10058fe5e\ntest    byte ptr [rbx+198h], 1                                         ; +0xd5, 0x10058fe65\njz      short loc_10058FE7A                                            ; +0xdc, 0x10058fe6c\nmov     rdi, [rbx+1A8h]; __p                                           ; +0xde, 0x10058fe6e\ncall    __ZdlPv; operator delete(void *)                               ; +0xe5, 0x10058fe75\nmov     rax, [rbp+var_20]                                              ; +0xea, 0x10058fe7a\nmov     [r15+10h], rax                                                 ; +0xee, 0x10058fe7e\nmovups  xmm0, [rbp+var_30]                                             ; +0xf2, 0x10058fe82\nmovups  xmmword ptr [r15], xmm0                                        ; +0xf6, 0x10058fe86\nlea     rsi, aK60; \"k60\"                                               ; +0xfa, 0x10058fe8a\nmov     rdi, r14                                                       ; +0x101, 0x10058fe91\ncall    DS_Dictionary__getIntegerForKey                                ; +0x104, 0x10058fe94\nmov     [rbx+16Ch], eax                                                ; +0x109, 0x10058fe99\nlea     rsi, aK7; \"k7\"                                                 ; +0x10f, 0x10058fe9f\nmov     rdi, r14                                                       ; +0x116, 0x10058fea6\ncall    DS_Dictionary__getIntegerForKey                                ; +0x119, 0x10058fea9\nmov     [rbx+168h], eax                                                ; +0x11e, 0x10058feae\nlea     rsi, aK11; \"k11\"                                               ; +0x124, 0x10058feb4\nmov     rdi, r14                                                       ; +0x12b, 0x10058febb\ncall    DS_Dictionary__getIntegerForKey                                ; +0x12e, 0x10058febe\nmov     [rbx+160h], eax                                                ; +0x133, 0x10058fec3\nlea     rsi, aK15; \"k15\"                                               ; +0x139, 0x10058fec9\nmov     rdi, r14                                                       ; +0x140, 0x10058fed0\ncall    DS_Dictionary__getBoolForKey                                   ; +0x143, 0x10058fed3\nmov     [rbx+18Bh], al                                                 ; +0x148, 0x10058fed8\nlea     rsi, aK22; \"k22\"                                               ; +0x14e, 0x10058fede\nmov     rdi, r14                                                       ; +0x155, 0x10058fee5\ncall    DS_Dictionary__getIntegerForKey                                ; +0x158, 0x10058fee8\nmov     [rbx+164h], eax                                                ; +0x15d, 0x10058feed\nlea     rsi, aK21; \"k21\"                                               ; +0x163, 0x10058fef3\nmov     rdi, r14                                                       ; +0x16a, 0x10058fefa\ncall    DS_Dictionary__getIntegerForKey                                ; +0x16d, 0x10058fefd\nmov     [rbx+220h], eax                                                ; +0x172, 0x10058ff02\nlea     rsi, aK16; \"k16\"                                               ; +0x178, 0x10058ff08\nmov     rdi, r14                                                       ; +0x17f, 0x10058ff0f\ncall    DS_Dictionary__getIntegerForKey                                ; +0x182, 0x10058ff12\nmov     [rbx+15Ch], eax                                                ; +0x187, 0x10058ff17\nlea     rsi, aK79; \"k79\"                                               ; +0x18d, 0x10058ff1d\nmov     rdi, r14                                                       ; +0x194, 0x10058ff24\ncall    DS_Dictionary__getBoolForKey                                   ; +0x197, 0x10058ff27\nmov     [rbx+189h], al                                                 ; +0x19c, 0x10058ff2c\nlea     rsi, aK94; \"k94\"                                               ; +0x1a2, 0x10058ff32\nmov     rdi, r14                                                       ; +0x1a9, 0x10058ff39\ncall    DS_Dictionary__getBoolForKey                                   ; +0x1ac, 0x10058ff3c\nmov     [rbx+18Ah], al                                                 ; +0x1b1, 0x10058ff41\nlea     rsi, aK46; \"k46\"                                               ; +0x1b7, 0x10058ff47\nmov     rdi, r14                                                       ; +0x1be, 0x10058ff4e\ncall    DS_Dictionary__getIntegerForKey                                ; +0x1c1, 0x10058ff51\nmov     [rbx+174h], eax                                                ; +0x1c6, 0x10058ff56\nlea     rsi, aK47; \"k47\"                                               ; +0x1cc, 0x10058ff5c\nmov     rdi, r14                                                       ; +0x1d3, 0x10058ff63\ncall    DS_Dictionary__getBoolForKey                                   ; +0x1d6, 0x10058ff66\nmov     [rbx+18Fh], al                                                 ; +0x1db, 0x10058ff6b\nlea     rsi, aK83; \"k83\"                                               ; +0x1e1, 0x10058ff71\nmov     rdi, r14                                                       ; +0x1e8, 0x10058ff78\ncall    DS_Dictionary__getIntegerForKey                                ; +0x1eb, 0x10058ff7b\nmov     [rbx+178h], eax                                                ; +0x1f0, 0x10058ff80\nlea     rsi, aK82; \"k82\"                                               ; +0x1f6, 0x10058ff86\nmov     rdi, r14                                                       ; +0x1fd, 0x10058ff8d\ncall    DS_Dictionary__getBoolForKey                                   ; +0x200, 0x10058ff90\nmov     [rbx+18Ch], al                                                 ; +0x205, 0x10058ff95\nlea     rsi, aK27; \"k27\"                                               ; +0x20b, 0x10058ff9b\nmov     rdi, r14                                                       ; +0x212, 0x10058ffa2\ncall    DS_Dictionary__getBoolForKey                                   ; +0x215, 0x10058ffa5\nmov     [rbx+18Dh], al                                                 ; +0x21a, 0x10058ffaa\nlea     rsi, aK98; \"k98\"                                               ; +0x220, 0x10058ffb0\nmov     rdi, r14                                                       ; +0x227, 0x10058ffb7\ncall    DS_Dictionary__getIntegerForKey                                ; +0x22a, 0x10058ffba\nmov     [rbx+210h], eax                                                ; +0x22f, 0x10058ffbf\nlea     rsi, aK99; \"k99\"                                               ; +0x235, 0x10058ffc5\nmov     rdi, r14                                                       ; +0x23c, 0x10058ffcc\ncall    DS_Dictionary__getIntegerForKey                                ; +0x23f, 0x10058ffcf\nmov     [rbx+214h], eax                                                ; +0x244, 0x10058ffd4\nlea     rsi, aK42; \"k42\"                                               ; +0x24a, 0x10058ffda\nmov     rdi, r14                                                       ; +0x251, 0x10058ffe1\ncall    DS_Dictionary__getIntegerForKey                                ; +0x254, 0x10058ffe4\nmov     [rbx+17Ch], eax                                                ; +0x259, 0x10058ffe9\nlea     rsi, aK100; \"k100\"                                             ; +0x25f, 0x10058ffef\nmov     rdi, r14                                                       ; +0x266, 0x10058fff6\ncall    DS_Dictionary__getBoolForKey                                   ; +0x269, 0x10058fff9\nmov     [rbx+18Eh], al                                                 ; +0x26e, 0x10058fffe\nlea     rsi, aK113; \"k113\"                                             ; +0x274, 0x100590004\nmov     rdi, r14                                                       ; +0x27b, 0x10059000b\ncall    DS_Dictionary__getIntegerForKey                                ; +0x27e, 0x10059000e\nmov     [rbx+180h], eax                                                ; +0x283, 0x100590013\nlea     rsi, aK114; \"k114\"                                             ; +0x289, 0x100590019\nmov     rdi, r14                                                       ; +0x290, 0x100590020\ncall    DS_Dictionary__getIntegerForKey                                ; +0x293, 0x100590023\nmov     [rbx+184h], eax                                                ; +0x298, 0x100590028\nlea     rsi, aK97; \"k97\"                                               ; +0x29e, 0x10059002e\nmov     rdi, r14                                                       ; +0x2a5, 0x100590035\nxor     edx, edx                                                       ; +0x2a8, 0x100590038\ncall    DS_Dictionary__getDictForKey                                   ; +0x2aa, 0x10059003a\nmov     rdi, [rbx+218h]                                                ; +0x2af, 0x10059003f\ncmp     rdi, rax                                                       ; +0x2b6, 0x100590046\njz      short loc_100590073                                            ; +0x2b9, 0x100590049\nmov     r15, rax                                                       ; +0x2bb, 0x10059004b\ntest    rax, rax                                                       ; +0x2be, 0x10059004e\njz      short loc_100590062                                            ; +0x2c1, 0x100590051\nmov     rdi, r15                                                       ; +0x2c3, 0x100590053\ncall    cocos2d__CCObject__retain                                      ; +0x2c6, 0x100590056\nmov     rdi, [rbx+218h]                                                ; +0x2cb, 0x10059005b\ntest    rdi, rdi                                                       ; +0x2d2, 0x100590062\njz      short loc_10059006C                                            ; +0x2d5, 0x100590065\ncall    cocos2d__CCObject__release                                     ; +0x2d7, 0x100590067\nmov     [rbx+218h], r15                                                ; +0x2dc, 0x10059006c\nlea     rdx, aK96; \"k96\"                                               ; +0x2e3, 0x100590073\nlea     r15, [rbp+var_48]                                              ; +0x2ea, 0x10059007a\nmov     rdi, r15                                                       ; +0x2ee, 0x10059007e\nmov     rsi, r14                                                       ; +0x2f1, 0x100590081\ncall    DS_Dictionary__getStringForKey                                 ; +0x2f4, 0x100590084\nmov     rdi, rbx                                                       ; +0x2f9, 0x100590089\nmov     rsi, r15                                                       ; +0x2fc, 0x10059008c\ncall    GJLevelList__parseListLevels                                   ; +0x2ff, 0x10059008f\ntest    [rbp+var_48], 1                                                ; +0x304, 0x100590094\njz      short loc_1005900A3                                            ; +0x308, 0x100590098\nmov     rdi, [rbp+__p]; __p                                            ; +0x30a, 0x10059009a\ncall    __ZdlPv; operator delete(void *)                               ; +0x30e, 0x10059009e\nadd     rsp, 38h                                                       ; +0x313, 0x1005900a3\npop     rbx                                                            ; +0x317, 0x1005900a7\npop     r14                                                            ; +0x318, 0x1005900a8\npop     r15                                                            ; +0x31a, 0x1005900aa\npop     rbp                                                            ; +0x31c, 0x1005900ac\nretn                                                                   ; +0x31d, 0x1005900ad", "xrefs": ["GJLevelList::createWithCoder @ 0x10058fd78"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}