//
// LabelGameObject::setupCustomSprites from 0x100388a00 to 0x100388aac (172 bytes)
//
// 1 xrefs:
// > ??> @ 0x1007f6608
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
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");
LabelGameObject::createLabel(a1, v3);
if ( v4 < 0 )
operator delete(v3[0]);
}
}