// // PlayLayer::showHint from 0x3129b8 to 0x312ae2 (298 bytes) // // 2 xrefs: // > PlayLayer::destroyPlayer @ 0x3140a2 // > PlayLayer::destroyPlayer @ 0x3140aa // // 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; // r0 Elf32_Sym *v3; // r3 float v4; // r7 int v5; // r8 cocos2d::CCLabelBMFont *v6; // r4 void (__fastcall *setPosition)(cocos2d::CCNode *__hidden, const cocos2d::CCPoint *); // r8 cocos2d::CCSequence *v8; // r9 cocos2d::CCDelayTime *v9; // r8 cocos2d::CCFadeOut *v10; // r7 int v11; // r0 cocos2d::CCAction *v12; // r0 cocos2d::CCSize v13; // [sp+Ch] [bp-18h] BYREF cocos2d::CCPoint v14; // [sp+14h] [bp-10h] BYREF a1->m_hintShown = 1; v2 = cocos2d::CCDirector::sharedDirector(); cocos2d::CCDirector::getWinSize(&v13, v2); v3 = (Elf32_Sym *)(a1->m_level->m_levelID.random - a1->m_level->m_levelID.seed); if ( v3 == (Elf32_Sym *)((char *)&dword_0 + 1) ) { v4 = 3.0; v5 = 1060320051; } else if ( v3 == (Elf32_Sym *)&stru_3DC.st_other ) { v4 = 3.0; v5 = 1060320051; } else { v4 = 4.0; v5 = 1058642330; } v6 = cocos2d::CCLabelBMFont::create(); ((void (__fastcall *)(cocos2d::CCLabelBMFont *, int))v6->setScale)(v6, v5); a1->addChild_0(a1, v6, 3); setPosition = v6->setPosition; cocos2d::CCPoint::CCPoint(&v14, v13.width * 0.5, (float)(v13.height * 0.5) + 60.0); setPosition(v6, &v14); v6->setOpacity(v6, 0); v8 = (cocos2d::CCSequence *)cocos2d::CCFadeIn::create(0.5); v9 = cocos2d::CCDelayTime::create(v4); v10 = cocos2d::CCFadeOut::create(0.5); LODWORD(v14.x) = 260; LODWORD(v14.y) = 1; v11 = cocos2d::CCCallFunc::create(v6, 260, 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