//
// SetupAreaMoveTriggerPopup::onSpecialTarget from 0x1004cff10 to 0x1004cffcc (188 bytes)
//
// 1 xrefs:
// > SetupAreaMoveTriggerPopup::addAreaDefaultControls @ 0x1004cf421
//
// 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:11 +0000
//
__int64 __fastcall SetupAreaMoveTriggerPopup::onSpecialTarget(_QWORD *a1, __int64 a2)
{
int v2; // r12d
__int64 v3; // r15
float *v4; // r14
int v5; // ecx
float v7; // [rsp+Ch] [rbp-24h]
float v8; // [rsp+Ch] [rbp-24h]
v7 = (*(float (__fastcall **)(_QWORD *, __int64))(*a1 + 1464LL))(a1, 538);
v2 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2);
v3 = a1[104];
v4 = (float *)operator new(0x40u);
cocos2d::CCObject::CCObject((__int64)v4);
v5 = 0;
if ( v2 != (int)v7 )
v5 = v2;
v8 = (float)v5;
*(_QWORD *)v4 = off_100AE75B8;
v4[14] = (float)v5;
cocos2d::CCObject::autorelease((__int64)v4);
cocos2d::CCDictionary::setObject_1(v3, (__int64)v4, 538);
SetupTriggerPopup::valueChanged(a1, 538, v8);
return SetupAreaMoveTriggerPopup::updateEnterTargetIDState(a1);
}