// // cocos2d::extension::CCScale9Sprite::setOpacityModifyRGB from 0xaa21bc to 0xaa227c (192 bytes) // // 3 xrefs: // > `non-virtual thunk to'cocos2d::extension::CCScale9Sprite::setOpacityModifyRGB @ 0xaa2280 // > @ 0x5e248 // > @ 0x11f81d0 // // 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::CCScale9Sprite::setOpacityModifyRGB(cocos2d::extension::CCScale9Sprite *a1, bool a2) { cocos2d::CCSpriteBatchNode *scale9Image; // x20 cocos2d::CCSpriteBatchNode_vtbl *v4; // x2 cocos2d::CCSpriteBatchNode *v5; // x0 __int64 v6; // x0 unsigned int *v7; // x0 const void **v8; // x19 const void **v9; // x20 const void *i; // x0 void *v11; // x0 scale9Image = a1->_scale9Image; if ( scale9Image ) { v4 = scale9Image->cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable; v5 = a1->_scale9Image; a1->_opacityModifyRGB = a2; v6 = (__int64)v4->getChildren(v5); if ( v6 ) { v7 = *(unsigned int **)(v6 + 56); if ( *v7 ) { v8 = *((const void ***)v7 + 2); v9 = &v8[*v7 - 1]; if ( v8 <= v9 ) { for ( i = *v8; *v8; i = *v8 ) { v11 = _dynamic_cast( i, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCObject, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCRGBAProtocol, -2); if ( v11 ) (*(void (__fastcall **)(void *, bool))(*(_QWORD *)v11 + 48LL))(v11, a1->_opacityModifyRGB); if ( v9 < ++v8 ) break; } } } } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source