//
// cocos2d::CCLayer::setAccelerometerInterval from 0x7d74c8 to 0x7d7502 (58 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:00:40 +0000
//
cocos2d::CCDirector *__fastcall cocos2d::CCLayer::setAccelerometerInterval(cocos2d::CCDirector *this, double a2)
{
int v4; // r0
cocos2d::CCAccelerometer *v5; // r0
float v6; // s15
if ( *((_BYTE *)this + 285) )
{
if ( *((_BYTE *)this + 224) )
{
v4 = cocos2d::CCDirector::sharedDirector(this);
v5 = (cocos2d::CCAccelerometer *)(*(int (__fastcall **)(int))(*(_DWORD *)v4 + 112))(v4);
v6 = a2;
return (cocos2d::CCDirector *)cocos2d::CCAccelerometer::setAccelerometerInterval(v5, v6);
}
}
return this;
}