//
// -[EAGLView convertPixelFormat:] from 0x10041ae54 to 0x10041ae84 (48 bytes)
//
// 2 xrefs:
// > -[EAGLView setupSurfaceWithSharegroup:] @ 0x10041ab4c
// > ??> @ 0x100849e88
//
// 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
//
unsigned int __cdecl -[EAGLView convertPixelFormat:](EAGLView *self, SEL a2, id a3)
{
if ( (unsigned int)objc_msgSend(a3, "isEqualToString:", CFSTR("EAGLColorFormat565")) )
return 36194;
else
return 32856;
}