//
// CustomMusicCell::updateBGColor from 0x10010255c to 0x1001025dc (128 bytes)
//
// 1 xrefs:
// > CustomListView::loadCell @ 0x10010106c
//
// 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 __fastcall CustomMusicCell::updateBGColor(CustomMusicCell *a1, int a2)
{
cocos2d::CCLayerColor *m_backgroundLayer; // x0
_WORD v4[4]; // [xsp+8h] [xbp-18h] BYREF
m_backgroundLayer = a1->m_backgroundLayer;
if ( (a2 & 1) != 0 )
memset(&v4[2], 50, 3);
else
memset(v4, 75, 3);
((void (*)(void))m_backgroundLayer->setColor)();
((void (__fastcall *)(cocos2d::CCLayerColor *, __int64))a1->m_backgroundLayer->setOpacity)(a1->m_backgroundLayer, 255);
}