//
// EditorSFXSettingsPopup::valueDidChange from 0x14018d810 to 0x14018d877 (103 bytes)
//
// 2 xrefs:
// > ??> @ 0x14074c068
// > ??> @ 0x140919190
//
// 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 11:27:41 +0000
//
void __fastcall EditorSFXSettingsPopup::valueDidChange(__int64 a1, int a2, float a3)
{
_QWORD *v3; // rcx
_BYTE v4[16]; // [rsp+20h] [rbp-28h] BYREF
int v5; // [rsp+58h] [rbp+10h] BYREF
if ( a2 == 9001 )
{
v5 = *(_DWORD *)(a1 + 1000);
v3 = (_QWORD *)(EditorSFXManager::sharedState() + 128);
if ( a3 > 0.0 )
*(float *)(*(_QWORD *)sub_140067F60(v3, (__int64)v4, (unsigned __int8 *)&v5) + 20LL) = a3;
else
sub_140066A60(v3, (unsigned __int8 *)&v5);
}
}