//
// sub_100019AE4 from 0x100019ae4 to 0x100019b1c (56 bytes)
//
// 3 xrefs:
// > sub_100019A6C @ 0x100019a90
// > sub_100020F10 @ 0x100020f8c
// > sub_1002144BC @ 0x1002144e4
//
// 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
//
char *__fastcall sub_100019AE4(_QWORD *a1, unsigned __int64 a2)
{
char *result; // x0
__int64 v4; // x1
if ( a2 >> 61 )
sub_10000A5F8();
result = (char *)sub_1000181B8((__int64)a1, a2);
*a1 = result;
a1[1] = result;
a1[2] = &result[8 * v4];
return result;
}