//
// sub_D157A8 from 0xd157a8 to 0xd157d8 (48 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_D157A8(__int64 *result, __int64 *a2)
{
__int64 v2; // x3
__int64 v3; // x2
v2 = *result;
if ( (*(_DWORD *)(*result - 8) & 0x80000000) != 0 )
*(_DWORD *)(v2 - 8) = 0;
v3 = *a2;
if ( (*(_DWORD *)(*a2 - 8) & 0x80000000) != 0 )
*(_DWORD *)(v3 - 8) = 0;
*result = v3;
*a2 = v2;
return result;
}