// // getBoolForKeyJNI from 0x5e2ed0 to 0x5e2f38 (104 bytes) // // 1 xrefs: // > cocos2d::CCUserDefault::getBoolForKey @ 0x5ebb9e // // 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 // int __fastcall getBoolForKeyJNI(const char *a1, int a2) { jstring v4; // r0 int v5; // r4 int result; // r0 _JNIEnv *v7[3]; // [sp+8h] [bp-10h] BYREF if ( !cocos2d::JniHelper::getStaticMethodInfo( v7, "org/cocos2dx/lib/Cocos2dxHelper", "getBoolForKey", "(Ljava/lang/String;Z)Z") ) return a2; v4 = _JNIEnv::NewStringUTF(v7[0], a1); v5 = _JNIEnv::CallStaticBooleanMethod((int)v7[0], (int)v7[1], (int)v7[2], (int)v4); _JNIEnv::DeleteLocalRef((int)v7[0]); _JNIEnv::DeleteLocalRef((int)v7[0]); result = v5; if ( v5 ) return 1; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source