//
// cocos2d::CCEGLView::end from 0x180076ad0 to 0x180076b08 (56 bytes)
//
// 3 xrefs:
// > ??> @ 0x1801008b0
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b48cc
//
// 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
//
void __fastcall cocos2d::CCEGLView::end(cocos2d::CCEGLView *this)
{
__int64 v2; // rcx
v2 = *((_QWORD *)this + 25);
if ( v2 )
{
sub_1800D4C20(v2, 1);
*((_QWORD *)this + 25) = 0;
}
cocos2d::CCObject::release((cocos2d::CCObject *)&this->m_idk1);
}