//
// MessageThreadsPage::userFilterCSV from 0xc74e90 to 0xc74f80 (240 bytes)
//
// 4 xrefs:
// > MessageThreadsPage::loadPage @ 0xc74fdc
// > MessageThreadsPage::loadPage @ 0xc75100
// > MessageThreadsPage::friendPickerClosed @ 0xc78800
// > ??> @ 0xa1ba8
//
// 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:05:32 +0000
//
_QWORD *__usercall MessageThreadsPage::userFilterCSV@(MessageThreadsPage *this@, _QWORD *a2@)
{
signed int v4; // w19
cocos2d::CCArray *v5; // x0
__int64 v6; // x1
__int64 v7; // x0
cocos2d::CCString *v8; // x0
size_t v9; // x0
char *CString; // [xsp+48h] [xbp+48h]
*a2 = 0;
a2[1] = 0;
a2[2] = 0;
v4 = 0;
v5 = *((cocos2d::CCArray **)this + 110);
if ( !v5 )
goto LABEL_8;
while ( v4 < (int)cocos2d::CCArray::count(v5) )
{
while ( 1 )
{
v6 = *(_BYTE *)a2 >> 1;
if ( (*(_BYTE *)a2 & 1) != 0 )
v6 = a2[1];
if ( v6 )
std::string::append((__int64)a2, &byte_1169BE0);
v7 = cocos2d::CCArray::objectAtIndex(*((cocos2d::CCArray **)this + 110), v4);
v8 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat(
(cocos2d::CCString *)"%i",
(const char *)*(unsigned int *)(v7 + 376));
CString = (char *)cocos2d::CCString::getCString(v8);
v9 = strlen(CString);
std::string::append((__int64)a2, CString, v9);
v5 = *((cocos2d::CCArray **)this + 110);
++v4;
if ( v5 )
break;
LABEL_8:
if ( v4 >= 0 )
return a2;
}
}
return a2;
}