//
// SetItemIDLayer::valueDidChange from 0x10009cab0 to 0x10009cb42 (146 bytes)
//
// 1 xrefs:
// > ??> @ 0x1008b6018
//
// 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
//
// local variable allocation has failed, the output may be wrong!
void __fastcall SetItemIDLayer::valueDidChange(SetItemIDLayer *a1, int a2, float a3)
{
cocos2d::CCArray *Objects; // rbx
unsigned int v4; // r15d
LabelGameObject *v5; // rax
__m128 v6; // rt1
if ( a2 == 390 )
{
v6.i32[0] = -1082130432;
((void (__fastcall *)(SetItemIDLayer *, __int64, _QWORD))a1->toggleGroup)(
a1,
390,
_mm_cvtsi128_si32((__m128i)_mm_cmpeq_ss(*(__m128 *)&a3, v6)) & 1);
}
else if ( a2 == 391 )
{
Objects = SetupTriggerPopup::getObjects(a1);
if ( (unsigned int)sub_100720070(Objects) )
{
v4 = 0;
do
{
v5 = (LabelGameObject *)sub_1007200C0(Objects, v4);
LabelGameObject::updateLabelAlign(v5, (int)a3);
++v4;
}
while ( v4 < (unsigned int)sub_100720070(Objects) );
}
}
}