{"type": "func", "start": 4349236, "end": 4349318, "name": "CustomMusicCell::updateBGColor", "pseudocode": "// \n// CustomMusicCell::updateBGColor from 0x425d34 to 0x425d86 (82 bytes)\n// \n// 1 xrefs:\n// > CustomListView::loadCell @ 0x43403c\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 11:48:04 +0000\n// \n\nint __fastcall CustomMusicCell::updateBGColor(CustomMusicCell *this, int a2, int a3)\n{\n  int v4; // r0\n  void (__fastcall *v5)(int, _DWORD *, _DWORD); // r2\n  char v6; // r3\n  _DWORD v8[3]; // [sp+0h] [bp-Ch] BYREF\n\n  v8[0] = this;\n  v8[1] = a2;\n  v8[2] = a3;\n  v4 = *((_DWORD *)this + 102);\n  v5 = *(void (__fastcall **)(int, _DWORD *, _DWORD))(*(_DWORD *)v4 + 608);\n  if ( (a2 & 1) != 0 )\n    v6 = 50;\n  else\n    v6 = 75;\n  LOBYTE(v8[0]) = v6;\n  BYTE1(v8[0]) = v6;\n  BYTE2(v8[0]) = v6;\n  v5(v4, v8, v5);\n  return (*(int (__fastcall **)(_DWORD, int))(**((_DWORD **)this + 102) + 584))(*((_DWORD *)this + 102), 255);\n}", "assembly": "; \n; CustomMusicCell::updateBGColor from 0x425d34 to 0x425d86 (82 bytes)\n; \n; 1 xrefs:\n; > CustomListView::loadCell @ 0x43403c\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 11:48:04 +0000\n; \nLDR             R3, =(__stack_chk_guard_ptr - 0x425D40)                ; +0x0, 0x425d34\nTST.W           R1, #1                                                 ; +0x2, 0x425d36\nPUSH            {R0-R2,R4,R5,LR}                                       ; +0x6, 0x425d3a\nADD             R3, PC; __stack_chk_guard_ptr                          ; +0x8, 0x425d3c\nLDR             R3, [R3]; __stack_chk_guard                            ; +0xa, 0x425d3e\nMOV             R5, R0                                                 ; +0xc, 0x425d40\nLDR.W           R0, [R0,#0x198]                                        ; +0xe, 0x425d42\nLDR             R2, [R3]                                               ; +0x12, 0x425d46\nMOV             R4, R3                                                 ; +0x14, 0x425d48\nMOV             R1, SP                                                 ; +0x16, 0x425d4a\nSTR             R2, [SP,#0xC+var_8]                                    ; +0x18, 0x425d4c\nLDR             R3, [R0]                                               ; +0x1a, 0x425d4e\nLDR.W           R2, [R3,#0x260]                                        ; +0x1c, 0x425d50\nITE NE                                                                 ; +0x20, 0x425d54\nMOVNE           R3, #0x32 ; '2'                                        ; +0x22, 0x425d56\nMOVEQ           R3, #0x4B ; 'K'                                        ; +0x24, 0x425d58\nSTRB.W          R3, [SP,#0xC+var_C]                                    ; +0x26, 0x425d5a\nSTRB.W          R3, [SP,#0xC+var_B]                                    ; +0x2a, 0x425d5e\nSTRB.W          R3, [SP,#0xC+var_A]                                    ; +0x2e, 0x425d62\nBLX             R2                                                     ; +0x32, 0x425d66\nLDR.W           R0, [R5,#0x198]                                        ; +0x34, 0x425d68\nMOVS            R1, #0xFF                                              ; +0x38, 0x425d6c\nLDR             R3, [R0]                                               ; +0x3a, 0x425d6e\nLDR.W           R3, [R3,#0x248]                                        ; +0x3c, 0x425d70\nBLX             R3                                                     ; +0x40, 0x425d74\nLDR             R2, [SP,#0xC+var_8]                                    ; +0x42, 0x425d76\nLDR             R3, [R4]                                               ; +0x44, 0x425d78\nCMP             R2, R3                                                 ; +0x46, 0x425d7a\nBEQ             loc_425D82                                             ; +0x48, 0x425d7c\nBLX             __stack_chk_fail                                       ; +0x4a, 0x425d7e\nADD             SP, SP, #0xC                                           ; +0x4e, 0x425d82\nPOP             {R4,R5,PC}                                             ; +0x50, 0x425d84", "xrefs": ["CustomListView::loadCell @ 0x43403c"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "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"}