//
// EditorSoundBrowserLayer::onSaveActive from 0x781e3c to 0x781f3c (256 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:59:29 +0000
//
int __fastcall EditorSoundBrowserLayer::onSaveActive(EditorSoundBrowserLayer *this, cocos2d::CCObject *a2)
{
FLAlertLayer *v3; // r10
int v4; // r0
int v5; // r3
int v7[3]; // [sp+1Ch] [bp-Ch] BYREF
int v8[3]; // [sp+28h] [bp+0h] BYREF
int v9[3]; // [sp+34h] [bp+Ch] BYREF
int v10[3]; // [sp+40h] [bp+18h] BYREF
v7[0] = 0;
v7[1] = 0;
*((_DWORD *)this + 200) = 1;
v7[2] = 0;
std::string::__init(v7, &unk_B6B226, 0);
memset(v8, 0, sizeof(v8));
std::string::__init(v8, "Pack name...", 0xCu);
memset(v9, 0, sizeof(v9));
std::string::__init(v9, "Save Active as New Pack", 0x17u);
memset(v10, 0, sizeof(v10));
std::string::__init(v10, "Create", 6u);
v3 = SetTextPopup::create((int)v7, (int)v8, COERCE_FLOAT(20), (int)v9, (int)v10, 0, 0.0, 0, 1, 0);
std::string::~string((int)v10);
std::string::~string((int)v9);
std::string::~string((int)v8);
std::string::~string((int)v7);
*((_DWORD *)v3 + 142) = (char *)this + 724;
v4 = (*(int (__fastcall **)(EditorSoundBrowserLayer *))(*(_DWORD *)this + 52))(this);
v5 = *(_DWORD *)v3;
*((_DWORD *)v3 + 116) = v4 + 1;
return (*(int (__fastcall **)(FLAlertLayer *))(v5 + 656))(v3);
}