//
// sub_10001A538 from 0x10001a538 to 0x10001a570 (56 bytes)
//
// 8 xrefs:
// > sub_10001A4C0 @ 0x10001a4e4
// > sub_100021964 @ 0x1000219e0
// > sub_1000502D4 @ 0x100050300
// > sub_100067034 @ 0x10006705c
// > sub_1001E5B80 @ 0x1001e5bac
// > sub_1002B0F00 @ 0x1002b0f28
// > sub_10041199C @ 0x100411a18
// > sub_1004C1CA8 @ 0x1004c1cd4
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 10:57:20 +0000
//
char *__fastcall sub_10001A538(_QWORD *a1, unsigned __int64 a2)
{
char *result; // x0
__int64 v4; // x1
if ( a2 >> 61 )
sub_10000A5F8();
result = (char *)sub_100018C0C((__int64)a1, a2);
*a1 = result;
a1[1] = result;
a1[2] = &result[8 * v4];
return result;
}