// // sub_10008D8C0 from 0x10008d8c0 to 0x10008d926 (102 bytes) // // 2 xrefs: // > PlayLayer::togglePracticeMode @ 0x10008c615 // > EndLevelLayer::onRestartCheckpoint @ 0x1004bb125 // // 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:07 +0000 // void __fastcall sub_10008D8C0(double a1) { __int64 v1; // rdi __int64 v2; // rbx __int64 v3; // rdx double v4; // xmm0_8 __int64 v5; // rax _BYTE v6[16]; // [rsp+8h] [rbp-28h] BYREF void *__p; // [rsp+18h] [rbp-18h] v1 = FMODAudioEngine::sharedEngine(a1); FMODAudioEngine::stopAllMusic(v1, 1); v2 = FMODAudioEngine::sharedEngine(a1); *(_QWORD *)&v4 = GameManager::sharedState(v1, 1, v3).u64[0]; GameManager::getPracticeMusicFile(v6, v5, v4); FMODAudioEngine::playMusic(v2, v6, 1, 0, 0.0); if ( (v6[0] & 1) != 0 ) operator delete(__p); }
GD Web Decomp Icon

GD Web Decomp

Raw Source