//
// LevelSearchLayer::onClearFreeSearch from 0x7de434 to 0x7de4b8 (132 bytes)
//
// 3 xrefs:
// > ??> @ 0x51148
// > LevelSearchLayer::init @ 0x7e2e14
// > ??> @ 0x1541bc8
//
// This function is hookable on this platform (idp: arm, 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:54:25 +0000
//
__int64 __fastcall LevelSearchLayer::onClearFreeSearch(LevelSearchLayer *this, cocos2d::CCObject *a2)
{
_QWORD *v2; // x0
_QWORD v4[2]; // [xsp+20h] [xbp+20h] BYREF
void *v5; // [xsp+30h] [xbp+30h]
v2 = *((_QWORD **)this + 55);
v4[0] = 0;
v4[1] = 0;
v5 = nullptr;
CCTextInputNode::setString(v2, (char *)v4);
if ( (v4[0] & 1) != 0 )
operator delete(v5);
return _stack_chk_guard;
}