//
// GJBaseGameLayer::setupReplay from 0x5b0fac to 0x5b0ff8 (76 bytes)
//
// 1 xrefs:
// > LevelInfoLayer::loadReplay @ 0x49a3ca
//
// 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:53:32 +0000
//
int __fastcall GJBaseGameLayer::setupReplay(int result, int a2, int a3, int a4)
{
int v4; // r6
int v5[4]; // [sp+0h] [bp-10h] BYREF
v5[0] = result;
v5[1] = a2;
v5[2] = a3;
v5[3] = a4;
v4 = result;
if ( *(_BYTE *)(result + 10728) )
{
std::string::basic_string(v5, a2);
GJBaseGameLayer::parseRecording(v4, (int)v5, 0);
return std::string::~string((int)v5);
}
return result;
}