//
// -[EAGLView convertPointFromViewToSurface:] from 0x10041ae84 to 0x10041aedc (88 bytes)
//
// 1 xrefs:
// > ??> @ 0x100849ea0
//
// 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
//
CGPoint __cdecl -[EAGLView convertPointFromViewToSurface:](EAGLView *self, SEL a2, CGPoint a3)
{
double y; // d8
double x; // d9
double v6; // d0
double v7; // d2
double v9; // d1
double v10; // d3
CGPoint result; // 0:d0.8,8:d1.8
y = a3.y;
x = a3.x;
-[EAGLView bounds](self, "bounds");
result.x = self->size_.width * ((x - v6) / v7);
result.y = self->size_.height * ((y - v9) / v10);
return result;
}