// // sub_DC40F4 from 0xdc40f4 to 0xdc41fc (264 bytes) // // 2 xrefs: // > sub_DCBC04 @ 0xdcbf78 // > sub_DCBC04 @ 0xdccba0 // // 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_DC40F4(unsigned __int8 *a1) { int v2; // w1 unsigned __int8 *v3; // x0 unsigned __int8 *v5; // x0 void *v6; // [xsp+38h] [xbp+38h] BYREF __int64 v7; // [xsp+40h] [xbp+40h] v6 = nullptr; v7 = 0; while ( 1 ) { v2 = *a1; if ( (byte_11AECC0[*a1] & 1) == 0 ) goto LABEL_6; if ( v2 == 60 ) break; if ( v2 == 38 ) { a1 = sub_DC38F4(a1, (const void **)&v6); } else { if ( !*a1 ) { if ( v6 ) { memmove((char *)v6 - v7, v6, a1 - (_BYTE *)v6); v5 = &a1[-v7]; } else { v5 = a1; } *v5 = 0; return a1; } LABEL_6: ++a1; } } if ( v6 ) { memmove((char *)v6 - v7, v6, a1 - (_BYTE *)v6); v3 = &a1[-v7]; } else { v3 = a1; } *v3 = 0; return a1 + 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source