{"type": "func", "start": 8799296, "end": 8799332, "name": "GJBaseGameLayer::objectTypeToGameEvent", "pseudocode": "// \n// GJBaseGameLayer::objectTypeToGameEvent from 0x864440 to 0x864464 (36 bytes)\n// \n// 4 xrefs:\n// > PlayerObject::ringJump @ 0x63bd84\n// > GJBaseGameLayer::playerWillSwitchMode @ 0x88a1dc\n// > GJBaseGameLayer::bumpPlayer @ 0x88b4a4\n// > <???> @ 0x82f98\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nGJGameEvent GJBaseGameLayer::objectTypeToGameEvent(GJBaseGameLayer *a1, int a2)\n{\n  unsigned int v2; // w1\n  GJGameEvent result; // w0\n\n  v2 = a2 - 3;\n  result = 0;\n  if ( v2 <= 0x2B )\n    return byte_EED630[v2];\n  return result;\n}", "assembly": "; \n; GJBaseGameLayer::objectTypeToGameEvent from 0x864440 to 0x864464 (36 bytes)\n; \n; 4 xrefs:\n; > PlayerObject::ringJump @ 0x63bd84\n; > GJBaseGameLayer::playerWillSwitchMode @ 0x88a1dc\n; > GJBaseGameLayer::bumpPlayer @ 0x88b4a4\n; > <???> @ 0x82f98\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nSUB             W1, W1, #3                                             ; +0x0, 0x864440\nMOV             W0, #0                                                 ; +0x4, 0x864444\nCMP             W1, #0x2B ; '+'                                        ; +0x8, 0x864448\nB.HI            locret_864460                                          ; +0xc, 0x86444c\nADRL            X0, dword_EED5F0                                       ; +0x10, 0x864450\nADD             X0, X0, #(byte_EED630 - 0xEED5F0)                      ; +0x18, 0x864458\nLDRB            W0, [X0,W1,UXTW]                                       ; +0x1c, 0x86445c\nRET                                                                    ; +0x20, 0x864460", "xrefs": ["PlayerObject::ringJump @ 0x63bd84", "GJBaseGameLayer::playerWillSwitchMode @ 0x88a1dc", "GJBaseGameLayer::bumpPlayer @ 0x88b4a4", "<???> @ 0x82f98"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}