{"type": "func", "start": 5371924784, "end": 5371924962, "name": "LevelSearchLayer::onSuggested", "pseudocode": "// \n// LevelSearchLayer::onSuggested from 0x140311130 to 0x1403111e2 (178 bytes)\n// \n// 2 xrefs:\n// > LevelSearchLayer::init @ 0x14030cf41\n// > <???> @ 0x1406d47a8\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid LevelSearchLayer::onSuggested(LevelSearchLayer *a1, cocos2d::CCObject *a2)\n{\n  char *SearchObject; // rbx\n  __int64 v4; // rcx\n  struct cocos2d::CCScene *v5; // rdi\n  __int64 v6; // rdx\n  __int64 v7; // rcx\n  LevelBrowserLayer *v8; // rax\n  struct cocos2d::CCTransitionFade *v9; // rbx\n  __int64 v10; // rcx\n  cocos2d::CCDirector *v11; // rax\n  __int128 v12; // [rsp+20h] [rbp-28h] BYREF\n  __int64 v13; // [rsp+30h] [rbp-18h]\n  __int64 v14; // [rsp+38h] [rbp-10h]\n\n  a1->m_searchInput->onClickTrackNode(a1->m_searchInput, 0);\n  v13 = 0;\n  v12 = 0;\n  LOBYTE(v12) = 0;\n  v14 = 15;\n  SearchObject = LevelSearchLayer::getSearchObject(a1, 27, (__int64)&v12);\n  v5 = (struct cocos2d::CCScene *)cocos2d::CCScene::create(v4);\n  *(_QWORD *)(cocos2d::CCApplication::sharedApplication(v7, v6) + 224) = v5;\n  v8 = LevelBrowserLayer::create((GJSearchObject *)SearchObject);\n  v5->addChild_1(v5, v8);\n  v9 = cocos2d::CCTransitionFade::create(0.5, v5);\n  v11 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v10);\n  cocos2d::CCDirector::pushScene(v11, v9);\n}", "assembly": "; \n; LevelSearchLayer::onSuggested from 0x140311130 to 0x1403111e2 (178 bytes)\n; \n; 2 xrefs:\n; > LevelSearchLayer::init @ 0x14030cf41\n; > <???> @ 0x1406d47a8\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nmov     [rsp+arg_8], rbx                                               ; +0x0, 0x140311130\npush    rdi                                                            ; +0x5, 0x140311135\nsub     rsp, 40h                                                       ; +0x6, 0x140311136\nmov     rbx, rcx                                                       ; +0xa, 0x14031113a\nxor     edx, edx                                                       ; +0xd, 0x14031113d\nmov     rcx, [rcx+1B8h]                                                ; +0xf, 0x14031113f\nmov     rax, [rcx]                                                     ; +0x16, 0x140311146\ncall    qword ptr [rax+3F8h]                                           ; +0x19, 0x140311149\nxorps   xmm0, xmm0                                                     ; +0x1f, 0x14031114f\nmov     [rsp+48h+var_18], 0                                            ; +0x22, 0x140311152\nmovups  [rsp+48h+var_28], xmm0                                         ; +0x2b, 0x14031115b\nlea     r8, [rsp+48h+var_28]                                           ; +0x30, 0x140311160\nmov     byte ptr [rsp+48h+var_28], 0                                   ; +0x35, 0x140311165\nmov     edx, 1Bh                                                       ; +0x3a, 0x14031116a\nmov     [rsp+48h+var_10], 0Fh                                          ; +0x3f, 0x14031116f\nmov     rcx, rbx                                                       ; +0x48, 0x140311178\ncall    LevelSearchLayer__getSearchObject                              ; +0x4b, 0x14031117b\nmov     rbx, rax                                                       ; +0x50, 0x140311180\ncall    cs:?create@CCScene@cocos2d@@SAPEAV12@XZ; cocos2d::CCScene::create(void) ; +0x53, 0x140311183\nmov     rdi, rax                                                       ; +0x59, 0x140311189\ncall    cs:?sharedApplication@CCApplication@cocos2d@@SAPEAV12@XZ; cocos2d::CCApplication::sharedApplication(void) ; +0x5c, 0x14031118c\nmov     rcx, rbx                                                       ; +0x62, 0x140311192\nmov     [rax+0E0h], rdi                                                ; +0x65, 0x140311195\ncall    LevelBrowserLayer__create                                      ; +0x6c, 0x14031119c\nmov     r8, [rdi]                                                      ; +0x71, 0x1403111a1\nmov     rdx, rax                                                       ; +0x74, 0x1403111a4\nmov     rcx, rdi                                                       ; +0x77, 0x1403111a7\ncall    qword ptr [r8+1C0h]                                            ; +0x7a, 0x1403111aa\nmovss   xmm0, cs:dword_140622B08                                       ; +0x81, 0x1403111b1\nmov     rdx, rdi                                                       ; +0x89, 0x1403111b9\ncall    cs:?create@CCTransitionFade@cocos2d@@SAPEAV12@MPEAVCCScene@2@@Z; cocos2d::CCTransitionFade::create(float,cocos2d::CCScene *) ; +0x8c, 0x1403111bc\nmov     rbx, rax                                                       ; +0x92, 0x1403111c2\ncall    cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x95, 0x1403111c5\nmov     rcx, rax                                                       ; +0x9b, 0x1403111cb\nmov     rdx, rbx                                                       ; +0x9e, 0x1403111ce\ncall    cs:?pushScene@CCDirector@cocos2d@@QEAA_NPEAVCCScene@2@@Z; cocos2d::CCDirector::pushScene(cocos2d::CCScene *) ; +0xa1, 0x1403111d1\nmov     rbx, [rsp+48h+arg_8]                                           ; +0xa7, 0x1403111d7\nadd     rsp, 40h                                                       ; +0xac, 0x1403111dc\npop     rdi                                                            ; +0xb0, 0x1403111e0\nretn                                                                   ; +0xb1, 0x1403111e1", "xrefs": ["LevelSearchLayer::init @ 0x14030cf41", "<???> @ 0x1406d47a8"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}