// // ColorSelectPopup::onUpdateCopyColor from 0x100807510 to 0x10080757c (108 bytes) // // 1 xrefs: // > ColorSelectPopup::init @ 0x100805a3c // // 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 // __int64 __fastcall ColorSelectPopup::onUpdateCopyColor(__int64 a1, __int64 a2) { int v2; // eax int v3; // ecx int v4; // eax if ( *(int *)(a1 + 1176) >= 1000 ) *(_DWORD *)(a1 + 1176) = 0; v2 = *(_DWORD *)(a1 + 1176) + 2 * ((*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2) != 1) - 1; v3 = 0; if ( v2 > 0 ) v3 = v2; v4 = 999; if ( v3 < 999 ) v4 = v3; *(_DWORD *)(a1 + 1176) = v4; ColorSelectPopup::updateCopyColor(a1); return ColorSelectPopup::updateCopyColorTextInputLabel(a1); }