{"type": "func", "start": 5368992944, "end": 5368993012, "name": "CCMenuItemToggler::selected", "pseudocode": "// \n// CCMenuItemToggler::selected from 0x1400454b0 to 0x1400454f4 (68 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x14052f158\n// > <???> @ 0x1406c4704\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 CCMenuItemToggler::selected(CCMenuItemToggler *a1)\n{\n  CCMenuItemSpriteExtra *m_offButton; // rcx\n\n  cocos2d::CCMenuItem::selected(a1);\n  if ( LOBYTE(a1->m_onButton) )\n    m_offButton = a1->m_offButton;\n  else\n    m_offButton = *(CCMenuItemSpriteExtra **)&a1->m_nScriptTapHandler;\n  m_offButton->selected(m_offButton);\n}", "assembly": "; \n; CCMenuItemToggler::selected from 0x1400454b0 to 0x1400454f4 (68 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x14052f158\n; > <???> @ 0x1406c4704\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    rbx                                                            ; +0x0, 0x1400454b0\nsub     rsp, 20h                                                       ; +0x2, 0x1400454b2\nmov     rbx, rcx                                                       ; +0x6, 0x1400454b6\ncall    cs:?selected@CCMenuItem@cocos2d@@UEAAXXZ; cocos2d::CCMenuItem::selected(void) ; +0x9, 0x1400454b9\ncmp     byte ptr [rbx+188h], 0                                         ; +0xf, 0x1400454bf\njz      short loc_1400454DE                                            ; +0x16, 0x1400454c6\nmov     rcx, [rbx+180h]                                                ; +0x18, 0x1400454c8\nmov     rax, [rcx]                                                     ; +0x1f, 0x1400454cf\nadd     rsp, 20h                                                       ; +0x22, 0x1400454d2\npop     rbx                                                            ; +0x26, 0x1400454d6\njmp     qword ptr [rax+370h]                                           ; +0x27, 0x1400454d7\nmov     rcx, [rbx+178h]                                                ; +0x2e, 0x1400454de\nmov     rax, [rcx]                                                     ; +0x35, 0x1400454e5\nadd     rsp, 20h                                                       ; +0x38, 0x1400454e8\npop     rbx                                                            ; +0x3c, 0x1400454ec\njmp     qword ptr [rax+370h]                                           ; +0x3d, 0x1400454ed", "xrefs": ["<???> @ 0x14052f158", "<???> @ 0x1406c4704"], "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"}