//
// cocos2d::CCLayer::didAccelerate from 0x18004fc30 to 0x18004fc6c (60 bytes)
//
// 8 xrefs:
// > ??> @ 0x1800ed350
// > ??> @ 0x1800ed810
// > ??> @ 0x1800edd60
// > ??> @ 0x1800ee338
// > ??> @ 0x1800ee888
// > ??> @ 0x1800f7168
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b1e90
//
// 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::didAccelerate(cocos2d::CCLayer *this, struct cocos2d::CCAcceleration *a2)
{
struct cocos2d::CCScriptEngineManager *v4; // rax
if ( *((_DWORD *)this - 7) )
{
v4 = cocos2d::CCScriptEngineManager::sharedManager();
(*(void (__fastcall **)(_QWORD, char *, struct cocos2d::CCAcceleration *))(**(_QWORD **)v4 + 128LL))(
*(_QWORD *)v4,
(char *)this - 328,
a2);
}
}