{"type": "func", "start": 5372808624, "end": 5372808770, "name": "LevelBrowserLayer::onClearSearch", "pseudocode": "// \n// LevelBrowserLayer::onClearSearch from 0x1403e8db0 to 0x1403e8e42 (146 bytes)\n// \n// 2 xrefs:\n// > LevelBrowserLayer::init @ 0x1403e3f09\n// > <???> @ 0x140925040\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:31:44 +0000\n// \n\n// Hidden C++ exception states: #wind=1\nvoid __fastcall LevelBrowserLayer::onClearSearch(__int64 a1)\n{\n  __int64 v2; // rax\n  __int128 Src; // [rsp+20h] [rbp-28h] BYREF\n  __int64 v4; // [rsp+30h] [rbp-18h]\n  __int64 v5; // [rsp+38h] [rbp-10h]\n\n  v2 = *(_QWORD *)(a1 + 664);\n  if ( v2 )\n  {\n    Src = 0;\n    v4 = 0;\n    v5 = 15;\n    LOBYTE(Src) = 0;\n    if ( (__int128 *)(v2 + 328) != &Src )\n      sub_1400405A0((void **)(v2 + 328), &Src, 0);\n    sub_14003D310((__int64)&Src);\n    *(_DWORD *)(*(_QWORD *)(a1 + 664) + 424LL) = 0;\n    LevelBrowserLayer::loadPage(a1, *(int **)(a1 + 664));\n  }\n}", "assembly": "; \n; LevelBrowserLayer::onClearSearch from 0x1403e8db0 to 0x1403e8e42 (146 bytes)\n; \n; 2 xrefs:\n; > LevelBrowserLayer::init @ 0x1403e3f09\n; > <???> @ 0x140925040\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:31:44 +0000\n; \npush    rbx                                                            ; +0x0, 0x1403e8db0\nsub     rsp, 40h                                                       ; +0x2, 0x1403e8db2\nmov     rbx, rcx                                                       ; +0x6, 0x1403e8db6\nmov     rax, [rcx+298h]                                                ; +0x9, 0x1403e8db9\ntest    rax, rax                                                       ; +0x10, 0x1403e8dc0\njz      short loc_1403E8E3C                                            ; +0x13, 0x1403e8dc3\nxorps   xmm0, xmm0                                                     ; +0x15, 0x1403e8dc5\nmovups  [rsp+48h+Src], xmm0                                            ; +0x18, 0x1403e8dc8\nmov     [rsp+48h+var_18], 0                                            ; +0x1d, 0x1403e8dcd\nmov     [rsp+48h+var_10], 0Fh                                          ; +0x26, 0x1403e8dd6\nmov     byte ptr [rsp+48h+Src], 0                                      ; +0x2f, 0x1403e8ddf\nlea     rcx, [rsp+48h+Src]                                             ; +0x34, 0x1403e8de4\nmov     [rsp+48h+arg_0], rcx                                           ; +0x39, 0x1403e8de9\nlea     rcx, [rax+148h]; void *                                        ; +0x3e, 0x1403e8dee\nlea     rax, [rsp+48h+Src]                                             ; +0x45, 0x1403e8df5\ncmp     rcx, rax                                                       ; +0x4a, 0x1403e8dfa\njz      short loc_1403E8E0D                                            ; +0x4d, 0x1403e8dfd\nxor     r8d, r8d; Size                                                 ; +0x4f, 0x1403e8dff\nlea     rdx, [rsp+48h+Src]; Src                                        ; +0x52, 0x1403e8e02\ncall    sub_1400405A0                                                  ; +0x57, 0x1403e8e07\nnop                                                                    ; +0x5c, 0x1403e8e0c\nlea     rcx, [rsp+48h+Src]                                             ; +0x5d, 0x1403e8e0d\ncall    sub_14003D310                                                  ; +0x62, 0x1403e8e12\nmov     rax, [rbx+298h]                                                ; +0x67, 0x1403e8e17\nmov     dword ptr [rax+1A8h], 0                                        ; +0x6e, 0x1403e8e1e\nmov     rdx, [rbx+298h]                                                ; +0x78, 0x1403e8e28\nmov     rcx, rbx                                                       ; +0x7f, 0x1403e8e2f\nadd     rsp, 40h                                                       ; +0x82, 0x1403e8e32\npop     rbx                                                            ; +0x86, 0x1403e8e36\njmp     LevelBrowserLayer__loadPage                                    ; +0x87, 0x1403e8e37\nadd     rsp, 40h                                                       ; +0x8c, 0x1403e8e3c\npop     rbx                                                            ; +0x90, 0x1403e8e40\nretn                                                                   ; +0x91, 0x1403e8e41", "xrefs": ["LevelBrowserLayer::init @ 0x1403e3f09", "<???> @ 0x140925040"], "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"}