// // CommentCell::updateBGColor from 0x618780 to 0x61888c (268 bytes) // // 2 xrefs: // > CustomListView::loadCell @ 0x620704 // > @ 0xaef30 // // 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 CommentCell::updateBGColor(CommentCell *a1, int a2) { cocos2d::CCLayerColor *m_backgroundLayer; // x0 void (__fastcall *setColor)(cocos2d::CCLayerColor *__hidden, const cocos2d::ccColor3B *); // x2 char v4; // [xsp+20h] [xbp+20h] BYREF char v5; // [xsp+21h] [xbp+21h] char v6; // [xsp+22h] [xbp+22h] if ( a1->m_compactMode ) { m_backgroundLayer = a1->m_backgroundLayer; setColor = m_backgroundLayer->setColor; if ( (a2 & 1) != 0 ) { v4 = -112; v5 = 79; v6 = 39; } else { v4 = -100; v5 = 85; v6 = 42; } } else { m_backgroundLayer = a1->m_backgroundLayer; setColor = m_backgroundLayer->setColor; if ( (a2 & 1) != 0 ) { v4 = -62; v5 = 114; v6 = 62; } else { v4 = -95; v5 = 88; v6 = 44; } } setColor(m_backgroundLayer, (const cocos2d::ccColor3B *)&v4); }
GD Web Decomp Icon

GD Web Decomp

Raw Source