//
// sub_100597970 from 0x100597970 to 0x1005979ab (59 bytes)
//
// 0 xrefs:
//
// 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:32:29 +0000
//
_QWORD *__fastcall sub_100597970(__int64 a1, float a2)
{
__int64 v2; // rax
_QWORD *result; // rax
__int64 v4; // [rsp+Ch] [rbp-14h] BYREF
float v5; // [rsp+14h] [rbp-Ch]
v5 = a2;
v2 = cocos2d::CCDirector::sharedDirector();
result = cocos2d::CCDirector::getWinSize(&v4, v2);
*(float *)(a1 + 432) = v5 - *((float *)&v4 + 1);
return result;
}