{"type": "func", "start": 4296590988, "end": 4296591080, "name": "GJKeybindManager::globalChordsForAction", "pseudocode": "// \n// GJKeybindManager::globalChordsForAction from 0x10018c68c to 0x10018c6e8 (92 bytes)\n// \n// 1 xrefs:\n// > LevelControlConfig::bindGlobalBinds @ 0x1004f1634\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 10:59:53 +0000\n// \n\nvoid __usercall GJKeybindManager::globalChordsForAction(__int64 a1@<X0>, int a2@<W1>, _QWORD *a3@<X8>)\n{\n  __int64 v3; // x11\n  __int64 v4; // x9\n\n  if ( *(_BYTE *)(a1 + 184) != 1 )\n    goto LABEL_9;\n  v3 = *(_QWORD *)(a1 + 144);\n  if ( !v3 )\n    goto LABEL_9;\n  v4 = a1 + 144;\n  do\n  {\n    if ( *(_DWORD *)(v3 + 32) >= a2 )\n      v4 = v3;\n    v3 = *(_QWORD *)(v3 + 8LL * (*(_DWORD *)(v3 + 32) < a2));\n  }\n  while ( v3 );\n  if ( v4 != a1 + 144 && *(_DWORD *)(v4 + 32) <= a2 )\n    sub_10018E7F8(a3, *(_QWORD *)(v4 + 40), v4 + 48);\n  else\nLABEL_9:\n    GJKeybindManager::chordsForAction(a1, a2, a3);\n}", "assembly": "; \n; GJKeybindManager::globalChordsForAction from 0x10018c68c to 0x10018c6e8 (92 bytes)\n; \n; 1 xrefs:\n; > LevelControlConfig::bindGlobalBinds @ 0x1004f1634\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 10:59:53 +0000\n; \nLDRB            W9, [X0,#0xB8]                                         ; +0x0, 0x10018c68c\nCMP             W9, #1                                                 ; +0x4, 0x10018c690\nB.NE            loc_10018C6D4                                          ; +0x8, 0x10018c694\nMOV             X10, X0                                                ; +0xc, 0x10018c698\nLDR             X11, [X10,#0x90]!                                      ; +0x10, 0x10018c69c\nCBZ             X11, loc_10018C6D4                                     ; +0x14, 0x10018c6a0\nMOV             X9, X10                                                ; +0x18, 0x10018c6a4\nLDR             W12, [X11,#0x20]                                       ; +0x1c, 0x10018c6a8\nCMP             W12, W1                                                ; +0x20, 0x10018c6ac\nCSET            W12, LT                                                ; +0x24, 0x10018c6b0\nCSEL            X9, X9, X11, LT                                        ; +0x28, 0x10018c6b4\nLDR             X11, [X11,W12,UXTW#3]                                  ; +0x2c, 0x10018c6b8\nCBNZ            X11, loc_10018C6A8                                     ; +0x30, 0x10018c6bc\nCMP             X9, X10                                                ; +0x34, 0x10018c6c0\nB.EQ            loc_10018C6D4                                          ; +0x38, 0x10018c6c4\nLDR             W10, [X9,#0x20]                                        ; +0x3c, 0x10018c6c8\nCMP             W10, W1                                                ; +0x40, 0x10018c6cc\nB.LE            loc_10018C6D8                                          ; +0x44, 0x10018c6d0\nB               GJKeybindManager__chordsForAction                      ; +0x48, 0x10018c6d4\nLDR             X1, [X9,#0x28]                                         ; +0x4c, 0x10018c6d8\nADD             X2, X9, #0x30 ; '0'                                    ; +0x50, 0x10018c6dc\nMOV             X0, X8                                                 ; +0x54, 0x10018c6e0\nB               sub_10018E7F8                                          ; +0x58, 0x10018c6e4", "xrefs": ["LevelControlConfig::bindGlobalBinds @ 0x1004f1634"], "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"}