//
// cocos2d::CCLayer::setAccelerometerInterval from 0x180052830 to 0x18005287b (75 bytes)
//
// 8 xrefs:
// > ??> @ 0x1800f3410
// > ??> @ 0x1800f38f0
// > ??> @ 0x1800f3e48
// > ??> @ 0x1800f43d0
// > ??> @ 0x1800f49c8
// > ??> @ 0x1800fd500
// > ??> @ 0x18014cf68
// > ??> @ 0x1801bc2e0
//
// This function is hookable on this platform (idp: pc, 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 11:21:45 +0000
//
void __fastcall cocos2d::CCLayer::setAccelerometerInterval(cocos2d::CCLayer *this, double a2)
{
struct cocos2d::CCDirector *v2; // rax
float v3; // xmm6_4
cocos2d::CCNode *v4; // rax
if ( *((_BYTE *)this + 361) )
{
if ( *((_BYTE *)this + 272) )
{
v2 = cocos2d::CCDirector::sharedDirector();
v3 = a2;
v4 = (cocos2d::CCNode *)(*(__int64 (__fastcall **)(struct cocos2d::CCDirector *))(*(_QWORD *)v2 + 208LL))(v2);
cocos2d::CCNode::updateTweenActionInt(v4, v3);
}
}
}