//
// sub_100017A1C from 0x100017a1c to 0x100017a54 (56 bytes)
//
// 14 xrefs:
// > sub_10000E6D0 @ 0x10000e908
// > sub_10000E6D0 @ 0x10000ea5c
// > sub_1001272D0 @ 0x10012738c
// > sub_10012761C @ 0x100127644
// > sub_10012761C @ 0x100127660
// > GJBaseGameLayer::dGJBaseGameLayer @ 0x1001da854
// > GJBaseGameLayer::dGJBaseGameLayer @ 0x1001da85c
// > GJBaseGameLayer::dGJBaseGameLayer @ 0x1001da8bc
// > GJBaseGameLayer::processActivatedAudioTriggers @ 0x100206f40
// > GJBaseGameLayer::processActivatedAudioTriggers @ 0x100206f48
// > sub_100206F7C @ 0x100207058
// > sub_100206F7C @ 0x100207060
// > sub_100365890 @ 0x100366cd0
// > sub_100366DC4 @ 0x100366f3c
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void **__fastcall sub_100017A1C(void **a1)
{
void *v2; // x0
sub_100017A54((int)a1, a1[2]);
v2 = *a1;
*a1 = nullptr;
if ( v2 )
operator delete(v2);
return a1;
}