//
// sub_1002AF08C from 0x1002af08c to 0x1002af128 (156 bytes)
//
// 1 xrefs:
// > GJBaseGameLayer::addProximityVolumeEffect @ 0x1002a24e4
//
// 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:19 +0000
//
char *__fastcall sub_1002AF08C(__int64 **a1, int *a2, _QWORD *a3, __int64 a4)
{
__int64 *v7; // x0
char *v8; // x19
__int64 *v9; // x23
__int64 v11; // [xsp+8h] [xbp-38h] BYREF
v7 = sub_10001AC20((__int64)a1, &v11, a2);
v8 = (char *)*v7;
if ( !*v7 )
{
v9 = v7;
v8 = (char *)operator new(0x40u);
*((_QWORD *)v8 + 4) = *a3;
*(_OWORD *)(v8 + 40) = *(_OWORD *)a4;
*((_QWORD *)v8 + 7) = *(_QWORD *)(a4 + 16);
sub_10000A0F0(a1, v11, v9, v8);
}
return v8;
}