{"type": "func", "start": 6442833024, "end": 6442833171, "name": "cocos2d::CCMenuItemLabel::selected", "pseudocode": "// \n// cocos2d::CCMenuItemLabel::selected from 0x18005d480 to 0x18005d513 (147 bytes)\n// \n// 7 xrefs:\n// > <???> @ 0x1800fde80\n// > <???> @ 0x1800fe2d8\n// > <???> @ 0x1800fe730\n// > <???> @ 0x180141ec4\n// > <???> @ 0x180141ed4\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801bd0b4\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:21:49 +0000\n// \n\nvoid __fastcall cocos2d::CCMenuItemLabel::selected(cocos2d::CCMenuItemLabel *this)\n{\n  struct cocos2d::CCAction *ActionByTag; // rax\n  struct cocos2d::CCAction *v3; // rbx\n\n  if ( *((_BYTE *)this + 345) )\n  {\n    *((_BYTE *)this + 344) = 1;\n    ActionByTag = cocos2d::CCNode::getActionByTag((cocos2d::CCActionManager **)this, 0xC0C05002);\n    if ( ActionByTag )\n      cocos2d::CCNode::stopAction((cocos2d::CCActionManager **)this, ActionByTag);\n    else\n      *((float *)this + 99) = (*(float (__fastcall **)(cocos2d::CCMenuItemLabel *))(*(_QWORD *)this + 168LL))(this);\n    v3 = cocos2d::CCScaleTo::create(0.1, *((float *)this + 99) * 1.2);\n    (*(void (__fastcall **)(struct cocos2d::CCAction *, __int64))(*(_QWORD *)v3 + 64LL))(v3, 3233828866LL);\n    cocos2d::CCNode::runAction((cocos2d::CCActionManager **)this, v3);\n  }\n}", "assembly": "; \n; cocos2d::CCMenuItemLabel::selected from 0x18005d480 to 0x18005d513 (147 bytes)\n; \n; 7 xrefs:\n; > <???> @ 0x1800fde80\n; > <???> @ 0x1800fe2d8\n; > <???> @ 0x1800fe730\n; > <???> @ 0x180141ec4\n; > <???> @ 0x180141ed4\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801bd0b4\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:21:49 +0000\n; \npush    rdi                                                            ; +0x0, 0x18005d480\nsub     rsp, 20h                                                       ; +0x2, 0x18005d482\ncmp     byte ptr [rcx+159h], 0                                         ; +0x6, 0x18005d486\nmov     rdi, rcx                                                       ; +0xd, 0x18005d48d\njz      short loc_18005D50D                                            ; +0x10, 0x18005d490\nmov     edx, 0C0C05002h; int                                           ; +0x12, 0x18005d492\nmov     [rsp+28h+arg_0], rbx                                           ; +0x17, 0x18005d497\nmov     byte ptr [rcx+158h], 1                                         ; +0x1c, 0x18005d49c\ncall    ?getActionByTag@CCNode@cocos2d@@QEAAPEAVCCAction@2@H@Z; cocos2d::CCNode::getActionByTag(int) ; +0x23, 0x18005d4a3\nmov     rcx, rdi; this                                                 ; +0x28, 0x18005d4a8\ntest    rax, rax                                                       ; +0x2b, 0x18005d4ab\njz      short loc_18005D4BA                                            ; +0x2e, 0x18005d4ae\nmov     rdx, rax; struct cocos2d::CCAction *                           ; +0x30, 0x18005d4b0\ncall    ?stopAction@CCNode@cocos2d@@QEAAXPEAVCCAction@2@@Z; cocos2d::CCNode::stopAction(cocos2d::CCAction *) ; +0x33, 0x18005d4b3\njmp     short loc_18005D4CB                                            ; +0x38, 0x18005d4b8\nmov     rax, [rdi]                                                     ; +0x3a, 0x18005d4ba\ncall    qword ptr [rax+0A8h]                                           ; +0x3d, 0x18005d4bd\nmovss   dword ptr [rdi+18Ch], xmm0                                     ; +0x43, 0x18005d4c3\nmovss   xmm1, dword ptr [rdi+18Ch]                                     ; +0x4b, 0x18005d4cb\nmulss   xmm1, cs:dword_1800FF538; float                                ; +0x53, 0x18005d4d3\nmovss   xmm0, cs:flt_1800EED9C; float                                  ; +0x5b, 0x18005d4db\ncall    ?create@CCScaleTo@cocos2d@@SAPEAV12@MM@Z; cocos2d::CCScaleTo::create(float,float) ; +0x63, 0x18005d4e3\nmov     edx, 0C0C05002h                                                ; +0x68, 0x18005d4e8\nmov     rbx, rax                                                       ; +0x6d, 0x18005d4ed\nmov     rcx, [rax]                                                     ; +0x70, 0x18005d4f0\nmov     r8, [rcx+40h]                                                  ; +0x73, 0x18005d4f3\nmov     rcx, rax                                                       ; +0x77, 0x18005d4f7\ncall    r8                                                             ; +0x7a, 0x18005d4fa\nmov     rdx, rbx; struct cocos2d::CCAction *                           ; +0x7d, 0x18005d4fd\nmov     rcx, rdi; this                                                 ; +0x80, 0x18005d500\ncall    ?runAction@CCNode@cocos2d@@QEAAPEAVCCAction@2@PEAV32@@Z; cocos2d::CCNode::runAction(cocos2d::CCAction *) ; +0x83, 0x18005d503\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x88, 0x18005d508\nadd     rsp, 20h                                                       ; +0x8d, 0x18005d50d\npop     rdi                                                            ; +0x91, 0x18005d511\nretn                                                                   ; +0x92, 0x18005d512", "xrefs": ["<???> @ 0x1800fde80", "<???> @ 0x1800fe2d8", "<???> @ 0x1800fe730", "<???> @ 0x180141ec4", "<???> @ 0x180141ed4", "<???> @ 0x18014cf68", "<???> @ 0x1801bd0b4"], "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"}