//
// EditorSoundBrowserLayer::clearCells from 0x14018f950 to 0x14018f9b4 (100 bytes)
//
// 3 xrefs:
// > EditorSoundBrowserLayer::loadCurrentPage @ 0x14018f32e
// > EditorSoundBrowserLayer::layoutCells @ 0x14018f9d1
// > ??> @ 0x140919220
//
// 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:27:42 +0000
//
void __fastcall EditorSoundBrowserLayer::clearCells(__int64 a1, __int64 a2, __int64 a3)
{
__int64 v4; // rcx
cocos2d::CCObject *v5; // rcx
v4 = *(_QWORD *)(a1 + 1040);
if ( v4 )
{
(*(void (__fastcall **)(__int64))(*(_QWORD *)v4 + 528LL))(v4);
*(_QWORD *)(a1 + 1040) = 0;
}
LOBYTE(a3) = 1;
(*(void (__fastcall **)(_QWORD, __int64, __int64))(**(_QWORD **)(a1 + 584) + 552LL))(*(_QWORD *)(a1 + 584), 9999, a3);
v5 = *(cocos2d::CCObject **)(a1 + 1088);
if ( v5 )
{
cocos2d::CCObject::release(v5);
*(_QWORD *)(a1 + 1088) = 0;
}
}