// // PlayLayer::showHint from 0x10011f0d8 to 0x10011f240 (360 bytes) // // 2 xrefs: // > PlayLayer::destroyPlayer @ 0x10011eac8 // > PlayLayer::destroyPlayer @ 0x10011eb10 // // 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) { cocos2d::CCDirector *v2; // x0 int v3; // w8 const char *v4; // x0 float v5; // s8 float v6; // s9 cocos2d::CCLabelBMFont *v7; // x19 __n128 v8; // q0 __n128 v9; // q1 cocos2d::CCFadeIn *v10; // x20 cocos2d::CCAction *v11; // x0 _DWORD v12[4]; // [xsp+20h] [xbp-40h] BYREF cocos2d::SEL_CallFunc v13; // 0:x1.16 a1->m_hintShown = 1; v2 = cocos2d::CCDirector::sharedDirector(); cocos2d::CCDirector::getWinSize(v2); v3 = a1->m_level->m_levelID.random - a1->m_level->m_levelID.seed; v4 = "Tap to jump over the spikes"; v5 = 3.0; v6 = 0.7; if ( v3 != 1 && v3 != 1001 ) { v4 = "Tap while touching a ring to jump mid air"; v5 = 4.0; v6 = 0.6; } v7 = cocos2d::CCLabelBMFont::create_1(v4, "bigFont.fnt"); ((void (__fastcall *)(cocos2d::CCLabelBMFont *, float))v7->setScale)(v7, v6); v8 = ((__n128 (__fastcall *)(PlayLayer *, cocos2d::CCLabelBMFont *, __int64))a1->addChild_0)(a1, v7, 3); v8.n128_f32[0] = *(float *)&v12[2] * 0.5; v9.n128_f32[0] = (float)(*(float *)&v12[3] * 0.5) + 60.0; sub_100022980(v8, v9, v12); ((void (__fastcall *)(cocos2d::CCLabelBMFont *, _DWORD *))v7->setPosition)(v7, v12); ((void (__fastcall *)(cocos2d::CCLabelBMFont *, _QWORD))v7->setOpacity)(v7, 0); v10 = cocos2d::CCFadeIn::create(0.5); cocos2d::CCDelayTime::create(v5); cocos2d::CCFadeOut::create(0.5); v13.ptr = (void (*)(void))520; v13.adj = 1; cocos2d::CCCallFunc::create(v7, v13); v11 = (cocos2d::CCAction *)sub_10018A494(v10); cocos2d::CCNode::runAction(v7, v11); }
GD Web Decomp Icon

GD Web Decomp

Raw Source