//
// GJEffectManager::runDeathTrigger from 0x100014ef0 to 0x100014f60 (112 bytes)
//
// 1 xrefs:
// > EffectGameObject::triggerObject @ 0x100385b0c
//
// 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
//
// local variable allocation has failed, the output may be wrong!
void __fastcall GJEffectManager::runDeathTrigger(
GJEffectManager *a1,
int a2,
bool a3,
std::vector *const a4,
int a5,
int a6)
{
std::__vector_base::pointer end; // x20
ToggleTriggerAction *v8; // x0
int v9; // [xsp+0h] [xbp-20h] BYREF
int v10; // [xsp+4h] [xbp-1Ch] BYREF
bool v11; // [xsp+Bh] [xbp-15h] BYREF
int v12; // [xsp+Ch] [xbp-14h] BYREF
v12 = a2;
v11 = a3;
v9 = a6;
v10 = a5;
end = a1->m_unkVector248.__end_;
if ( end >= a1->m_unkVector248.__end_cap_.__value_ )
{
v8 = (ToggleTriggerAction *)sub_10001C6E4(&a1->m_unkVector248, &v12, &v11, a4, &v10, &v9);
}
else
{
sub_10001C840(a1->m_unkVector248.__end_, *(_QWORD *)&a2, a3, a4);
v8 = end + 1;
a1->m_unkVector248.__end_ = end + 1;
}
a1->m_unkVector248.__end_ = v8;
}