//
// GameToolbox::touchUnitsForMM from 0x1004e97a0 to 0x1004e97cd (45 bytes)
//
// 6 xrefs:
// > CCTextInputNode::ccTouchMoved @ 0x10006c6b7
// > EditorUI::ccTouchBegan @ 0x10060a201
// > TouchControlEditLayer::beginDeadzoneDrag @ 0x10097ad03
// > TouchControlEditLayer::ccTouchBegan @ 0x10097adf9
// > TouchControlEditLayer::ccTouchBegan @ 0x10097ae0b
// > TouchControlEditLayer::ccTouchBegan @ 0x10097ae1d
//
// This function is hookable on this platform (idp: pc, 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 12:31:21 +0000
//
float __fastcall GameToolbox::touchUnitsForMM(__int64 a1, float a2)
{
__int64 v2; // rax
v2 = cocos2d::CCEGLView::sharedOpenGLView(a1);
cocos2d::CCEGLViewProtocol::getScaleY(v2);
return a2 * 4.9000001;
}