//
// sub_100209D3C from 0x100209d3c to 0x100209d74 (56 bytes)
//
// 10 xrefs:
// > GJBaseGameLayer::addRemapTargets @ 0x1001dfb64
// > sub_1001DFB84 @ 0x1001dfbb0
// > GJBaseGameLayer::prepareSavePositionObjects @ 0x1001e0a54
// > sub_1001E0A9C @ 0x1001e0b2c
// > GJBaseGameLayer::generateTargetGroups @ 0x1001e166c
// > sub_1001E16A0 @ 0x1001e1774
// > GJBaseGameLayer::generateVisibilityGroups @ 0x1001e1eac
// > sub_1001E1ED8 @ 0x1001e1f14
// > sub_100365890 @ 0x100366d2c
// > sub_100366DC4 @ 0x100366f98
//
// 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
//
__int64 __fastcall sub_100209D3C(__int64 a1)
{
void *v2; // x0
sub_100209D74(a1, *(_QWORD *)(a1 + 16));
v2 = *(void **)a1;
*(_QWORD *)a1 = 0;
if ( v2 )
operator delete(v2);
return a1;
}