// // dtls1_ctrl from 0xfdb700 to 0xfdb7ac (172 bytes) // // 11 xrefs: // > @ 0xc28d8 // > @ 0x1537a38 // > @ 0x1537b18 // > @ 0x1537bf8 // > @ 0x1537cd8 // > @ 0x1537db8 // > @ 0x1537e98 // > @ 0x1537f78 // > @ 0x1538058 // > @ 0x1538138 // > @ 0x1538218 // // 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 // __int64 __fastcall dtls1_ctrl(__int64 a1, int a2, signed __int64 a3, char *a4) { __int64 result; // x0 if ( a2 == 74 ) return (int)dtls1_handle_timeout(a1); if ( a2 > 74 ) { if ( a2 == 120 ) { result = 0; if ( a3 > 255 ) { *(_DWORD *)(*(_QWORD *)(a1 + 152) + 288LL) = a3; return 1; } } else { result = 256; if ( a2 != 121 ) return (int)ssl3_ctrl(a1, a2, a3, a4); } } else { if ( a2 != 17 ) { if ( a2 == 73 ) return dtls1_get_timeout(a1, a4) != nullptr; return (int)ssl3_ctrl(a1, a2, a3, a4); } result = 0; if ( a3 > 207 ) { *(_DWORD *)(*(_QWORD *)(a1 + 152) + 292LL) = a3; return a3; } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source