//
// SFXBrowser::updateShareItem from 0xb8e2fc to 0xb8e408 (268 bytes)
//
// 4 xrefs:
// > SFXBrowser::updateSelectionUI @ 0xb91c1c
// > SFXBrowser::sfxFoldersPicked @ 0xb97754
// > SFXBrowser::sfxFoldersPicked @ 0xb97938
// > ??> @ 0xc5440
//
// 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:02:35 +0000
//
__int64 __fastcall SFXBrowser::updateShareItem(SFXBrowser *this)
{
GameManager *v2; // x0
GameManager *v3; // x0
GameManager *v4; // x0
GameManager *v5; // x0
void (*v6)(void); // x2
v2 = *((GameManager **)this + 117);
if ( v2 )
{
v3 = *(GameManager **)(GameManager::sharedState(v2) + 552);
if ( v3 )
{
v4 = *(GameManager **)(*(_QWORD *)(GameManager::sharedState(v3) + 552) + 3272LL);
if ( v4 )
{
v5 = *(GameManager **)(GameManager::sharedState(v4) + 552);
if ( *(_DWORD *)(*((_QWORD *)v5 + 409) + 632LL) )
GameManager::sharedState(v5);
v6 = *(void (**)(void))(*(_QWORD *)(*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 117) + 1072LL))(*((_QWORD *)this + 117))
+ 960LL);
v6();
}
}
}
return _stack_chk_guard;
}