//
// URLViewLayer::init from 0x8d9574 to 0x8d964c (216 bytes)
//
// 2 xrefs:
// > URLViewLayer::create @ 0x8d9764
// > ??> @ 0x7f2f0
//
// 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(__int64 a1, const char **a2, cocos2d::CCObject *a3)
{
bool v4; // w0
_BOOL4 v5; // w20
cocos2d::CCDirector *v6; // x0
CustomListView *v7; // x22
v4 = GJDropDownLayer::init((GJDropDownLayer *)a1, *a2);
v5 = v4;
if ( v4 )
{
if ( a3 )
{
*(_QWORD *)(a1 + 608) = a3;
cocos2d::CCObject::retain(a3);
}
v6 = cocos2d::CCDirector::sharedDirector();
cocos2d::CCDirector::getWinSize(v6);
v7 = CustomListView::create(*(cocos2d::CCArray **)(a1 + 608), (BoomListType)0, 220.0, 356.0);
v7->setTag(v7, 9);
(*(void (__fastcall **)(_QWORD, CustomListView *, __int64))(**(_QWORD **)(a1 + 568) + 448LL))(
*(_QWORD *)(a1 + 568),
v7,
6);
}
return v5;
}