//
// sub_10042C988 from 0x10042c988 to 0x10042c9a4 (28 bytes)
//
// 2 xrefs:
// > sub_1004DA970 @ 0x1004dae24
// > sub_1004DA970 @ 0x1004daeb4
//
// 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_10042C988(_DWORD *a1)
{
int v1; // w9
int v2; // w10
int v3; // w9
v1 = a1[1];
v2 = v1 + 7;
v3 = v1 + 14;
if ( v2 >= 0 )
v3 = v2;
return (unsigned int)(*a1 + (v3 >> 3));
}