//
// sub_10092B760 from 0x10092b760 to 0x10092b8ac (332 bytes)
//
// 3 xrefs:
// > MessageThreadsPage::onUserFilter @ 0x100929a5a
// > sub_1009419E0 @ 0x100941a65
// > sub_100945780 @ 0x1009457b7
//
// 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
//
char *__fastcall sub_10092B760(__int64 a1, unsigned __int8 a2, unsigned __int8 a3, unsigned __int8 a4, unsigned int a5)
{
unsigned int v5; // eax
char *v8; // rbx
unsigned __int64 v10; // [rsp-4h] [rbp-30h]
v10 = __PAIR64__(a5, v5);
v8 = (char *)operator new(0x378u);
sub_100737E80((__int64)v8);
*(_QWORD *)v8 = off_100BC3F80;
*((_QWORD *)v8 + 40) = off_100BC4518;
*((_QWORD *)v8 + 41) = &off_100BC4588;
*((_QWORD *)v8 + 42) = off_100BC45A0;
*((_QWORD *)v8 + 43) = off_100BC45C0;
*((_QWORD *)v8 + 44) = off_100BC45E8;
*((_QWORD *)v8 + 51) = off_100BC4618;
*((_QWORD *)v8 + 54) = off_100BC4698;
*((_QWORD *)v8 + 68) = off_100BC46B8;
*((_QWORD *)v8 + 97) = off_100BC4700;
*((_QWORD *)v8 + 98) = off_100BC4730;
*(_OWORD *)(v8 + 792) = 0;
*(_OWORD *)(v8 + 808) = 0;
*(_QWORD *)(v8 + 821) = 0;
*((_OWORD *)v8 + 52) = 0;
*(_OWORD *)(v8 + 841) = 0;
*((_OWORD *)v8 + 54) = 0;
*((_QWORD *)v8 + 110) = 0;
if ( (unsigned __int8)FriendPickerPopup::init(v8, a1, a2, a3, a4, BYTE4(v10), v10) )
{
cocos2d::CCObject::autorelease((__int64)v8);
}
else
{
(*(void (__fastcall **)(char *))(*(_QWORD *)v8 + 16LL))(v8);
return nullptr;
}
return v8;
}