// // Java_org_cocos2dx_lib_Cocos2dxHelper_nativeSetApkPath from 0xb0e108 to 0xb0e1c8 (192 bytes) // // 1 xrefs: // > @ 0x57810 // // 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 Java_org_cocos2dx_lib_Cocos2dxHelper_nativeSetApkPath(__int64 a1, __int64 a2, __int64 a3) { void *v3; // x0 unsigned int *v5; // x2 int v6; // w1 __int64 v7; // [xsp+40h] [xbp+40h] BYREF cocos2d::JniHelper::jstring2string(&v7, a3); sub_D163D4(&g_apkPath, &v7); v3 = (void *)(v7 - 24); if ( (__int64 *)(v7 - 24) != &qword_124B6B0 ) { if ( &pthread_create ) { v5 = (unsigned int *)(v7 - 8); do v6 = __ldaxr(v5); while ( __stlxr(v6 - 1, v5) ); } else { v6 = *(_DWORD *)(v7 - 8); *(_DWORD *)(v7 - 8) = v6 - 1; } if ( v6 <= 0 ) operator delete(v3); } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source