//
// GJBaseGameLayer::objectTypeToGameEvent from 0x47596c to 0x475982 (22 bytes)
//
// 3 xrefs:
// > PlayerObject::ringJump @ 0x34e148
// > GJBaseGameLayer::playerWillSwitchMode @ 0x491684
// > GJBaseGameLayer::bumpPlayer @ 0x492176
//
// 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
//
GJGameEvent GJBaseGameLayer::objectTypeToGameEvent(GJBaseGameLayer *a1, int a2)
{
unsigned int v2; // r1
v2 = a2 - 3;
if ( v2 > 0x2B )
return 0;
else
return *((unsigned __int8 *)&unk_9ABF60 + v2 + 52);
}