//
// SFXBrowser::onShareSetup from 0x6c8b50 to 0x6c8c30 (224 bytes)
//
// 0 xrefs:
//
// 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:56:57 +0000
//
GameManager *__fastcall SFXBrowser::onShareSetup(SFXBrowser *this, cocos2d::CCObject *a2)
{
GameManager *result; // r0
GameManager *v4; // r0
_DWORD *v5; // r5
int v6; // r6
int v7; // r0
int v8; // r5
_DWORD *v9; // [sp+Ch] [bp-1Ch] BYREF
_DWORD v10[2]; // [sp+10h] [bp-18h] BYREF
int v11[3]; // [sp+18h] [bp-10h] BYREF
result = (GameManager *)GameManager::sharedState(this);
if ( *((_DWORD *)result + 102) )
{
result = (GameManager *)GameManager::sharedState(result);
if ( *(_DWORD *)(*((_DWORD *)result + 102) + 2084) )
{
v4 = (GameManager *)GameManager::sharedState(result);
v5 = *(_DWORD **)(*((_DWORD *)v4 + 102) + 2084);
v10[0] = 0;
v10[1] = 0;
v6 = v5[119];
v9 = v10;
v7 = GameManager::sharedState(v4);
if ( v6 == *(_DWORD *)(v7 + 464) - *(_DWORD *)(v7 + 468) && &v9 != v5 + 120 )
std::__tree::__assign_multi *,int>>(
(int)&v9,
(_DWORD *)v5[120],
v5 + 121);
memset(v11, 0, sizeof(v11));
std::string::__init(v11, &unk_B6B226, 0);
v8 = SFXFolderPickerPopup::create(2, v11, &v9, (char *)this + 540, 0);
std::string::~string((int)v11);
(*(void (__fastcall **)(int))(*(_DWORD *)v8 + 656))(v8);
return (GameManager *)std::__tree::~__tree((int)&v9);
}
}
return result;
}