// // sub_1005F6940 from 0x1005f6940 to 0x1005f6b2f (495 bytes) // // 1 xrefs: // > serializeCheckpoint @ 0x1005f820c // // 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 12:34:26 +0000 // _QWORD *__fastcall sub_1005F6940(_QWORD *a1, _QWORD *a2) { int v2; // r13d __int64 v3; // r13 __int64 v4; // rbx __int64 v5; // rcx int v6; // eax int v8; // [rsp+10h] [rbp-260h] BYREF _BYTE v9[12]; // [rsp+14h] [rbp-25Ch] BYREF __int64 v10; // [rsp+20h] [rbp-250h] void *v11; // [rsp+28h] [rbp-248h] _BYTE v12[504]; // [rsp+30h] [rbp-240h] BYREF __int16 v13; // [rsp+228h] [rbp-48h] char v14; // [rsp+22Ah] [rbp-46h] void *__p; // [rsp+238h] [rbp-38h] *(_QWORD *)&v9[4] = 0; v10 = 500; v11 = v12; v13 = 11266; v14 = 0; v2 = -1431655765 * ((__int64)(a2[1] - *a2) >> 4); *(_QWORD *)v9 = (unsigned int)v2; sub_1005BE520((__int64)&v9[4], (int *)v9); if ( v2 > 0 ) { v3 = v2 & 0x7FFFFFFF; v4 = 0; do { v5 = *(_QWORD *)(*a2 + v4); v6 = 0; if ( v5 ) v6 = *(_DWORD *)(v5 + 916); v8 = v6; sub_1005BE520((__int64)&v9[4], &v8); sub_1005BE330((__int64)&v9[4], (double *)(*a2 + v4 + 8)); sub_1005BE330((__int64)&v9[4], (double *)(*a2 + v4 + 16)); sub_1005BE140((__int64)&v9[4], (float *)(*a2 + v4 + 24)); sub_1005BE140((__int64)&v9[4], (float *)(*a2 + v4 + 28)); sub_1005BE140((__int64)&v9[4], (float *)(*a2 + v4 + 32)); sub_1005BE140((__int64)&v9[4], (float *)(*a2 + v4 + 36)); sub_1005BE140((__int64)&v9[4], (float *)(*a2 + v4 + 40)); sub_1005BE140((__int64)&v9[4], (float *)(*a2 + v4 + 44)); v4 += 48; --v3; } while ( v3 ); } sub_1005BED90(a1, (__int64)&v9[4]); if ( (v13 & 1) != 0 ) operator delete(__p); if ( v11 != v12 && v11 != nullptr ) operator delete[](v11); return a1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source