{"type": "func", "start": 4297365216, "end": 4297365308, "name": "GJScoreCell::updateBGColor", "pseudocode": "// \n// GJScoreCell::updateBGColor from 0x1002496e0 to 0x10024973c (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 GJScoreCell::updateBGColor(GJScoreCell *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    BYTE2(v7[0]) = 62;\n    LOWORD(v7[0]) = 29378;\n    v5 = m_backgroundLayer->cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;\n    v6 = (char *)v7;\n  }\n  else\n  {\n    BYTE6(v7[0]) = 44;\n    WORD2(v7[0]) = 22689;\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; GJScoreCell::updateBGColor from 0x1002496e0 to 0x10024973c (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, 0x1002496e0\nmov     rbp, rsp                                                       ; +0x1, 0x1002496e1\npush    rbx                                                            ; +0x4, 0x1002496e4\npush    rax                                                            ; +0x5, 0x1002496e5\nmov     rbx, rdi                                                       ; +0x6, 0x1002496e6\nmov     rdi, [rdi+210h]                                                ; +0x9, 0x1002496e9\ntest    sil, 1                                                         ; +0x10, 0x1002496f0\njnz     short loc_100249709                                            ; +0x14, 0x1002496f4\nmov     [rbp+var_A], 2Ch ; ','                                         ; +0x16, 0x1002496f6\nmov     [rbp+var_C], 58A1h                                             ; +0x1a, 0x1002496fa\nmov     rax, [rdi]                                                     ; +0x20, 0x100249700\nlea     rsi, [rbp+var_C]                                               ; +0x23, 0x100249703\njmp     short loc_10024971A                                            ; +0x27, 0x100249707\nmov     [rbp+var_E], 3Eh ; '>'                                         ; +0x29, 0x100249709\nmov     [rbp+var_10], 72C2h                                            ; +0x2d, 0x10024970d\nmov     rax, [rdi]                                                     ; +0x33, 0x100249713\nlea     rsi, [rbp+var_10]                                              ; +0x36, 0x100249716\ncall    qword ptr [rax+4B0h]                                           ; +0x3a, 0x10024971a\nmov     rdi, [rbx+210h]                                                ; +0x40, 0x100249720\nmov     rax, [rdi]                                                     ; +0x47, 0x100249727\nmov     esi, 0FFh                                                      ; +0x4a, 0x10024972a\ncall    qword ptr [rax+480h]                                           ; +0x4f, 0x10024972f\nadd     rsp, 8                                                         ; +0x55, 0x100249735\npop     rbx                                                            ; +0x59, 0x100249739\npop     rbp                                                            ; +0x5a, 0x10024973a\nretn                                                                   ; +0x5b, 0x10024973b", "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"}