// // SetupSFXPopup::valueDidChange from 0x1004b3740 to 0x1004b385a (282 bytes) // // 1 xrefs: // > @ 0x100b57260 // // 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:30:59 +0000 // void __fastcall SetupSFXPopup::valueDidChange(__int64 a1, int a2, __m128 a3) { __int64 Objects; // rax __int64 v4; // r15 unsigned int v5; // r12d __int64 v6; // rax __int64 v7; // r14 float v8; // xmm0_4 float v9; // xmm0_4 SetupAudioTriggerPopup::valueDidChange((_QWORD *)a1, a2, a3); Objects = SetupTriggerPopup::getObjects(a1); if ( Objects ) { v4 = Objects; if ( (unsigned int)sub_1007FEF90(Objects) ) { if ( (unsigned int)sub_1007FEF90(v4) ) { v5 = 0; do { v6 = sub_1007FEFE0(v4, v5); if ( (*(_BYTE *)(v6 + 1840) & 1) != 0 ) { **(_BYTE **)(v6 + 1856) = 0; *(_QWORD *)(v6 + 1848) = 0; } else { *(_WORD *)(v6 + 1840) = 0; } ++v5; } while ( v5 < (unsigned int)sub_1007FEF90(v4) ); } } } if ( a2 == 601 ) { LABEL_13: SetupSFXPopup::createSFXWidget(a1); return; } if ( a2 != 404 ) { if ( a2 != 392 ) return; *(_DWORD *)(a1 + 1040) = (int)a3.f32[0]; goto LABEL_13; } v7 = *(_QWORD *)(a1 + 1048); if ( v7 ) { FMODAudioEngine::sharedEngine(); v8 = (*(float (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 1464LL))(a1, 404); v9 = FMODAudioEngine::pitchForIdx((int)v8); CustomSFXWidget::updateLengthMod(v7, v9); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source