{"type": "func", "start": 4296960916, "end": 4296960952, "name": "GJBaseGameLayer::objectTypeToGameEvent", "pseudocode": "// \n// GJBaseGameLayer::objectTypeToGameEvent from 0x1001e6b94 to 0x1001e6bb8 (36 bytes)\n// \n// 3 xrefs:\n// > GJBaseGameLayer::playerWillSwitchMode @ 0x1001e6a08\n// > GJBaseGameLayer::bumpPlayer @ 0x1001e9084\n// > PlayerObject::ringJump @ 0x100228268\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 __fastcall GJBaseGameLayer::objectTypeToGameEvent(GJBaseGameLayer *a1, int a2)\n{\n  if ( (unsigned int)(a2 - 3) > 0x2B )\n    return 0;\n  else\n    return dword_10063A3F8[a2 - 3];\n}", "assembly": "; \n; GJBaseGameLayer::objectTypeToGameEvent from 0x1001e6b94 to 0x1001e6bb8 (36 bytes)\n; \n; 3 xrefs:\n; > GJBaseGameLayer::playerWillSwitchMode @ 0x1001e6a08\n; > GJBaseGameLayer::bumpPlayer @ 0x1001e9084\n; > PlayerObject::ringJump @ 0x100228268\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             W8, W1, #3                                             ; +0x0, 0x1001e6b94\nCMP             W8, #0x2B ; '+'                                        ; +0x4, 0x1001e6b98\nB.HI            loc_1001E6BB0                                          ; +0x8, 0x1001e6b9c\nADRL            X9, dword_10063A3F8                                    ; +0xc, 0x1001e6ba0\nLDR             W0, [X9,W8,UXTW#2]                                     ; +0x14, 0x1001e6ba8\nRET                                                                    ; +0x18, 0x1001e6bac\nMOV             W0, #0                                                 ; +0x1c, 0x1001e6bb0\nRET                                                                    ; +0x20, 0x1001e6bb4", "xrefs": ["GJBaseGameLayer::playerWillSwitchMode @ 0x1001e6a08", "GJBaseGameLayer::bumpPlayer @ 0x1001e9084", "PlayerObject::ringJump @ 0x100228268"], "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"}