{"type": "func", "start": 4296054676, "end": 4296054860, "name": "GJLocalLevelScoreCell::updateBGColor", "pseudocode": "// \n// GJLocalLevelScoreCell::updateBGColor from 0x100109794 to 0x10010984c (184 bytes)\n// \n// 1 xrefs:\n// > CustomListView::loadCell @ 0x10010109c\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 GJLocalLevelScoreCell::updateBGColor(GJLocalLevelScoreCell *a1, int a2)\n{\n  GJLocalScore *m_localScore; // x8\n  void (*setColor)(void); // x8\n\n  m_localScore = a1->m_localScore;\n  if ( m_localScore && m_localScore->m_currentScore )\n    setColor = (void (*)(void))a1->m_backgroundLayer->setColor;\n  else\n    setColor = (void (*)(void))a1->m_backgroundLayer->setColor;\n  setColor();\n  ((void (__fastcall *)(cocos2d::CCLayerColor *, __int64))a1->m_backgroundLayer->setOpacity)(a1->m_backgroundLayer, 255);\n}", "assembly": "; \n; GJLocalLevelScoreCell::updateBGColor from 0x100109794 to 0x10010984c (184 bytes)\n; \n; 1 xrefs:\n; > CustomListView::loadCell @ 0x10010109c\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, 0x100109794\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x100109798\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x10010979c\nADD             X29, SP, #0x20                                         ; +0xc, 0x1001097a0\nMOV             X19, X0                                                ; +0x10, 0x1001097a4\nLDR             X8, [X0,#0x228]                                        ; +0x14, 0x1001097a8\nCBZ             X8, loc_1001097E0                                      ; +0x18, 0x1001097ac\nLDRB            W8, [X8,#0x40]                                         ; +0x1c, 0x1001097b0\nCMP             W8, #1                                                 ; +0x20, 0x1001097b4\nB.NE            loc_1001097E0                                          ; +0x24, 0x1001097b8\nLDR             X0, [X19,#0x210]                                       ; +0x28, 0x1001097bc\nMOV             W8, #0xA                                               ; +0x2c, 0x1001097c0\nSTRB            W8, [SP,#0x20+var_12]                                  ; +0x30, 0x1001097c4\nMOV             W8, #0x96E6                                            ; +0x34, 0x1001097c8\nSTRH            W8, [SP,#0x20+var_14]                                  ; +0x38, 0x1001097cc\nLDR             X8, [X0]                                               ; +0x3c, 0x1001097d0\nLDR             X8, [X8,#0x4B0]                                        ; +0x40, 0x1001097d4\nADD             X1, SP, #0x20+var_14                                   ; +0x44, 0x1001097d8\nB               loc_100109824                                          ; +0x48, 0x1001097dc\nLDR             X0, [X19,#0x210]                                       ; +0x4c, 0x1001097e0\nTBNZ            W1, #0, loc_100109808                                  ; +0x50, 0x1001097e4\nMOV             W8, #0x2C ; ','                                        ; +0x54, 0x1001097e8\nSTRB            W8, [SP,#0x20+var_1A]                                  ; +0x58, 0x1001097ec\nMOV             W8, #0x58A1                                            ; +0x5c, 0x1001097f0\nSTRH            W8, [SP,#0x20+var_1C]                                  ; +0x60, 0x1001097f4\nLDR             X8, [X0]                                               ; +0x64, 0x1001097f8\nLDR             X8, [X8,#0x4B0]                                        ; +0x68, 0x1001097fc\nADD             X1, SP, #0x20+var_1C                                   ; +0x6c, 0x100109800\nB               loc_100109824                                          ; +0x70, 0x100109804\nMOV             W8, #0x3E ; '>'                                        ; +0x74, 0x100109808\nSTRB            W8, [SP,#0x20+var_16]                                  ; +0x78, 0x10010980c\nMOV             W8, #0x72C2                                            ; +0x7c, 0x100109810\nSTRH            W8, [SP,#0x20+var_18]                                  ; +0x80, 0x100109814\nLDR             X8, [X0]                                               ; +0x84, 0x100109818\nLDR             X8, [X8,#0x4B0]                                        ; +0x88, 0x10010981c\nADD             X1, SP, #0x20+var_18                                   ; +0x8c, 0x100109820\nBLR             X8                                                     ; +0x90, 0x100109824\nLDR             X0, [X19,#0x210]                                       ; +0x94, 0x100109828\nLDR             X8, [X0]                                               ; +0x98, 0x10010982c\nLDR             X8, [X8,#0x480]                                        ; +0x9c, 0x100109830\nMOV             W1, #0xFF                                              ; +0xa0, 0x100109834\nBLR             X8                                                     ; +0xa4, 0x100109838\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0xa8, 0x10010983c\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0xac, 0x100109840\nADD             SP, SP, #0x30 ; '0'                                    ; +0xb0, 0x100109844\nRET                                                                    ; +0xb4, 0x100109848", "xrefs": ["CustomListView::loadCell @ 0x10010109c"], "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"}