// // sub_DEADB8 from 0xdeadb8 to 0xdeaed8 (288 bytes) // // 3 xrefs: // > sub_DEAED8 @ 0xdeb6a4 // > sub_DEAED8 @ 0xdeb80c // > sub_DEAED8 @ 0xdebb14 // // 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:09:13 +0000 // char *__fastcall sub_DEADB8(const char *a1) { const char *v1; // x0 char *v2; // x19 size_t v3; // x21 char *v4; // x2 int v5; // w0 bool v6; // zf char *result; // x0 size_t v8; // x2 v1 = off_154A3D8(a1); v2 = (char *)v1; if ( !v1 ) return v2; v3 = strlen(v1); if ( *v2 != 34 ) { if ( v3 ) goto LABEL_4; goto LABEL_9; } v8 = v3--; memmove(v2, v2 + 1, v8); if ( !v3 ) { LABEL_9: if ( *v2 != 47 ) goto LABEL_11; return v2; } LABEL_4: v4 = &v2[v3 - 1]; v5 = (unsigned __int8)*v4; if ( v5 != 34 ) { if ( *v2 == 47 ) goto LABEL_6; LABEL_11: off_154A3C8(v2); return off_154A3D8((const char *)&word_11BA098); } v2[v3 - 1] = 0; if ( *v2 != 47 ) goto LABEL_11; result = v2; if ( v3 == 1 ) return result; v4 = &v2[v3 - 2]; v5 = (unsigned __int8)*v4; LABEL_6: v6 = v5 == 47; result = v2; if ( v6 ) *v4 = 0; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source