//
// JNI_OnLoad from 0xe6320 to 0xe638c (108 bytes)
//
// 1 xrefs:
// > ??> @ 0x1240
//
// 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 12:14:59 +0000
//
jint JNI_OnLoad(JavaVM *vm, void *reserved)
{
jint result; // w0
__int64 v4; // x8
__int64 v5; // [xsp+8h] [xbp-8h] BYREF
v5 = 0;
if ( (*vm)->GetEnv(vm, (void **)&v5, 65542) )
return -1;
result = sub_E638C(v5, 0, 0);
if ( !result )
{
sub_E6934();
*(_QWORD *)(*(_QWORD *)v4 + 456LL) = vm;
return 65542;
}
return result;
}