// // bn_cmp_words from 0x9e8d94 to 0x9e8e1c (136 bytes) // // 5 xrefs: // > bn_cmp_part_words @ 0x9e8e4c // > bn_mul_high @ 0x9eb200 // > bn_mul_high @ 0x9eb218 // > bn_sqr_recursive @ 0x9ed074 // > @ 0x7956c // // 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_words(int a1, int a2, int a3) { unsigned int v3; // r12 unsigned int v4; // lr int v5; // r3 int v7; // r2 int v8; // r3 unsigned int v9; // lr unsigned int v10; // r12 int v11; // r0 int v12; // r1 unsigned int v13; // t1 unsigned int v14; // t1 v3 = *(_DWORD *)(a2 + 4 * (a3 + 0x3FFFFFFF)); v4 = *(_DWORD *)(a1 + 4 * (a3 + 0x3FFFFFFF)); v5 = 4 * (a3 + 0x3FFFFFFF); if ( v4 != v3 ) { if ( v4 > v3 ) return 1; else return -1; } v7 = a3 - 2; if ( v7 < 0 ) return 0; v8 = v5 - 4; v9 = *(_DWORD *)(a1 + v8); v10 = *(_DWORD *)(a2 + v8); if ( v9 == v10 ) { v11 = a1 + v8; v12 = a2 + v8; while ( v7-- != 0 ) { v13 = *(_DWORD *)(v11 - 4); v11 -= 4; v9 = v13; v14 = *(_DWORD *)(v12 - 4); v12 -= 4; v10 = v14; if ( v9 != v14 ) goto LABEL_12; } return 0; } LABEL_12: if ( v9 > v10 ) return 1; else return -1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source