// // cocos2d::extension::CCScale9Sprite::setOpacity from 0xd13db8 to 0xd13e74 (188 bytes) // // 3 xrefs: // > `non-virtual thunk to'cocos2d::extension::CCScale9Sprite::setOpacity @ 0xd13e78 // > @ 0xc3760 // > @ 0x150da00 // // 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 // __int64 __fastcall cocos2d::extension::CCScale9Sprite::setOpacity(__int64 this, unsigned __int8 a2) { unsigned int v2; // w21 __int64 v3; // x1 unsigned int *v4; // x1 __int64 *v5; // x19 __int64 *v6; // x20 v2 = a2; v3 = *(_QWORD *)(this + 432); if ( v3 ) { *(_BYTE *)(this + 513) = v2; this = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v3 + 488LL))(v3); if ( this ) { v4 = *(unsigned int **)(this + 56); this = *v4; if ( (_DWORD)this ) { v5 = *((__int64 **)v4 + 2); v6 = &v5[(unsigned int)this - 1]; if ( v5 <= v6 ) { for ( this = *v5; *v5; this = *v5 ) { this = (__int64)_dynamic_cast( (const void *)this, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCObject, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCRGBAProtocol, -2); if ( this ) this = (*(__int64 (__fastcall **)(__int64, _QWORD))(*(_QWORD *)this + 40LL))(this, v2); if ( v6 < ++v5 ) break; } } } } } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source