//
// Java_org_cocos2dx_lib_Cocos2dxHelper_nativeSetApkPath from 0xd7ffa8 to 0xd80054 (172 bytes)
//
// 1 xrefs:
// > ??> @ 0x78af0
//
// 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 Java_org_cocos2dx_lib_Cocos2dxHelper_nativeSetApkPath(__int64 a1, __int64 a2)
{
_QWORD v3[3]; // [xsp+30h] [xbp+30h] BYREF
cocos2d::JniHelper::setClassLoaderFrom(a2, a1);
cocos2d::JniHelper::jstring2string(v3);
if ( (g_apkPath & 1) != 0 )
{
*(_BYTE *)qword_15608C8 = 0;
qword_15608C0 = 0;
}
else
{
LOWORD(g_apkPath) = 0;
}
std::string::reserve(&g_apkPath, 0);
qword_15608C8 = v3[2];
g_apkPath = v3[0];
qword_15608C0 = v3[1];
return v3[0];
}