// // getDPIJNI from 0xb10374 to 0xb10414 (160 bytes) // // 2 xrefs: // > cocos2d::CCDevice::getDPI @ 0xb0a954 // > @ 0x61d28 // // 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 // __int64 getDPIJNI() { unsigned int v0; // w20 __int64 v2; // [xsp+20h] [xbp+20h] BYREF __int64 v3; // [xsp+28h] [xbp+28h] __int64 v4; // [xsp+30h] [xbp+30h] if ( (unsigned __int8)cocos2d::JniHelper::getStaticMethodInfo( &v2, "org/cocos2dx/lib/Cocos2dxHelper", "getDPI", (__int64)"()I") ) { v0 = _JNIEnv::CallStaticIntMethod(v2, v3, v4); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v2 + 184LL))(v2, v3); } else { return (unsigned int)-1; } return v0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source