// // LevelAreaInnerLayer::onDoor from 0x100346290 to 0x1003463a0 (272 bytes) // // 1 xrefs: // > LevelAreaInnerLayer::init @ 0x100345abc // // 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 LevelAreaInnerLayer::onDoor(LevelAreaInnerLayer *a1, cocos2d::CCObject *a2) { FMODAudioEngine *v3; // x20 cocos2d::CCLayerColor *v4; // x20 cocos2d::CCFadeIn *v5; // x0 FMODAudioEngine *v6; // x0 cocos2d::CCDelayTime *v7; // x20 char v8; // w0 __int64 v9; // x1 __int64 v10; // x2 __int64 v11; // x3 __int64 v12; // x4 __int64 v13; // x5 __int64 v14; // x6 __int64 v15; // x7 cocos2d::CCSequence *v16; // x0 cocos2d::ccColor4B v17; // [xsp+14h] [xbp-2Ch] BYREF void *__p[2]; // [xsp+18h] [xbp-28h] BYREF char v19; // [xsp+2Fh] [xbp-11h] cocos2d::SEL_CallFunc v20; // 0:x1.16 if ( !a1->m_enteringLevel ) { a1->m_enteringLevel = 1; a1->m_levelID = ((__int64 (__fastcall *)(cocos2d::CCObject *))a2->getTag)(a2); v3 = FMODAudioEngine::sharedEngine(); sub_100009900(__p, "playSound_01.ogg"); FMODAudioEngine::playEffect((__int64)v3, (__int64)__p, 1.0, 0.0, 0.3); if ( v19 < 0 ) operator delete(__p[0]); v17 = 0; v4 = cocos2d::CCLayerColor::create_1(&v17); ((void (__fastcall *)(LevelAreaInnerLayer *, cocos2d::CCLayerColor *, __int64))a1->addChild_0)(a1, v4, 90); v5 = cocos2d::CCFadeIn::create(0.5); cocos2d::CCNode::runAction(v4, v5); v6 = FMODAudioEngine::sharedEngine(); FMODAudioEngine::fadeOutMusic(v6, 0.5, 0); v7 = cocos2d::CCDelayTime::create(0.5); v20.ptr = (void (*)(void))LevelAreaInnerLayer::playStep1; v20.adj = 0; v8 = (unsigned __int8)cocos2d::CCCallFunc::create(a1, v20); v16 = sub_10018A494(v7, v9, v10, v11, v12, v13, v14, v15, v8); cocos2d::CCNode::runAction(a1, v16); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source