// // sub_56B10E from 0x56b10e to 0x56b18a (124 bytes) // // 2 xrefs: // > SongInfoObject::addSongLink @ 0x5732de // > SongInfoObject::addArtistLink @ 0x5733a2 // // 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:32 +0000 // int __fastcall sub_56B10E(_DWORD *a1, unsigned __int8 *a2) { int v3; // r7 int v4; // r4 int v5; // r5 int v6; // r2 char *v7; // r0 int v8; // r3 int v9; // lr size_t v10; // r2 int v11; // r1 int v12; // r3 unsigned __int8 *v13; // r1 char *v14; // r0 unsigned __int8 *v15; // r2 int v16; // t1 v3 = 0; v4 = *a1 + 21; v5 = (a1[1] - *a1) >> 5; while ( 1 ) { if ( v3 == v5 ) return 0; v6 = *(unsigned __int8 *)(v4 - 1); v7 = (char *)v4; v8 = *a2; v9 = v6 & 1; if ( (v6 & 1) != 0 ) v10 = *(_DWORD *)(v4 + 3); else v10 = v6 >> 1; v11 = v8 & 1; if ( (v8 & 1) != 0 ) v12 = *((_DWORD *)a2 + 1); else v12 = v8 >> 1; if ( v10 != v12 ) goto LABEL_23; if ( v9 ) v7 = *(char **)(v4 + 7); v13 = v11 ? *((unsigned __int8 **)a2 + 2) : a2 + 1; if ( !v9 ) break; if ( !std::char_traits::compare(v7, v13, v10) ) return 1; LABEL_23: ++v3; v4 += 32; } v14 = v7 - 1; v15 = &v13[v10]; while ( v13 != v15 ) { v16 = (unsigned __int8)*++v14; if ( v16 != *v13 ) goto LABEL_23; ++v13; } return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source