//
// sub_6DACA4 from 0x6daca4 to 0x6dacdc (56 bytes)
//
// 6 xrefs:
// > internal::band_matrix::lu_solve @ 0x6db3dc
// > internal::band_matrix::lu_solve @ 0x6db3f6
// > tk::spline::set_points @ 0x6dc204
// > tk::spline::solve @ 0x6dd082
// > tk::spline::solve @ 0x6dd126
// > tk::spline::solve @ 0x6dd250
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:57:10 +0000
//
void __fastcall sub_6DACA4(char **a1, char **a2)
{
char *v3; // r0
char *v5; // r3
v3 = *a1;
if ( v3 )
{
while ( 1 )
{
v5 = a1[1];
if ( v3 == v5 )
break;
a1[1] = v5 - 8;
}
operator delete(v3);
a1[2] = nullptr;
a1[1] = nullptr;
*a1 = nullptr;
}
*a1 = *a2;
a1[1] = a2[1];
a1[2] = a2[2];
a2[2] = nullptr;
a2[1] = nullptr;
*a2 = nullptr;
}