//
// sub_1003421C4 from 0x1003421c4 to 0x10034220c (72 bytes)
//
// 2 xrefs:
// > sub_100342108 @ 0x100342114
// > sub_1003421AC @ 0x1003421b8
//
// 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
//
void __fastcall sub_1003421C4(__int64 a1, __int64 a2)
{
void *v2; // x19
v2 = *(void **)a1;
*(_QWORD *)a1 = a2;
if ( v2 )
{
if ( *(_BYTE *)(a1 + 16) == 1 )
sub_100017F74((__int64)v2 + 16);
operator delete(v2);
}
}