//
// sub_100048DBC from 0x100048dbc to 0x100048e38 (124 bytes)
//
// 1 xrefs:
// > sub_100048D28 @ 0x100048d84
//
// 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 *__usercall sub_100048DBC@(__int64 a1@, __int128 **a2@, _QWORD *a3@)
{
_QWORD *result; // x0
_QWORD *v7; // x20
__int128 *v8; // x8
__int128 v9; // q0
result = operator new(0x50u);
v7 = result;
*a3 = result;
a3[1] = a1;
a3[2] = 0;
v8 = *a2;
if ( *((char *)*a2 + 23) < 0 )
{
result = sub_1000097D0((_BYTE *)result + 32, *(void **)v8, *((_QWORD *)v8 + 1));
}
else
{
v9 = *v8;
result[6] = *((_QWORD *)v8 + 2);
*((_OWORD *)result + 2) = v9;
}
v7[7] = 0;
v7[8] = 0;
v7[9] = 0;
*((_BYTE *)a3 + 16) = 1;
return result;
}