//
// -[AppController getDisplaySize] from 0x100008130 to 0x100008197 (103 bytes)
//
// 1 xrefs:
// > ??> @ 0x100999098
//
// 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
//
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_10028CBF0(self, v3.f32[0], _mm_movehdup_ps(v3).f32[0]);
return *(CCSize *)v3.f32;
}