{"type": "func", "start": 4297342896, "end": 4297342988, "name": "CustomSongCell::updateBGColor", "pseudocode": "// \n// CustomSongCell::updateBGColor from 0x100243fb0 to 0x10024400c (92 bytes)\n// \n// 0 xrefs:\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 CustomSongCell::updateBGColor(CustomSongCell *a1, int a2)\n{\n  __int64 v2; // rax\n  cocos2d::CCLayerColor *m_backgroundLayer; // rdi\n  cocos2d::CCLayerColor_vtbl *v5; // rax\n  char *v6; // rsi\n  _QWORD v7[2]; // [rsp+0h] [rbp-10h] BYREF\n\n  v7[0] = v2;\n  m_backgroundLayer = a1->m_backgroundLayer;\n  if ( (a2 & 1) != 0 )\n  {\n    memset(v7, 50, 3);\n    v5 = m_backgroundLayer->cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;\n    v6 = (char *)v7;\n  }\n  else\n  {\n    memset((char *)v7 + 4, 75, 3);\n    v5 = m_backgroundLayer->cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;\n    v6 = (char *)v7 + 4;\n  }\n  ((void (__fastcall *)(cocos2d::CCLayerColor *, char *))v5->setColor)(m_backgroundLayer, v6);\n  ((void (__fastcall *)(cocos2d::CCLayerColor *, __int64))a1->m_backgroundLayer->setOpacity)(a1->m_backgroundLayer, 255);\n}", "assembly": "; \n; CustomSongCell::updateBGColor from 0x100243fb0 to 0x10024400c (92 bytes)\n; \n; 0 xrefs:\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\npush    rbp                                                            ; +0x0, 0x100243fb0\nmov     rbp, rsp                                                       ; +0x1, 0x100243fb1\npush    rbx                                                            ; +0x4, 0x100243fb4\npush    rax                                                            ; +0x5, 0x100243fb5\nmov     rbx, rdi                                                       ; +0x6, 0x100243fb6\nmov     rdi, [rdi+210h]                                                ; +0x9, 0x100243fb9\ntest    sil, 1                                                         ; +0x10, 0x100243fc0\njnz     short loc_100243FD9                                            ; +0x14, 0x100243fc4\nmov     [rbp+var_A], 4Bh ; 'K'                                         ; +0x16, 0x100243fc6\nmov     [rbp+var_C], 4B4Bh                                             ; +0x1a, 0x100243fca\nmov     rax, [rdi]                                                     ; +0x20, 0x100243fd0\nlea     rsi, [rbp+var_C]                                               ; +0x23, 0x100243fd3\njmp     short loc_100243FEA                                            ; +0x27, 0x100243fd7\nmov     [rbp+var_E], 32h ; '2'                                         ; +0x29, 0x100243fd9\nmov     [rbp+var_10], 3232h                                            ; +0x2d, 0x100243fdd\nmov     rax, [rdi]                                                     ; +0x33, 0x100243fe3\nlea     rsi, [rbp+var_10]                                              ; +0x36, 0x100243fe6\ncall    qword ptr [rax+4B0h]                                           ; +0x3a, 0x100243fea\nmov     rdi, [rbx+210h]                                                ; +0x40, 0x100243ff0\nmov     rax, [rdi]                                                     ; +0x47, 0x100243ff7\nmov     esi, 0FFh                                                      ; +0x4a, 0x100243ffa\ncall    qword ptr [rax+480h]                                           ; +0x4f, 0x100243fff\nadd     rsp, 8                                                         ; +0x55, 0x100244005\npop     rbx                                                            ; +0x59, 0x100244009\npop     rbp                                                            ; +0x5a, 0x10024400a\nretn                                                                   ; +0x5b, 0x10024400b", "xrefs": [], "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"}