//
// EditorSoundBrowserLayer::loadEditorSoundsFinished from 0xcc8d30 to 0xcc8dd4 (164 bytes)
//
// 3 xrefs:
// > `non-virtual thunk to'EditorSoundBrowserLayer::loadEditorSoundsFinished @ 0xcc8dd8
// > ??> @ 0x80a70
// > ??> @ 0x14fde38
//
// 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
//
__int64 __fastcall EditorSoundBrowserLayer::loadEditorSoundsFinished(__int64 this, cocos2d::CCArray *a2, char *a3)
{
__int64 v3; // x19
size_t v5; // x4
if ( a3 )
{
v3 = this;
this = strlen(a3);
v5 = *(_BYTE *)(v3 + 1144) >> 1;
if ( (*(_BYTE *)(v3 + 1144) & 1) != 0 )
v5 = *(_QWORD *)(v3 + 1152);
if ( v5 == this )
{
this = std::string::compare(v3 + 1144, 0, 0xFFFFFFFFFFFFFFFFLL, a3, v5);
if ( !(_DWORD)this )
{
EditorSoundBrowserLayer::showLoading((EditorSoundBrowserLayer *)v3, 0);
EditorSoundBrowserLayer::layoutCells(
(EditorSoundBrowserLayer *)v3,
a2,
(cocos2d::CCLabelBMFont *)"No lists found.");
return EditorSoundBrowserLayer::updatePageLabel((EditorSoundBrowserLayer *)v3);
}
}
}
return this;
}