// // CustomizeObjectLayer::hsvPopupClosed from 0x1001db4b0 to 0x1001db575 (197 bytes) // // 2 xrefs: // > sub_1001DB580 @ 0x1001db58c // > @ 0x100add9e0 // // 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:26:26 +0000 // __int64 __fastcall CustomizeObjectLayer::hsvPopupClosed(__int64 a1, __int64 a2, __int64 a3, __m128 a4) { unsigned int v6; // r15d __int64 v7; // rdi __int64 RelativeSpriteColor; // rax unsigned int v9; // r12d __int64 v10; // rax __int64 v11; // rax __m128 v13; // [rsp+0h] [rbp-30h] v13 = a4; v6 = ((*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2) != 1) + 1; v7 = *(_QWORD *)(a1 + 688); if ( v7 ) { RelativeSpriteColor = GameObject::getRelativeSpriteColor(v7, v6); if ( RelativeSpriteColor ) { _mm_storel_ps((double *)(RelativeSpriteColor + 16), a4); *(_QWORD *)(RelativeSpriteColor + 24) = a3; } } else if ( (unsigned int)sub_1007FEF90(*(_QWORD *)(a1 + 696)) ) { v9 = 0; do { v10 = sub_1007FEFE0(*(_QWORD *)(a1 + 696), v9); v11 = GameObject::getRelativeSpriteColor(v10, v6); if ( v11 ) { a4 = v13; _mm_storel_ps((double *)(v11 + 16), v13); *(_QWORD *)(v11 + 24) = a3; } ++v9; } while ( v9 < (unsigned int)sub_1007FEF90(*(_QWORD *)(a1 + 696)) ); } return CustomizeObjectLayer::updateHSVButtons(a1, a4); }