{"type": "func", "start": 5373117184, "end": 5373117519, "name": "LevelSearchLayer::scene", "pseudocode": "// \n// LevelSearchLayer::scene from 0x140434300 to 0x14043444f (335 bytes)\n// \n// 3 xrefs:\n// > CreatorLayer::onOnlineLevels @ 0x14013794a\n// > LevelSearchLayer::onSearchMode @ 0x140436ae3\n// > <???> @ 0x140926db0\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:16 +0000\n// \n\n// Hidden C++ exception states: #wind=1\n__int64 __fastcall LevelSearchLayer::scene(__int64 a1, __int64 a2, __int64 a3, __int64 a4)\n{\n  unsigned int v4; // ebx\n  __int64 v5; // rsi\n  __int64 v6; // rcx\n  cocos2d::CCLayer *v7; // rdi\n\n  v4 = a1;\n  v5 = cocos2d::CCScene::create(a1, a2, a3, a4);\n  *(_QWORD *)(cocos2d::CCApplication::sharedApplication(v6) + 232) = v5;\n  v7 = (cocos2d::CCLayer *)operator new(0x1F8u);\n  cocos2d::CCLayer::CCLayer(v7);\n  *(_QWORD *)v7 = &LevelSearchLayer::`vftable';\n  *((_QWORD *)v7 + 40) = &LevelSearchLayer::`vftable';\n  *((_QWORD *)v7 + 41) = &LevelSearchLayer::`vftable';\n  *((_QWORD *)v7 + 42) = &LevelSearchLayer::`vftable';\n  *((_QWORD *)v7 + 43) = &LevelSearchLayer::`vftable';\n  *((_QWORD *)v7 + 44) = &LevelSearchLayer::`vftable';\n  *((_QWORD *)v7 + 51) = &LevelSearchLayer::`vftable';\n  *((_QWORD *)v7 + 52) = &LevelSearchLayer::`vftable';\n  *((_QWORD *)v7 + 53) = &LevelSearchLayer::`vftable';\n  *((_DWORD *)v7 + 108) = 0;\n  *((_QWORD *)v7 + 55) = 0;\n  *((_QWORD *)v7 + 56) = 0;\n  *((_QWORD *)v7 + 57) = 0;\n  *((_QWORD *)v7 + 58) = 0;\n  *((_QWORD *)v7 + 59) = 0;\n  *((_QWORD *)v7 + 60) = 0;\n  *((_QWORD *)v7 + 61) = 0;\n  *((_QWORD *)v7 + 62) = 0;\n  if ( (unsigned __int8)LevelSearchLayer::init(v7, v4) )\n  {\n    cocos2d::CCObject::autorelease(v7);\n  }\n  else\n  {\n    (*(void (__fastcall **)(cocos2d::CCLayer *, __int64))(*(_QWORD *)v7 + 8LL))(v7, 1);\n    v7 = nullptr;\n  }\n  (*(void (__fastcall **)(__int64, cocos2d::CCLayer *))(*(_QWORD *)v5 + 464LL))(v5, v7);\n  return v5;\n}", "assembly": "; \n; LevelSearchLayer::scene from 0x140434300 to 0x14043444f (335 bytes)\n; \n; 3 xrefs:\n; > CreatorLayer::onOnlineLevels @ 0x14013794a\n; > LevelSearchLayer::onSearchMode @ 0x140436ae3\n; > <???> @ 0x140926db0\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:16 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x140434300\nmov     [rsp+arg_10], rbp                                              ; +0x5, 0x140434305\nmov     [rsp+arg_18], rsi                                              ; +0xa, 0x14043430a\npush    rdi                                                            ; +0xf, 0x14043430f\nsub     rsp, 20h                                                       ; +0x10, 0x140434310\nmov     ebx, ecx                                                       ; +0x14, 0x140434314\ncall    cs:?create@CCScene@cocos2d@@SAPEAV12@XZ; cocos2d::CCScene::create(void) ; +0x16, 0x140434316\nmov     rsi, rax                                                       ; +0x1c, 0x14043431c\ncall    cs:?sharedApplication@CCApplication@cocos2d@@SAPEAV12@XZ; cocos2d::CCApplication::sharedApplication(void) ; +0x1f, 0x14043431f\nmov     [rax+0E8h], rsi                                                ; +0x25, 0x140434325\nmov     ecx, 1F8h; Size                                                ; +0x2c, 0x14043432c\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x31, 0x140434331\nmov     rdi, rax                                                       ; +0x36, 0x140434336\nmov     [rsp+28h+arg_8], rax                                           ; +0x39, 0x140434339\nmov     rcx, rax                                                       ; +0x3e, 0x14043433e\ncall    cs:??0CCLayer@cocos2d@@QEAA@XZ; cocos2d::CCLayer::CCLayer(void) ; +0x41, 0x140434341\nlea     rax, ??_7LevelSearchLayer@@6B@; const LevelSearchLayer::`vftable' ; +0x47, 0x140434347\nmov     [rdi], rax                                                     ; +0x4e, 0x14043434e\nlea     rax, ??_7LevelSearchLayer@@6B@_0; const LevelSearchLayer::`vftable' ; +0x51, 0x140434351\nmov     [rdi+140h], rax                                                ; +0x58, 0x140434358\nlea     rax, ??_7LevelSearchLayer@@6B@_1; const LevelSearchLayer::`vftable' ; +0x5f, 0x14043435f\nmov     [rdi+148h], rax                                                ; +0x66, 0x140434366\nlea     rax, ??_7LevelSearchLayer@@6B@_2; const LevelSearchLayer::`vftable' ; +0x6d, 0x14043436d\nmov     [rdi+150h], rax                                                ; +0x74, 0x140434374\nlea     rax, ??_7LevelSearchLayer@@6B@_3; const LevelSearchLayer::`vftable' ; +0x7b, 0x14043437b\nmov     [rdi+158h], rax                                                ; +0x82, 0x140434382\nlea     rax, ??_7LevelSearchLayer@@6B@_4; const LevelSearchLayer::`vftable' ; +0x89, 0x140434389\nmov     [rdi+160h], rax                                                ; +0x90, 0x140434390\nlea     rax, ??_7LevelSearchLayer@@6B@_5; const LevelSearchLayer::`vftable' ; +0x97, 0x140434397\nmov     [rdi+198h], rax                                                ; +0x9e, 0x14043439e\nlea     rax, ??_7LevelSearchLayer@@6B@_6; const LevelSearchLayer::`vftable' ; +0xa5, 0x1404343a5\nmov     [rdi+1A0h], rax                                                ; +0xac, 0x1404343ac\nlea     rax, ??_7LevelSearchLayer@@6B@_7; const LevelSearchLayer::`vftable' ; +0xb3, 0x1404343b3\nmov     [rdi+1A8h], rax                                                ; +0xba, 0x1404343ba\nxor     ebp, ebp                                                       ; +0xc1, 0x1404343c1\nmov     [rdi+1B0h], ebp                                                ; +0xc3, 0x1404343c3\nmov     [rdi+1B8h], rbp                                                ; +0xc9, 0x1404343c9\nmov     [rdi+1C0h], rbp                                                ; +0xd0, 0x1404343d0\nmov     [rdi+1C8h], rbp                                                ; +0xd7, 0x1404343d7\nmov     [rdi+1D0h], rbp                                                ; +0xde, 0x1404343de\nmov     [rdi+1D8h], rbp                                                ; +0xe5, 0x1404343e5\nmov     [rdi+1E0h], rbp                                                ; +0xec, 0x1404343ec\nmov     [rdi+1E8h], rbp                                                ; +0xf3, 0x1404343f3\nmov     [rdi+1F0h], rbp                                                ; +0xfa, 0x1404343fa\nmov     edx, ebx                                                       ; +0x101, 0x140434401\nmov     rcx, rdi                                                       ; +0x103, 0x140434403\ncall    LevelSearchLayer__init                                         ; +0x106, 0x140434406\nmov     rcx, rdi                                                       ; +0x10b, 0x14043440b\ntest    al, al                                                         ; +0x10e, 0x14043440e\njz      short loc_14043441A                                            ; +0x110, 0x140434410\ncall    cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x112, 0x140434412\njmp     short loc_140434428                                            ; +0x118, 0x140434418\nmov     rax, [rdi]                                                     ; +0x11a, 0x14043441a\nmov     edx, 1                                                         ; +0x11d, 0x14043441d\ncall    qword ptr [rax+8]                                              ; +0x122, 0x140434422\nmov     rdi, rbp                                                       ; +0x125, 0x140434425\nmov     rax, [rsi]                                                     ; +0x128, 0x140434428\nmov     rdx, rdi                                                       ; +0x12b, 0x14043442b\nmov     rcx, rsi                                                       ; +0x12e, 0x14043442e\ncall    qword ptr [rax+1D0h]                                           ; +0x131, 0x140434431\nmov     rax, rsi                                                       ; +0x137, 0x140434437\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x13a, 0x14043443a\nmov     rbp, [rsp+28h+arg_10]                                          ; +0x13f, 0x14043443f\nmov     rsi, [rsp+28h+arg_18]                                          ; +0x144, 0x140434444\nadd     rsp, 20h                                                       ; +0x149, 0x140434449\npop     rdi                                                            ; +0x14d, 0x14043444d\nretn                                                                   ; +0x14e, 0x14043444e", "xrefs": ["CreatorLayer::onOnlineLevels @ 0x14013794a", "LevelSearchLayer::onSearchMode @ 0x140436ae3", "<???> @ 0x140926db0"], "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"}