// // cocos2d::extension::CCControl::setOpacityModifyRGB from 0xa99600 to 0xa996b0 (176 bytes) // // 12 xrefs: // > `non-virtual thunk to'cocos2d::extension::CCControl::setOpacityModifyRGB @ 0xa996b4 // > @ 0x3ed00 // > @ 0x11f4a40 // > @ 0x11f51a0 // > @ 0x11f5950 // > @ 0x11f6040 // > @ 0x11f6740 // > @ 0x11f6e40 // > @ 0x11f7b70 // > @ 0x11f8820 // > @ 0x11f8f00 // > @ 0x11fa7b0 // // 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 cocos2d::extension::CCControl::setOpacityModifyRGB(cocos2d::extension::CCControl *a1, bool a2) { _BOOL4 v2; // w21 __int64 (*getChildren)(void); // x1 __int64 v4; // x0 unsigned int *v5; // x1 const void **v6; // x19 const void **v7; // x20 const void *i; // x0 void *v9; // x0 v2 = a2; getChildren = (__int64 (*)(void))a1->getChildren; a1->m_bIsOpacityModifyRGB = v2; v4 = getChildren(); if ( v4 ) { v5 = *(unsigned int **)(v4 + 56); if ( *v5 ) { v6 = *((const void ***)v5 + 2); v7 = &v6[*v5 - 1]; if ( v6 <= v7 ) { for ( i = *v6; *v6; i = *v6 ) { v9 = _dynamic_cast( i, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCObject, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCRGBAProtocol, -2); if ( v9 ) (*(void (__fastcall **)(void *, _BOOL4))(*(_QWORD *)v9 + 48LL))(v9, v2); if ( v7 < ++v6 ) break; } } } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source