// // sub_1001D611C from 0x1001d611c to 0x1001d6214 (248 bytes) // // 6 xrefs: // > MusicDownloadManager::dataLoaded @ 0x1001da430 // > MusicDownloadManager::dataLoaded @ 0x1001da490 // > MusicDownloadManager::dataLoaded @ 0x1001da4f0 // > MusicDownloadManager::dataLoaded @ 0x1001da6e0 // > sub_100469C10 @ 0x100469d00 // > sub_10046A714 @ 0x10046a764 // // 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:25 +0000 // void __fastcall sub_1001D611C(std::string *this, __int64 a2) { std::string::size_type size; // x8 std::string::size_type v5; // x22 std::string::size_type v6; // x21 int v7; // w22 void *v8; // x23 std::string::size_type v9; // x8 std::string v10; // [xsp+0h] [xbp-50h] BYREF std::allocator __a; // [xsp+1Fh] [xbp-31h] 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(&v10, this, v5, v6 - v5, &__a); if ( SHIBYTE(v10.__r_.__value_.__r.__words[2]) < 0 ) { v8 = (void *)v10.__r_.__value_.__r.__words[0]; v7 = atoi(v10.__r_.__value_.__l.__data_); operator delete(v8); } else { v7 = atoi((const char *)&v10); } LODWORD(v10.__r_.__value_.__l.__data_) = v7; if ( v7 ) sub_10000D038(a2, (int *)&v10); v5 = v6 + 1; v9 = HIBYTE(this->__r_.__value_.__r.__words[2]); if ( (v9 & 0x80u) != 0LL ) v9 = this->__r_.__value_.__l.__size_; } while ( v5 < v9 ); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source