// // PlatformToolbox::shareFiles from 0x394a50 to 0x394b1e (206 bytes) // // 1 xrefs: // > LocalLevelManager::exportLevelsToFile @ 0x543fb0 // // 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 11:46:18 +0000 // int __fastcall PlatformToolbox::shareFiles(_DWORD *a1) { int result; // r0 jclass v3; // r0 unsigned int v4; // r5 jobjectArray v5; // r8 int v6; // r1 const char *v7; // r1 jstring v8; // r0 jsize v9; // r2 _JNIEnv *v10[3]; // [sp+0h] [bp-14h] BYREF result = cocos2d::JniHelper::getStaticMethodInfo( v10, "com/customRobTop/BaseRobTopActivity", "shareFiles", "([Ljava/lang/String;)V"); if ( result ) { v3 = v10[0]->functions->FindClass(v10[0], "java/lang/String"); v4 = 0; v5 = v10[0]->functions->NewObjectArray(v10[0], -1431655765 * ((a1[1] - *a1) >> 2), v3, 0); while ( v4 < -1431655765 * ((a1[1] - *a1) >> 2) ) { v6 = *a1 + 12 * v4; if ( (*(_BYTE *)v6 & 1) != 0 ) v7 = *(const char **)(v6 + 8); else v7 = (const char *)(v6 + 1); v8 = _JNIEnv::NewStringUTF(v10[0], v7); v9 = v4++; v10[0]->functions->SetObjectArrayElement((JNIEnv *)v10[0], v5, v9, v8); _JNIEnv::DeleteLocalRef((int)v10[0]); } _JNIEnv::CallStaticVoidMethod((int)v10[0], (int)v10[1], (int)v10[2], (int)v5); _JNIEnv::DeleteLocalRef((int)v10[0]); _JNIEnv::DeleteLocalRef((int)v10[0]); return _JNIEnv::DeleteLocalRef((int)v10[0]); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source