// // ASN1_INTEGER_set_uint64 from 0xa770ac to 0xa77150 (164 bytes) // // 4 xrefs: // > PKCS5_pbe2_set_scrypt @ 0xadc5fc // > PKCS5_pbe2_set_scrypt @ 0xadc610 // > PKCS5_pbe2_set_scrypt @ 0xadc624 // > @ 0x8333c // // 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:08:44 +0000 // const char *__fastcall ASN1_INTEGER_set_uint64(signed int *a1, unsigned __int64 a2) { int v3; // r12 unsigned __int64 v4; // r4 int v5; // r6 char *v7; // r12 char v8[8]; // [sp+0h] [bp-8h] BYREF if ( a2 > 0xFF ) v3 = 0; a1[1] = 2; if ( a2 <= 0xFF ) { v5 = 1; v8[0] = a2; return ASN1_STRING_set(a1, v8, v5); } v4 = a2; while ( 1 ) { v4 >>= 8; v5 = v3 + 1; if ( !v4 ) break; ++v3; } v7 = &v8[v3]; do { *v7-- = a2; a2 >>= 8; } while ( v7 >= v8 ); if ( v5 ) return ASN1_STRING_set(a1, v8, v5); return nullptr; }