//
// WriteArchive::process from 0x721a54 to 0x721b62 (270 bytes)
//
// 3 xrefs:
// > verifyEffectManagerStateMatch @ 0x727196
// > verifyEffectManagerStateMatch @ 0x7271a0
// > processEffectManagerState @ 0x727c62
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:57:59 +0000
//
void __fastcall WriteArchive::process(int a1, _DWORD *a2)
{
size_t v4; // r2
size_t v5; // r2
int i; // r6
int v7; // r5
size_t v8; // r2
int v9; // r3
size_t v10; // r2
int v11; // r3
size_t v12; // r2
int v13; // r3
size_t v14; // r2
int v15; // r3
size_t v16; // r2
int v17; // r3
size_t v18; // r2
int v19; // r3
int v20; // [sp+Ch] [bp+0h] BYREF
size_t v21; // [sp+10h] [bp+4h] BYREF
unsigned __int8 v22[12]; // [sp+14h] [bp+8h] BYREF
int v23[131]; // [sp+20h] [bp+14h] BYREF
WriteArchive::WriteArchive((WriteArchive *)v23, ":");
v20 = -1227133513 * ((a2[1] - *a2) >> 3);
WriteArchive::process((WriteArchive *)v23, (unsigned __int8 *)&v20, v4, -1227133513);
for ( i = 0; i < v20; ++i )
{
v7 = *a2 + 56 * i;
WriteArchive::process((WriteArchive *)v23, (bool *)v7, v5, v20);
WriteArchive::process((WriteArchive *)v23, (bool *)(v7 + 1), v8, v9);
WriteArchive::process((WriteArchive *)v23, (double *)(v7 + 8));
WriteArchive::process((WriteArchive *)v23, (double *)(v7 + 16));
WriteArchive::process((WriteArchive *)v23, (unsigned __int8 *)(v7 + 24), v10, v11);
WriteArchive::process((WriteArchive *)v23, (unsigned __int8 *)(v7 + 28), v12, v13);
WriteArchive::process((WriteArchive *)v23, (unsigned __int8 *)(v7 + 32), v14, v15);
WriteArchive::process((WriteArchive *)v23, (bool *)(v7 + 36), v16, v17);
v21 = *(_DWORD *)(v7 + 40);
WriteArchive::process((WriteArchive *)v23, &v21);
WriteArchive::process((int)v23, (size_t *)(v7 + 44));
}
WriteArchive::getString((WriteArchive *)v22, v23);
WriteArchive::processString(a1, v22, v18, v19);
std::string::~string((int)v22);
WriteArchive::~WriteArchive((WriteArchive *)v23);
}