// // FMODAudioEngine::playMusic from 0x1001b9f88 to 0x1001ba074 (236 bytes) // // 6 xrefs: // > sub_10011F910 @ 0x10011fa50 // > PlayLayer::playPracticeMusic @ 0x10014c36c // > GJShopLayer::init @ 0x1001c98fc // > sub_1001CB24C @ 0x1001cb748 // > GameManager::playMenuMusic @ 0x1003aee98 // > GameManager::fadeInMusic @ 0x1003af150 // // This function is hookable on this platform (idp: arm, 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:00:11 +0000 // __int64 *__fastcall FMODAudioEngine::playMusic(__int64 *result, __int64 a2, int a3, __int64 a4, float a5) { __int64 v8; // x20 char v9; // [xsp+Fh] [xbp-51h] BYREF void *__p[2]; // [xsp+10h] [xbp-50h] BYREF __int64 v11; // [xsp+20h] [xbp-40h] if ( result[60] ) { v8 = (__int64)result; if ( *(char *)(a2 + 23) < 0 ) { sub_1000097D0(__p, *(void **)a2, *(_QWORD *)(a2 + 8)); } else { *(_OWORD *)__p = *(_OWORD *)a2; v11 = *(_QWORD *)(a2 + 16); } FMODAudioEngine::loadMusic(v8, (__int128 *)__p, a3, a4, 0, 0, 1.0, 0.0, 1.0); if ( SHIBYTE(v11) < 0 ) operator delete(__p[0]); if ( a5 > 0.0 ) FMODAudioEngine::fadeInMusic(v8, a4, a5); FMODAudioEngine::resumeMusic(v8, a4); v9 = 0; FMOD::ChannelControl::getPaused(*(_QWORD *)(v8 + 480), &v9); return FMODAudioEngine::getActiveMusicChannel(v8, a4); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source