// // kmMat4OrthographicProjection from 0x7cfbf4 to 0x7cfc7c (136 bytes) // // 3 xrefs: // > cocos2d::CCDirector::setProjection @ 0x7ca30c // > cocos2d::CCGridBase::set2DProjection @ 0x7ce652 // > cocos2d::CCRenderTexture::begin @ 0x7e0a1a // // 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:34 +0000 // 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