//
// sub_1001E6F04 from 0x1001e6f04 to 0x1001e6f78 (116 bytes)
//
// 4 xrefs:
// > sub_1001E0638 @ 0x1001e1070
// > sub_1001E1430 @ 0x1001e1450
// > sub_1001E823C @ 0x1001e825c
// > sub_1001E8918 @ 0x1001e892c
//
// 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 11:00:33 +0000
//
void __fastcall sub_1001E6F04(void ***a1)
{
void **v1; // x19
char *v2; // x22
char *v4; // x21
void *v5; // x0
v1 = *a1;
v2 = (char *)**a1;
if ( v2 )
{
v4 = (char *)v1[1];
v5 = **a1;
if ( v4 != v2 )
{
do
{
v4 -= 96;
sub_1001E6F78(v1, v4);
}
while ( v4 != v2 );
v5 = **a1;
}
v1[1] = v2;
operator delete(v5);
}
}