//
// LabelGameObject::setupCustomSprites from 0x1001c0f00 to 0x1001c0f99 (153 bytes)
//
// 1 xrefs:
// > ??> @ 0x1008c5580
//
// 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, __int128 *a2, double a3)
{
__int16 v3; // [rsp+8h] [rbp-48h] BYREF
char v4; // [rsp+Ah] [rbp-46h]
void *v5; // [rsp+18h] [rbp-38h]
__int128 v6; // [rsp+20h] [rbp-30h] BYREF
void *__p; // [rsp+30h] [rbp-20h]
if ( (*(_BYTE *)a2 & 1) != 0 )
{
sub_100006B70(&v6, *((const void **)a2 + 2), *((_QWORD *)a2 + 1), a3);
}
else
{
__p = *((void **)a2 + 2);
v6 = *a2;
}
GameObject::setupCustomSprites(a1, &v6);
if ( (v6 & 1) != 0 )
operator delete(__p);
if ( *(_DWORD *)(a1 + 1028) == 1615 )
{
*(_BYTE *)(a1 + 559) = 1;
v3 = 12290;
v4 = 0;
LabelGameObject::createLabel(a1, &v3);
if ( (v3 & 1) != 0 )
operator delete(v5);
}
}