int __fastcall wrap_OEChemIsLicensed(__int64 a1, __int64 a2)
{
int v2; // eax@2
__int64 v3; // r8@2
unsigned int *v4; // rdx@4
int result; // eax@5
__int64 v6; // r12@11
int v7; // eax@13
OEChem *v8; // rbx@14
unsigned int *v9; // rdx@14
const char *v10; // rsi@15
OEChem *v11; // rdi@16
unsigned __int8 v12; // al@17
int v13; // ST08_4@19
__int64 v14; // rbx@22
unsigned __int8 v15; // al@25
int v16; // edi@29
__int64 v17; // rax@31
__int64 v18; // [sp+10h] [bp-78h]@7
__int64 v19; // [sp+18h] [bp-70h]@11
char v20; // [sp+30h] [bp-58h]@22
unsigned int v21; // [sp+34h] [bp-54h]@22
char **v22; // [sp+40h] [bp-48h]@36
__int64 v23; // [sp+48h] [bp-40h]@12
__int64 v24; // [sp+50h] [bp-38h]@12
OEChem *v25; // [sp+58h] [bp-30h]@12
char *v26; // [sp+60h] [bp-28h]@12
int v27; // [sp+68h] [bp-20h]@11
if ( !(*(_BYTE *)(*(_QWORD *)(a2 + 8) + 171LL) & 4) )
goto LABEL_22;
v2 = PyObject_Size(a2);
if ( v2 > 0 )
{
v18 = *(_QWORD *)(a2 + 24);
if ( v2 > 1 )
v19 = *(_QWORD *)(a2 + 32);
}
else if ( !v2 )
{
if ( PyArg_UnpackTuple(a2, "OEChemIsLicensed", 0LL, 0LL, v3) )
{
v15 = OEChem::OEChemIsLicensed(0LL, 0LL, v4);
return PyBool_FromLong(v15);
}
return 0;
}
if ( v2 != 1 )
{
if ( v2 == 2 && SWIG_AsCharPtrAndSize(v18, 0LL, 0LL, 0LL) >= 0 )
{
v6 = v19;
if ( SWIG_Python_ConvertPtrAndOwn(v19, &v27, qword_8E7E58, 0LL, 0LL) == -1
&& SWIG_Python_ConvertPtrAndOwn(v6, &v27, qword_8E6D98, 0LL, 0LL) == -1 )
{
PyErr_Clear();
goto LABEL_22;
}
v26 = 0LL;
v25 = 0LL;
v27 = 0;
v24 = 0LL;
v23 = 0LL;
if ( !PyArg_UnpackTuple(a2, "OEChemIsLicensed", 2LL, 2LL, &v24) )
goto LABEL_32;
v7 = SWIG_AsCharPtrAndSize(v24, &v25, 0LL, &v27);
if ( v7 >= 0 )
{
v8 = v25;
if ( SWIG_Python_ConvertPtrAndOwn(v23, &v26, qword_8E7E58, 0LL, 0LL) == -1 )
{
if ( SWIG_Python_ConvertPtrAndOwn(v23, &v22, qword_8E6D98, 0LL, 0LL) == -1 )
{
PyErr_SetString(PyExc_ValueError, "Expecting an OEUIntArray or unsigned int*");
return 0;
}
v10 = *v22;
v26 = *v22;
}
else
{
v10 = v26;
}
v11 = v8;
goto LABEL_17;
}
goto LABEL_29;
}
LABEL_22:
v20 = 1;
v14 = PyExc_NotImplementedError;
v21 = PyGILState_Ensure();
PyErr_SetString(
v14,
"Wrong number or type of arguments for overloaded function 'OEChemIsLicensed'.\n Possible C/C++ prototypes are:\n OEChem::OEChemIsLicensed(char const *,unsigned int *)\n OEChem::OEChemIsLicensed(char const *)\n OEChem::OEChemIsLicensed()\n");
if ( v20 )
PyGILState_Release(v21);
return 0;
}
if ( SWIG_AsCharPtrAndSize(v18, 0LL, 0LL, 0LL) < 0 )
goto LABEL_22;
v25 = 0LL;
v27 = 0;
v26 = 0LL;
if ( PyArg_UnpackTuple(a2, "OEChemIsLicensed", 1LL, 1LL, &v26) )
{
v7 = SWIG_AsCharPtrAndSize(v26, &v25, 0LL, &v27);
if ( v7 >= 0 )
{
v10 = 0LL;
v11 = v25;
LABEL_17:
v12 = OEChem::OEChemIsLicensed(v11, v10, v9);
result = PyBool_FromLong(v12);
if ( v27 == 512 )
{
if ( v25 )
{
v13 = result;
operator delete[]((void *)v25);
result = v13;
}
}
return result;
}
LABEL_29:
v16 = -5;
if ( v7 != -1 )
v16 = v7;
v17 = SWIG_Python_ErrorType(v16);
SWIG_Python_SetErrorMsg(v17, "in method 'OEChemIsLicensed', argument 1 of type 'char const *'");
}
LABEL_32:
if ( v27 != 512 || !v25 )
return 0;
operator delete[]((void *)v25);
return 0;
}
[培训]内核驱动高级班,冲击BAT一流互联网大厂工作,每周日13:00-18:00直播授课