//
// ssl3_callback_ctrl from 0xd37b28 to 0xd37b70 (72 bytes)
//
// 23 xrefs:
// > ??> @ 0xa8408
// > ??> @ 0x121f280
// > ??> @ 0x121f360
// > ??> @ 0x121f440
// > ??> @ 0x121f520
// > ??> @ 0x121f600
// > ??> @ 0x121f6e0
// > ??> @ 0x121f7c0
// > ??> @ 0x121f8a0
// > ??> @ 0x121f980
// > ??> @ 0x121fa60
// > ??> @ 0x121fb40
// > ??> @ 0x121fc20
// > ??> @ 0x121fd00
// > ??> @ 0x121fde0
// > ??> @ 0x121fec0
// > ??> @ 0x121ffa0
// > ??> @ 0x1220080
// > ??> @ 0x1220160
// > ??> @ 0x1220240
// > ??> @ 0x1220320
// > ??> @ 0x1220400
// > ??> @ 0x12204e0
//
// 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 ssl3_callback_ctrl(_QWORD *a1, int a2, __int64 a3)
{
if ( a2 == 56 )
{
a1[67] = a3;
return 0;
}
else if ( a2 == 79 )
{
a1[115] = a3;
return 0;
}
else
{
if ( a2 == 6 )
*(_QWORD *)(a1[41] + 16LL) = a3;
return 0;
}
}