// // sub_9E16AC from 0x9e16ac to 0x9e1838 (396 bytes) // // 22 xrefs: // > sub_9E1868 @ 0x9e1be4 // > sub_9E1868 @ 0x9e1ce4 // > sub_9E1868 @ 0x9e1ebc // > sub_9E1868 @ 0x9e1ee0 // > sub_9E1868 @ 0x9e1fb8 // > sub_9E1868 @ 0x9e2018 // > sub_9E1868 @ 0x9e22c4 // > sub_9E1868 @ 0x9e235c // > sub_9E1868 @ 0x9e23b0 // > sub_9E1868 @ 0x9e23e0 // > sub_9E1868 @ 0x9e2428 // > sub_9E2500 @ 0x9e2880 // > sub_9E2500 @ 0x9e2ad8 // > sub_9E2500 @ 0x9e2b28 // > sub_9E2500 @ 0x9e2bc8 // > sub_9E2C7C @ 0x9e2d08 // > sub_9E2C7C @ 0x9e302c // > sub_9E2C7C @ 0x9e3390 // > sub_9E2C7C @ 0x9e3474 // > sub_9E2C7C @ 0x9e34e0 // > sub_9E2C7C @ 0x9e35b8 // > sub_9E2C7C @ 0x9e365c // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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 12:07:21 +0000 // int __fastcall sub_9E16AC(const void **a1, int *a2, size_t *a3, unsigned int *a4, char a5) { const void *v6; // r0 bool v7; // zf size_t v8; // r12 unsigned int v9; // lr int v12; // r3 _BYTE *v14; // r3 void *v16; // r0 bool v17; // cf int v18; // r0 int v19; // r0 int v20; // r3 v6 = *a1; v7 = v6 == nullptr; if ( !v6 ) v7 = a2 == nullptr; if ( v7 ) OPENSSL_die("assertion failed: *sbuffer != NULL || buffer != NULL", "crypto/bio/b_print.c", 827); v8 = *a3; v9 = *a4; if ( *a3 > *a4 ) OPENSSL_die("assertion failed: *currlen <= *maxlen", "crypto/bio/b_print.c", 830); v12 = (int)a2; if ( a2 ) v12 = 1; if ( v8 != v9 ) v12 = 0; if ( !v12 ) { LABEL_10: if ( v9 > v8 ) { v14 = *a1; if ( *a1 ) { *a3 = v8 + 1; v14[v8] = a5; return 1; } goto LABEL_24; } return 1; } if ( v9 <= 0x7FFFFBFF ) { v18 = *a2; *a4 = v9 + 1024; if ( v18 ) { v19 = CRYPTO_realloc(v18, v9 + 1024, "crypto/bio/b_print.c", 848); if ( v19 ) { v9 = *a4; v8 = *a3; *a2 = v19; goto LABEL_10; } } else { v16 = (void *)CRYPTO_malloc(v9 + 1024, "crypto/bio/b_print.c", 838); *a2 = (int)v16; if ( v16 ) { v8 = *a3; if ( *a3 ) { if ( !*a1 ) OPENSSL_die("assertion failed: *sbuffer != NULL", "crypto/bio/b_print.c", 842); memcpy(v16, *a1, *a3); v8 = *a3; } v17 = v8 >= *a4; *a1 = nullptr; if ( !v17 ) { LABEL_24: v20 = *a2; *a3 = v8 + 1; *(_BYTE *)(v20 + v8) = a5; return 1; } return 1; } } } return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source