//
// cocos2d::CCDevice::getDPI from 0xd7b744 to 0xd7b780 (60 bytes)
//
// 3 xrefs:
// > GameToolbox::touchUnitsForMM @ 0x69b824
// > cocos2d::extension::CCScrollView::ccTouchMoved @ 0xd18458
// > ??> @ 0xfd5a0
//
// 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:08:07 +0000
//
__int64 __fastcall cocos2d::CCDevice::getDPI(cocos2d::CCDevice *this)
{
__int64 result; // x0
result = (unsigned int)dword_154A0C0;
if ( dword_154A0C0 == -1 )
{
result = getDPIJNI();
dword_154A0C0 = result;
}
return result;
}