//
// sub_10014DD6C from 0x10014dd6c to 0x10014dde0 (116 bytes)
//
// 9 xrefs:
// > sub_10014DBFC @ 0x10014dc88
// > sub_10014DBFC @ 0x10014dc98
// > sub_10014DBFC @ 0x10014dca8
// > sub_10014DBFC @ 0x10014dcb8
// > sub_10014DBFC @ 0x10014dcc8
// > sub_10014DE4C @ 0x10014de74
// > sub_10014F430 @ 0x10014f444
// > sub_10014F9DC @ 0x10014fa08
// > sub_1002A7504 @ 0x1002a7544
//
// 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:38 +0000
//
void __fastcall sub_10014DD6C(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 -= 240;
sub_10014DDE0(v1, v4);
}
while ( v4 != v2 );
v5 = **a1;
}
v1[1] = v2;
operator delete(v5);
}
}