//
// sub_10051689C from 0x10051689c to 0x1005168d0 (52 bytes)
//
// 2 xrefs:
// > sub_1005165CC @ 0x10051671c
// > sub_100516740 @ 0x100516748
//
// 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 11:07:06 +0000
//
__int64 __fastcall sub_10051689C(__int64 a1)
{
sub_1005168D0(a1, *(_QWORD *)(a1 + 8));
if ( *(_QWORD *)a1 )
operator delete(*(void **)a1);
return a1;
}