// // lwsl_emit_stderr from 0xbbb70c to 0xbbb878 (364 bytes) // // 5 xrefs: // > _lws_logv @ 0xbbbd24 // > @ 0xc9720 // > _lws_logv @ 0xbbbd20 // > lws_set_log_level @ 0xbbc04c // > @ 0x1231030 // // 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 // __int64 __fastcall lwsl_emit_stderr(int a1, const char *a2) { int v3; // w22 unsigned __int64 v5; // x0 char v6[304]; // [xsp+38h] [xbp+38h] BYREF v6[0] = 0; switch ( a1 ) { case 1: v3 = 0; goto LABEL_13; case 2: v3 = 1; goto LABEL_13; case 4: v3 = 2; goto LABEL_13; case 8: v3 = 3; goto LABEL_13; case 16: v3 = 4; goto LABEL_13; case 32: v3 = 5; goto LABEL_13; case 64: v3 = 6; goto LABEL_13; case 128: v3 = 7; goto LABEL_13; case 256: v3 = 8; goto LABEL_13; } v3 = 9; if ( a1 == 512 ) { LABEL_13: v5 = sub_BC2684(); sprintf(v6, "[%llu:%04d] %s: ", v5 / 0x64 / 0x2710, v5 / 0x64 % 0x2710, off_111CFE0[v3]); } fprintf((FILE *)((char *)&_sF + 304), "%s%s", v6, a2); return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source