//
// cocos2d::extension::CCScrollView::create from 0x180011e10 to 0x180011e6d (93 bytes)
//
// 3 xrefs:
// > ??> @ 0x180032408
// > ??> @ 0x18004c20c
// > ??> @ 0x18004c218
//
// This function is hookable on this platform (idp: pc, 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 12:15:40 +0000
//
struct cocos2d::extension::CCScrollView *__fastcall cocos2d::extension::CCScrollView::create()
{
cocos2d::extension::CCScrollView *v0; // rax
cocos2d::CCObject *v1; // rbx
cocos2d::extension::CCScrollView *v3; // [rsp+30h] [rbp+8h]
v3 = (cocos2d::extension::CCScrollView *)sub_18001F040(0x238u);
v0 = cocos2d::extension::CCScrollView::CCScrollView(v3);
v1 = v0;
if ( v0 )
{
if ( (*(unsigned __int8 (__fastcall **)(cocos2d::extension::CCScrollView *))(*(_QWORD *)v0 + 72LL))(v0) )
{
cocos2d::CCObject::autorelease(v1);
return v1;
}
(*(void (__fastcall **)(cocos2d::CCObject *, __int64))(*(_QWORD *)v1 + 8LL))(v1, 1);
return nullptr;
}
return v1;
}