{"type": "func", "start": 5370242928, "end": 5370243317, "name": "GJLevelList::create_1", "pseudocode": "// \n// GJLevelList::create_1 from 0x140176770 to 0x1401768f5 (389 bytes)\n// \n// 4 xrefs:\n// > GameLevelManager::createNewLevelList @ 0x14014535b\n// > GJLevelList::create @ 0x140175eab\n// > GJObjectDecoder::getDecodedObject @ 0x140284495\n// > <???> @ 0x1406caf68\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\n// Hidden C++ exception states: #wind=1\nGJLevelList *GJLevelList::create_1()\n{\n  char *v0; // rbx\n  bool (*v1)(GJLevelList *); // rdx\n  bool v2; // al\n\n  v0 = (char *)operator new(0x248u);\n  cocos2d::CCNode::CCNode((cocos2d::CCNode *)v0);\n  *(_QWORD *)v0 = &GJLevelList::`vftable';\n  *((_QWORD *)v0 + 40) = 0;\n  *((_QWORD *)v0 + 41) = 0;\n  *((_QWORD *)v0 + 42) = 0;\n  *((_QWORD *)v0 + 43) = 0;\n  *((_QWORD *)v0 + 44) = 0;\n  *((_DWORD *)v0 + 90) = -1;\n  *(_QWORD *)(v0 + 364) = 0;\n  *(_QWORD *)(v0 + 372) = 0;\n  *(_QWORD *)(v0 + 380) = 0;\n  *(_QWORD *)(v0 + 388) = 0;\n  *((_DWORD *)v0 + 99) = 0;\n  *((_OWORD *)v0 + 25) = 0;\n  *((_QWORD *)v0 + 52) = 0;\n  *((_QWORD *)v0 + 53) = 15;\n  v0[400] = 0;\n  *((_OWORD *)v0 + 27) = 0;\n  *((_QWORD *)v0 + 56) = 0;\n  *((_QWORD *)v0 + 57) = 15;\n  v0[432] = 0;\n  *((_OWORD *)v0 + 29) = 0;\n  *((_QWORD *)v0 + 60) = 0;\n  *((_QWORD *)v0 + 61) = 15;\n  v0[464] = 0;\n  *((_OWORD *)v0 + 31) = 0;\n  *((_QWORD *)v0 + 64) = 0;\n  *((_QWORD *)v0 + 65) = 15;\n  v0[496] = 0;\n  *((_OWORD *)v0 + 33) = 0;\n  *((_QWORD *)v0 + 68) = 0;\n  *((_QWORD *)v0 + 69) = 15;\n  v0[528] = 0;\n  *((_QWORD *)v0 + 71) = 0;\n  *((_QWORD *)v0 + 72) = 0;\n  v1 = *(bool (**)(GJLevelList *))(*(_QWORD *)v0 + 72LL);\n  if ( v1 == GJLevelList::init )\n    v2 = GJLevelList::init((GJLevelList *)v0);\n  else\n    v2 = v1((GJLevelList *)v0);\n  if ( v2 )\n  {\n    cocos2d::CCObject::autorelease((cocos2d::CCObject *)v0);\n    return (GJLevelList *)v0;\n  }\n  else\n  {\n    (*(void (__fastcall **)(char *, __int64))(*(_QWORD *)v0 + 8LL))(v0, 1);\n    return nullptr;\n  }\n}", "assembly": "; \n; GJLevelList::create_1 from 0x140176770 to 0x1401768f5 (389 bytes)\n; \n; 4 xrefs:\n; > GameLevelManager::createNewLevelList @ 0x14014535b\n; > GJLevelList::create @ 0x140175eab\n; > GJObjectDecoder::getDecodedObject @ 0x140284495\n; > <???> @ 0x1406caf68\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\nmov     [rsp+arg_8], rbx                                               ; +0x0, 0x140176770\npush    rdi                                                            ; +0x5, 0x140176775\nsub     rsp, 20h                                                       ; +0x6, 0x140176776\nmov     ecx, 248h; Size                                                ; +0xa, 0x14017677a\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0xf, 0x14017677f\nmov     rbx, rax                                                       ; +0x14, 0x140176784\nmov     [rsp+28h+arg_0], rax                                           ; +0x17, 0x140176787\nmov     rcx, rax                                                       ; +0x1c, 0x14017678c\ncall    cs:??0CCNode@cocos2d@@QEAA@XZ; cocos2d::CCNode::CCNode(void)   ; +0x1f, 0x14017678f\nlea     rax, ??_7GJLevelList@@6B@; const GJLevelList::`vftable'        ; +0x25, 0x140176795\nmov     [rbx], rax                                                     ; +0x2c, 0x14017679c\nxor     edi, edi                                                       ; +0x2f, 0x14017679f\nmov     [rbx+140h], rdi                                                ; +0x31, 0x1401767a1\nmov     [rbx+148h], rdi                                                ; +0x38, 0x1401767a8\nmov     [rbx+150h], rdi                                                ; +0x3f, 0x1401767af\nmov     [rbx+158h], rdi                                                ; +0x46, 0x1401767b6\nmov     [rbx+160h], rdi                                                ; +0x4d, 0x1401767bd\nmov     dword ptr [rbx+168h], 0FFFFFFFFh                               ; +0x54, 0x1401767c4\nmov     [rbx+16Ch], rdi                                                ; +0x5e, 0x1401767ce\nmov     [rbx+174h], rdi                                                ; +0x65, 0x1401767d5\nmov     [rbx+17Ch], rdi                                                ; +0x6c, 0x1401767dc\nmov     [rbx+184h], rdi                                                ; +0x73, 0x1401767e3\nmov     [rbx+18Ch], edi                                                ; +0x7a, 0x1401767ea\nxorps   xmm0, xmm0                                                     ; +0x80, 0x1401767f0\nmovups  xmmword ptr [rbx+190h], xmm0                                   ; +0x83, 0x1401767f3\nmov     [rbx+1A0h], rdi                                                ; +0x8a, 0x1401767fa\nmov     qword ptr [rbx+1A8h], 0Fh                                      ; +0x91, 0x140176801\nmov     [rbx+190h], dil                                                ; +0x9c, 0x14017680c\nmovups  xmmword ptr [rbx+1B0h], xmm0                                   ; +0xa3, 0x140176813\nmov     [rbx+1C0h], rdi                                                ; +0xaa, 0x14017681a\nmov     qword ptr [rbx+1C8h], 0Fh                                      ; +0xb1, 0x140176821\nmov     [rbx+1B0h], dil                                                ; +0xbc, 0x14017682c\nmovups  xmmword ptr [rbx+1D0h], xmm0                                   ; +0xc3, 0x140176833\nmov     [rbx+1E0h], rdi                                                ; +0xca, 0x14017683a\nmov     qword ptr [rbx+1E8h], 0Fh                                      ; +0xd1, 0x140176841\nmov     [rbx+1D0h], dil                                                ; +0xdc, 0x14017684c\nmovups  xmmword ptr [rbx+1F0h], xmm0                                   ; +0xe3, 0x140176853\nmov     [rbx+200h], rdi                                                ; +0xea, 0x14017685a\nmov     qword ptr [rbx+208h], 0Fh                                      ; +0xf1, 0x140176861\nmov     [rbx+1F0h], dil                                                ; +0xfc, 0x14017686c\nmovups  xmmword ptr [rbx+210h], xmm0                                   ; +0x103, 0x140176873\nmov     [rbx+220h], rdi                                                ; +0x10a, 0x14017687a\nmov     qword ptr [rbx+228h], 0Fh                                      ; +0x111, 0x140176881\nmov     [rbx+210h], dil                                                ; +0x11c, 0x14017688c\nmov     [rbx+238h], rdi                                                ; +0x123, 0x140176893\nmov     [rbx+240h], rdi                                                ; +0x12a, 0x14017689a\nmov     rax, [rbx]                                                     ; +0x131, 0x1401768a1\nmov     rdx, [rax+48h]                                                 ; +0x134, 0x1401768a4\nlea     rax, GJLevelList__init                                         ; +0x138, 0x1401768a8\nmov     rcx, rbx                                                       ; +0x13f, 0x1401768af\ncmp     rdx, rax                                                       ; +0x142, 0x1401768b2\njnz     short loc_1401768BE                                            ; +0x145, 0x1401768b5\ncall    GJLevelList__init                                              ; +0x147, 0x1401768b7\njmp     short loc_1401768C0                                            ; +0x14c, 0x1401768bc\ncall    rdx                                                            ; +0x14e, 0x1401768be\nmov     rcx, rbx                                                       ; +0x150, 0x1401768c0\ntest    al, al                                                         ; +0x153, 0x1401768c3\njz      short loc_1401768DB                                            ; +0x155, 0x1401768c5\ncall    cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x157, 0x1401768c7\nmov     rax, rbx                                                       ; +0x15d, 0x1401768cd\nmov     rbx, [rsp+28h+arg_8]                                           ; +0x160, 0x1401768d0\nadd     rsp, 20h                                                       ; +0x165, 0x1401768d5\npop     rdi                                                            ; +0x169, 0x1401768d9\nretn                                                                   ; +0x16a, 0x1401768da\nmov     r8, [rbx]                                                      ; +0x16b, 0x1401768db\nmov     edx, 1                                                         ; +0x16e, 0x1401768de\ncall    qword ptr [r8+8]                                               ; +0x173, 0x1401768e3\nmov     rax, rdi                                                       ; +0x177, 0x1401768e7\nmov     rbx, [rsp+28h+arg_8]                                           ; +0x17a, 0x1401768ea\nadd     rsp, 20h                                                       ; +0x17f, 0x1401768ef\npop     rdi                                                            ; +0x183, 0x1401768f3\nretn                                                                   ; +0x184, 0x1401768f4", "xrefs": ["GameLevelManager::createNewLevelList @ 0x14014535b", "GJLevelList::create @ 0x140175eab", "GJObjectDecoder::getDecodedObject @ 0x140284495", "<???> @ 0x1406caf68"], "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"}