// // SecretLayer2::showSecretLevel from 0x4ec0c8 to 0x4ec16c (164 bytes) // // 1 xrefs: // > SecretLayer2::onSubmit @ 0x4edaf6 // // 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 SecretLayer2::showSecretLevel(SecretLayer2 *a1) { GameManager *v2; // r0 unsigned int v3; // r5 float v4; // r2 int v5; // r0 cocos2d::CCActionInterval *v6; // r0 cocos2d::CCEaseBounceOut *v7; // r6 cocos2d::CCFadeIn *v8; // r5 cocos2d::CCNode *v9; // r4 v2 = GameManager::sharedState(); v3 = 0; GameManager::setUGV(v2, (const char *)&aO1i2r3e45s7t89[1], 1); a1->m_secretLevelButton->setVisible(a1->m_secretLevelButton, 1); a1->m_secretLevelButton->setEnabled(a1->m_secretLevelButton, 1); while ( v3 < cocos2d::CCArray::count(a1->m_secretLevelLabels) ) { v5 = cocos2d::CCArray::objectAtIndex(a1->m_secretLevelLabels, v3++); (*(void (__fastcall **)(int, int))(*(_DWORD *)v5 + 164))(v5, 1); } v6 = (cocos2d::CCActionInterval *)cocos2d::CCScaleTo::create((cocos2d::CCScaleTo *)0x3F000000, 0.5, v4); v7 = cocos2d::CCEaseBounceOut::create(v6); v8 = cocos2d::CCFadeIn::create(0.15); v9 = a1->m_secretLevelButton->getNormalImage(a1->m_secretLevelButton); ((void (__fastcall *)(cocos2d::CCNode *, int))v9->setScale)(v9, 1065353216); ((void (__fastcall *)(cocos2d::CCNode *, _DWORD))v9->__vftable[1].~CCNode_0)(v9, 0); cocos2d::CCNode::runAction(v9, v7); cocos2d::CCNode::runAction(v9, v8); }
GD Web Decomp Icon

GD Web Decomp

Raw Source