// // sub_DC0634 from 0xdc0634 to 0xdc0718 (228 bytes) // // 2 xrefs: // > sub_DCBC04 @ 0xdcbf78 // > sub_DCBC04 @ 0xdccbc0 // // 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:47 +0000 // _BYTE *__fastcall sub_DC0634(_BYTE *a1) { _BYTE *v1; // x1 int v2; // w2 _BYTE *v3; // x3 _BYTE *v4; // x1 _BYTE *v6; // x5 v1 = a1 + 1; while ( 1 ) { do { v2 = (unsigned __int8)*(v1 - 1); v3 = v1++ - 1; } while ( (byte_11AECC0[v2] & 1) == 0 ); if ( v2 == 60 ) break; if ( !v2 ) { if ( a1 < v3 && (byte_11AECC0[(unsigned __int8)*(v3 - 1)] & 8) != 0 ) { v4 = v3; while ( --v4 != a1 ) { if ( (byte_11AECC0[(unsigned __int8)*(v4 - 1)] & 8) == 0 ) { *v4 = 0; return v3; } } } else { a1 = v3; } *a1 = 0; return v3; } } v6 = v3; if ( a1 < v3 && (byte_11AECC0[(unsigned __int8)*(v3 - 1)] & 8) != 0 ) { while ( --v3 != a1 ) { if ( (byte_11AECC0[(unsigned __int8)*(v3 - 1)] & 8) == 0 ) { *v3 = 0; return v6 + 1; } } } else { a1 = v3; } *a1 = 0; return v6 + 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source