//
// sub_1006AD948 from 0x1006ad948 to 0x1006ad9c8 (128 bytes)
//
// 1 xrefs:
// > sub_10068CF9C @ 0x10068cfc0
//
// 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:11:48 +0000
//
__int64 __fastcall sub_1006AD948(_QWORD *a1, size_t __count)
{
_QWORD *v4; // x21
void *v6; // x8
v4 = a1 + 4398;
if ( a1[4398] )
return 0;
v6 = off_1009E5FF0(__count, 0xB0u);
if ( !v6 )
return 27;
a1[145] = __count;
*v4 = v6;
a1[4399] = 1;
return 0;
}