//
// PlatformToolbox::resizeWindow from 0x1004c4b80 to 0x1004c4bf6 (118 bytes)
//
// 2 xrefs:
// > VideoOptionsLayer::onApply @ 0x1007a04f5
// > GraphicsReloadLayer::performReload @ 0x1007a52de
//
// 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
//
// local variable allocation has failed, the output may be wrong!
void __fastcall PlatformToolbox::resizeWindow(float a1, float a2)
{
AppControllerManager *v2; // rax
AppController *v3; // rax
__int64 v4; // rcx
__int64 v5; // r8
__int64 v6; // r9
__m128d v7; // [rsp+10h] [rbp-60h]
v2 = +[AppControllerManager sharedInstance](&OBJC_CLASS___AppControllerManager, "sharedInstance");
v3 = -[AppControllerManager controller](v2, "controller");
v7 = _mm_cvtps_pd(_mm_insert_ps(*(__m128 *)&a1, (__m128)LODWORD(a2), 16));
-[AppController queueWindowResize:Center:](
v3,
"queueWindowResize:Center:",
1,
v4,
v5,
v6,
0,
0,
*(_OWORD *)&v7,
0,
0,
*(_OWORD *)&v7);
}