//
// cocos2d::CCLayer::onEnterTransitionDidFinish from 0x180050680 to 0x1800506d6 (86 bytes)
//
// 10 xrefs:
// > ??> @ 0x1800ed1a0
// > ??> @ 0x1800ed660
// > ??> @ 0x1800edb98
// > ??> @ 0x1800ee100
// > ??> @ 0x1800ee6d8
// > ??> @ 0x1800f6fa8
// > ??> @ 0x180137ff8
// > ??> @ 0x180138008
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b1fe0
//
// 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::onEnterTransitionDidFinish(cocos2d::CCLayer *this)
{
struct cocos2d::CCDirector *v2; // rax
struct cocos2d::CCAccelerometerDelegate *v3; // rbx
cocos2d::CCAccelerometer *v4; // rax
if ( this->m_bAccelerometerEnabled )
{
v2 = cocos2d::CCDirector::sharedDirector();
v3 = &this->cocos2d::CCAccelerometerDelegate;
if ( !this )
v3 = nullptr;
v4 = (cocos2d::CCAccelerometer *)((__int64 (__fastcall *)(struct cocos2d::CCDirector *))v2->getAccelerometer)(v2);
cocos2d::CCAccelerometer::setDelegate(v4, v3);
}
cocos2d::CCNode::onEnterTransitionDidFinish(this);
}