//
// cocos2d::CCDirector::reshapeProjection from 0x1004786f0 to 0x100478750 (96 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:30:36 +0000
//
void __fastcall cocos2d::CCDirector::reshapeProjection(__int64 a1, float *a2)
{
_QWORD v2[4]; // [rsp-20h] [rbp-20h] BYREF
if ( *(_QWORD *)(a1 + 192) )
{
sub_100278260((float *)v2, *a2 * *(float *)(a1 + 328), *(float *)(a1 + 328) * a2[1]);
sub_100278660((_QWORD *)(a1 + 320), v2);
cocos2d::CCDirector::setProjection(a1, *(_DWORD *)(a1 + 316));
}
}