//
// disableAccelerometerJNI from 0xd7f70c to 0xd7f79c (144 bytes)
//
// 2 xrefs:
// > cocos2d::CCAccelerometer::setDelegate @ 0xd7b938
// > ??> @ 0xa2fe8
//
// 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 disableAccelerometerJNI()
{
__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",
"disableAccelerometer",
"()V") )
{
_JNIEnv::CallStaticVoidMethod(v1, v2, v3);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v1 + 184LL))(v1, v2);
}
return _stack_chk_guard;
}