{"type": "func", "start": 5371652992, "end": 5371653138, "name": "LevelBrowserLayer::onClearSearch", "pseudocode": "// \n// LevelBrowserLayer::onClearSearch from 0x1402ceb80 to 0x1402cec12 (146 bytes)\n// \n// 2 xrefs:\n// > LevelBrowserLayer::init @ 0x1402c9f43\n// > <???> @ 0x1406d2dec\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\n// Hidden C++ exception states: #wind=1\nvoid LevelBrowserLayer::onClearSearch(LevelBrowserLayer *a1, cocos2d::CCObject *a2)\n{\n  GJSearchObject *m_searchObject; // rax\n  __int128 Src; // [rsp+20h] [rbp-28h] BYREF\n  __int64 v5; // [rsp+30h] [rbp-18h]\n  __int64 v6; // [rsp+38h] [rbp-10h]\n\n  m_searchObject = a1->m_searchObject;\n  if ( m_searchObject )\n  {\n    Src = 0;\n    v5 = 0;\n    v6 = 15;\n    LOBYTE(Src) = 0;\n    if ( &m_searchObject->m_searchQuery != (std::string *)&Src )\n      sub_14003CCE0((void **)&m_searchObject->m_searchQuery, &Src, 0);\n    sub_14003A830((__int64)&Src);\n    a1->m_searchObject->m_page = 0;\n    LevelBrowserLayer::loadPage(a1, a1->m_searchObject);\n  }\n}", "assembly": "; \n; LevelBrowserLayer::onClearSearch from 0x1402ceb80 to 0x1402cec12 (146 bytes)\n; \n; 2 xrefs:\n; > LevelBrowserLayer::init @ 0x1402c9f43\n; > <???> @ 0x1406d2dec\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\npush    rbx                                                            ; +0x0, 0x1402ceb80\nsub     rsp, 40h                                                       ; +0x2, 0x1402ceb82\nmov     rbx, rcx                                                       ; +0x6, 0x1402ceb86\nmov     rax, [rcx+298h]                                                ; +0x9, 0x1402ceb89\ntest    rax, rax                                                       ; +0x10, 0x1402ceb90\njz      short loc_1402CEC0C                                            ; +0x13, 0x1402ceb93\nxorps   xmm0, xmm0                                                     ; +0x15, 0x1402ceb95\nmovups  [rsp+48h+Src], xmm0                                            ; +0x18, 0x1402ceb98\nmov     [rsp+48h+var_18], 0                                            ; +0x1d, 0x1402ceb9d\nmov     [rsp+48h+var_10], 0Fh                                          ; +0x26, 0x1402ceba6\nmov     byte ptr [rsp+48h+Src], 0                                      ; +0x2f, 0x1402cebaf\nlea     rcx, [rsp+48h+Src]                                             ; +0x34, 0x1402cebb4\nmov     [rsp+48h+arg_0], rcx                                           ; +0x39, 0x1402cebb9\nlea     rcx, [rax+148h]; void *                                        ; +0x3e, 0x1402cebbe\nlea     rax, [rsp+48h+Src]                                             ; +0x45, 0x1402cebc5\ncmp     rcx, rax                                                       ; +0x4a, 0x1402cebca\njz      short loc_1402CEBDD                                            ; +0x4d, 0x1402cebcd\nlea     rdx, [rsp+48h+Src]; Src                                        ; +0x4f, 0x1402cebcf\nxor     r8d, r8d; Size                                                 ; +0x54, 0x1402cebd4\ncall    sub_14003CCE0                                                  ; +0x57, 0x1402cebd7\nnop                                                                    ; +0x5c, 0x1402cebdc\nlea     rcx, [rsp+48h+Src]                                             ; +0x5d, 0x1402cebdd\ncall    sub_14003A830                                                  ; +0x62, 0x1402cebe2\nmov     rax, [rbx+298h]                                                ; +0x67, 0x1402cebe7\nmov     dword ptr [rax+1A8h], 0                                        ; +0x6e, 0x1402cebee\nmov     rdx, [rbx+298h]                                                ; +0x78, 0x1402cebf8\nmov     rcx, rbx                                                       ; +0x7f, 0x1402cebff\nadd     rsp, 40h                                                       ; +0x82, 0x1402cec02\npop     rbx                                                            ; +0x86, 0x1402cec06\njmp     LevelBrowserLayer__loadPage                                    ; +0x87, 0x1402cec07\nadd     rsp, 40h                                                       ; +0x8c, 0x1402cec0c\npop     rbx                                                            ; +0x90, 0x1402cec10\nretn                                                                   ; +0x91, 0x1402cec11", "xrefs": ["LevelBrowserLayer::init @ 0x1402c9f43", "<???> @ 0x1406d2dec"], "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"}