//
// sub_10051A218 from 0x10051a218 to 0x10051a260 (72 bytes)
//
// 1 xrefs:
// > sub_10051A044 @ 0x10051a0e4
//
// 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 11:07:08 +0000
//
char *__fastcall sub_10051A218(_QWORD *a1, unsigned __int64 a2)
{
char *result; // x0
__int64 v4; // x1
if ( a2 >= 0x333333333333334LL )
sub_10000A5F8();
result = (char *)sub_1001E89D8((__int64)a1, a2);
*a1 = result;
a1[1] = result;
a1[2] = &result[80 * v4];
return result;
}