// // SetupSongTriggerPopup::onClose from 0x14045dd30 to 0x14045de8c (348 bytes) // // 2 xrefs: // > @ 0x1405f6ca0 // > @ 0x1406dacd0 // // 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 // // Hidden C++ exception states: #wind=4 void SetupSongTriggerPopup::onClose(SetupSongTriggerPopup *a1, cocos2d::CCObject *a2) { FMODAudioEngine *v4; // rcx __int64 v5; // rbx __int64 v6; // rax SongSelectNode *m_selectNode; // rax FMODAudioEngine *v8; // [rsp+30h] [rbp+8h] FMODAudioEngine *v9; // [rsp+30h] [rbp+8h] void *v10; // [rsp+30h] [rbp+8h] v4 = (FMODAudioEngine *)qword_1406C2E88; if ( !qword_1406C2E88 ) { v8 = (FMODAudioEngine *)operator new(0x888u); qword_1406C2E88 = (__int64)FMODAudioEngine::FMODAudioEngine(v8); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2E88 + 72LL))(qword_1406C2E88); v4 = (FMODAudioEngine *)qword_1406C2E88; } if ( FMODAudioEngine::isMusicPlaying_1(v4, 0) ) { v5 = qword_1406C2E88; if ( !qword_1406C2E88 ) { v9 = (FMODAudioEngine *)operator new(0x888u); qword_1406C2E88 = (__int64)FMODAudioEngine::FMODAudioEngine(v9); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2E88 + 72LL))(qword_1406C2E88); v5 = qword_1406C2E88; } if ( *(_QWORD *)(v5 + 552) ) FMOD::ChannelControl::stop(*(FMOD::ChannelControl **)(v5 + 552)); sub_14005E0D0((_QWORD *)(v5 + 1064)); sub_14005E0D0((_QWORD *)(v5 + 1128)); sub_14005E0D0((_QWORD *)(v5 + 1192)); } v6 = qword_1406C2ED8; if ( !qword_1406C2ED8 ) { v10 = operator new(0x668u); qword_1406C2ED8 = sub_14017AB00((__int64)v10); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8); v6 = qword_1406C2ED8; } *(_BYTE *)(*(_QWORD *)(v6 + 528) + 14401LL) = 1; m_selectNode = a1->m_selectNode; if ( m_selectNode->m_songChanged ) SetupTriggerPopup::updateValue(a1, 392, (float)m_selectNode->m_selectedSongID); SetupTriggerPopup::onClose(a1, a2); }
GD Web Decomp Icon

GD Web Decomp

Raw Source