//
// sub_100021660 from 0x100021660 to 0x100021698 (56 bytes)
//
// 4 xrefs:
// > sub_1000214E8 @ 0x100021560
// > sub_1000218F0 @ 0x100021920
// > sub_10036E11C @ 0x10036e14c
// > sub_10036E754 @ 0x10036e7cc
//
// 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_100021660(_QWORD *a1, unsigned __int64 a2)
{
char *result; // x0
__int64 v4; // x1
if ( a2 >> 58 )
sub_10000A5F8();
result = (char *)sub_10001CF50((__int64)a1, a2);
*a1 = result;
a1[1] = result;
a1[2] = &result[64 * v4];
return result;
}