//
// SetupAdvFollowRetargetPopup::updateDefaultTriggerValues from 0x10030be30 to 0x10030bf36 (262 bytes)
//
// 1 xrefs:
// > ??> @ 0x10090e9e0
//
// 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 SetupAdvFollowRetargetPopup::updateDefaultTriggerValues(SetupAdvFollowRetargetPopup *a1)
{
__m128 v1; // xmm0
cocos2d::CCObject *v2; // rax
CCTextInputNode *v3; // rbx
void **v4; // r14
__int16 v5; // [rsp+8h] [rbp-58h] BYREF
char v6; // [rsp+Ah] [rbp-56h]
char v7; // [rsp+18h] [rbp-48h] BYREF
char v8; // [rsp+20h] [rbp-40h] BYREF
char v9[15]; // [rsp+21h] [rbp-3Fh] BYREF
char v10; // [rsp+30h] [rbp-30h] BYREF
char v11; // [rsp+38h] [rbp-28h] BYREF
char v12[15]; // [rsp+39h] [rbp-27h] BYREF
char v13; // [rsp+48h] [rbp-18h] BYREF
SetupTriggerPopup::updateDefaultTriggerValues(a1);
v2 = cocos2d::CCDictionary::objectForKey(a1->m_inputNodes, 71);
if ( !v2 )
return;
v3 = (CCTextInputNode *)v2;
v1.f32[0] = ((float (__fastcall *)(SetupAdvFollowRetargetPopup *, __int64))a1->getValue)(a1, 138);
if ( v1.f32[0] != 0.0 )
{
v4 = (void **)&v10;
v8 = 4;
strcpy(v9, "P1");
CCTextInputNode::setString(v3, (__int64)&v8, v1);
if ( (v8 & 1) == 0 )
return;
goto LABEL_12;
}
v1.f32[0] = ((float (__fastcall *)(SetupAdvFollowRetargetPopup *, __int64))a1->getValue)(a1, 200);
if ( v1.f32[0] != 0.0 )
{
v4 = (void **)&v13;
v11 = 4;
strcpy(v12, "P2");
CCTextInputNode::setString(v3, (__int64)&v11, v1);
if ( (v11 & 1) == 0 )
return;
LABEL_12:
operator delete(*v4);
return;
}
v1.f32[0] = ((float (__fastcall *)(SetupAdvFollowRetargetPopup *, __int64))a1->getValue)(a1, 201);
if ( v1.f32[0] != 0.0 )
{
v4 = (void **)&v7;
v5 = 17154;
v6 = 0;
CCTextInputNode::setString(v3, (__int64)&v5, v1);
if ( (v5 & 1) != 0 )
goto LABEL_12;
}
}