//
// TimerTriggerGameObject::triggerObject from 0x1001c3fb0 to 0x1001c408c (220 bytes)
//
// 1 xrefs:
// > ??> @ 0x100ad7830
//
// 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:26:16 +0000
//
void __fastcall TimerTriggerGameObject::triggerObject(
unsigned __int64 a1,
_QWORD *a2,
__int64 a3,
const void **a4,
__m128 a5)
{
const void *v5; // r14
signed __int64 v6; // r15
void *__p[2]; // [rsp+0h] [rbp-40h] BYREF
char *v8; // [rsp+10h] [rbp-30h]
if ( (unsigned int)(*(_DWORD *)(a1 + 1028) - 3614) > 3 || *(_DWORD *)(a1 + 1028) == 3616 )
{
EffectGameObject::triggerObject(a1, a2, a3, (__int64)a4, a5);
}
else
{
if ( a4 )
{
*(_OWORD *)__p = 0;
v8 = nullptr;
v5 = *a4;
v6 = (_BYTE *)a4[1] - (_BYTE *)*a4;
if ( v6 )
{
if ( v6 < 0 )
sub_100093980();
__p[0] = operator new(v6);
v8 = (char *)__p[0] + v6;
memcpy(__p[0], v5, v6);
__p[1] = (char *)__p[0] + v6;
}
}
else
{
*(_OWORD *)__p = 0;
v8 = nullptr;
}
GJBaseGameLayer::activateTimerTrigger((__int64)a2, a1, (__int64)__p);
if ( __p[0] )
{
__p[1] = __p[0];
operator delete(__p[0]);
}
}
}