// // sub_B4DC58 from 0xb4dc58 to 0xb4dd60 (264 bytes) // // 2 xrefs: // > sub_B57FA0 @ 0xb58318 // > sub_B57FA0 @ 0xb58f34 // // 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 // unsigned __int8 *__fastcall sub_B4DC58(unsigned __int8 *a1) { int v2; // w1 unsigned __int8 *v3; // x0 unsigned __int8 *v5; // x0 void *v6; // [xsp+38h] [xbp+38h] BYREF __int64 v7; // [xsp+40h] [xbp+40h] v6 = nullptr; v7 = 0; while ( 1 ) { v2 = *a1; if ( (byte_F1EC70[*a1] & 1) == 0 ) goto LABEL_6; if ( v2 == 60 ) break; if ( v2 == 38 ) { a1 = sub_B4D5DC(a1, (__int64)&v6); } else { if ( !*a1 ) { if ( v6 ) { memmove((char *)v6 - v7, v6, a1 - (_BYTE *)v6); v5 = &a1[-v7]; } else { v5 = a1; } *v5 = 0; return a1; } LABEL_6: ++a1; } } if ( v6 ) { memmove((char *)v6 - v7, v6, a1 - (_BYTE *)v6); v3 = &a1[-v7]; } else { v3 = a1; } *v3 = 0; return a1 + 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source