// // o2i_SCT_signature from 0x10013e0 to 0x1001524 (324 bytes) // // 3 xrefs: // > o2i_SCT @ 0x1001678 // > SCT_new_from_base64 @ 0x10a291c // > @ 0xb4820 // // 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 13:15:54 +0000 // __int64 __fastcall o2i_SCT_signature(__int64 a1, _BYTE **a2, unsigned __int64 a3) { _BYTE *v6; // x20 _BYTE *v7; // x24 unsigned __int64 v8; // x19 unsigned __int64 v9; // x20 __int64 result; // x0 if ( *(_DWORD *)a1 ) { ERR_put_error(50, 112, 103, "crypto/ct/ct_oct.c", 31); return 0xFFFFFFFFLL; } else if ( a3 <= 4 ) { ERR_put_error(50, 112, 107, "crypto/ct/ct_oct.c", 42); return 0xFFFFFFFFLL; } else { v6 = *a2; *(_BYTE *)(a1 + 64) = **a2; *(_BYTE *)(a1 + 65) = v6[1]; if ( (unsigned int)SCT_get_signature_nid() ) { v7 = v6 + 4; v8 = (unsigned __int8)v6[3] | ((unsigned __int8)v6[2] << 8); v9 = *a2 - (v6 + 4) + a3; if ( v8 > v9 ) { ERR_put_error(50, 112, 107, "crypto/ct/ct_oct.c", 58); return 0xFFFFFFFFLL; } else if ( (unsigned int)SCT_set1_signature(a1, v7, v8) == 1 ) { result = (unsigned int)(a3 - (v9 - v8)); *a2 = &v7[v8]; } else { return 0xFFFFFFFFLL; } } else { ERR_put_error(50, 112, 107, "crypto/ct/ct_oct.c", 51); return 0xFFFFFFFFLL; } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source