// // SmartTemplateCell::updateBGColor from 0x61defc to 0x61e028 (300 bytes) // // 3 xrefs: // > CustomListView::reloadAll @ 0x61e208 // > CustomListView::loadCell @ 0x620548 // > @ 0xc3f00 // // 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 SmartTemplateCell::updateBGColor(SmartTemplateCell *a1, int a2) { char v3; // w21 cocos2d::CCLayerColor *v4; // x0 void (__fastcall *v5)(cocos2d::CCLayerColor *__hidden, const cocos2d::ccColor3B *); // x2 cocos2d::CCLayerColor *m_backgroundLayer; // x0 void (__fastcall *setColor)(cocos2d::CCLayerColor *__hidden, const cocos2d::ccColor3B *); // x2 char v8; // [xsp+30h] [xbp+30h] BYREF char v9; // [xsp+31h] [xbp+31h] char v10; // [xsp+32h] [xbp+32h] v3 = a2; if ( GameLevelManager::sharedState()->m_smartTemplate && GameLevelManager::sharedState()->m_smartTemplate->m_nameIndex == a1->m_smartTemplate->m_nameIndex ) { m_backgroundLayer = a1->m_backgroundLayer; setColor = m_backgroundLayer->setColor; v8 = -26; v9 = -106; v10 = 10; setColor(m_backgroundLayer, (const cocos2d::ccColor3B *)&v8); } else { v4 = a1->m_backgroundLayer; v5 = v4->setColor; if ( (v3 & 1) != 0 ) { v8 = -62; v9 = 114; v10 = 62; } else { v8 = -95; v9 = 88; v10 = 44; } v5(v4, (const cocos2d::ccColor3B *)&v8); } a1->m_backgroundLayer->setOpacity(a1->m_backgroundLayer, 0xFFFFFFFFLL); }
GD Web Decomp Icon

GD Web Decomp

Raw Source