//
// URLViewLayer::init from 0x10037fef8 to 0x10037ffb8 (192 bytes)
//
// 1 xrefs:
// > URLViewLayer::create @ 0x10037fe78
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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:03:30 +0000
//
__int64 __fastcall URLViewLayer::init(__int64 a1, __int64 *a2, __int64 a3)
{
__int64 inited; // x20
__int64 v6; // x0
char *v7; // x21
__int64 v9; // [xsp+8h] [xbp-28h] BYREF
if ( *((char *)a2 + 23) < 0 )
a2 = (__int64 *)*a2;
inited = GJDropDownLayer::init_1(a1, a2);
if ( (_DWORD)inited )
{
if ( a3 )
{
*(_QWORD *)(a1 + 608) = a3;
cocos2d::CCObject::retain(a3);
}
v6 = cocos2d::CCDirector::sharedDirector();
cocos2d::CCDirector::getWinSize(v6, &v9);
v7 = CustomListView::create(*(_QWORD *)(a1 + 608), 0, 0, 32, 220.0, 356.0, 0.0);
(*(void (__fastcall **)(char *, __int64))(*(_QWORD *)v7 + 72LL))(v7, 9);
(*(void (__fastcall **)(_QWORD, char *, __int64))(**(_QWORD **)(a1 + 568) + 464LL))(*(_QWORD *)(a1 + 568), v7, 6);
}
return inited;
}