//
// cocos2d::GLToCGAffine from 0xb1f5a0 to 0xb1f5d4 (52 bytes)
//
// 1 xrefs:
// > ??> @ 0x4ff68
//
// 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 cocos2d::GLToCGAffine(_DWORD *a1, _DWORD *a2)
{
__int64 result; // x0
*a2 = *a1;
a2[2] = a1[4];
a2[4] = a1[12];
a2[1] = a1[1];
a2[3] = a1[5];
result = (unsigned int)a1[13];
a2[5] = result;
return result;
}