// // kmGLGetMatrix from 0x7d1d5c to 0x7d1da0 (68 bytes) // // 6 xrefs: // > cocos2d::CCDirector::convertToGL @ 0x7ca514 // > cocos2d::CCDirector::convertToGL @ 0x7ca51e // > cocos2d::CCDirector::convertToUI @ 0x7ca5e0 // > cocos2d::CCDirector::convertToUI @ 0x7ca5ea // > cocos2d::CCGLProgram::setUniformsForBuiltins @ 0x7ef0c0 // > cocos2d::CCGLProgram::setUniformsForBuiltins @ 0x7ef0ca // // 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:35 +0000 // void __fastcall kmGLGetMatrix(int a1, _DWORD *a2) { size_t *v4; // r3 lazyInitialize(); switch ( a1 ) { case 5889: v4 = projection_matrix_stack; break; case 5890: v4 = texture_matrix_stack; break; case 5888: v4 = modelview_matrix_stack; break; default: return; } kmMat4Assign(a2, (int *)v4[2]); }
GD Web Decomp Icon

GD Web Decomp

Raw Source