//
// SetupAdvFollowPopup::valueDidChange from 0x55ec3c to 0x55ed6a (302 bytes)
//
// 0 xrefs:
//
// 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 SetupAdvFollowPopup::valueDidChange(SetupAdvFollowPopup *a1, int a2, float a3)
{
cocos2d::CCObject *v6; // r4
char *v7; // r2
int v8; // r1
char *v9; // [sp+4h] [bp-Ch] BYREF
char v10[4]; // [sp+8h] [bp-8h] BYREF
if ( a2 > 201 )
{
if ( a2 == 306 )
{
if ( a3 == 0.0 )
return;
v8 = 307;
}
else
{
if ( a2 != 307 || a3 == 0.0 )
return;
v8 = 306;
}
SetupTriggerPopup::updateValue(a1, v8, 0.0);
return;
}
if ( a2 < 200 && a2 != 138 )
return;
SetupTriggerPopup::valueChanged(a1, 71, 0.0);
sub_776584((int)&v9, "0");
if ( a3 != 0.0 )
{
if ( a2 == 138 )
{
sub_7753D4((int)&v9, "P1");
}
else
{
SetupTriggerPopup::updateValue(a1, 138, 0.0);
if ( a2 == 200 )
{
sub_7753D4((int)&v9, "P2");
LABEL_17:
SetupTriggerPopup::updateValue(a1, 201, 0.0);
goto LABEL_9;
}
}
SetupTriggerPopup::updateValue(a1, 200, 0.0);
if ( a2 == 201 )
{
sub_7753D4((int)&v9, "C");
goto LABEL_9;
}
goto LABEL_17;
}
LABEL_9:
v6 = cocos2d::CCDictionary::objectForKey(a1->m_inputNodes, 71);
if ( v6 )
{
sub_776584((int)v10, v9);
CCTextInputNode::setString((int)v6, v10, v7);
sub_774008(v10);
}
sub_774008(&v9);
}