//
// EditorSoundBrowserLayer::clearCells from 0x781c12 to 0x781c4e (60 bytes)
//
// 2 xrefs:
// > EditorSoundBrowserLayer::layoutCells @ 0x781c74
// > EditorSoundBrowserLayer::loadCurrentPage @ 0x78221a
//
// 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:59:29 +0000
//
cocos2d::CCObject *__fastcall EditorSoundBrowserLayer::clearCells(EditorSoundBrowserLayer *this)
{
int v2; // r0
cocos2d::CCObject *result; // r0
v2 = *((_DWORD *)this + 184);
if ( v2 )
{
(*(void (__fastcall **)(int))(*(_DWORD *)v2 + 268))(v2);
*((_DWORD *)this + 184) = 0;
}
(*(void (__fastcall **)(_DWORD, int, int))(**((_DWORD **)this + 115) + 284))(*((_DWORD *)this + 115), 9999, 1);
result = *((cocos2d::CCObject **)this + 190);
if ( result )
{
result = (cocos2d::CCObject *)cocos2d::CCObject::release(result);
*((_DWORD *)this + 190) = 0;
}
return result;
}