// // sub_600EF4 from 0x600ef4 to 0x600fc0 (204 bytes) // // 1 xrefs: // > sub_6049F4 @ 0x605192 // // 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_600EF4(_BYTE *a1, _BYTE *a2) { _BYTE *v3; // r2 int v4; // t1 _BYTE *v5; // r1 _BYTE *result; // r0 unsigned __int8 *v7; // r0 unsigned __int8 *v8; // r1 unsigned __int8 *v9; // r2 _BYTE *v10[2]; // [sp+4h] [bp-18h] BYREF _DWORD v11[2]; // [sp+Ch] [bp-10h] BYREF v10[0] = a1; v11[0] = 0; v11[1] = 0; if ( (a7[(unsigned __int8)*a1] & 8) != 0 ) { v3 = a1; do v4 = (unsigned __int8)*++v3; while ( (a7[v4] & 8) != 0 ); sub_60083C(v11, v10, v3 - a1); } while ( 1 ) { v5 = v10[0]; result = (_BYTE *)(unsigned __int8)*v10[0]; if ( (a7[(_DWORD)result] & 0xC) == 0 ) goto LABEL_6; if ( result == a2 ) break; if ( (a7[(_DWORD)result] & 8) != 0 ) { ++v10[0]; *v5 = 32; if ( (a7[(unsigned __int8)*v10[0]] & 8) != 0 ) { v8 = v10[0] + 1; do v9 = v8++; while ( (a7[*v9] & 8) != 0 ); sub_60083C(v11, v10, v9 - v10[0]); } } else if ( result == (_BYTE *)&dword_24 + 2 ) { v10[0] = sub_600D80(v10[0], v11); } else { if ( !*v10[0] ) return result; LABEL_6: ++v10[0]; } } v7 = (unsigned __int8 *)sub_6006C8((int)v11, (int)v10[0]); do *v7-- = 0; while ( (a7[*v7] & 8) != 0 ); return v10[0] + 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source