// // ColorSelectPopup::updateHSVValue from 0x100808010 to 0x1008080dc (204 bytes) // // 0 xrefs: // // 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:36:40 +0000 // _QWORD *__fastcall ColorSelectPopup::updateHSVValue(_QWORD *a1) { _QWORD *result; // rax __int64 v3; // rcx __int64 v4; // rdi unsigned int v5; // r14d __int64 v6; // rax __int64 v7; // rcx __int64 v8; // rcx result = (_QWORD *)a1[85]; if ( result ) { v3 = a1[150]; *(_QWORD *)((char *)result + 1612) = a1[149]; *(_QWORD *)((char *)result + 1620) = v3; } else { v4 = a1[86]; if ( v4 ) { result = (_QWORD *)sub_1007FEF90(v4); if ( (_DWORD)result ) { v5 = 0; do { v6 = sub_1007FEFE0(a1[86], v5); v7 = a1[150]; *(_QWORD *)(v6 + 1612) = a1[149]; *(_QWORD *)(v6 + 1620) = v7; ++v5; result = (_QWORD *)sub_1007FEF90(a1[86]); } while ( v5 < (unsigned int)result ); } } else { result = (_QWORD *)a1[143]; if ( result ) { v8 = a1[150]; result[13] = a1[149]; result[14] = v8; } } } return result; }