//
// setAccelerometerIntervalJNI from 0x5e2e18 to 0x5e2e6e (86 bytes)
//
// 1 xrefs:
// > cocos2d::CCAccelerometer::setAccelerometerInterval @ 0x5e1066
//
// 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 setAccelerometerIntervalJNI(float a1)
{
int result; // r0
int v2; // r3
int v3[3]; // [sp+8h] [bp-10h] BYREF
result = cocos2d::JniHelper::getStaticMethodInfo(
v3,
"org/cocos2dx/lib/Cocos2dxHelper",
"setAccelerometerInterval",
"(F)V");
if ( result )
{
_JNIEnv::CallStaticVoidMethod(v3[0], v3[1], v3[2], v2);
return _JNIEnv::DeleteLocalRef(v3[0]);
}
return result;
}