//
// sub_100017274 from 0x100017274 to 0x1000172c8 (84 bytes)
//
// 1 xrefs:
// > sub_100017238 @ 0x100017254
//
// 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
//
_QWORD *__fastcall sub_100017274(_QWORD *result, __int128 *a2)
{
_QWORD *v2; // x19
__int64 v3; // x20
__int128 v4; // q0
v2 = result;
v3 = result[1];
if ( *((char *)a2 + 23) < 0 )
{
result = sub_1000097D0((_BYTE *)result[1], *(void **)a2, *((_QWORD *)a2 + 1));
}
else
{
v4 = *a2;
*(_QWORD *)(v3 + 16) = *((_QWORD *)a2 + 2);
*(_OWORD *)v3 = v4;
}
v2[1] = v3 + 24;
return result;
}