// // cocos2d::CCNodeRGBA::setOpacity from 0x180004db0 to 0x180004e35 (133 bytes) // // 16 xrefs: // > cocos2d::CCAtlasNode::setOpacity @ 0x180001e49 // > cocos2d::CCSprite::setOpacity @ 0x18008f7c3 // > @ 0x1800ec1a8 // > @ 0x1800ecb00 // > @ 0x1800fdab0 // > @ 0x1800fdf08 // > @ 0x1800fe360 // > @ 0x1800fe7b8 // > @ 0x1800fec28 // > @ 0x1800ff098 // > @ 0x1800ff4f0 // > @ 0x18013a0cc // > @ 0x18013a0dc // > @ 0x18014cf68 // > @ 0x1801b75e8 // > @ 0x1801b75f4 // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 11:21:17 +0000 // void __fastcall cocos2d::CCNodeRGBA::setOpacity(cocos2d::CCNodeRGBA *this, char a2) { bool v2; // zf unsigned __int8 v4; // si __int64 v5; // rax __int64 v6; // rdi v2 = *((_BYTE *)this + 17) == 0; *((_BYTE *)this + 9) = a2; *((_BYTE *)this + 8) = 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))(*(_QWORD *)this + 104LL))(this, v4); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source