// // sub_14005DA90 from 0x14005da90 to 0x14005db90 (256 bytes) // // 3 xrefs: // > FMODAudioEngine::swapMusicIndex @ 0x14005c17f // > FMODAudioEngine::stopAndRemoveMusic @ 0x14005cb84 // > @ 0x1406c5604 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // __int64 __fastcall sub_14005DA90(_QWORD *a1, unsigned __int8 *a2) { void **v4; // rcx void **v5; // rdx _DWORD *v6; // rbx _DWORD *v7; // rax void *v8; // rax __int64 v9; // rcx v4 = (void **)(a1 + 1); v5 = (void **)(a1[3] + 16 * ((0x100000001B3LL * (a2[3] ^ (0x100000001B3LL * (a2[2] ^ (0x100000001B3LL * (a2[1] ^ (0x100000001B3LL * (*a2 ^ 0xCBF29CE484222325uLL)))))))) & a1[6])); v6 = v5[1]; if ( v6 != *v4 ) { if ( *(_DWORD *)a2 == v6[4] ) goto LABEL_8; while ( v6 != *v5 ) { v6 = *((_DWORD **)v6 + 1); if ( *(_DWORD *)a2 == v6[4] ) { v4 = (void **)(a1 + 1); goto LABEL_8; } } v4 = (void **)(a1 + 1); } v6 = nullptr; LABEL_8: if ( !v6 ) return 0; v7 = *v5; if ( v5[1] == v6 ) { if ( v7 == v6 ) { v8 = *v4; *v5 = *v4; } else { v8 = *((void **)v6 + 1); } v5[1] = v8; } else if ( v7 == v6 ) { *v5 = *(void **)v6; } v9 = *(_QWORD *)v6; --a1[2]; **((_QWORD **)v6 + 1) = v9; *(_QWORD *)(v9 + 8) = *((_QWORD *)v6 + 1); sub_14003A830((__int64)(v6 + 10)); j_j_free(v6); return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source