// // sub_BA4EB4 from 0xba4eb4 to 0xba4f44 (144 bytes) // // 1 xrefs: // > @ 0x111ca08 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // size_t __fastcall sub_BA4EB4(__int64 a1, const char **a2) { const char *v2; // x19 int v3; // w0 int v4; // t1 size_t result; // x0 int v6; // w2 v2 = (const char *)(a1 + 2); v3 = *(unsigned __int8 *)(a1 + 2); if ( v3 != 9 ) goto LABEL_3; do { do { v4 = *(unsigned __int8 *)++v2; v3 = v4; } while ( v4 == 9 ); LABEL_3: ; } while ( v3 == 32 ); for ( result = strlen(v2); result; --result ) { v6 = (unsigned __int8)v2[result - 1]; if ( v6 != 32 && v6 != 13 && (unsigned __int8)(v6 - 9) > 1u ) { v2[result] = 0; break; } } *a2 = v2; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source