//
// LevelSearchLayer::onClearFreeSearch from 0x100707360 to 0x100707395 (53 bytes)
//
// 1 xrefs:
// > LevelSearchLayer::init @ 0x100704e9d
//
// 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:36:01 +0000
//
void __fastcall LevelSearchLayer::onClearFreeSearch(__int64 a1)
{
_QWORD *v1; // rdi
_WORD v2[8]; // [rsp+0h] [rbp-20h] BYREF
void *__p; // [rsp+10h] [rbp-10h]
v1 = *(_QWORD **)(a1 + 440);
v2[0] = 0;
CCTextInputNode::setString(v1, (__int64)v2);
if ( (v2[0] & 1) != 0 )
operator delete(__p);
}