// // sub_10036DC28 from 0x10036dc28 to 0x10036dca4 (124 bytes) // // 1 xrefs: // > sub_100364710 @ 0x1003647f8 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // int *__fastcall sub_10036DC28(int *a1, int *a2) { int *result; // x0 int *v4; // x8 int v5; // w9 int v6; // w10 int *v7; // x8 int *v8; // x9 int v9; // w10 int v10; // w11 result = a2; if ( a1 != a2 ) { v4 = a1 + 1; while ( v4 != a2 ) { v5 = *(v4 - 1); v6 = *v4++; if ( v5 == v6 ) { v7 = v4 - 2; goto LABEL_7; } } v7 = a2; LABEL_7: result = a2; if ( v7 != a2 ) { v8 = v7 + 2; if ( v7 + 2 != a2 ) { v9 = *v7; do { v10 = v9; v9 = *v8; if ( v10 != *v8 ) { v7[1] = v9; ++v7; } ++v8; } while ( v8 != a2 ); } return v7 + 1; } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source