// // BN_asc2bn from 0x7d7b0c to 0x7d7b98 (140 bytes) // // 2 xrefs: // > sub_82F944 @ 0x82fbd8 // > @ 0x5ff1c // // 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_asc2bn(int ***a1, unsigned __int8 *a2) { int v2; // r3 unsigned __int8 *v3; // r4 int result; // r0 v2 = *a2; v3 = a2; if ( v2 == 45 ) v2 = *++a2; if ( v2 == 48 && (a2[1] & 0xDF) == 0x58 ) { if ( !BN_hex2bn(a1, a2 + 2) ) return 0; } else if ( !BN_dec2bn(a1, a2) ) { return 0; } if ( *v3 != 45 ) return 1; result = 1; if ( (*a1)[1] ) (*a1)[3] = &dword_0 + 1; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source