// // sub_1001DA8AC from 0x1001da8ac to 0x1001daa64 (440 bytes) // // 2 xrefs: // > MusicDownloadManager::dataLoaded @ 0x1001da718 // > MusicDownloadManager::dataLoaded @ 0x1001da750 // // This function is hookable on this platform (idp: arm, 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:00:27 +0000 // void __fastcall sub_1001DA8AC(std::string *this, __int64 a2) { std::string::size_type size; // x8 std::string::size_type v5; // x23 std::string::size_type v6; // x22 std::string::size_type v7; // x0 std::string::size_type v8; // x23 int v9; // w24 void *v10; // x25 int v11; // w23 void *v12; // x24 std::string::size_type v13; // x8 std::string v14; // [xsp+0h] [xbp-80h] BYREF int v15; // [xsp+1Ch] [xbp-64h] BYREF std::string __str; // [xsp+20h] [xbp-60h] BYREF std::allocator __a; // [xsp+3Fh] [xbp-41h] BYREF size = HIBYTE(this->__r_.__value_.__r.__words[2]); if ( (size & 0x80u) != 0LL ) size = this->__r_.__value_.__l.__size_; if ( size ) { v5 = 0; do { v6 = std::string::find(this, 44, v5); if ( v6 == -1 ) { v6 = SHIBYTE(this->__r_.__value_.__r.__words[2]); if ( (v6 & 0x8000000000000000LL) != 0 ) v6 = this->__r_.__value_.__l.__size_; } std::string::basic_string(&__str, this, v5, v6 - v5, (std::allocator *)&v14); v7 = std::string::find(&__str, 58, 0); if ( v7 != -1 ) { v8 = v7; std::string::basic_string(&v14, &__str, 0, v7, &__a); if ( SHIBYTE(v14.__r_.__value_.__r.__words[2]) < 0 ) { v10 = (void *)v14.__r_.__value_.__r.__words[0]; v9 = atoi(v14.__r_.__value_.__l.__data_); operator delete(v10); } else { v9 = atoi((const char *)&v14); } v15 = v9; std::string::basic_string(&v14, &__str, v8 + 1, 0xFFFFFFFFFFFFFFFFLL, &__a); if ( SHIBYTE(v14.__r_.__value_.__r.__words[2]) < 0 ) { v12 = (void *)v14.__r_.__value_.__r.__words[0]; v11 = atoi(v14.__r_.__value_.__l.__data_); operator delete(v12); } else { v11 = atoi((const char *)&v14); } if ( v15 && v11 >= 1 ) { v14.__r_.__value_.__r.__words[0] = (std::string::size_type)&v15; *(_DWORD *)(sub_1001E71D0(a2, &v15, &unk_100761731, &v14, &__a) + 32) = v11; } } if ( SHIBYTE(__str.__r_.__value_.__r.__words[2]) < 0 ) operator delete(__str.__r_.__value_.__l.__data_); v5 = v6 + 1; v13 = HIBYTE(this->__r_.__value_.__r.__words[2]); if ( (v13 & 0x80u) != 0LL ) v13 = this->__r_.__value_.__l.__size_; } while ( v5 < v13 ); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source