//
// sub_10096B030 from 0x10096b030 to 0x10096b0d2 (162 bytes)
//
// 1 xrefs:
// > ScrollableContentLayer::create @ 0x10096afe7
//
// 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
//
bool __fastcall sub_10096B030(__int64 a1, _QWORD *a2)
{
__int64 v2; // rax
bool result; // al
bool v4; // r15
void *v5; // rax
float v6[8]; // [rsp+0h] [rbp-20h] BYREF
*(_QWORD *)v6 = v2;
result = cocos2d::CCLayer::init((_WORD *)a1);
if ( result )
{
v4 = result;
sub_100278660((_QWORD *)(a1 + 424), a2);
(*(void (__fastcall **)(__int64, _QWORD *))(*(_QWORD *)a1 + 320LL))(a1, a2);
sub_100278250(v6, 0.5, 0.5);
(*(void (__fastcall **)(__int64, float *))(*(_QWORD *)a1 + 296LL))(a1, v6);
v5 = cocos2d::CCNode::create();
*(_QWORD *)(a1 + 416) = v5;
(*(void (__fastcall **)(__int64, void *))(*(_QWORD *)a1 + 456LL))(a1, v5);
ScrollableContentLayer::applyContentPosition(a1);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 1104LL))(a1, 1);
return v4;
}
return result;
}