// // lwsl_emit_stderr from 0x85648c to 0x856554 (200 bytes) // // 1 xrefs: // > _lws_logv @ 0x8567ba // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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 12:02:36 +0000 // int __fastcall lwsl_emit_stderr(int a1, const char *a2) { int v3; // r4 unsigned __int64 v5; // r0 char v6[304]; // [sp+Ch] [bp-130h] BYREF v6[0] = 0; switch ( a1 ) { case 1: v3 = 0; goto LABEL_14; case 2: v3 = 1; goto LABEL_14; case 4: v3 = 2; goto LABEL_14; case 8: v3 = 3; goto LABEL_14; case 16: v3 = 4; goto LABEL_14; case 32: v3 = 5; goto LABEL_14; case 64: v3 = 6; goto LABEL_14; case 128: v3 = 7; goto LABEL_14; case 256: v3 = 8; goto LABEL_14; case 512: v3 = 9; LABEL_14: v5 = sub_85BEE8() / 0x64uLL; sub_993BD0(v6, "[%llu:%04d] %s: ", v5 / 0x2710, (unsigned int)(v5 % 0x2710), off_C75A30[v3]); break; } return fprintf((FILE *)((char *)&_sF + 168), "%s%s", v6, a2); }
GD Web Decomp Icon

GD Web Decomp

Raw Source