// // pqueue_insert from 0xfdcb84 to 0xfdcc40 (188 bytes) // // 5 xrefs: // > dtls1_buffer_record @ 0xfae9a8 // > sub_FCAC74 @ 0xfcaf30 // > dtls1_buffer_message @ 0xfcb718 // > dtls_get_message @ 0xfcc32c // > @ 0xf8140 // // 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:15:35 +0000 // void *__fastcall pqueue_insert(_QWORD **a1, void *a2) { _QWORD *v2; // x19 _QWORD *v5; // x21 int v6; // w0 v2 = *a1; v5 = nullptr; if ( *a1 ) { while ( 1 ) { v6 = memcmp(v2, a2, 8u); if ( v6 > 0 ) break; if ( !v6 ) return nullptr; v5 = v2; if ( !v2[2] ) { *((_QWORD *)a2 + 2) = 0; v2[2] = a2; return a2; } v2 = (_QWORD *)v2[2]; } *((_QWORD *)a2 + 2) = v2; if ( !v5 ) goto LABEL_11; v5[2] = a2; return a2; } else { LABEL_11: *a1 = a2; return a2; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source