// // sub_56EF80 from 0x56ef80 to 0x56f094 (276 bytes) // // 18 xrefs: // > MusicDownloadManager::linkTypeForURL @ 0x570f16 // > MusicDownloadManager::linkTypeForURL @ 0x570f3c // > MusicDownloadManager::linkTypeForURL @ 0x570f70 // > MusicDownloadManager::linkTypeForURL @ 0x570f9a // > MusicDownloadManager::linkTypeForURL @ 0x570fc4 // > MusicDownloadManager::linkTypeForURL @ 0x570fea // > MusicDownloadManager::linkTypeForURL @ 0x571024 // > MusicDownloadManager::linkTypeForURL @ 0x57104e // > MusicDownloadManager::linkTypeForURL @ 0x571074 // > MusicDownloadManager::linkTypeForURL @ 0x5710aa // > MusicDownloadManager::linkTypeForURL @ 0x5710de // > MusicDownloadManager::linkTypeForURL @ 0x571104 // > MusicDownloadManager::linkTypeForURL @ 0x571138 // > MusicDownloadManager::linkTypeForURL @ 0x57116a // > MusicDownloadManager::linkTypeForURL @ 0x57119c // > MusicDownloadManager::linkTypeForURL @ 0x5711c2 // > MusicDownloadManager::linkTypeForURL @ 0x5711fa // > MusicDownloadManager::linkTypeForURL @ 0x57122a // // 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:36 +0000 // int __fastcall sub_56EF80(unsigned __int8 *a1, unsigned __int8 *a2) { int v3; // r4 int v5; // r6 size_t v6; // r2 int v7; // r3 char *v8; // r0 unsigned __int8 *v9; // r1 char *v10; // r0 unsigned __int8 *v11; // r2 int v12; // t1 unsigned int v13; // r2 unsigned int v14; // r3 int v15; // r5 int v16; // r4 unsigned int v17; // r4 int v18; // r3 unsigned int v19; // r5 char *v20; // r3 size_t v21; // r2 _BOOL4 v22; // r4 int v24[3]; // [sp+8h] [bp-10h] BYREF v3 = *a1; v5 = *a2; if ( (v3 & 1) != 0 ) v6 = *((_DWORD *)a1 + 1); else v6 = v3 >> 1; if ( (v5 & 1) != 0 ) v7 = *((_DWORD *)a2 + 1); else v7 = v5 >> 1; if ( v6 == v7 ) { if ( (v3 & 1) != 0 ) v8 = *((char **)a1 + 2); else v8 = (char *)(a1 + 1); if ( (v5 & 1) != 0 ) v9 = *((unsigned __int8 **)a2 + 2); else v9 = a2 + 1; if ( (v3 & 1) == 0 ) { v10 = v8 - 1; v11 = &v9[v6]; while ( v9 != v11 ) { v12 = (unsigned __int8)*++v10; if ( v12 != *v9 ) goto LABEL_24; ++v9; } return 1; } if ( !std::char_traits::compare(v8, v9, v6) ) return 1; } else if ( (v3 & 1) == 0 ) { LABEL_24: v13 = v3 >> 1; goto LABEL_25; } v13 = *((_DWORD *)a1 + 1); LABEL_25: if ( (v5 & 1) != 0 ) v14 = *((_DWORD *)a2 + 1); else v14 = v5 >> 1; if ( v13 <= v14 ) return 0; if ( (v3 & 1) != 0 ) v15 = *((_DWORD *)a1 + 1); else v15 = v3 >> 1; if ( (v5 & 1) != 0 ) v16 = *((_DWORD *)a2 + 1); else v16 = v5 >> 1; v17 = v15 - 1 - v16; if ( (v5 & 1) != 0 ) v18 = *((_DWORD *)a2 + 1); else v18 = v5 >> 1; v19 = v18 + 1; std::operator+(v24, ".", a2); if ( (v24[0] & 1) != 0 ) { v20 = (char *)v24[2]; v21 = v24[1]; } else { v21 = (int)LOBYTE(v24[0]) >> 1; v20 = (char *)v24 + 1; } v22 = std::string::compare(a1, v17, v19, v20, v21) == 0; std::string::~string((int)v24); return v22; }
GD Web Decomp Icon

GD Web Decomp

Raw Source