// // sub_FCAAD4 from 0xfcaad4 to 0xfcabf8 (292 bytes) // // 2 xrefs: // > dtls_get_message @ 0xfcbdc4 // > dtls_get_message @ 0xfcbf2c // // 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:26 +0000 // __int64 __fastcall sub_FCAAD4(_QWORD *a1, unsigned __int8 *a2) { unsigned __int64 v3; // x20 unsigned __int64 v5; // x1 __int64 v7; // x0 __int64 v8; // x2 __int64 v9; // x1 v3 = *((_QWORD *)a2 + 1); if ( v3 < *((_QWORD *)a2 + 4) + *((_QWORD *)a2 + 3) ) goto LABEL_5; v5 = a1[63]; if ( v5 < 0x454C ) v5 = 17740; if ( v3 <= v5 ) { v7 = a1[19]; if ( *(_QWORD *)(v7 + 408) ) { if ( *(_QWORD *)(v7 + 392) == v3 ) { return 0; } else { ERR_put_error(20, 288, 152, "ssl/statem/statem_dtls.c", 440); return 47; } } else if ( BUF_MEM_grow_clean(a1[15], v3 + 12) ) { v8 = a1[18]; v9 = a1[19]; *(_QWORD *)(v8 + 536) = v3; *(_QWORD *)(v9 + 392) = v3; *(_DWORD *)(v8 + 544) = *a2; *(_BYTE *)(v9 + 384) = *a2; *(_WORD *)(a1[19] + 400LL) = *((_WORD *)a2 + 8); return 0; } else { ERR_put_error(20, 288, 7, "ssl/statem/statem_dtls.c", 426); return 80; } } else { LABEL_5: ERR_put_error(20, 288, 152, "ssl/statem/statem_dtls.c", 416); return 47; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source