// // SetupSongTriggerPopup::valueDidChange from 0x1002c0d10 to 0x1002c0e0d (253 bytes) // // 1 xrefs: // > @ 0x100b0f810 // // 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:28:05 +0000 // __int64 __fastcall SetupSongTriggerPopup::valueDidChange(_QWORD *a1, int a2, double a3) { __int64 result; // rax __int64 v4; // rax __int64 v5; // r14 float v6; // xmm0_4 double v7; // xmm0_8 result = SetupAudioTriggerPopup::valueDidChange(); if ( a2 == 404 ) { result = a1[130]; v5 = *(_QWORD *)(result + 416); if ( v5 ) { FMODAudioEngine::sharedEngine(a3); v6 = (*(float (__fastcall **)(_QWORD *, __int64))(*a1 + 1464LL))(a1, 404); v7 = FMODAudioEngine::pitchForIdx((unsigned int)(int)v6, 404); return CustomSongWidget::updateLengthMod(v5, v7); } } else if ( a2 == 400 ) { v4 = FMODAudioEngine::sharedEngine(a3); FMODAudioEngine::stopAllMusic(v4, 1); if ( *(float *)&a3 == 0.0 ) { SetupTriggerPopup::goToPage((__int64)a1, 0, 0); return (*(__int64 (__fastcall **)(_QWORD *, __int64, __int64))(*a1 + 1352LL))(a1, 2, 1); } else { SetupTriggerPopup::hideAll((__int64)a1); (*(void (__fastcall **)(_QWORD *, __int64, __int64))(*a1 + 1352LL))(a1, 2, 1); return SetupTriggerPopup::updateValue(a1, 0x18Fu, 0.0); } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source