{"type": "func", "start": 7570316, "end": 7570456, "name": "CustomSongCell::updateBGColor", "pseudocode": "// \n// CustomSongCell::updateBGColor from 0x73838c to 0x738418 (140 bytes)\n// \n// 3 xrefs:\n// > CustomListView::reloadAll @ 0x7490e8\n// > CustomListView::loadCell @ 0x74d464\n// > <???> @ 0x59368\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 12:52:40 +0000\n// \n\n__int64 __fastcall CustomSongCell::updateBGColor(CustomSongCell *this, char a2)\n{\n  char v2; // w2\n  __int64 v4; // x3\n  __int64 v5; // x0\n  void (__fastcall *v6)(__int64, _BYTE *); // x3\n  _BYTE v8[8]; // [xsp+20h] [xbp+20h] BYREF\n\n  v2 = 50;\n  v4 = *((_QWORD *)this + 66);\n  if ( (a2 & 1) == 0 )\n    v2 = 75;\n  v5 = *((_QWORD *)this + 66);\n  v6 = *(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v4 + 1216LL);\n  v8[0] = v2;\n  v8[1] = v2;\n  v8[2] = v2;\n  v6(v5, v8);\n  (*(void (__fastcall **)(_QWORD, __int64))(**((_QWORD **)this + 66) + 1168LL))(*((_QWORD *)this + 66), 0xFFFFFFFFLL);\n  return _stack_chk_guard;\n}", "assembly": "; \n; CustomSongCell::updateBGColor from 0x73838c to 0x738418 (140 bytes)\n; \n; 3 xrefs:\n; > CustomListView::reloadAll @ 0x7490e8\n; > CustomListView::loadCell @ 0x74d464\n; > <???> @ 0x59368\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 12:52:40 +0000\n; \nSTP             X29, X30, [SP,#var_30]!                                ; +0x0, 0x73838c\nMOV             W2, #0x32 ; '2'                                        ; +0x4, 0x738390\nMOV             X29, SP                                                ; +0x8, 0x738394\nSTP             X19, X20, [SP,#0x30+var_20]                            ; +0xc, 0x738398\nADRP            X19, #__stack_chk_guard_ptr@PAGE                       ; +0x10, 0x73839c\nMOV             X20, X0                                                ; +0x14, 0x7383a0\nLDR             X0, [X19,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x18, 0x7383a4\nLDR             X3, [X20,#0x210]                                       ; +0x1c, 0x7383a8\nLDR             X0, [X0]                                               ; +0x20, 0x7383ac\nSTR             X0, [X29,#0x30+var_8]                                  ; +0x24, 0x7383b0\nTBNZ            W1, #0, loc_7383BC                                     ; +0x28, 0x7383b4\nMOV             W2, #0x4B ; 'K'                                        ; +0x2c, 0x7383b8\nMOV             X0, X3                                                 ; +0x30, 0x7383bc\nLDR             X3, [X3]                                               ; +0x34, 0x7383c0\nADD             X1, X29, #0x30+var_10                                  ; +0x38, 0x7383c4\nLDR             X3, [X3,#0x4C0]                                        ; +0x3c, 0x7383c8\nSTRB            W2, [X29,#0x30+var_10]                                 ; +0x40, 0x7383cc\nSTRB            W2, [X29,#0x30+var_F]                                  ; +0x44, 0x7383d0\nSTRB            W2, [X29,#0x30+var_E]                                  ; +0x48, 0x7383d4\nBLR             X3                                                     ; +0x4c, 0x7383d8\nLDR             X2, [X20,#0x210]                                       ; +0x50, 0x7383dc\nMOV             W1, #0xFFFFFFFF                                        ; +0x54, 0x7383e0\nMOV             X0, X2                                                 ; +0x58, 0x7383e4\nLDR             X2, [X2]                                               ; +0x5c, 0x7383e8\nLDR             X2, [X2,#0x490]                                        ; +0x60, 0x7383ec\nBLR             X2                                                     ; +0x64, 0x7383f0\nLDR             X19, [X19,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x68, 0x7383f4\nLDR             X1, [X29,#0x30+var_8]                                  ; +0x6c, 0x7383f8\nLDR             X0, [X19]                                              ; +0x70, 0x7383fc\nCMP             X1, X0                                                 ; +0x74, 0x738400\nB.NE            loc_738414                                             ; +0x78, 0x738404\nLDP             X19, X20, [SP,#0x30+var_20]                            ; +0x7c, 0x738408\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0x80, 0x73840c\nRET                                                                    ; +0x84, 0x738410\nBL              .__stack_chk_fail                                      ; +0x88, 0x738414", "xrefs": ["CustomListView::reloadAll @ 0x7490e8", "CustomListView::loadCell @ 0x74d464", "<???> @ 0x59368"], "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"}