// // sub_14054E6E0 from 0x14054e6e0 to 0x14054e8f0 (528 bytes) // // 3 xrefs: // > sub_14052AC60 @ 0x14052ae16 // > ReadArchive::process_9 @ 0x14052afec // > @ 0x14092bc1c // // 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:34:07 +0000 // // Hidden C++ exception states: #wind=3 void __fastcall sub_14054E6E0(__int64 *a1, unsigned __int64 a2) { __int64 v4; // r8 __int64 v5; // rdi unsigned __int64 v6; // r15 void **v7; // rsi void **j; // rbx unsigned __int64 v9; // rdx unsigned __int64 v10; // rcx unsigned __int64 v11; // rbp _QWORD *v12; // r12 __int64 v13; // rbx unsigned __int64 v14; // rdi unsigned __int64 i; // rsi __int64 *v16; // [rsp+38h] [rbp-40h] BYREF _QWORD *v17; // [rsp+40h] [rbp-38h] unsigned __int64 v18; // [rsp+48h] [rbp-30h] __int64 v19; // [rsp+50h] [rbp-28h] __int64 v20; // [rsp+58h] [rbp-20h] v4 = *a1; v5 = a1[1]; v6 = (v5 - *a1) / 232; if ( a2 >= v6 ) { if ( a2 > v6 ) { v9 = (a1[2] - v4) / 232; if ( a2 <= v9 ) { for ( i = a2 - v6; i; --i ) { sub_14030A280(v5); v5 += 232; } a1[1] = v5; } else { if ( a2 > 0x11A7B9611A7B961LL ) sub_14005A170(); v10 = v9 >> 1; if ( v9 <= 0x11A7B9611A7B961LL - (v9 >> 1) ) { v11 = v9 + v10; if ( v9 + v10 >= a2 ) { if ( v11 > 0x11A7B9611A7B961LL ) sub_140009CF0(v10, v9, 0x11A7B9611A7B961LL); } else { v11 = a2; } } else { v11 = 0x11A7B9611A7B961LL; } v12 = sub_14003D460(232 * v11); v13 = (__int64)&v12[29 * v6]; v16 = a1; v17 = v12; v18 = v11; v19 = v13; v20 = v13; v14 = a2 - v6; if ( a2 != v6 ) { do { sub_14030A280(v13); v13 += 232; --v14; } while ( v14 ); } v20 = v13; sub_14035C3E0(*a1, a1[1], (__int64)v12, (__int64)a1); v17 = nullptr; sub_14035D5C0((__int64)a1, (__int64)v12, a2, v11); sub_14035D500(&v16); } } } else { v7 = (void **)(v4 + 232 * a2); for ( j = v7; j != (void **)v5; j += 29 ) { sub_140069730((__int64)(j + 25)); sub_140358980(j, (__int64)j); } a1[1] = (__int64)v7; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source