//
// cocos2d::CCDirector::reshapeProjection from 0xd491c4 to 0xd49250 (140 bytes)
//
// 1 xrefs:
// > ??> @ 0x4bbb0
//
// This function is hookable on this platform (idp: arm, 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 13:07:36 +0000
//
__int64 __fastcall cocos2d::CCDirector::reshapeProjection(cocos2d::CCDirector *this, const cocos2d::CCSize *a2)
{
float v4; // [xsp+30h] [xbp+30h] BYREF
if ( *((_QWORD *)this + 24) )
{
cocos2d::CCSize::CCSize(&v4, *((float *)this + 82) * *(float *)a2, *((float *)this + 82) * *((float *)a2 + 1));
cocos2d::CCSize::operator=((float *)this + 80, &v4);
cocos2d::CCDirector::setProjection((__int64)this, *((_DWORD *)this + 79));
}
return _stack_chk_guard;
}