// // sub_100433280 from 0x100433280 to 0x1004333df (351 bytes) // // 2 xrefs: // > sub_10042FA00 @ 0x10042fb77 // > SFXBrowser::FLAlert_Clicked @ 0x100434012 // // 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 12:30:23 +0000 // __int64 __fastcall sub_100433280(__int64 a1) { __int64 v1; // rbx __int64 v2; // r14 _QWORD *v3; // r12 _QWORD *v4; // r15 __int64 v5; // rax __int64 v6; // rdi __int64 v7; // rax __int64 v8; // r14 __int64 v9; // rdi __int64 v10; // rdi __int64 CustomSFXRoot; // rax __int64 v12; // r14 __int64 v13; // rax _QWORD *v15; // rcx _QWORD *v16; // rax bool v17; // zf v1 = a1; v2 = a1 + 1000; v3 = *(_QWORD **)(a1 + 1000); v4 = (_QWORD *)(a1 + 1008); if ( v3 != (_QWORD *)(a1 + 1008) ) { do { a1 = MusicDownloadManager::sharedState(a1); sub_1006546E0(a1, *((unsigned int *)v3 + 7)); v15 = (_QWORD *)v3[1]; if ( v15 ) { do { v16 = v15; v15 = (_QWORD *)*v15; } while ( v15 ); } else { do { v16 = (_QWORD *)v3[2]; v17 = *v16 == (_QWORD)v3; v3 = v16; } while ( !v17 ); } v3 = v16; } while ( v16 != v4 ); } sub_10001ADF0(v2, *(_QWORD **)(v1 + 1008)); *(_QWORD *)(v1 + 1000) = v4; *(_OWORD *)(v1 + 1008) = 0; if ( *(int *)(v1 + 1024) > 0 ) { v5 = MusicDownloadManager::sharedState(v2); if ( !sub_100651C80(v5, *(unsigned int *)(v1 + 1024)) ) *(_DWORD *)(v1 + 1024) = 0; } v6 = *(_QWORD *)(v1 + 712); if ( v6 ) { v7 = sub_1006696B0(v6); if ( v7 ) { v8 = v7; if ( *(_DWORD *)(*(_QWORD *)(v1 + 712) + 140LL) == 4 ) { v9 = MusicDownloadManager::sharedState(v6); if ( sub_100651C80(v9, *(unsigned int *)(v8 + 76)) != v8 ) { v10 = MusicDownloadManager::sharedState(v9); CustomSFXRoot = sub_100651CB0(v10, *(unsigned int *)(v8 + 60)); v12 = *(_QWORD *)(v1 + 712); if ( !CustomSFXRoot ) { v13 = MusicDownloadManager::sharedState(v10); CustomSFXRoot = MusicDownloadManager::getCustomSFXRoot(v13); } SFXSearchResult::setActiveFolder(v12, CustomSFXRoot); *(_DWORD *)(*(_QWORD *)(v1 + 712) + 96LL) = 0; } } } } return sub_100495650(v1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source