//
// -[EAGLView lockOpenGLContext] from 0x100745350 to 0x100745391 (65 bytes)
//
// 3 xrefs:
// > -[AppController applicationDidFinishLaunching:] @ 0x100003a0d
// > -[EAGLView reshape] @ 0x100745318
// > ??> @ 0x100bdd070
//
// 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 12:36:30 +0000
//
void __cdecl -[EAGLView lockOpenGLContext](EAGLView *self, SEL a2)
{
id v2; // rbx
_CGLContextObject *v3; // rax
v2 = -[EAGLView openGLContext](self, "openGLContext");
objc_msgSend(v2, "makeCurrentContext");
v3 = (_CGLContextObject *)objc_msgSend(v2, "CGLContextObj");
CGLLockContext(v3);
}