// // PlayLayer::showHint from 0x1000ba890 to 0x1000ba9fa (362 bytes) // // 2 xrefs: // > PlayLayer::destroyPlayer @ 0x1000ba00f // > PlayLayer::destroyPlayer @ 0x1000ba05a // // 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 PlayLayer::showHint(PlayLayer *a1) { int v2; // eax const char *v3; // rdi int v4; // xmm1_4 int v5; // xmm0_4 cocos2d::CCLabelBMFont *v6; // rbx unsigned int v7; // r14d unsigned int v8; // r15d unsigned int v9; // r12d unsigned int v10; // eax int v11; // r9d cocos2d::CCAction *v12; // rax _BYTE v13[8]; // [rsp+8h] [rbp-38h] BYREF float v14[2]; // [rsp+10h] [rbp-30h] BYREF float v15; // [rsp+18h] [rbp-28h] float v16; // [rsp+1Ch] [rbp-24h] a1->m_hintShown = 1; cocos2d::CCDirector::sharedDirector(); cocos2d::CCDirector::getWinSize((cocos2d::CCDirector *)v14); v2 = a1->m_level->m_levelID.random - a1->m_level->m_levelID.seed; v3 = "Click / Space to jump over the spikes"; v4 = 1060320051; v5 = 1077936128; if ( v2 != 1 && v2 != 1001 ) { v3 = "Click while touching a ring to jump mid air"; v4 = 1058642330; v5 = 1082130432; } v16 = *(float *)&v4; v15 = *(float *)&v5; v6 = cocos2d::CCLabelBMFont::create_3(v3, "bigFont.fnt"); ((void (__fastcall *)(cocos2d::CCLabelBMFont *, float))v6->setScale)(v6, v16); ((void (__fastcall *)(PlayLayer *, cocos2d::CCLabelBMFont *, __int64))a1->addChild_0)(a1, v6, 3); sub_10028CBE0(v13, v14[0] * 0.5, (float)(v14[1] * 0.5) + 60.0); ((void (__fastcall *)(cocos2d::CCLabelBMFont *, _BYTE *))v6->setPosition)(v6, v13); ((void (__fastcall *)(cocos2d::CCLabelBMFont *, _QWORD))v6->setOpacity)(v6, 0); v7 = (unsigned int)cocos2d::CCFadeIn::create(0.5); v8 = (unsigned int)cocos2d::CCDelayTime::create(v15); v9 = (unsigned int)cocos2d::CCFadeOut::create(0.5); v10 = (unsigned int)cocos2d::CCCallFunc::create(v6, (cocos2d::SEL_CallFunc)0x209uLL); v12 = (cocos2d::CCAction *)sub_1003B5760(v7, v8, v9, v10, 0, v11); cocos2d::CCNode::runAction(v6, v12); }
GD Web Decomp Icon

GD Web Decomp

Raw Source