//
// sub_10092AC30 from 0x10092ac30 to 0x10092ad64 (308 bytes)
//
// 3 xrefs:
// > MessageThreadsPage::threadListFinished @ 0x10092c6e6
// > MessageThreadsPage::applyThreadList @ 0x10092cc33
// > MessageThreadsPage::applyThreadList @ 0x10092cd74
//
// 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
//
__int64 __fastcall sub_10092AC30(__int64 a1)
{
__int64 result; // rax
__int64 v3; // rdi
int v4; // r15d
__int64 v5; // r14
int v6; // esi
char *v7; // rax
__int64 CString; // rax
float v9; // xmm0_4
__int64 v10; // r14
__int64 v11; // rax
float v12[2]; // [rsp+Ch] [rbp-24h] BYREF
float v13; // [rsp+14h] [rbp-1Ch]
result = GameLevelManager::sharedState();
v3 = *(_QWORD *)(a1 + 768);
if ( v3 )
{
v4 = *(_DWORD *)(result + 476);
result = (*(__int64 (__fastcall **)(__int64, bool))(*(_QWORD *)v3 + 344LL))(v3, v4 > 0);
if ( v4 > 0 )
{
v5 = *(_QWORD *)(a1 + 776);
v6 = 99;
if ( (unsigned int)v4 < 0x63 )
v6 = v4;
v7 = sub_10088E820("%i", v6);
CString = cocos2d::CCString::getCString((__int64)v7);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v5 + 928LL))(v5, CString);
cocos2d::CCLabelBMFont::limitLabelWidth(*(_QWORD *)(a1 + 776), 28.0, (__m128)0x3F4CCCCDu, (__m128)0LL);
if ( v4 == 1 )
v9 = -0.5;
else
v9 = 0.0;
v13 = v9;
v10 = *(_QWORD *)(a1 + 776);
v13 = (float)(*(float *)(*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 768) + 328LL))(*(_QWORD *)(a1 + 768))
* 0.5)
+ v9;
v11 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 768) + 328LL))(*(_QWORD *)(a1 + 768));
sub_100278250(v12, v13, (float)(0.5 * *(float *)(v11 + 4)) + 1.0);
return (*(__int64 (__fastcall **)(__int64, float *))(*(_QWORD *)v10 + 184LL))(v10, v12);
}
}
return result;
}