//
// SetupAdvFollowRetargetPopup::valueDidChange from 0x10006d7cc to 0x10006d95c (400 bytes)
//
// 1 xrefs:
// > ??> @ 0x1008c3c28
//
// 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 10:57:59 +0000
//
void __fastcall SetupAdvFollowRetargetPopup::valueDidChange(__int64 a1, int a2, float a3)
{
__int64 v6; // x19
std::string *v7; // x1
void *__p[2]; // [xsp+0h] [xbp-50h] BYREF
char v9; // [xsp+17h] [xbp-39h]
std::string v10; // [xsp+18h] [xbp-38h] BYREF
if ( (unsigned int)(a2 - 138) <= 0x3F && ((1LL << ((unsigned __int8)a2 + 118)) & 0xC000000000000001LL) != 0 )
{
SetupTriggerPopup::valueChanged(a1, 71, 0.0);
sub_100009900(&v10, "0");
if ( a3 == 0.0 )
{
LABEL_14:
v6 = cocos2d::CCDictionary::objectForKey_1(*(_QWORD *)(a1 + 760), 71);
if ( v6 )
{
if ( (v10.__r_.__value_.__r.__words[2] & 0x8000000000000000LL) == 0LL )
v7 = &v10;
else
v7 = (std::string *)v10.__r_.__value_.__r.__words[0];
sub_100009900(__p, (char *)v7);
CCTextInputNode::setString(v6, __p);
if ( v9 < 0 )
operator delete(__p[0]);
}
if ( SHIBYTE(v10.__r_.__value_.__r.__words[2]) < 0 )
operator delete(v10.__r_.__value_.__l.__data_);
return;
}
if ( a2 == 138 )
{
std::string::assign(&v10, "P1");
}
else
{
sub_1001AFA70(a1, 138, 0.0);
if ( a2 == 200 )
{
std::string::assign(&v10, "P2");
goto LABEL_13;
}
}
sub_1001AFA70(a1, 200, 0.0);
if ( a2 == 201 )
{
std::string::assign(&v10, "C");
goto LABEL_14;
}
LABEL_13:
sub_1001AFA70(a1, 201, 0.0);
goto LABEL_14;
}
if ( a2 == 535 && cocos2d::CCDictionary::objectForKey_1(*(_QWORD *)(a1 + 1000), 51) )
sub_1004E7D7C();
}