// // cocos2d::CCNodeRGBA::setOpacity from 0x180004cc0 to 0x180004d42 (130 bytes) // // 16 xrefs: // > cocos2d::CCAtlasNode::setOpacity @ 0x180001e89 // > cocos2d::CCSprite::setOpacity @ 0x18008c5d4 // > @ 0x1800e6148 // > @ 0x1800e6aa8 // > @ 0x1800f7638 // > @ 0x1800f7a80 // > @ 0x1800f7ec8 // > @ 0x1800f8310 // > @ 0x1800f8770 // > @ 0x1800f8bd0 // > @ 0x1800f9018 // > @ 0x180131260 // > @ 0x180131270 // > @ 0x1801438a8 // > @ 0x1801ad5c4 // > @ 0x1801ad5d0 // // 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 *this, char a2) { bool v2; // zf unsigned __int8 v4; // si __int64 v5; // rax __int64 v6; // rdi v2 = BYTE1(this->m_nTag) == 0; BYTE1(this->m_uID) = a2; LOBYTE(this->m_uID) = a2; if ( !v2 ) { v4 = -1; v5 = _RTDynamicCast( *((_QWORD *)this - 13), 0, &cocos2d::CCNode `RTTI Type Descriptor', &cocos2d::CCRGBAProtocol `RTTI Type Descriptor', 0); v6 = v5; if ( v5 ) { if ( (*(unsigned __int8 (__fastcall **)(__int64))(*(_QWORD *)v5 + 88LL))(v5) ) v4 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v6 + 24LL))(v6); } ((void (__fastcall *)(cocos2d::CCNodeRGBA *, _QWORD))this->setVertexZ)(this, v4); } }