// // sub_6FD68 from 0x6fd68 to 0x6fdf8 (144 bytes) // // 3 xrefs: // > sub_6FCC8 @ 0x6fcf8 // > sub_6FD38 @ 0x6fd54 // > sub_6FE44 @ 0x6fe74 // // 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:59 +0000 // __int64 __fastcall sub_6FD68(__int64 a1, unsigned int a2) { __int64 result; // x0 __int64 v5; // x8 void *v6; // x8 void *dest; // [xsp+8h] [xbp-18h] BYREF if ( *(_DWORD *)(a1 + 8) > (signed int)a2 ) return 28; dest = nullptr; if ( a2 ) { result = sub_6FDF8(a2, &dest); if ( (_DWORD)result ) return result; v5 = *(int *)(a1 + 8); if ( (_DWORD)v5 ) memcpy(dest, *(const void **)a1, 8 * v5); } if ( *(int *)(a1 + 12) >= 1 ) sub_65158(*(_QWORD *)a1); v6 = dest; *(_DWORD *)(a1 + 12) = a2; *(_QWORD *)a1 = v6; return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source