{"type": "func", "start": 5369008656, "end": 5369008710, "name": "CCMenuItemToggler::activate", "pseudocode": "// \n// CCMenuItemToggler::activate from 0x140049210 to 0x140049246 (54 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x140709d78\n// > <???> @ 0x14090fc08\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:25:32 +0000\n// \n\n__int64 __fastcall CCMenuItemToggler::activate(cocos2d::CCMenuItem *a1)\n{\n  __int64 v2; // rcx\n\n  cocos2d::CCMenuItem::activate(a1);\n  v2 = 384;\n  if ( !*((_BYTE *)a1 + 392) )\n    v2 = 376;\n  return (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)((char *)a1 + v2) + 888LL))(*(_QWORD *)((char *)a1 + v2));\n}", "assembly": "; \n; CCMenuItemToggler::activate from 0x140049210 to 0x140049246 (54 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x140709d78\n; > <???> @ 0x14090fc08\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:25:32 +0000\n; \npush    rbx                                                            ; +0x0, 0x140049210\nsub     rsp, 20h                                                       ; +0x2, 0x140049212\nmov     rbx, rcx                                                       ; +0x6, 0x140049216\ncall    cs:__imp_?activate@CCMenuItem@cocos2d@@UEAAXXZ; cocos2d::CCMenuItem::activate(void) ; +0x9, 0x140049219\ncmp     byte ptr [rbx+188h], 0                                         ; +0xf, 0x14004921f\nmov     eax, 178h                                                      ; +0x16, 0x140049226\nmov     ecx, 180h                                                      ; +0x1b, 0x14004922b\ncmovz   ecx, eax                                                       ; +0x20, 0x140049230\nmov     rcx, [rcx+rbx]                                                 ; +0x23, 0x140049233\nmov     rax, [rcx]                                                     ; +0x27, 0x140049237\nadd     rsp, 20h                                                       ; +0x2a, 0x14004923a\npop     rbx                                                            ; +0x2e, 0x14004923e\njmp     qword ptr [rax+378h]                                           ; +0x2f, 0x14004923f", "xrefs": ["<???> @ 0x140709d78", "<???> @ 0x14090fc08"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}