{"type": "func", "start": 4298107648, "end": 4298107708, "name": "GJPathsLayer::darkenButtons", "pseudocode": "// \n// GJPathsLayer::darkenButtons from 0x1002feb00 to 0x1002feb3c (60 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 GJPathsLayer::darkenButtons(GJPathsLayer *a1, bool a2)\n{\n  _WORD v2[2]; // [rsp+Ch] [rbp-4h] BYREF\n\n  if ( a2 )\n  {\n    memset(v2, 75, 3);\n  }\n  else\n  {\n    LOBYTE(v2[1]) = -1;\n    v2[0] = -1;\n  }\n  ((void (__fastcall *)(cocos2d::CCSprite *, _WORD *))a1->m_closeSprite->setColor)(a1->m_closeSprite, v2);\n}", "assembly": "; \n; GJPathsLayer::darkenButtons from 0x1002feb00 to 0x1002feb3c (60 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, 0x1002feb00\nmov     rbp, rsp                                                       ; +0x1, 0x1002feb01\nsub     rsp, 10h                                                       ; +0x4, 0x1002feb04\ntest    esi, esi                                                       ; +0x8, 0x1002feb08\njz      short loc_1002FEB18                                            ; +0xa, 0x1002feb0a\nmov     [rbp+var_2], 4Bh ; 'K'                                         ; +0xc, 0x1002feb0c\nmov     [rbp+var_4], 4B4Bh                                             ; +0x10, 0x1002feb10\njmp     short loc_1002FEB22                                            ; +0x16, 0x1002feb16\nmov     [rbp+var_2], 0FFh                                              ; +0x18, 0x1002feb18\nmov     [rbp+var_4], 0FFFFh                                            ; +0x1c, 0x1002feb1c\nmov     rdi, [rdi+280h]                                                ; +0x22, 0x1002feb22\nmov     rax, [rdi]                                                     ; +0x29, 0x1002feb29\nlea     rsi, [rbp+var_4]                                               ; +0x2c, 0x1002feb2c\ncall    qword ptr [rax+3B0h]                                           ; +0x30, 0x1002feb30\nadd     rsp, 10h                                                       ; +0x36, 0x1002feb36\npop     rbp                                                            ; +0x3a, 0x1002feb3a\nretn                                                                   ; +0x3b, 0x1002feb3b", "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"}