//
// GJUINode::updateButtonPositions from 0x6eec88 to 0x6eed94 (268 bytes)
//
// 5 xrefs:
// > GJUINode::updateDragRadius @ 0x6eeda8
// > GJUINode::updateDragRadius @ 0x6eedb8
// > GJUINode::updateButtonScale @ 0x6eee2c
// > GJUINode::init @ 0x6efe80
// > ??> @ 0xfc5c8
//
// 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:51:47 +0000
//
__int64 __fastcall GJUINode::updateButtonPositions(GJUINode *this)
{
float v2; // s0
float *v3; // x22
float v4; // s9
float v5; // s8
void (__fastcall *v6)(float *, _BYTE *); // x23
__int64 v7; // x19
void (__fastcall *v8)(__int64, _BYTE *); // x22
_BYTE v10[8]; // [xsp+50h] [xbp+50h] BYREF
if ( *((_QWORD *)this + 41) )
{
if ( *((_BYTE *)this + 381) )
{
(*(void (__fastcall **)(_QWORD, void *))(**((_QWORD **)this + 40) + 184LL))(*((_QWORD *)this + 40), &unk_155C4B8);
}
else
{
v2 = (*(float (__fastcall **)(_QWORD))(**((_QWORD **)this + 40) + 168LL))(*((_QWORD *)this + 40));
v3 = *((float **)this + 40);
v4 = *((float *)this + 93);
v5 = v2 * v3[108];
v6 = *(void (__fastcall **)(float *, _BYTE *))(*(_QWORD *)v3 + 184LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v10, -(float)(v4 + (float)(v5 * 0.5)), 0.0);
v6(v3, v10);
v7 = *((_QWORD *)this + 41);
v8 = *(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v7 + 184LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v10, v4 + (float)(v5 * 0.5), 0.0);
v8(v7, v10);
}
}
return _stack_chk_guard;
}