{"type": "func", "start": 4295000576, "end": 4295000604, "name": "-[AppController keyCodeFromButton:]", "pseudocode": "// \n// -[AppController keyCodeFromButton:] from 0x100008200 to 0x10000821c (28 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x1009990e0\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\nint __cdecl -[AppController keyCodeFromButton:](AppController *self, SEL a2, unsigned int a3)\n{\n  int result; // eax\n\n  result = -1;\n  if ( a3 <= 0xE )\n    return dword_1008151C8[a3];\n  return result;\n}", "assembly": "; \n; -[AppController keyCodeFromButton:] from 0x100008200 to 0x10000821c (28 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x1009990e0\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, 0x100008200\nmov     rbp, rsp                                                       ; +0x1, 0x100008201\nmov     eax, 0FFFFFFFFh                                                ; +0x4, 0x100008204\ncmp     edx, 0Eh                                                       ; +0x9, 0x100008209\nja      short loc_10000821A                                            ; +0xc, 0x10000820c\nmov     eax, edx                                                       ; +0xe, 0x10000820e\nlea     rcx, dword_1008151C8                                           ; +0x10, 0x100008210\nmov     eax, [rcx+rax*4]                                               ; +0x17, 0x100008217\npop     rbp                                                            ; +0x1a, 0x10000821a\nretn                                                                   ; +0x1b, 0x10000821b", "xrefs": ["<???> @ 0x1009990e0"], "is_objc": true, "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"}