// // sub_140401A50 from 0x140401a50 to 0x140401bcc (380 bytes) // // 4 xrefs: // > sub_140401DD0 @ 0x1404020c5 // > @ 0x1408c6c40 // > @ 0x1408c6c78 // > @ 0x140925b5c // // This function is hookable on this platform (idp: pc, 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 11:31:55 +0000 // _QWORD *__fastcall sub_140401A50(__int64 a1, _QWORD *a2, _QWORD *a3) { int *v6; // rbp int *v7; // rdi unsigned int v8; // ebx int v9; // r8d __int64 **v10; // rcx __int64 *v11; // rdx __int64 v12; // rax __int64 v13; // rdx __int64 *i; // rax _BYTE v16[40]; // [rsp+20h] [rbp-28h] BYREF int v17; // [rsp+50h] [rbp+8h] BYREF if ( *(_DWORD *)(a1 + 1036) != 1268 || *(_QWORD *)(a1 + 1856) == *(_QWORD *)(a1 + 1864) ) return a2; sub_140069360(a3, a2); a3[8] = a2[8]; v6 = *(int **)(a1 + 1864); v7 = *(int **)(a1 + 1856); if ( v7 != v6 ) { while ( 1 ) { v8 = v7[2]; v9 = *v7; v17 = *v7; v10 = (__int64 **)a3[1]; v11 = (__int64 *)(a3[3] + 16 * (a3[6] & (0x100000001B3LL * (((unsigned __int64)v8 >> 24) ^ (0x100000001B3LL * (BYTE2(v8) ^ (0x100000001B3LL * ((0x100000001B3LL * ((unsigned __int8)v8 ^ 0xCBF29CE484222325uLL)) ^ BYTE1(v8))))))))); v12 = v11[1]; if ( (__int64 **)v12 == v10 ) goto LABEL_9; v13 = *v11; if ( v8 != *(_DWORD *)(v12 + 16) ) break; LABEL_10: if ( !v12 ) v12 = a3[1]; if ( (__int64 **)v12 != v10 ) v8 = *(_DWORD *)(v12 + 20); for ( i = *v10; i != (__int64 *)v10; i = (__int64 *)*i ) { if ( *((_DWORD *)i + 5) == v9 ) { *((_DWORD *)i + 5) = v8; v9 = v17; } } v7 += 4; *(_DWORD *)(*(_QWORD *)sub_140067F60(a3, (__int64)v16, (unsigned __int8 *)&v17) + 20LL) = v8; if ( v7 == v6 ) goto LABEL_19; } while ( v12 != v13 ) { v12 = *(_QWORD *)(v12 + 8); if ( v8 == *(_DWORD *)(v12 + 16) ) goto LABEL_10; } LABEL_9: v12 = 0; goto LABEL_10; } LABEL_19: a3[8] = sub_1404016E0((__int64)a3); return a3; }
GD Web Decomp Icon

GD Web Decomp

Raw Source