//
// sub_10007C2D0 from 0x10007c2d0 to 0x10007c344 (116 bytes)
//
// 2 xrefs:
// > sub_100079BF0 @ 0x10007a008
// > sub_10007A030 @ 0x10007a098
//
// 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 10:58:15 +0000
//
void __fastcall sub_10007C2D0(void ***a1)
{
void **v1; // x19
void *v2; // x22
__int64 v4; // x21
void *v5; // x0
v1 = *a1;
v2 = **a1;
if ( v2 )
{
v4 = (__int64)v1[1];
v5 = **a1;
if ( (void *)v4 != v2 )
{
do
{
v4 -= 72;
sub_10000A738((__int64)v1, v4);
}
while ( (void *)v4 != v2 );
v5 = **a1;
}
v1[1] = v2;
operator delete(v5);
}
}