//
// sub_100018470 from 0x100018470 to 0x1000184a8 (56 bytes)
//
// 23 xrefs:
// > sub_10000EB60 @ 0x10000ed98
// > sub_10000EB60 @ 0x10000eeec
// > sub_10014D340 @ 0x10014d598
// > sub_10014D340 @ 0x10014d5a0
// > sub_10014D340 @ 0x10014d620
// > sub_10014DBFC @ 0x10014dc24
// > sub_10014DBFC @ 0x10014dc40
// > sub_10015156C @ 0x100151628
// > GJBaseGameLayer::dGJBaseGameLayer @ 0x100274cd8
// > GJBaseGameLayer::dGJBaseGameLayer @ 0x100274ce0
// > GJBaseGameLayer::dGJBaseGameLayer @ 0x100274d58
// > GJBaseGameLayer::processActivatedAudioTriggers @ 0x1002a4020
// > GJBaseGameLayer::processActivatedAudioTriggers @ 0x1002a4028
// > sub_1002A405C @ 0x1002a4138
// > sub_1002A405C @ 0x1002a4140
// > sub_1002D648C @ 0x1002d6494
// > sub_1002D64AC @ 0x1002d64fc
// > sub_100407958 @ 0x100408d98
// > sub_100408E8C @ 0x100409004
// > sub_10040E264 @ 0x10040e2b8
// > sub_1004B0EF8 @ 0x1004b0fd4
// > sub_1004C9C38 @ 0x1004ca2b8
// > sub_1004CA304 @ 0x1004ca3f0
//
// 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 10:57:19 +0000
//
void **__fastcall sub_100018470(void **a1)
{
void *v2; // x0
sub_1000184A8((int)a1, a1[2]);
v2 = *a1;
*a1 = nullptr;
if ( v2 )
operator delete(v2);
return a1;
}