//
// sub_10042B720 from 0x10042b720 to 0x10042b7a0 (128 bytes)
//
// 0 xrefs:
//
// 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_10042B720(__int64 a1, __int64 a2, unsigned int *a3, unsigned int a4)
{
__int64 result; // x0
__int64 v9; // [xsp+8h] [xbp-28h] BYREF
v9 = 0;
result = sub_10042B394(a1, a2, &v9);
if ( (_DWORD)result )
{
result = sub_10042ACF0(a1, a2, (_DWORD *)&v9 + 1, a4);
if ( (_DWORD)result )
{
*a3 = -((((_DWORD)v9 << a4) | HIDWORD(v9)) & 1) ^ ((unsigned int)(((_DWORD)v9 << a4) | HIDWORD(v9)) >> 1);
return 1;
}
}
return result;
}