// // kmGLMatrixMode from 0xae0c58 to 0xae0cec (148 bytes) // // 11 xrefs: // > cocos2d::CCDirector::setProjection @ 0xad6438 // > cocos2d::CCDirector::setProjection @ 0xad646c // > cocos2d::CCDirector::setProjection @ 0xad64a0 // > cocos2d::CCDirector::setProjection @ 0xad64d4 // > cocos2d::CCGridBase::set2DProjection @ 0xadc2a4 // > cocos2d::CCGridBase::set2DProjection @ 0xadc2d8 // > cocos2d::CCRenderTexture::begin @ 0xaf9bf4 // > cocos2d::CCRenderTexture::begin @ 0xaf9c00 // > cocos2d::CCRenderTexture::end @ 0xaf9fb0 // > cocos2d::CCRenderTexture::end @ 0xaf9fbc // > @ 0x52008 // // 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 // __int64 *__fastcall kmGLMatrixMode(__int64 *a1) { __int64 *result; // x0 lazyInitialize(); result = a1; switch ( (_DWORD)a1 ) { case 0x1701: current_stack = (__int64)&projection_matrix_stack; return ¤t_stack; case 0x1702: current_stack = (__int64)&texture_matrix_stack; return ¤t_stack; case 0x1700: current_stack = (__int64)&modelview_matrix_stack; return ¤t_stack; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source