{"type": "func", "start": 5369008592, "end": 5369008646, "name": "CCMenuItemToggler::selected", "pseudocode": "// \n// CCMenuItemToggler::selected from 0x1400491d0 to 0x140049206 (54 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x140709d80\n// > <???> @ 0x14090fbfc\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::selected(cocos2d::CCMenuItem *a1)\n{\n  __int64 v2; // rcx\n\n  cocos2d::CCMenuItem::selected(a1);\n  v2 = 384;\n  if ( !*((_BYTE *)a1 + 392) )\n    v2 = 376;\n  return (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)((char *)a1 + v2) + 896LL))(*(_QWORD *)((char *)a1 + v2));\n}", "assembly": "; \n; CCMenuItemToggler::selected from 0x1400491d0 to 0x140049206 (54 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x140709d80\n; > <???> @ 0x14090fbfc\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, 0x1400491d0\nsub     rsp, 20h                                                       ; +0x2, 0x1400491d2\nmov     rbx, rcx                                                       ; +0x6, 0x1400491d6\ncall    cs:?selected@CCMenuItem@cocos2d@@UEAAXXZ; cocos2d::CCMenuItem::selected(void) ; +0x9, 0x1400491d9\ncmp     byte ptr [rbx+188h], 0                                         ; +0xf, 0x1400491df\nmov     eax, 178h                                                      ; +0x16, 0x1400491e6\nmov     ecx, 180h                                                      ; +0x1b, 0x1400491eb\ncmovz   ecx, eax                                                       ; +0x20, 0x1400491f0\nmov     rcx, [rcx+rbx]                                                 ; +0x23, 0x1400491f3\nmov     rax, [rcx]                                                     ; +0x27, 0x1400491f7\nadd     rsp, 20h                                                       ; +0x2a, 0x1400491fa\npop     rbx                                                            ; +0x2e, 0x1400491fe\njmp     qword ptr [rax+380h]                                           ; +0x2f, 0x1400491ff", "xrefs": ["<???> @ 0x140709d80", "<???> @ 0x14090fbfc"], "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"}