//
// sub_1002A7504 from 0x1002a7504 to 0x1002a7564 (96 bytes)
//
// 1 xrefs:
// > sub_1002A74D0 @ 0x1002a74f0
//
// 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:02:15 +0000
//
__int64 __fastcall sub_1002A7504(_QWORD *a1, __int64 *a2)
{
__int64 v2; // x19
void **v3; // x20
void *__p; // [xsp+0h] [xbp-30h] BYREF
char v6; // [xsp+10h] [xbp-20h]
void **v7; // [xsp+18h] [xbp-18h] BYREF
v2 = *a2;
sub_100019364(a1, a2, (__int64)&__p);
v3 = (void **)__p;
__p = nullptr;
if ( v3 )
{
if ( v6 == 1 )
{
v7 = v3 + 3;
sub_10014DD6C(&v7);
}
operator delete(v3);
}
return v2;
}