//
// CustomizeObjectLayer::updateCurrentSelection from 0x1400a9550 to 0x1400a95a6 (86 bytes)
//
// 2 xrefs:
// > CustomizeObjectLayer::onPaste @ 0x1400a8141
// > ??> @ 0x1406c783c
//
// 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::updateCurrentSelection(CustomizeObjectLayer *a1)
{
int ActiveMode; // eax
ButtonSprite *ButtonByTag; // rax
ActiveMode = CustomizeObjectLayer::getActiveMode(a1, 0);
if ( (unsigned int)(ActiveMode - 10) <= 0x3DD )
{
a1->m_disableTextDelegate = 1;
a1->m_customColorChannel = ActiveMode;
CustomizeObjectLayer::updateCustomColorLabels(a1);
ActiveMode = 1008;
a1->m_disableTextDelegate = 0;
}
ButtonByTag = CustomizeObjectLayer::getButtonByTag(a1, ActiveMode);
CustomizeObjectLayer::highlightSelected(a1, ButtonByTag);
}