//
// sub_100126958 from 0x100126958 to 0x100126990 (56 bytes)
//
// 2 xrefs:
// > sub_100126830 @ 0x1001268ac
// > sub_100126AAC @ 0x100126ad0
//
// 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_100126958(_QWORD *a1, unsigned __int64 a2)
{
char *result; // x0
__int64 v4; // x1
if ( a2 >> 60 )
sub_10000A5F8();
result = (char *)sub_10002F8CC((__int64)a1, a2);
*a1 = result;
a1[1] = result;
a1[2] = &result[16 * v4];
return result;
}