//
// getDoubleForKeyJNI from 0x7ece80 to 0x7ecee4 (100 bytes)
//
// 1 xrefs:
// > cocos2d::CCUserDefault::getDoubleForKey @ 0x7f6d60
//
// 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:01:01 +0000
//
__int64 __fastcall getDoubleForKeyJNI(const char *a1, double a2)
{
jstring v5; // r0
int v6; // r1
_JNIEnv *v8[3]; // [sp+0h] [bp-14h] BYREF
if ( cocos2d::JniHelper::getStaticMethodInfo(
v8,
"org/cocos2dx/lib/Cocos2dxHelper",
"getDoubleForKey",
"(Ljava/lang/String;D)D") )
{
v5 = _JNIEnv::NewStringUTF(v8[0], a1);
LODWORD(a2) = _JNIEnv::CallStaticDoubleMethod((int)v8[0], (int)v8[1], (int)v8[2], (int)v5);
HIDWORD(a2) = v6;
_JNIEnv::DeleteLocalRef((int)v8[0]);
_JNIEnv::DeleteLocalRef((int)v8[0]);
}
return *(_QWORD *)&a2;
}