// // dtls1_set_message_header from 0xd4d7a8 to 0xd4d7f8 (80 bytes) // // 3 xrefs: // > dtls_construct_hello_verify_request @ 0xd5057c // > sub_D5CD48 @ 0xd5cd64 // > @ 0xa1a30 // // 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 dtls1_set_message_header(__int64 a1, char a2, __int64 a3, __int64 a4, __int64 a5) { __int64 result; // x0 __int16 v6; // w6 __int16 v7; // w6 result = *(_QWORD *)(a1 + 152); if ( a4 ) { v7 = *(_WORD *)(result + 264); *(_BYTE *)(result + 296) = a2; *(_QWORD *)(result + 304) = a3; *(_WORD *)(result + 312) = v7; *(_QWORD *)(result + 320) = a4; } else { v6 = *(_WORD *)(result + 266); *(_WORD *)(result + 264) = v6; *(_BYTE *)(result + 296) = a2; *(_WORD *)(result + 266) = v6 + 1; *(_QWORD *)(result + 304) = a3; *(_WORD *)(result + 312) = v6; *(_QWORD *)(result + 320) = 0; } *(_QWORD *)(result + 328) = a5; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source