{"type": "func", "start": 5373079664, "end": 5373080228, "name": "LevelListLayer::scene", "pseudocode": "// \n// LevelListLayer::scene from 0x14042b070 to 0x14042b2a4 (564 bytes)\n// \n// 6 xrefs:\n// > LevelListCell::onClick @ 0x14015f948\n// > LevelListCell::onClick @ 0x14015f9c6\n// > LevelBrowserLayer::onNew @ 0x1403e8043\n// > LevelListLayer::cloneList @ 0x1404302df\n// > UploadListPopup::onReturnToList @ 0x140433f2b\n// > <???> @ 0x140926b10\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:32:12 +0000\n// \n\n// Hidden C++ exception states: #wind=4\n__int64 __fastcall LevelListLayer::scene(__int64 a1, __int64 a2, __int64 a3, __int64 a4)\n{\n  __int64 v5; // rsi\n  __int64 v6; // rcx\n  char *v7; // rdi\n\n  v5 = cocos2d::CCScene::create(a1, a2, a3, a4);\n  *(_QWORD *)(cocos2d::CCApplication::sharedApplication(v6) + 232) = v5;\n  v7 = (char *)operator new(0x408u);\n  LevelBrowserLayer::LevelBrowserLayer((__int64)v7);\n  *(_QWORD *)v7 = &LevelListLayer::`vftable';\n  *((_QWORD *)v7 + 40) = &LevelListLayer::`vftable';\n  *((_QWORD *)v7 + 41) = &LevelListLayer::`vftable';\n  *((_QWORD *)v7 + 42) = &LevelListLayer::`vftable';\n  *((_QWORD *)v7 + 43) = &LevelListLayer::`vftable';\n  *((_QWORD *)v7 + 44) = &LevelListLayer::`vftable';\n  *((_QWORD *)v7 + 51) = &LevelListLayer::`vftable';\n  *((_QWORD *)v7 + 54) = &LevelListLayer::`vftable';\n  *((_QWORD *)v7 + 68) = &LevelListLayer::`vftable';\n  *((_QWORD *)v7 + 69) = &LevelListLayer::`vftable';\n  *((_QWORD *)v7 + 70) = &LevelListLayer::`vftable';\n  *((_QWORD *)v7 + 71) = &LevelListLayer::`vftable';\n  *((_QWORD *)v7 + 72) = &LevelListLayer::`vftable';\n  *((_QWORD *)v7 + 73) = &LevelListLayer::`vftable';\n  *((_QWORD *)v7 + 105) = &LevelListLayer::`vftable';\n  *((_QWORD *)v7 + 106) = &LevelListLayer::`vftable';\n  *((_QWORD *)v7 + 107) = &LevelListLayer::`vftable';\n  *((_QWORD *)v7 + 108) = &LevelListLayer::`vftable';\n  *((_QWORD *)v7 + 109) = &LevelListLayer::`vftable';\n  *((_QWORD *)v7 + 110) = 0;\n  *(_OWORD *)(v7 + 888) = 0;\n  *((_QWORD *)v7 + 113) = 0;\n  *((_QWORD *)v7 + 114) = 15;\n  v7[888] = 0;\n  *((_QWORD *)v7 + 115) = 0;\n  *((_OWORD *)v7 + 58) = 0;\n  *((_QWORD *)v7 + 118) = 0;\n  *((_QWORD *)v7 + 119) = 15;\n  v7[928] = 0;\n  *((_QWORD *)v7 + 120) = 0;\n  v7[968] = 0;\n  *((_QWORD *)v7 + 122) = 0;\n  *((_DWORD *)v7 + 246) = 0;\n  *((_QWORD *)v7 + 124) = 0;\n  *((_QWORD *)v7 + 125) = 0;\n  *((_QWORD *)v7 + 126) = 0;\n  cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v7 + 1016));\n  v7[1024] = 0;\n  if ( (unsigned __int8)LevelListLayer::init(v7, a1) )\n  {\n    cocos2d::CCObject::autorelease((cocos2d::CCObject *)v7);\n  }\n  else\n  {\n    (*(void (__fastcall **)(char *, __int64))(*(_QWORD *)v7 + 8LL))(v7, 1);\n    v7 = nullptr;\n  }\n  (*(void (__fastcall **)(__int64, char *))(*(_QWORD *)v5 + 464LL))(v5, v7);\n  return v5;\n}", "assembly": "; \n; LevelListLayer::scene from 0x14042b070 to 0x14042b2a4 (564 bytes)\n; \n; 6 xrefs:\n; > LevelListCell::onClick @ 0x14015f948\n; > LevelListCell::onClick @ 0x14015f9c6\n; > LevelBrowserLayer::onNew @ 0x1403e8043\n; > LevelListLayer::cloneList @ 0x1404302df\n; > UploadListPopup::onReturnToList @ 0x140433f2b\n; > <???> @ 0x140926b10\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:32:12 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x14042b070\nmov     [rsp+arg_10], rbp                                              ; +0x5, 0x14042b075\nmov     [rsp+arg_18], rsi                                              ; +0xa, 0x14042b07a\npush    rdi                                                            ; +0xf, 0x14042b07f\nsub     rsp, 20h                                                       ; +0x10, 0x14042b080\nmov     rbx, rcx                                                       ; +0x14, 0x14042b084\ncall    cs:?create@CCScene@cocos2d@@SAPEAV12@XZ; cocos2d::CCScene::create(void) ; +0x17, 0x14042b087\nmov     rsi, rax                                                       ; +0x1d, 0x14042b08d\ncall    cs:?sharedApplication@CCApplication@cocos2d@@SAPEAV12@XZ; cocos2d::CCApplication::sharedApplication(void) ; +0x20, 0x14042b090\nmov     [rax+0E8h], rsi                                                ; +0x26, 0x14042b096\nmov     ecx, 408h; Size                                                ; +0x2d, 0x14042b09d\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x32, 0x14042b0a2\nmov     rdi, rax                                                       ; +0x37, 0x14042b0a7\nmov     [rsp+28h+arg_8], rax                                           ; +0x3a, 0x14042b0aa\nmov     rcx, rax                                                       ; +0x3f, 0x14042b0af\ncall    LevelBrowserLayer__LevelBrowserLayer                           ; +0x42, 0x14042b0b2\nnop                                                                    ; +0x47, 0x14042b0b7\nlea     rax, ??_7LevelListLayer@@6B@; const LevelListLayer::`vftable'  ; +0x48, 0x14042b0b8\nmov     [rdi], rax                                                     ; +0x4f, 0x14042b0bf\nlea     rax, ??_7LevelListLayer@@6B@_0; const LevelListLayer::`vftable' ; +0x52, 0x14042b0c2\nmov     [rdi+140h], rax                                                ; +0x59, 0x14042b0c9\nlea     rax, ??_7LevelListLayer@@6B@_1; const LevelListLayer::`vftable' ; +0x60, 0x14042b0d0\nmov     [rdi+148h], rax                                                ; +0x67, 0x14042b0d7\nlea     rax, ??_7LevelListLayer@@6B@_2; const LevelListLayer::`vftable' ; +0x6e, 0x14042b0de\nmov     [rdi+150h], rax                                                ; +0x75, 0x14042b0e5\nlea     rax, ??_7LevelListLayer@@6B@_3; const LevelListLayer::`vftable' ; +0x7c, 0x14042b0ec\nmov     [rdi+158h], rax                                                ; +0x83, 0x14042b0f3\nlea     rax, ??_7LevelListLayer@@6B@_4; const LevelListLayer::`vftable' ; +0x8a, 0x14042b0fa\nmov     [rdi+160h], rax                                                ; +0x91, 0x14042b101\nlea     rax, ??_7LevelListLayer@@6B@_5; const LevelListLayer::`vftable' ; +0x98, 0x14042b108\nmov     [rdi+198h], rax                                                ; +0x9f, 0x14042b10f\nlea     rax, ??_7LevelListLayer@@6B@_6; const LevelListLayer::`vftable' ; +0xa6, 0x14042b116\nmov     [rdi+1B0h], rax                                                ; +0xad, 0x14042b11d\nlea     rax, ??_7LevelListLayer@@6B@_7; const LevelListLayer::`vftable' ; +0xb4, 0x14042b124\nmov     [rdi+220h], rax                                                ; +0xbb, 0x14042b12b\nlea     rax, ??_7LevelListLayer@@6B@_8; const LevelListLayer::`vftable' ; +0xc2, 0x14042b132\nmov     [rdi+228h], rax                                                ; +0xc9, 0x14042b139\nlea     rax, ??_7LevelListLayer@@6B@_9; const LevelListLayer::`vftable' ; +0xd0, 0x14042b140\nmov     [rdi+230h], rax                                                ; +0xd7, 0x14042b147\nlea     rax, ??_7LevelListLayer@@6B@_10; const LevelListLayer::`vftable' ; +0xde, 0x14042b14e\nmov     [rdi+238h], rax                                                ; +0xe5, 0x14042b155\nlea     rax, ??_7LevelListLayer@@6B@_11; const LevelListLayer::`vftable' ; +0xec, 0x14042b15c\nmov     [rdi+240h], rax                                                ; +0xf3, 0x14042b163\nlea     rax, ??_7LevelListLayer@@6B@_12; const LevelListLayer::`vftable' ; +0xfa, 0x14042b16a\nmov     [rdi+248h], rax                                                ; +0x101, 0x14042b171\nlea     rax, ??_7LevelListLayer@@6B@_13; const LevelListLayer::`vftable' ; +0x108, 0x14042b178\nmov     [rdi+348h], rax                                                ; +0x10f, 0x14042b17f\nlea     rax, ??_7LevelListLayer@@6B@_14; const LevelListLayer::`vftable' ; +0x116, 0x14042b186\nmov     [rdi+350h], rax                                                ; +0x11d, 0x14042b18d\nlea     rax, ??_7LevelListLayer@@6B@_15; const LevelListLayer::`vftable' ; +0x124, 0x14042b194\nmov     [rdi+358h], rax                                                ; +0x12b, 0x14042b19b\nlea     rax, ??_7LevelListLayer@@6B@_16; const LevelListLayer::`vftable' ; +0x132, 0x14042b1a2\nmov     [rdi+360h], rax                                                ; +0x139, 0x14042b1a9\nlea     rax, ??_7LevelListLayer@@6B@_17; const LevelListLayer::`vftable' ; +0x140, 0x14042b1b0\nmov     [rdi+368h], rax                                                ; +0x147, 0x14042b1b7\nxor     ebp, ebp                                                       ; +0x14e, 0x14042b1be\nmov     [rdi+370h], rbp                                                ; +0x150, 0x14042b1c0\nxorps   xmm0, xmm0                                                     ; +0x157, 0x14042b1c7\nmovups  xmmword ptr [rdi+378h], xmm0                                   ; +0x15a, 0x14042b1ca\nmov     [rdi+388h], rbp                                                ; +0x161, 0x14042b1d1\nmov     qword ptr [rdi+390h], 0Fh                                      ; +0x168, 0x14042b1d8\nmov     [rdi+378h], bpl                                                ; +0x173, 0x14042b1e3\nmov     [rdi+398h], rbp                                                ; +0x17a, 0x14042b1ea\nmovups  xmmword ptr [rdi+3A0h], xmm0                                   ; +0x181, 0x14042b1f1\nmov     [rdi+3B0h], rbp                                                ; +0x188, 0x14042b1f8\nmov     qword ptr [rdi+3B8h], 0Fh                                      ; +0x18f, 0x14042b1ff\nmov     [rdi+3A0h], bpl                                                ; +0x19a, 0x14042b20a\nmov     [rdi+3C0h], rbp                                                ; +0x1a1, 0x14042b211\nmov     [rdi+3C8h], bpl                                                ; +0x1a8, 0x14042b218\nmov     [rdi+3D0h], rbp                                                ; +0x1af, 0x14042b21f\nmov     [rdi+3D8h], ebp                                                ; +0x1b6, 0x14042b226\nmov     [rdi+3E0h], rbp                                                ; +0x1bc, 0x14042b22c\nmov     [rdi+3E8h], rbp                                                ; +0x1c3, 0x14042b233\nmov     [rdi+3F0h], rbp                                                ; +0x1ca, 0x14042b23a\nlea     rcx, [rdi+3F8h]                                                ; +0x1d1, 0x14042b241\ncall    cs:??0CCPoint@cocos2d@@QEAA@XZ; cocos2d::CCPoint::CCPoint(void) ; +0x1d8, 0x14042b248\nmov     [rdi+400h], bpl                                                ; +0x1de, 0x14042b24e\nmov     rdx, rbx                                                       ; +0x1e5, 0x14042b255\nmov     rcx, rdi                                                       ; +0x1e8, 0x14042b258\ncall    LevelListLayer__init                                           ; +0x1eb, 0x14042b25b\nmov     rcx, rdi                                                       ; +0x1f0, 0x14042b260\ntest    al, al                                                         ; +0x1f3, 0x14042b263\njz      short loc_14042B26F                                            ; +0x1f5, 0x14042b265\ncall    cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x1f7, 0x14042b267\njmp     short loc_14042B27D                                            ; +0x1fd, 0x14042b26d\nmov     rax, [rdi]                                                     ; +0x1ff, 0x14042b26f\nmov     edx, 1                                                         ; +0x202, 0x14042b272\ncall    qword ptr [rax+8]                                              ; +0x207, 0x14042b277\nmov     rdi, rbp                                                       ; +0x20a, 0x14042b27a\nmov     rax, [rsi]                                                     ; +0x20d, 0x14042b27d\nmov     rdx, rdi                                                       ; +0x210, 0x14042b280\nmov     rcx, rsi                                                       ; +0x213, 0x14042b283\ncall    qword ptr [rax+1D0h]                                           ; +0x216, 0x14042b286\nmov     rax, rsi                                                       ; +0x21c, 0x14042b28c\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x21f, 0x14042b28f\nmov     rbp, [rsp+28h+arg_10]                                          ; +0x224, 0x14042b294\nmov     rsi, [rsp+28h+arg_18]                                          ; +0x229, 0x14042b299\nadd     rsp, 20h                                                       ; +0x22e, 0x14042b29e\npop     rdi                                                            ; +0x232, 0x14042b2a2\nretn                                                                   ; +0x233, 0x14042b2a3", "xrefs": ["LevelListCell::onClick @ 0x14015f948", "LevelListCell::onClick @ 0x14015f9c6", "LevelBrowserLayer::onNew @ 0x1403e8043", "LevelListLayer::cloneList @ 0x1404302df", "UploadListPopup::onReturnToList @ 0x140433f2b", "<???> @ 0x140926b10"], "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"}