//
// CustomizeObjectLayer::sliderChanged from 0x1400a7ec0 to 0x1400a7f0d (77 bytes)
//
// 2 xrefs:
// > CustomizeObjectLayer::init @ 0x1400a7091
// > ??> @ 0x1406c7758
//
// 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
//
void CustomizeObjectLayer::sliderChanged(CustomizeObjectLayer *a1, cocos2d::CCObject *a2)
{
float Value; // xmm0_4
float v4; // xmm0_4
GameObject *m_targetObject; // rcx
Value = SliderThumb::getValue((SliderThumb *)a2);
v4 = roundf((float)(Value * 30.0) - 10.0);
m_targetObject = a1->m_targetObject;
a1->m_kerningAmount = (int)v4;
((void (__fastcall *)(GameObject *))m_targetObject->updateTextKerning)(m_targetObject);
CustomizeObjectLayer::updateKerningLabel(a1);
}