// // sub_100722F34 from 0x100722f34 to 0x100723058 (292 bytes) // // 3 xrefs: // > sub_100723FA0 @ 0x100724014 // > sub_10072417C @ 0x100724360 // > sub_100724ACC @ 0x100724c4c // // 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:06 +0000 // size_t __fastcall sub_100722F34(void *a1, unsigned int a2, int a3, char *__s) { signed int v8; // w0 size_t v9; // x24 char *v10; // x0 char *v11; // x22 if ( __s ) { v8 = strlen(__s); if ( v8 <= (int)a2 ) v9 = (unsigned int)v8; else v9 = a2; memcpy(a1, __s, (int)v9); } else { v10 = sub_10070A75C(); if ( v10 ) v11 = v10; else v11 = "Enter PEM pass phrase:"; if ( (unsigned int)sub_10070A774((__int64)a1, 4, a2, v11, a3) ) { LABEL_12: sub_100706FB0(9, 100, 109, (__int64)"pem_lib.c", 110); bzero(a1, a2); return 0xFFFFFFFFLL; } else { while ( 1 ) { v9 = strlen((const char *)a1); if ( (int)v9 > 3 ) break; fprintf(__stderrp, "phrase is too short, needs to be at least %d chars\n", 4); if ( (unsigned int)sub_10070A774((__int64)a1, 4, a2, v11, a3) ) goto LABEL_12; } } } return v9; }
GD Web Decomp Icon

GD Web Decomp

Raw Source