; ; cocos2d::CCMenuItem::~CCMenuItem from 0x180059c60 to 0x180059cb5 (85 bytes) ; ; 3 xrefs: ; > sub_180059E80 @ 0x180059e99 ; > @ 0x1801438a8 ; > @ 0x1801b2bec ; ; This function is hookable on this platform! ; ; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA ; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings ; push rbx ; +0x0, 0x180059c60 sub rsp, 20h ; +0x2, 0x180059c62 mov rbx, rcx ; +0x6, 0x180059c66 lea rax, ??_7CCMenuItem@cocos2d@@6BCCNode@1@@; const cocos2d::CCMenuItem::`vftable'{for `cocos2d::CCNode'} ; +0x9, 0x180059c69 mov [rcx], rax ; +0x10, 0x180059c70 lea rax, ??_7CCMenuItem@cocos2d@@6BCCRGBAProtocol@1@@; const cocos2d::CCMenuItem::`vftable'{for `cocos2d::CCRGBAProtocol'} ; +0x13, 0x180059c73 mov [rcx+140h], rax ; +0x1a, 0x180059c7a cmp dword ptr [rcx+170h], 0 ; +0x21, 0x180059c81 jz short loc_180059CA8 ; +0x28, 0x180059c88 call ?sharedManager@CCScriptEngineManager@cocos2d@@SAPEAV12@XZ; cocos2d::CCScriptEngineManager::sharedManager(void) ; +0x2a, 0x180059c8a mov rcx, [rax] ; +0x2f, 0x180059c8f mov rax, [rcx] ; +0x32, 0x180059c92 mov edx, [rbx+170h] ; +0x35, 0x180059c95 call qword ptr [rax+18h] ; +0x3b, 0x180059c9b mov dword ptr [rbx+170h], 0 ; +0x3e, 0x180059c9e mov rcx, rbx; this ; +0x48, 0x180059ca8 add rsp, 20h ; +0x4b, 0x180059cab pop rbx ; +0x4f, 0x180059caf jmp ??1CCNodeRGBA@cocos2d@@UEAA@XZ; cocos2d::CCNodeRGBA::~CCNodeRGBA(void) ; +0x50, 0x180059cb0