//
// URLViewLayer::create from 0x5d894c to 0x5d8a7c (304 bytes)
//
// 4 xrefs:
// > SupportLayer::onSFX @ 0x53989e
// > SupportLayer::onLinks @ 0x539fd0
// > LevelAreaInnerLayer::onInfo @ 0x6a42ae
// > SFXChangelogPopup::onCredits @ 0x6c9764
//
// 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:54:10 +0000
//
int __fastcall URLViewLayer::create(int a1, cocos2d::CCObject *a2, int a3, int a4)
{
int v6; // r4
cocos2d::CCDirector *v7; // r6
int v8; // r3
int v9; // r0
int v11[4]; // [sp+0h] [bp-10h] BYREF
v11[0] = a1;
v11[1] = (int)a2;
v11[2] = a3;
v11[3] = a4;
v6 = operator new(0x1E4u);
cocos2d::CCLayerColor::CCLayerColor((cocos2d::CCLayerColor *)v6);
*(_DWORD *)v6 = &off_CA8E30;
*(_DWORD *)(v6 + 264) = &off_CA90EC;
*(_DWORD *)(v6 + 268) = &off_CA9124;
*(_DWORD *)(v6 + 272) = &off_CA9130;
*(_DWORD *)(v6 + 276) = &off_CA9140;
*(_DWORD *)(v6 + 280) = &off_CA9154;
*(_DWORD *)(v6 + 316) = &off_CA916C;
*(_DWORD *)(v6 + 332) = &off_CA91AC;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v6 + 440));
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v6 + 448));
*(_DWORD *)(v6 + 456) = 0;
*(_DWORD *)(v6 + 460) = 0;
*(_DWORD *)(v6 + 464) = 0;
*(_BYTE *)(v6 + 468) = 0;
*(_DWORD *)(v6 + 472) = 0;
*(_BYTE *)(v6 + 476) = 0;
*(_DWORD *)v6 = &off_CBC418;
*(_DWORD *)(v6 + 264) = &off_CBC6D4;
*(_DWORD *)(v6 + 268) = &off_CBC70C;
*(_DWORD *)(v6 + 272) = &off_CBC718;
*(_DWORD *)(v6 + 276) = &off_CBC728;
*(_DWORD *)(v6 + 280) = &off_CBC73C;
*(_DWORD *)(v6 + 316) = &off_CBC754;
*(_DWORD *)(v6 + 332) = &off_CBC794;
std::string::basic_string(v11, a1);
v7 = URLViewLayer::init(v6, (int)v11, a2);
std::string::~string((int)v11);
if ( v7 )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v6);
}
else
{
v8 = *(_DWORD *)v6;
v9 = v6;
v6 = 0;
(*(void (__fastcall **)(int))(v8 + 8))(v9);
}
return v6;
}