//
// enableAccelerometerJNI from 0xb0ea00 to 0xb0ea90 (144 bytes)
//
// 2 xrefs:
// > cocos2d::CCAccelerometer::setDelegate @ 0xb0aa9c
// > ??> @ 0xbd708
//
// 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 enableAccelerometerJNI()
{
__int64 v1; // [xsp+20h] [xbp+20h] BYREF
__int64 v2; // [xsp+28h] [xbp+28h]
__int64 v3; // [xsp+30h] [xbp+30h]
if ( (unsigned __int8)cocos2d::JniHelper::getStaticMethodInfo(
&v1,
"org/cocos2dx/lib/Cocos2dxHelper",
"enableAccelerometer",
"()V") )
{
_JNIEnv::CallStaticVoidMethod(v1, v2, v3);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v1 + 184LL))(v1, v2);
}
return _stack_chk_guard;
}