//
// PlayLayer::showHint from 0x1403b4770 to 0x1403b48ed (381 bytes)
//
// 3 xrefs:
// > PlayLayer::destroyPlayer @ 0x1403b3c28
// > PlayLayer::destroyPlayer @ 0x1403b3c72
// > ??> @ 0x1406d6ed8
//
// 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)
{
float v1; // xmm3_4
cocos2d::CCDirector *v3; // rax
float v4; // xmm7_4
int v5; // edx
const char *v6; // rcx
CCLightFlash *v7; // r14
float v8; // xmm0_4
CCLightFlash_vtbl *v9; // rbx
const cocos2d::CCPoint *v10; // rax
struct cocos2d::CCFadeIn *v11; // rsi
struct cocos2d::CCDelayTime *v12; // rdi
struct cocos2d::CCFadeOut *v13; // rbx
__int64 v14; // rax
struct cocos2d::CCSequence *v15; // rax
cocos2d::ccColor3B *v16; // r8
float v17; // [rsp+70h] [rbp+8h]
a1->m_hintShown = 1;
v3 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(a1);
cocos2d::CCDirector::getWinSize(v3);
v4 = 3.0;
v5 = a1->m_level->m_levelID.random - a1->m_level->m_levelID.seed;
if ( v5 == 1 || v5 == 1001 )
{
v6 = "Click / Space to jump over the spikes";
}
else
{
v6 = "Click while touching a ring to jump mid air";
v4 = 4.0;
}
v7 = (CCLightFlash *)cocos2d::CCLabelBMFont::create(v6, (const char *)&qword_14052A4D8);
((void (__fastcall *)(CCLightFlash *))v7->setScale_0)(v7);
v8 = ((float (__fastcall *)(PlayLayer *, CCLightFlash *, __int64))a1->addChild_0)(a1, v7, 3);
v9 = v7->__vftable;
cocos2d::CCPoint::CCPoint(v8, v17 * 0.5);
v9->setPosition_0(v7, v10);
(*(void (__fastcall **)(unsigned int *, _QWORD))(*(_QWORD *)&v7[1].m_uID + 40LL))(&v7[1].m_uID, 0);
v11 = cocos2d::CCFadeIn::create(0.5);
v12 = cocos2d::CCDelayTime::create(v4);
v13 = cocos2d::CCFadeOut::create(0.5);
v14 = cocos2d::CCCallFunc::create(v7, sub_14003BE70);
v15 = cocos2d::CCSequence::create(v11, v12, v13, v14);
cocos2d::CCNode::runAction(v7, (cocos2d::CCPoint)v15, v16, v1, 0.0);
}