//
// URLViewLayer::init from 0x4b36f4 to 0x4b376c (120 bytes)
//
// 1 xrefs:
// > URLViewLayer::create @ 0x4b385a
//
// 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
//
bool __fastcall URLViewLayer::init(int a1, const char **a2, cocos2d::CCObject *a3)
{
_BOOL4 v5; // r7
cocos2d::CCDirector *v6; // r0
CustomListView *v7; // r6
cocos2d::CCSize v9; // [sp+14h] [bp-10h] BYREF
v5 = GJDropDownLayer::init((GJDropDownLayer *)a1, *a2);
if ( v5 )
{
if ( a3 )
{
*(_DWORD *)(a1 + 480) = a3;
cocos2d::CCObject::retain(a3);
}
v6 = cocos2d::CCDirector::sharedDirector();
cocos2d::CCDirector::getWinSize(&v9, v6);
v7 = CustomListView::create(*(cocos2d::CCArray **)(a1 + 480), (BoomListType)0, 220.0, 356.0);
v7->setTag(v7, 9);
(*(void (__fastcall **)(_DWORD, CustomListView *, int, _DWORD, _DWORD, int, _DWORD))(**(_DWORD **)(a1 + 460) + 224))(
*(_DWORD *)(a1 + 460),
v7,
6,
*(_DWORD *)(**(_DWORD **)(a1 + 460) + 224),
0,
34,
0);
}
return v5;
}