//
// ScrollableContentLayer::create from 0x10096afb0 to 0x10096b013 (99 bytes)
//
// 17 xrefs:
// > sub_100066980 @ 0x1000669e1
// > SetGroupIDLayer::init @ 0x1002fdc75
// > KeybindingsLayer::init @ 0x1006e17cb
// > sub_1008B76E0 @ 0x1008b77ac
// > DeathTrackerPopup::init @ 0x1008cba11
// > DropdownListPopup::init @ 0x1008dae59
// > EditorSFXActionConfigLayer::init @ 0x1008df64a
// > sub_1008F3770 @ 0x1008f42df
// > sub_1008FD5B0 @ 0x1008fd68e
// > EditorWindowPopup::initWindow @ 0x10090019c
// > IDNameBrowserPopup::init @ 0x100909e7b
// > ThreadViewPopup::init @ 0x10092e07b
// > NewsPopup::init @ 0x100958dfe
// > sub_10095C9F0 @ 0x10095cb84
// > sub_10095CCE0 @ 0x10095cd28
// > ScrollViewPopup::initPopup @ 0x10096efcf
// > SFXFolderPickerPopup::init @ 0x100972029
//
// 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:38:50 +0000
//
void *__fastcall ScrollableContentLayer::create(_QWORD *a1)
{
__int64 v1; // rax
void *v2; // rbx
_QWORD v4[4]; // [rsp+0h] [rbp-20h] BYREF
v4[0] = v1;
v2 = operator new(0x2A8u);
sub_10096E220(v2);
sub_100278630(v4, a1);
if ( (unsigned __int8)sub_10096B030(v2, v4) )
{
cocos2d::CCObject::autorelease((__int64)v2);
}
else
{
(*(void (__fastcall **)(void *))(*(_QWORD *)v2 + 16LL))(v2);
return nullptr;
}
return v2;
}