// // GJSongBrowser::FLAlert_Clicked from 0x1403be0a0 to 0x1403be238 (408 bytes) // // 2 xrefs: // > @ 0x140782cf0 // > @ 0x140923f48 // // 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:31:27 +0000 // // Hidden C++ exception states: #wind=3 __int64 __fastcall GJSongBrowser::FLAlert_Clicked(__int64 a1, __int64 a2, char a3) { __int64 result; // rax __int64 v6; // rcx cocos2d::CCArray *DownloadedSongs; // rdi unsigned int i; // ebx struct cocos2d::CCObject *v9; // rsi __int64 v10; // rcx const char *v11; // rcx __int64 v12; // rcx void *v13; // [rsp+20h] [rbp-48h] void *v14; // [rsp+20h] [rbp-48h] void *v15; // [rsp+20h] [rbp-48h] char *FileName[4]; // [rsp+28h] [rbp-40h] BYREF result = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 56LL))(a2); if ( (_DWORD)result == 1 && a3 ) { v6 = qword_14090C070; if ( !qword_14090C070 ) { v13 = operator new(0x3D0u); qword_14090C070 = MusicDownloadManager::MusicDownloadManager(v13); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090C070 + 72LL))(qword_14090C070); v6 = qword_14090C070; } DownloadedSongs = (cocos2d::CCArray *)MusicDownloadManager::getDownloadedSongs(v6); for ( i = 0; i < cocos2d::CCArray::count(DownloadedSongs); ++i ) { v9 = cocos2d::CCArray::objectAtIndex(DownloadedSongs, i); v10 = qword_14090C070; if ( !qword_14090C070 ) { v14 = operator new(0x3D0u); qword_14090C070 = MusicDownloadManager::MusicDownloadManager(v14); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090C070 + 72LL))(qword_14090C070); v10 = qword_14090C070; } MusicDownloadManager::pathForSong(v10, FileName, *((unsigned int *)v9 + 80)); v11 = (const char *)FileName; if ( FileName[3] > (char *)0xF ) v11 = FileName[0]; remove(v11); sub_14003D310((__int64)FileName); } v12 = qword_14090C070; if ( !qword_14090C070 ) { v15 = operator new(0x3D0u); qword_14090C070 = MusicDownloadManager::MusicDownloadManager(v15); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090C070 + 72LL))(qword_14090C070); v12 = qword_14090C070; } MusicDownloadManager::clearUnusedSongs(v12); return (*(__int64 (__fastcall **)(__int64, _QWORD))(*(_QWORD *)(a1 - 608) + 1072LL))(a1 - 608, 0); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source