// // sub_60018C from 0x60018c to 0x6001e2 (86 bytes) // // 2 xrefs: // > sub_609260 @ 0x6096ca // > sub_609260 @ 0x6096ec // // 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_60018C(_BYTE *result) { _BYTE *v1; // r2 _BYTE *v2; // r3 int v3; // r1 _BYTE *v4; // r1 v1 = result; v2 = result; while ( 1 ) { v3 = (unsigned __int8)*v1; if ( !*v1 ) break; ++v1; if ( (a7[v3] & 8) != 0 ) { v4 = v1; do v1 = v4++; while ( (a7[(unsigned __int8)*v1] & 8) != 0 ); if ( v2 != result ) { *v2 = 32; goto LABEL_9; } } else { *v2 = v3; LABEL_9: ++v2; } } if ( v2 != result ) { if ( (a7[(unsigned __int8)*(v2 - 1)] & 8) != 0 ) result = v2 - 1; else result = v2; } *result = 0; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source