//
// ReadArchive::processGOArr from 0x718d94 to 0x718e3a (166 bytes)
//
// 2 xrefs:
// > deserializeGradientObjects @ 0x718e70
// > PlayerCheckpoint::processState @ 0x729d32
//
// 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:51 +0000
//
int __fastcall ReadArchive::processGOArr(ReadArchive *this, cocos2d::CCArray **a2)
{
int i; // r6
int v6; // [sp+4h] [bp-2Ch] BYREF
cocos2d::CCObject *v7; // [sp+8h] [bp-28h] BYREF
_DWORD v8[3]; // [sp+Ch] [bp-24h] BYREF
GJBaseGameLayer *v9[5]; // [sp+18h] [bp-18h] BYREF
memset(v8, 0, sizeof(v8));
ReadArchive::processString(this, v8);
ReadArchive::ReadArchive((int *)v9, (unsigned __int8 *)v8, "|", *((_DWORD *)this + 4));
v6 = 0;
ReadArchive::process((ReadArchive *)v9, &v6);
cocos2d::CCArray::removeAllObjects(*a2);
for ( i = 0; i < v6; ++i )
{
v7 = nullptr;
ReadArchive::process(v9, &v7);
if ( v7 )
cocos2d::CCArray::addObject(*a2, v7);
}
std::__vector_base::~__vector_base((int)v9);
return std::string::~string((int)v8);
}