//
// sub_10014FB94 from 0x10014fb94 to 0x10014fbfc (104 bytes)
//
// 6 xrefs:
// > sub_10014FA28 @ 0x10014fa80
// > sub_100275530 @ 0x100275868
// > sub_100275530 @ 0x100275890
// > sub_100275530 @ 0x1002758b4
// > sub_100275530 @ 0x1002758dc
// > sub_100275530 @ 0x100275900
//
// 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:59:39 +0000
//
void __fastcall sub_10014FB94(void **a1)
{
void *v1; // x21
__int64 v3; // x20
void *v4; // x0
v1 = *a1;
if ( *a1 )
{
v3 = (__int64)a1[1];
v4 = *a1;
if ( (void *)v3 != v1 )
{
do
{
v3 -= 240;
sub_10014DDE0((__int64)a1, v3);
}
while ( (void *)v3 != v1 );
v4 = *a1;
}
a1[1] = v1;
operator delete(v4);
*a1 = nullptr;
a1[1] = nullptr;
a1[2] = nullptr;
}
}