//
// SetupTriggerPopup::updateInputNodeLabel from 0x1001336dc to 0x100133770 (148 bytes)
//
// 2 xrefs:
// > SetupAreaAnimTriggerPopup::onDeactivateAnimValue @ 0x10003a698
// > SetupAreaAnimTriggerPopup::updateDefaultTriggerValues @ 0x10003a768
//
// 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 __fastcall SetupTriggerPopup::updateInputNodeLabel(__int64 a1, int a2, __int64 a3)
{
cocos2d::CCObject *v5; // x0
cocos2d::CCObject *v6; // x20
void *__p[2]; // [xsp+0h] [xbp-40h] BYREF
__int64 v8; // [xsp+10h] [xbp-30h]
*(_BYTE *)(a1 + 716) = 1;
v5 = cocos2d::CCDictionary::objectForKey(*(cocos2d::CCDictionary **)(a1 + 728), a2);
if ( v5 )
{
v6 = v5;
if ( *(char *)(a3 + 23) < 0 )
{
sub_1000097D0(__p, *(void **)a3, *(_QWORD *)(a3 + 8));
}
else
{
*(_OWORD *)__p = *(_OWORD *)a3;
v8 = *(_QWORD *)(a3 + 16);
}
CCTextInputNode::setString(v6, __p);
if ( SHIBYTE(v8) < 0 )
operator delete(__p[0]);
}
*(_BYTE *)(a1 + 716) = 0;
}