// // cocos2d::extension::CCControl::setOpacityModifyRGB from 0x1800048f0 to 0x180004992 (162 bytes) // // 14 xrefs: // > @ 0x1800235e8 // > @ 0x180023be8 // > @ 0x1800247b8 // > @ 0x180024860 // > @ 0x180024e10 // > @ 0x1800253f8 // > @ 0x1800259a8 // > @ 0x180025f78 // > @ 0x1800265a0 // > @ 0x180027a30 // > @ 0x18002d564 // > @ 0x18002d5bc // > @ 0x18002fdf8 // > @ 0x18004942c // // 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::extension::CCControl::setOpacityModifyRGB( cocos2d::extension::CCControl *this, unsigned __int8 a2) { __int64 v3; // rax unsigned int *v4; // rbx __int64 v5; // rax _QWORD *v6; // rbx _QWORD *i; // rdi __int64 v8; // rax *((_BYTE *)this + 24) = a2; v3 = (*(__int64 (__fastcall **)(char *))(*((_QWORD *)this - 51) + 464LL))((char *)this - 408); if ( v3 ) { v4 = *(unsigned int **)(v3 + 56); v5 = *v4; if ( (_DWORD)v5 ) { v6 = *((_QWORD **)v4 + 2); for ( i = &v6[v5 - 1]; v6 <= i; ++v6 ) { if ( !*v6 ) break; v8 = _RTDynamicCast( *v6, 0, &cocos2d::CCObject `RTTI Type Descriptor', &cocos2d::CCRGBAProtocol `RTTI Type Descriptor', 0); if ( v8 ) (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v8 + 48LL))(v8, a2); } } } }