{"type": "func", "start": 5369593664, "end": 5369593779, "name": "MessageThreadsPage::onClearSearch", "pseudocode": "// \n// MessageThreadsPage::onClearSearch from 0x1400d7f40 to 0x1400d7fb3 (115 bytes)\n// \n// 2 xrefs:\n// > MessageThreadsPage::init @ 0x1400d4ed6\n// > <???> @ 0x140914744\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:26:27 +0000\n// \n\nvoid __fastcall MessageThreadsPage::onClearSearch(__int64 a1)\n{\n  _QWORD *v2; // rcx\n  __int128 v3; // [rsp+20h] [rbp-28h] BYREF\n  __int64 v4; // [rsp+30h] [rbp-18h]\n  __int64 v5; // [rsp+38h] [rbp-10h]\n\n  v2 = *(_QWORD **)(a1 + 784);\n  if ( v2 )\n  {\n    v4 = 0;\n    v3 = 0;\n    LOBYTE(v3) = 0;\n    v5 = 15;\n    CCTextInputNode::setString(v2, &v3);\n  }\n  if ( *(_QWORD *)(a1 + 824) )\n  {\n    sub_1400405A0((void **)(a1 + 808), &byte_1406ED6E0, 0);\n    MessageThreadsPage::loadPage(a1, 0, 0);\n  }\n}", "assembly": "; \n; MessageThreadsPage::onClearSearch from 0x1400d7f40 to 0x1400d7fb3 (115 bytes)\n; \n; 2 xrefs:\n; > MessageThreadsPage::init @ 0x1400d4ed6\n; > <???> @ 0x140914744\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:26:27 +0000\n; \npush    rbx                                                            ; +0x0, 0x1400d7f40\nsub     rsp, 40h                                                       ; +0x2, 0x1400d7f42\nmov     rbx, rcx                                                       ; +0x6, 0x1400d7f46\nmov     rcx, [rcx+310h]                                                ; +0x9, 0x1400d7f49\ntest    rcx, rcx                                                       ; +0x10, 0x1400d7f50\njz      short loc_1400D7F7E                                            ; +0x13, 0x1400d7f53\nxorps   xmm0, xmm0                                                     ; +0x15, 0x1400d7f55\nmov     [rsp+48h+var_18], 0                                            ; +0x18, 0x1400d7f58\nmovups  [rsp+48h+var_28], xmm0                                         ; +0x21, 0x1400d7f61\nlea     rdx, [rsp+48h+var_28]                                          ; +0x26, 0x1400d7f66\nmov     byte ptr [rsp+48h+var_28], 0                                   ; +0x2b, 0x1400d7f6b\nmov     [rsp+48h+var_10], 0Fh                                          ; +0x30, 0x1400d7f70\ncall    CCTextInputNode__setString                                     ; +0x39, 0x1400d7f79\nlea     rcx, [rbx+328h]; void *                                        ; +0x3e, 0x1400d7f7e\ncmp     qword ptr [rcx+10h], 0                                         ; +0x45, 0x1400d7f85\njz      short loc_1400D7FAD                                            ; +0x4a, 0x1400d7f8a\nxor     r8d, r8d; Size                                                 ; +0x4c, 0x1400d7f8c\nlea     rdx, byte_1406ED6E0; Src                                       ; +0x4f, 0x1400d7f8f\ncall    sub_1400405A0                                                  ; +0x56, 0x1400d7f96\nxor     r8d, r8d                                                       ; +0x5b, 0x1400d7f9b\nxor     edx, edx                                                       ; +0x5e, 0x1400d7f9e\nmov     rcx, rbx                                                       ; +0x60, 0x1400d7fa0\nadd     rsp, 40h                                                       ; +0x63, 0x1400d7fa3\npop     rbx                                                            ; +0x67, 0x1400d7fa7\njmp     MessageThreadsPage__loadPage                                   ; +0x68, 0x1400d7fa8\nadd     rsp, 40h                                                       ; +0x6d, 0x1400d7fad\npop     rbx                                                            ; +0x71, 0x1400d7fb1\nretn                                                                   ; +0x72, 0x1400d7fb2", "xrefs": ["MessageThreadsPage::init @ 0x1400d4ed6", "<???> @ 0x140914744"], "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"}