//
// setDoubleForKeyJNI from 0xd7fdc4 to 0xd7fe98 (212 bytes)
//
// 2 xrefs:
// > cocos2d::CCUserDefault::setDoubleForKey @ 0xd90bec
// > ??> @ 0x627d0
//
// 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:09 +0000
//
__int64 __fastcall setDoubleForKeyJNI(const char *a1, double a2)
{
__int64 v3; // x20
__int64 v6; // [xsp+30h] [xbp+30h] BYREF
__int64 v7; // [xsp+38h] [xbp+38h]
__int64 v8; // [xsp+40h] [xbp+40h]
if ( (unsigned __int8)cocos2d::JniHelper::getStaticMethodInfo(
&v6,
"org/cocos2dx/lib/Cocos2dxHelper",
"setDoubleForKey",
"(Ljava/lang/String;D)V") )
{
v3 = (*(__int64 (__fastcall **)(__int64, const char *))(*(_QWORD *)v6 + 1336LL))(v6, a1);
_JNIEnv::CallStaticVoidMethod(v6, v7, v8, v3, a2);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v6 + 184LL))(v6, v7);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v6 + 184LL))(v6, v3);
}
return _stack_chk_guard;
}