// // ShardsPage::show from 0x95c124 to 0x95c2b8 (404 bytes) // // 2 xrefs: // > @ 0x9b970 // > @ 0x11bb9e8 // // 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 ShardsPage::show(ShardsPage *a1) { unsigned __int8 v2; // w23 const cocos2d::CCPoint *v3; // x0 cocos2d::CCLayer *m_mainLayer; // x24 void (__fastcall *setPosition)(cocos2d::CCNode *__hidden, const cocos2d::CCPoint *); // x22 cocos2d::CCEaseElasticOut *v6; // x0 cocos2d::CCActionInterval *v7; // x1 cocos2d::CCAction *v8; // x0 cocos2d::CCDirector *v9; // x0 cocos2d::CCScene *m_pRunningScene; // x21 cocos2d::CCNode *m_scene; // x1 cocos2d::CCFadeTo *v12; // x0 int HighestChildZ; // w0 int v14; // w2 cocos2d::CCPoint v15; // [xsp+58h] [xbp+58h] BYREF cocos2d::CCPoint v16; // [xsp+60h] [xbp+60h] BYREF if ( !a1->m_noElasticity ) { v2 = a1->getOpacity(a1); v3 = a1->m_mainLayer->getPosition(a1->m_mainLayer); cocos2d::CCPoint::CCPoint(&v15, v3); m_mainLayer = a1->m_mainLayer; setPosition = m_mainLayer->setPosition; cocos2d::CCPoint::CCPoint(&v16, -160.0, v15.y); setPosition(m_mainLayer, &v16); v6 = (cocos2d::CCEaseElasticOut *)cocos2d::CCMoveTo::create(0.5, &v15); v8 = (cocos2d::CCAction *)cocos2d::CCEaseElasticOut::create(v6, v7, 0.6); cocos2d::CCNode::runAction(a1->m_mainLayer, v8); v9 = cocos2d::CCDirector::sharedDirector(); m_pRunningScene = v9->m_pRunningScene; m_scene = a1->m_scene; if ( m_scene ) { if ( a1->m_ZOrder ) { LABEL_4: ((void (__fastcall *)(cocos2d::CCNode *, ShardsPage *))m_scene->addChild_0)(m_scene, a1); a1->setOpacity(a1, 0); v12 = cocos2d::CCFadeTo::create(0.14, v2); cocos2d::CCNode::runAction(a1, v12); a1->setVisible(a1, 1); return; } } else { HighestChildZ = cocos2d::CCScene::getHighestChildZ(v9->m_pRunningScene); v14 = 105; if ( HighestChildZ > 104 ) v14 = cocos2d::CCScene::getHighestChildZ(m_pRunningScene) + 1; a1->m_ZOrder = v14; m_scene = m_pRunningScene; if ( v14 ) goto LABEL_4; } a1->m_ZOrder = 105; goto LABEL_4; } FLAlertLayer::show(a1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source