// // cocos2d::extension::CCScale9Sprite::setOpacity from 0x5a6298 to 0x5a62f4 (92 bytes) // // 1 xrefs: // > `non-virtual thunk to'cocos2d::extension::CCScale9Sprite::setOpacity @ 0x5a6300 // // 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::setOpacity(cocos2d::extension::CCScale9Sprite *a1, unsigned __int8 a2) { cocos2d::CCSpriteBatchNode *scale9Image; // r3 int v3; // r6 int v4; // r0 _DWORD *v5; // r2 const void **v6; // r4 const void **v7; // r5 const void *v8; // r0 const void *v9; // t1 void *v10; // r0 scale9Image = a1->_scale9Image; v3 = a2; if ( scale9Image ) { a1->_opacity = a2; v4 = (int)scale9Image->getChildren(scale9Image); if ( v4 ) { v5 = *(_DWORD **)(v4 + 52); if ( *v5 ) { v6 = (const void **)v5[3]; v7 = &v6[*v5] + 0x3FFFFFFF; while ( v6 <= v7 ) { v9 = *v6++; v8 = v9; if ( !v9 ) break; v10 = _dynamic_cast( v8, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCObject, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCRGBAProtocol, -2); if ( v10 ) (*(void (__fastcall **)(void *, int))(*(_DWORD *)v10 + 20))(v10, v3); } } } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source