//
// sub_10092AAC0 from 0x10092aac0 to 0x10092ab9c (220 bytes)
//
// 3 xrefs:
// > MessageThreadsPage::loadPage @ 0x10092a932
// > MessageThreadsPage::loadPage @ 0x10092a971
// > MessageThreadsPage::friendPickerClosed @ 0x10092bdb0
//
// This function is hookable on this platform (idp: pc, 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 12:38:21 +0000
//
std::string *__fastcall sub_10092AAC0(std::string *this, __int64 a2)
{
signed int v3; // r13d
__int64 v4; // rdi
signed int v5; // eax
unsigned int v6; // eax
__int64 v7; // rax
char *v8; // rax
const std::string::value_type *CString; // rax
*(_OWORD *)&this->__r_.__value_.__l.0 = 0;
this->__r_.__value_.__r.__words[2] = 0;
v3 = 0;
v4 = *(_QWORD *)(a2 + 880);
v5 = 0;
if ( v4 )
LABEL_2:
v5 = sub_1007FEF90(v4);
while ( v3 < v5 )
{
v6 = (unsigned int)this->__r_.__value_.__l.0;
if ( (v6 & 1) != 0 )
{
if ( !this->__r_.__value_.__l.__size_ )
goto LABEL_9;
LABEL_8:
std::string::append(this, ",");
goto LABEL_9;
}
if ( v6 >> 1 )
goto LABEL_8;
LABEL_9:
v7 = sub_1007FEFE0(*(_QWORD *)(a2 + 880), v3);
v8 = sub_10088E820("%i", *(_DWORD *)(v7 + 376));
CString = (const std::string::value_type *)cocos2d::CCString::getCString((__int64)v8);
std::string::append(this, CString);
++v3;
v4 = *(_QWORD *)(a2 + 880);
v5 = 0;
if ( v4 )
goto LABEL_2;
}
return this;
}