// // sub_1001D6ABC from 0x1001d6abc to 0x1001d6b64 (168 bytes) // // 3 xrefs: // > MusicDownloadManager::createCustomSFXFolder @ 0x1001d699c // > MusicDownloadManager::createCustomSFXPlacement @ 0x1001d6bcc // > sub_1001D97E0 @ 0x1001d981c // // 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 // std::string *__usercall sub_1001D6ABC@(std::string *__return_ptr a1@, std::string *__str@) { std::string::size_type size; // x8 std::string *v5; // x9 std::string::size_type v6; // x2 char *v7; // x9 int v8; // w10 std::allocator __a; // [xsp+Fh] [xbp-1h] BYREF size = HIBYTE(__str->__r_.__value_.__r.__words[2]); if ( (size & 0x80u) == 0LL ) v5 = __str; else v5 = (std::string *)__str->__r_.__value_.__r.__words[0]; if ( (size & 0x80u) != 0LL ) size = __str->__r_.__value_.__l.__size_; if ( !size ) return (std::string *)sub_100009900(a1, ""); v6 = 0; while ( v5->__r_.__value_.__s.__data_[v6] == 32 ) { if ( size == ++v6 ) return (std::string *)sub_100009900(a1, ""); } if ( v6 == -1 ) return (std::string *)sub_100009900(a1, ""); v7 = (char *)&v5[-1].__r_.__value_.__r.__words[2] + 7; while ( size ) { v8 = (unsigned __int8)v7[size--]; if ( v8 != 32 ) return std::string::basic_string(a1, __str, v6, size - v6 + 1, &__a); } size = -1; return std::string::basic_string(a1, __str, v6, size - v6 + 1, &__a); }
GD Web Decomp Icon

GD Web Decomp

Raw Source