// // getFileDirectoryJNI from 0x5e2cb8 to 0x5e2d2c (116 bytes) // // 1 xrefs: // > cocos2d::CCFileUtilsAndroid::getWritablePath @ 0x5e1506 // // 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 getFileDirectoryJNI(int a1) { int v2; // r3 int v3; // r7 _BYTE v5[4]; // [sp+4h] [bp-18h] BYREF int v6[3]; // [sp+8h] [bp-14h] BYREF sub_776584(a1, (char *)&unk_939830); if ( cocos2d::JniHelper::getStaticMethodInfo( v6, "org/cocos2dx/lib/Cocos2dxHelper", "getCocos2dxWritablePath", "()Ljava/lang/String;") ) { v3 = _JNIEnv::CallStaticObjectMethod(v6[0], v6[1], v6[2], v2); _JNIEnv::DeleteLocalRef(v6[0]); cocos2d::JniHelper::jstring2string(v5, v3); sub_774794(a1, v5); sub_774008(v5); _JNIEnv::DeleteLocalRef(v6[0]); } return a1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source