// // sub_B8A9A8 from 0xb8a9a8 to 0xb8aabc (276 bytes) // // 3 xrefs: // > sub_B8AABC @ 0xb8aba8 // > sub_B8AABC @ 0xb8ac44 // > sub_B8AABC @ 0xb8ad84 // // 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 // _BYTE *__fastcall sub_B8A9A8(int a1, char *a2) { _BYTE *v2; // x20 _BYTE *v3; // x0 unsigned int v4; // w1 int v5; // w2 unsigned int v6; // t1 int v7; // w3 unsigned int v8; // t1 _BYTE *v10; // [xsp+20h] [xbp+20h] __int64 v11; // [xsp+28h] [xbp+28h] if ( (unsigned int)sub_B8B660(a1, a2) || !v10 ) return nullptr; v2 = off_1231000(2 * v11 + 1); if ( v2 ) { v3 = v10; v4 = (unsigned __int8)*v10; if ( *v10 ) { v5 = 0; do { while ( v4 > 0x20 && v4 != 127 && v4 != 39 && v4 != 34 && v4 != 92 ) { v2[v5++] = v4; v6 = (unsigned __int8)*++v3; v4 = v6; if ( !v6 ) goto LABEL_12; } v7 = v5 + 1; v2[v5] = 92; v5 += 2; v2[v7] = v4; v8 = (unsigned __int8)*++v3; v4 = v8; } while ( v8 ); LABEL_12: v2[v5] = 0; } else { *v2 = 0; } } ((void (__fastcall *)())off_1231008)(); return v2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source