//
// cocos2d::CCLayer::onEnterTransitionDidFinish from 0x1800524a0 to 0x1800524f6 (86 bytes)
//
// 10 xrefs:
// > ??> @ 0x1800f3300
// > ??> @ 0x1800f37e0
// > ??> @ 0x1800f3d38
// > ??> @ 0x1800f42c0
// > ??> @ 0x1800f48b8
// > ??> @ 0x1800fd3f0
// > ??> @ 0x180141220
// > ??> @ 0x180141230
// > ??> @ 0x18014cf68
// > ??> @ 0x1801bc274
//
// 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::onEnterTransitionDidFinish(cocos2d::CCLayer *this)
{
struct cocos2d::CCDirector *v2; // rax
struct cocos2d::CCAccelerometerDelegate *v3; // rbx
cocos2d::CCAccelerometer *v4; // rax
if ( *((_BYTE *)this + 361) )
{
v2 = cocos2d::CCDirector::sharedDirector();
v3 = (cocos2d::CCLayer *)((char *)this + 328);
if ( !this )
v3 = nullptr;
v4 = (cocos2d::CCAccelerometer *)(*(__int64 (__fastcall **)(struct cocos2d::CCDirector *))(*(_QWORD *)v2 + 208LL))(v2);
cocos2d::CCAccelerometer::setDelegate(v4, v3);
}
cocos2d::CCNode::onEnterTransitionDidFinish(this);
}