//
// ItemTriggerGameObject::triggerObject from 0x4f5958 to 0x4f59e2 (138 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:51:16 +0000
//
char **__fastcall ItemTriggerGameObject::triggerObject(int a1, GJBaseGameLayer *a2, int a3, const void **a4)
{
int v6; // r5
char *v8; // [sp+0h] [bp-10h] BYREF
GJBaseGameLayer *v9; // [sp+4h] [bp-Ch]
int v10; // [sp+8h] [bp-8h]
const void **v11; // [sp+Ch] [bp-4h]
v8 = (char *)a1;
v9 = a2;
v10 = a3;
v11 = a4;
v6 = *(_DWORD *)(a1 + 892);
switch ( v6 )
{
case 3620:
if ( a4 )
{
std::vector::vector((int)&v8, a4);
}
else
{
v8 = nullptr;
v9 = nullptr;
v10 = 0;
}
((void (__fastcall *)(GJBaseGameLayer *, int, char **))GJBaseGameLayer::activateItemCompareTrigger)(a2, a1, &v8);
return std::__vector_base::~__vector_base(&v8);
case 3641:
return (char **)GJBaseGameLayer::activatePersistentItemTrigger(a2, (ItemTriggerGameObject *)a1);
case 3619:
return (char **)GJBaseGameLayer::activateItemEditTrigger(a2, (ItemTriggerGameObject *)a1);
default:
return EffectGameObject::triggerObject((char **)a1, (GJEffectManager **)a2, a3, a4);
}
}