//
// sub_100609380 from 0x100609380 to 0x1006093f4 (116 bytes)
//
// 2 xrefs:
// > cocos2d::CCDirector::convertToGL @ 0x100483ea5
// > cocos2d::CCDirector::convertToUI @ 0x100483f57
//
// 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
//
__int64 __fastcall sub_100609380(__int64 a1, float *a2, float *a3)
{
float v4; // xmm0_4
float v6[4]; // [rsp+8h] [rbp-38h] BYREF
unsigned __int64 v7; // [rsp+18h] [rbp-28h] BYREF
float v8; // [rsp+20h] [rbp-20h]
float v9; // [rsp+24h] [rbp-1Ch]
sub_1004ED8B0(v6, *a2, a2[1], a2[2], 1.0);
sub_1004EDB70((float *)&v7, v6, a3);
v4 = v9;
_mm_storel_ps((double *)a1, _mm_div_ps((__m128)v7, _mm_moveldup_ps((__m128)LODWORD(v9))));
*(float *)(a1 + 8) = v8 / v4;
return a1;
}