// // bn_cmp_part_words from 0x9e8e1c to 0x9e8e88 (108 bytes) // // 5 xrefs: // > bn_mul_recursive @ 0x9eadac // > bn_mul_recursive @ 0x9eadc4 // > bn_mul_part_recursive @ 0x9eb69c // > bn_mul_part_recursive @ 0x9eb6b4 // > @ 0x7957c // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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 12:07:25 +0000 // int __fastcall bn_cmp_part_words(int a1, int a2, int a3, int a4) { int v4; // r12 int v5; // t1 int v7; // r12 int v8; // r12 int v9; // t1 int v10; // t1 if ( a4 < 0 ) { v7 = a2 + 4 * (a3 - a4); v9 = *(_DWORD *)(v7 - 4); v8 = v7 - 4; if ( v9 ) return -1; while ( ++a4 ) { v10 = *(_DWORD *)(v8 - 4); v8 -= 4; if ( v10 ) return -1; } return bn_cmp_words(a1, a2, a3); } if ( !a4 ) return bn_cmp_words(a1, a2, a3); v4 = a1 + 4 * (a3 + a4); while ( 1 ) { v5 = *(_DWORD *)(v4 - 4); v4 -= 4; if ( v5 ) break; if ( !--a4 ) return bn_cmp_words(a1, a2, a3); } return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source