//
// KeybindingsLayer::onClearSearch from 0x1006e1e80 to 0x1006e1eba (58 bytes)
//
// 1 xrefs:
// > KeybindingsLayer::init @ 0x1006e1b8b
//
// 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 12:35:45 +0000
//
void __fastcall KeybindingsLayer::onClearSearch(__int64 a1)
{
_QWORD *v1; // rdi
_WORD v2[8]; // [rsp+0h] [rbp-20h] BYREF
void *__p; // [rsp+10h] [rbp-10h]
v1 = *(_QWORD **)(a1 + 1112);
if ( v1 )
{
v2[0] = 0;
CCTextInputNode::setString(v1, (__int64)v2);
if ( (v2[0] & 1) != 0 )
operator delete(__p);
}
}