//
// -[AppController getDisplaySize] from 0x100004410 to 0x100004477 (103 bytes)
//
// 1 xrefs:
// > ??> @ 0x100bdb120
//
// 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
//
CCSize __cdecl -[AppController getDisplaySize](AppController *self, SEL a2)
{
NSScreen *v2; // rax
__m128 v3; // xmm0
__int128 v4; // [rsp+0h] [rbp-30h] BYREF
__m128d v5; // [rsp+10h] [rbp-20h]
v2 = +[NSScreen mainScreen](&OBJC_CLASS___NSScreen, "mainScreen");
if ( v2 )
{
objc_msgSend_stret(&v4, (SEL)v2, "frame");
v3 = _mm_cvtpd_ps(v5);
}
else
{
v3 = 0;
v5 = 0;
v4 = 0;
}
sub_100278260(self, *(double *)v3.i64, *(double *)_mm_movehdup_ps(v3).i64);
return *(CCSize *)v3.f32;
}