//
// -[AppController handleWindowResize:Center:] from 0x100004800 to 0x100004885 (133 bytes)
//
// 4 xrefs:
// > -[AppController applicationDidFinishLaunching:] @ 0x100003a49
// > -[AppController toggleFullScreen:] @ 0x100003f50
// > -[AppController handleQueuedWindowResize] @ 0x1000047ed
// > ??> @ 0x100bdb228
//
// 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 handleWindowResize:Center:](AppController *self, SEL a2, CGRect a3, char a4)
{
double v5; // xmm0_8
double v6; // xmm1_8
if ( a4 )
self->_forceCenter = 1;
HIDWORD(v5) = HIDWORD(a3.size.width);
*(float *)&v5 = a3.size.width;
HIDWORD(v6) = HIDWORD(a3.size.height);
*(float *)&v6 = a3.size.height;
-[AppController updateWindowSize:Height:DontMove:](self, "updateWindowSize:Height:DontMove:", a4 == 0, v5, v6);
self->_savedSize = a3;
self->originalWinFrame_ = a3;
if ( a4 )
self->_forceCenter = 0;
}