// // MusicDownloadManager::noteSongUsed from 0x575018 to 0x5750ae (150 bytes) // // 1 xrefs: // > MusicBrowser::cellPerformedAction @ 0x6bd40a // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:52:41 +0000 // int **__fastcall MusicDownloadManager::noteSongUsed(int **this, int a2, int a3) { int **v3; // r4 int *v4; // r5 int *v5; // r3 int *v6; // r2 int v7; // r1 int v8; // t1 int *v9; // r2 int *v10; // r3 int *v11; // r2 int *v12; // r3 int v13[2]; // [sp+4h] [bp-8h] BYREF v13[1] = a3; v3 = this; v13[0] = a2; if ( a2 > 0 ) { v4 = *(this + 125); v5 = *(this + 124); while ( 1 ) { v6 = v5; if ( v5 == v4 ) break; ++v5; if ( *v6 == a2 ) { while ( v5 != v4 ) { v8 = *v5++; v7 = v8; if ( v8 != v13[0] ) *v6++ = v7; } v4 = v6; break; } } if ( v4 != *(this + 125) ) { while ( 1 ) { v10 = *(this + 125); if ( v4 == v10 ) break; *(this + 125) = v10 - 1; } } std::vector::insert(this + 124, (char *)*(this + 124), (char *)v13); v9 = v3[124]; if ( (char *)v3[125] - (char *)v9 > 83 ) { v11 = v9 + 20; while ( 1 ) { v12 = v3[125]; if ( v11 == v12 ) break; v3[125] = v12 - 1; } } this = (int **)std::map::operator[](v3 + 130, v13); *this = (int *)((char *)*this + 1); } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source