// // sub_8697F4 from 0x8697f4 to 0x869888 (148 bytes) // // 1 xrefs: // > @ 0xac128c // // 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 // int __fastcall sub_8697F4(int **a1, _BYTE *a2, int a3, int a4, int a5, int a6) { int *v6; // r3 int v9; // r0 int *v10; // r0 _BYTE *v11; // [sp+0h] [bp-8h] int v12; // [sp+4h] [bp-4h] v6 = *a1; if ( !*a1 ) { v11 = a2; v12 = a3; v9 = BN_new(); a2 = v11; a3 = v12; *a1 = (int *)v9; if ( !v9 ) return 0; v6 = (int *)v9; } if ( BN_bin2bn(a2, a3, v6) ) return 1; v10 = *a1; if ( !*a1 ) return 0; if ( (*(_DWORD *)(a6 + 20) & 1) != 0 ) BN_clear_free(v10); else BN_free((int)v10); *a1 = nullptr; return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source