//
// cocos2d::CCDirector::reshapeProjection from 0x7ca42c to 0x7ca48a (94 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:00:30 +0000
//
int __fastcall cocos2d::CCDirector::reshapeProjection(int this, const cocos2d::CCSize *a2, float a3, float a4)
{
int v4; // r5
float v5[3]; // [sp+4h] [bp-Ch] BYREF
LODWORD(v5[0]) = a2;
v5[1] = a3;
v5[2] = a4;
v4 = this;
if ( *(_DWORD *)(this + 152) )
{
cocos2d::CCSize::CCSize(v5, *(float *)(this + 256) * *(float *)a2, *(float *)(this + 256) * *((float *)a2 + 1));
cocos2d::CCSize::operator=((float *)(v4 + 248), v5);
return cocos2d::CCDirector::setProjection((_DWORD *)v4, *(_DWORD *)(v4 + 244));
}
return this;
}