// // sub_10074A660 from 0x10074a660 to 0x10074a804 (420 bytes) // // 2 xrefs: // > sub_100749110 @ 0x100749224 // > @ 0x1009f1378 // // 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:25 +0000 // __int64 __fastcall sub_10074A660(__int64 a1, _QWORD *a2, __int64 a3) { __int64 v6; // x22 unsigned int (__fastcall *v7)(__int64, __int64, __int64, __int64, __int64, __int64, __int64, __int64, unsigned int *); // x21 __int64 *v8; // x0 __int64 v9; // x23 __int64 v10; // x24 __int64 v11; // x25 __int64 v12; // x26 __int64 *v13; // x0 __int64 v14; // x27 __int64 v15; // x0 int v16; // w0 char **v17; // x0 int v19; // w0 char **v20; // x0 _QWORD *v21; // [xsp+10h] [xbp-60h] unsigned int v22; // [xsp+1Ch] [xbp-54h] BYREF v22 = sub_1006D0D88(*(_QWORD *)(a3 + 8)); v6 = xmmword_100A0F728("/dev/ubskey"); if ( (int)v6 <= 0 ) { v19 = dword_100A0F724; if ( !dword_100A0F724 ) { v19 = sub_100707AE4(); dword_100A0F724 = v19; } sub_100706FB0(v19, 101, 108, (__int64)"e_ubsec.c", 909); v20 = sub_1006F8874(); return ((__int64 (__fastcall *)(__int64, _QWORD *, __int64))v20[2])(a1, a2, a3); } else { v7 = (unsigned int (__fastcall *)(__int64, __int64, __int64, __int64, __int64, __int64, __int64, __int64, unsigned int *))off_100A0F770; v8 = *(__int64 **)(a3 + 40); v9 = *v8; v10 = sub_1006D0D88((__int64)v8); v11 = *a2; v21 = a2; v12 = sub_1006D0D88((__int64)a2); v13 = *(__int64 **)(a3 + 8); v14 = *v13; v15 = sub_1006D0D88((__int64)v13); if ( v7(v6, v9, v10, v11, v12, v14, v15, a1, &v22) ) { v16 = dword_100A0F724; if ( !dword_100A0F724 ) { v16 = sub_100707AE4(); dword_100A0F724 = v16; } sub_100706FB0(v16, 101, 106, (__int64)"e_ubsec.c", 925); off_100A0F738(v6); v17 = sub_1006F8874(); return ((__int64 (__fastcall *)(__int64, _QWORD *, __int64))v17[2])(a1, v21, a3); } else { off_100A0F738(v6); return off_100A0F778(v22); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source