{"type": "func", "start": 5373127456, "end": 5373127792, "name": "LevelSearchLayer::onMoreOptions", "pseudocode": "// \n// LevelSearchLayer::onMoreOptions from 0x140436b20 to 0x140436c70 (336 bytes)\n// \n// 2 xrefs:\n// > LevelSearchLayer::init @ 0x14043488a\n// > <???> @ 0x140926dec\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:18 +0000\n// \n\n// Hidden C++ exception states: #wind=1\n__int64 LevelSearchLayer::onMoreOptions()\n{\n  cocos2d::CCObject *v0; // rbx\n  __int64 (__fastcall *v1)(__int64); // rdx\n\n  v0 = (cocos2d::CCObject *)operator new(0x2E0u);\n  FLAlertLayer::FLAlertLayer((__int64)v0);\n  *(_QWORD *)v0 = &MoreSearchLayer::`vftable';\n  *((_QWORD *)v0 + 40) = &MoreSearchLayer::`vftable';\n  *((_QWORD *)v0 + 41) = &MoreSearchLayer::`vftable';\n  *((_QWORD *)v0 + 42) = &MoreSearchLayer::`vftable';\n  *((_QWORD *)v0 + 43) = &MoreSearchLayer::`vftable';\n  *((_QWORD *)v0 + 44) = &MoreSearchLayer::`vftable';\n  *((_QWORD *)v0 + 51) = &MoreSearchLayer::`vftable';\n  *((_QWORD *)v0 + 54) = &MoreSearchLayer::`vftable';\n  *((_QWORD *)v0 + 68) = &MoreSearchLayer::`vftable';\n  *((_QWORD *)v0 + 83) = 0;\n  *((_QWORD *)v0 + 84) = 0;\n  *((_QWORD *)v0 + 85) = 0;\n  *((_QWORD *)v0 + 86) = 0;\n  *((_QWORD *)v0 + 87) = 0;\n  *((_QWORD *)v0 + 88) = 0;\n  *((_QWORD *)v0 + 89) = 0;\n  *((_QWORD *)v0 + 90) = 0;\n  *((_QWORD *)v0 + 91) = 0;\n  if ( (unsigned __int8)MoreSearchLayer::init(v0) )\n  {\n    cocos2d::CCObject::autorelease(v0);\n  }\n  else\n  {\n    (*(void (__fastcall **)(cocos2d::CCObject *, __int64))(*(_QWORD *)v0 + 8LL))(v0, 1);\n    v0 = nullptr;\n  }\n  v1 = *(__int64 (__fastcall **)(__int64))(*(_QWORD *)v0 + 1064LL);\n  if ( v1 == FLAlertLayer::show )\n    return FLAlertLayer::show((__int64)v0);\n  else\n    return v1((__int64)v0);\n}", "assembly": "; \n; LevelSearchLayer::onMoreOptions from 0x140436b20 to 0x140436c70 (336 bytes)\n; \n; 2 xrefs:\n; > LevelSearchLayer::init @ 0x14043488a\n; > <???> @ 0x140926dec\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:18 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x140436b20\npush    rdi                                                            ; +0x5, 0x140436b25\nsub     rsp, 20h                                                       ; +0x6, 0x140436b26\nmov     ecx, 2E0h; Size                                                ; +0xa, 0x140436b2a\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0xf, 0x140436b2f\nmov     rbx, rax                                                       ; +0x14, 0x140436b34\nmov     [rsp+28h+arg_10], rax                                          ; +0x17, 0x140436b37\nmov     rcx, rax                                                       ; +0x1c, 0x140436b3c\ncall    FLAlertLayer__FLAlertLayer                                     ; +0x1f, 0x140436b3f\nlea     rax, ??_7MoreSearchLayer@@6B@; const MoreSearchLayer::`vftable' ; +0x24, 0x140436b44\nmov     [rbx], rax                                                     ; +0x2b, 0x140436b4b\nlea     rax, ??_7MoreSearchLayer@@6B@_0; const MoreSearchLayer::`vftable' ; +0x2e, 0x140436b4e\nmov     [rbx+140h], rax                                                ; +0x35, 0x140436b55\nlea     rax, ??_7MoreSearchLayer@@6B@_1; const MoreSearchLayer::`vftable' ; +0x3c, 0x140436b5c\nmov     [rbx+148h], rax                                                ; +0x43, 0x140436b63\nlea     rax, ??_7MoreSearchLayer@@6B@_2; const MoreSearchLayer::`vftable' ; +0x4a, 0x140436b6a\nmov     [rbx+150h], rax                                                ; +0x51, 0x140436b71\nlea     rax, ??_7MoreSearchLayer@@6B@_3; const MoreSearchLayer::`vftable' ; +0x58, 0x140436b78\nmov     [rbx+158h], rax                                                ; +0x5f, 0x140436b7f\nlea     rax, ??_7MoreSearchLayer@@6B@_4; const MoreSearchLayer::`vftable' ; +0x66, 0x140436b86\nmov     [rbx+160h], rax                                                ; +0x6d, 0x140436b8d\nlea     rax, ??_7MoreSearchLayer@@6B@_5; const MoreSearchLayer::`vftable' ; +0x74, 0x140436b94\nmov     [rbx+198h], rax                                                ; +0x7b, 0x140436b9b\nlea     rax, ??_7MoreSearchLayer@@6B@_6; const MoreSearchLayer::`vftable' ; +0x82, 0x140436ba2\nmov     [rbx+1B0h], rax                                                ; +0x89, 0x140436ba9\nlea     rax, ??_7MoreSearchLayer@@6B@_7; const MoreSearchLayer::`vftable' ; +0x90, 0x140436bb0\nmov     [rbx+220h], rax                                                ; +0x97, 0x140436bb7\nxor     edi, edi                                                       ; +0x9e, 0x140436bbe\nmov     [rbx+298h], rdi                                                ; +0xa0, 0x140436bc0\nmov     [rbx+2A0h], rdi                                                ; +0xa7, 0x140436bc7\nmov     [rbx+2A8h], rdi                                                ; +0xae, 0x140436bce\nmov     [rbx+2B0h], rdi                                                ; +0xb5, 0x140436bd5\nmov     [rbx+2B8h], rdi                                                ; +0xbc, 0x140436bdc\nmov     [rbx+2C0h], rdi                                                ; +0xc3, 0x140436be3\nmov     [rbx+2C8h], rdi                                                ; +0xca, 0x140436bea\nmov     [rbx+2D0h], rdi                                                ; +0xd1, 0x140436bf1\nmov     [rbx+2D8h], rdi                                                ; +0xd8, 0x140436bf8\nmov     rax, cs:off_1407904A0                                          ; +0xdf, 0x140436bff\nlea     rcx, MoreSearchLayer__init                                     ; +0xe6, 0x140436c06\ncmp     rax, rcx                                                       ; +0xed, 0x140436c0d\nmov     rcx, rbx                                                       ; +0xf0, 0x140436c10\njnz     short loc_140436C1C                                            ; +0xf3, 0x140436c13\ncall    MoreSearchLayer__init                                          ; +0xf5, 0x140436c15\njmp     short loc_140436C1E                                            ; +0xfa, 0x140436c1a\ncall    rax ; MoreSearchLayer__init                                    ; +0xfc, 0x140436c1c\nmov     rcx, rbx                                                       ; +0xfe, 0x140436c1e\ntest    al, al                                                         ; +0x101, 0x140436c21\njz      short loc_140436C2D                                            ; +0x103, 0x140436c23\ncall    cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x105, 0x140436c25\njmp     short loc_140436C3B                                            ; +0x10b, 0x140436c2b\nmov     rax, [rbx]                                                     ; +0x10d, 0x140436c2d\nmov     edx, 1                                                         ; +0x110, 0x140436c30\ncall    qword ptr [rax+8]                                              ; +0x115, 0x140436c35\nmov     rbx, rdi                                                       ; +0x118, 0x140436c38\nmov     rax, [rbx]                                                     ; +0x11b, 0x140436c3b\nmov     rdx, [rax+428h]                                                ; +0x11e, 0x140436c3e\nlea     rax, FLAlertLayer__show                                        ; +0x125, 0x140436c45\nmov     rcx, rbx                                                       ; +0x12c, 0x140436c4c\ncmp     rdx, rax                                                       ; +0x12f, 0x140436c4f\njnz     short loc_140436C63                                            ; +0x132, 0x140436c52\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x134, 0x140436c54\nadd     rsp, 20h                                                       ; +0x139, 0x140436c59\npop     rdi                                                            ; +0x13d, 0x140436c5d\njmp     FLAlertLayer__show                                             ; +0x13e, 0x140436c5e\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x143, 0x140436c63\nadd     rsp, 20h                                                       ; +0x148, 0x140436c68\npop     rdi                                                            ; +0x14c, 0x140436c6c\njmp     rdx                                                            ; +0x14d, 0x140436c6d", "xrefs": ["LevelSearchLayer::init @ 0x14043488a", "<???> @ 0x140926dec"], "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"}