// // cocos2d::CCSprite::setOpacity from 0x100239218 to 0x100239290 (120 bytes) // // 28 xrefs: // > CCPartAnimSprite::setOpacity @ 0x10007f648 // > TextArea::setOpacity @ 0x1000f6d58 // > sub_1000F6D78 @ 0x1000f6d90 // > CCSpriteCOpacity::setOpacity @ 0x1001b8264 // > sub_1001B8284 @ 0x1001b829c // > GJChestSprite::setOpacity @ 0x1001c8260 // > MultilineBitmapFont::setOpacity @ 0x100235774 // > sub_100239290 @ 0x100239294 // > GameObject::setOpacity @ 0x10025ba48 // > CCAnimatedSprite::setOpacity @ 0x1002fdf04 // > GJItemIcon::setOpacity @ 0x100307f38 // > @ 0x100763640 // > @ 0x100773770 // > @ 0x1007740a8 // > @ 0x100775210 // > @ 0x100777dc0 // > @ 0x10077bb00 // > @ 0x100790b50 // > @ 0x1007acd98 // > @ 0x1007ad350 // > @ 0x1007b3308 // > @ 0x1007b9f18 // > @ 0x1007c4770 // > @ 0x1007c8158 // > @ 0x1007e53c8 // > @ 0x1007ea3f0 // > @ 0x1007ef988 // > @ 0x10080af10 // // 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 __fastcall cocos2d::CCSprite::setOpacity(cocos2d::CCSprite *a1, unsigned __int8 a2) { int realOpacity; // w21 int v3; // w20 realOpacity = a1->_realOpacity; if ( realOpacity != a2 ) { v3 = a2; cocos2d::CCNodeRGBA::setOpacity(a1, a2); if ( a1->m_pobBatchNode && (v3 && !realOpacity || !v3 && realOpacity) ) ((void (__fastcall *)(cocos2d::CCSprite *, __int64))a1->setDirty)(a1, 1); cocos2d::CCSprite::updateColor(a1); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source