//
// sub_62B05C from 0x62b05c to 0x62b0b6 (90 bytes)
//
// 3 xrefs:
// > cocos2d::extension::AssetsManager::downLoad @ 0x5a0236
// > cocos2d::extension::AssetsManager::checkUpdate @ 0x5a06a0
// > cocos2d::extension::ThreadCurlHandle::~ThreadCurlHandle @ 0x5ab798
//
// 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_62B05C(int result)
{
struct sigaction *v1; // r5
int v2; // r4
_DWORD v3[4]; // [sp+4h] [bp-28h] BYREF
int v4; // [sp+14h] [bp-18h] BYREF
int v5; // [sp+18h] [bp-14h]
int v6; // [sp+1Ch] [bp-10h]
int v7; // [sp+20h] [bp-Ch]
unsigned __int8 v8; // [sp+24h] [bp-8h]
if ( result )
{
v2 = result;
v8 = *(_BYTE *)(result + 932);
v1 = (struct sigaction *)v8;
if ( !v8 )
{
v4 = 0;
v5 = 0;
v6 = 0;
v7 = 0;
sigaction(13, nullptr, (struct sigaction *)&v4);
v3[1] = v5;
v3[2] = v6;
v3[3] = v7;
v3[0] = 1;
sigaction(13, (const struct sigaction *)v3, v1);
}
result = sub_61E55C(v2);
if ( !v8 )
return sigaction(13, (const struct sigaction *)&v4, nullptr);
}
return result;
}