; ; cocos2d::CCLayer::~CCLayer from 0x18004ed90 to 0x18004ee58 (200 bytes) ; ; 6 xrefs: ; > cocos2d::CCLayerMultiplex::~CCLayerMultiplex @ 0x18004ef62 ; > cocos2d::CCLayerRGBA::~CCLayerRGBA @ 0x18004efce ; > sub_18004EFF0 @ 0x18004f04e ; > sub_18004EFF0 @ 0x18004f00c ; > @ 0x1801438a8 ; > @ 0x1801b1d34 ; ; 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, 0x18004ed90 sub rsp, 20h ; +0x2, 0x18004ed92 mov rbx, rcx ; +0x6, 0x18004ed96 lea rax, ??_7CCLayer@cocos2d@@6BCCNode@1@@; const cocos2d::CCLayer::`vftable'{for `cocos2d::CCNode'} ; +0x9, 0x18004ed99 mov [rcx], rax ; +0x10, 0x18004eda0 lea rax, ??_7CCLayer@cocos2d@@6BCCTouchDelegate@1@@; const cocos2d::CCLayer::`vftable'{for `cocos2d::CCTouchDelegate'} ; +0x13, 0x18004eda3 mov [rcx+140h], rax ; +0x1a, 0x18004edaa lea rax, ??_7CCLayer@cocos2d@@6BCCAccelerometerDelegate@1@@; const cocos2d::CCLayer::`vftable'{for `cocos2d::CCAccelerometerDelegate'} ; +0x21, 0x18004edb1 mov [rcx+148h], rax ; +0x28, 0x18004edb8 lea rax, ??_7CCLayer@cocos2d@@6BCCKeypadDelegate@1@@; const cocos2d::CCLayer::`vftable'{for `cocos2d::CCKeypadDelegate'} ; +0x2f, 0x18004edbf mov [rcx+150h], rax ; +0x36, 0x18004edc6 lea rax, ??_7CCLayer@cocos2d@@6BCCKeyboardDelegate@1@@; const cocos2d::CCLayer::`vftable'{for `cocos2d::CCKeyboardDelegate'} ; +0x3d, 0x18004edcd mov [rcx+158h], rax ; +0x44, 0x18004edd4 lea rax, ??_7CCLayer@cocos2d@@6BCCMouseDelegate@1@@; const cocos2d::CCLayer::`vftable'{for `cocos2d::CCMouseDelegate'} ; +0x4b, 0x18004eddb mov [rcx+160h], rax ; +0x52, 0x18004ede2 mov rcx, [rcx+170h]; this ; +0x59, 0x18004ede9 test rcx, rcx ; +0x60, 0x18004edf0 jz short loc_18004EE05 ; +0x63, 0x18004edf3 call ?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x65, 0x18004edf5 mov qword ptr [rbx+170h], 0 ; +0x6a, 0x18004edfa mov rcx, [rbx+178h]; this ; +0x75, 0x18004ee05 test rcx, rcx ; +0x7c, 0x18004ee0c jz short loc_18004EE21 ; +0x7f, 0x18004ee0f call ?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x81, 0x18004ee11 mov qword ptr [rbx+178h], 0 ; +0x86, 0x18004ee16 mov rcx, [rbx+180h]; this ; +0x91, 0x18004ee21 test rcx, rcx ; +0x98, 0x18004ee28 jz short loc_18004EE3D ; +0x9b, 0x18004ee2b call ?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x9d, 0x18004ee2d mov qword ptr [rbx+180h], 0 ; +0xa2, 0x18004ee32 lea rax, ??_7CCTouchDelegate@cocos2d@@6B@; const cocos2d::CCTouchDelegate::`vftable' ; +0xad, 0x18004ee3d mov [rbx+140h], rax ; +0xb4, 0x18004ee44 mov rcx, rbx; this ; +0xbb, 0x18004ee4b add rsp, 20h ; +0xbe, 0x18004ee4e pop rbx ; +0xc2, 0x18004ee52 jmp ??1CCNode@cocos2d@@UEAA@XZ; cocos2d::CCNode::~CCNode(void) ; +0xc3, 0x18004ee53