//
// -[AppController handleWindowResizeWMenu:Center:] from 0x100008450 to 0x100008491 (65 bytes)
//
// 4 xrefs:
// > -[AppController windowDidEndLiveResize:] @ 0x10000828e
// > -[AppController windowDidResize:] @ 0x10000830c
// > -[AppController windowShouldZoom:toFrame:] @ 0x10000841b
// > ??> @ 0x100999158
//
// 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 __cdecl -[AppController handleWindowResizeWMenu:Center:](AppController *self, SEL a2, CGRect a3, char a4)
{
double v4; // xmm0_8
CGFloat v5; // xmm1_8
if ( a4 )
self->_forceCenter = 1;
HIDWORD(v4) = HIDWORD(a3.size.width);
v5 = a3.size.height - self->_menuBarHeight;
*(float *)&v4 = a3.size.width;
*(float *)&v5 = v5;
-[AppController updateWindowSize:Height:DontMove:](self, "updateWindowSize:Height:DontMove:", a4 == 0, v4, v5);
}