// // sub_14051E3C0 from 0x14051e3c0 to 0x14051e470 (176 bytes) // // 3 xrefs: // > sub_14051D6D0 @ 0x14051d79d // > sub_14051D6D0 @ 0x14051d7ef // > @ 0x14092b2ec // // 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:33:36 +0000 // // Hidden C++ exception states: #wind=1 unsigned __int64 __fastcall sub_14051E3C0(__int64 a1, __int64 a2, __int64 a3) { __int64 *v4; // rdi __int64 v5; // rcx unsigned __int64 result; // rax unsigned __int64 v7; // rdx __int64 v8; // rbx _QWORD *v9; // rax *(_DWORD *)a2 = *(_DWORD *)a3; v4 = (__int64 *)(a2 + 8); *(_QWORD *)(a2 + 8) = 0; *(_QWORD *)(a2 + 16) = 0; *(_QWORD *)(a2 + 24) = 0; v5 = *(_QWORD *)(a3 + 16) - *(_QWORD *)(a3 + 8); result = (unsigned __int64)((unsigned __int128)(v5 * (__int128)0x469EE58469EE5847LL) >> 64) >> 63; v7 = v5 / 232; if ( v5 / 232 ) { if ( v7 > 0x11A7B9611A7B961LL ) sub_14005A170(); v8 = 29 * v7; v9 = sub_14003D460(232 * v7); *v4 = (__int64)v9; v4[1] = (__int64)v9; v4[2] = (__int64)&v9[v8]; result = sub_14035C3E0(*(_QWORD *)(a3 + 8), *(_QWORD *)(a3 + 16), *v4, (__int64)v4); v4[1] = result; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source