// // LevelAreaInnerLayer::onDoor from 0xa2d884 to 0xa2da4c (456 bytes) // // 3 xrefs: // > @ 0xa7160 // > LevelAreaInnerLayer::init @ 0xa308ac // > @ 0x122dca8 // // 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 LevelAreaInnerLayer::onDoor(LevelAreaInnerLayer *a1, cocos2d::CCObject *a2) { cocos2d::CCObject_vtbl *v3; // x2 FMODAudioEngine *v4; // x22 void *v5; // x0 cocos2d::CCLayerColor *v6; // x21 cocos2d::CCFadeIn *v7; // x0 FMODAudioEngine *v8; // x0 cocos2d::CCSequence *v9; // x21 cocos2d::CCFiniteTimeAction *v10; // x0 cocos2d::CCAction *v11; // x0 unsigned int *v12; // x2 int v13; // w1 __int64 v14; // [xsp+40h] [xbp+40h] BYREF if ( !a1->m_enteringLevel ) { v3 = a2->__vftable; a1->m_enteringLevel = 1; a1->m_levelID = v3->getTag(a2); v4 = FMODAudioEngine::sharedEngine(); sub_D153B8((int)&v14, "playSound_01.ogg"); FMODAudioEngine::playEffect((__int64)v4, (__int64)&v14, 1.0, 0.0, 0.3); v5 = (void *)(v14 - 24); if ( (__int64 *)(v14 - 24) != &qword_124B6B0 ) { if ( &pthread_create ) { v12 = (unsigned int *)(v14 - 8); do v13 = __ldaxr(v12); while ( __stlxr(v13 - 1, v12) ); } else { v13 = *(_DWORD *)(v14 - 8); *(_DWORD *)(v14 - 8) = v13 - 1; } if ( v13 <= 0 ) operator delete(v5); } LODWORD(v14) = 0; v6 = cocos2d::CCLayerColor::create(); a1->addChild_0(a1, v6, 90); v7 = cocos2d::CCFadeIn::create(0.5); cocos2d::CCNode::runAction(v6, v7); v8 = FMODAudioEngine::sharedEngine(); FMODAudioEngine::fadeOutMusic(v8, 0.5, 0); v9 = (cocos2d::CCSequence *)cocos2d::CCDelayTime::create(0.5); v10 = (cocos2d::CCFiniteTimeAction *)cocos2d::CCCallFunc::create(a1, LevelAreaInnerLayer::playStep1, 0); v11 = (cocos2d::CCAction *)cocos2d::CCSequence::create(v9, v10, 0); cocos2d::CCNode::runAction(a1, v11); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source