//
// cocos2d::CCEGLView::end from 0x1005036c0 to 0x100503724 (100 bytes)
//
// 1 xrefs:
// > ??> @ 0x100959468
//
// 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 *a1)
{
id v1; // rax
id v2; // rax
v1 = +[CCDirectorCaller sharedDirectorCaller](&OBJC_CLASS___CCDirectorCaller, "sharedDirectorCaller");
objc_msgSend(v1, "end");
v2 = +[EAGLView sharedEGLView](&OBJC_CLASS___EAGLView, "sharedEGLView");
objc_msgSend(v2, "removeFromSuperview");
if ( a1 )
((void (__fastcall *)(cocos2d::CCEGLView *))a1->~CCEGLView_0)(a1);
}