{"type": "func", "start": 4294984928, "end": 4294984956, "name": "-[AppController keyCodeFromButton:]", "pseudocode": "// \n// -[AppController keyCodeFromButton:] from 0x1000044e0 to 0x1000044fc (28 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x100bdb168\n// \n// This function is hookable on this platform (idp: pc, 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 12:18:45 +0000\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_100A036F8[a3];\n  return result;\n}", "assembly": "; \n; -[AppController keyCodeFromButton:] from 0x1000044e0 to 0x1000044fc (28 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x100bdb168\n; \n; This function is hookable on this platform (idp: pc, 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 12:18:45 +0000\n; \npush    rbp                                                            ; +0x0, 0x1000044e0\nmov     rbp, rsp                                                       ; +0x1, 0x1000044e1\nmov     eax, 0FFFFFFFFh                                                ; +0x4, 0x1000044e4\ncmp     edx, 0Eh                                                       ; +0x9, 0x1000044e9\nja      short loc_1000044FA                                            ; +0xc, 0x1000044ec\nmov     eax, edx                                                       ; +0xe, 0x1000044ee\nlea     rcx, dword_100A036F8                                           ; +0x10, 0x1000044f0\nmov     eax, [rcx+rax*4]                                               ; +0x17, 0x1000044f7\npop     rbp                                                            ; +0x1a, 0x1000044fa\nretn                                                                   ; +0x1b, 0x1000044fb", "xrefs": ["<???> @ 0x100bdb168"], "is_objc": true, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "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"}