// // EditorUI::updateEditButtonColor from 0x1003ef05c to 0x1003ef0e4 (136 bytes) // // 4 xrefs: // > EditorUI::deactivateScaleControl @ 0x1003c70f0 // > EditorUI::deactivateTransformControl @ 0x1003c71f4 // > EditorUI::activateScaleControl @ 0x1003ef1b8 // > EditorUI::activateTransformControl @ 0x1003efe14 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // // local variable allocation has failed, the output may be wrong! void __fastcall EditorUI::updateEditButtonColor(EditorUI *a1, int a2, cocos2d::ccColor3B a3) { cocos2d::CCDictionary *m_editButtonDict; // x20 int v4; // w19 cocos2d::CCString *v5; // x0 char *CString; // x0 __int64 v7; // x20 ButtonSprite *v8; // x0 void *__p[2]; // [xsp+8h] [xbp-28h] BYREF char v10; // [xsp+1Fh] [xbp-11h] m_editButtonDict = a1->m_editButtonDict; if ( m_editButtonDict ) { v4 = *(_DWORD *)&a3.r; v5 = (cocos2d::CCString *)sub_100268F4C("%i", a2); CString = (char *)cocos2d::CCString::getCString(v5); sub_100009900(__p, CString); v7 = cocos2d::CCDictionary::objectForKey_1(m_editButtonDict, __p); if ( v10 < 0 ) operator delete(__p[0]); if ( v7 ) { v8 = (ButtonSprite *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v7 + 1056LL))(v7); ButtonSprite::setColor(v8, (cocos2d::ccColor3B)(v4 & 0xFFFFFF)); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source