// // EndLevelLayer::onEdit from 0x140135210 to 0x14013530f (255 bytes) // // 2 xrefs: // > EndLevelLayer::customSetup @ 0x140133eae // > @ 0x1406c9ed0 // // 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 // // Hidden C++ exception states: #wind=2 void EndLevelLayer::onEdit(EndLevelLayer *a1, cocos2d::CCObject *a2) { float v2; // xmm3_4 __int64 v4; // rbx __int64 v5; // rbx struct cocos2d::CCDelayTime *v6; // rax struct cocos2d::CCSequence *v7; // rax cocos2d::ccColor3B *v8; // r8 float v9; // [rsp+20h] [rbp-8h] FMODAudioEngine *v10; // [rsp+30h] [rbp+8h] if ( !a1->m_exiting ) { a1->m_exiting = 1; cocos2d::CCNode::stopAllActions(a1->m_playLayer); cocos2d::CCNode::unscheduleAllSelectors(a1->m_playLayer); v4 = qword_1406C2E88; if ( !qword_1406C2E88 ) { v10 = (FMODAudioEngine *)operator new(0x888u); qword_1406C2E88 = (__int64)FMODAudioEngine::FMODAudioEngine(v10); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2E88 + 72LL))(qword_1406C2E88); v4 = qword_1406C2E88; } if ( *(_QWORD *)(v4 + 552) ) FMOD::ChannelControl::stop(*(FMOD::ChannelControl **)(v4 + 552)); sub_14005E0D0((_QWORD *)(v4 + 1064)); sub_14005E0D0((_QWORD *)(v4 + 1128)); sub_14005E0D0((_QWORD *)(v4 + 1192)); PlayLayer::removeAllObjects(a1->m_playLayer); v5 = cocos2d::CCCallFunc::create(a1, EndLevelLayer::goEdit); v6 = cocos2d::CCDelayTime::create(0.0); v7 = cocos2d::CCSequence::create(v6, v5, 0); cocos2d::CCNode::runAction((CCLightFlash *)a1, (cocos2d::CCPoint)v7, v8, v2, v9); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source