//
// SetupAdvFollowEditPhysicsPopup::valueDidChange from 0x10006d03c to 0x10006d0c8 (140 bytes)
//
// 1 xrefs:
// > ??> @ 0x1008c3400
//
// 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
//
__int64 __fastcall SetupAdvFollowEditPhysicsPopup::valueDidChange(__int64 result, int a2, float a3)
{
__int64 v3; // x1
if ( a2 == 535 )
{
result = cocos2d::CCDictionary::objectForKey_1(*(_QWORD *)(result + 1000), 51);
if ( result )
return sub_1004E7D7C();
}
else
{
if ( a2 == 307 )
{
if ( a3 == 0.0 )
return result;
v3 = 306;
return sub_1001AFA70(result, v3, 0.0);
}
if ( a2 == 306 && a3 != 0.0 )
{
v3 = 307;
return sub_1001AFA70(result, v3, 0.0);
}
}
return result;
}