// // cocos2d::CCSprite::setOpacity from 0xb16e24 to 0xb16eac (136 bytes) // // 30 xrefs: // > CCAnimatedSprite::setOpacity @ 0x571988 // > CCCountdown::setOpacity @ 0x5747d8 // > CCPartAnimSprite::setOpacity @ 0x576d3c // > MultilineBitmapFont::setOpacity @ 0x58b5c8 // > TextArea::setOpacity @ 0x592d14 // > CCSpriteCOpacity::setOpacity @ 0x5a80bc // > GameObject::setOpacity @ 0x644668 // > GJItemIcon::setOpacity @ 0x79a858 // > GJChestSprite::setOpacity @ 0x93a548 // > `non-virtual thunk to'cocos2d::CCSprite::setOpacity @ 0xb16eb0 // > @ 0x8e740 // > @ 0x1136270 // > @ 0x1139c80 // > @ 0x113cf00 // > @ 0x1142e80 // > @ 0x1144d70 // > @ 0x1145310 // > @ 0x1149750 // > @ 0x1153250 // > @ 0x1159aa0 // > @ 0x1192660 // > @ 0x1194350 // > @ 0x11aaa40 // > @ 0x11d9e60 // > @ 0x11f7460 // > @ 0x1202200 // > @ 0x1202790 // > @ 0x12032f0 // > @ 0x12188a0 // > @ 0x1219ed0 // // 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 cocos2d::CCSprite::setOpacity(cocos2d::CCSprite *a1, unsigned __int8 a2) { int v2; // w20 unsigned int realOpacity; // w3 float v4; // s8 v2 = a2; realOpacity = a1->_realOpacity; if ( realOpacity != a2 ) { v4 = (float)realOpacity; cocos2d::CCNodeRGBA::setOpacity(a1, a2); if ( a1->m_pobBatchNode && (v2 && v4 == 0.0 || !v2 && v4 > 0.0) ) a1->setDirty(a1, 1); cocos2d::CCSprite::updateColor(a1); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source