//
// SetupTriggerPopup::updateInputNodeLabel from 0xb1f76c to 0xb1f858 (236 bytes)
//
// 4 xrefs:
// > SetupAreaAnimTriggerPopup::onDeactivateAnimValue @ 0xb3bb9c
// > SetupAreaAnimTriggerPopup::updateDefaultTriggerValues @ 0xb3c444
// > FindObjectPopup::onBuildWindowContent @ 0xcbd4ac
// > ??> @ 0x77c98
//
// 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 13:01:36 +0000
//
__int64 __fastcall SetupTriggerPopup::updateInputNodeLabel(__int64 a1, int a2, char *a3)
{
cocos2d::CCDictionary *v4; // x0
_QWORD *v5; // x21
char v6; // w0
__int64 v7; // x0
__int64 v8; // x1
__int64 v11; // [xsp+40h] [xbp+40h] BYREF
__int64 v12; // [xsp+48h] [xbp+48h]
void *v13; // [xsp+50h] [xbp+50h]
v4 = *(cocos2d::CCDictionary **)(a1 + 760);
*(_BYTE *)(a1 + 744) = 1;
v5 = (_QWORD *)cocos2d::CCDictionary::objectForKey(v4, a2);
if ( v5 )
{
v11 = 0;
v12 = 0;
v6 = *a3;
v13 = nullptr;
if ( (v6 & 1) != 0 )
{
std::string::__init(&v11, *((void **)a3 + 2), *((_QWORD *)a3 + 1));
}
else
{
v7 = *(_QWORD *)a3;
v8 = *((_QWORD *)a3 + 1);
v13 = *((void **)a3 + 2);
v11 = v7;
v12 = v8;
}
CCTextInputNode::setString(v5, (char *)&v11);
if ( (v11 & 1) != 0 )
operator delete(v13);
}
*(_BYTE *)(a1 + 744) = 0;
return _stack_chk_guard;
}