//
// SetupPersistentItemTriggerPopup::valueDidChange from 0x1406068e0 to 0x140606931 (81 bytes)
//
// 2 xrefs:
// > ??> @ 0x140813150
// > ??> @ 0x14092f99c
//
// This function is hookable on this platform (idp: pc, 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 11:35:12 +0000
//
void __fastcall SetupPersistentItemTriggerPopup::valueDidChange(__int64 a1, int a2, float a3)
{
struct cocos2d::CCObject *v3; // rax
int v4; // edx
if ( a2 == 494 )
{
v3 = cocos2d::CCDictionary::objectForKey(*(cocos2d::CCDictionary **)(a1 + 984), 80);
if ( v3 )
{
v4 = 2;
if ( a3 != 0.0 )
v4 = 4;
IDNameInput::setType((__int64)v3, v4);
}
}
}