{"type": "func", "start": 5368993104, "end": 5368993172, "name": "CCMenuItemToggler::unselected", "pseudocode": "// \n// CCMenuItemToggler::unselected from 0x140045550 to 0x140045594 (68 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x14052f160\n// > <???> @ 0x1406c471c\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::unselected(CCMenuItemToggler *a1)\n{\n  CCMenuItemSpriteExtra *m_offButton; // rcx\n\n  cocos2d::CCMenuItem::unselected(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->unselected(m_offButton);\n}", "assembly": "; \n; CCMenuItemToggler::unselected from 0x140045550 to 0x140045594 (68 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x14052f160\n; > <???> @ 0x1406c471c\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, 0x140045550\nsub     rsp, 20h                                                       ; +0x2, 0x140045552\nmov     rbx, rcx                                                       ; +0x6, 0x140045556\ncall    cs:?unselected@CCMenuItem@cocos2d@@UEAAXXZ; cocos2d::CCMenuItem::unselected(void) ; +0x9, 0x140045559\ncmp     byte ptr [rbx+188h], 0                                         ; +0xf, 0x14004555f\njz      short loc_14004557E                                            ; +0x16, 0x140045566\nmov     rcx, [rbx+180h]                                                ; +0x18, 0x140045568\nmov     rax, [rcx]                                                     ; +0x1f, 0x14004556f\nadd     rsp, 20h                                                       ; +0x22, 0x140045572\npop     rbx                                                            ; +0x26, 0x140045576\njmp     qword ptr [rax+378h]                                           ; +0x27, 0x140045577\nmov     rcx, [rbx+178h]                                                ; +0x2e, 0x14004557e\nmov     rax, [rcx]                                                     ; +0x35, 0x140045585\nadd     rsp, 20h                                                       ; +0x38, 0x140045588\npop     rbx                                                            ; +0x3c, 0x14004558c\njmp     qword ptr [rax+378h]                                           ; +0x3d, 0x14004558d", "xrefs": ["<???> @ 0x14052f160", "<???> @ 0x1406c471c"], "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"}