//
// SetupAdvFollowRetargetPopup::valueDidChange from 0x55ed80 to 0x55ee7e (254 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 SetupAdvFollowRetargetPopup::valueDidChange(SetupAdvFollowRetargetPopup *a1, int a2, float a3)
{
cocos2d::CCObject *v6; // r7
char *v7; // r2
char *v8; // [sp+4h] [bp-Ch] BYREF
char v9[4]; // [sp+8h] [bp-8h] BYREF
if ( a2 != 138 && (a2 < 138 || (unsigned int)(a2 - 200) > 1) )
return;
SetupTriggerPopup::valueChanged(a1, 71, 0.0);
sub_776584((int)&v8, "0");
if ( a3 != 0.0 )
{
if ( a2 == 138 )
{
sub_7753D4((int)&v8, "P1");
}
else
{
SetupTriggerPopup::updateValue(a1, 138, 0.0);
if ( a2 == 200 )
{
sub_7753D4((int)&v8, "P2");
LABEL_13:
SetupTriggerPopup::updateValue(a1, 201, 0.0);
goto LABEL_5;
}
}
SetupTriggerPopup::updateValue(a1, 200, 0.0);
if ( a2 == 201 )
{
sub_7753D4((int)&v8, "C");
goto LABEL_5;
}
goto LABEL_13;
}
LABEL_5:
v6 = cocos2d::CCDictionary::objectForKey(a1->m_inputNodes, 71);
if ( v6 )
{
sub_776584((int)v9, v8);
CCTextInputNode::setString((int)v6, v9, v7);
sub_774008(v9);
}
sub_774008(&v8);
}