// // sub_1001D1C34 from 0x1001d1c34 to 0x1001d1cbc (136 bytes) // // 1 xrefs: // > sub_1001E597C @ 0x1001e59c4 // // 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 11:00:23 +0000 // __int64 __fastcall sub_1001D1C34(__int64 *a1, __int64 *a2) { __int64 v2; // x11 __int64 v3; // x8 int v4; // w9 __int64 result; // x0 __int64 v6; // x8 const void *v7; // x9 const void *v8; // t1 char v9; // w10 size_t v10; // x19 const void *v11; // x0 size_t v12; // x20 const void *v13; // x1 size_t v14; // x2 unsigned int v15; // w8 v2 = *a1; v3 = *a2; v4 = *(unsigned __int8 *)(*a1 + 72); result = *(unsigned __int8 *)(*a2 + 72); if ( v4 == (_DWORD)result ) { v8 = *(const void **)(v3 + 104); v6 = v3 + 104; v7 = v8; v9 = *(_BYTE *)(v6 + 23); v10 = *(char *)(v2 + 127); if ( (v10 & 0x8000000000000000LL) != 0 ) { v11 = *(const void **)(v2 + 104); v10 = *(_QWORD *)(v2 + 112); } else { v11 = (const void *)(v2 + 104); } if ( v9 >= 0 ) v12 = *(unsigned __int8 *)(v6 + 23); else v12 = *(_QWORD *)(v6 + 8); if ( v9 >= 0 ) v13 = (const void *)v6; else v13 = v7; if ( v12 >= v10 ) v14 = v10; else v14 = v12; LODWORD(result) = memcmp(v11, v13, v14); if ( v10 < v12 ) v15 = -1; else v15 = v12 < v10; if ( (_DWORD)result ) return (unsigned int)result; else return v15; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source