{"type": "func", "start": 5373017120, "end": 5373017732, "name": "LevelInfoLayer::scene", "pseudocode": "// \n// LevelInfoLayer::scene from 0x14041bc20 to 0x14041be84 (612 bytes)\n// \n// 4 xrefs:\n// > GameLevelManager::gotoLevelPage @ 0x140221504\n// > GameLevelManager::gotoLevelPage @ 0x140221536\n// > GameManager::returnToLastScene @ 0x140287402\n// > <???> @ 0x140926708\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:06 +0000\n// \n\n// Hidden C++ exception states: #wind=2\n__int64 __fastcall LevelInfoLayer::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(0x2F0u);\n  cocos2d::CCLayer::CCLayer((cocos2d::CCLayer *)v7);\n  *(_QWORD *)v7 = &LevelInfoLayer::`vftable';\n  *((_QWORD *)v7 + 40) = &LevelInfoLayer::`vftable';\n  *((_QWORD *)v7 + 41) = &LevelInfoLayer::`vftable';\n  *((_QWORD *)v7 + 42) = &LevelInfoLayer::`vftable';\n  *((_QWORD *)v7 + 43) = &LevelInfoLayer::`vftable';\n  *((_QWORD *)v7 + 44) = &LevelInfoLayer::`vftable';\n  *((_QWORD *)v7 + 51) = &LevelInfoLayer::`vftable';\n  *((_QWORD *)v7 + 52) = &LevelInfoLayer::`vftable';\n  *((_QWORD *)v7 + 53) = &LevelInfoLayer::`vftable';\n  *((_QWORD *)v7 + 54) = &LevelInfoLayer::`vftable';\n  *((_QWORD *)v7 + 55) = &LevelInfoLayer::`vftable';\n  *((_QWORD *)v7 + 56) = &LevelInfoLayer::`vftable';\n  *((_QWORD *)v7 + 57) = &LevelInfoLayer::`vftable';\n  *((_QWORD *)v7 + 58) = &LevelInfoLayer::`vftable';\n  *((_QWORD *)v7 + 59) = &LevelInfoLayer::`vftable';\n  *((_QWORD *)v7 + 60) = &LevelInfoLayer::`vftable';\n  v7[488] = 0;\n  *((_QWORD *)v7 + 62) = 0;\n  *((_QWORD *)v7 + 63) = 0;\n  *((_QWORD *)v7 + 64) = 0;\n  *((_QWORD *)v7 + 65) = 0;\n  *((_QWORD *)v7 + 66) = 0;\n  *((_QWORD *)v7 + 67) = 0;\n  *((_QWORD *)v7 + 68) = 0;\n  *((_QWORD *)v7 + 69) = 0;\n  *((_QWORD *)v7 + 70) = 0;\n  *((_QWORD *)v7 + 71) = 0;\n  *((_QWORD *)v7 + 72) = 0;\n  *((_QWORD *)v7 + 73) = 0;\n  *((_QWORD *)v7 + 75) = 0;\n  *((_QWORD *)v7 + 76) = 0;\n  *((_QWORD *)v7 + 77) = 0;\n  *((_QWORD *)v7 + 78) = 0;\n  *((_QWORD *)v7 + 79) = 0;\n  *((_DWORD *)v7 + 160) = 0;\n  *((_WORD *)v7 + 322) = 0;\n  *((_QWORD *)v7 + 81) = 0;\n  *((_QWORD *)v7 + 82) = 0;\n  *((_QWORD *)v7 + 83) = 0;\n  *((_QWORD *)v7 + 84) = 0;\n  *((_QWORD *)v7 + 85) = 0;\n  *((_DWORD *)v7 + 172) = 0;\n  cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v7 + 692));\n  v7[704] = 0;\n  *((_QWORD *)v7 + 89) = 0;\n  *((_QWORD *)v7 + 90) = 0;\n  *((_QWORD *)v7 + 91) = 0;\n  *((_QWORD *)v7 + 92) = 0;\n  v7[744] = 0;\n  if ( (unsigned __int8)LevelInfoLayer::init(v7, a1, 0) )\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; LevelInfoLayer::scene from 0x14041bc20 to 0x14041be84 (612 bytes)\n; \n; 4 xrefs:\n; > GameLevelManager::gotoLevelPage @ 0x140221504\n; > GameLevelManager::gotoLevelPage @ 0x140221536\n; > GameManager::returnToLastScene @ 0x140287402\n; > <???> @ 0x140926708\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:06 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x14041bc20\nmov     [rsp+arg_8], rbp                                               ; +0x5, 0x14041bc25\nmov     [rsp+arg_18], rsi                                              ; +0xa, 0x14041bc2a\npush    rdi                                                            ; +0xf, 0x14041bc2f\nsub     rsp, 20h                                                       ; +0x10, 0x14041bc30\nmov     rbx, rcx                                                       ; +0x14, 0x14041bc34\ncall    cs:?create@CCScene@cocos2d@@SAPEAV12@XZ; cocos2d::CCScene::create(void) ; +0x17, 0x14041bc37\nmov     rsi, rax                                                       ; +0x1d, 0x14041bc3d\ncall    cs:?sharedApplication@CCApplication@cocos2d@@SAPEAV12@XZ; cocos2d::CCApplication::sharedApplication(void) ; +0x20, 0x14041bc40\nmov     [rax+0E8h], rsi                                                ; +0x26, 0x14041bc46\nmov     ecx, 2F0h; Size                                                ; +0x2d, 0x14041bc4d\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x32, 0x14041bc52\nmov     rdi, rax                                                       ; +0x37, 0x14041bc57\nmov     [rsp+28h+arg_10], rax                                          ; +0x3a, 0x14041bc5a\nmov     rcx, rax                                                       ; +0x3f, 0x14041bc5f\ncall    cs:??0CCLayer@cocos2d@@QEAA@XZ; cocos2d::CCLayer::CCLayer(void) ; +0x42, 0x14041bc62\nnop                                                                    ; +0x48, 0x14041bc68\nlea     rax, ??_7LevelInfoLayer@@6B@; const LevelInfoLayer::`vftable'  ; +0x49, 0x14041bc69\nmov     [rdi], rax                                                     ; +0x50, 0x14041bc70\nlea     rax, ??_7LevelInfoLayer@@6B@_0; const LevelInfoLayer::`vftable' ; +0x53, 0x14041bc73\nmov     [rdi+140h], rax                                                ; +0x5a, 0x14041bc7a\nlea     rax, ??_7LevelInfoLayer@@6B@_1; const LevelInfoLayer::`vftable' ; +0x61, 0x14041bc81\nmov     [rdi+148h], rax                                                ; +0x68, 0x14041bc88\nlea     rax, ??_7LevelInfoLayer@@6B@_2; const LevelInfoLayer::`vftable' ; +0x6f, 0x14041bc8f\nmov     [rdi+150h], rax                                                ; +0x76, 0x14041bc96\nlea     rax, ??_7LevelInfoLayer@@6B@_3; const LevelInfoLayer::`vftable' ; +0x7d, 0x14041bc9d\nmov     [rdi+158h], rax                                                ; +0x84, 0x14041bca4\nlea     rax, ??_7LevelInfoLayer@@6B@_4; const LevelInfoLayer::`vftable' ; +0x8b, 0x14041bcab\nmov     [rdi+160h], rax                                                ; +0x92, 0x14041bcb2\nlea     rax, ??_7LevelInfoLayer@@6B@_5; const LevelInfoLayer::`vftable' ; +0x99, 0x14041bcb9\nmov     [rdi+198h], rax                                                ; +0xa0, 0x14041bcc0\nlea     rax, ??_7LevelInfoLayer@@6B@_6; const LevelInfoLayer::`vftable' ; +0xa7, 0x14041bcc7\nmov     [rdi+1A0h], rax                                                ; +0xae, 0x14041bcce\nlea     rax, ??_7LevelInfoLayer@@6B@_7; const LevelInfoLayer::`vftable' ; +0xb5, 0x14041bcd5\nmov     [rdi+1A8h], rax                                                ; +0xbc, 0x14041bcdc\nlea     rax, ??_7LevelInfoLayer@@6B@_8; const LevelInfoLayer::`vftable' ; +0xc3, 0x14041bce3\nmov     [rdi+1B0h], rax                                                ; +0xca, 0x14041bcea\nlea     rax, ??_7LevelInfoLayer@@6B@_9; const LevelInfoLayer::`vftable' ; +0xd1, 0x14041bcf1\nmov     [rdi+1B8h], rax                                                ; +0xd8, 0x14041bcf8\nlea     rax, ??_7LevelInfoLayer@@6B@_10; const LevelInfoLayer::`vftable' ; +0xdf, 0x14041bcff\nmov     [rdi+1C0h], rax                                                ; +0xe6, 0x14041bd06\nlea     rax, ??_7LevelInfoLayer@@6B@_11; const LevelInfoLayer::`vftable' ; +0xed, 0x14041bd0d\nmov     [rdi+1C8h], rax                                                ; +0xf4, 0x14041bd14\nlea     rax, ??_7LevelInfoLayer@@6B@_12; const LevelInfoLayer::`vftable' ; +0xfb, 0x14041bd1b\nmov     [rdi+1D0h], rax                                                ; +0x102, 0x14041bd22\nlea     rax, ??_7LevelInfoLayer@@6B@_13; const LevelInfoLayer::`vftable' ; +0x109, 0x14041bd29\nmov     [rdi+1D8h], rax                                                ; +0x110, 0x14041bd30\nlea     rax, ??_7LevelInfoLayer@@6B@_14; const LevelInfoLayer::`vftable' ; +0x117, 0x14041bd37\nmov     [rdi+1E0h], rax                                                ; +0x11e, 0x14041bd3e\nmov     byte ptr [rdi+1E8h], 0                                         ; +0x125, 0x14041bd45\nxor     ebp, ebp                                                       ; +0x12c, 0x14041bd4c\nmov     [rdi+1F0h], rbp                                                ; +0x12e, 0x14041bd4e\nmov     [rdi+1F8h], rbp                                                ; +0x135, 0x14041bd55\nmov     [rdi+200h], rbp                                                ; +0x13c, 0x14041bd5c\nmov     [rdi+208h], rbp                                                ; +0x143, 0x14041bd63\nmov     [rdi+210h], rbp                                                ; +0x14a, 0x14041bd6a\nmov     [rdi+218h], rbp                                                ; +0x151, 0x14041bd71\nmov     [rdi+220h], rbp                                                ; +0x158, 0x14041bd78\nmov     [rdi+228h], rbp                                                ; +0x15f, 0x14041bd7f\nmov     [rdi+230h], rbp                                                ; +0x166, 0x14041bd86\nmov     [rdi+238h], rbp                                                ; +0x16d, 0x14041bd8d\nmov     [rdi+240h], rbp                                                ; +0x174, 0x14041bd94\nmov     [rdi+248h], rbp                                                ; +0x17b, 0x14041bd9b\nmov     [rdi+258h], rbp                                                ; +0x182, 0x14041bda2\nmov     [rdi+260h], rbp                                                ; +0x189, 0x14041bda9\nmov     [rdi+268h], rbp                                                ; +0x190, 0x14041bdb0\nmov     [rdi+270h], rbp                                                ; +0x197, 0x14041bdb7\nmov     [rdi+278h], rbp                                                ; +0x19e, 0x14041bdbe\nmov     [rdi+280h], ebp                                                ; +0x1a5, 0x14041bdc5\nmov     [rdi+284h], bp                                                 ; +0x1ab, 0x14041bdcb\nmov     [rdi+288h], rbp                                                ; +0x1b2, 0x14041bdd2\nmov     [rdi+290h], rbp                                                ; +0x1b9, 0x14041bdd9\nmov     [rdi+298h], rbp                                                ; +0x1c0, 0x14041bde0\nmov     [rdi+2A0h], rbp                                                ; +0x1c7, 0x14041bde7\nmov     [rdi+2A8h], rbp                                                ; +0x1ce, 0x14041bdee\nmov     [rdi+2B0h], ebp                                                ; +0x1d5, 0x14041bdf5\nlea     rcx, [rdi+2B4h]                                                ; +0x1db, 0x14041bdfb\ncall    cs:??0CCPoint@cocos2d@@QEAA@XZ; cocos2d::CCPoint::CCPoint(void) ; +0x1e2, 0x14041be02\nmov     [rdi+2C0h], bpl                                                ; +0x1e8, 0x14041be08\nmov     [rdi+2C8h], rbp                                                ; +0x1ef, 0x14041be0f\nmov     [rdi+2D0h], rbp                                                ; +0x1f6, 0x14041be16\nmov     [rdi+2D8h], rbp                                                ; +0x1fd, 0x14041be1d\nmov     [rdi+2E0h], rbp                                                ; +0x204, 0x14041be24\nmov     [rdi+2E8h], bpl                                                ; +0x20b, 0x14041be2b\nxor     r8d, r8d                                                       ; +0x212, 0x14041be32\nmov     rdx, rbx                                                       ; +0x215, 0x14041be35\nmov     rcx, rdi                                                       ; +0x218, 0x14041be38\ncall    LevelInfoLayer__init                                           ; +0x21b, 0x14041be3b\nmov     rcx, rdi                                                       ; +0x220, 0x14041be40\ntest    al, al                                                         ; +0x223, 0x14041be43\njz      short loc_14041BE4F                                            ; +0x225, 0x14041be45\ncall    cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x227, 0x14041be47\njmp     short loc_14041BE5D                                            ; +0x22d, 0x14041be4d\nmov     rax, [rdi]                                                     ; +0x22f, 0x14041be4f\nmov     edx, 1                                                         ; +0x232, 0x14041be52\ncall    qword ptr [rax+8]                                              ; +0x237, 0x14041be57\nmov     rdi, rbp                                                       ; +0x23a, 0x14041be5a\nmov     rax, [rsi]                                                     ; +0x23d, 0x14041be5d\nmov     rdx, rdi                                                       ; +0x240, 0x14041be60\nmov     rcx, rsi                                                       ; +0x243, 0x14041be63\ncall    qword ptr [rax+1D0h]                                           ; +0x246, 0x14041be66\nmov     rax, rsi                                                       ; +0x24c, 0x14041be6c\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x24f, 0x14041be6f\nmov     rbp, [rsp+28h+arg_8]                                           ; +0x254, 0x14041be74\nmov     rsi, [rsp+28h+arg_18]                                          ; +0x259, 0x14041be79\nadd     rsp, 20h                                                       ; +0x25e, 0x14041be7e\npop     rdi                                                            ; +0x262, 0x14041be82\nretn                                                                   ; +0x263, 0x14041be83", "xrefs": ["GameLevelManager::gotoLevelPage @ 0x140221504", "GameLevelManager::gotoLevelPage @ 0x140221536", "GameManager::returnToLastScene @ 0x140287402", "<???> @ 0x140926708"], "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"}