//
// MusicBrowser::onClearSearchText from 0xb83ba0 to 0xb83c2c (140 bytes)
//
// 3 xrefs:
// > ??> @ 0xcd0d8
// > sub_B85DD0 @ 0xb86660
// > ??> @ 0x1546038
//
// 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 13:02:29 +0000
//
__int64 __fastcall MusicBrowser::onClearSearchText(MusicBrowser *this, cocos2d::CCObject *a2)
{
_QWORD *v2; // x0
_QWORD v4[2]; // [xsp+20h] [xbp+20h] BYREF
void *v5; // [xsp+30h] [xbp+30h]
v2 = *((_QWORD **)this + 97);
if ( v2 )
{
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;
}