// // cocos2d::CCGridBase::set2DProjection from 0x1004de970 to 0x1004de9fb (139 bytes) // // 1 xrefs: // > cocos2d::CCGridBase::beforeDraw @ 0x1004dea17 // // 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:31:17 +0000 // void cocos2d::CCGridBase::set2DProjection() { float *v0; // rax _BYTE v1[64]; // [rsp+0h] [rbp-50h] BYREF float v2; // [rsp+40h] [rbp-10h] BYREF float v3; // [rsp+44h] [rbp-Ch] v0 = (float *)cocos2d::CCDirector::sharedDirector(); cocos2d::CCDirector::getWinSizeInPixels(&v2, v0); glViewport(0, 0, (int)v2, (int)v3); kmGLMatrixMode(5889); kmGLLoadIdentity(); kmMat4OrthographicProjection( (__int64)v1, (__m128)0LL, (__m128)LODWORD(v2), (__m128)0LL, (__m128)LODWORD(v3), -1.0, 1.0); kmGLMultMatrix((__int64)v1); kmGLMatrixMode(5888); kmGLLoadIdentity(); cocos2d::ccSetProjectionMatrixDirty(); }
GD Web Decomp Icon

GD Web Decomp

Raw Source