// // ColorSelectPopup::updateHSVValue from 0x4df240 to 0x4df2b2 (114 bytes) // // 1 xrefs: // > ColorSelectPopup::closeColorSelect @ 0x4df374 // // 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::updateHSVValue(_DWORD *this) { _DWORD *v1; // r4 unsigned int v2; // r5 _DWORD *v3; // r4 _DWORD *v4; // r5 int v5; // r1 int v6; // r2 int v7; // r3 _DWORD *v8; // r0 int v9; // r5 _DWORD *v10; // r4 int v11; // [sp+24h] [bp-10h] int v12; // [sp+28h] [bp-Ch] int v13; // [sp+2Ch] [bp-8h] v1 = this; v2 = *(this + 132); if ( v2 ) { v3 = this + 205; v4 = (_DWORD *)(v2 + 1432); this = (_DWORD *)*(this + 205); v5 = v3[1]; v6 = v3[2]; v7 = v3[3]; LABEL_8: *v4 = this; v4[1] = v5; v4[2] = v6; v4[3] = v7; return this; } if ( !*(this + 133) ) { v9 = *(this + 196); if ( !v9 ) return this; v10 = this + 205; v4 = (_DWORD *)(v9 + 100); this = (_DWORD *)*(this + 205); v5 = v10[1]; v6 = v10[2]; v7 = v10[3]; goto LABEL_8; } while ( 1 ) { this = (_DWORD *)cocos2d::CCArray::count((cocos2d::CCArray *)v1[133]); if ( v2 >= (unsigned int)this ) break; v8 = (_DWORD *)cocos2d::CCArray::objectAtIndex((cocos2d::CCArray *)v1[133], v2++); v11 = v1[206]; v12 = v1[207]; v13 = v1[208]; v8[358] = v1[205]; v8[359] = v11; v8[360] = v12; v8[361] = v13; } return this; }