//
// ArtTriggerGameObject::triggerObject from 0x4e68e0 to 0x4e691a (58 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:05 +0000
//
GJBaseGameLayer *__fastcall ArtTriggerGameObject::triggerObject(int a1, GJBaseGameLayer *a2)
{
GJBaseGameLayer *result; // r0
int v4; // r2
result = a2;
v4 = *(_DWORD *)(a1 + 892);
switch ( v4 )
{
case 3030:
return (GJBaseGameLayer *)GJBaseGameLayer::swapGround(a2, *(_DWORD *)(a1 + 1648));
case 3031:
return (GJBaseGameLayer *)GJBaseGameLayer::swapMiddleground(a2, *(_DWORD *)(a1 + 1648));
case 3029:
return (GJBaseGameLayer *)GJBaseGameLayer::swapBackground(a2, *(_DWORD *)(a1 + 1648));
}
return result;
}