//
// sub_1002AF03C from 0x1002af03c to 0x1002af08c (80 bytes)
//
// 2 xrefs:
// > GJBaseGameLayer::stopSFXTrigger @ 0x100289cd4
// > GJBaseGameLayer::addProximityVolumeEffect @ 0x1002a24bc
//
// 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
//
__int64 __fastcall sub_1002AF03C(_QWORD *a1, int *a2)
{
__int64 *v3; // x0
__int64 *v4; // x20
v3 = sub_1001E728C((__int64)a1, a2);
if ( a1 + 1 == v3 )
return 0;
v4 = v3;
sub_10001C814(a1, v3);
operator delete(v4);
return 1;
}