// // sub_638568 from 0x638568 to 0x6385ce (102 bytes) // // 0 xrefs: // // 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 // int __fastcall sub_638568(int a1, _BYTE *a2, unsigned int a3, _DWORD *a4) { if ( a3 > 3 && !memcmp("-ERR", a2, 4u) ) { *a4 = 45; return 1; } else { if ( *(_DWORD *)(a1 + 1144) == 2 ) { if ( !a3 || *a2 != 46 ) { LABEL_12: *a4 = 42; return 1; } } else { if ( a3 <= 2 ) { if ( !a3 ) return 0; LABEL_6: if ( *a2 != 43 ) return 0; goto LABEL_12; } if ( memcmp("+OK", a2, 3u) ) goto LABEL_6; } *a4 = 43; return 1; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source