//
// sub_100020770 from 0x100020770 to 0x1000207bc (76 bytes)
//
// 3 xrefs:
// > sub_100020600 @ 0x1000206b8
// > sub_100020A70 @ 0x100020a94
// > sub_100020F88 @ 0x100021038
//
// 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:22 +0000
//
char *__fastcall sub_100020770(_QWORD *a1, unsigned __int64 a2)
{
char *result; // x0
__int64 v4; // x1
if ( a2 >= 0x38E38E38E38E38FLL )
sub_10000A5F8();
result = (char *)sub_10000A60C((__int64)a1, a2);
*a1 = result;
a1[1] = result;
a1[2] = &result[72 * v4];
return result;
}