// // sub_DC3F8C from 0xdc3f8c to 0xdc40f4 (360 bytes) // // 2 xrefs: // > sub_DCBC04 @ 0xdcbf78 // > sub_DCBC04 @ 0xdccb70 // // 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 13:08:49 +0000 // unsigned __int8 *__fastcall sub_DC3F8C(unsigned __int8 *a1) { unsigned __int8 *v1; // x22 unsigned __int8 *v2; // x19 int v3; // w0 unsigned __int8 *v4; // x23 unsigned __int8 *v6; // x0 void *v7; // [xsp+48h] [xbp+48h] BYREF __int64 v8; // [xsp+50h] [xbp+50h] v1 = a1; v2 = a1; v7 = nullptr; v8 = 0; while ( 1 ) { v3 = *v2; if ( (byte_11AECC0[*v2] & 1) == 0 ) goto LABEL_6; if ( v3 == 60 ) break; if ( v3 == 38 ) { v2 = sub_DC38F4(v2, (const void **)&v7); } else { if ( !*v2 ) { if ( v7 ) { memmove((char *)v7 - v8, v7, v2 - (_BYTE *)v7); v6 = &v2[-v8]; } else { v6 = v2; } if ( v1 < v6 ) { while ( (byte_11AECC0[*(v6 - 1)] & 8) != 0 ) { if ( --v6 == v1 ) goto LABEL_24; } } v1 = v6; LABEL_24: *v1 = 0; return v2; } LABEL_6: ++v2; } } v4 = v2; if ( v7 ) { memmove((char *)v7 - v8, v7, v2 - (_BYTE *)v7); v2 -= v8; } if ( v1 < v2 ) { while ( (byte_11AECC0[*(v2 - 1)] & 8) != 0 ) { if ( --v2 == v1 ) goto LABEL_15; } } v1 = v2; LABEL_15: *v1 = 0; return v4 + 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source