//
// LabelGameObject::queueUpdateLabel from 0x899fd8 to 0x89a038 (96 bytes)
//
// 4 xrefs:
// > LabelGameObject::removeLabel @ 0x89a0a0
// > GJBaseGameLayer::updateCounters @ 0x9ec7a0
// > GJBaseGameLayer::updateTimerLabels @ 0x9ed310
// > ??> @ 0xd79f8
//
// 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 12:56:11 +0000
//
__int64 __fastcall LabelGameObject::queueUpdateLabel(__int64 result, __int64 a2)
{
__int64 v2; // x19
__int64 *v3; // x0
if ( !*(_BYTE *)(result + 1904) )
{
v2 = result;
v3 = (__int64 *)(result + 1856);
if ( (__int64 *)a2 != v3 )
{
if ( (*(_BYTE *)a2 & 1) != 0 )
std::string::assign(v3, *(const void **)(a2 + 16), *(_QWORD *)(a2 + 8));
else
std::string::assign(v3, (const void *)(a2 + 1), *(_BYTE *)a2 >> 1);
}
result = 1;
*(_BYTE *)(v2 + 1848) = 1;
}
return result;
}