// // kmMat4OrthographicProjection from 0xade55c to 0xade60c (176 bytes) // // 4 xrefs: // > cocos2d::CCDirector::setProjection @ 0xad645c // > cocos2d::CCGridBase::set2DProjection @ 0xadc2c8 // > cocos2d::CCRenderTexture::begin @ 0xaf9cc8 // > @ 0x4d1c0 // // 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 // float __fastcall kmMat4OrthographicProjection(float *a1, float a2, float a3, float a4, float a5, float a6, float a7) { float result; // s0 kmMat4Identity((__int64)a1); a1[12] = -(float)((float)(a3 + a2) / (float)(a3 - a2)); result = 2.0 / (float)(a5 - a4); a1[13] = -(float)((float)(a5 + a4) / (float)(a5 - a4)); a1[14] = -(float)((float)(a7 + a6) / (float)(a7 - a6)); *a1 = 2.0 / (float)(a3 - a2); a1[5] = result; a1[10] = -2.0 / (float)(a7 - a6); return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source