// // cocos2d::CCNodeRGBA::setOpacity from 0x10023d154 to 0x10023d1e8 (148 bytes) // // 11 xrefs: // > cocos2d::CCSprite::setOpacity @ 0x10023924c // > sub_10023D1E8 @ 0x10023d1ec // > @ 0x10076ed98 // > @ 0x100770de0 // > @ 0x100774648 // > @ 0x10079f098 // > @ 0x1007a7928 // > @ 0x1007c2c78 // > @ 0x1007c9308 // > @ 0x1007e74f0 // > @ 0x100815838 // // 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::CCNodeRGBA::setOpacity(cocos2d::CCNodeRGBA *a1, unsigned __int8 a2) { cocos2d::CCNode *m_pParent; // x0 void *v4; // x0 void *v5; // x20 __int64 v6; // x1 a1->_realOpacity = a2; a1->_displayedOpacity = a2; if ( a1->_cascadeOpacityEnabled ) { m_pParent = a1->m_pParent; if ( m_pParent && (v4 = __dynamic_cast( m_pParent, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCNode, (const struct __class_type_info *)&off_100770F10, -2)) != nullptr && (v5 = v4, (*(unsigned int (__fastcall **)(void *))(*(_QWORD *)v4 + 88LL))(v4)) ) { v6 = (*(__int64 (__fastcall **)(void *))(*(_QWORD *)v5 + 24LL))(v5); } else { v6 = 255; } ((void (__fastcall *)(cocos2d::CCNodeRGBA *, __int64))a1->updateDisplayedOpacity)(a1, v6); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source