{"type": "func", "start": 5371274768, "end": 5371274888, "name": "GJLevelList::init", "pseudocode": "// \n// GJLevelList::init from 0x140272610 to 0x140272688 (120 bytes)\n// \n// 4 xrefs:\n// > GJLevelList::create_1 @ 0x1402725be\n// > GJLevelList::create_1 @ 0x1402725af\n// > <???> @ 0x14075baa8\n// > <???> @ 0x14091cb2c\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 11:28:54 +0000\n// \n\nbool __fastcall GJLevelList::init(__int64 a1)\n{\n  bool result; // al\n  cocos2d::CCObject *v3; // rax\n  cocos2d::CCObject *v4; // rdi\n  cocos2d::CCObject *v5; // rcx\n  int v6; // eax\n\n  result = cocos2d::CCNode::init((cocos2d::CCNode *)a1);\n  if ( result )\n  {\n    v3 = (cocos2d::CCObject *)cocos2d::CCDictionary::create();\n    v4 = v3;\n    if ( *(cocos2d::CCObject **)(a1 + 576) != v3 )\n    {\n      if ( v3 )\n        cocos2d::CCObject::retain(v3);\n      v5 = *(cocos2d::CCObject **)(a1 + 576);\n      if ( v5 )\n        cocos2d::CCObject::release(v5);\n      *(_QWORD *)(a1 + 576) = v4;\n    }\n    v6 = dword_14090BFB8;\n    *(_DWORD *)(a1 + 588) = dword_14090BFB8;\n    dword_14090BFB8 = v6 + 1;\n    return 1;\n  }\n  return result;\n}", "assembly": "; \n; GJLevelList::init from 0x140272610 to 0x140272688 (120 bytes)\n; \n; 4 xrefs:\n; > GJLevelList::create_1 @ 0x1402725be\n; > GJLevelList::create_1 @ 0x1402725af\n; > <???> @ 0x14075baa8\n; > <???> @ 0x14091cb2c\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 11:28:54 +0000\n; \npush    rbx                                                            ; +0x0, 0x140272610\nsub     rsp, 20h                                                       ; +0x2, 0x140272612\nmov     rbx, rcx                                                       ; +0x6, 0x140272616\ncall    cs:__imp_?init@CCNode@cocos2d@@UEAA_NXZ; cocos2d::CCNode::init(void) ; +0x9, 0x140272619\ntest    al, al                                                         ; +0xf, 0x14027261f\njnz     short loc_140272629                                            ; +0x11, 0x140272621\nadd     rsp, 20h                                                       ; +0x13, 0x140272623\npop     rbx                                                            ; +0x17, 0x140272627\nretn                                                                   ; +0x18, 0x140272628\nmov     [rsp+28h+arg_0], rdi                                           ; +0x19, 0x140272629\ncall    cs:?create@CCDictionary@cocos2d@@SAPEAV12@XZ; cocos2d::CCDictionary::create(void) ; +0x1e, 0x14027262e\nmov     rdi, rax                                                       ; +0x24, 0x140272634\ncmp     [rbx+240h], rax                                                ; +0x27, 0x140272637\njz      short loc_140272667                                            ; +0x2e, 0x14027263e\ntest    rax, rax                                                       ; +0x30, 0x140272640\njz      short loc_14027264E                                            ; +0x33, 0x140272643\nmov     rcx, rax                                                       ; +0x35, 0x140272645\ncall    cs:?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0x38, 0x140272648\nmov     rcx, [rbx+240h]                                                ; +0x3e, 0x14027264e\ntest    rcx, rcx                                                       ; +0x45, 0x140272655\njz      short loc_140272660                                            ; +0x48, 0x140272658\ncall    cs:?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x4a, 0x14027265a\nmov     [rbx+240h], rdi                                                ; +0x50, 0x140272660\nmov     eax, cs:dword_14090BFB8                                        ; +0x57, 0x140272667\nmov     rdi, [rsp+28h+arg_0]                                           ; +0x5d, 0x14027266d\nmov     [rbx+24Ch], eax                                                ; +0x62, 0x140272672\ninc     eax                                                            ; +0x68, 0x140272678\nmov     cs:dword_14090BFB8, eax                                        ; +0x6a, 0x14027267a\nmov     al, 1                                                          ; +0x70, 0x140272680\nadd     rsp, 20h                                                       ; +0x72, 0x140272682\npop     rbx                                                            ; +0x76, 0x140272686\nretn                                                                   ; +0x77, 0x140272687", "xrefs": ["GJLevelList::create_1 @ 0x1402725be", "GJLevelList::create_1 @ 0x1402725af", "<???> @ 0x14075baa8", "<???> @ 0x14091cb2c"], "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"}