// // SetupSFXPopup::valueDidChange from 0x1004ba5f0 to 0x1004ba701 (273 bytes) // // 1 xrefs: // > @ 0x10094c2d0 // // 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 __fastcall SetupSFXPopup::valueDidChange(SetupSFXPopup *a1, int a2, float a3) { cocos2d::CCArray *Objects; // rax cocos2d::CCArray *v4; // r15 unsigned int v5; // r12d __int64 v6; // rax CustomSFXWidget *m_sfxWidget; // r14 float v8; // xmm0_4 float v9; // xmm0_4 SetupAudioTriggerPopup::valueDidChange(a1, a2, a3); Objects = SetupTriggerPopup::getObjects(a1); if ( Objects ) { v4 = Objects; if ( (unsigned int)sub_100720070(Objects) ) { if ( (unsigned int)sub_100720070(v4) ) { v5 = 0; do { v6 = sub_1007200C0(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_100720070(v4) ); } } } if ( a2 == 404 ) { m_sfxWidget = a1->m_sfxWidget; if ( m_sfxWidget ) { FMODAudioEngine::sharedEngine(); v8 = ((float (__fastcall *)(SetupSFXPopup *, __int64))a1->getValue)(a1, 404); v9 = FMODAudioEngine::pitchForIdx((int)v8); CustomSFXWidget::updateLengthMod(m_sfxWidget, v9); } } else if ( a2 == 392 ) { a1->m_sfxID = (int)a3; SetupSFXPopup::createSFXWidget(a1); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source