//
// cocos2d::CCEGLView::end from 0x180079790 to 0x1800797c8 (56 bytes)
//
// 3 xrefs:
// > ??> @ 0x180106fc8
// > ??> @ 0x18014cf68
// > ??> @ 0x1801bebd8
//
// 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:59 +0000
//
void __fastcall cocos2d::CCEGLView::end(cocos2d::CCEGLView *this)
{
__int64 v2; // rcx
v2 = *((_QWORD *)this + 25);
if ( v2 )
{
sub_1800DC950(v2, 1);
*((_QWORD *)this + 25) = 0;
}
cocos2d::CCObject::release((cocos2d::CCEGLView *)((char *)this + 120));
}