// // SecretLayer3::onBack from 0x1403ef620 to 0x1403ef786 (358 bytes) // // 3 xrefs: // > SecretLayer3::keyBackClicked @ 0x1403ef799 // > SecretLayer3::init @ 0x1403eb3eb // > @ 0x1406d80fc // // 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=1 void SecretLayer3::onBack(SecretLayer3 *a1, cocos2d::CCObject *a2) { float v2; // xmm3_4 GameManager *v4; // rcx _BOOL8 v5; // rdx struct cocos2d::CCFadeIn *v6; // rax cocos2d::ccColor3B *v7; // r8 __int64 v8; // rbx struct cocos2d::CCDelayTime *v9; // rax struct cocos2d::CCSequence *v10; // rax cocos2d::ccColor3B *v11; // r8 struct cocos2d::CCScene *v12; // rax struct cocos2d::CCTransitionFade *v13; // rbx __int64 v14; // rcx cocos2d::CCDirector *v15; // rax float v16; // [rsp+20h] [rbp-8h] void *v17; // [rsp+30h] [rbp+8h] float v18; // [rsp+50h] [rbp+28h] if ( !a1->m_lockInput ) { v4 = (GameManager *)qword_1406C2ED8; if ( !qword_1406C2ED8 ) { v17 = operator new(0x668u); qword_1406C2ED8 = sub_14017AB00((__int64)v17); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8); v4 = (GameManager *)qword_1406C2ED8; } if ( GameManager::getUGV(v4, "12") ) { a1->setKeypadEnabled(a1, 0); v12 = SecretLayer2::scene(); v13 = cocos2d::CCTransitionFade::create(0.5, v12); v15 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v14); cocos2d::CCDirector::replaceScene(v15, v13); } else { a1->m_lockInput = 1; cocos2d::CCNode::stopAllActions(a1->m_demonEyes); ((void (__fastcall *)(cocos2d::CCSprite *))a1->m_demonEyes->setScale_0)(a1->m_demonEyes); a1->m_demonEyes->setOpacity(&a1->m_demonEyes->cocos2d::CCRGBAProtocol, 0); LOBYTE(v5) = 1; a1->m_demonEyes->setVisible(a1->m_demonEyes, v5); v6 = cocos2d::CCFadeIn::create(1.0); cocos2d::CCNode::runAction((CCLightFlash *)a1->m_demonEyes, (cocos2d::CCPoint)v6, v7, v2, v16); v8 = cocos2d::CCCallFunc::create(a1, SecretLayer3::firstInteractionStep2); v9 = cocos2d::CCDelayTime::create(2.0); v10 = cocos2d::CCSequence::create(v9, v8, 0); cocos2d::CCNode::runAction((CCLightFlash *)a1, (cocos2d::CCPoint)v10, v11, v2, v18); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source