//
// MessageThreadsPage::onClearSearch from 0x753174 to 0x7531f0 (124 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:52 +0000
//
GameLevelManager *__fastcall MessageThreadsPage::onClearSearch(GameLevelManager *this, cocos2d::CCObject *a2)
{
int v2; // r7
int *v3; // r5
int v4; // r3
int v5; // r3
int v6[3]; // [sp+0h] [bp-14h] BYREF
v2 = *((_DWORD *)this + 145);
v3 = (int *)this;
if ( v2 )
{
memset(v6, 0, sizeof(v6));
std::string::__init(v6, &unk_B6B226, 0);
CCTextInputNode::setString(v2, (int)v6);
this = (GameLevelManager *)std::string::~string((int)v6);
}
v4 = *((unsigned __int8 *)v3 + 592);
if ( (v4 & 1) != 0 )
v5 = v3[149];
else
v5 = v4 >> 1;
if ( v5 )
{
std::string::assign(v3 + 148, (char *)&unk_B6B226);
return MessageThreadsPage::loadPage((GameLevelManager *)v3, 0, 0);
}
return this;
}