//
// GJRequestCell::updateBGColor from 0x61cc34 to 0x61ccf4 (192 bytes)
//
// 2 xrefs:
// > CustomListView::loadCell @ 0x6205f8
// > ??> @ 0xa93f8
//
// 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 GJRequestCell::updateBGColor(GJRequestCell *a1, int a2)
{
cocos2d::CCLayerColor *m_backgroundLayer; // x0
void (__fastcall *setColor)(cocos2d::CCLayerColor *__hidden, const cocos2d::ccColor3B *); // x2
char v5; // [xsp+20h] [xbp+20h] BYREF
char v6; // [xsp+21h] [xbp+21h]
char v7; // [xsp+22h] [xbp+22h]
m_backgroundLayer = a1->m_backgroundLayer;
setColor = m_backgroundLayer->setColor;
if ( (a2 & 1) != 0 )
{
v5 = -62;
v6 = 114;
v7 = 62;
}
else
{
v5 = -95;
v6 = 88;
v7 = 44;
}
setColor(m_backgroundLayer, (const cocos2d::ccColor3B *)&v5);
a1->m_backgroundLayer->setOpacity(a1->m_backgroundLayer, 0xFFFFFFFFLL);
}