// // lwsl_emit_stderr from 0xe318cc to 0xe31a38 (364 bytes) // // 5 xrefs: // > _lws_logv @ 0xe31ee4 // > @ 0x105e50 // > _lws_logv @ 0xe31ee0 // > lws_set_log_level @ 0xe3220c // > @ 0x154a3f0 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 13:09:55 +0000 // __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_E38844(); sprintf(v6, "[%llu:%04d] %s: ", v5 / 0x64 / 0x2710, v5 / 0x64 % 0x2710, off_13FC9B0[v3]); } fprintf((FILE *)((char *)&_sF + 304), "%s%s", v6, a2); return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source