//
// sub_100525154 from 0x100525154 to 0x1005251e8 (148 bytes)
//
// 1 xrefs:
// > sub_100538A48 @ 0x100538ff4
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
__int64 __fastcall sub_100525154(__int64 a1)
{
__int64 result; // x0
int v3; // [xsp+Ch] [xbp-14h]
result = (*(__int64 (**)(void))(*(_QWORD *)(a1 + 8) + 96LL))();
if ( v3 )
{
if ( result < 1 )
{
return 1;
}
else
{
sub_10052C058(a1, 2);
sub_1005E0E48(20, 145, 159, "s3_clnt.c", 2429);
*(_DWORD *)(a1 + 72) = 5;
return 0xFFFFFFFFLL;
}
}
return result;
}