//
// cocos2d::CCAccelerometer::update from 0x180072a60 to 0x180072a8f (47 bytes)
//
// 1 xrefs:
// > ??> @ 0x1801438a8
//
// 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::CCAccelerometer::update(
cocos2d::CCAccelerometer *this,
double a2,
double a3,
double a4,
double a5)
{
cocos2d::CCAccelerometerDelegate *m_pAccelDelegate; // r8
m_pAccelDelegate = this->m_pAccelDelegate;
if ( m_pAccelDelegate )
{
this->m_obAccelerationValue.timestamp = a5;
this->m_obAccelerationValue.x = a2;
this->m_obAccelerationValue.y = a3;
this->m_obAccelerationValue.z = a4;
((void (__fastcall *)(cocos2d::CCAccelerometerDelegate *, cocos2d::CCAccelerometer *))m_pAccelDelegate->didAccelerate)(
m_pAccelDelegate,
this);
}
}