// // sub_B4DA0C from 0xb4da0c to 0xb4daf0 (228 bytes) // // 2 xrefs: // > sub_B57FA0 @ 0xb589f0 // > sub_B57FA0 @ 0xb58f9c // // 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_B4DA0C(unsigned __int8 *a1, unsigned __int8 a2) { int v3; // w21 int v4; // w1 unsigned __int8 *v5; // x0 void *v7; // [xsp+48h] [xbp+48h] BYREF __int64 v8; // [xsp+50h] [xbp+50h] v3 = a2; v7 = nullptr; v8 = 0; while ( 1 ) { v4 = *a1; if ( (byte_F1EC70[*a1] & 2) == 0 ) goto LABEL_6; if ( v4 == v3 ) break; if ( v4 == 38 ) { a1 = sub_B4D5DC(a1, (__int64)&v7); } else { if ( !*a1 ) return nullptr; LABEL_6: ++a1; } } if ( v7 ) { memmove((char *)v7 - v8, v7, a1 - (_BYTE *)v7); v5 = &a1[-v8]; } else { v5 = a1; } *v5 = 0; return a1 + 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source