//
// EditorUI::updateEditButtonColor from 0x10015fe4c to 0x10015fed4 (136 bytes)
//
// 4 xrefs:
// > EditorUI::deactivateTransformControl @ 0x10015f8e0
// > EditorUI::activateScaleControl @ 0x10015ffb4
// > EditorUI::deactivateScaleControl @ 0x100160120
// > EditorUI::showTransformControl @ 0x1001604f0
//
// 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 10:59:45 +0000
//
void __fastcall EditorUI::updateEditButtonColor(__int64 a1, int a2, int a3)
{
__int64 v3; // x20
__int64 v5; // x0
char *CString; // x0
__int64 v7; // x20
_QWORD *v8; // x0
void *__p[2]; // [xsp+8h] [xbp-28h] BYREF
char v10; // [xsp+1Fh] [xbp-11h]
v3 = *(_QWORD *)(a1 + 816);
if ( v3 )
{
v5 = sub_1003065B0("%i", a2);
CString = (char *)cocos2d::CCString::getCString(v5);
sub_100009900(__p, CString);
v7 = cocos2d::CCDictionary::objectForKey(v3, __p);
if ( v10 < 0 )
operator delete(__p[0]);
if ( v7 )
{
v8 = (_QWORD *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v7 + 1072LL))(v7);
ButtonSprite::setColor(v8, a3 & 0xFFFFFF);
}
}
}