//
// ScrollableContentLayer::createOwnedMenu from 0x3f4f8c to 0x3f4ffe (114 bytes)
//
// 2 xrefs:
// > ScrollableContentLayer::getOrCreateSectionMenu @ 0x3f5c3a
// > ScrollableContentLayer::mountRowSlot @ 0x3f5df8
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:47:16 +0000
//
int __fastcall ScrollableContentLayer::createOwnedMenu(ScrollableContentLayer *this)
{
int v2; // r4
void (__fastcall *v3)(int, _BYTE *); // r9
_BYTE v5[8]; // [sp+4h] [bp+0h] BYREF
v2 = cocos2d::CCMenu::create(this);
(*(void (__fastcall **)(int, void *))(*(_DWORD *)v2 + 92))(v2, &unk_D2B5A0);
v3 = *(void (__fastcall **)(int, _BYTE *))(*(_DWORD *)v2 + 148);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v5, 0.0, 0.0);
v3(v2, v5);
(*(void (__fastcall **)(int, void *))(*(_DWORD *)v2 + 160))(v2, &unk_D2B5A8);
if ( *((_BYTE *)this + 412) )
(*(void (__fastcall **)(int, _DWORD))(*(_DWORD *)v2 + 500))(v2, 0);
return v2;
}