// // sub_64C30 from 0x64c30 to 0x64c98 (104 bytes) // // 1 xrefs: // > sub_6461C @ 0x64758 // // 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:13:55 +0000 // __int64 __fastcall sub_64C30(__int64 a1, int a2) { int v2; // w8 int v4; // w9 if ( a2 < 0 ) return 28; v2 = *(_DWORD *)(a1 + 8); if ( v2 <= a2 ) return 28; v4 = v2 + ~a2; if ( v4 >= 1 ) { memmove((void *)(*(_QWORD *)a1 + 16LL * a2), (const void *)(*(_QWORD *)a1 + 16LL * a2 + 16), 16LL * v4); v2 = *(_DWORD *)(a1 + 8); } *(_DWORD *)(a1 + 8) = v2 - 1; return 0; }