@@ -6119,7 +6119,7 @@ class FMODAudioEngine : cocos2d::CCNode {
61196119 int lengthForSound(gd::string path) = win 0x599d0;
61206120 TodoReturn loadAndPlayMusic(gd::string, unsigned int, int);
61216121 TodoReturn loadAudioState(FMODAudioState&);
6122- void loadMusic(gd::string path, float speed, float p2, float volume, bool shouldLoop, int p5 , int p6 , bool dontReset) = win 0x5a280, imac 0x3ced40, m1 0x356464, ios 0x13d3f4;
6122+ void loadMusic(gd::string path, float speed, float p2, float volume, bool shouldLoop, int musicID , int channelID , bool dontReset) = win 0x5a280, imac 0x3ced40, m1 0x356464, ios 0x13d3f4;
61236123 void loadMusic(gd::string path) {
61246124 this->loadMusic(path, 1.f, 0.f, 1.f, false, 0, 0, false);
61256125 }
@@ -6134,7 +6134,7 @@ class FMODAudioEngine : cocos2d::CCNode {
61346134 }
61356135 void pauseAllMusic(bool force) = ios 0x1402f0, win inline, imac 0x3d4930, m1 0x35ade0 {
61366136 for (auto& [id, channel] : m_musicChannels) {
6137- if (force || !channel.m_unkBool2 ) {
6137+ if (force || !channel.m_dontReset ) {
61386138 if (auto ch = this->channelForChannelID(channel.m_channelID))
61396139 ch->setPaused(true);
61406140 }
@@ -6157,8 +6157,8 @@ class FMODAudioEngine : cocos2d::CCNode {
61576157 FMOD::Sound* preloadMusic(gd::string path, bool p1, int p2) = win 0x5c790, imac 0x3d5220, m1 0x35b618, ios 0x1408d0;
61586158 TodoReturn printResult(FMOD_RESULT);
61596159 TodoReturn queuedEffectFinishedLoading(gd::string);
6160- int queuePlayEffect(gd::string, float, float, float, float, bool, bool, int, int, int, int, bool, int, bool, int, float, int) = win 0x57920;
6161- void queueStartMusic(gd::string audioFilename, float, float, float, bool, int ms , int, int, int, int, bool, int, bool, bool) = win 0x5aa70, imac 0x3d5af0, m1 0x35bdb8, ios 0x140e60;
6160+ int queuePlayEffect(gd::string audioFilename , float speed , float, float volume , float pitch , bool fastFourierTransform , bool reverb , int start , int end , int fadeIn , int fadeOut , bool loop , int effectID , bool override , int uniqueID , float minInterval , int group ) = win 0x57920;
6161+ void queueStartMusic(gd::string audioFilename, float pitch , float, float volume , bool loop , int start , int end , int fadeIn , int fadeOut , int musicID , bool, int channelID , bool noPrepare , bool dontReset ) = win 0x5aa70, imac 0x3d5af0, m1 0x35bdb8, ios 0x140e60;
61626162 TodoReturn registerChannel(FMOD::Channel*, int, int);
61636163 void releaseRemovedSounds();
61646164 void resumeAllAudio() = ios 0x13bb8c, win inline, imac 0x3cb2e0, m1 0x353b48 {
@@ -6197,7 +6197,7 @@ class FMODAudioEngine : cocos2d::CCNode {
61976197 void setup() = win 0x53bc0, m1 0x352b4c, imac 0x3ca220, ios 0x13b128;
61986198 void setupAudioEngine() = win 0x540a0, m1 0x352f40, imac 0x3ca670, ios 0x13b3b4;
61996199 void start() = win 0x55280;
6200- TodoReturn startMusic(int, int, int, int, bool, int, bool, bool);
6200+ void startMusic(int start , int end , int fadeIn , int fadeOut , bool loop , int musicID , bool noResume , bool) = win 0x5a5f0 ;
62016201 void stop();
62026202 void stopAllEffects() = ios 0x13bc58, win 0x598b0, m1 0x353c3c, imac 0x3cb410;
62036203 void stopAllMusic(bool) = ios 0x13bd04, win 0x59d70, imac 0x3cbbf0, m1 0x353f28;
@@ -6317,11 +6317,10 @@ class FMODLevelVisualizer : cocos2d::CCNode {
63176317
63186318class FMODMusic {
63196319 int m_channelID;
6320- PAD = win 0x8, android 0x8, mac 0x8, ios 0x8 ;
6320+ FMOD::Sound* m_sound ;
63216321 gd::string m_filePath;
6322- bool m_unkBool1;
6323- bool m_unkBool2;
6324- // there might be other things, hard to know the size
6322+ bool m_ogg;
6323+ bool m_dontReset;
63256324}
63266325
63276326[[link(android)]]
@@ -15012,6 +15011,8 @@ class LevelSettingsObject : cocos2d::CCNode {
1501215011 bool m_fadeIn;
1501315012 // property kA16
1501415013 bool m_fadeOut;
15014+ // property kA46
15015+ bool m_dontReset;
1501515016 // property kA6
1501615017 int m_backgroundIndex;
1501715018 // property kA7
0 commit comments