//
// sub_100665C30 from 0x100665c30 to 0x100665cba (138 bytes)
//
// 1 xrefs:
// > -[EAGLView prepareOpenGL] @ 0x100665bfc
//
// 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
//
id __fastcall sub_100665C30(__int64 a1)
{
id v1; // rax
id v2; // rax
objc_super v4; // [rsp+0h] [rbp-30h] BYREF
int v5[7]; // [rsp+14h] [rbp-1Ch] BYREF
v4.receiver = *(id *)(a1 + 32);
v4.super_class = (Class)&OBJC_CLASS___EAGLView;
objc_msgSendSuper2(&v4, "prepareOpenGL");
v1 = objc_msgSend(*(id *)(a1 + 32), "openGLContext");
objc_msgSend(v1, "makeCurrentContext");
v5[0] = 1;
v2 = objc_msgSend(*(id *)(a1 + 32), "openGLContext");
return objc_msgSend(v2, "setValues:forParameter:", v5, 222);
}