//
// InvitesPopup::onClearSearch from 0x759c38 to 0x759cbe (134 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:58:58 +0000
//
void __fastcall InvitesPopup::onClearSearch(InvitesPopup *this, cocos2d::CCObject *a2)
{
int v2; // r7
unsigned int v4; // r3
int v5[3]; // [sp+0h] [bp-14h] BYREF
v2 = *((_DWORD *)this + 157);
if ( v2 )
{
memset(v5, 0, sizeof(v5));
std::string::__init(v5, &unk_B6B226, 0);
CCTextInputNode::setString(v2, (int)v5);
std::string::~string((int)v5);
}
v4 = *((unsigned __int8 *)this + 632);
if ( (v4 & 1) != 0 )
{
if ( !*((_DWORD *)this + 159) )
return;
**((_BYTE **)this + 160) = 0;
*((_DWORD *)this + 159) = 0;
}
else
{
if ( !(v4 >> 1) )
return;
*((_BYTE *)this + 633) = 0;
*((_BYTE *)this + 632) = 0;
}
InvitesPopup::buildRows((ScrollableContentLayer **)this);
}