// // cocos2d::extension::CCScale9Sprite::setOpacityModifyRGB from 0x18000fa20 to 0x18000face (174 bytes) // // 5 xrefs: // > @ 0x180029b50 // > @ 0x180030960 // > @ 0x1800309b8 // > @ 0x180032408 // > @ 0x18004bef4 // // This function is hookable on this platform (idp: pc, 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 12:15:39 +0000 // void __fastcall cocos2d::extension::CCScale9Sprite::setOpacityModifyRGB( cocos2d::extension::CCScale9Sprite *this, char a2) { __int64 v3; // rcx __int64 v4; // rax unsigned int *v5; // rbx __int64 v6; // rax _QWORD *v7; // rbx _QWORD *i; // rdi __int64 v9; // rax v3 = *((_QWORD *)this + 15); if ( v3 ) { *((_BYTE *)this + 200) = a2; v4 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v3 + 480LL))(v3); if ( v4 ) { v5 = *(unsigned int **)(v4 + 56); v6 = *v5; if ( (_DWORD)v6 ) { v7 = *((_QWORD **)v5 + 2); for ( i = &v7[v6 - 1]; v7 <= i; ++v7 ) { if ( !*v7 ) break; v9 = _RTDynamicCast( *v7, 0, &cocos2d::CCObject `RTTI Type Descriptor', &cocos2d::CCRGBAProtocol `RTTI Type Descriptor', 0); if ( v9 ) (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v9 + 48LL))(v9, *((unsigned __int8 *)this + 200)); } } } } }