// // sub_A969B0 from 0xa969b0 to 0xa96b1c (364 bytes) // // 1 xrefs: // > @ 0xd264d8 // // 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:09:00 +0000 // char *__fastcall sub_A969B0(int a1, const char *a2, char *a3) { bool v3; // zf size_t v6; // r6 size_t v7; // r0 char *v8; // r0 char *v9; // r4 int v10; // r2 void *v12; // r4 v3 = a2 == nullptr; if ( !a2 ) v3 = a3 == nullptr; if ( !v3 ) { if ( a3 ) { if ( !a2 ) { v12 = CRYPTO_strdup(a3, (int)"crypto/dso/dso_dlfcn.c", 209); if ( !v12 ) { v10 = 211; goto LABEL_19; } return (char *)v12; } if ( *a2 != 47 ) { v6 = strlen(a3); v7 = strlen(a2) + v6; if ( v6 ) { if ( a3[v6 - 1] == 47 ) { --v6; --v7; } } v8 = (char *)CRYPTO_malloc((void *)(v7 + 2), (int)"crypto/dso/dso_dlfcn.c", 231); v9 = v8; if ( v8 ) { strcpy(v8, a3); v9[v6] = 47; strcpy(&v9[v6 + 1], a2); return v9; } v10 = 233; goto LABEL_19; } } v12 = CRYPTO_strdup(a2, (int)"crypto/dso/dso_dlfcn.c", 199); if ( !v12 ) { v10 = 201; LABEL_19: ERR_put_error(37, 130, 65, (int)"crypto/dso/dso_dlfcn.c", v10); return nullptr; } return (char *)v12; } ERR_put_error(37, 130, 67, (int)"crypto/dso/dso_dlfcn.c", 191); return nullptr; }
GD Web Decomp Icon

GD Web Decomp

Raw Source