//
// ScrollableContentLayer::createOwnedMenu from 0x1400825c0 to 0x14008264f (143 bytes)
//
// 3 xrefs:
// > ScrollableContentLayer::sectionAddChild @ 0x140082760
// > ScrollableContentLayer::mountRowSlot @ 0x140082fc2
// > ??> @ 0x14091223c
//
// 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 11:25:55 +0000
//
__int64 __fastcall ScrollableContentLayer::createOwnedMenu(__int64 a1)
{
__int64 v2; // rsi
__int64 v3; // rbx
__int64 v4; // rax
char v6; // [rsp+30h] [rbp+8h] BYREF
v2 = cocos2d::CCMenu::create();
(*(void (__fastcall **)(__int64, void *))(*(_QWORD *)v2 + 184LL))(v2, &unk_140909D68);
v3 = *(_QWORD *)v2;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v6, 0.0, 0.0);
(*(void (__fastcall **)(__int64, __int64))(v3 + 288))(v2, v4);
(*(void (__fastcall **)(__int64, void *))(*(_QWORD *)v2 + 312LL))(v2, &unk_140909D80);
if ( *(_BYTE *)(a1 + 524) )
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v2 + 920LL))(v2, 0);
return v2;
}