// // sub_100712200 from 0x100712200 to 0x1007124b8 (696 bytes) // // 2 xrefs: // > sub_100712050 @ 0x10071212c // > @ 0x1009c15c8 // // 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:12:58 +0000 // __int64 __fastcall sub_100712200( unsigned int *a1, const char *a2, signed int a3, __int64 a4, __int64 a5, __int64 a6, int a7) { int v12; // w3 int v13; // w4 int v14; // w5 int v15; // w6 int v16; // w7 unsigned int v17; // w19 int *v18; // x8 _QWORD *v19; // x20 __int64 v20; // x0 __int64 *v21; // x8 int v22; // w1 int v23; // w4 __int64 v24; // x21 __int16 v25; // w2 int v26; // w4 char *v27; // x0 __int64 v28; // x25 __int64 v29; // x8 __int64 v30; // x26 int v31; // w27 int v32; // w0 int v33; // w6 int v34; // w7 unsigned int v36; // [xsp+Ch] [xbp-A4h] BYREF __int64 v37; // [xsp+10h] [xbp-A0h] BYREF int8x16_t v38[4]; // [xsp+18h] [xbp-98h] BYREF if ( !sub_1007113D8((__int64)a1) ) { sub_100706FB0(6, 164, 131, (__int64)"p5_crpt2.c", 261); v19 = nullptr; v17 = 0; v24 = 0; goto LABEL_26; } v17 = sub_1007113F8((__int64)a1); if ( v17 >= 0x41 ) sub_1006AE64C((char)"p5_crpt2.c", 265, (int)"keylen <= sizeof key", v12, v13, v14, v15, v16); if ( !a4 || *(_DWORD *)a4 != 16 ) { v23 = 270; LABEL_12: sub_100706FB0(6, 164, 114, (__int64)"p5_crpt2.c", v23); v19 = nullptr; v24 = 0; goto LABEL_26; } v18 = *(int **)(a4 + 8); v37 = *((_QWORD *)v18 + 1); v19 = (_QWORD *)sub_1007225F4(0, &v37, *v18); if ( !v19 ) { v23 = 278; goto LABEL_12; } v17 = sub_1007113F8((__int64)a1); v20 = v19[2]; if ( v20 && sub_100716174(v20) != v17 ) { v25 = 123; v26 = 287; LABEL_25: sub_100706FB0(6, 164, v25, (__int64)"p5_crpt2.c", v26); v24 = 0; goto LABEL_26; } v21 = (__int64 *)v19[3]; if ( v21 ) v22 = sub_1006B0F78(*v21); else v22 = 163; if ( !(unsigned int)sub_100711820(1, v22, nullptr, &v36, nullptr) ) { v25 = 125; v26 = 297; goto LABEL_25; } v27 = sub_1006B0DD0(v36); v28 = sub_10070E1C8((__int64)v27); if ( !v28 ) { v25 = 125; v26 = 303; goto LABEL_25; } if ( *(_DWORD *)*v19 != 4 ) { v25 = 126; v26 = 308; goto LABEL_25; } v29 = *(_QWORD *)(*v19 + 8LL); v30 = *(_QWORD *)(v29 + 8); v31 = *(_DWORD *)v29; v32 = sub_100716174(v19[1]); if ( (unsigned int)sub_100711C90(a2, a3, v30, v31, v32, v28, v17, v38) ) v24 = sub_10070972C(a1, nullptr, 0, (__int64)v38, nullptr, a7, v33, v34); else v24 = 0; LABEL_26: sub_1006B0510(v38[0].i8, v17); sub_100722600(v19); return v24; }
GD Web Decomp Icon

GD Web Decomp

Raw Source