{"type": "func", "start": 4295115228, "end": 4295115372, "name": "KeybindingsLayer::tintGlyph", "pseudocode": "// \n// KeybindingsLayer::tintGlyph from 0x1000241dc to 0x10002426c (144 bytes)\n// \n// 3 xrefs:\n// > KeybindingsLayer::buildContentForTab @ 0x100024a3c\n// > KeybindingsLayer::buildContentForTab @ 0x100024a9c\n// > ControllerInputNode::refreshVisuals @ 0x1004ab45c\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:57:24 +0000\n// \n\n_QWORD *__fastcall KeybindingsLayer::tintGlyph(__int64 a1, int a2)\n{\n  _QWORD *result; // x0\n  unsigned int *v4; // x9\n  __int64 v5; // x8\n  _QWORD **v6; // x19\n  unsigned __int64 v7; // x20\n  __int16 v8; // [xsp+Ch] [xbp-14h] BYREF\n  char v9; // [xsp+Eh] [xbp-12h]\n\n  v8 = a2;\n  v9 = BYTE2(a2);\n  (*(void (__fastcall **)(__int64, __int16 *))(*(_QWORD *)a1 + 960LL))(a1, &v8);\n  result = (_QWORD *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 488LL))(a1);\n  if ( result )\n  {\n    v4 = (unsigned int *)result[7];\n    v5 = *v4;\n    if ( (_DWORD)v5 )\n    {\n      v6 = *((_QWORD ***)v4 + 2);\n      v7 = (unsigned __int64)&v6[v5 - 1];\n      do\n      {\n        result = *v6;\n        if ( !*v6 )\n          break;\n        result = (_QWORD *)(*(__int64 (__fastcall **)(_QWORD *, __int16 *))(*result + 960LL))(result, &v8);\n        ++v6;\n      }\n      while ( (unsigned __int64)v6 <= v7 );\n    }\n  }\n  return result;\n}", "assembly": "; \n; KeybindingsLayer::tintGlyph from 0x1000241dc to 0x10002426c (144 bytes)\n; \n; 3 xrefs:\n; > KeybindingsLayer::buildContentForTab @ 0x100024a3c\n; > KeybindingsLayer::buildContentForTab @ 0x100024a9c\n; > ControllerInputNode::refreshVisuals @ 0x1004ab45c\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:57:24 +0000\n; \nSUB             SP, SP, #0x30                                          ; +0x0, 0x1000241dc\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x1000241e0\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x1000241e4\nADD             X29, SP, #0x20                                         ; +0xc, 0x1000241e8\nMOV             X19, X0                                                ; +0x10, 0x1000241ec\nSTRH            W1, [SP,#0x20+var_14]                                  ; +0x14, 0x1000241f0\nUBFX            X8, X1, #0x10, #0x10                                   ; +0x18, 0x1000241f4\nSTRB            W8, [SP,#0x20+var_12]                                  ; +0x1c, 0x1000241f8\nLDR             X8, [X0]                                               ; +0x20, 0x1000241fc\nLDR             X8, [X8,#0x3C0]                                        ; +0x24, 0x100024200\nADD             X1, SP, #0x20+var_14                                   ; +0x28, 0x100024204\nBLR             X8                                                     ; +0x2c, 0x100024208\nLDR             X8, [X19]                                              ; +0x30, 0x10002420c\nLDR             X8, [X8,#0x1E8]                                        ; +0x34, 0x100024210\nMOV             X0, X19                                                ; +0x38, 0x100024214\nBLR             X8                                                     ; +0x3c, 0x100024218\nCBZ             X0, loc_10002425C                                      ; +0x40, 0x10002421c\nLDR             X9, [X0,#0x38]                                         ; +0x44, 0x100024220\nLDR             W8, [X9]                                               ; +0x48, 0x100024224\nCBZ             W8, loc_10002425C                                      ; +0x4c, 0x100024228\nLDR             X19, [X9,#0x10]                                        ; +0x50, 0x10002422c\nADD             X8, X19, X8,LSL#3                                      ; +0x54, 0x100024230\nSUB             X20, X8, #8                                            ; +0x58, 0x100024234\nLDR             X0, [X19]                                              ; +0x5c, 0x100024238\nCBZ             X0, loc_10002425C                                      ; +0x60, 0x10002423c\nLDR             X8, [X0]                                               ; +0x64, 0x100024240\nLDR             X8, [X8,#0x3C0]                                        ; +0x68, 0x100024244\nADD             X1, SP, #0x20+var_14                                   ; +0x6c, 0x100024248\nBLR             X8                                                     ; +0x70, 0x10002424c\nADD             X19, X19, #8                                           ; +0x74, 0x100024250\nCMP             X19, X20                                               ; +0x78, 0x100024254\nB.LS            loc_100024238                                          ; +0x7c, 0x100024258\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x80, 0x10002425c\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0x84, 0x100024260\nADD             SP, SP, #0x30 ; '0'                                    ; +0x88, 0x100024264\nRET                                                                    ; +0x8c, 0x100024268", "xrefs": ["KeybindingsLayer::buildContentForTab @ 0x100024a3c", "KeybindingsLayer::buildContentForTab @ 0x100024a9c", "ControllerInputNode::refreshVisuals @ 0x1004ab45c"], "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"}