// // PlayLayer::showEndLayer from 0x14050b000 to 0x14050b204 (516 bytes) // // 3 xrefs: // > PlayLayer::showCompleteText @ 0x140507782 // > @ 0x14092a95c // > @ 0x14092a968 // // 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 11:33:28 +0000 // // Hidden C++ exception states: #wind=2 __int64 __fastcall PlayLayer::showEndLayer(__int64 a1, __int64 a2, __int64 a3, __int64 a4) { __int64 v5; // rdx __int64 v6; // rcx __int64 v7; // r8 __int64 v8; // r9 cocos2d::CCEGLView *v9; // rax __int64 v10; // rcx __int64 v11; // rcx _QWORD *v12; // rbx __int64 (__fastcall *v13)(cocos2d::CCNode *, char); // r8 *(_BYTE *)(cocos2d::CCEGLView::sharedOpenGLView(a1, a2, a3, a4) + 237) = 0; v9 = (cocos2d::CCEGLView *)cocos2d::CCEGLView::sharedOpenGLView(v6, v5, v7, v8); cocos2d::CCEGLView::showCursor(v9, 1); PlayerObject::releaseAllButtons(*(_QWORD *)(a1 + 3512)); v10 = *(_QWORD *)(a1 + 3520); if ( v10 ) PlayerObject::releaseAllButtons(v10); v11 = *(_QWORD *)(a1 + 13888); *(_QWORD *)(v11 + 584) = -1; *(_WORD *)(v11 + 578) = 0; *(_BYTE *)(v11 + 580) = 0; UILayer::resetUINodeState(v11); UILayer::toggleMenuVisibility(*(_QWORD *)(a1 + 13888), 0); *(_BYTE *)(a1 + 15317) = 1; v12 = operator new(0x2B0u); GJDropDownLayer::GJDropDownLayer((__int64)v12); *v12 = &EndLevelLayer::`vftable'; v12[40] = &EndLevelLayer::`vftable'; v12[41] = &EndLevelLayer::`vftable'; v12[42] = &EndLevelLayer::`vftable'; v12[43] = &EndLevelLayer::`vftable'; v12[44] = &EndLevelLayer::`vftable'; v12[51] = &EndLevelLayer::`vftable'; v12[54] = &EndLevelLayer::`vftable'; v12[76] = 0; *((_DWORD *)v12 + 154) = 0; *((_WORD *)v12 + 310) = 0; v12[78] = 0; v12[79] = 0; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v12 + 80)); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v12 + 81)); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v12 + 82)); v12[83] = 0; v12[84] = 0; *((_BYTE *)v12 + 681) = 0; v12[76] = a1; if ( GJDropDownLayer::init(v12, (int)" ", 230.0, 1) ) { cocos2d::CCObject::autorelease((cocos2d::CCObject *)v12); } else { (*(void (__fastcall **)(_QWORD *, __int64))(*v12 + 8LL))(v12, 1); v12 = nullptr; } (*(void (__fastcall **)(__int64, _QWORD *, __int64))(*(_QWORD *)a1 + 456LL))(a1, v12, 1001); v13 = *(__int64 (__fastcall **)(cocos2d::CCNode *, char))(*v12 + 1080LL); if ( v13 == EndLevelLayer::showLayer ) return EndLevelLayer::showLayer((cocos2d::CCNode *)v12, 0); else return v13((cocos2d::CCNode *)v12, 0); }
GD Web Decomp Icon

GD Web Decomp

Raw Source