{"type": "func", "start": 4296166640, "end": 4296166668, "name": "GJBaseGameLayer::objectTypeToGameEvent", "pseudocode": "// \n// GJBaseGameLayer::objectTypeToGameEvent from 0x100124cf0 to 0x100124d0c (28 bytes)\n// \n// 1 xrefs:\n// > PlayerObject::ringJump @ 0x10041465d\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  unsigned int v2; // esi\n  GJGameEvent result; // eax\n\n  v2 = a2 - 3;\n  result = 0;\n  if ( v2 <= 0x2B )\n    return dword_100816BBC[v2];\n  return result;\n}", "assembly": "; \n; GJBaseGameLayer::objectTypeToGameEvent from 0x100124cf0 to 0x100124d0c (28 bytes)\n; \n; 1 xrefs:\n; > PlayerObject::ringJump @ 0x10041465d\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\npush    rbp                                                            ; +0x0, 0x100124cf0\nmov     rbp, rsp                                                       ; +0x1, 0x100124cf1\nadd     esi, 0FFFFFFFDh                                                ; +0x4, 0x100124cf4\nxor     eax, eax                                                       ; +0x7, 0x100124cf7\ncmp     esi, 2Bh ; '+'                                                 ; +0x9, 0x100124cf9\nja      short loc_100124D0A                                            ; +0xc, 0x100124cfc\nmov     eax, esi                                                       ; +0xe, 0x100124cfe\nlea     rcx, dword_100816BBC                                           ; +0x10, 0x100124d00\nmov     eax, [rcx+rax*4]                                               ; +0x17, 0x100124d07\npop     rbp                                                            ; +0x1a, 0x100124d0a\nretn                                                                   ; +0x1b, 0x100124d0b", "xrefs": ["PlayerObject::ringJump @ 0x10041465d"], "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"}