//
// SetItemIDLayer::valueDidChange from 0x94b858 to 0x94b8fc (164 bytes)
//
// 2 xrefs:
// > ??> @ 0xbb950
// > ??> @ 0x11b4a80
//
// 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 SetItemIDLayer::valueDidChange(SetItemIDLayer *a1, int a2, float a3)
{
unsigned int v4; // w19
cocos2d::CCArray *Objects; // x20
LabelGameObject *v6; // x0
bool v7; // cf
unsigned int v8; // w1
if ( a2 == 391 )
{
v4 = 0;
Objects = SetupTriggerPopup::getObjects(a1);
while ( 1 )
{
v7 = v4 >= (unsigned int)cocos2d::CCArray::count(Objects);
v8 = v4++;
if ( v7 )
break;
v6 = (LabelGameObject *)cocos2d::CCArray::objectAtIndex(Objects, v8);
LabelGameObject::updateLabelAlign(v6, (int)a3);
}
}
else if ( a2 == 390 )
{
((void (__fastcall *)(SetItemIDLayer *))a1->toggleGroup)(a1);
}
}