// // ColorSelectPopup::updateOpacity from 0x4deee0 to 0x4def30 (80 bytes) // // 2 xrefs: // > ColorSelectPopup::onDefault @ 0x4df450 // > ColorSelectPopup::sliderChanged @ 0x4df6d0 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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 11:50:59 +0000 // _DWORD *__fastcall ColorSelectPopup::updateOpacity(_DWORD *this) { _DWORD *v1; // r5 unsigned int v2; // r4 int v3; // r0 int v4; // r3 v1 = this; v2 = *(this + 132); if ( v2 ) { *(_DWORD *)(v2 + 1276) = *(this + 195); } else if ( *(this + 133) ) { while ( 1 ) { this = (_DWORD *)cocos2d::CCArray::count((cocos2d::CCArray *)v1[133]); if ( v2 >= (unsigned int)this ) break; v3 = cocos2d::CCArray::objectAtIndex((cocos2d::CCArray *)v1[133], v2++); *(_DWORD *)(v3 + 1276) = v1[195]; } } else { v4 = *(this + 196); if ( v4 ) *(_DWORD *)(v4 + 92) = *(this + 195); } return this; }