// // sub_853D8 from 0x853d8 to 0x85468 (144 bytes) // // 4 xrefs: // > sub_85338 @ 0x85368 // > sub_853A8 @ 0x853c4 // > sub_857D4 @ 0x857f0 // > sub_85850 @ 0x85880 // // 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_853D8(__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_85468(a2, &dest); if ( (_DWORD)result ) return result; v5 = *(int *)(a1 + 8); if ( (_DWORD)v5 ) memcpy(dest, *(const void **)a1, 16 * 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