// // sub_646EF0 from 0x646ef0 to 0x646f3c (76 bytes) // // 1 xrefs: // > lws_service_fd @ 0x6475d0 // // 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_646EF0(int a1) { unsigned int v1; // r5 v1 = *(unsigned __int8 *)(a1 + 260); if ( ((v1 >> 3) & 2) == 0 ) return 0; if ( *(_DWORD *)(a1 + 196) ) { lws_callback_on_writable(a1); return 0; } *(_BYTE *)(a1 + 260) = v1 & 0xE7 | (8 * ((v1 & 8) != 0)); if ( ((v1 >> 3) & 1) != 0 ) return -(sub_647814(a1, 0, 1) != 0); else return -(sub_647814(a1, 1, 0) != 0); }
GD Web Decomp Icon

GD Web Decomp

Raw Source