//
// SetupAreaAnimTriggerPopup::updateDefaultTriggerValues from 0x1004d72d0 to 0x1004d73d7 (263 bytes)
//
// 1 xrefs:
// > ??> @ 0x100b5ff00
//
// 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 12:31:14 +0000
//
__int64 __fastcall SetupAreaAnimTriggerPopup::updateDefaultTriggerValues(_QWORD *a1, double a2)
{
__int64 v2; // r14
unsigned int v3; // r15d
unsigned int v4; // r13d
__int64 result; // rax
__int64 v6; // r14
const char *v7; // rsi
__int128 v8; // [rsp+0h] [rbp-40h] BYREF
void *__p; // [rsp+10h] [rbp-30h]
SetupTriggerPopup::updateDefaultTriggerValues(a1, a2);
v2 = cocos2d::CCDictionary::allKeys(a1[95]);
if ( (unsigned int)sub_1007FEF90(v2) )
{
v3 = 0;
do
{
v4 = *(_DWORD *)(sub_1007FEFE0(v2, v3) + 56);
if ( (*(float (__fastcall **)(_QWORD *, _QWORD))(*a1 + 1464LL))(a1, v4) == -99.0 )
{
LOBYTE(v8) = 4;
strcpy((char *)&v8 + 1, "NA");
SetupTriggerPopup::updateInputNodeLabel((__int64)a1, v4, &v8);
if ( (v8 & 1) != 0 )
operator delete(__p);
}
++v3;
}
while ( v3 < (unsigned int)sub_1007FEF90(v2) );
}
result = cocos2d::CCDictionary::objectForKey_1(a1[103], 51);
if ( result )
{
v6 = result;
v7 = "GroupID";
if ( (*(float (__fastcall **)(_QWORD *, __int64))(*a1 + 1464LL))(a1, 355) != 0.0 )
v7 = "EffectID";
return (*(__int64 (__fastcall **)(__int64, const char *))(*(_QWORD *)v6 + 928LL))(v6, v7);
}
return result;
}