{"type": "func", "start": 6442825136, "end": 6442825182, "name": "cocos2d::CCMenuItemToggle::selected", "pseudocode": "// \n// cocos2d::CCMenuItemToggle::selected from 0x18005b5b0 to 0x18005b5de (46 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x1800f8f90\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b2e44\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 cocos2d::CCMenuItemToggle::selected(cocos2d::CCMenuItemToggle *this)\n{\n  int m_nScriptTapHandler; // edx\n  struct cocos2d::CCString *v2; // rax\n\n  m_nScriptTapHandler = this->m_nScriptTapHandler;\n  this->m_bSelected = 1;\n  v2 = cocos2d::CCArray::stringAtIndex(*((cocos2d::CCArray **)this + 48), m_nScriptTapHandler);\n  ((void (__fastcall *)(struct cocos2d::CCString *))v2->__vftable[12].isEqual)(v2);\n}", "assembly": "; \n; cocos2d::CCMenuItemToggle::selected from 0x18005b5b0 to 0x18005b5de (46 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x1800f8f90\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b2e44\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\nsub     rsp, 28h                                                       ; +0x0, 0x18005b5b0\nmov     edx, [rcx+178h]; unsigned int                                  ; +0x4, 0x18005b5b4\nmov     byte ptr [rcx+158h], 1                                         ; +0xa, 0x18005b5ba\nmov     rcx, [rcx+180h]; this                                          ; +0x11, 0x18005b5c1\ncall    ?stringAtIndex@CCArray@cocos2d@@QEAAPEAVCCString@2@I@Z; cocos2d::CCArray::stringAtIndex(uint) ; +0x18, 0x18005b5c8\nmov     rcx, rax                                                       ; +0x1d, 0x18005b5cd\nmov     rdx, [rax]                                                     ; +0x20, 0x18005b5d0\nadd     rsp, 28h                                                       ; +0x23, 0x18005b5d3\njmp     qword ptr [rdx+370h]                                           ; +0x27, 0x18005b5d7", "xrefs": ["<???> @ 0x1800f8f90", "<???> @ 0x1801438a8", "<???> @ 0x1801b2e44"], "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"}