{"type": "func", "start": 5373428992, "end": 5373429091, "name": "SFXBrowser::onClearSearch", "pseudocode": "// \n// SFXBrowser::onClearSearch from 0x140480500 to 0x140480563 (99 bytes)\n// \n// 2 xrefs:\n// > SFXBrowser::init @ 0x14047f35f\n// > <???> @ 0x1406db9f0\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 SFXBrowser::onClearSearch(SFXBrowser *a1, cocos2d::CCObject *a2)\n{\n  SFXSearchResult *m_searchResult; // rcx\n\n  m_searchResult = a1->m_searchResult;\n  if ( m_searchResult )\n  {\n    sub_14003CCE0((void **)&m_searchResult->m_searchQuery, byte_140518980, 0);\n    a1->m_searchResult->m_startIndex = 0;\n    a1->m_searchResult->updateObjects(a1->m_searchResult, a1->m_sortType);\n    SFXBrowser::setupList(a1, a1->m_searchResult);\n  }\n}", "assembly": "; \n; SFXBrowser::onClearSearch from 0x140480500 to 0x140480563 (99 bytes)\n; \n; 2 xrefs:\n; > SFXBrowser::init @ 0x14047f35f\n; > <???> @ 0x1406db9f0\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, 0x140480500\nsub     rsp, 20h                                                       ; +0x2, 0x140480502\nmov     rbx, rcx                                                       ; +0x6, 0x140480506\nmov     rcx, [rcx+298h]                                                ; +0x9, 0x140480509\ntest    rcx, rcx                                                       ; +0x10, 0x140480510\njz      short loc_14048055D                                            ; +0x13, 0x140480513\nadd     rcx, 60h ; '`'; void *                                         ; +0x15, 0x140480515\nlea     rdx, byte_140518980; Src                                       ; +0x19, 0x140480519\nxor     r8d, r8d; Size                                                 ; +0x20, 0x140480520\ncall    sub_14003CCE0                                                  ; +0x23, 0x140480523\nmov     rax, [rbx+298h]                                                ; +0x28, 0x140480528\nmov     dword ptr [rax+58h], 0                                         ; +0x2f, 0x14048052f\nmov     rcx, [rbx+298h]                                                ; +0x36, 0x140480536\nmov     edx, [rbx+318h]                                                ; +0x3d, 0x14048053d\nmov     rax, [rcx]                                                     ; +0x43, 0x140480543\ncall    qword ptr [rax+48h]                                            ; +0x46, 0x140480546\nmov     rdx, [rbx+298h]                                                ; +0x49, 0x140480549\nmov     rcx, rbx                                                       ; +0x50, 0x140480550\nadd     rsp, 20h                                                       ; +0x53, 0x140480553\npop     rbx                                                            ; +0x57, 0x140480557\njmp     SFXBrowser__setupList                                          ; +0x58, 0x140480558\nadd     rsp, 20h                                                       ; +0x5d, 0x14048055d\npop     rbx                                                            ; +0x61, 0x140480561\nretn                                                                   ; +0x62, 0x140480562", "xrefs": ["SFXBrowser::init @ 0x14047f35f", "<???> @ 0x1406db9f0"], "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"}