// // SongInfoObject::addTags from 0x45accc to 0x45ade2 (278 bytes) // // 1 xrefs: // > MusicDownloadManager::parseMusicLibrary @ 0x45d25c // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // void **__fastcall SongInfoObject::addTags(void **result, _DWORD *a2) { void **v2; // r7 int v4; // r9 unsigned int i; // r8 int v6; // r0 int v7; // r9 void **v8; // r3 void **v9; // r11 int v10; // r2 void **v11; // r1 void **v12; // r6 int v13; // r0 _BOOL4 v14; // r11 int v15; // r0 const char **v16; // [sp+8h] [bp-14h] BYREF int v17; // [sp+Ch] [bp-10h] int v18; // [sp+10h] [bp-Ch] v2 = result; if ( *(_DWORD *)(*a2 - 12) ) { sub_776584((int)&v16, "."); v4 = sub_774DBC(a2, &v16); result = (void **)sub_774008(&v16); if ( v4 ) { v16 = nullptr; v17 = 0; v18 = 0; sub_45A6C8(a2, ".", (int)&v16); for ( i = 0; ; ++i ) { if ( i >= (v17 - (int)v16) >> 2 ) return std::vector::~vector((void **)&v16); v6 = atoi(v16[i]); v7 = v6; if ( v6 > 0 ) break; LABEL_21: ; } v8 = (void **)v2[94]; v9 = v2 + 93; v10 = 1; while ( v8 ) { v9 = v8; if ( v6 >= (int)v8[4] ) { v11 = (void **)v8[3]; v10 = 0; } else { v11 = (void **)v8[2]; v10 = 1; } v8 = v11; } if ( v10 ) { v12 = (void **)v2[95]; if ( v9 == v12 ) { LABEL_18: v14 = v12 == v2 + 93 || v7 < (int)v12[4]; v15 = operator new(0x14u); *(_DWORD *)(v15 + 16) = v7; sub_7620E8(v14, v15, v12, v2 + 93); v2[97] = (char *)v2[97] + 1; goto LABEL_21; } v13 = sub_762018(v9); } else { v13 = (int)v9; } if ( *(_DWORD *)(v13 + 16) >= v7 ) goto LABEL_21; v12 = v9; goto LABEL_18; } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source