// // EndLevelLayer::onReplay from 0x1004bae40 to 0x1004baf1b (219 bytes) // // 3 xrefs: // > EndLevelLayer::keyDown @ 0x1004bc9b5 // > sub_1004BC9D0 @ 0x1004bc9fc // > EndLevelLayer::customSetup @ 0x1004b9e79 // // 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:31:03 +0000 // void __fastcall EndLevelLayer::onReplay(_BYTE *a1, double a2) { __int64 v2; // rax __int64 v3; // rax __int64 v4; // rax void *v5[4]; // [rsp+0h] [rbp-20h] BYREF if ( !a1[619] ) { a1[619] = 1; v2 = GameManager::sharedState(); if ( !(unsigned __int8)GameManager::getGameVariable(v2, "0024") ) PlatformToolbox::hideCursor(a2); v3 = FMODAudioEngine::sharedEngine(); FMODAudioEngine::clearAllAudio(v3); v4 = FMODAudioEngine::sharedEngine(); strcpy((char *)v5, " playSound_01.ogg"); FMODAudioEngine::playEffect(v4, (__int64)v5, (__m128)0x3F800000u, 0.0, 0.30000001); if ( ((__int64)v5[0] & 1) != 0 ) operator delete(v5[2]); (*(void (__fastcall **)(_BYTE *, _QWORD))(*(_QWORD *)a1 + 1320LL))(a1, 0); (*(void (__fastcall **)(_BYTE *, _QWORD))(*(_QWORD *)a1 + 1000LL))(a1, 0); (*(void (__fastcall **)(_BYTE *, _QWORD))(*(_QWORD *)a1 + 1088LL))(a1, 0); (*(void (__fastcall **)(_BYTE *, _QWORD))(*(_QWORD *)a1 + 1072LL))(a1, 0); PlayLayer::delayedFullReset(*((_BYTE **)a1 + 76)); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source