//
// setDoubleForKeyJNI from 0x7ed048 to 0x7ed0a8 (96 bytes)
//
// 1 xrefs:
// > cocos2d::CCUserDefault::setDoubleForKey @ 0x7f6cf2
//
// 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
//
int __fastcall setDoubleForKeyJNI(const char *a1, double a2)
{
int result; // r0
jstring v5; // r0
_JNIEnv *v6[3]; // [sp+8h] [bp-14h] BYREF
result = cocos2d::JniHelper::getStaticMethodInfo(
v6,
"org/cocos2dx/lib/Cocos2dxHelper",
"setDoubleForKey",
"(Ljava/lang/String;D)V");
if ( result )
{
v5 = _JNIEnv::NewStringUTF(v6[0], a1);
_JNIEnv::CallStaticVoidMethod((int)v6[0], (int)v6[1], (int)v6[2], (int)v5);
_JNIEnv::DeleteLocalRef((int)v6[0]);
return _JNIEnv::DeleteLocalRef((int)v6[0]);
}
return result;
}