{"type": "func", "start": 5370088448, "end": 5370088781, "name": "CustomSFXCell::updateBGColor", "pseudocode": "// \n// CustomSFXCell::updateBGColor from 0x140150c00 to 0x140150d4d (333 bytes)\n// \n// 6 xrefs:\n// > CustomListView::loadCell @ 0x140145bd4\n// > CustomListView::reloadAll @ 0x140146ef4\n// > <???> @ 0x14089aa44\n// > <???> @ 0x14089aa58\n// > <???> @ 0x14089aa68\n// > <???> @ 0x1409177bc\n// \n// This function is hookable on this platform (idp: pc, 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 11:27:17 +0000\n// \n\n__int64 __fastcall CustomSFXCell::updateBGColor(__int64 a1, char a2)\n{\n  int v4; // ebx\n  int v5; // ebx\n  __int64 v6; // rbx\n  void (__fastcall ***v7)(_QWORD, _BYTE *); // rcx\n  __int64 v8; // rdx\n  void (__fastcall ***v9)(_QWORD, _BYTE *); // rcx\n  _BYTE v11[3]; // [rsp+30h] [rbp+8h] BYREF\n\n  if ( !*(_BYTE *)(a1 + 578) )\n  {\n    v6 = a1 + 536;\n    v9 = (void (__fastcall ***)(_QWORD, _BYTE *))(*(_QWORD *)(a1 + 536) + 408LL);\n    if ( (a2 & 1) != 0 )\n    {\n      memset(v11, 50, sizeof(v11));\n      goto LABEL_12;\n    }\nLABEL_11:\n    memset(v11, 75, sizeof(v11));\n    goto LABEL_12;\n  }\n  if ( !*(_QWORD *)(a1 + 568)\n    || (v4 = *(_DWORD *)(*(_QWORD *)(a1 + 568) + 56LL),\n        v4 != (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)(a1 + 560) + 8LL))(a1 + 560))\n    || (v5 = *(_DWORD *)(*(_QWORD *)(a1 + 568) + 76LL),\n        v5 != (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)(a1 + 560) + 16LL))(a1 + 560)) )\n  {\n    v6 = a1 + 536;\n    v9 = (void (__fastcall ***)(_QWORD, _BYTE *))(*(_QWORD *)(a1 + 536) + 408LL);\n    if ( (a2 & 1) != 0 )\n    {\n      memset(v11, 100, sizeof(v11));\nLABEL_12:\n      (**v9)(v9, v11);\n      goto LABEL_13;\n    }\n    goto LABEL_11;\n  }\n  *(_WORD *)v11 = -29496;\n  v6 = a1 + 536;\n  v7 = (void (__fastcall ***)(_QWORD, _BYTE *))(*(_QWORD *)(a1 + 536) + 408LL);\n  v11[2] = 50;\n  (**v7)(v7, v11);\nLABEL_13:\n  LOBYTE(v8) = -1;\n  return (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)(*(_QWORD *)v6 + 408LL) + 40LL))(\n           *(_QWORD *)v6 + 408LL,\n           v8);\n}", "assembly": "; \n; CustomSFXCell::updateBGColor from 0x140150c00 to 0x140150d4d (333 bytes)\n; \n; 6 xrefs:\n; > CustomListView::loadCell @ 0x140145bd4\n; > CustomListView::reloadAll @ 0x140146ef4\n; > <???> @ 0x14089aa44\n; > <???> @ 0x14089aa58\n; > <???> @ 0x14089aa68\n; > <???> @ 0x1409177bc\n; \n; This function is hookable on this platform (idp: pc, 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 11:27:17 +0000\n; \nmov     [rsp+arg_10], rbx                                              ; +0x0, 0x140150c00\nmov     [rsp+arg_18], rsi                                              ; +0x5, 0x140150c05\npush    rdi                                                            ; +0xa, 0x140150c0a\nsub     rsp, 20h                                                       ; +0xb, 0x140150c0b\ncmp     byte ptr [rcx+242h], 0                                         ; +0xf, 0x140150c0f\nmov     esi, edx                                                       ; +0x16, 0x140150c16\nmov     rdi, rcx                                                       ; +0x18, 0x140150c18\njz      loc_140150CF0                                                  ; +0x1b, 0x140150c1b\ncmp     qword ptr [rcx+238h], 0                                        ; +0x21, 0x140150c21\nmov     [rsp+28h+arg_8], r14                                           ; +0x29, 0x140150c29\njz      short loc_140150C9F                                            ; +0x2e, 0x140150c2e\nmov     rax, [rcx+238h]                                                ; +0x30, 0x140150c30\nmov     ebx, [rax+38h]                                                 ; +0x37, 0x140150c37\nmov     rax, [rcx+230h]                                                ; +0x3a, 0x140150c3a\nadd     rcx, 230h                                                      ; +0x41, 0x140150c41\ncall    qword ptr [rax+8]                                              ; +0x48, 0x140150c48\ncmp     ebx, eax                                                       ; +0x4b, 0x140150c4b\njnz     short loc_140150C9F                                            ; +0x4d, 0x140150c4d\nmov     rax, [rdi+238h]                                                ; +0x4f, 0x140150c4f\nlea     rcx, [rdi+230h]                                                ; +0x56, 0x140150c56\nmov     ebx, [rax+4Ch]                                                 ; +0x5d, 0x140150c5d\nmov     rax, [rdi+230h]                                                ; +0x60, 0x140150c60\ncall    qword ptr [rax+10h]                                            ; +0x67, 0x140150c67\ncmp     ebx, eax                                                       ; +0x6a, 0x140150c6a\njnz     short loc_140150C9F                                            ; +0x6c, 0x140150c6c\nmov     [rsp+28h+arg_0], 8CC8h                                         ; +0x6e, 0x140150c6e\nlea     rbx, [rdi+218h]                                                ; +0x75, 0x140150c75\nmov     rcx, [rbx]                                                     ; +0x7c, 0x140150c7c\nlea     rdx, [rsp+28h+arg_0]                                           ; +0x7f, 0x140150c7f\nadd     rcx, 198h                                                      ; +0x84, 0x140150c84\nmov     [rsp+28h+arg_2], 32h ; '2'                                     ; +0x8b, 0x140150c8b\nmov     rax, [rcx]                                                     ; +0x90, 0x140150c90\ncall    qword ptr [rax]                                                ; +0x93, 0x140150c93\nmov     r14, [rsp+28h+arg_8]                                           ; +0x95, 0x140150c95\njmp     loc_140150D2B                                                  ; +0x9a, 0x140150c9a\nlea     rbx, [rdi+218h]                                                ; +0x9f, 0x140150c9f\nmov     rcx, [rbx]                                                     ; +0xa6, 0x140150ca6\nadd     rcx, 198h                                                      ; +0xa9, 0x140150ca9\ntest    sil, 1                                                         ; +0xb0, 0x140150cb0\njz      short loc_140150CD3                                            ; +0xb4, 0x140150cb4\nmov     [rsp+28h+arg_0], 6464h                                         ; +0xb6, 0x140150cb6\nlea     rdx, [rsp+28h+arg_0]                                           ; +0xbd, 0x140150cbd\nmov     [rsp+28h+arg_2], 64h ; 'd'                                     ; +0xc2, 0x140150cc2\nmov     rax, [rcx]                                                     ; +0xc7, 0x140150cc7\ncall    qword ptr [rax]                                                ; +0xca, 0x140150cca\nmov     r14, [rsp+28h+arg_8]                                           ; +0xcc, 0x140150ccc\njmp     short loc_140150D2B                                            ; +0xd1, 0x140150cd1\nmov     [rsp+28h+arg_0], 4B4Bh                                         ; +0xd3, 0x140150cd3\nlea     rdx, [rsp+28h+arg_0]                                           ; +0xda, 0x140150cda\nmov     [rsp+28h+arg_2], 4Bh ; 'K'                                     ; +0xdf, 0x140150cdf\nmov     rax, [rcx]                                                     ; +0xe4, 0x140150ce4\ncall    qword ptr [rax]                                                ; +0xe7, 0x140150ce7\nmov     r14, [rsp+28h+arg_8]                                           ; +0xe9, 0x140150ce9\njmp     short loc_140150D2B                                            ; +0xee, 0x140150cee\nlea     rbx, [rcx+218h]                                                ; +0xf0, 0x140150cf0\nmov     rcx, [rbx]                                                     ; +0xf7, 0x140150cf7\nlea     rdx, [rsp+28h+arg_0]                                           ; +0xfa, 0x140150cfa\nadd     rcx, 198h                                                      ; +0xff, 0x140150cff\ntest    sil, 1                                                         ; +0x106, 0x140150d06\njz      short loc_140150D1A                                            ; +0x10a, 0x140150d0a\nmov     [rsp+28h+arg_0], 3232h                                         ; +0x10c, 0x140150d0c\nmov     [rsp+28h+arg_2], 32h ; '2'                                     ; +0x113, 0x140150d13\njmp     short loc_140150D26                                            ; +0x118, 0x140150d18\nmov     [rsp+28h+arg_0], 4B4Bh                                         ; +0x11a, 0x140150d1a\nmov     [rsp+28h+arg_2], 4Bh ; 'K'                                     ; +0x121, 0x140150d21\nmov     rax, [rcx]                                                     ; +0x126, 0x140150d26\ncall    qword ptr [rax]                                                ; +0x129, 0x140150d29\nmov     rcx, [rbx]                                                     ; +0x12b, 0x140150d2b\nmov     dl, 0FFh                                                       ; +0x12e, 0x140150d2e\nadd     rcx, 198h                                                      ; +0x130, 0x140150d30\nmov     rax, [rcx]                                                     ; +0x137, 0x140150d37\nmov     rbx, [rsp+28h+arg_10]                                          ; +0x13a, 0x140150d3a\nmov     rsi, [rsp+28h+arg_18]                                          ; +0x13f, 0x140150d3f\nadd     rsp, 20h                                                       ; +0x144, 0x140150d44\npop     rdi                                                            ; +0x148, 0x140150d48\njmp     qword ptr [rax+28h]                                            ; +0x149, 0x140150d49", "xrefs": ["CustomListView::loadCell @ 0x140145bd4", "CustomListView::reloadAll @ 0x140146ef4", "<???> @ 0x14089aa44", "<???> @ 0x14089aa58", "<???> @ 0x14089aa68", "<???> @ 0x1409177bc"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "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"}