// // ColorSelectPopup::onCopy from 0x140090e20 to 0x140090e93 (115 bytes) // // 3 xrefs: // > ColorSelectPopup::init @ 0x14008e7d0 // > SetupPulsePopup::init @ 0x140439af2 // > @ 0x1406c6f9c // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // // Merged with: ColorSelectPopup::onCopy, SetupPulsePopup::onCopy // Hidden C++ exception states: #wind=1 __int64 __fastcall ColorSelectPopup::onCopy(__int64 a1) { __int64 v1; // rax __int16 v2; // bx char v3; // di __int64 result; // rax void *v5; // [rsp+30h] [rbp+8h] v1 = *(_QWORD *)(a1 + 952); v2 = *(_WORD *)(v1 + 472); v3 = *(_BYTE *)(v1 + 474); result = qword_1406C2ED8; if ( !qword_1406C2ED8 ) { v5 = operator new(0x668u); qword_1406C2ED8 = sub_14017AB00(v5); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8); result = qword_1406C2ED8; } *(_WORD *)(result + 944) = v2; *(_BYTE *)(result + 946) = v3; return result; }