// // BN_set_params from 0xff7f84 to 0xff8028 (164 bytes) // // 1 xrefs: // > @ 0xa6eb8 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // 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 13:15:49 +0000 // unsigned __int64 __fastcall BN_set_params(unsigned __int64 result, int a2, int a3, int a4) { int v4; // w4 if ( (result & 0x80000000) == 0 ) { if ( (int)result > 31 ) LODWORD(result) = 31; v4 = 1 << result; dword_1566330 = result; result = (unsigned __int64)&unk_1551000; dword_1551C24 = v4; } if ( (a2 & 0x80000000) == 0 ) { if ( a2 > 31 ) a2 = 31; result = (unsigned int)(1 << a2); dword_1566334 = a2; dword_1551C28 = 1 << a2; } if ( (a3 & 0x80000000) == 0 ) { if ( a3 > 31 ) a3 = 31; dword_1566338 = a3; result = (unsigned int)(1 << a3); dword_1551C2C = 1 << a3; } if ( (a4 & 0x80000000) == 0 ) { if ( a4 > 31 ) a4 = 31; dword_156633C = a4; dword_1551C30 = 1 << a4; return (unsigned int)(1 << a4); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source