//
// sub_100895AB0 from 0x100895ab0 to 0x100895b21 (113 bytes)
//
// 0 xrefs:
//
// 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:37:06 +0000
//
__int64 __fastcall sub_100895AB0(__int64 a1)
{
__int64 v1; // rax
__int64 v3; // rcx
__int64 v4; // rax
__int64 v5; // rcx
v1 = *(_QWORD *)(a1 + 704);
if ( v1 )
{
if ( *(_BYTE *)(a1 + 880) == 1 )
return *(unsigned int *)(v1 + 376);
else
return *(unsigned int *)(v1 + 372);
}
else
{
v3 = *(_QWORD *)(a1 + 712);
if ( v3 )
{
return (unsigned int)-*(_DWORD *)(v3 + 344);
}
else
{
v4 = *(_QWORD *)(a1 + 720);
if ( v4 )
{
return *(unsigned int *)(v4 + 316);
}
else
{
v5 = *(_QWORD *)(a1 + 696);
if ( v5 )
return (unsigned int)(*(_DWORD *)(v5 + 328) - *(_DWORD *)(v5 + 332));
else
return 0;
}
}
}
}