// // sub_1005106CC from 0x1005106cc to 0x100510754 (136 bytes) // // 1 xrefs: // > @ 0x1008587d0 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // __int64 __fastcall sub_1005106CC(__int64 *a1, __int64 a2, void *__dst, int a4, __int64 a5, _DWORD *a6) { __int64 v6; // x9 int v7; // w8 __int64 v9; // x10 const void *v10; // x1 const void *v11; // x11 if ( a2 ) { v6 = *a1; *a6 = *(_DWORD *)(*a1 + 564); v7 = *(_DWORD *)(v6 + 564) * a4; if ( v7 > *(_DWORD *)(v6 + 568) ) return 28; v9 = *(_QWORD *)(v6 + 8); v10 = *(const void **)(v6 + 544); if ( v9 != *(_QWORD *)(v6 + 576) ) { v11 = *(const void **)(v6 + 552); *(_QWORD *)(v6 + 544) = v11; *(_QWORD *)(v6 + 552) = v10; *(_WORD *)(v6 + 584) = *(unsigned __int8 *)(v6 + 585); *(_QWORD *)(v6 + 576) = v9; v10 = v11; } memcpy(__dst, v10, 4LL * v7); } return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source