//
// LabelGameObject::updateLabel from 0x1001c1810 to 0x1001c1868 (88 bytes)
//
// 6 xrefs:
// > GJBaseGameLayer::refreshCounterLabels @ 0x10014e1b4
// > GJBaseGameLayer::resetGroupCounters @ 0x10014e33a
// > GJBaseGameLayer::resetGroupCounters @ 0x10014e424
// > GJBaseGameLayer::updateSpecialLabels @ 0x1001560e6
// > GJBaseGameLayer::updateSpecialLabels @ 0x1001562f6
// > GJBaseGameLayer::updatePlatformerTime @ 0x100156801
//
// 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::updateLabel(__int64 a1, __int64 a2)
{
__int64 v2; // rax
_DWORD *v3; // rdi
__int64 v4; // rbx
__int64 v5; // rsi
if ( !*(_BYTE *)(a1 + 1904) )
{
v2 = a1;
v3 = *(_DWORD **)(a1 + 1840);
if ( v3 )
{
v3[128] = *(_DWORD *)(v2 + 1900);
v4 = v2;
if ( (*(_BYTE *)a2 & 1) != 0 )
v5 = *(_QWORD *)(a2 + 16);
else
v5 = a2 + 1;
(*(void (__fastcall **)(_DWORD *, __int64))(*(_QWORD *)v3 + 912LL))(v3, v5);
v2 = v4;
}
*(_BYTE *)(v2 + 1848) = 0;
}
}