//
// CustomSongLayer::showNewgroundsMessage from 0x57cdc8 to 0x57ce30 (104 bytes)
//
// 1 xrefs:
// > CustomSongLayer::onSearch @ 0x57ce72
//
// 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:52:50 +0000
//
int __fastcall CustomSongLayer::showNewgroundsMessage(CustomSongLayer *this)
{
int *v1; // r5
int v3[3]; // [sp+8h] [bp-10h] BYREF
memset(v3, 0, sizeof(v3));
std::string::__init(
v3,
"There are thousands of great custom songs for you to choose from Newgrounds. Please do not upload music you did not "
"create. You are only allowed to use songs from artists that have been scouted on Newgrounds. For more information, p"
"lease check the Audio Guidelines.",
0x111u);
v1 = FLAlertLayer::create(
0,
(cocos2d::CCLabelBMFont *)"Newgrounds Info",
(int)v3,
(ButtonSprite *)"OK",
nullptr,
380.0);
std::string::~string((int)v3);
return (*(int (__fastcall **)(int *))(*v1 + 656))(v1);
}