// // cocos2d::extension::CCControlButton::setOpacity from 0x180007610 to 0x180007676 (102 bytes) // // 4 xrefs: // > @ 0x180023be0 // > @ 0x180027a28 // > @ 0x18002fdf8 // > @ 0x18004975c // // 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 __fastcall cocos2d::extension::CCControlButton::setOpacity( cocos2d::extension::CCControlButton *this, unsigned __int8 a2) { __int64 v4; // rax __int64 v5; // rax __int64 i; // rbx cocos2d::CCLayerRGBA::setOpacity(this, a2); v4 = *((_QWORD *)this + 18); if ( v4 ) { v5 = *(_QWORD *)(v4 + 56); if ( v5 ) { for ( i = *(_QWORD *)(v5 + 288); ; i = *(_QWORD *)(i + 288) ) { (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)(*(_QWORD *)(v5 + 264) + 320LL) + 40LL))( *(_QWORD *)(v5 + 264) + 320LL, a2); v5 = i; if ( !i ) break; } } } }