// // sub_1006D6FF0 from 0x1006d6ff0 to 0x1006d71a8 (440 bytes) // // 6 xrefs: // > SongInfoLayer::create_1 @ 0x1006d68c9 // > SongInfoLayer::create_1 @ 0x1006d6921 // > SongInfoLayer::create_1 @ 0x1006d6979 // > SongInfoLayer::create_1 @ 0x1006d69d1 // > SongInfoLayer::create_2 @ 0x1006d788f // > SongInfoLayer::create_2 @ 0x1006d7943 // // 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:35:40 +0000 // void __fastcall sub_1006D6FF0(__int64 *a1, std::string *a2, std::string *a3) { unsigned int v3; // eax __int64 v4; // r15 __int64 v5; // rcx __int64 v6; // rbx size_t size; // r12 const void **v8; // r15 char *v9; // rdi unsigned int v10; // eax size_t v11; // r12 const void **v12; // r15 char *v13; // rdi unsigned int v14; // eax _QWORD v15[4]; // [rsp+0h] [rbp-70h] BYREF std::string v16; // [rsp+20h] [rbp-50h] BYREF std::string *__str; // [rsp+38h] [rbp-38h] __int64 *v18; // [rsp+40h] [rbp-30h] __str = a3; v18 = a1; v3 = (unsigned int)a2->__r_.__value_.__l.0; if ( (v3 & 1) != 0 ) { if ( !a2->__r_.__value_.__l.__size_ ) return; } else if ( !(v3 >> 1) ) { return; } v4 = *v18; v5 = v18[1] - *v18; if ( v5 ) { v6 = (0x6DB6DB6DB6DB6DB7LL * (v5 >> 3) == 0) + 0x6DB6DB6DB6DB6DB7LL * (v5 >> 3); if ( (v3 & 1) != 0 ) { size = a2->__r_.__value_.__l.__size_; v8 = (const void **)(v4 + 48); while ( 1 ) { v10 = *((unsigned __int8 *)v8 - 16); if ( (v10 & 1) != 0 ) { if ( *(v8 - 1) != (const void *)size ) goto LABEL_10; } else if ( v10 >> 1 != size ) { goto LABEL_10; } if ( (v10 & 1) != 0 ) v9 = (char *)*v8; else v9 = (char *)v8 - 15; if ( !memcmp(v9, a2->__r_.__value_.__l.__data_, size) ) return; LABEL_10: v8 += 7; if ( !--v6 ) goto LABEL_27; } } v11 = (unsigned __int8)v3 >> 1; v12 = (const void **)(v4 + 48); do { v14 = *((unsigned __int8 *)v12 - 16); if ( (v14 & 1) != 0 ) { if ( *(v12 - 1) != (const void *)v11 ) goto LABEL_20; } else if ( v14 >> 1 != v11 ) { goto LABEL_20; } if ( (v14 & 1) != 0 ) v13 = (char *)*v12; else v13 = (char *)v12 - 15; if ( !memcmp(v13, (char *)&a2->__r_.__value_.__l.0 + 1, v11) ) return; LABEL_20: v12 += 7; --v6; } while ( v6 ); } LABEL_27: memset(&v16, 0, sizeof(v16)); memset(v15, 0, sizeof(v15)); std::string::operator=(&v16, a2); std::string::operator=((std::string *)&v15[1], __str); HIDWORD(v15[0]) = MusicDownloadManager::linkTypeForURL(a2); sub_10065D550((__int64)v18, (__int64)v15); if ( (*(_BYTE *)&v16.__r_.__value_.__s.0 & 1) != 0 ) operator delete(v16.__r_.__value_.__l.__data_); if ( (v15[1] & 1) != 0 ) operator delete((void *)v15[3]); }
GD Web Decomp Icon

GD Web Decomp

Raw Source