// // SetupSongTriggerPopup::updateSongTimeSlider from 0x6584bc to 0x65856c (176 bytes) // // 1 xrefs: // > SetupSongTriggerPopup::init @ 0x658d38 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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 11:55:31 +0000 // SetupTriggerPopup *__fastcall SetupSongTriggerPopup::updateSongTimeSlider(SetupTriggerPopup *this) { SetupTriggerPopup *v1; // r5 MusicDownloadManager *v2; // r7 MusicDownloadManager *v3; // r0 FMODAudioEngine *v4; // r0 FMODAudioEngine *v5; // r0 unsigned int v6; // s15 _BYTE v7[12]; // [sp+0h] [bp-14h] BYREF v1 = this; if ( *(int *)(*((_DWORD *)this + 181) + 276) > 0 ) { v2 = (MusicDownloadManager *)FMODAudioEngine::sharedEngine(this); v3 = (MusicDownloadManager *)MusicDownloadManager::sharedState(v2); MusicDownloadManager::pathForSong((MusicDownloadManager *)v7, v3, *(_DWORD *)(*((_DWORD *)v1 + 181) + 276)); FMODAudioEngine::loadMusic((int)v2, (int)v7); v4 = (FMODAudioEngine *)std::string::~string((int)v7); v5 = (FMODAudioEngine *)FMODAudioEngine::sharedEngine(v4); this = (SetupTriggerPopup *)FMODAudioEngine::getMusicLengthMS(v5, 0); if ( this ) { v6 = (unsigned int)this; SetupTriggerPopup::setMaxSliderValue(v1, COERCE_COCOS2D_CCFLOAT_((float)(unsigned int)this), 408); SetupTriggerPopup::setMaxSliderValue(v1, COERCE_COCOS2D_CCFLOAT_((float)v6), 410); SetupTriggerPopup::updateSlider(v1, 408); return (SetupTriggerPopup *)SetupTriggerPopup::updateSlider(v1, 410); } } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source