// // SecretLayer2::showSecretLevel from 0x1004a0b10 to 0x1004a0c34 (292 bytes) // // 1 xrefs: // > SecretLayer2::onSubmit @ 0x10049f45c // // 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 SecretLayer2::showSecretLevel(SecretLayer2 *a1) { GameManager *v2; // rax unsigned int v3; // r14d __int64 v4; // rax cocos2d::CCScaleTo *v5; // rax cocos2d::CCEaseBounceOut *v6; // r14 cocos2d::CCFadeIn *v7; // r15 cocos2d::CCNode *v8; // rbx v2 = GameManager::sharedState(); GameManager::setUGV(v2, "1", 1); ((void (__fastcall *)(CCMenuItemSpriteExtra *, __int64))a1->m_secretLevelButton->setVisible)( a1->m_secretLevelButton, 1); ((void (__fastcall *)(CCMenuItemSpriteExtra *, __int64))a1->m_secretLevelButton->setEnabled)( a1->m_secretLevelButton, 1); if ( (unsigned int)sub_100720070(a1->m_secretLevelLabels) ) { v3 = 0; do { v4 = sub_1007200C0(a1->m_secretLevelLabels, v3); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v4 + 328LL))(v4, 1); ++v3; } while ( v3 < (unsigned int)sub_100720070(a1->m_secretLevelLabels) ); } v5 = cocos2d::CCScaleTo::create_1(0.5, 0.5); v6 = cocos2d::CCEaseBounceOut::create(v5); v7 = cocos2d::CCFadeIn::create(0.15000001); v8 = (cocos2d::CCNode *)((__int64 (__fastcall *)(CCMenuItemSpriteExtra *))a1->m_secretLevelButton->getNormalImage)(a1->m_secretLevelButton); ((void (__fastcall *)(cocos2d::CCNode *, float))v8->setScale)(v8, 1.0); ((void (__fastcall *)(cocos2d::CCNode *, _QWORD))v8->__vftable[1].~CCNode_0)(v8, 0); cocos2d::CCNode::runAction(v8, v6); cocos2d::CCNode::runAction(v8, v7); }
GD Web Decomp Icon

GD Web Decomp

Raw Source