//
// GJUINode::updateButtonPositions from 0x1004c6200 to 0x1004c62de (222 bytes)
//
// 0 xrefs:
//
// 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:31:07 +0000
//
void __fastcall GJUINode::updateButtonPositions(__int64 a1)
{
__int64 *v1; // rax
__int64 v2; // rcx
float v3; // xmm0_4
float *v4; // rbx
__int64 v5; // rbx
float v6; // [rsp-30h] [rbp-30h] BYREF
float v7; // [rsp-28h] [rbp-28h]
float v8; // [rsp-24h] [rbp-24h]
if ( *(_QWORD *)(a1 + 328) )
{
v1 = *(__int64 **)(a1 + 320);
v2 = *v1;
if ( *(_BYTE *)(a1 + 381) == 1 )
{
(*(void (__fastcall **)(_QWORD, _QWORD *))(v2 + 184))(*(_QWORD *)(a1 + 320), &qword_100BE42F8);
}
else
{
v3 = (*(float (__fastcall **)(__int64 *))(v2 + 168))(v1);
v4 = *(float **)(a1 + 320);
v8 = v3 * v4[108];
v7 = *(float *)(a1 + 372);
sub_100278250(&v6, (float)(-0.5 * v8) - v7, 0.0);
(*(void (__fastcall **)(float *, float *))(*(_QWORD *)v4 + 184LL))(v4, &v6);
v5 = *(_QWORD *)(a1 + 328);
sub_100278250(&v6, (float)(v8 * 0.5) + v7, 0.0);
(*(void (__fastcall **)(__int64, float *))(*(_QWORD *)v5 + 184LL))(v5, &v6);
}
}
}