// // bn_mul_low_normal from 0x7d71a0 to 0x7d7258 (184 bytes) // // 3 xrefs: // > bn_mul_low_recursive @ 0x7d72b4 // > bn_mul_low_recursive @ 0x7d72cc // > @ 0x5feac // // 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 bn_mul_low_normal(int a1, int a2, _DWORD *a3, int a4) { _DWORD *v4; // r5 int v5; // r6 int v6; // r7 int v7; // r4 int result; // r0 int v10; // r9 int v11; // r10 int v12; // t1 v4 = a3; v5 = a4; v6 = a4 - 1; v7 = a1; result = bn_mul_words(a1, a2, a4, *a3); if ( v6 > 0 ) { v10 = v5 - 2; v11 = v5 - 3; do { bn_mul_add_words(v7 + 4, a2, v6, v4[1]); v5 -= 4; v6 -= 4; result = v7 + 8; if ( v10 <= 0 ) break; bn_mul_add_words(result, a2, v10, v4[2]); result = v7 + 12; v7 += 16; if ( v11 <= 0 ) break; bn_mul_add_words(result, a2, v11, v4[3]); result = v7; if ( v5 <= 0 ) break; v12 = v4[4]; v4 += 4; result = bn_mul_add_words(v7, a2, v5, v12); v11 -= 4; v10 -= 4; } while ( v6 > 0 ); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source