//
// -[AppController handleWindowResizeWMenu:Center:] from 0x100004730 to 0x100004771 (65 bytes)
//
// 4 xrefs:
// > -[AppController windowDidEndLiveResize:] @ 0x10000456e
// > -[AppController windowDidResize:] @ 0x1000045ec
// > -[AppController windowShouldZoom:toFrame:] @ 0x1000046fb
// > ??> @ 0x100bdb1e0
//
// 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:18:45 +0000
//
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);
}