//
// sub_100096310 from 0x100096310 to 0x10009635d (77 bytes)
//
// 17 xrefs:
// > ??> @ 0x100095cc5
// > ??> @ 0x1000962f5
// > ??> @ 0x100096ec5
// > ??> @ 0x100097655
// > ??> @ 0x1000e6398
// > ??> @ 0x1000e96b8
// > ??> @ 0x10014eb28
// > ??> @ 0x1001510a8
// > ??> @ 0x1001518a8
// > ??> @ 0x100151f38
// > ??> @ 0x100153118
// > ??> @ 0x100153a88
// > ??> @ 0x100154d48
// > ??> @ 0x1002df1f8
// > ??> @ 0x1002e4053
// > ??> @ 0x1002e4694
// > ??> @ 0x1008c3bbc
//
// This function is hookable on this platform (idp: pc, 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 12:20:10 +0000
//
void __fastcall sub_100096310(__int64 a1)
{
_QWORD *v2; // rdi
void *v3; // rax
v2 = *(_QWORD **)a1;
*(_QWORD *)a1 = 0;
if ( v2 )
{
if ( *(_BYTE *)(a1 + 16) == 1 )
{
v3 = (void *)v2[3];
if ( v3 )
{
v2[4] = v3;
operator delete(v3);
}
}
operator delete(v2);
}
}