//
// sub_1000220B4 from 0x1000220b4 to 0x1000220ec (56 bytes)
//
// 4 xrefs:
// > sub_100021F3C @ 0x100021fb4
// > sub_100022344 @ 0x100022374
// > sub_100413168 @ 0x100413198
// > sub_1004137A0 @ 0x100413818
//
// 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:23 +0000
//
char *__fastcall sub_1000220B4(_QWORD *a1, unsigned __int64 a2)
{
char *result; // x0
__int64 v4; // x1
if ( a2 >> 58 )
sub_10000A5F8();
result = (char *)sub_10001D9A4((__int64)a1, a2);
*a1 = result;
a1[1] = result;
a1[2] = &result[64 * v4];
return result;
}