//
// sub_10014DB18 from 0x10014db18 to 0x10014db50 (56 bytes)
//
// 12 xrefs:
// > sub_10014D340 @ 0x10014d5b8
// > GJBaseGameLayer::dGJBaseGameLayer @ 0x100274cf8
// > GJBaseGameLayer::addRemapTargets @ 0x10027a1a0
// > sub_10027A1C0 @ 0x10027a1ec
// > GJBaseGameLayer::prepareSavePositionObjects @ 0x10027b108
// > sub_10027B150 @ 0x10027b1e0
// > GJBaseGameLayer::generateTargetGroups @ 0x10027bd20
// > sub_10027BD54 @ 0x10027be28
// > GJBaseGameLayer::generateVisibilityGroups @ 0x10027c560
// > sub_10027C58C @ 0x10027c5c8
// > sub_100407958 @ 0x100408df4
// > sub_100408E8C @ 0x100409060
//
// 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:59:38 +0000
//
__int64 __fastcall sub_10014DB18(__int64 a1)
{
void *v2; // x0
sub_10014DB50(a1, *(_QWORD *)(a1 + 16));
v2 = *(void **)a1;
*(_QWORD *)a1 = 0;
if ( v2 )
operator delete(v2);
return a1;
}