//
// PlatformToolbox::getDisplaySize from 0x10016bc74 to 0x10016bcb4 (64 bytes)
//
// 2 xrefs:
// > VideoOptionsLayer::init @ 0x1000efedc
// > GameManager::resolutionForKey @ 0x10031dd7c
//
// 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
//
cocos2d::CCSize __fastcall PlatformToolbox::getDisplaySize()
{
_QWORD *v0; // x8
__n128 v1; // q0
__n128 v2; // q1
_QWORD *v3; // x19
double v4; // d0
double v6; // [xsp+8h] [xbp-18h] BYREF
cocos2d::CCSize result; // 0:s0.4,4:s1.4
v3 = v0;
v1.n128_u32[0] = 0;
v2.n128_u32[0] = 0;
sub_100022980(v1, v2, &v6);
v4 = sub_100022B08(v3, &v6);
result.width = *(float *)&v4;
return result;
}