//
// sub_100900940 from 0x100900940 to 0x1009009c9 (137 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:38:02 +0000
//
_QWORD *__fastcall sub_100900940(__int64 a1)
{
unsigned __int64 *v1; // r14
__int64 v2; // rax
unsigned __int64 v4; // [rsp+0h] [rbp-30h] BYREF
double v5[5]; // [rsp+8h] [rbp-28h] BYREF
v1 = (unsigned __int64 *)(*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 584) + 192LL))(*(_QWORD *)(a1 + 584));
v2 = cocos2d::CCDirector::sharedDirector();
cocos2d::CCDirector::getWinSize(v5, v2);
sub_100278250((float *)&v4, *(float *)v5 * 0.5, 0.5 * *((float *)v5 + 1));
sub_100278350(v5, v1, &v4);
return sub_100278300((_QWORD *)(a1 + 1068), v5);
}