//
// EditorSoundBrowserLayer::clearCells from 0xcc8610 to 0xcc8670 (96 bytes)
//
// 3 xrefs:
// > EditorSoundBrowserLayer::layoutCells @ 0xcc86a4
// > EditorSoundBrowserLayer::loadCurrentPage @ 0xcc8fb0
// > ??> @ 0x4f180
//
// 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 13:06:22 +0000
//
cocos2d::CCObject *__fastcall EditorSoundBrowserLayer::clearCells(EditorSoundBrowserLayer *this)
{
__int64 v2; // x0
cocos2d::CCObject *result; // x0
v2 = *((_QWORD *)this + 132);
if ( v2 )
{
(*(void (__fastcall **)(__int64))(*(_QWORD *)v2 + 536LL))(v2);
*((_QWORD *)this + 132) = 0;
}
(*(void (__fastcall **)(_QWORD, __int64, __int64))(**((_QWORD **)this + 73) + 568LL))(*((_QWORD *)this + 73), 9999, 1);
result = *((cocos2d::CCObject **)this + 138);
if ( result )
{
result = (cocos2d::CCObject *)cocos2d::CCObject::release(result);
*((_QWORD *)this + 138) = 0;
}
return result;
}