// // SmartTemplateCell::updateBGColor from 0x1400be9d0 to 0x1400beab2 (226 bytes) // // 3 xrefs: // > CustomListView::loadCell @ 0x1400abbbf // > CustomListView::reloadAll @ 0x1400ac610 // > @ 0x1406c7e90 // // 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 // // Hidden C++ exception states: #wind=2 void SmartTemplateCell::updateBGColor(SmartTemplateCell *a1, int a2) { char v2; // di __int64 v4; // rax __int64 v5; // rdx cocos2d::CCLayerColor **p_m_backgroundLayer; // rbx __int64 v7; // rdx void *v8; // [rsp+30h] [rbp+8h] BYREF v2 = a2; v4 = qword_1406C2EC0; if ( !qword_1406C2EC0 ) { v8 = operator new(0x3D0u); qword_1406C2EC0 = sub_140141280(v8); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2EC0 + 72LL))(qword_1406C2EC0); v4 = qword_1406C2EC0; } v5 = *(_QWORD *)(v4 + 960); if ( v5 && *(_DWORD *)(v5 + 200) == a1->m_smartTemplate->m_nameIndex ) { LOWORD(v8) = -26906; BYTE2(v8) = 10; p_m_backgroundLayer = &a1->m_backgroundLayer; } else { p_m_backgroundLayer = &a1->m_backgroundLayer; if ( (v2 & 1) != 0 ) { LOWORD(v8) = 29378; BYTE2(v8) = 62; } else { LOWORD(v8) = 22689; BYTE2(v8) = 44; } } (*p_m_backgroundLayer)->setColor(&(*p_m_backgroundLayer)->cocos2d::CCRGBAProtocol, (const cocos2d::ccColor3B *)&v8); LOBYTE(v7) = -1; (*p_m_backgroundLayer)->setOpacity(&(*p_m_backgroundLayer)->cocos2d::CCRGBAProtocol, v7); }
GD Web Decomp Icon

GD Web Decomp

Raw Source