// // kmGLMatrixMode from 0xd538c0 to 0xd53954 (148 bytes) // // 11 xrefs: // > cocos2d::CCDirector::setProjection @ 0xd49078 // > cocos2d::CCDirector::setProjection @ 0xd490ac // > cocos2d::CCDirector::setProjection @ 0xd490e0 // > cocos2d::CCDirector::setProjection @ 0xd49114 // > cocos2d::CCGridBase::set2DProjection @ 0xd4ef08 // > cocos2d::CCGridBase::set2DProjection @ 0xd4ef3c // > cocos2d::CCRenderTexture::end @ 0xd6a754 // > cocos2d::CCRenderTexture::end @ 0xd6a760 // > cocos2d::CCRenderTexture::begin @ 0xd6ad34 // > cocos2d::CCRenderTexture::begin @ 0xd6ad40 // > @ 0x72100 // // This function is hookable on this platform (idp: arm, 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 13:07:42 +0000 // __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