// // SetupSongTriggerPopup::onPlayback from 0x1405f3390 to 0x1405f37a5 (1045 bytes) // // 2 xrefs: // > @ 0x140806360 // > @ 0x14092f378 // // 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:35:06 +0000 // // Hidden C++ exception states: #wind=11 unsigned int __fastcall SetupSongTriggerPopup::onPlayback(__int64 a1, __int64 a2) { _QWORD *v4; // rcx _QWORD *v5; // rbx __int64 v6; // rcx __int64 v7; // rax __int64 v8; // rbx int v9; // esi int v10; // r15d int v11; // r12d int v12; // r13d char v13; // di double v14; // xmm0_8 int v15; // xmm6_4 int v16; // r14d __int64 v17; // rcx _QWORD *v18; // rbx float v19; // xmm0_4 __int64 v20; // r8 __int64 v21; // rcx __int64 v22; // rcx __int64 v23; // rcx float v25; // [rsp+40h] [rbp-88h] _QWORD v26[4]; // [rsp+50h] [rbp-78h] BYREF void *v27; // [rsp+E0h] [rbp+18h] void *v28; // [rsp+E0h] [rbp+18h] void *v29; // [rsp+E0h] [rbp+18h] void *v30; // [rsp+E0h] [rbp+18h] void *v31; // [rsp+E0h] [rbp+18h] void *v32; // [rsp+E0h] [rbp+18h] void *v33; // [rsp+E0h] [rbp+18h] void *v34; // [rsp+E8h] [rbp+20h] void *v35; // [rsp+E8h] [rbp+20h] v4 = (_QWORD *)qword_14090BF60; if ( !qword_14090BF60 ) { v27 = operator new(0x8A8u); qword_14090BF60 = FMODAudioEngine::FMODAudioEngine((__int64)v27); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BF60 + 72LL))(qword_14090BF60); v4 = (_QWORD *)qword_14090BF60; } if ( FMODAudioEngine::isMusicPlaying_1(v4, 0) ) { v5 = (_QWORD *)qword_14090BF60; if ( !qword_14090BF60 ) { v28 = operator new(0x8A8u); qword_14090BF60 = FMODAudioEngine::FMODAudioEngine((__int64)v28); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BF60 + 72LL))(qword_14090BF60); v5 = (_QWORD *)qword_14090BF60; } v6 = v5[69]; if ( v6 ) FMOD::ChannelControl::stop(v6); sub_14003EB60(v5 + 137); sub_14003EB60(v5 + 145); sub_14003EB60(v5 + 153); } else { v7 = qword_14090BFD0; if ( !qword_14090BFD0 ) { v29 = operator new(0x6E8u); qword_14090BFD0 = GameManager::GameManager((__int64)v29); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0); v7 = qword_14090BFD0; } if ( *(_QWORD *)(v7 + 568) ) { v8 = a1 - 1016; v9 = (int)(*(float (__fastcall **)(__int64, __int64))(*(_QWORD *)v8 + 1168LL))(v8, 408); v10 = (int)(*(float (__fastcall **)(__int64, __int64))(*(_QWORD *)v8 + 1168LL))(v8, 410); v11 = (int)(*(float (__fastcall **)(__int64, __int64))(*(_QWORD *)v8 + 1168LL))(v8, 409); v12 = (int)(*(float (__fastcall **)(__int64, __int64))(*(_QWORD *)v8 + 1168LL))(v8, 411); v13 = (*(float (__fastcall **)(__int64, __int64))(*(_QWORD *)v8 + 1168LL))(v8, 413) != 0.0; v14 = (*(double (__fastcall **)(__int64, __int64))(*(_QWORD *)v8 + 1168LL))(v8, 406); v15 = LODWORD(v14); v16 = (int)(*(float (__fastcall **)(__int64, __int64))(*(_QWORD *)v8 + 1168LL))(v8, 404); if ( !qword_14090BF60 ) { v30 = operator new(0x8A8u); qword_14090BF60 = FMODAudioEngine::FMODAudioEngine((__int64)v30); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BF60 + 72LL))(qword_14090BF60); } v17 = qword_14090C070; if ( !qword_14090C070 ) { v34 = operator new(0x3D0u); qword_14090C070 = MusicDownloadManager::MusicDownloadManager((__int64)v34); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090C070 + 72LL))(qword_14090C070); v17 = qword_14090C070; } v18 = MusicDownloadManager::pathForSong(v17, v26, *(_DWORD *)(a2 + 320)); if ( !qword_14090BF60 ) { v35 = operator new(0x8A8u); qword_14090BF60 = FMODAudioEngine::FMODAudioEngine((__int64)v35); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BF60 + 72LL))(qword_14090BF60); } v19 = FMODAudioEngine::pitchForIdx(v16); FMODAudioEngine::loadMusic(v20, (__int64)v18, v19, 0.0, v15, v13, 0, 0, 0); v21 = qword_14090BF60; if ( !qword_14090BF60 ) { v31 = operator new(0x8A8u); qword_14090BF60 = FMODAudioEngine::FMODAudioEngine((__int64)v31); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BF60 + 72LL))(qword_14090BF60); v21 = qword_14090BF60; } FMODAudioEngine::setMusicTimeMS(v21, v9, 0, 0); v22 = qword_14090BF60; if ( !qword_14090BF60 ) { v32 = operator new(0x8A8u); qword_14090BF60 = FMODAudioEngine::FMODAudioEngine((__int64)v32); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BF60 + 72LL))(qword_14090BF60); v22 = qword_14090BF60; } FMODAudioEngine::startMusic(v22, v9, v10, v11, v12, v13, 0, 0, v25); } } v23 = qword_14090C070; if ( !qword_14090C070 ) { v33 = operator new(0x3D0u); qword_14090C070 = MusicDownloadManager::MusicDownloadManager((__int64)v33); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090C070 + 72LL))(qword_14090C070); v23 = qword_14090C070; } return MusicDownloadManager::songStateChanged(v23); }
GD Web Decomp Icon

GD Web Decomp

Raw Source