; ; cocos2d::CCMenuItemSprite::~CCMenuItemSprite from 0x18005bd00 to 0x18005bd57 (87 bytes) ; ; 5 xrefs: ; > sub_1800E7950 @ 0x1800e7957 ; > sub_18005BF40 @ 0x18005bf59 ; > @ 0x180141f8f ; > @ 0x18014cf68 ; > @ 0x1801bce98 ; ; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! ; ; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA ; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings ; Generated at Fri, 27 Nov 2026 11:21:49 +0000 ; push rbx ; +0x0, 0x18005bd00 sub rsp, 20h ; +0x2, 0x18005bd02 mov rbx, rcx ; +0x6, 0x18005bd06 lea rax, ??_7CCMenuItem@cocos2d@@6BCCNode@1@@; const cocos2d::CCMenuItem::`vftable'{for `cocos2d::CCNode'} ; +0x9, 0x18005bd09 mov [rcx], rax ; +0x10, 0x18005bd10 lea rax, ??_7CCMenuItem@cocos2d@@6BCCRGBAProtocol@1@@; const cocos2d::CCMenuItem::`vftable'{for `cocos2d::CCRGBAProtocol'} ; +0x13, 0x18005bd13 mov [rcx+140h], rax ; +0x1a, 0x18005bd1a cmp dword ptr [rcx+170h], 0 ; +0x21, 0x18005bd21 jz short loc_18005BD48 ; +0x28, 0x18005bd28 call ?sharedManager@CCScriptEngineManager@cocos2d@@SAPEAV12@XZ; cocos2d::CCScriptEngineManager::sharedManager(void) ; +0x2a, 0x18005bd2a mov rcx, [rax] ; +0x2f, 0x18005bd2f mov rax, [rcx] ; +0x32, 0x18005bd32 mov edx, [rbx+170h] ; +0x35, 0x18005bd35 call qword ptr [rax+18h] ; +0x3b, 0x18005bd3b mov dword ptr [rbx+170h], 0 ; +0x3e, 0x18005bd3e mov rcx, rbx; this ; +0x48, 0x18005bd48 call ??1CCNodeRGBA@cocos2d@@UEAA@XZ; cocos2d::CCNodeRGBA::~CCNodeRGBA(void) ; +0x4b, 0x18005bd4b nop ; +0x50, 0x18005bd50 add rsp, 20h ; +0x51, 0x18005bd51 pop rbx ; +0x55, 0x18005bd55 retn ; +0x56, 0x18005bd56