//
// sub_1007CB970 from 0x1007cb970 to 0x1007cb9c0 (80 bytes)
//
// 1 xrefs:
// > ??> @ 0x1000fe3d6
//
// 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_1007CB970(void **a1, char *a2, void **a3)
{
char *v4; // r12
void *v5; // rdi
void *v7; // rdi
v4 = (char *)*a1;
v5 = a2;
if ( v4 != a2 )
{
do
{
v7 = *((void **)v4 - 4);
if ( v7 )
{
*((_QWORD *)v4 - 3) = v7;
operator delete(v7);
}
v4 -= 32;
}
while ( v4 != a2 );
v5 = *a3;
}
*a1 = a2;
operator delete(v5);
}