; ; cocos2d::CCRenderTexture::~CCRenderTexture from 0x18005f270 to 0x18005f303 (147 bytes) ; ; 4 xrefs: ; > sub_18005F310 @ 0x18005f36e ; > sub_18005F310 @ 0x18005f32c ; > @ 0x1801438a8 ; > @ 0x1801b336c ; ; 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, 0x18005f270 sub rsp, 20h ; +0x2, 0x18005f272 mov rbx, rcx ; +0x6, 0x18005f276 lea rax, ??_7CCRenderTexture@cocos2d@@6B@; const cocos2d::CCRenderTexture::`vftable' ; +0x9, 0x18005f279 mov [rcx], rax ; +0x10, 0x18005f280 mov rcx, [rcx+140h]; this ; +0x13, 0x18005f283 test rcx, rcx ; +0x1a, 0x18005f28a jz short loc_18005F294 ; +0x1d, 0x18005f28d call ?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x1f, 0x18005f28f mov rcx, [rbx+160h]; this ; +0x24, 0x18005f294 test rcx, rcx ; +0x2b, 0x18005f29b jz short loc_18005F2A5 ; +0x2e, 0x18005f29e call ?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x30, 0x18005f2a0 lea rdx, [rbx+148h] ; +0x35, 0x18005f2a5 mov ecx, 1 ; +0x3c, 0x18005f2ac mov rax, cs:__glewDeleteFramebuffers ; +0x41, 0x18005f2b1 call qword ptr [rax] ; +0x48, 0x18005f2b8 lea rdx, [rbx+14Ch] ; +0x4a, 0x18005f2ba cmp dword ptr [rdx], 0 ; +0x51, 0x18005f2c1 jz short loc_18005F2D4 ; +0x54, 0x18005f2c4 mov ecx, 1 ; +0x56, 0x18005f2c6 mov rax, cs:__glewDeleteRenderbuffers ; +0x5b, 0x18005f2cb call qword ptr [rax] ; +0x62, 0x18005f2d2 mov rcx, [rbx+168h] ; +0x64, 0x18005f2d4 test rcx, rcx ; +0x6b, 0x18005f2db jz short loc_18005F2F6 ; +0x6e, 0x18005f2de mov rax, [rcx] ; +0x70, 0x18005f2e0 mov edx, 1 ; +0x73, 0x18005f2e3 call qword ptr [rax+8] ; +0x78, 0x18005f2e8 mov qword ptr [rbx+168h], 0 ; +0x7b, 0x18005f2eb mov rcx, rbx; this ; +0x86, 0x18005f2f6 add rsp, 20h ; +0x89, 0x18005f2f9 pop rbx ; +0x8d, 0x18005f2fd jmp ??1CCNode@cocos2d@@UEAA@XZ; cocos2d::CCNode::~CCNode(void) ; +0x8e, 0x18005f2fe