// // sub_100657830 from 0x100657830 to 0x100657922 (242 bytes) // // 2 xrefs: // > MusicDownloadManager::encodeDataTo @ 0x100657696 // > MusicDownloadManager::encodeDataTo @ 0x1006576cc // // 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:34:52 +0000 // __int64 __fastcall sub_100657830(std::string *this, _QWORD *a2) { _QWORD *v2; // r13 unsigned int v3; // eax _QWORD *v4; // rcx _QWORD *v5; // rax bool v6; // zf std::string::value_type __s[32]; // [rsp+0h] [rbp-50h] BYREF *(_OWORD *)&this->__r_.__value_.__l.0 = 0; this->__r_.__value_.__r.__words[2] = 0; v2 = (_QWORD *)*a2; if ( (_QWORD *)*a2 != a2 + 1 ) { while ( 1 ) { sprintf(__s, "%i:%i", *((_DWORD *)v2 + 7), *((_DWORD *)v2 + 8)); v3 = (unsigned int)this->__r_.__value_.__l.0; if ( (v3 & 1) == 0 ) break; if ( this->__r_.__value_.__l.__size_ ) goto LABEL_8; LABEL_9: std::string::append(this, __s); v4 = (_QWORD *)v2[1]; if ( v4 ) { do { v5 = v4; v4 = (_QWORD *)*v4; } while ( v4 ); } else { do { v5 = (_QWORD *)v2[2]; v6 = *v5 == (_QWORD)v2; v2 = v5; } while ( !v6 ); } v2 = v5; if ( v5 == a2 + 1 ) return __stack_chk_guard; } if ( !(v3 >> 1) ) goto LABEL_9; LABEL_8: std::string::append(this, ","); goto LABEL_9; } return __stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source