//
// LevelInfoLayer::shouldDownloadLevel from 0x49b0cc to 0x49b13e (114 bytes)
//
// 5 xrefs:
// > LevelInfoLayer::onEdit @ 0x49b17a
// > LevelInfoLayer::onClone @ 0x49b224
// > LevelInfoLayer::onUpdate @ 0x49b2de
// > LevelInfoLayer::onPlay @ 0x49b542
// > LevelInfoLayer::onEnterTransitionDidFinish @ 0x49f290
//
// 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:49:45 +0000
//
int __fastcall LevelInfoLayer::shouldDownloadLevel(LevelInfoLayer *this)
{
int v1; // r1
_BOOL4 v2; // r7
int v4[3]; // [sp+4h] [bp-20h] BYREF
int v5[3]; // [sp+10h] [bp-14h] BYREF
v1 = *((_DWORD *)this + 91);
if ( *(_DWORD *)(v1 + 952) == 4 )
return 1;
std::string::basic_string(v4, v1 + 304);
memset(v5, 0, sizeof(v5));
std::string::__init(v5, &unk_B6B226, 0);
v2 = sub_499ABC((unsigned __int8 *)v4, (unsigned __int8 *)v5);
std::string::~string((int)v5);
std::string::~string((int)v4);
return v2;
}