//
// statem_flush from 0x9b4490 to 0x9b44cc (60 bytes)
//
// 6 xrefs:
// > ossl_statem_client_post_work @ 0x9b76fc
// > ossl_statem_client_post_work @ 0x9b77b4
// > ossl_statem_server_post_work @ 0x9bd1ac
// > ossl_statem_server_post_work @ 0x9bd1f8
// > ossl_statem_server_post_work @ 0x9bd224
// > ??> @ 0x769ac
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:06:58 +0000
//
int __fastcall statem_flush(int a1)
{
*(_DWORD *)(a1 + 20) = 2;
if ( BIO_ctrl(*(_DWORD *)(a1 + 12), 11, 0, 0) <= 0 )
return 0;
*(_DWORD *)(a1 + 20) = 1;
return 1;
}