//
// ScrollableContentLayer::createOwnedMenu from 0x6e24bc to 0x6e2590 (212 bytes)
//
// 3 xrefs:
// > ScrollableContentLayer::getOrCreateSectionMenu @ 0x6e4df4
// > ScrollableContentLayer::mountRowSlot @ 0x6e5060
// > ??> @ 0x962b0
//
// 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 12:51:40 +0000
//
__int64 __fastcall ScrollableContentLayer::createOwnedMenu(ScrollableContentLayer *this)
{
__int64 v2; // x19
void (__fastcall *v3)(__int64, _BYTE *); // x22
_BYTE v5[8]; // [xsp+50h] [xbp+50h] BYREF
v2 = cocos2d::CCMenu::create(_stack_chk_guard);
(*(void (__fastcall **)(__int64, void *))(*(_QWORD *)v2 + 184LL))(v2, &unk_155C360);
v3 = *(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v2 + 296LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v5, 0.0, 0.0);
v3(v2, v5);
(*(void (__fastcall **)(__int64, void *))(*(_QWORD *)v2 + 320LL))(v2, &unk_155C368);
if ( *((_BYTE *)this + 524) )
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v2 + 1000LL))(v2, 0);
return v2;
}