// // sub_8A4D0 from 0x8a4d0 to 0x8a5d0 (256 bytes) // // 1 xrefs: // > sub_89F0C @ 0x89f28 // // 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 12:14:11 +0000 // __int64 __fastcall sub_8A4D0(__int64 a1, __int64 a2, int a3, _DWORD *a4) { unsigned int v8; // w9 __int64 v9; // x1 int v10; // w8 int v11; // w23 int v13; // [xsp+Ch] [xbp-24h] BYREF if ( !*(_QWORD *)(a1 + 376) ) return 31; sub_8A454(1u, &v13, *(_QWORD *)(a1 + 8)); for ( ; a3; *a4 += v11 ) { v8 = *(_DWORD *)(a1 + 464); if ( !v8 ) { v9 = *(_QWORD *)(a1 + 376); *(_DWORD *)(a1 + 460) = 0; sub_F0350(a1, v9); v8 = *(_DWORD *)(a1 + 464); if ( !v8 ) break; } v10 = *(_DWORD *)(a1 + 460); v11 = a3; if ( v10 + a3 >= v8 ) { v11 = v8 - v10; *(_DWORD *)(a1 + 464) = 0; } memcpy( (void *)(a2 + (unsigned int)(v13 * *a4)), (const void *)(*(_QWORD *)(a1 + 440) + (unsigned int)(v13 * v10)), (unsigned int)(v13 * v11)); a3 -= v11; *(_DWORD *)(a1 + 460) += v11; } if ( (unsigned int)sub_F01B0(*(_QWORD *)(a1 + 376)) != 4 ) return 0; *a4 = 0; return 16; }
GD Web Decomp Icon

GD Web Decomp

Raw Source