//
// EditorSoundBrowserLayer::loadEditorSoundsFinished from 0x782090 to 0x7820ec (92 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'EditorSoundBrowserLayer::loadEditorSoundsFinished @ 0x7820f4
//
// 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
//
unsigned __int8 *__fastcall EditorSoundBrowserLayer::loadEditorSoundsFinished(
unsigned __int8 *this,
cocos2d::CCArray *a2,
char *a3)
{
EditorSoundBrowserLayer *v3; // r4
unsigned __int8 *v6; // r6
int v7; // r2
int v8; // r2
int v9; // r2
v3 = (EditorSoundBrowserLayer *)this;
if ( a3 )
{
v6 = this + 780;
this = (unsigned __int8 *)strlen(a3);
v7 = *((unsigned __int8 *)v3 + 780);
if ( (v7 & 1) != 0 )
v8 = *((_DWORD *)v3 + 196);
else
v8 = v7 >> 1;
if ( this == (unsigned __int8 *)v8 )
{
this = (unsigned __int8 *)std::string::compare(v6, 0, 0xFFFFFFFF, a3, (size_t)this);
if ( !this )
{
EditorSoundBrowserLayer::showLoading(v3, 0, v9);
EditorSoundBrowserLayer::layoutCells(v3, a2, (cocos2d::CCLabelBMFont *)"No lists found.");
return (unsigned __int8 *)EditorSoundBrowserLayer::updatePageLabel(v3);
}
}
}
return this;
}