// // sub_E360C from 0xe360c to 0xe376c (352 bytes) // // 2 xrefs: // > sub_E0F84 @ 0xe11b4 // > sub_E376C @ 0xe3840 // // 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 12:14:58 +0000 // __int64 __fastcall sub_E360C(__int64 a1, __int64 a2, int a3) { unsigned int v3; // w8 unsigned int v4; // w9 __int64 v5; // x10 unsigned __int64 v6; // x11 char i; // w13 unsigned __int64 v8; // x12 unsigned __int64 v9; // x14 __int64 v10; // x13 __int64 v11; // x15 unsigned __int64 v12; // x11 __int64 v13; // x13 __int64 v14; // x12 int v15; // w8 char v16; // w10 v3 = 31; if ( !a1 || !a2 ) return v3; v4 = 0; LABEL_4: v5 = 0; v6 = 0; for ( i = 16; ; i -= 8 ) { v8 = *(unsigned __int8 *)(a1 + v5); if ( !*(_BYTE *)(a1 + v5) ) break; v9 = (unsigned int)v6 | v8; if ( (_DWORD)v5 == 2 ) { if ( v4 != a3 ) { v10 = v4; v11 = v4 | 1LL; *(_BYTE *)(a2 + v4) = aAbcdefghijklmn[(int)v6 >> 18]; if ( (_DWORD)v11 != a3 ) { *(_BYTE *)(a2 + v11) = aAbcdefghijklmn[(v6 >> 12) & 0x3F]; if ( (v4 | 2) != a3 ) { *(_BYTE *)(a2 + (v4 | 2LL)) = aAbcdefghijklmn[(v9 >> 6) & 0x3F]; if ( (v4 | 3) != a3 ) { a1 += v5 + 1; v4 += 4; *(_BYTE *)(a2 + (v10 | 3)) = aAbcdefghijklmn[v8 & 0x3F]; goto LABEL_4; } } } } return 31; } v6 = (unsigned int)((_DWORD)v9 << 8); ++v5; } if ( (_DWORD)v5 ) { if ( v4 == a3 ) return 31; v12 = (unsigned int)((_DWORD)v6 << i); v13 = v4 | 1LL; *(_BYTE *)(a2 + v4) = aAbcdefghijklmn[(int)v12 >> 18]; if ( (_DWORD)v13 == a3 ) return 31; v14 = v4 | 2LL; *(_BYTE *)(a2 + v13) = aAbcdefghijklmn[(v12 >> 12) & 0x3F]; if ( (_DWORD)v5 == 1 ) { if ( (_DWORD)v14 == a3 ) return 31; v15 = v4 | 3; v16 = 61; } else { if ( (_DWORD)v14 == a3 ) return 31; v16 = aAbcdefghijklmn[(v12 >> 6) & 0x3F]; v15 = v4 | 3; } *(_BYTE *)(a2 + v14) = v16; if ( v15 != a3 ) { v4 += 4; *(_BYTE *)(a2 + v15) = 61; goto LABEL_23; } return 31; } LABEL_23: if ( v4 == a3 ) return 31; v3 = 0; *(_BYTE *)(a2 + (int)v4) = 0; return v3; }
GD Web Decomp Icon

GD Web Decomp

Raw Source