// // cocos2d::extension::CCControl::setOpacityModifyRGB from 0x5a0934 to 0x5a098a (86 bytes) // // 1 xrefs: // > `non-virtual thunk to'cocos2d::extension::CCControl::setOpacityModifyRGB @ 0x5a0998 // // 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; // r6 cocos2d::CCArray *v3; // r0 cocos2d::ccArray *data; // r2 const void **arr; // r4 const void **v6; // r5 const void *v7; // r0 const void *v8; // t1 void *v9; // r0 v2 = a2; a1->m_bIsOpacityModifyRGB = a2; v3 = a1->getChildren(a1); if ( v3 ) { data = v3->data; if ( data->num ) { arr = (const void **)data->arr; v6 = &arr[data->num] + 0x3FFFFFFF; while ( arr <= v6 ) { v8 = *arr++; v7 = v8; if ( !v8 ) break; v9 = _dynamic_cast( v7, (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))(*(_DWORD *)v9 + 24))(v9, v2); } } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source