//
// CustomSongCell::updateBGColor from 0x1001023ac to 0x10010242c (128 bytes)
//
// 2 xrefs:
// > CustomListView::loadCell @ 0x100101234
// > CustomListView::reloadAll @ 0x10010bd24
//
// 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 CustomSongCell::updateBGColor(CustomSongCell *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);
}