// // CreateGuidelinesLayer::playMusic from 0x5bf73c to 0x5bf858 (284 bytes) // // 2 xrefs: // > @ 0x518e8 // > @ 0x11463a8 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // void CreateGuidelinesLayer::playMusic(CreateGuidelinesLayer *a1) { FMODAudioEngine *v2; // x22 void *v3; // x0 unsigned int *v4; // x2 int v5; // w1 __int64 v6; // [xsp+50h] [xbp+50h] BYREF v2 = FMODAudioEngine::sharedEngine(); ((void (__fastcall *)(__int64 *__return_ptr, CustomSongDelegate *))a1->m_delegate->getSongFileName)( &v6, a1->m_delegate); FMODAudioEngine::loadAndPlayMusic(v2, (__int64)&v6, (unsigned int)(float)(a1->m_elapsed * 1000.0), 0); v3 = (void *)(v6 - 24); if ( (__int64 *)(v6 - 24) != &qword_124B6B0 ) { if ( &pthread_create ) { v4 = (unsigned int *)(v6 - 8); do v5 = __ldaxr(v4); while ( __stlxr(v5 - 1, v4) ); } else { v5 = *(_DWORD *)(v6 - 8); *(_DWORD *)(v6 - 8) = v5 - 1; } if ( v5 <= 0 ) operator delete(v3); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source