//
// EditorSoundConfigInfoLayer::onLoad from 0x785594 to 0x78560e (122 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:32 +0000
//
int __fastcall EditorSoundConfigInfoLayer::onLoad(EditorSoundConfigInfoLayer *this, cocos2d::CCObject *a2)
{
int *v3; // r5
int v5[3]; // [sp+8h] [bp-10h] BYREF
memset(v5, 0, sizeof(v5));
std::string::__init(v5, "This will replace your current sounds with this pack. Continue?", 0x47u);
v3 = FLAlertLayer::create(
(int)this + 720,
(cocos2d::CCLabelBMFont *)"Load Sound Pack",
(int)v5,
(ButtonSprite *)"Cancel",
(ButtonSprite *)"Load",
380.0);
std::string::~string((int)v5);
(*(void (__fastcall **)(int *, int))(*v3 + 36))(v3, 7001);
return (*(int (__fastcall **)(int *))(*v3 + 656))(v3);
}