// // setBoolForKeyJNI from 0xb0f1b8 to 0xb0f294 (220 bytes) // // 2 xrefs: // > cocos2d::CCUserDefault::setBoolForKey @ 0xb1fb6c // > @ 0x45558 // // 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 __fastcall setBoolForKeyJNI(const char *a1, unsigned __int8 a2) { unsigned int v2; // w20 __int64 v4; // x21 __int64 v6; // [xsp+30h] [xbp+30h] BYREF __int64 v7; // [xsp+38h] [xbp+38h] __int64 v8; // [xsp+40h] [xbp+40h] v2 = a2; if ( (unsigned __int8)cocos2d::JniHelper::getStaticMethodInfo( &v6, "org/cocos2dx/lib/Cocos2dxHelper", "setBoolForKey", "(Ljava/lang/String;Z)V") ) { v4 = (*(__int64 (__fastcall **)(__int64, const char *))(*(_QWORD *)v6 + 1336LL))(v6, a1); _JNIEnv::CallStaticVoidMethod(v6, v7, v8, v4, v2); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v6 + 184LL))(v6, v7); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v6 + 184LL))(v6, v4); } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source