//
// sub_10094ED10 from 0x10094ed10 to 0x10094ee02 (242 bytes)
//
// 1 xrefs:
// > InvitesPopup::threadUpdateFinished @ 0x10094ee62
//
// 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:37 +0000
//
__int64 __fastcall sub_10094ED10(_QWORD *a1, int a2, double a3, double a4, double a5, __m128i a6)
{
__int64 v7; // rdi
unsigned int v8; // r15d
signed int v9; // r14d
int v10; // r15d
__int64 result; // rax
v7 = a1[99];
if ( v7 )
{
if ( (int)sub_1007FEF90(v7) <= 0 )
{
LABEL_6:
if ( (int)sub_1007FEF90(a1[99]) <= 0 )
{
LABEL_12:
v10 = 0;
LABEL_13:
*(_DWORD *)(GameLevelManager::sharedState() + 476) = v10;
return sub_10094C500(a1, a3, a4, a5, a6);
}
}
else
{
v8 = 0;
while ( *(_DWORD *)(sub_1007FEFE0(a1[99], v8) + 56) != a2 )
{
if ( (int)++v8 >= (int)sub_1007FEF90(a1[99]) )
goto LABEL_6;
}
sub_1007FF150(a1[99], v8, 1);
if ( (int)sub_1007FEF90(a1[99]) <= 0 )
goto LABEL_12;
}
v9 = 0;
v10 = 0;
do
v10 += *(unsigned __int8 *)(sub_1007FEFE0(a1[99], v9++) + 273) ^ 1;
while ( v9 < (int)sub_1007FEF90(a1[99]) );
goto LABEL_13;
}
return result;
}