//
// CCURLObject::create from 0x41646c to 0x416526 (186 bytes)
//
// 25 xrefs:
// > SupportLayer::onSFX @ 0x5396ea
// > SupportLayer::onSFX @ 0x53973a
// > SupportLayer::onSFX @ 0x539786
// > SupportLayer::onSFX @ 0x5397d2
// > SupportLayer::onSFX @ 0x53981e
// > SupportLayer::onSFX @ 0x53986a
// > SupportLayer::onLinks @ 0x539d1e
// > SupportLayer::onLinks @ 0x539d60
// > SupportLayer::onLinks @ 0x539da0
// > SupportLayer::onLinks @ 0x539de0
// > SupportLayer::onLinks @ 0x539e20
// > SupportLayer::onLinks @ 0x539e60
// > SupportLayer::onLinks @ 0x539ea0
// > SupportLayer::onLinks @ 0x539ee0
// > SupportLayer::onLinks @ 0x539f20
// > SupportLayer::onLinks @ 0x539f60
// > SupportLayer::onLinks @ 0x539fa2
// > MusicDownloadManager::parseSFXLibrary @ 0x571fe8
// > MusicDownloadManager::parseSFXLibrary @ 0x5722e8
// > LevelAreaInnerLayer::onInfo @ 0x6a40fa
// > LevelAreaInnerLayer::onInfo @ 0x6a414a
// > LevelAreaInnerLayer::onInfo @ 0x6a4196
// > LevelAreaInnerLayer::onInfo @ 0x6a41e2
// > LevelAreaInnerLayer::onInfo @ 0x6a422e
// > LevelAreaInnerLayer::onInfo @ 0x6a427a
//
// 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:47:41 +0000
//
int *__fastcall CCURLObject::create(int a1, int a2)
{
int *v4; // r4
int v5; // r8
int v6; // r3
int *v7; // r0
int v9[3]; // [sp+4h] [bp-1Ch] BYREF
int v10[3]; // [sp+10h] [bp-10h] BYREF
v4 = (int *)operator new(0x4Cu);
memset(v4, 0, 0x4Cu);
cocos2d::CCObject::CCObject((cocos2d::CCObject *)v4);
*v4 = (int)&off_C8E370;
v4[13] = 0;
v4[14] = 0;
v4[15] = 0;
v4[16] = 0;
v4[17] = 0;
v4[18] = 0;
std::string::basic_string(v9, a1);
std::string::basic_string(v10, a2);
v5 = CCURLObject::init((int)v4, (unsigned __int8 *)v9, (unsigned __int8 *)v10);
std::string::~string((int)v10);
std::string::~string((int)v9);
if ( v5 )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v4);
}
else
{
v6 = *v4;
v7 = v4;
v4 = nullptr;
(*(void (__fastcall **)(int *))(v6 + 8))(v7);
}
return v4;
}