// // sub_1005D0ECC from 0x1005d0ecc to 0x1005d0f40 (116 bytes) // // 1 xrefs: // > @ 0x1009ab948 // // This function is hookable on this platform (idp: arm, 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:09:31 +0000 // __int64 __fastcall sub_1005D0ECC(__int64 a1, void *__dst, unsigned int a3, _DWORD *a4) { __int64 v6; // x9 unsigned int v7; // w11 size_t v8; // x21 __int64 v9; // x22 v6 = *(unsigned int *)(a1 + 496); v7 = *(_DWORD *)(a1 + 36); if ( (unsigned int)v6 + a3 <= v7 ) v8 = a3; else v8 = v7 - (unsigned int)v6; v9 = 16 * (unsigned int)((unsigned int)v6 + a3 > v7); memcpy(__dst, (const void *)(*(_QWORD *)(a1 + 504) + v6), v8); *a4 = v8; *(_DWORD *)(a1 + 496) += v8; return v9; }
GD Web Decomp Icon

GD Web Decomp

Raw Source