//
// TimerTriggerGameObject::triggerObject from 0x1001e2e60 to 0x1001e2f3c (220 bytes)
//
// 1 xrefs:
// > ??> @ 0x1008d3ff0
//
// 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 TimerTriggerGameObject::triggerObject(
TimerTriggerGameObject *a1,
GJBaseGameLayer *a2,
int a3,
std::vector *const a4)
{
std::__vector_base::pointer begin; // r14
signed __int64 v5; // r15
std::vector __p[2]; // [rsp+0h] [rbp-40h] BYREF
if ( (unsigned int)(a1->m_objectID - 3614) > 3 || a1->m_objectID == 3616 )
{
EffectGameObject::triggerObject(a1, a2, a3, a4);
}
else
{
if ( a4 )
{
memset(__p, 0, 24);
begin = a4->__begin_;
v5 = (char *)a4->__end_ - (char *)a4->__begin_;
if ( v5 )
{
if ( v5 < 0 )
sub_1000C40D0();
__p[0].__begin_ = (std::__vector_base::pointer)operator new(v5);
__p[0].__end_cap_.__value_ = (std::__vector_base::pointer)((char *)__p[0].__begin_ + v5);
memcpy(__p[0].__begin_, begin, v5);
__p[0].__end_ = (std::__vector_base::pointer)((char *)__p[0].__begin_ + v5);
}
}
else
{
memset(__p, 0, 24);
}
GJBaseGameLayer::activateTimerTrigger(a2, a1, __p);
if ( __p[0].__begin_ )
{
__p[0].__end_ = __p[0].__begin_;
operator delete(__p[0].__begin_);
}
}
}