// // ColorSelectPopup::onCopyOpacity from 0x4dee02 to 0x4dee54 (82 bytes) // // 0 xrefs: // // 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 // unsigned int __fastcall ColorSelectPopup::onCopyOpacity(unsigned int this, cocos2d::CCObject *a2) { unsigned int v2; // r4 unsigned int v3; // r5 char v4; // r3 int v5; // r0 int v6; // r2 v2 = this; v3 = *(_DWORD *)(this + 528); v4 = *(_BYTE *)(this + 812) ^ 1; *(_BYTE *)(this + 812) = v4; if ( v3 ) { *(_BYTE *)(v3 + 1452) = v4; } else if ( *(_DWORD *)(this + 532) ) { while ( 1 ) { this = cocos2d::CCArray::count(*(cocos2d::CCArray **)(v2 + 532)); if ( v3 >= this ) break; v5 = cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)(v2 + 532), v3++); *(_BYTE *)(v5 + 1452) = *(_BYTE *)(v2 + 812); } } else { v6 = *(_DWORD *)(this + 784); if ( v6 ) *(_BYTE *)(v6 + 121) = v4; } return this; }