// // RetryLevelLayer::showLayer from 0x1001b3ae0 to 0x1001b3be8 (264 bytes) // // 1 xrefs: // > @ 0x1007b1550 // // 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 RetryLevelLayer::showLayer(RetryLevelLayer *a1, bool a2) { _BOOL4 v2; // w20 cocos2d::CCLayer *m_mainLayer; // x0 cocos2d::CCScaleTo *v5; // x0 cocos2d::CCEaseElasticOut *v6; // x20 char v7; // w0 __int64 v8; // x1 __int64 v9; // x2 __int64 v10; // x3 __int64 v11; // x4 __int64 v12; // x5 __int64 v13; // x6 __int64 v14; // x7 cocos2d::CCSequence *v15; // x0 cocos2d::CCFadeTo *v16; // x1 cocos2d::SEL_CallFunc v17; // 0:x1.16 v2 = a2; cocos2d::CCNode::stopAllActions(a1->m_mainLayer); ((void (__fastcall *)(RetryLevelLayer *))a1->layerVisible)(a1); m_mainLayer = a1->m_mainLayer; if ( v2 ) { ((void (__fastcall *)(cocos2d::CCLayer *, cocos2d::CCPoint *))m_mainLayer->setPosition)( m_mainLayer, &a1->m_endPosition); ((void (__fastcall *)(RetryLevelLayer *, __int64))a1->setOpacity)(a1, 100); ((void (__fastcall *)(RetryLevelLayer *))a1->enterAnimFinished)(a1); } else { ((void (__fastcall *)(cocos2d::CCLayer *, float))m_mainLayer->setScale)(m_mainLayer, 0.1); v5 = cocos2d::CCScaleTo::create_1(0.5, 1.0); v6 = cocos2d::CCEaseElasticOut::create(v5, 0.6); v17.ptr = (void (*)(void))1344; v17.adj = 1; v7 = (unsigned __int8)cocos2d::CCCallFunc::create(a1, v17); v15 = sub_10018A494(v6, v8, v9, v10, v11, v12, v13, v14, v7); cocos2d::CCNode::runAction(a1->m_mainLayer, v15); ((void (__fastcall *)(RetryLevelLayer *, _QWORD))a1->setOpacity)(a1, 0); v16 = cocos2d::CCFadeTo::create(0.5, 0x64u); cocos2d::CCNode::runAction(a1, v16); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source