// // sub_8696C4 from 0x8696c4 to 0x869744 (128 bytes) // // 2 xrefs: // > @ 0xac1270 // > @ 0xac1290 // // 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_8696C4(_DWORD **a1, _BYTE *a2) { _DWORD *v2; // r4 int v4; // r6 int v5; // r3 int v6; // r0 v2 = *a1; if ( !*a1 ) return -1; if ( (BN_num_bits(*a1) & 7) == 0 ) { if ( !a2 ) { v4 = 1; goto LABEL_7; } v4 = 1; *a2++ = 0; goto LABEL_6; } if ( a2 ) { v4 = 0; LABEL_6: BN_bn2bin(v2, a2); goto LABEL_7; } v4 = 0; LABEL_7: v5 = BN_num_bits(v2); v6 = v5 + 7; if ( v5 + 7 < 0 ) v6 = v5 + 14; return v4 + (v6 >> 3); }
GD Web Decomp Icon

GD Web Decomp

Raw Source