//
// cocos2d::CCLayer::didAccelerate from 0x180051a50 to 0x180051a8c (60 bytes)
//
// 8 xrefs:
// > ??> @ 0x1800f34b0
// > ??> @ 0x1800f3990
// > ??> @ 0x1800f3f00
// > ??> @ 0x1800f44f8
// > ??> @ 0x1800f4a68
// > ??> @ 0x1800fd5b0
// > ??> @ 0x18014cf68
// > ??> @ 0x1801bc124
//
// 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::didAccelerate(cocos2d::CCLayer *this, struct cocos2d::CCAcceleration *a2)
{
char *v2; // rbx
struct cocos2d::CCScriptEngineManager *v4; // rax
v2 = (char *)this - 328;
if ( *((_DWORD *)this - 7) )
{
v4 = cocos2d::CCScriptEngineManager::sharedManager();
(*(void (__fastcall **)(_QWORD, char *, struct cocos2d::CCAcceleration *))(**(_QWORD **)v4 + 128LL))(
*(_QWORD *)v4,
v2,
a2);
}
}