//
// sub_A4C270 from 0xa4c270 to 0xa4c32c (188 bytes)
//
// 1 xrefs:
// > SRP_VBASE_init @ 0xa4c8f0
//
// 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:20 +0000
//
int __fastcall sub_A4C270(int **a1, int *a2, char *a3, char *a4)
{
int v7; // r1
int *v8; // r0
int v9; // r1
int *v10; // r0
_DWORD v12[625]; // [sp+4h] [bp-9C4h] BYREF
*a2 = 0;
*a1 = nullptr;
v7 = sub_A4BFB0(v12, a4);
if ( v7 < 0 )
return 0;
v8 = BN_bin2bn(v12, v7, nullptr);
*a2 = (int)v8;
if ( !v8 )
return 0;
v9 = sub_A4BFB0(v12, a3);
if ( v9 >= 0 )
{
v10 = BN_bin2bn(v12, v9, nullptr);
*a1 = v10;
if ( v10 )
return 1;
}
BN_free(*a2);
*a2 = 0;
return 0;
}