//
// sub_100018844 from 0x100018844 to 0x1000188b8 (116 bytes)
//
// 2 xrefs:
// > sub_10000EB60 @ 0x10000edc0
// > sub_10015156C @ 0x1001515ac
//
// 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:57:19 +0000
//
void __fastcall sub_100018844(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 -= 520;
sub_1000194F0(v1, v4);
}
while ( v4 != v2 );
v5 = **a1;
}
v1[1] = v2;
operator delete(v5);
}
}