// // cocos2d::extension::CCScale9Sprite::setOpacityModifyRGB from 0xd13c1c to 0xd13cdc (192 bytes) // // 3 xrefs: // > `non-virtual thunk to'cocos2d::extension::CCScale9Sprite::setOpacityModifyRGB @ 0xd13ce0 // > @ 0x80b48 // > @ 0x150da50 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 13:07:04 +0000 // unsigned int *__fastcall cocos2d::extension::CCScale9Sprite::setOpacityModifyRGB(unsigned int *this, char a2) { __int64 v2; // x20 unsigned int *v3; // x21 unsigned int **v4; // x19 unsigned int **v5; // x20 v2 = *((_QWORD *)this + 54); if ( v2 ) { *((_BYTE *)this + 512) = a2; v3 = this; this = (unsigned int *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v2 + 488LL))(v2); if ( this ) { this = *((unsigned int **)this + 7); if ( *this ) { v4 = *((unsigned int ***)this + 2); v5 = &v4[*this - 1]; if ( v4 <= v5 ) { for ( this = *v4; *v4; this = *v4 ) { this = (unsigned int *)_dynamic_cast( this, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCObject, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCRGBAProtocol, -2); if ( this ) this = (unsigned int *)(*(__int64 (__fastcall **)(unsigned int *, _QWORD))(*(_QWORD *)this + 48LL))( this, *((unsigned __int8 *)v3 + 512)); if ( v5 < ++v4 ) break; } } } } } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source