//
// OptionsScrollLayer::onClearSearchText from 0x6bdbd8 to 0x6bdc2a (82 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:56:48 +0000
//
int __fastcall OptionsScrollLayer::onClearSearchText(int this, cocos2d::CCObject *a2, int a3, int a4)
{
int v4; // r6
int v5; // [sp+0h] [bp-10h] BYREF
cocos2d::CCObject *v6; // [sp+4h] [bp-Ch]
int v7; // [sp+8h] [bp-8h]
int v8; // [sp+Ch] [bp-4h]
v5 = this;
v6 = a2;
v7 = a3;
v8 = a4;
v4 = *(_DWORD *)(this + 536);
if ( v4 )
{
v5 = 0;
v6 = nullptr;
v7 = 0;
std::string::__init(&v5, &unk_B6B226, 0);
CCTextInputNode::setString(v4, (int)&v5);
return std::string::~string((int)&v5);
}
return this;
}