//
// sub_10014DB8C from 0x10014db8c to 0x10014dbfc (112 bytes)
//
// 2 xrefs:
// > sub_10014D340 @ 0x10014d688
// > GJBaseGameLayer::dGJBaseGameLayer @ 0x100274dc0
//
// 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_10014DB8C(void ***a1)
{
void **v1; // x20
void *v2; // x21
__int64 v4; // x0
void *v5; // x8
v1 = *a1;
v2 = **a1;
if ( v2 )
{
v4 = (__int64)v1[1];
v5 = v2;
if ( (void *)v4 != v2 )
{
do
v4 = sub_1000184EC(v4 - 40);
while ( (void *)v4 != v2 );
v5 = **a1;
}
v1[1] = v2;
operator delete(v5);
}
}