//
// LevelAreaLayer::onEnterTower from 0x1003e3c6c to 0x1003e3cdc (112 bytes)
//
// 1 xrefs:
// > LevelAreaLayer::fadeInsideTower @ 0x1003e3c2c
//
// This function is hookable on this platform (idp: arm, 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:04:24 +0000
//
__int64 LevelAreaLayer::onEnterTower()
{
__int64 v0; // x19
__int64 v1; // x19
void *v2; // x0
void *__p[2]; // [xsp+8h] [xbp-28h] BYREF
char v5; // [xsp+1Fh] [xbp-11h]
v0 = FMODAudioEngine::sharedEngine();
sub_100009900(__p, "door01.ogg");
FMODAudioEngine::playEffect_1(v0, (__int64)__p);
if ( v5 < 0 )
operator delete(__p[0]);
v1 = cocos2d::CCDirector::sharedDirector();
v2 = (void *)LevelAreaInnerLayer::scene(0);
return cocos2d::CCDirector::replaceScene(v1, v2);
}