//
// CustomSongCell::updateBGColor from 0x6157a0 to 0x61582c (140 bytes)
//
// 3 xrefs:
// > CustomListView::reloadAll @ 0x61e334
// > CustomListView::loadCell @ 0x620640
// > ??> @ 0x3dbd8
//
// 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 CustomSongCell::updateBGColor(CustomSongCell *a1, int a2)
{
char v2; // w2
cocos2d::CCLayerColor *m_backgroundLayer; // x3
cocos2d::CCLayerColor *v5; // x0
void (__fastcall *setColor)(cocos2d::CCLayerColor *__hidden, const cocos2d::ccColor3B *); // x3
_BYTE v7[8]; // [xsp+20h] [xbp+20h] BYREF
v2 = 50;
m_backgroundLayer = a1->m_backgroundLayer;
if ( (a2 & 1) == 0 )
v2 = 75;
v5 = a1->m_backgroundLayer;
setColor = m_backgroundLayer->setColor;
v7[0] = v2;
v7[1] = v2;
v7[2] = v2;
setColor(v5, (const cocos2d::ccColor3B *)v7);
a1->m_backgroundLayer->setOpacity(a1->m_backgroundLayer, 0xFFFFFFFFLL);
}