// // kmMat4OrthographicProjection from 0x5c88e4 to 0x5c896c (136 bytes) // // 3 xrefs: // > cocos2d::CCDirector::setProjection @ 0x5c3068 // > cocos2d::CCGridBase::set2DProjection @ 0x5c7342 // > cocos2d::CCRenderTexture::begin @ 0x5d85e6 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // int __fastcall kmMat4OrthographicProjection(int a1, float a2, float a3, float a4, float a5, float a6, float a7) { kmMat4Identity((_DWORD *)a1); *(float *)a1 = 2.0 / (float)(a3 - a2); *(float *)(a1 + 20) = 2.0 / (float)(a5 - a4); *(float *)(a1 + 40) = -2.0 / (float)(a7 - a6); *(float *)(a1 + 48) = -(float)((float)(a3 + a2) / (float)(a3 - a2)); *(float *)(a1 + 52) = -(float)((float)(a5 + a4) / (float)(a5 - a4)); *(float *)(a1 + 56) = -(float)((float)(a7 + a6) / (float)(a7 - a6)); return a1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source