//
// SetItemIDLayer::valueDidChange from 0xa97ce0 to 0xa97db0 (208 bytes)
//
// 2 xrefs:
// > ??> @ 0xf49c0
// > ??> @ 0x149b990
//
// 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 13:00:44 +0000
//
cocos2d::CCDictionary **__fastcall SetItemIDLayer::valueDidChange(cocos2d::CCDictionary **this, int a2, float a3)
{
int v4; // w1
unsigned int v5; // w19
cocos2d::CCArray *Objects; // x20
LabelGameObject *v7; // x0
bool v8; // cf
unsigned int v9; // w1
switch ( a2 )
{
case 391:
v5 = 0;
Objects = (cocos2d::CCArray *)SetupTriggerPopup::getObjects((SetupTriggerPopup *)this);
while ( 1 )
{
v8 = v5 >= (unsigned int)cocos2d::CCArray::count(Objects);
v9 = v5;
this = (cocos2d::CCDictionary **)Objects;
++v5;
if ( v8 )
break;
v7 = (LabelGameObject *)cocos2d::CCArray::objectAtIndex(Objects, v9);
LabelGameObject::updateLabelAlign(v7, (int)a3);
}
break;
case 390:
return (cocos2d::CCDictionary **)(*((__int64 (__fastcall **)(cocos2d::CCDictionary **))*this + 169))(this);
case 466:
this = (cocos2d::CCDictionary **)cocos2d::CCDictionary::objectForKey(*(this + 125), 80);
if ( this )
{
if ( a3 == 0.0 )
v4 = 2;
else
v4 = 4;
return (cocos2d::CCDictionary **)IDNameInput::setType((IDNameInput *)this, v4);
}
break;
}
return this;
}