//
// LabelGameObject::updateLabelAlign from 0x1001a1af0 to 0x1001a1b6b (123 bytes)
//
// 1 xrefs:
// > SetItemIDLayer::valueDidChange @ 0x100063d01
//
// This function is hookable on this platform (idp: pc, 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:25:59 +0000
//
__int64 __fastcall LabelGameObject::updateLabelAlign(__int64 a1, int a2)
{
__int64 v2; // rbx
float v3; // xmm0_4
__int64 result; // rax
_BYTE v5[24]; // [rsp+8h] [rbp-18h] BYREF
*(_DWORD *)(a1 + 1884) = a2;
v2 = *(_QWORD *)(a1 + 1840);
if ( v2 )
{
if ( a2 == 2 )
{
v3 = 1.0;
}
else if ( a2 == 1 )
{
v3 = 0.0;
}
else
{
v3 = 0.5;
}
sub_100278250(v5, v3, 0.5);
return (*(__int64 (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v2 + 296LL))(v2, v5);
}
return result;
}