//
// cocos2d::CCAccelerometer::update from 0x180074fa0 to 0x180074fcf (47 bytes)
//
// 1 xrefs:
// > ??> @ 0x18014cf68
//
// 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:58 +0000
//
void __fastcall cocos2d::CCAccelerometer::update(
cocos2d::CCAccelerometer *this,
double a2,
double a3,
double a4,
double a5)
{
void (__fastcall ***v5)(_QWORD, cocos2d::CCAccelerometer *); // r8
v5 = *((void (__fastcall ****)(_QWORD, cocos2d::CCAccelerometer *))this + 4);
if ( v5 )
{
*((double *)this + 3) = a5;
*(double *)this = a2;
*((double *)this + 1) = a3;
*((double *)this + 2) = a4;
(**v5)(v5, this);
}
}