//
// LabelGameObject::setupCustomSprites from 0x10042efec to 0x10042f098 (172 bytes)
//
// 1 xrefs:
// > ??> @ 0x10094e868
//
// 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:05:05 +0000
//
void __fastcall LabelGameObject::setupCustomSprites(__int64 a1, __int64 a2)
{
void *v3[2]; // [xsp+8h] [xbp-48h] BYREF
char v4; // [xsp+1Fh] [xbp-31h]
void *__p[2]; // [xsp+20h] [xbp-30h] BYREF
__int64 v6; // [xsp+30h] [xbp-20h]
if ( *(char *)(a2 + 23) < 0 )
{
sub_1000097D0(__p, *(void **)a2, *(_QWORD *)(a2 + 8));
}
else
{
*(_OWORD *)__p = *(_OWORD *)a2;
v6 = *(_QWORD *)(a2 + 16);
}
GameObject::setupCustomSprites(a1, __p);
if ( SHIBYTE(v6) < 0 )
operator delete(__p[0]);
if ( *(_DWORD *)(a1 + 1028) == 1615 )
{
*(_BYTE *)(a1 + 559) = 1;
sub_100009900(v3, "0");
sub_10042F0CC(a1, v3);
if ( v4 < 0 )
operator delete(v3[0]);
}
}