// // PlayLayer::showHint from 0x401bdc to 0x401d06 (298 bytes) // // 2 xrefs: // > PlayLayer::destroyPlayer @ 0x405b52 // > PlayLayer::destroyPlayer @ 0x405b5a // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 11:47:24 +0000 // int __fastcall PlayLayer::showHint(PlayLayer *this) { unsigned __int8 *p_st_other; // r2 Elf32_Sym *v3; // r3 int v4; // r7 int v5; // r8 char *v6; // r0 cocos2d::CCNode *v7; // r4 void (__fastcall *v8)(cocos2d::CCNode *, _DWORD *); // r8 float v9; // r1 cocos2d::CCSequence *v10; // r9 float v11; // r1 cocos2d::CCFiniteTimeAction *v12; // r8 float v13; // r1 int v14; // r7 int v15; // r0 cocos2d::CCAction *v16; // r0 float v18[2]; // [sp+Ch] [bp-18h] BYREF _DWORD v19[2]; // [sp+14h] [bp-10h] BYREF *((_BYTE *)this + 11909) = 1; cocos2d::CCDirector::sharedDirector(this); cocos2d::CCDirector::getWinSize((cocos2d::CCDirector *)v18); v3 = (Elf32_Sym *)(*(_DWORD *)(*((_DWORD *)this + 352) + 268) - *(_DWORD *)(*((_DWORD *)this + 352) + 272)); if ( v3 == (Elf32_Sym *)((char *)&dword_0 + 1) ) { v4 = 1077936128; v5 = 1060320051; v6 = "Tap to jump over the spikes"; } else { p_st_other = &stru_3DC.st_other; if ( v3 == (Elf32_Sym *)&stru_3DC.st_other ) { v4 = 1077936128; v5 = 1060320051; v6 = "Tap to jump over the spikes"; } else { v4 = 1082130432; v5 = 1058642330; v6 = "Tap while touching a ring to jump mid air"; } } v7 = (cocos2d::CCNode *)cocos2d::CCLabelBMFont::create( (cocos2d::CCLabelBMFont *)v6, "bigFont.fnt", (const char *)p_st_other); (*(void (__fastcall **)(cocos2d::CCNode *, int))(*(_DWORD *)v7 + 80))(v7, v5); (*(void (__fastcall **)(PlayLayer *, cocos2d::CCNode *, int))(*(_DWORD *)this + 232))(this, v7, 3); v8 = *(void (__fastcall **)(cocos2d::CCNode *, _DWORD *))(*(_DWORD *)v7 + 92); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v19, v18[0] * 0.5, (float)(v18[1] * 0.5) + 60.0); v8(v7, v19); (*(void (__fastcall **)(cocos2d::CCNode *, _DWORD))(*(_DWORD *)v7 + 512))(v7, 0); v10 = (cocos2d::CCSequence *)cocos2d::CCFadeIn::create(COERCE_COCOS2D_CCFADEIN_(0.5), v9); v12 = (cocos2d::CCFiniteTimeAction *)cocos2d::CCDelayTime::create((cocos2d::CCDelayTime *)v4, v11); v14 = cocos2d::CCFadeOut::create(COERCE_COCOS2D_CCFADEOUT_(0.5), v13); v19[0] = 268; v19[1] = 1; v15 = cocos2d::CCCallFunc::create(v7, 268, 1); v16 = (cocos2d::CCAction *)cocos2d::CCSequence::create(v10, v12, v14, v15, 0); return cocos2d::CCNode::runAction(v7, v16); }
GD Web Decomp Icon

GD Web Decomp

Raw Source