{"type": "func", "start": 4296178816, "end": 4296179152, "name": "CustomSFXCell::updateBGColor", "pseudocode": "// \n// CustomSFXCell::updateBGColor from 0x100127c80 to 0x100127dd0 (336 bytes)\n// \n// 2 xrefs:\n// > CustomListView::loadCell @ 0x100125f60\n// > CustomListView::reloadAll @ 0x1001325c0\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:18 +0000\n// \n\n__int64 __fastcall CustomSFXCell::updateBGColor(__int64 a1, char a2)\n{\n  __int64 v4; // x8\n  int v5; // w21\n  int v6; // w21\n  __int64 v7; // x0\n  void (*v8)(void); // x8\n  __int64 v9; // x0\n  __int64 v10; // x0\n  _WORD v12[9]; // [xsp+Ch] [xbp-34h] BYREF\n  char v13; // [xsp+1Eh] [xbp-22h]\n\n  if ( *(_BYTE *)(a1 + 570) == 1 )\n  {\n    v4 = *(_QWORD *)(a1 + 560);\n    if ( v4\n      && (v5 = *(_DWORD *)(v4 + 56), v5 == (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)a1 + 1160LL))(a1))\n      && (v6 = *(_DWORD *)(*(_QWORD *)(a1 + 560) + 76LL),\n          v6 == (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)a1 + 1168LL))(a1)) )\n    {\n      v7 = *(_QWORD *)(a1 + 528);\n      v13 = 50;\n      v12[8] = -29496;\n      v8 = *(void (**)(void))(*(_QWORD *)v7 + 1216LL);\n    }\n    else\n    {\n      v10 = *(_QWORD *)(a1 + 528);\n      if ( (a2 & 1) != 0 )\n        memset(&v12[6], 100, 3);\n      else\n        memset(&v12[4], 75, 3);\n      v8 = *(void (**)(void))(*(_QWORD *)v10 + 1216LL);\n    }\n  }\n  else\n  {\n    v9 = *(_QWORD *)(a1 + 528);\n    if ( (a2 & 1) != 0 )\n      memset(&v12[2], 50, 3);\n    else\n      memset(v12, 75, 3);\n    v8 = *(void (**)(void))(*(_QWORD *)v9 + 1216LL);\n  }\n  v8();\n  return (*(__int64 (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 528) + 1168LL))(*(_QWORD *)(a1 + 528), 255);\n}", "assembly": "; \n; CustomSFXCell::updateBGColor from 0x100127c80 to 0x100127dd0 (336 bytes)\n; \n; 2 xrefs:\n; > CustomListView::loadCell @ 0x100125f60\n; > CustomListView::reloadAll @ 0x1001325c0\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:18 +0000\n; \nSUB             SP, SP, #0x50                                          ; +0x0, 0x100127c80\nSTP             X22, X21, [SP,#0x40+var_20]                            ; +0x4, 0x100127c84\nSTP             X20, X19, [SP,#0x40+var_10]                            ; +0x8, 0x100127c88\nSTP             X29, X30, [SP,#0x40+var_s0]                            ; +0xc, 0x100127c8c\nADD             X29, SP, #0x40                                         ; +0x10, 0x100127c90\nMOV             X20, X1                                                ; +0x14, 0x100127c94\nMOV             X19, X0                                                ; +0x18, 0x100127c98\nLDRB            W8, [X0,#0x23A]                                        ; +0x1c, 0x100127c9c\nCMP             W8, #1                                                 ; +0x20, 0x100127ca0\nB.NE            loc_100127D10                                          ; +0x24, 0x100127ca4\nLDR             X8, [X19,#0x230]                                       ; +0x28, 0x100127ca8\nCBZ             X8, loc_100127D3C                                      ; +0x2c, 0x100127cac\nLDR             W21, [X8,#0x38]                                        ; +0x30, 0x100127cb0\nLDR             X8, [X19]                                              ; +0x34, 0x100127cb4\nLDR             X8, [X8,#0x488]                                        ; +0x38, 0x100127cb8\nMOV             X0, X19                                                ; +0x3c, 0x100127cbc\nBLR             X8                                                     ; +0x40, 0x100127cc0\nCMP             W21, W0                                                ; +0x44, 0x100127cc4\nB.NE            loc_100127D3C                                          ; +0x48, 0x100127cc8\nLDR             X8, [X19,#0x230]                                       ; +0x4c, 0x100127ccc\nLDR             W21, [X8,#0x4C]                                        ; +0x50, 0x100127cd0\nLDR             X8, [X19]                                              ; +0x54, 0x100127cd4\nLDR             X8, [X8,#0x490]                                        ; +0x58, 0x100127cd8\nMOV             X0, X19                                                ; +0x5c, 0x100127cdc\nBLR             X8                                                     ; +0x60, 0x100127ce0\nCMP             W21, W0                                                ; +0x64, 0x100127ce4\nB.NE            loc_100127D3C                                          ; +0x68, 0x100127ce8\nLDR             X0, [X19,#0x210]                                       ; +0x6c, 0x100127cec\nMOV             W8, #0x32 ; '2'                                        ; +0x70, 0x100127cf0\nSTRB            W8, [SP,#0x40+var_22]                                  ; +0x74, 0x100127cf4\nMOV             W8, #0x8CC8                                            ; +0x78, 0x100127cf8\nSTRH            W8, [SP,#0x40+var_24]                                  ; +0x7c, 0x100127cfc\nLDR             X8, [X0]                                               ; +0x80, 0x100127d00\nLDR             X8, [X8,#0x4C0]                                        ; +0x84, 0x100127d04\nADD             X1, SP, #0x40+var_24                                   ; +0x88, 0x100127d08\nB               loc_100127DA4                                          ; +0x8c, 0x100127d0c\nLDR             X0, [X19,#0x210]                                       ; +0x90, 0x100127d10\nTBNZ            W20, #0, loc_100127D68                                 ; +0x94, 0x100127d14\nMOV             W8, #0x4B4B4B                                          ; +0x98, 0x100127d18\nSTRH            W8, [SP,#0x40+var_34]                                  ; +0xa0, 0x100127d20\nLSR             W8, W8, #0x10                                          ; +0xa4, 0x100127d24\nSTRB            W8, [SP,#0x40+var_32]                                  ; +0xa8, 0x100127d28\nLDR             X8, [X0]                                               ; +0xac, 0x100127d2c\nLDR             X8, [X8,#0x4C0]                                        ; +0xb0, 0x100127d30\nADD             X1, SP, #0x40+var_34                                   ; +0xb4, 0x100127d34\nB               loc_100127DA4                                          ; +0xb8, 0x100127d38\nLDR             X0, [X19,#0x210]                                       ; +0xbc, 0x100127d3c\nTBNZ            W20, #0, loc_100127D88                                 ; +0xc0, 0x100127d40\nMOV             W8, #0x4B4B4B                                          ; +0xc4, 0x100127d44\nSTRH            W8, [SP,#0x40+var_2C]                                  ; +0xcc, 0x100127d4c\nLSR             W8, W8, #0x10                                          ; +0xd0, 0x100127d50\nSTRB            W8, [SP,#0x40+var_2A]                                  ; +0xd4, 0x100127d54\nLDR             X8, [X0]                                               ; +0xd8, 0x100127d58\nLDR             X8, [X8,#0x4C0]                                        ; +0xdc, 0x100127d5c\nADD             X1, SP, #0x40+var_2C                                   ; +0xe0, 0x100127d60\nB               loc_100127DA4                                          ; +0xe4, 0x100127d64\nMOV             W8, #0x32 ; '2'                                        ; +0xe8, 0x100127d68\nSTRB            W8, [SP,#0x40+var_2E]                                  ; +0xec, 0x100127d6c\nMOV             W8, #0x3232                                            ; +0xf0, 0x100127d70\nSTRH            W8, [SP,#0x40+var_30]                                  ; +0xf4, 0x100127d74\nLDR             X8, [X0]                                               ; +0xf8, 0x100127d78\nLDR             X8, [X8,#0x4C0]                                        ; +0xfc, 0x100127d7c\nADD             X1, SP, #0x40+var_30                                   ; +0x100, 0x100127d80\nB               loc_100127DA4                                          ; +0x104, 0x100127d84\nMOV             W8, #0x64 ; 'd'                                        ; +0x108, 0x100127d88\nSTRB            W8, [SP,#0x40+var_26]                                  ; +0x10c, 0x100127d8c\nMOV             W8, #0x6464                                            ; +0x110, 0x100127d90\nSTRH            W8, [SP,#0x40+var_28]                                  ; +0x114, 0x100127d94\nLDR             X8, [X0]                                               ; +0x118, 0x100127d98\nLDR             X8, [X8,#0x4C0]                                        ; +0x11c, 0x100127d9c\nADD             X1, SP, #0x40+var_28                                   ; +0x120, 0x100127da0\nBLR             X8                                                     ; +0x124, 0x100127da4\nLDR             X0, [X19,#0x210]                                       ; +0x128, 0x100127da8\nLDR             X8, [X0]                                               ; +0x12c, 0x100127dac\nLDR             X8, [X8,#0x490]                                        ; +0x130, 0x100127db0\nMOV             W1, #0xFF                                              ; +0x134, 0x100127db4\nBLR             X8                                                     ; +0x138, 0x100127db8\nLDP             X29, X30, [SP,#0x40+var_s0]                            ; +0x13c, 0x100127dbc\nLDP             X20, X19, [SP,#0x40+var_10]                            ; +0x140, 0x100127dc0\nLDP             X22, X21, [SP,#0x40+var_20]                            ; +0x144, 0x100127dc4\nADD             SP, SP, #0x50 ; 'P'                                    ; +0x148, 0x100127dc8\nRET                                                                    ; +0x14c, 0x100127dcc", "xrefs": ["CustomListView::loadCell @ 0x100125f60", "CustomListView::reloadAll @ 0x1001325c0"], "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"}