// // sub_8C98D4 from 0x8c98d4 to 0x8c9a1c (328 bytes) // // 3 xrefs: // > sub_8C9A1C @ 0x8c9a40 // > sub_8C9BBC @ 0x8c9ce8 // > sub_8C9DD0 @ 0x8c9fd4 // // 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:56:35 +0000 // __int64 __fastcall sub_8C98D4(int *a1, int *a2, int *a3, int *a4) { __int64 result; // x0 int v8; // w1 int v9; // w2 _BOOL4 v10; // w1 int v11; // w1 int v12; // w1 int v13; // w2 int v14; // w1 _BOOL4 v15; // w1 int v16; // w1 int v17; // w1 int v18; // w2 int v19; // w1 _BOOL4 v20; // w1 int v21; // w1 int v22; // w1 result = sub_8C9728(a1, a2, a3); v8 = a3[1]; v9 = a4[1]; if ( v9 == v8 ) v10 = *a4 < *a3; else v10 = v9 > v8; if ( v10 ) { v11 = *a3; *a3 = *a4; *a4 = v11; v12 = a3[1]; a3[1] = a4[1]; a4[1] = v12; v13 = a3[1]; v14 = a2[1]; if ( v13 == v14 ) v15 = *a3 < *a2; else v15 = v13 > v14; if ( v15 ) { v16 = *a2; *a2 = *a3; *a3 = v16; v17 = a2[1]; a2[1] = a3[1]; a3[1] = v17; v18 = a2[1]; v19 = a1[1]; if ( v18 == v19 ) v20 = *a2 < *a1; else v20 = v18 > v19; if ( v20 ) { result = (unsigned int)(result + 3); v21 = *a1; *a1 = *a2; *a2 = v21; v22 = a1[1]; a1[1] = a2[1]; a2[1] = v22; } else { return (unsigned int)(result + 2); } } else { return (unsigned int)(result + 1); } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source