// // dtls1_retransmit_buffered_messages from 0x7a57a8 to 0x7a583c (148 bytes) // // 3 xrefs: // > dtls1_read_bytes @ 0x787bf0 // > dtls1_handle_timeout @ 0x7b6554 // > @ 0x5a66c // // 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 dtls1_retransmit_buffered_messages(int a1) { int v2; // r0 int v3; // r0 __int16 queue_priority; // r0 int v6; // [sp+0h] [bp-8h] BYREF int v7; // [sp+4h] [bp-4h] BYREF v2 = *(_DWORD *)(*(_DWORD *)(a1 + 108) + 276); v7 = 0; v6 = pqueue_iterator(v2); v3 = pqueue_next(&v6); if ( !v3 ) return 1; while ( 1 ) { queue_priority = dtls1_get_queue_priority( *(unsigned __int16 *)(*(_DWORD *)(v3 + 8) + 8), *(_DWORD *)(*(_DWORD *)(v3 + 8) + 20)); if ( dtls1_retransmit_message(a1, queue_priority, &v7) <= 0 ) break; v3 = pqueue_next(&v6); if ( !v3 ) return 1; } return -1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source