// // sub_DC0DF4 from 0xdc0df4 to 0xdc10cc (728 bytes) // // 2 xrefs: // > sub_DC0DF4 @ 0xdc0f60 // > sub_DCBC04 @ 0xdcd630 // // 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:48 +0000 // unsigned __int8 *__fastcall sub_DC0DF4(__int64 a1, __int64 a2, unsigned __int8 a3, unsigned __int8 a4) { unsigned __int8 *v4; // x1 unsigned int v6; // w21 unsigned int v7; // w19 int v8; // w0 unsigned __int8 *result; // x0 int v10; // w0 int v11; // w0 int v12; // w2 bool v13; // zf int v14; // t1 int v15; // w2 __int64 v16; // x0 int v17; // w0 unsigned __int8 *v18; // x2 int v19; // w0 int v20; // w0 unsigned __int8 *v21; // x0 v4 = (unsigned __int8 *)(a2 + 1); v6 = a3; v7 = a4; while ( 1 ) { LABEL_2: v8 = *v4; if ( !*v4 ) { LABEL_8: result = v4; if ( (v6 != 62) >= v7 ) { *(_QWORD *)(a1 + 16) = v4; result = nullptr; *(_DWORD *)(a1 + 24) = 9; } return result; } while ( v8 != 60 ) { if ( v8 == 34 || v8 == 39 ) { v12 = *++v4; if ( !v12 ) goto LABEL_29; v13 = v8 == v12; while ( !v13 ) { v14 = *++v4; v13 = v8 == v14; if ( !v14 ) goto LABEL_29; } if ( !++v4 ) return nullptr; goto LABEL_2; } if ( v8 == 62 ) return v4; v8 = *++v4; if ( !*v4 ) goto LABEL_8; } v10 = v4[1]; if ( v10 == 33 ) break; if ( v10 != 63 ) goto LABEL_13; v20 = v4[2]; v4 += 2; if ( !v20 ) goto LABEL_29; while ( 1 ) { v13 = v20 == 63; v20 = v4[1]; if ( v13 && v20 == 62 ) break; ++v4; if ( !v20 ) goto LABEL_29; } v4 += 2; if ( !v4 ) return nullptr; } v15 = v4[2]; if ( v15 == 45 ) { LABEL_13: if ( v10 != 33 || v4[2] != 45 || v4[3] != 45 || (v11 = v4[4], v4 += 4, !v11) ) { LABEL_29: *(_QWORD *)(a1 + 16) = v4; *(_DWORD *)(a1 + 24) = 9; return nullptr; } while ( 1 ) { if ( v11 == 45 ) { v11 = v4[1]; if ( v11 == 45 ) { while ( v4[2] != 62 ) { v11 = (++v4)[1]; if ( v11 != 45 ) goto LABEL_19; } v4 += 4; if ( !v4 ) return nullptr; goto LABEL_2; } } else { v11 = v4[1]; } LABEL_19: ++v4; if ( !v11 ) goto LABEL_29; } } if ( v15 != 91 ) { v16 = sub_DC0DF4(a1, v4, v6, 0); if ( v16 ) { v4 = (unsigned __int8 *)(v16 + 1); goto LABEL_2; } return nullptr; } ++v4; LABEL_40: v17 = v4[1]; do { LABEL_41: ++v4; while ( 1 ) { if ( !v17 ) goto LABEL_29; if ( v17 != 60 ) break; v17 = v4[1]; if ( v17 != 33 || v4[2] != 91 ) goto LABEL_41; v18 = v4 + 1; LABEL_52: v19 = v18[1]; do { LABEL_53: ++v18; while ( 1 ) { if ( !v19 ) { *(_QWORD *)(a1 + 16) = v18; *(_DWORD *)(a1 + 24) = 9; return nullptr; } if ( v19 != 60 ) break; v19 = v18[1]; if ( v19 != 33 || v18[2] != 91 ) goto LABEL_53; v21 = sub_DC0A7C(a1, (__int64)v18); v18 = v21; if ( !v21 ) return nullptr; v19 = *v21; } if ( v19 != 93 ) goto LABEL_52; v19 = v18[1]; } while ( v19 != 93 || v18[2] != 62 ); v4 = v18 + 3; if ( v18 == (unsigned __int8 *)-3LL ) return nullptr; v17 = v18[3]; } if ( v17 != 93 ) goto LABEL_40; v17 = v4[1]; } while ( v17 != 93 || v4[2] != 62 ); v4 += 3; if ( v4 ) goto LABEL_2; return nullptr; }
GD Web Decomp Icon

GD Web Decomp

Raw Source