//
// sub_100629C34 from 0x100629c34 to 0x100629ee8 (692 bytes)
//
// 2 xrefs:
// > sub_100628E00 @ 0x100628e04
// > sub_100629708 @ 0x10062970c
//
// 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 sub_100629C34(__int64 a1, unsigned int *a2, int a3, int a4)
{
int v7; // w0
__int64 v8; // x0
__int64 v9; // x8
__int64 v11; // x0
__int64 *v12; // x0
__int64 *v13; // x22
_QWORD *v14; // x24
_QWORD *v15; // x23
__int64 v16; // x0
_QWORD *v17; // x25
__int64 v18; // x0
__int64 v19; // x0
__int64 v20; // x0
__int64 v21; // x0
unsigned int v22; // w21
char *v23; // x0
if ( a4 != 2 )
{
if ( a4 < 1 )
goto LABEL_21;
goto LABEL_16;
}
if ( !(unsigned int)sub_1005DAA18(a1, a3, 128) )
return 0;
sub_1005DCA40(a1, "Private key: ");
v7 = sub_1005E9A40(a2);
if ( v7 == 811 )
{
v8 = sub_1005E9848((__int64)a2);
if ( !v8 )
{
LABEL_14:
sub_1005DCA40(a1, "