; ; cocos2d::CCLayer::~CCLayer from 0x180050bb0 to 0x180050c78 (200 bytes) ; ; 6 xrefs: ; > cocos2d::CCLayerMultiplex::~CCLayerMultiplex @ 0x180050d82 ; > cocos2d::CCLayerRGBA::~CCLayerRGBA @ 0x180050dee ; > sub_180050E10 @ 0x180050e6e ; > sub_180050E10 @ 0x180050e2c ; > @ 0x18014cf68 ; > @ 0x1801bbfc8 ; ; 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:45 +0000 ; push rbx ; +0x0, 0x180050bb0 sub rsp, 20h ; +0x2, 0x180050bb2 mov rbx, rcx ; +0x6, 0x180050bb6 lea rax, ??_7CCLayer@cocos2d@@6BCCNode@1@@; const cocos2d::CCLayer::`vftable'{for `cocos2d::CCNode'} ; +0x9, 0x180050bb9 mov [rcx], rax ; +0x10, 0x180050bc0 lea rax, ??_7CCLayer@cocos2d@@6BCCTouchDelegate@1@@; const cocos2d::CCLayer::`vftable'{for `cocos2d::CCTouchDelegate'} ; +0x13, 0x180050bc3 mov [rcx+140h], rax ; +0x1a, 0x180050bca lea rax, ??_7CCLayer@cocos2d@@6BCCAccelerometerDelegate@1@@; const cocos2d::CCLayer::`vftable'{for `cocos2d::CCAccelerometerDelegate'} ; +0x21, 0x180050bd1 mov [rcx+148h], rax ; +0x28, 0x180050bd8 lea rax, ??_7CCLayer@cocos2d@@6BCCKeypadDelegate@1@@; const cocos2d::CCLayer::`vftable'{for `cocos2d::CCKeypadDelegate'} ; +0x2f, 0x180050bdf mov [rcx+150h], rax ; +0x36, 0x180050be6 lea rax, ??_7CCLayer@cocos2d@@6BCCKeyboardDelegate@1@@; const cocos2d::CCLayer::`vftable'{for `cocos2d::CCKeyboardDelegate'} ; +0x3d, 0x180050bed mov [rcx+158h], rax ; +0x44, 0x180050bf4 lea rax, ??_7CCLayer@cocos2d@@6BCCMouseDelegate@1@@; const cocos2d::CCLayer::`vftable'{for `cocos2d::CCMouseDelegate'} ; +0x4b, 0x180050bfb mov [rcx+160h], rax ; +0x52, 0x180050c02 mov rcx, [rcx+170h]; this ; +0x59, 0x180050c09 test rcx, rcx ; +0x60, 0x180050c10 jz short loc_180050C25 ; +0x63, 0x180050c13 call ?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x65, 0x180050c15 mov qword ptr [rbx+170h], 0 ; +0x6a, 0x180050c1a mov rcx, [rbx+178h]; this ; +0x75, 0x180050c25 test rcx, rcx ; +0x7c, 0x180050c2c jz short loc_180050C41 ; +0x7f, 0x180050c2f call ?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x81, 0x180050c31 mov qword ptr [rbx+178h], 0 ; +0x86, 0x180050c36 mov rcx, [rbx+180h]; this ; +0x91, 0x180050c41 test rcx, rcx ; +0x98, 0x180050c48 jz short loc_180050C5D ; +0x9b, 0x180050c4b call ?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x9d, 0x180050c4d mov qword ptr [rbx+180h], 0 ; +0xa2, 0x180050c52 lea rax, ??_7CCTouchDelegate@cocos2d@@6B@; const cocos2d::CCTouchDelegate::`vftable' ; +0xad, 0x180050c5d mov [rbx+140h], rax ; +0xb4, 0x180050c64 mov rcx, rbx; this ; +0xbb, 0x180050c6b add rsp, 20h ; +0xbe, 0x180050c6e pop rbx ; +0xc2, 0x180050c72 jmp ??1CCNode@cocos2d@@UEAA@XZ; cocos2d::CCNode::~CCNode(void) ; +0xc3, 0x180050c73