//
// EditorSFXActionConfigLayer::sfxBrowserClosed from 0x77ba44 to 0x77ba90 (76 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'EditorSFXActionConfigLayer::sfxBrowserClosed @ 0x77ba98
//
// 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:23 +0000
//
EditorSFXManager *__fastcall EditorSFXActionConfigLayer::sfxBrowserClosed(EditorSFXManager *this, SFXBrowser *a2)
{
int v2; // r6
SFXTriggerGameObject *v4; // r4
EditorSFXManager *v5; // r0
v2 = (int)this;
if ( a2 )
{
this = *((EditorSFXManager **)a2 + 189);
if ( (int)this > 0 )
{
this = (EditorSFXManager *)EditorSFXManager::createNewSound(this, (int)a2);
v4 = this;
if ( this )
{
*((_DWORD *)this + 416) = *((_DWORD *)a2 + 175);
v5 = (EditorSFXManager *)EditorSFXManager::sharedState(this);
EditorSFXManager::addSound(v5, *(_DWORD *)(v2 + 716), v4);
return (EditorSFXManager *)cocos2d::CCNode::scheduleOnce(
v2,
(int)EditorSFXActionConfigLayer::refreshRowsAddedDeferred,
0,
0.0);
}
}
}
return this;
}