//
// sub_A2ED6 from 0xa2ed6 to 0xa2eee (24 bytes)
//
// 2 xrefs:
// > sub_A352C @ 0xa353a
// > sub_A37C0 @ 0xa37e8
//
// 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
//
int __fastcall sub_A2ED6(int a1, int a2)
{
__int64 v2; // kr00_8
v2 = *(_QWORD *)(a2 + 404);
*(_DWORD *)HIDWORD(v2) = v2;
*(_DWORD *)(*(_DWORD *)(a2 + 404) + 4) = HIDWORD(v2);
*(_DWORD *)(a2 + 404) = a2 + 404;
*(_DWORD *)(a2 + 408) = a2 + 404;
return 0;
}