// // cocos2d::CCNodeRGBA::setOpacity from 0x100275160 to 0x1002751f4 (148 bytes) // // 18 xrefs: // > cocos2d::CCSprite::setOpacity @ 0x10028a565 // > cocos2d::CCAtlasNode::setOpacity @ 0x10032b069 // > sub_10032B0A0 @ 0x10032b0b4 // > @ 0x1008b1e38 // > @ 0x1008b3368 // > @ 0x1008b6600 // > @ 0x1008ef138 // > @ 0x1008ef608 // > @ 0x10090cbe0 // > @ 0x10092b398 // > @ 0x10092b848 // > @ 0x10092bd30 // > @ 0x10092c218 // > @ 0x10092c718 // > @ 0x10092cc30 // > @ 0x10092d118 // > @ 0x100965780 // > @ 0x100981938 // // 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) { unsigned __int8 v2; // bl void *v3; // rax void *v4; // r14 a1->_realOpacity = a2; a1->_displayedOpacity = a2; if ( a1->_cascadeOpacityEnabled ) { v2 = -1; if ( a1->m_pParent ) { v3 = __dynamic_cast( a1->m_pParent, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCNode, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCRGBAProtocol, -2); if ( v3 ) { v4 = v3; if ( (*(unsigned __int8 (__fastcall **)(void *))(*(_QWORD *)v3 + 88LL))(v3) ) v2 = (*(__int64 (__fastcall **)(void *))(*(_QWORD *)v4 + 24LL))(v4); } } ((void (__fastcall *)(cocos2d::CCNodeRGBA *, _QWORD))a1->updateDisplayedOpacity)(a1, v2); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source