// // songNameCompareDesc from 0x95a548 to 0x95a5f0 (168 bytes) // // 3 xrefs: // > @ 0x72988 // > sub_959FEC @ 0x95a0d8 // > @ 0x1542e10 // // This function is hookable on this platform (idp: arm, 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:57:27 +0000 // __int64 __fastcall songNameCompareDesc(__int64 *a1, __int64 *a2) { __int64 v2; // x3 __int64 v3; // x4 __int64 result; // x0 int v5; // w0 int v6; // w6 size_t v7; // x20 unsigned __int8 v8; // w0 int v9; // w5 size_t v10; // x19 const void *v11; // x0 const void *v12; // x1 size_t v13; // x2 v2 = *a1; v3 = *a2; result = (unsigned int)(*(_DWORD *)(*a2 + 452) - *(_DWORD *)(*a1 + 452)); if ( !(_DWORD)result ) { v5 = *(unsigned __int8 *)(v3 + 696); v6 = v5 & 1; v7 = (unsigned __int8)v5 >> 1; if ( (*(_BYTE *)(v3 + 696) & 1) != 0 ) v7 = *(_QWORD *)(v3 + 704); v8 = *(_BYTE *)(v2 + 696); v9 = v8 & 1; v10 = v8 >> 1; if ( (v8 & 1) != 0 ) v10 = *(_QWORD *)(v2 + 704); v11 = (const void *)(v3 + 697); if ( v6 ) v11 = *(const void **)(v3 + 712); v12 = (const void *)(v2 + 697); if ( v9 ) v12 = *(const void **)(v2 + 712); if ( v10 > v7 ) v13 = v7; else v13 = v10; if ( !v13 || (result = memcmp(v11, v12, v13), !(_DWORD)result) ) { if ( v7 < v10 ) return 0xFFFFFFFFLL; else return v7 > v10; } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source