//
// -[AppController handleWindowResize:Center:] from 0x100008520 to 0x1000085a5 (133 bytes)
//
// 4 xrefs:
// > -[AppController applicationDidFinishLaunching:] @ 0x100007799
// > -[AppController toggleFullScreen:] @ 0x100007c70
// > -[AppController handleQueuedWindowResize] @ 0x10000850d
// > ??> @ 0x1009991a0
//
// 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 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;
}