// // SetupSongTriggerPopup::updateSongTimeSlider from 0x1405f31b0 to 0x1405f338d (477 bytes) // // 2 xrefs: // > SetupSongTriggerPopup::init @ 0x1405f304b // > @ 0x14092f36c // // 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 11:35:06 +0000 // // Hidden C++ exception states: #wind=5 __int64 __fastcall SetupSongTriggerPopup::updateSongTimeSlider(__int64 a1) { __int64 result; // rax __int64 v3; // rcx _QWORD *v4; // rsi __int64 v5; // rbx __int64 v6; // rax _QWORD *v7; // rcx float v8; // xmm6_4 struct cocos2d::CCObject *v9; // rax cocos2d::CCDictionary *v10; // rbx struct cocos2d::CCObject *v11; // rax _QWORD v12[4]; // [rsp+50h] [rbp-68h] BYREF _BYTE v13[32]; // [rsp+70h] [rbp-48h] BYREF void *v14; // [rsp+C0h] [rbp+8h] void *v15; // [rsp+C8h] [rbp+10h] void *v16; // [rsp+D0h] [rbp+18h] result = *(_QWORD *)(a1 + 1024); if ( *(int *)(result + 344) > 0 ) { v3 = qword_14090C070; if ( !qword_14090C070 ) { v15 = operator new(0x3D0u); qword_14090C070 = MusicDownloadManager::MusicDownloadManager((__int64)v15); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090C070 + 72LL))(qword_14090C070); v3 = qword_14090C070; } v4 = MusicDownloadManager::pathForSong(v3, v12, *(_DWORD *)(*(_QWORD *)(a1 + 1024) + 344LL)); v5 = qword_14090BF60; if ( !qword_14090BF60 ) { v16 = operator new(0x8A8u); qword_14090BF60 = FMODAudioEngine::FMODAudioEngine((__int64)v16); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BF60 + 72LL))(qword_14090BF60); v5 = qword_14090BF60; } v6 = sub_14003F4F0((__int64)v13, (__int64)v4); FMODAudioEngine::loadMusic(v5, v6, 1.0, 0.0, 1065353216, 0, 0, 0, 0); sub_14003D310((__int64)v4); v7 = (_QWORD *)qword_14090BF60; if ( !qword_14090BF60 ) { v14 = operator new(0x8A8u); qword_14090BF60 = FMODAudioEngine::FMODAudioEngine((__int64)v14); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BF60 + 72LL))(qword_14090BF60); v7 = (_QWORD *)qword_14090BF60; } result = FMODAudioEngine::getMusicLengthMS(v7); if ( (_DWORD)result ) { v8 = (float)(int)result; v9 = cocos2d::CCFloat::create((float)(int)result); cocos2d::CCDictionary::setObject(*(cocos2d::CCDictionary **)(a1 + 848), v9, 408); v10 = *(cocos2d::CCDictionary **)(a1 + 848); v11 = cocos2d::CCFloat::create(v8); cocos2d::CCDictionary::setObject(v10, v11, 410); SetupTriggerPopup::updateSlider(a1, 408); return SetupTriggerPopup::updateSlider(a1, 410); } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source