// // PlayLayer::showHint from 0x5cf3d0 to 0x5cf56c (412 bytes) // // 3 xrefs: // > PlayLayer::destroyPlayer @ 0x5d1fc8 // > PlayLayer::destroyPlayer @ 0x5d2070 // > @ 0xbefe0 // // 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 PlayLayer::showHint(PlayLayer *a1) { cocos2d::CCDirector *v2; // x0 long double v3; // q0 int v4; // w0 float v5; // s9 cocos2d::CCLabelBMFont *v6; // x19 void (__fastcall *setPosition)(cocos2d::CCNode *__hidden, const cocos2d::CCPoint *); // x21 cocos2d::CCSequence *v8; // x23 cocos2d::CCDelayTime *v9; // x22 cocos2d::CCFadeOut *v10; // x21 __int64 v11; // x0 cocos2d::CCAction *v12; // x0 long double v13; // [xsp+50h] [xbp+50h] float v14; // [xsp+68h] [xbp+68h] float v15; // [xsp+6Ch] [xbp+6Ch] cocos2d::CCPoint v16; // [xsp+70h] [xbp+70h] BYREF a1->m_hintShown = 1; v2 = cocos2d::CCDirector::sharedDirector(); cocos2d::CCDirector::getWinSize(v2); v4 = a1->m_level->m_levelID.random - a1->m_level->m_levelID.seed; if ( v4 == 1 || v4 == 1001 ) { LODWORD(v3) = 1060320051; v5 = 3.0; } else { LODWORD(v3) = 1058642330; v5 = 4.0; } v13 = v3; v6 = cocos2d::CCLabelBMFont::create(); v6->setScale(v6, v13); a1->addChild_0(a1, v6, 3); setPosition = v6->setPosition; cocos2d::CCPoint::CCPoint(&v16, v14 * 0.5, (float)(v15 * 0.5) + 60.0); setPosition(v6, &v16); v6->setOpacity(v6, 0); v8 = (cocos2d::CCSequence *)cocos2d::CCFadeIn::create(0.5); v9 = cocos2d::CCDelayTime::create(v5); v10 = cocos2d::CCFadeOut::create(0.5); v11 = cocos2d::CCCallFunc::create(v6, 520, 1); v12 = (cocos2d::CCAction *)cocos2d::CCSequence::create(v8, v9, v10, v11, 0); cocos2d::CCNode::runAction(v6, v12); }
GD Web Decomp Icon

GD Web Decomp

Raw Source