{"type": "func", "start": 4296025436, "end": 4296025564, "name": "CustomMusicCell::updateBGColor", "pseudocode": "// \n// CustomMusicCell::updateBGColor from 0x10010255c to 0x1001025dc (128 bytes)\n// \n// 1 xrefs:\n// > CustomListView::loadCell @ 0x10010106c\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid __fastcall CustomMusicCell::updateBGColor(CustomMusicCell *a1, int a2)\n{\n  cocos2d::CCLayerColor *m_backgroundLayer; // x0\n  _WORD v4[4]; // [xsp+8h] [xbp-18h] BYREF\n\n  m_backgroundLayer = a1->m_backgroundLayer;\n  if ( (a2 & 1) != 0 )\n    memset(&v4[2], 50, 3);\n  else\n    memset(v4, 75, 3);\n  ((void (*)(void))m_backgroundLayer->setColor)();\n  ((void (__fastcall *)(cocos2d::CCLayerColor *, __int64))a1->m_backgroundLayer->setOpacity)(a1->m_backgroundLayer, 255);\n}", "assembly": "; \n; CustomMusicCell::updateBGColor from 0x10010255c to 0x1001025dc (128 bytes)\n; \n; 1 xrefs:\n; > CustomListView::loadCell @ 0x10010106c\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nSUB             SP, SP, #0x30                                          ; +0x0, 0x10010255c\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x100102560\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x100102564\nADD             X29, SP, #0x20                                         ; +0xc, 0x100102568\nMOV             X19, X0                                                ; +0x10, 0x10010256c\nLDR             X0, [X0,#0x210]                                        ; +0x14, 0x100102570\nTBNZ            W1, #0, loc_100102598                                  ; +0x18, 0x100102574\nMOV             W8, #0x4B ; 'K'                                        ; +0x1c, 0x100102578\nSTRB            W8, [SP,#0x20+var_16]                                  ; +0x20, 0x10010257c\nMOV             W8, #0x4B4B                                            ; +0x24, 0x100102580\nSTRH            W8, [SP,#0x20+var_18]                                  ; +0x28, 0x100102584\nLDR             X8, [X0]                                               ; +0x2c, 0x100102588\nLDR             X8, [X8,#0x4B0]                                        ; +0x30, 0x10010258c\nADD             X1, SP, #0x20+var_18                                   ; +0x34, 0x100102590\nB               loc_1001025B4                                          ; +0x38, 0x100102594\nMOV             W8, #0x32 ; '2'                                        ; +0x3c, 0x100102598\nSTRB            W8, [SP,#0x20+var_12]                                  ; +0x40, 0x10010259c\nMOV             W8, #0x3232                                            ; +0x44, 0x1001025a0\nSTRH            W8, [SP,#0x20+var_14]                                  ; +0x48, 0x1001025a4\nLDR             X8, [X0]                                               ; +0x4c, 0x1001025a8\nLDR             X8, [X8,#0x4B0]                                        ; +0x50, 0x1001025ac\nADD             X1, SP, #0x20+var_14                                   ; +0x54, 0x1001025b0\nBLR             X8                                                     ; +0x58, 0x1001025b4\nLDR             X0, [X19,#0x210]                                       ; +0x5c, 0x1001025b8\nLDR             X8, [X0]                                               ; +0x60, 0x1001025bc\nLDR             X8, [X8,#0x480]                                        ; +0x64, 0x1001025c0\nMOV             W1, #0xFF                                              ; +0x68, 0x1001025c4\nBLR             X8                                                     ; +0x6c, 0x1001025c8\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x70, 0x1001025cc\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0x74, 0x1001025d0\nADD             SP, SP, #0x30 ; '0'                                    ; +0x78, 0x1001025d4\nRET                                                                    ; +0x7c, 0x1001025d8", "xrefs": ["CustomListView::loadCell @ 0x10010106c"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}