{"type": "func", "start": 4348684, "end": 4348888, "name": "CustomSFXCell::updateBGColor", "pseudocode": "// \n// CustomSFXCell::updateBGColor from 0x425b0c to 0x425bd8 (204 bytes)\n// \n// 2 xrefs:\n// > CustomListView::reloadAll @ 0x431334\n// > CustomListView::loadCell @ 0x434078\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 CustomSFXCell::updateBGColor(CustomSFXCell *this, int a2)\n{\n  char v3; // r7\n  int v4; // r3\n  int v5; // r8\n  int v6; // r8\n  int v7; // r0\n  void (__fastcall *v8)(int, _DWORD *); // r3\n  int v9; // r0\n  void (__fastcall *v10)(int, _DWORD *); // r2\n  char v11; // r3\n  _DWORD v13[2]; // [sp+0h] [bp-8h] BYREF\n\n  v13[0] = this;\n  v13[1] = a2;\n  v3 = a2;\n  if ( !*((_BYTE *)this + 430) )\n  {\n    v9 = *((_DWORD *)this + 102);\n    v10 = *(void (__fastcall **)(int, _DWORD *))(*(_DWORD *)v9 + 608);\n    if ( (a2 & 1) != 0 )\n    {\n      v11 = 50;\nLABEL_10:\n      LOBYTE(v13[0]) = v11;\n      BYTE1(v13[0]) = v11;\n      BYTE2(v13[0]) = v11;\n      v10(v9, v13);\n      return (*(int (__fastcall **)(_DWORD, int))(**((_DWORD **)this + 102) + 584))(*((_DWORD *)this + 102), 255);\n    }\nLABEL_9:\n    v11 = 75;\n    goto LABEL_10;\n  }\n  v4 = *((_DWORD *)this + 106);\n  if ( !v4\n    || (v5 = *(_DWORD *)(v4 + 52), v5 != (*(int (__fastcall **)(CustomSFXCell *))(*(_DWORD *)this + 580))(this))\n    || (v6 = *(_DWORD *)(*((_DWORD *)this + 106) + 72),\n        v6 != (*(int (__fastcall **)(CustomSFXCell *))(*(_DWORD *)this + 584))(this)) )\n  {\n    v9 = *((_DWORD *)this + 102);\n    if ( (v3 & 1) != 0 )\n    {\n      v10 = *(void (__fastcall **)(int, _DWORD *))(*(_DWORD *)v9 + 608);\n      v11 = 100;\n      goto LABEL_10;\n    }\n    v10 = *(void (__fastcall **)(int, _DWORD *))(*(_DWORD *)v9 + 608);\n    goto LABEL_9;\n  }\n  v7 = *((_DWORD *)this + 102);\n  v8 = *(void (__fastcall **)(int, _DWORD *))(*(_DWORD *)v7 + 608);\n  LOWORD(v13[0]) = -29496;\n  BYTE2(v13[0]) = 50;\n  v8(v7, v13);\n  return (*(int (__fastcall **)(_DWORD, int))(**((_DWORD **)this + 102) + 584))(*((_DWORD *)this + 102), 255);\n}", "assembly": "; \n; CustomSFXCell::updateBGColor from 0x425b0c to 0x425bd8 (204 bytes)\n; \n; 2 xrefs:\n; > CustomListView::reloadAll @ 0x431334\n; > CustomListView::loadCell @ 0x434078\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 - 0x425B16)                ; +0x0, 0x425b0c\nPUSH.W          {R0,R1,R4-R8,LR}                                       ; +0x2, 0x425b0e\nADD             R3, PC; __stack_chk_guard_ptr                          ; +0x6, 0x425b12\nLDR             R3, [R3]; __stack_chk_guard                            ; +0x8, 0x425b14\nMOV             R4, R0                                                 ; +0xa, 0x425b16\nMOV             R7, R1                                                 ; +0xc, 0x425b18\nLDR             R2, [R3]                                               ; +0xe, 0x425b1a\nMOV             R6, R3                                                 ; +0x10, 0x425b1c\nMOV             R5, SP                                                 ; +0x12, 0x425b1e\nSTR             R2, [SP,#8+var_4]                                      ; +0x14, 0x425b20\nLDRB.W          R2, [R0,#0x1AE]                                        ; +0x16, 0x425b22\nCBZ             R2, loc_425B78                                         ; +0x1a, 0x425b26\nLDR.W           R3, [R0,#0x1A8]                                        ; +0x1c, 0x425b28\nCMP             R3, #0                                                 ; +0x20, 0x425b2c\nBEQ             loc_425BBE                                             ; +0x22, 0x425b2e\nLDR.W           R8, [R3,#0x34]                                         ; +0x24, 0x425b30\nLDR             R3, [R0]                                               ; +0x28, 0x425b34\nLDR.W           R3, [R3,#0x244]                                        ; +0x2a, 0x425b36\nBLX             R3                                                     ; +0x2e, 0x425b3a\nCMP             R8, R0                                                 ; +0x30, 0x425b3c\nBNE             loc_425BBE                                             ; +0x32, 0x425b3e\nLDR.W           R3, [R4,#0x1A8]                                        ; +0x34, 0x425b40\nMOV             R0, R4                                                 ; +0x38, 0x425b44\nLDR.W           R8, [R3,#0x48]                                         ; +0x3a, 0x425b46\nLDR             R3, [R4]                                               ; +0x3e, 0x425b4a\nLDR.W           R3, [R3,#0x248]                                        ; +0x40, 0x425b4c\nBLX             R3                                                     ; +0x44, 0x425b50\nCMP             R8, R0                                                 ; +0x46, 0x425b52\nBNE             loc_425BBE                                             ; +0x48, 0x425b54\nLDR.W           R0, [R4,#0x198]                                        ; +0x4a, 0x425b56\nMOVS            R2, #0xC8                                              ; +0x4e, 0x425b5a\nMOV             R1, SP                                                 ; +0x50, 0x425b5c\nLDR             R3, [R0]                                               ; +0x52, 0x425b5e\nLDR.W           R3, [R3,#0x260]                                        ; +0x54, 0x425b60\nSTRB.W          R2, [SP,#8+var_8]                                      ; +0x58, 0x425b64\nMOVS            R2, #0x8C                                              ; +0x5c, 0x425b68\nSTRB.W          R2, [SP,#8+var_7]                                      ; +0x5e, 0x425b6a\nMOVS            R2, #0x32 ; '2'                                        ; +0x62, 0x425b6e\nSTRB.W          R2, [SP,#8+var_6]                                      ; +0x64, 0x425b70\nBLX             R3                                                     ; +0x68, 0x425b74\nB               loc_425BA4                                             ; +0x6a, 0x425b76\nLDR.W           R0, [R0,#0x198]                                        ; +0x6c, 0x425b78\nTST.W           R1, #1                                                 ; +0x70, 0x425b7c\nLDR             R3, [R0]                                               ; +0x74, 0x425b80\nLDR.W           R2, [R3,#0x260]                                        ; +0x76, 0x425b82\nBEQ             loc_425B92                                             ; +0x7a, 0x425b86\nMOVS            R3, #0x32 ; '2'                                        ; +0x7c, 0x425b88\nB               loc_425B94                                             ; +0x7e, 0x425b8a\nLDR             R3, [R0]                                               ; +0x80, 0x425b8c\nLDR.W           R2, [R3,#0x260]                                        ; +0x82, 0x425b8e\nMOVS            R3, #0x4B ; 'K'                                        ; +0x86, 0x425b92\nSTRB.W          R3, [SP,#8+var_8]                                      ; +0x88, 0x425b94\nMOV             R1, R5                                                 ; +0x8c, 0x425b98\nSTRB.W          R3, [SP,#8+var_7]                                      ; +0x8e, 0x425b9a\nSTRB.W          R3, [SP,#8+var_6]                                      ; +0x92, 0x425b9e\nBLX             R2                                                     ; +0x96, 0x425ba2\nLDR.W           R0, [R4,#0x198]                                        ; +0x98, 0x425ba4\nMOVS            R1, #0xFF                                              ; +0x9c, 0x425ba8\nLDR             R3, [R0]                                               ; +0x9e, 0x425baa\nLDR.W           R3, [R3,#0x248]                                        ; +0xa0, 0x425bac\nBLX             R3                                                     ; +0xa4, 0x425bb0\nLDR             R2, [SP,#8+var_4]                                      ; +0xa6, 0x425bb2\nLDR             R3, [R6]                                               ; +0xa8, 0x425bb4\nCMP             R2, R3                                                 ; +0xaa, 0x425bb6\nBEQ             loc_425BD2                                             ; +0xac, 0x425bb8\nBLX             __stack_chk_fail                                       ; +0xae, 0x425bba\nTST.W           R7, #1                                                 ; +0xb2, 0x425bbe\nLDR.W           R0, [R4,#0x198]                                        ; +0xb6, 0x425bc2\nBEQ             loc_425B8C                                             ; +0xba, 0x425bc6\nLDR             R3, [R0]                                               ; +0xbc, 0x425bc8\nLDR.W           R2, [R3,#0x260]                                        ; +0xbe, 0x425bca\nMOVS            R3, #0x64 ; 'd'                                        ; +0xc2, 0x425bce\nB               loc_425B94                                             ; +0xc4, 0x425bd0\nADD             SP, SP, #8                                             ; +0xc6, 0x425bd2\nPOP.W           {R4-R8,PC}                                             ; +0xc8, 0x425bd4", "xrefs": ["CustomListView::reloadAll @ 0x431334", "CustomListView::loadCell @ 0x434078"], "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"}