// // cocos2d::extension::CCControlButton::setColor from 0x5a245e to 0x5a24a0 (66 bytes) // // 1 xrefs: // > `non-virtual thunk to'cocos2d::extension::CCControlButton::setColor @ 0x5a24a4 // // 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 // void cocos2d::extension::CCControlButton::setColor( cocos2d::extension::CCControlButton *a1, const cocos2d::ccColor3B *a2) { float m_fRotationX; // r3 int v5; // r3 int v6; // r4 int v7; // r2 cocos2d::CCLayerRGBA::setColor(a1, a2); m_fRotationX = a1[1].m_fRotationX; if ( m_fRotationX != 0.0 ) { v5 = *(_DWORD *)(LODWORD(m_fRotationX) + 52); if ( v5 ) v6 = *(_DWORD *)(v5 + 272); else v6 = 0; while ( v5 ) { (*(void (__fastcall **)(_DWORD, const cocos2d::ccColor3B *))(**(_DWORD **)(v5 + 260) + 472))( *(_DWORD *)(v5 + 260), a2); if ( v6 ) v7 = *(_DWORD *)(v6 + 272); else v7 = 0; v5 = v6; v6 = v7; } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source