// // cocos2d::extension::CCControl::setOpacityModifyRGB from 0xd0b328 to 0xd0b3d8 (176 bytes) // // 12 xrefs: // > `non-virtual thunk to'cocos2d::extension::CCControl::setOpacityModifyRGB @ 0xd0b3dc // > @ 0x5aa30 // > @ 0x150a1d0 // > @ 0x150a950 // > @ 0x150b120 // > @ 0x150b830 // > @ 0x150bf50 // > @ 0x150c670 // > @ 0x150d3d0 // > @ 0x150e0b0 // > @ 0x150e7b0 // > @ 0x15100d0 // // 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:06:59 +0000 // __int64 __fastcall cocos2d::extension::CCControl::setOpacityModifyRGB( cocos2d::extension::CCControl *this, unsigned __int8 a2) { unsigned int v2; // w21 __int64 result; // x0 unsigned int *v4; // x1 __int64 *v5; // x19 __int64 *v6; // x20 v2 = a2; *((_BYTE *)this + 426) = a2; result = (*(__int64 (__fastcall **)(cocos2d::extension::CCControl *))(*(_QWORD *)this + 488LL))(this); if ( result ) { v4 = *(unsigned int **)(result + 56); result = *v4; if ( (_DWORD)result ) { v5 = *((__int64 **)v4 + 2); v6 = &v5[(unsigned int)result - 1]; if ( v5 <= v6 ) { for ( result = *v5; *v5; result = *v5 ) { result = (__int64)_dynamic_cast( (const void *)result, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCObject, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCRGBAProtocol, -2); if ( result ) result = (*(__int64 (__fastcall **)(__int64, _QWORD))(*(_QWORD *)result + 48LL))(result, v2); if ( v6 < ++v5 ) break; } } } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source