{"type": "func", "start": 6442828176, "end": 6442828295, "name": "cocos2d::CCMenuItemLabel::activate", "pseudocode": "// \n// cocos2d::CCMenuItemLabel::activate from 0x18005c190 to 0x18005c207 (119 bytes)\n// \n// 5 xrefs:\n// > <???> @ 0x1800fde78\n// > <???> @ 0x1800fe2d0\n// > <???> @ 0x1800fe728\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801bcef8\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::activate(cocos2d::CCActionManager **this)\n{\n  __int64 v2; // rcx\n  void (__fastcall *v3)(__int64, cocos2d::CCActionManager **); // rax\n  struct cocos2d::CCScriptEngineManager *v4; // rax\n\n  if ( *((_BYTE *)this + 345) )\n  {\n    cocos2d::CCNode::stopAllActions(this);\n    (*((void (__fastcall **)(cocos2d::CCActionManager **))*this + 20))(this);\n    if ( *((_BYTE *)this + 345) )\n    {\n      v2 = (__int64)*(this + 44);\n      if ( v2 )\n      {\n        v3 = (void (__fastcall *)(__int64, cocos2d::CCActionManager **))*(this + 45);\n        if ( v3 )\n          v3(v2, this);\n      }\n      if ( *((_DWORD *)this + 75) )\n      {\n        v4 = cocos2d::CCScriptEngineManager::sharedManager();\n        (*(void (__fastcall **)(_QWORD, cocos2d::CCActionManager **))(**(_QWORD **)v4 + 72LL))(*(_QWORD *)v4, this);\n      }\n    }\n  }\n}", "assembly": "; \n; cocos2d::CCMenuItemLabel::activate from 0x18005c190 to 0x18005c207 (119 bytes)\n; \n; 5 xrefs:\n; > <???> @ 0x1800fde78\n; > <???> @ 0x1800fe2d0\n; > <???> @ 0x1800fe728\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801bcef8\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    rbx                                                            ; +0x0, 0x18005c190\nsub     rsp, 20h                                                       ; +0x2, 0x18005c192\ncmp     byte ptr [rcx+159h], 0                                         ; +0x6, 0x18005c196\nmov     rbx, rcx                                                       ; +0xd, 0x18005c19d\njz      short loc_18005C201                                            ; +0x10, 0x18005c1a0\ncall    ?stopAllActions@CCNode@cocos2d@@QEAAXXZ; cocos2d::CCNode::stopAllActions(void) ; +0x12, 0x18005c1a2\nmov     rax, [rbx]                                                     ; +0x17, 0x18005c1a7\nmov     rcx, rbx                                                       ; +0x1a, 0x18005c1aa\nmovss   xmm1, dword ptr [rbx+18Ch]                                     ; +0x1d, 0x18005c1ad\ncall    qword ptr [rax+0A0h]                                           ; +0x25, 0x18005c1b5\ncmp     byte ptr [rbx+159h], 0                                         ; +0x2b, 0x18005c1bb\njz      short loc_18005C201                                            ; +0x32, 0x18005c1c2\nmov     rcx, [rbx+160h]                                                ; +0x34, 0x18005c1c4\ntest    rcx, rcx                                                       ; +0x3b, 0x18005c1cb\njz      short loc_18005C1E1                                            ; +0x3e, 0x18005c1ce\nmov     rax, [rbx+168h]                                                ; +0x40, 0x18005c1d0\ntest    rax, rax                                                       ; +0x47, 0x18005c1d7\njz      short loc_18005C1E1                                            ; +0x4a, 0x18005c1da\nmov     rdx, rbx                                                       ; +0x4c, 0x18005c1dc\ncall    rax                                                            ; +0x4f, 0x18005c1df\ncmp     dword ptr [rbx+12Ch], 0                                        ; +0x51, 0x18005c1e1\njz      short loc_18005C201                                            ; +0x58, 0x18005c1e8\ncall    ?sharedManager@CCScriptEngineManager@cocos2d@@SAPEAV12@XZ; cocos2d::CCScriptEngineManager::sharedManager(void) ; +0x5a, 0x18005c1ea\nmov     rdx, rbx                                                       ; +0x5f, 0x18005c1ef\nmov     rcx, [rax]                                                     ; +0x62, 0x18005c1f2\nmov     rax, [rcx]                                                     ; +0x65, 0x18005c1f5\nadd     rsp, 20h                                                       ; +0x68, 0x18005c1f8\npop     rbx                                                            ; +0x6c, 0x18005c1fc\njmp     qword ptr [rax+48h]                                            ; +0x6d, 0x18005c1fd\nadd     rsp, 20h                                                       ; +0x71, 0x18005c201\npop     rbx                                                            ; +0x75, 0x18005c205\nretn                                                                   ; +0x76, 0x18005c206", "xrefs": ["<???> @ 0x1800fde78", "<???> @ 0x1800fe2d0", "<???> @ 0x1800fe728", "<???> @ 0x18014cf68", "<???> @ 0x1801bcef8"], "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"}