// // cocos2d::CCDirector::reshapeProjection from 0x1800c2aa0 to 0x1800c2af9 (89 bytes) // // 2 xrefs: // > @ 0x18014cf68 // > @ 0x1801c3570 // // 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 11:22:25 +0000 // void __fastcall cocos2d::CCDirector::reshapeProjection(cocos2d::CCDirector *this, const struct cocos2d::CCSize *a2) { float *v3; // rax float v4; // [rsp+30h] [rbp+8h] BYREF if ( *((_QWORD *)this + 24) ) { v3 = kmVec2Fill(&v4, *((float *)this + 82) * *(float *)a2, *((float *)this + 82) * *((float *)a2 + 1)); cocos2d::CCSize::operator=((_DWORD *)this + 80, v3); cocos2d::CCDirector::setProjection(this, *((unsigned int *)this + 79)); } }