// // cocos2d::CCLayer::setAccelerometerInterval from 0x180050a10 to 0x180050a58 (72 bytes) // // 8 xrefs: // > @ 0x1800ed2b0 // > @ 0x1800ed770 // > @ 0x1800edca8 // > @ 0x1800ee210 // > @ 0x1800ee7e8 // > @ 0x1800f70b8 // > @ 0x1801438a8 // > @ 0x1801b204c // // 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 // void __fastcall cocos2d::CCLayer::setAccelerometerInterval(cocos2d::CCLayer *this, double a2) { struct cocos2d::CCDirector *v2; // rax float v3; // xmm6_4 cocos2d::CCNode *v4; // rax if ( this->m_bAccelerometerEnabled && this->m_bRunning ) { v2 = cocos2d::CCDirector::sharedDirector(); v3 = a2; v4 = (cocos2d::CCNode *)((__int64 (__fastcall *)(struct cocos2d::CCDirector *))v2->getAccelerometer)(v2); cocos2d::CCNode::updateTweenActionInt(v4, v3); } }