{"type": "func", "start": 4300396208, "end": 4300396486, "name": "GJLevelList::create_1", "pseudocode": "// \n// GJLevelList::create_1 from 0x10052d6b0 to 0x10052d7c6 (278 bytes)\n// \n// 3 xrefs:\n// > GameLevelManager::createNewLevelList @ 0x10052d2b4\n// > GJLevelList::create @ 0x1005318e7\n// > GJLevelList::createWithCoder @ 0x10056349a\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\nGJLevelList *__fastcall GJLevelList::create_1()\n{\n  cocos2d::CCNode *v0; // r14\n  GJLevelList *v1; // rbx\n  cocos2d::CCObject **p_m_pChildren; // r14\n  cocos2d::CCDictionary *v3; // rax\n  cocos2d::CCObject *v4; // rdi\n  cocos2d::CCDictionary *v5; // r15\n  int v6; // eax\n\n  v0 = (cocos2d::CCNode *)operator new(0x220u);\n  v1 = (GJLevelList *)v0;\n  cocos2d::CCNode::CCNode((__int64)v0);\n  v0->__vftable = (cocos2d::CCNode_vtbl *)off_100962810;\n  *(_OWORD *)&v0[1].__vftable = 0;\n  *(_OWORD *)&v0[1].m_nTag = 0;\n  *(_QWORD *)&v0[1].m_uIndexInArray = 0;\n  v0[1].m_unknown2 = -1;\n  *(_OWORD *)&v0[1].m_nZOrder = 0;\n  *(_OWORD *)&v0[1].m_fRotationY = 0;\n  *(_OWORD *)&v0[1].m_obPosition.x = 0;\n  *(_OWORD *)&v0[1].m_obAnchorPointInPoints.x = 0;\n  *(_OWORD *)&v0[1].m_obContentSize.width = 0;\n  *(_OWORD *)&v0[1].m_sAdditionalTransform.c = 0;\n  *(_OWORD *)&v0[1].m_sTransform.a = 0;\n  *(_OWORD *)&v0[1].m_sTransform.tx = 0;\n  *(_OWORD *)&v0[1].m_sInverse.c = 0;\n  *(_OWORD *)&v0[1].m_sInverse.ty = 0;\n  *(_OWORD *)&v0[1].m_pChildren = 0;\n  if ( cocos2d::CCNode::init(v0) )\n  {\n    p_m_pChildren = &v0[1].m_pChildren;\n    v3 = cocos2d::CCDictionary::create();\n    v4 = *p_m_pChildren;\n    if ( *p_m_pChildren != v3 )\n    {\n      v5 = v3;\n      if ( v3 )\n      {\n        cocos2d::CCObject::retain(v3);\n        v4 = *p_m_pChildren;\n      }\n      if ( v4 )\n        cocos2d::CCObject::release(v4);\n      *p_m_pChildren = v5;\n    }\n    v6 = dword_1009A28F0;\n    v1->m_M_ID = dword_1009A28F0;\n    dword_1009A28F0 = v6 + 1;\n    cocos2d::CCObject::autorelease(v1);\n  }\n  else\n  {\n    ((void (__fastcall *)(cocos2d::CCNode *))v0->~CCNode_0)(v0);\n    return nullptr;\n  }\n  return v1;\n}", "assembly": "; \n; GJLevelList::create_1 from 0x10052d6b0 to 0x10052d7c6 (278 bytes)\n; \n; 3 xrefs:\n; > GameLevelManager::createNewLevelList @ 0x10052d2b4\n; > GJLevelList::create @ 0x1005318e7\n; > GJLevelList::createWithCoder @ 0x10056349a\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    rbp                                                            ; +0x0, 0x10052d6b0\nmov     rbp, rsp                                                       ; +0x1, 0x10052d6b1\npush    r15                                                            ; +0x4, 0x10052d6b4\npush    r14                                                            ; +0x6, 0x10052d6b6\npush    rbx                                                            ; +0x8, 0x10052d6b8\npush    rax                                                            ; +0x9, 0x10052d6b9\nmov     edi, 220h; __sz                                                ; +0xa, 0x10052d6ba\ncall    __Znwm; operator new(ulong)                                    ; +0xf, 0x10052d6bf\nmov     r14, rax                                                       ; +0x14, 0x10052d6c4\nmov     rbx, rax                                                       ; +0x17, 0x10052d6c7\nmov     rdi, rax                                                       ; +0x1a, 0x10052d6ca\ncall    cocos2d__CCNode__CCNode                                        ; +0x1d, 0x10052d6cd\nlea     rax, off_100962810                                             ; +0x22, 0x10052d6d2\nmov     [rbx], rax                                                     ; +0x29, 0x10052d6d9\nxorps   xmm0, xmm0                                                     ; +0x2c, 0x10052d6dc\nmovups  xmmword ptr [rbx+140h], xmm0                                   ; +0x2f, 0x10052d6df\nmovups  xmmword ptr [rbx+150h], xmm0                                   ; +0x36, 0x10052d6e6\nmov     qword ptr [rbx+160h], 0                                        ; +0x3d, 0x10052d6ed\nmov     dword ptr [rbx+168h], 0FFFFFFFFh                               ; +0x48, 0x10052d6f8\nmovups  xmmword ptr [rbx+16Ch], xmm0                                   ; +0x52, 0x10052d702\nmovups  xmmword ptr [rbx+17Ch], xmm0                                   ; +0x59, 0x10052d709\nmovups  xmmword ptr [rbx+18Ch], xmm0                                   ; +0x60, 0x10052d710\nmovups  xmmword ptr [rbx+19Ch], xmm0                                   ; +0x67, 0x10052d717\nmovups  xmmword ptr [rbx+1ACh], xmm0                                   ; +0x6e, 0x10052d71e\nmovups  xmmword ptr [rbx+1BCh], xmm0                                   ; +0x75, 0x10052d725\nmovups  xmmword ptr [rbx+1CCh], xmm0                                   ; +0x7c, 0x10052d72c\nmovups  xmmword ptr [rbx+1DCh], xmm0                                   ; +0x83, 0x10052d733\nmovups  xmmword ptr [rbx+1ECh], xmm0                                   ; +0x8a, 0x10052d73a\nmovups  xmmword ptr [rbx+1F8h], xmm0                                   ; +0x91, 0x10052d741\nmovups  xmmword ptr [rbx+210h], xmm0                                   ; +0x98, 0x10052d748\nmov     rdi, rbx                                                       ; +0x9f, 0x10052d74f\ncall    cocos2d__CCNode__init                                          ; +0xa2, 0x10052d752\ntest    al, al                                                         ; +0xa7, 0x10052d757\njz      short loc_10052D7AD                                            ; +0xa9, 0x10052d759\nadd     r14, 210h                                                      ; +0xab, 0x10052d75b\ncall    cocos2d__CCDictionary__create                                  ; +0xb2, 0x10052d762\nmov     rdi, [r14]                                                     ; +0xb7, 0x10052d767\ncmp     rdi, rax                                                       ; +0xba, 0x10052d76a\njz      short loc_10052D78F                                            ; +0xbd, 0x10052d76d\nmov     r15, rax                                                       ; +0xbf, 0x10052d76f\ntest    rax, rax                                                       ; +0xc2, 0x10052d772\njz      short loc_10052D782                                            ; +0xc5, 0x10052d775\nmov     rdi, r15                                                       ; +0xc7, 0x10052d777\ncall    cocos2d__CCObject__retain                                      ; +0xca, 0x10052d77a\nmov     rdi, [r14]                                                     ; +0xcf, 0x10052d77f\ntest    rdi, rdi                                                       ; +0xd2, 0x10052d782\njz      short loc_10052D78C                                            ; +0xd5, 0x10052d785\ncall    cocos2d__CCObject__release                                     ; +0xd7, 0x10052d787\nmov     [r14], r15                                                     ; +0xdc, 0x10052d78c\nmov     eax, cs:dword_1009A28F0                                        ; +0xdf, 0x10052d78f\nmov     [rbx+21Ch], eax                                                ; +0xe5, 0x10052d795\ninc     eax                                                            ; +0xeb, 0x10052d79b\nmov     cs:dword_1009A28F0, eax                                        ; +0xed, 0x10052d79d\nmov     rdi, rbx                                                       ; +0xf3, 0x10052d7a3\ncall    cocos2d__CCObject__autorelease                                 ; +0xf6, 0x10052d7a6\njmp     short loc_10052D7B8                                            ; +0xfb, 0x10052d7ab\nmov     rax, [rbx]                                                     ; +0xfd, 0x10052d7ad\nmov     rdi, rbx                                                       ; +0x100, 0x10052d7b0\ncall    qword ptr [rax+10h]                                            ; +0x103, 0x10052d7b3\nxor     ebx, ebx                                                       ; +0x106, 0x10052d7b6\nmov     rax, rbx                                                       ; +0x108, 0x10052d7b8\nadd     rsp, 8                                                         ; +0x10b, 0x10052d7bb\npop     rbx                                                            ; +0x10f, 0x10052d7bf\npop     r14                                                            ; +0x110, 0x10052d7c0\npop     r15                                                            ; +0x112, 0x10052d7c2\npop     rbp                                                            ; +0x114, 0x10052d7c4\nretn                                                                   ; +0x115, 0x10052d7c5", "xrefs": ["GameLevelManager::createNewLevelList @ 0x10052d2b4", "GJLevelList::create @ 0x1005318e7", "GJLevelList::createWithCoder @ 0x10056349a"], "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"}