// // sub_10071A6D0 from 0x10071a6d0 to 0x10071a928 (600 bytes) // // 1 xrefs: // > @ 0x1009ea380 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // 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 11:13:02 +0000 // __int64 __fastcall sub_10071A6D0(__int64 a1, __int64 *a2, __int64 a3, __int64 a4) { int v8; // w22 __int64 v9; // x24 unsigned int *v10; // x0 int v11; // w25 __int64 v12; // x0 int v13; // w8 __int64 result; // x0 unsigned int *v15; // x0 __int64 v16; // x23 int v17; // w25 __int64 v18; // x0 int v19; // w8 __int64 v20[5]; // [xsp+8h] [xbp-68h] BYREF v20[0] = a3; if ( !(unsigned int)sub_100704C74(*(_QWORD *)(*(_QWORD *)a1 + 40LL)) ) { sub_1006AE2F8(9, 6, (__int64)"x_crl.c", 442); sub_100704C2C(*(int **)(*(_QWORD *)a1 + 40LL)); sub_1006AE2F8(10, 6, (__int64)"x_crl.c", 444); } v8 = sub_100704898(*(int **)(*(_QWORD *)a1 + 40LL), (__int64)v20); if ( v8 < 0 ) return 0; if ( v8 >= (int)sub_100704BB4(*(unsigned int **)(*(_QWORD *)a1 + 40LL)) ) return 0; if ( a4 ) { while ( 1 ) { v9 = sub_100704BC8(*(_QWORD *)(*(_QWORD *)a1 + 40LL), v8); if ( (unsigned int)sub_100715A80(*(_QWORD *)v9, a3) ) return 0; v10 = *(unsigned int **)(v9 + 24); if ( v10 ) { if ( (int)sub_100704BB4(v10) >= 1 ) { v11 = 0; while ( 1 ) { v12 = sub_100704BC8(*(_QWORD *)(v9 + 24), v11); if ( *(_DWORD *)v12 == 4 && !(unsigned int)sub_100724E30(a4, *(_QWORD *)(v12 + 8)) ) break; if ( ++v11 >= (int)sub_100704BB4(*(unsigned int **)(v9 + 24)) ) goto LABEL_15; } LABEL_28: if ( a2 ) *a2 = v9; if ( *(_DWORD *)(v9 + 32) == 8 ) return 2; else return 1; } } else if ( !(unsigned int)sub_100724E30(a4, *(_QWORD *)(*(_QWORD *)a1 + 16LL)) ) { goto LABEL_28; } LABEL_15: ++v8; v13 = sub_100704BB4(*(unsigned int **)(*(_QWORD *)a1 + 40LL)); result = 0; if ( v8 >= v13 ) return result; } } do { v9 = sub_100704BC8(*(_QWORD *)(*(_QWORD *)a1 + 40LL), v8); if ( (unsigned int)sub_100715A80(*(_QWORD *)v9, a3) ) return 0; v15 = *(unsigned int **)(v9 + 24); if ( !v15 ) goto LABEL_28; v16 = *(_QWORD *)(*(_QWORD *)a1 + 16LL); if ( (int)sub_100704BB4(v15) >= 1 ) { v17 = 0; do { v18 = sub_100704BC8(*(_QWORD *)(v9 + 24), v17); if ( *(_DWORD *)v18 == 4 && !(unsigned int)sub_100724E30(v16, *(_QWORD *)(v18 + 8)) ) goto LABEL_28; ++v17; } while ( v17 < (int)sub_100704BB4(*(unsigned int **)(v9 + 24)) ); } ++v8; v19 = sub_100704BB4(*(unsigned int **)(*(_QWORD *)a1 + 40LL)); result = 0; } while ( v8 < v19 ); return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source