//
// MessageThreadsPage::onClearSearch from 0x1400d7f40 to 0x1400d7fb3 (115 bytes)
//
// 2 xrefs:
// > MessageThreadsPage::init @ 0x1400d4ed6
// > ??> @ 0x140914744
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:26:27 +0000
//
void __fastcall MessageThreadsPage::onClearSearch(__int64 a1)
{
_QWORD *v2; // rcx
__int128 v3; // [rsp+20h] [rbp-28h] BYREF
__int64 v4; // [rsp+30h] [rbp-18h]
__int64 v5; // [rsp+38h] [rbp-10h]
v2 = *(_QWORD **)(a1 + 784);
if ( v2 )
{
v4 = 0;
v3 = 0;
LOBYTE(v3) = 0;
v5 = 15;
CCTextInputNode::setString(v2, &v3);
}
if ( *(_QWORD *)(a1 + 824) )
{
sub_1400405A0((void **)(a1 + 808), &byte_1406ED6E0, 0);
MessageThreadsPage::loadPage(a1, 0, 0);
}
}