// // sub_601380 from 0x601380 to 0x601418 (152 bytes) // // 1 xrefs: // > sub_6049F4 @ 0x6054a2 // // 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_601380(_BYTE *a1) { _BYTE *v1; // r1 int v2; // r4 _BYTE *v4; // [sp+4h] [bp-14h] BYREF _DWORD v5[2]; // [sp+Ch] [bp-Ch] BYREF v4 = a1; v5[0] = 0; v5[1] = 0; while ( 1 ) { while ( 1 ) { while ( 1 ) { v1 = v4; v2 = (unsigned __int8)*v4; if ( (a7[v2] & 1) == 0 ) goto LABEL_3; if ( v2 == 60 ) { *(_BYTE *)sub_6006C8((int)v5, (int)v4) = 0; return v4 + 1; } if ( v2 != 13 ) break; ++v4; *v1 = 10; if ( *v4 == 10 ) sub_60083C(v5, &v4, 1); } if ( v2 != 38 ) break; v4 = sub_600D80(v4, v5); } if ( !*v4 ) break; LABEL_3: ++v4; } *(_BYTE *)sub_6006C8((int)v5, (int)v4) = 0; return v4; }
GD Web Decomp Icon

GD Web Decomp

Raw Source