//
// CustomizeObjectLayer::colorSetupClosed from 0x841820 to 0x841894 (116 bytes)
//
// 3 xrefs:
// > `non-virtual thunk to'CustomizeObjectLayer::colorSetupClosed @ 0x841898
// > ??> @ 0x33450
// > ??> @ 0x118c948
//
// 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::colorSetupClosed(CustomizeObjectLayer *a1, int a2)
{
int v4; // w1
ButtonSprite *ButtonByTag; // x0
CustomizeObjectLayer::updateSelected(a1, a2);
v4 = a2;
if ( (unsigned int)(a2 - 10) <= 0x3DD )
{
a1->m_customColorChannel = a2;
a1->m_disableTextDelegate = 1;
CustomizeObjectLayer::updateCustomColorLabels(a1);
a1->m_disableTextDelegate = 0;
v4 = 1008;
}
ButtonByTag = CustomizeObjectLayer::getButtonByTag(a1, v4);
CustomizeObjectLayer::highlightSelected(a1, ButtonByTag);
CustomizeObjectLayer::updateColorSprite(a1);
CustomizeObjectLayer::updateChannelLabel(a1, a2);
}