// // sub_848A84 from 0x848a84 to 0x848b3a (182 bytes) // // 2 xrefs: // > sub_848CAC @ 0x848e20 // > sub_848CAC @ 0x848ee4 // // 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:02:26 +0000 // int __fastcall sub_848A84(int a1) { int v1; // r6 int v3; // r3 int v4; // r3 int result; // r0 const char *v6; // r2 int v7; // [sp+4h] [bp-4h] BYREF v1 = a1 + 1160; v7 = 0; if ( !sub_84D8D8(a1 + 1160, a1) ) { LABEL_9: result = 0; *(_DWORD *)(a1 + 1144) = 0; return result; } if ( (*(_DWORD *)(a1 + 1188) & *(_DWORD *)(a1 + 1184) & 4) != 0 ) { result = sub_84D8EC(v1, a1, 0, &v7); if ( result ) return result; v3 = v7; if ( v7 == 1 ) { *(_DWORD *)(a1 + 1144) = 5; return result; } } else { v3 = v7; } if ( v3 ) return 0; v4 = *(_DWORD *)(a1 + 1184) & *(_DWORD *)(a1 + 1188); if ( (v4 & 2) != 0 ) { if ( *(_BYTE *)(a1 + 620) ) return sub_848658(a1); goto LABEL_9; } if ( (v4 & 1) == 0 ) { sub_8280FC(*(_DWORD *)a1, "No known authentication mechanisms supported!\n", v4 << 30); return 67; } if ( !*(_BYTE *)(a1 + 620) ) goto LABEL_9; v6 = *(const char **)(a1 + 376); if ( !v6 ) v6 = &byte_BF4ECA; result = sub_84A864(a1 + 1088, "USER %s", v6); if ( !result ) *(_DWORD *)(a1 + 1144) = 7; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source