// // kmGLGetMatrix from 0x5caa4c to 0x5caa90 (68 bytes) // // 6 xrefs: // > cocos2d::CCDirector::convertToGL @ 0x5c3270 // > cocos2d::CCDirector::convertToGL @ 0x5c327a // > cocos2d::CCDirector::convertToUI @ 0x5c333c // > cocos2d::CCDirector::convertToUI @ 0x5c3346 // > cocos2d::CCGLProgram::setUniformsForBuiltins @ 0x5e48f8 // > cocos2d::CCGLProgram::setUniformsForBuiltins @ 0x5e4902 // // 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 // 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