// // sub_100667B84 from 0x100667b84 to 0x100667d58 (468 bytes) // // 1 xrefs: // > sub_100652928 @ 0x100652954 // // 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:11:02 +0000 // __int64 __fastcall sub_100667B84(__int64 a1, __int64 *a2, __int64 a3) { __int64 v4; // x20 __int64 v5; // x22 __int64 v6; // x23 __int64 v7; // x21 unsigned int v8; // w24 __int64 v9; // x0 __int64 v10; // x22 __int64 v11; // x0 __int64 v12; // x22 __int64 v13; // x0 _BYTE v15[160]; // [xsp+8h] [xbp-138h] BYREF __int64 v16; // [xsp+A8h] [xbp-98h] v4 = *(_QWORD *)(a1 + 80); if ( a2 ) v5 = *a2; else v5 = 0; v6 = *(_QWORD *)(*(_QWORD *)(a1 + 256) + 656LL); if ( !v6 ) v6 = *(_QWORD *)(*(_QWORD *)(a1 + 368) + 24LL); if ( !a2 || (v7 = a2[3]) == 0 ) v7 = *(_QWORD *)(*(_QWORD *)(a1 + 368) + 248LL); v8 = *(_DWORD *)(a1 + 432); if ( (unsigned int)sub_1007000B0(*(_QWORD *)(a1 + 80), 10) ) { if ( v5 ) { if ( (v8 >> 3) & 1 | (v7 != 0) ) { if ( !(unsigned int)sub_100667D58(v4, a3, v5) ) return 0; } else { if ( !(unsigned int)sub_10072744C(v15, v6, v5, 0) ) { sub_100706FB0(20, 318, 11, "ssl_cert.c", 1119); return 0; } v9 = sub_100725BF8(v15); sub_1007072C0(v9); if ( (int)sub_100704BB4(v16) > 0 ) { v10 = 0; while ( 1 ) { v11 = sub_100704BC8(v16, v10); if ( !(unsigned int)sub_100667D58(v4, a3, v11) ) break; v10 = (unsigned int)(v10 + 1); if ( (int)v10 >= (int)sub_100704BB4(v16) ) goto LABEL_20; } sub_1007273C8(v15); return 0; } LABEL_20: sub_1007273C8(v15); } } if ( (int)sub_100704BB4(v7) <= 0 ) return 1; v12 = 0; while ( 1 ) { v13 = sub_100704BC8(v7, v12); if ( !(unsigned int)sub_100667D58(v4, a3, v13) ) break; v12 = (unsigned int)(v12 + 1); if ( (int)v12 >= (int)sub_100704BB4(v7) ) return 1; } } else { sub_100706FB0(20, 318, 7, "ssl_cert.c", 1108); } return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source