//
// CustomizeObjectLayer::colorSetupClosed from 0x983d34 to 0x983da8 (116 bytes)
//
// 3 xrefs:
// > `non-virtual thunk to'CustomizeObjectLayer::colorSetupClosed @ 0x983dac
// > ??> @ 0x4bc70
// > ??> @ 0x1471a08
//
// This function is hookable on this platform (idp: arm, 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 12:57:52 +0000
//
__int64 __fastcall CustomizeObjectLayer::colorSetupClosed(CustomizeObjectLayer *this, unsigned int a2)
{
int v4; // w1
ButtonSprite *ButtonByTag; // x0
CustomizeObjectLayer::updateSelected(this, a2);
v4 = a2;
if ( a2 - 10 <= 0x3DD )
{
*((_DWORD *)this + 187) = a2;
*((_BYTE *)this + 922) = 1;
CustomizeObjectLayer::updateCustomColorLabels((ButtonSprite **)this);
*((_BYTE *)this + 922) = 0;
v4 = 1008;
}
ButtonByTag = (ButtonSprite *)CustomizeObjectLayer::getButtonByTag((cocos2d::CCArray **)this, v4);
CustomizeObjectLayer::highlightSelected((cocos2d::CCArray **)this, ButtonByTag);
CustomizeObjectLayer::updateColorSprite(this);
return CustomizeObjectLayer::updateChannelLabel(this, (GJSpecialColorSelect *)a2);
}