//
// CustomizeObjectLayer::colorSetupClosed from 0x46200c to 0x462060 (84 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'CustomizeObjectLayer::colorSetupClosed @ 0x462064
//
// 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; // r1
ButtonSprite *ButtonByTag; // r0
CustomizeObjectLayer::updateSelected(a1, a2);
if ( (unsigned int)(a2 - 10) > 0x3DD )
{
v4 = a2;
}
else
{
a1->m_customColorChannel = a2;
a1->m_disableTextDelegate = 1;
CustomizeObjectLayer::updateCustomColorLabels(a1);
v4 = 1008;
a1->m_disableTextDelegate = 0;
}
ButtonByTag = CustomizeObjectLayer::getButtonByTag(a1, v4);
CustomizeObjectLayer::highlightSelected(a1, ButtonByTag);
CustomizeObjectLayer::updateColorSprite(a1);
CustomizeObjectLayer::updateChannelLabel(a1, a2);
}