//
// SetupAdvFollowRetargetPopup::valueDidChange from 0x699e3c to 0x699f86 (330 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:56:17 +0000
//
cocos2d::CCObject **__fastcall SetupAdvFollowRetargetPopup::valueDidChange(cocos2d::CCObject **this, int a2, float a3)
{
cocos2d::CCDictionary **v3; // r6
int v6; // r8
size_t v7; // r0
int v8; // r1
int v9[2]; // [sp+4h] [bp-1Ch] BYREF
char *v10; // [sp+Ch] [bp-14h]
int v11[3]; // [sp+10h] [bp-10h] BYREF
v3 = this;
if ( a2 <= 201 )
{
if ( a2 < 200 && a2 != 138 )
return this;
SetupTriggerPopup::valueChanged(this, 71, 0.0);
v9[0] = 0;
v9[1] = 0;
v10 = nullptr;
std::string::__init(v9, "0", 1u);
if ( a3 == 0.0 )
goto LABEL_8;
if ( a2 == 138 )
{
std::string::assign(v9, "P1");
}
else
{
SetupTriggerPopup::updateValue(v3, 138, 0.0);
if ( a2 == 200 )
{
std::string::assign(v9, "P2");
goto LABEL_16;
}
}
SetupTriggerPopup::updateValue(v3, 200, 0.0);
if ( a2 == 201 )
{
std::string::assign(v9, "C");
goto LABEL_8;
}
LABEL_16:
SetupTriggerPopup::updateValue(v3, 201, 0.0);
LABEL_8:
v6 = cocos2d::CCDictionary::objectForKey(v3[144], 71);
if ( v6 )
{
if ( (v9[0] & 1) == 0 )
v3 = (cocos2d::CCDictionary **)((char *)v9 + 1);
v11[0] = 0;
if ( (v9[0] & 1) != 0 )
v3 = (cocos2d::CCDictionary **)v10;
v11[1] = 0;
v11[2] = 0;
v7 = strlen((const char *)v3);
std::string::__init(v11, v3, v7);
CCTextInputNode::setString(v6, (int)v11);
std::string::~string((int)v11);
}
return (cocos2d::CCObject **)std::string::~string((int)v9);
}
if ( a2 == 535 )
{
this = (cocos2d::CCObject **)cocos2d::CCDictionary::objectForKey(*(this + 176), 51);
if ( this )
{
if ( a3 == 0.0 )
v8 = 1;
else
v8 = 6;
return (cocos2d::CCObject **)IDNameInput::setType((IDNameInput *)this, v8);
}
}
return this;
}