{"type": "func", "start": 6403440, "end": 6403632, "name": "GJLevelScoreCell::updateBGColor", "pseudocode": "// \n// GJLevelScoreCell::updateBGColor from 0x61b570 to 0x61b630 (192 bytes)\n// \n// 2 xrefs:\n// > CustomListView::loadCell @ 0x620594\n// > <???> @ 0x51900\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 GJLevelScoreCell::updateBGColor(GJLevelScoreCell *a1, int a2)\n{\n  cocos2d::CCLayerColor *m_backgroundLayer; // x0\n  void (__fastcall *setColor)(cocos2d::CCLayerColor *__hidden, const cocos2d::ccColor3B *); // x2\n  char v5; // [xsp+20h] [xbp+20h] BYREF\n  char v6; // [xsp+21h] [xbp+21h]\n  char v7; // [xsp+22h] [xbp+22h]\n\n  m_backgroundLayer = a1->m_backgroundLayer;\n  setColor = m_backgroundLayer->setColor;\n  if ( (a2 & 1) != 0 )\n  {\n    v5 = -62;\n    v6 = 114;\n    v7 = 62;\n  }\n  else\n  {\n    v5 = -95;\n    v6 = 88;\n    v7 = 44;\n  }\n  setColor(m_backgroundLayer, (const cocos2d::ccColor3B *)&v5);\n  a1->m_backgroundLayer->setOpacity(a1->m_backgroundLayer, 0xFFFFFFFFLL);\n}", "assembly": "; \n; GJLevelScoreCell::updateBGColor from 0x61b570 to 0x61b630 (192 bytes)\n; \n; 2 xrefs:\n; > CustomListView::loadCell @ 0x620594\n; > <???> @ 0x51900\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\nSTP             X29, X30, [SP,#var_30]!                                ; +0x0, 0x61b570\nMOV             X29, SP                                                ; +0x4, 0x61b574\nSTP             X19, X20, [SP,#0x30+var_20]                            ; +0x8, 0x61b578\nADRP            X19, #__stack_chk_guard_ptr@PAGE                       ; +0xc, 0x61b57c\nMOV             X20, X0                                                ; +0x10, 0x61b580\nLDR             X0, [X19,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x14, 0x61b584\nLDR             X2, [X20,#0x200]                                       ; +0x18, 0x61b588\nLDR             X0, [X0]                                               ; +0x1c, 0x61b58c\nSTR             X0, [X29,#0x30+var_8]                                  ; +0x20, 0x61b590\nTBNZ            W1, #0, loc_61B5FC                                     ; +0x24, 0x61b594\nMOV             X0, X2                                                 ; +0x28, 0x61b598\nLDR             X2, [X2]                                               ; +0x2c, 0x61b59c\nMOV             W3, #0xFFFFFFA1                                        ; +0x30, 0x61b5a0\nADD             X1, X29, #0x30+var_10                                  ; +0x34, 0x61b5a4\nLDR             X2, [X2,#0x4B0]                                        ; +0x38, 0x61b5a8\nSTRB            W3, [X29,#0x30+var_10]                                 ; +0x3c, 0x61b5ac\nMOV             W3, #0x58 ; 'X'                                        ; +0x40, 0x61b5b0\nSTRB            W3, [X29,#0x30+var_F]                                  ; +0x44, 0x61b5b4\nMOV             W3, #0x2C ; ','                                        ; +0x48, 0x61b5b8\nSTRB            W3, [X29,#0x30+var_E]                                  ; +0x4c, 0x61b5bc\nBLR             X2                                                     ; +0x50, 0x61b5c0\nLDR             X2, [X20,#0x200]                                       ; +0x54, 0x61b5c4\nMOV             W1, #0xFFFFFFFF                                        ; +0x58, 0x61b5c8\nMOV             X0, X2                                                 ; +0x5c, 0x61b5cc\nLDR             X2, [X2]                                               ; +0x60, 0x61b5d0\nLDR             X2, [X2,#0x480]                                        ; +0x64, 0x61b5d4\nBLR             X2                                                     ; +0x68, 0x61b5d8\nLDR             X19, [X19,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x6c, 0x61b5dc\nLDR             X1, [X29,#0x30+var_8]                                  ; +0x70, 0x61b5e0\nLDR             X0, [X19]                                              ; +0x74, 0x61b5e4\nCMP             X1, X0                                                 ; +0x78, 0x61b5e8\nB.NE            loc_61B62C                                             ; +0x7c, 0x61b5ec\nLDP             X19, X20, [SP,#0x30+var_20]                            ; +0x80, 0x61b5f0\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0x84, 0x61b5f4\nRET                                                                    ; +0x88, 0x61b5f8\nMOV             X0, X2                                                 ; +0x8c, 0x61b5fc\nLDR             X2, [X2]                                               ; +0x90, 0x61b600\nMOV             W3, #0xFFFFFFC2                                        ; +0x94, 0x61b604\nADD             X1, X29, #0x30+var_10                                  ; +0x98, 0x61b608\nLDR             X2, [X2,#0x4B0]                                        ; +0x9c, 0x61b60c\nSTRB            W3, [X29,#0x30+var_10]                                 ; +0xa0, 0x61b610\nMOV             W3, #0x72 ; 'r'                                        ; +0xa4, 0x61b614\nSTRB            W3, [X29,#0x30+var_F]                                  ; +0xa8, 0x61b618\nMOV             W3, #0x3E ; '>'                                        ; +0xac, 0x61b61c\nSTRB            W3, [X29,#0x30+var_E]                                  ; +0xb0, 0x61b620\nBLR             X2                                                     ; +0xb4, 0x61b624\nB               loc_61B5C4                                             ; +0xb8, 0x61b628\nBL              .__stack_chk_fail                                      ; +0xbc, 0x61b62c", "xrefs": ["CustomListView::loadCell @ 0x620594", "<???> @ 0x51900"], "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"}