//
// LabelGameObject::updateLabel from 0x1404b3a50 to 0x1404b3ad9 (137 bytes)
//
// 14 xrefs:
// > GJBaseGameLayer::refreshCounterLabels @ 0x1402356cc
// > GJBaseGameLayer::update @ 0x140238d1c
// > GJBaseGameLayer::update @ 0x140238d8c
// > GJBaseGameLayer::updateSpecialLabels @ 0x1402394ff
// > GJBaseGameLayer::updateSpecialLabels @ 0x14023965b
// > GJBaseGameLayer::updatePlatformerTime @ 0x140239844
// > LevelEditorLayer::onPlaytest @ 0x1402e0262
// > LevelEditorLayer::onPlaytest @ 0x1402e02eb
// > LabelGameObject::updatePreviewLabel @ 0x1404b38f0
// > LabelGameObject::updatePreviewLabel @ 0x1404b392b
// > LabelGameObject::updatePreviewLabel @ 0x1404b3966
// > LabelGameObject::updatePreviewLabel @ 0x1404b3a1f
// > ??> @ 0x1406dcae8
// > ??> @ 0x1406dcaf4
//
// 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
//
// Hidden C++ exception states: #wind=1
void __fastcall LabelGameObject::updateLabel(__int64 a1, _QWORD *a2)
{
__int64 v2; // rbx
__int64 v4; // rcx
v2 = (__int64)a2;
if ( !*(_BYTE *)(a1 + 1928) )
{
v4 = *(_QWORD *)(a1 + 1856);
if ( v4 )
{
*(_DWORD *)(v4 + 528) = *(_DWORD *)(a1 + 1924);
if ( a2[3] > 0xFu )
a2 = (_QWORD *)*a2;
(**(void (__fastcall ***)(__int64, _QWORD *))(*(_QWORD *)(a1 + 1856) + 360LL))(*(_QWORD *)(a1 + 1856) + 360LL, a2);
}
*(_BYTE *)(a1 + 1864) = 0;
}
sub_14003A830(v2);
}