//
// sub_10092BF00 from 0x10092bf00 to 0x10092bfcf (207 bytes)
//
// 6 xrefs:
// > MessageThreadsPage::init @ 0x1009296c9
// > MessageThreadsPage::init @ 0x1009296e7
// > sub_10092A890 @ 0x10092a89e
// > sub_10092A890 @ 0x10092a8bc
// > MessageThreadsPage::threadListFinished @ 0x10092c1ec
// > MessageThreadsPage::threadListFinished @ 0x10092c20a
//
// 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:22 +0000
//
void __fastcall sub_10092BF00(__int64 a1)
{
unsigned int v2; // eax
__int64 v3; // rdi
signed int v4; // r14d
int v5; // r15d
if ( *(_QWORD *)(a1 + 688) )
{
v2 = *(unsigned __int8 *)(a1 + 808);
if ( (v2 & 1) != 0 )
{
if ( *(_QWORD *)(a1 + 816) )
return;
}
else if ( v2 >> 1 )
{
return;
}
v3 = *(_QWORD *)(a1 + 800);
if ( !v3 )
goto LABEL_17;
if ( (int)sub_1007FEF90(v3) <= 0 )
goto LABEL_17;
v4 = 0;
v5 = 0;
do
v5 += *(unsigned __int8 *)(sub_1007FEFE0(*(_QWORD *)(a1 + 800), v4++) + 304);
while ( v4 < (int)sub_1007FEF90(*(_QWORD *)(a1 + 800)) );
if ( !v5 )
{
LABEL_17:
if ( !(unsigned __int8)sub_10092BFD0(a1) && !*(_BYTE *)(a1 + 929) )
MessageThreadsPage::loadPage(a1, *(unsigned int *)(a1 + 832), 1);
}
}
}