{"type": "func", "start": 4297598248, "end": 4297598284, "name": "GJBaseGameLayer::objectTypeToGameEvent", "pseudocode": "// \n// GJBaseGameLayer::objectTypeToGameEvent from 0x100282528 to 0x10028254c (36 bytes)\n// \n// 3 xrefs:\n// > GJBaseGameLayer::playerWillSwitchMode @ 0x10028239c\n// > GJBaseGameLayer::bumpPlayer @ 0x1002848cc\n// > PlayerObject::ringJump @ 0x1002c4ee8\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:01:56 +0000\n// \n\n__int64 __fastcall GJBaseGameLayer::objectTypeToGameEvent(__int64 a1, int a2)\n{\n  if ( (unsigned int)(a2 - 3) > 0x2B )\n    return 0;\n  else\n    return dword_1007630F0[a2 - 3];\n}", "assembly": "; \n; GJBaseGameLayer::objectTypeToGameEvent from 0x100282528 to 0x10028254c (36 bytes)\n; \n; 3 xrefs:\n; > GJBaseGameLayer::playerWillSwitchMode @ 0x10028239c\n; > GJBaseGameLayer::bumpPlayer @ 0x1002848cc\n; > PlayerObject::ringJump @ 0x1002c4ee8\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:01:56 +0000\n; \nSUB             W8, W1, #3                                             ; +0x0, 0x100282528\nCMP             W8, #0x2B ; '+'                                        ; +0x4, 0x10028252c\nB.HI            loc_100282544                                          ; +0x8, 0x100282530\nADRL            X9, dword_1007630F0                                    ; +0xc, 0x100282534\nLDR             W0, [X9,W8,UXTW#2]                                     ; +0x14, 0x10028253c\nRET                                                                    ; +0x18, 0x100282540\nMOV             W0, #0                                                 ; +0x1c, 0x100282544\nRET                                                                    ; +0x20, 0x100282548", "xrefs": ["GJBaseGameLayer::playerWillSwitchMode @ 0x10028239c", "GJBaseGameLayer::bumpPlayer @ 0x1002848cc", "PlayerObject::ringJump @ 0x1002c4ee8"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}