//
// sub_1006AE7B0 from 0x1006ae7b0 to 0x1006ae810 (96 bytes)
//
// 1 xrefs:
// > sub_1006FF7D8 @ 0x1006ffd5c
//
// 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
//
void *(__cdecl **__fastcall sub_1006AE7B0(
void *(__cdecl **result)(size_t __size),
void *(__cdecl **a2)(void *__ptr, size_t __size),
_QWORD *a3))(size_t __size)
{
void *(__cdecl *v3)(size_t); // x8
void *(__cdecl *v4)(void *, size_t); // x8
if ( result )
{
if ( (char *)off_1009E6008 == (char *)sub_1006AE784 )
v3 = off_1009E6000;
else
v3 = nullptr;
*result = v3;
}
if ( a2 )
{
if ( (char *)off_1009E6018 == (char *)sub_1006AE790 )
v4 = off_1009E6010;
else
v4 = nullptr;
*a2 = v4;
}
if ( a3 )
*a3 = off_1009E6020;
return result;
}