//
// sub_10014DDE0 from 0x10014dde0 to 0x10014de14 (52 bytes)
//
// 17 xrefs:
// > sub_10014DD6C @ 0x10014dda8
// > sub_10014F98C @ 0x10014f9c0
// > sub_10014FA28 @ 0x10014fb5c
// > sub_10014FB94 @ 0x10014fbcc
// > sub_100196E74 @ 0x100196ee0
// > sub_1001A26C8 @ 0x1001a2748
// > sub_1001A286C @ 0x1001a2894
// > GJBaseGameLayer::addCustomEnterEffect @ 0x10027ce8c
// > GJBaseGameLayer::stopCustomEnterEffect @ 0x10027d140
// > GJBaseGameLayer::controlAreaEffect @ 0x100289b74
// > GJBaseGameLayer::controlAreaEffectWithID @ 0x10028a1d8
// > GJBaseGameLayer::addAreaEffect @ 0x100290118
// > GJBaseGameLayer::resetLevelVariables @ 0x10029f260
// > GJBaseGameLayer::resetLevelVariables @ 0x10029f288
// > GJBaseGameLayer::resetLevelVariables @ 0x10029f2b0
// > GJBaseGameLayer::resetLevelVariables @ 0x10029f2d8
// > GJBaseGameLayer::resetLevelVariables @ 0x10029f300
//
// 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
//
void __fastcall sub_10014DDE0(__int64 a1, __int64 a2)
{
void *v3; // x0
v3 = *(void **)(a2 + 208);
if ( v3 )
{
*(_QWORD *)(a2 + 216) = v3;
operator delete(v3);
}
sub_1000187C4(a2, *(_QWORD **)(a2 + 8));
}