//
// ASYNC_pause_job from 0xd70dd4 to 0xd70e48 (116 bytes)
//
// 1 xrefs:
// > ??> @ 0x32238
//
// 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 ASYNC_pause_job()
{
__int64 ctx; // x0
__int64 v1; // x1
int v2; // w19
__int64 result; // x0
ctx = async_get_ctx();
if ( !ctx )
return 1;
v1 = *(_QWORD *)(ctx + 8);
if ( !v1 )
return 1;
v2 = *(_DWORD *)(ctx + 16);
result = 1;
if ( !v2 )
{
*(_DWORD *)(v1 + 28) = 1;
ERR_put_error(51, 103, 102, "crypto/async/async.c", 275);
return 0;
}
return result;
}