//
// sub_A3B130 from 0xa3b130 to 0xa3b1b8 (136 bytes)
//
// 1 xrefs:
// > ??> @ 0xc7ff50
//
// 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:08:10 +0000
//
bool __fastcall sub_A3B130(int a1, _DWORD *a2, int a3, _DWORD *a4)
{
int v6; // r0
_BOOL4 result; // r0
switch ( a1 )
{
case 10:
if ( PKCS7_stream(a4 + 2, *a2) > 0 )
goto LABEL_3;
result = 0;
break;
case 11:
case 13:
result = PKCS7_dataFinal(*a2, a4[1]) > 0;
break;
case 12:
LABEL_3:
v6 = PKCS7_dataInit(*a2, *a4);
a4[1] = v6;
result = v6 != 0;
break;
default:
result = 1;
break;
}
return result;
}