// // LevelAreaInnerLayer::onDoor from 0x1403e14f0 to 0x1403e16b1 (449 bytes) // // 2 xrefs: // > LevelAreaInnerLayer::init @ 0x1403dfe5c // > @ 0x140924e0c // // 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:31:41 +0000 // // Hidden C++ exception states: #wind=3 void __fastcall LevelAreaInnerLayer::onDoor(_BYTE *a1, __int64 a2) { __int64 v3; // r8 __int64 v4; // r9 int v5; // ecx cocos2d::CCNode *v6; // rbx struct cocos2d::CCAction *v7; // rax __int64 v8; // rcx struct cocos2d::CCFiniteTimeAction *v9; // rbx __int64 v10; // rax struct cocos2d::CCAction *v11; // rax __int128 v12; // [rsp+30h] [rbp-28h] BYREF __int64 v13; // [rsp+40h] [rbp-18h] __int64 v14; // [rsp+48h] [rbp-10h] __int128 *v15; // [rsp+60h] [rbp+8h] BYREF void *v16; // [rsp+70h] [rbp+18h] if ( !a1[424] ) { a1[424] = 1; *((_DWORD *)a1 + 107) = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 56LL))(a2); v15 = &v12; v12 = 0; v13 = 0; v14 = 0; *(_QWORD *)&v12 = sub_14003D460(0x20u); v13 = 16; v14 = 31; strcpy((char *)v12, "playSound_01.ogg"); v5 = qword_14090BF60; if ( !qword_14090BF60 ) { v16 = operator new(0x8A8u); qword_14090BF60 = FMODAudioEngine::FMODAudioEngine((__int64)v16); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BF60 + 72LL))(qword_14090BF60); v5 = qword_14090BF60; } FMODAudioEngine::playEffect(v5, (__int64)&v12, v3, v4, 1050253722); LODWORD(v15) = 0; v6 = cocos2d::CCLayerColor::create((const struct cocos2d::_ccColor4B *)&v15); (*(void (__fastcall **)(_BYTE *, cocos2d::CCNode *, __int64))(*(_QWORD *)a1 + 456LL))(a1, v6, 90); v7 = cocos2d::CCFadeIn::create(0.5); cocos2d::CCNode::runAction(v6, v7); v8 = qword_14090BF60; if ( !qword_14090BF60 ) { v15 = (__int128 *)operator new(0x8A8u); qword_14090BF60 = FMODAudioEngine::FMODAudioEngine((__int64)v15); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BF60 + 72LL))(qword_14090BF60); v8 = qword_14090BF60; } FMODAudioEngine::fadeOutMusic(v8, 0.5); v9 = cocos2d::CCDelayTime::create(0.5); v10 = cocos2d::CCCallFunc::create(a1, LevelAreaInnerLayer::playStep1); v11 = cocos2d::CCSequence::create(v9, v10, 0); cocos2d::CCNode::runAction((cocos2d::CCNode *)a1, v11); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source