// // sub_140100A80 from 0x140100a80 to 0x140100c1c (412 bytes) // // 2 xrefs: // > sub_1400EACF0 @ 0x1400eb272 // > @ 0x140915794 // // 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:26:42 +0000 // // Hidden C++ exception states: #wind=2 _QWORD *__fastcall sub_140100A80(__int64 *a1, __int64 a2, __int64 a3) { __int64 v6; // r8 __int64 v7; // r14 __int64 v8; // rdx unsigned __int64 v9; // rbp unsigned __int64 v10; // rdx unsigned __int64 v11; // rcx unsigned __int64 v12; // rbx _QWORD *v13; // rdi _QWORD *v14; // r14 __int64 v15; // rdx __int64 v16; // rcx _QWORD *v17; // r8 v6 = *a1; v7 = (a2 - *a1) / 80; v8 = (a1[1] - *a1) / 80; if ( v8 == 0x333333333333333LL ) sub_14005A170(); v9 = v8 + 1; v10 = (a1[2] - v6) / 80; v11 = v10 >> 1; if ( v10 <= 0x333333333333333LL - (v10 >> 1) ) { v12 = v9; if ( v11 + v10 >= v9 ) v12 = v11 + v10; if ( v12 > 0x333333333333333LL ) sub_140009CF0(v11, v10, v6); } else { v12 = 0x333333333333333LL; } v13 = sub_14003D460(80 * v12); v14 = &v13[10 * v7]; *v14 = *(_QWORD *)a3; sub_14003F4F0((__int64)(v14 + 1), a3 + 8); sub_14003F4F0((__int64)(v14 + 5), a3 + 40); *((_BYTE *)v14 + 72) = *(_BYTE *)(a3 + 72); v15 = a1[1]; v16 = *a1; v17 = v13; if ( a2 != v15 ) { sub_1401009C0(v16, a2, v13); v17 = v14 + 10; v15 = a1[1]; v16 = a2; } sub_1401009C0(v16, v15, v17); sub_140101170(a1, v13, v9, v12); return v14; }
GD Web Decomp Icon

GD Web Decomp

Raw Source