//
// GJBaseGameLayer::objectTypeToGameEvent from 0x59542c to 0x595442 (22 bytes)
//
// 3 xrefs:
// > PlayerObject::ringJump @ 0x44990e
// > GJBaseGameLayer::bumpPlayer @ 0x5a4aee
// > GJBaseGameLayer::playerWillSwitchMode @ 0x5b8f50
//
// 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:53:08 +0000
//
int __fastcall GJBaseGameLayer::objectTypeToGameEvent(GJBaseGameLayer *this, int a2)
{
unsigned int v2; // r1
v2 = a2 - 3;
if ( v2 > 0x2B )
return 0;
else
return *((unsigned __int8 *)&unk_BEE010 + v2 + 52);
}