// // EC_nistz256_pre_comp_free from 0xd97fec to 0xd98060 (116 bytes) // // 2 xrefs: // > sub_D98060 @ 0xd9815c // > @ 0x3f3f0 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // __int64 __fastcall EC_nistz256_pre_comp_free(__int64 result) { __int64 v1; // x19 int v2; // [xsp+2Ch] [xbp+2Ch] BYREF if ( result ) { v1 = result; CRYPTO_atomic_add(result + 32, 0xFFFFFFFFLL, &v2, *(_QWORD *)(result + 40)); result = (unsigned int)v2; if ( v2 <= 0 ) { CRYPTO_free(*(_QWORD *)(v1 + 24), "crypto/ec/ecp_nistz256.c", 1487); CRYPTO_THREAD_lock_free(*(_QWORD *)(v1 + 40)); return CRYPTO_free(v1, "crypto/ec/ecp_nistz256.c", 1489); } } return result; }