// // PlayLayer::showHint from 0x1000883e0 to 0x10008854a (362 bytes) // // 2 xrefs: // > PlayLayer::destroyPlayer @ 0x100087a01 // > PlayLayer::destroyPlayer @ 0x100087a4c // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // 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 12:20:05 +0000 // __int64 __fastcall PlayLayer::showHint(__int64 a1, __int64 a2) { __int64 v3; // rax int v4; // eax const char *v5; // rdi int v6; // xmm1_4 int v7; // xmm0_4 __int64 v8; // rbx int v9; // r14d int v10; // r15d int v11; // r12d int v12; // eax int v13; // r9d __int64 v14; // rax _BYTE v16[8]; // [rsp+8h] [rbp-38h] BYREF float v17[2]; // [rsp+10h] [rbp-30h] BYREF float v18; // [rsp+18h] [rbp-28h] float v19; // [rsp+1Ch] [rbp-24h] *(_BYTE *)(a1 + 14345) = 1; v3 = cocos2d::CCDirector::sharedDirector(a1, a2); cocos2d::CCDirector::getWinSize(v17, v3); v4 = *(_DWORD *)(*(_QWORD *)(a1 + 1936) + 328LL) - *(_DWORD *)(*(_QWORD *)(a1 + 1936) + 332LL); v5 = "Click / Space to jump over the spikes"; v6 = 1060320051; v7 = 1077936128; if ( v4 != 1 && v4 != 1001 ) { v5 = "Click while touching a ring to jump mid air"; v6 = 1058642330; v7 = 1082130432; } v19 = *(float *)&v6; v18 = *(float *)&v7; v8 = cocos2d::CCLabelBMFont::create_3(v5, "bigFont.fnt"); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v8 + 160LL))(v8, v19); (*(void (__fastcall **)(__int64, __int64, __int64))(*(_QWORD *)a1 + 464LL))(a1, v8, 3); sub_100278250(v16, v17[0] * 0.5, (float)(v17[1] * 0.5) + 60.0); (*(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v8 + 184LL))(v8, v16); (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v8 + 1024LL))(v8, 0); v9 = cocos2d::CCFadeIn::create(0.5); v10 = cocos2d::CCDelayTime::create(v18); v11 = cocos2d::CCFadeOut::create(0.5); v12 = cocos2d::CCCallFunc::create(v8, 537, 0); v14 = sub_10039EB60(v9, v10, v11, v12, 0, v13); return cocos2d::CCNode::runAction(v8, v14); }
GD Web Decomp Icon

GD Web Decomp

Raw Source