//
// SetupSequenceTriggerPopup::onDeleteSelected from 0xb82500 to 0xb82564 (100 bytes)
//
// 3 xrefs:
// > ??> @ 0xe8cf0
// > SetupSequenceTriggerPopup::init @ 0xb8312c
// > ??> @ 0x1547060
//
// 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:02:29 +0000
//
__int64 __fastcall SetupSequenceTriggerPopup::onDeleteSelected(SetupSequenceTriggerPopup *this, cocos2d::CCObject *a2)
{
__int64 v3; // x0
int v4; // w0
v3 = *((_QWORD *)this + 127);
if ( v3 )
{
v4 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v3 + 64LL))(v3);
SequenceTriggerGameObject::deleteTarget(*((_QWORD *)this + 85), v4);
}
else
{
SequenceTriggerGameObject::deleteTarget(*((_QWORD *)this + 85), 0);
}
*((_QWORD *)this + 127) = 0;
return SetupSequenceTriggerPopup::updateGroupIDButtons(this);
}