// // sub_1005FF040 from 0x1005ff040 to 0x1005ff0d8 (152 bytes) // // 0 xrefs: // // 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 11:09:56 +0000 // __int64 __fastcall sub_1005FF040(__int64 a1, const char **a2) { _BYTE *v3; // x8 int v4; // w9 unsigned __int8 *v5; // x8 int v6; // t1 unsigned __int8 *v7; // x20 unsigned int v8; // w0 const char *v10; // x8 v3 = *(_BYTE **)(a1 + 8); v4 = (unsigned __int8)*v3; if ( *v3 ) { v5 = v3 + 1; while ( (unsigned int)(v4 - 127) > 0xFFFFFFA0 ) { v6 = *v5++; v4 = v6; if ( !v6 ) goto LABEL_5; } if ( a2 ) { v10 = "MIME type string must contain only printable ASCII characters (0x20-0x7e)"; LABEL_13: *a2 = v10; return 0; } } else { LABEL_5: v7 = *(unsigned __int8 **)(a1 + 16); if ( !*v7 ) return 1; while ( 1 ) { v8 = sub_1005FEB38(v7); if ( !v8 ) break; v7 += v8; if ( !*v7 ) return 1; } if ( a2 ) { v10 = "description string must be valid UTF-8"; goto LABEL_13; } } return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source