// // sub_979094 from 0x979094 to 0x9790e6 (82 bytes) // // 0 xrefs: // // 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 12:06:00 +0000 // int __fastcall sub_979094(unsigned __int8 *a1, unsigned __int8 *a2) { unsigned int v2; // r3 int v3; // r2 size_t v4; // r4 unsigned int v5; // r3 size_t v6; // r5 int v7; // r12 const void *v8; // r0 size_t v9; // r2 const void *v10; // r3 int result; // r0 v2 = *a1; v3 = v2 & 1; if ( (v2 & 1) != 0 ) v4 = *((_DWORD *)a1 + 1); else v4 = v2 >> 1; v5 = *a2; v6 = *((_DWORD *)a2 + 1); v7 = v5 & 1; if ( (v5 & 1) == 0 ) v6 = v5 >> 1; if ( v3 ) v8 = *((const void **)a1 + 2); else v8 = a1 + 1; v9 = v4; if ( v6 < v4 ) v9 = v6; if ( !v9 ) goto LABEL_15; v10 = *((const void **)a2 + 2); if ( !v7 ) v10 = a2 + 1; result = memcmp(v8, v10, v9); if ( !result ) { LABEL_15: result = v6 < v4; if ( v4 < v6 ) return -1; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source