//
// sub_A2F30 from 0xa2f30 to 0xa2f62 (50 bytes)
//
// 2 xrefs:
// > sub_A2EEE @ 0xa2f16
// > sub_A3688 @ 0xa3698
//
// 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_A2F30(int a1)
{
__int64 v1; // kr00_8
__int64 v2; // kr08_8
char v3; // r1
v1 = *(_QWORD *)(a1 + 8);
if ( v1 != *(_QWORD *)(a1 + 400) )
{
*(_QWORD *)(a1 + 400) = v1;
v2 = *(_QWORD *)(a1 + 380);
*(_DWORD *)(a1 + 380) = HIDWORD(v2);
*(_DWORD *)(a1 + 384) = v2;
v3 = *(_BYTE *)(a1 + 409);
*(_BYTE *)(a1 + 409) = 0;
*(_BYTE *)(a1 + 408) = v3;
}
return 0;
}